IP Library Granted Patent US 10,970,309
Granted Patent B2
US 10,970,309 · App. 16/884,444 · Granted Apr 6, 2021

Data storage method and apparatus

Inventors: Wenhua Huang (Hangzhou, CN); Shuai Wang (Hangzhou, CN); Jiaying Zhou (Hangzhou, CN); Wenlong Lian (Hangzhou, CN)
Assignee: ADVANCED NEW TECHNOLOGIES CO., LTD.
G06F16/27G06F16/22G06F16/258H04L41/0806H04L41/5003H04L67/1097
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,970,309
App. No.
16/884,444
Granted
Apr 6, 2021
Kind
B2
Abstract

A method includes: setting at least two service domains each having a service domain identifier; configuring, based on parameter information of each of the at least two service domains, at least two storage resources corresponding to the at least two service domains; receiving a data storage request including to-be-stored data and a service domain identifier for the to-be-stored data; determining, according to the service domain identifier of the to-be-stored data, a target storage resource corresponding to the to-be-stored data from the at least two storage resources; storing the to-be-stored data to the target storage resource; receiving a data reading request carrying the service domain identifier; in response to receiving the data reading request, reading, based on the service domain identifier, the data stored at the target storage resource; and transmitting the data read from the target storage resource to a requester that sends the data reading request.

Claims (75)

1. A data storage method, comprising:

setting, by a computer, at least two service domains each having a service domain identifier;

configuring, by the computer based on parameter information of each of the at least two service domains, at least two storage resources corresponding to the at least two service domains;

receiving, by the computer, a data storage request including identification information for to-be-stored data, wherein the to-be-stored data carries a first service domain identifier of the service domain identifiers of the at least two service domains;

acquiring, by the computer based on the identification information for the to-be-stored data, the to-be-stored data, and obtaining the first service domain identifier carried by the to-be-stored data;

determining, by the computer according to the first service domain identifier of the to-be-stored data, a target storage resource corresponding to the to-be-stored data from the at least two storage resources;

storing, by the computer, the to-be-stored data to the target storage resource;

receiving, by the computer, a data reading request carrying the first service domain identifier;

in response to receiving the data reading request, reading, by the computer based on the first service domain identifier, the data stored at the target storage resource; and

transmitting, by the computer, the data read from the target storage resource to a requester that sends the data reading request.

2. The method according to claim 1 , wherein the parameter information of each of the at least two service domains comprises a data specification for one of the at least two service domains, and the configuring, by the computer based on parameter information of each of the at least two service domains, at least two storage resources corresponding to the at least two service domains comprises:

determining whether the data specification for the one of the at least two service domains is greater than a specification threshold; and

in response to determining that the data specification for the one of the at least two service domains is greater than the specification threshold, configuring a storage resource satisfying the data specification for the one of the at least two service domains; or

in response to determining that the data specification for the one of the at least two service domains is less than or equal to the specification threshold, determining a basic storage resource in the storage resources as a storage resource for the one of the at least two service domains.

3. The method according to claim 1 , wherein the parameter information of each of the at least two service domains comprises operation and maintenance requirement information, and the configuring, by the computer based on parameter information of each of the at least two service domains, at least two storage resources corresponding to the at least two service domains comprises:

configuring, based on the operation and maintenance requirement information of each of the at least two service domains, a storage resource satisfying the operation and maintenance requirement information for each of the at least two service domains.

4. The method according to claim 1 , wherein the parameter information of each of the at least two service domains comprises service-level agreement (SLA) information, and the configuring, by the computer based on parameter information of each of the at least two service domains, at least two storage resources corresponding to the at least two service domains comprises:

configuring, based on the SLA information of each subservice in each of the at least two service domains, a storage resource satisfying the SLA information of the each subservice in each of the at least two service domains.

5. The method according to claim 1 , wherein the determining, by the computer according to the first service domain identifier of the to-be-stored data, a target storage resource corresponding to the to-be-stored data from the at least two storage resources comprises:

determining, according to the first service domain identifier of the to-be-stored data, a service domain having the first service domain identifier of the to-be-stored data as a target service domain; and

determining, according to the target service domain, a storage resource corresponding to the target service domain as the target storage resource.

6. The method according to claim 1 , wherein the at least two storage resources comprise:

a relational database management system, a distributed storage system, a high-performance distributed database system, or a non-relational database.

7. The method according to claim 1 , further comprising:

formatting, by the computer, the to-be-stored data based on a format of target storage resource to store the to-be-stored data to the target storage resource.

8. An apparatus, comprising:

one or more processors; and

a memory storing instructions executable by the one or more processors to cause the one or more processors to perform operations comprising:

setting at least two service domains each having a service domain identifier;

configuring, based on parameter information of each of the at least two service domains, at least two storage resources corresponding to the at least two service domains;

receiving a data storage request including identification information for to-be-stored data, wherein the to-be-stored data carries a first service domain identifier of the service domain identifiers of the at least two service domains;

acquiring, based on the identification information for the to-be-stored data, the to-be-stored data, and obtaining the first service domain identifier carried by the to-be-stored data;

determining, according to the first service domain identifier of the to-be-stored data, a target storage resource corresponding to the to-be-stored data from the at least two storage resources;

storing the to-be-stored data to the target storage resource;

receiving a data reading request carrying the first service domain identifier;

in response to receiving the data reading request, reading, based on the first service domain identifier, the data stored at the target storage resource; and

transmitting the data read from the target storage resource to a requester that sends the data reading request.

9. The apparatus according to claim 8 , wherein the parameter information of each of the at least two service domains comprises a data specification for one of the at least two service domains, and the configuring, based on parameter information of each of the at least two service domains, at least two storage resources corresponding to the at least two service domains comprises:

determining whether the data specification for the one of the at least two service domains is greater than a specification threshold; and

in response to determining that the data specification for the one of the at least two service domains is greater than the specification threshold, configuring a storage resource satisfying the data specification for the one of the at least two service domains; or

in response to determining that the data specification for the one of the at least two service domains is less than or equal to the specification threshold, determining a basic storage resource in the storage resources as a storage resource for the one of the at least two service domains.

10. The apparatus according to claim 8 , wherein the parameter information of each of the at least two service domains comprises operation and maintenance requirement information, and the configuring, based on parameter information of each of the at least two service domains, at least two storage resources corresponding to the at least two service domains comprises:

configuring, based on the operation and maintenance requirement information of each of the at least two service domains, a storage resource satisfying the operation and maintenance requirement information for each of the at least two service domains.

11. The apparatus according to claim 8 , wherein the parameter information of each of the at least two service domains comprises service-level agreement (SLA) information, and the configuring, based on parameter information of each of the at least two service domains, at least two storage resources corresponding to the at least two service domains comprises:

configuring, based on the SLA information of each subservice in each of the at least two service domains, a storage resource satisfying the SLA information of the each subservice in each of the at least two service domains.

12. The apparatus according to claim 8 , wherein the determining, according to the first service domain identifier of the to-be-stored data, a target storage resource corresponding to the to-be-stored data from the at least two storage resources comprises:

determining, according to the first service domain identifier of the to-be-stored data, a service domain having the first service domain identifier of the to-be-stored data as a target service domain; and

determining, according to the target service domain, a storage resource corresponding to the target service domain as the target storage resource.

13. The apparatus according to claim 8 , wherein the at least two storage resources comprise:

a relational database management system, a distributed storage system, a high-performance distributed database system, or a non-relational database.

14. The apparatus according to claim 8 , wherein the operations further comprise:

formatting, by the computer, the to-be-stored data based on a format of target storage resource to store the to-be-stored data to the target storage resource.

15. One or more non-transitory computer-readable storage media configured with instructions executable by one or more processors to cause the one or more processors to perform operations comprising:

setting at least two service domains each having a service domain identifier;

configuring, based on parameter information of each of the at least two service domains, at least two storage resources corresponding to the at least two service domains;

receiving a data storage request including identification information for to-be-stored data, wherein the to-be-stored data carries a first service domain identifier of the service domain identifiers of the at least two service domains;

acquiring, based on the identification information for the to-be-stored data, the to-be-stored data, and obtaining the first service domain identifier carried by the to-be-stored data;

determining, according to the first service domain identifier of the to-be-stored data, a target storage resource corresponding to the to-be-stored data from the at least two storage resources;

storing the to-be-stored data to the target storage resource;

receiving a data reading request carrying the first service domain identifier;

in response to receiving the data reading request, reading, based on the first service domain identifier, the data stored at the target storage resource; and

transmitting the data read from the target storage resource to a requester that sends the data reading request.

16. The one or more non-transitory computer-readable storage media according to claim 15 , wherein the parameter information of each of the at least two service domains comprises a data specification for one of the at least two service domains, and the configuring, based on parameter information of each of the at least two service domains, at least two storage resources corresponding to the at least two service domains comprises:

determining whether the data specification for the one of the at least two service domains is greater than a specification threshold; and

in response to determining that the data specification for the one of the at least two service domains is greater than the specification threshold, configuring a storage resource satisfying the data specification for the one of the at least two service domains; or

in response to determining that the data specification for the one of the at least two service domains is less than or equal to the specification threshold, determining a basic storage resource in the storage resources as a storage resource for the one of the at least two service domains.

17. The one or more non-transitory computer-readable storage media according to claim 15 , wherein the parameter information of each of the at least two service domains comprises operation and maintenance requirement information, and the configuring, based on parameter information of each of the at least two service domains, at least two storage resources corresponding to the at least two service domains comprises:

configuring, based on the operation and maintenance requirement information of each of the at least two service domains, a storage resource satisfying the operation and maintenance requirement information for each of the at least two service domains.

18. The one or more non-transitory computer-readable storage media according to claim 15 , wherein the parameter information of each of the at least two service domains comprises service-level agreement (SLA) information, and the configuring, based on parameter information of each of the at least two service domains, at least two storage resources corresponding to the at least two service domains comprises:

configuring, based on the SLA information of each subservice in each of the at least two service domains, a storage resource satisfying the SLA information of the each subservice in each of the at least two service domains.

19. The one or more non-transitory computer-readable storage media according to claim 15 , wherein the determining, according to the first service domain identifier of the to-be-stored data, a target storage resource corresponding to the to-be-stored data from the at least two storage resources comprises:

determining, according to the first service domain identifier of the to-be-stored data, a service domain having the first service domain identifier of the to-be-stored data as a target service domain; and

determining, according to the target service domain, a storage resource corresponding to the target service domain as the target storage resource.

20. The one or more non-transitory computer-readable storage media according to claim 15 , wherein the at least two storage resources comprise:

a relational database management system, a distributed storage system, a high-performance distributed database system, or a non-relational database.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 16, 2020
From: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053796/0281 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 3, 2020
From: ALIBABA GROUP HOLDING LIMITED
To: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053702/0392 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 23, 2020
From: HUANG, WENHUA; WANG, SHUAI; ZHOU, JIAYING; LIAN, WENLONG
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 053304/0494 →