IP Library Granted Patent US 12,493,423
Granted Patent B2
US 12,493,423 · App. 18/685,175 · Granted Dec 9, 2025

Logical volume construction method and apparatus, and device, readable storage medium and program product

Inventor: Zhenxi Yao (Hangzhou, CN)
Assignee: HANGZHOU ALICLOUD FEITIAN INFORMATION TECHNOLOGY CO., LTD.
G06F3/0631G06F3/0604G06F3/0673
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 12,493,423
App. No.
18/685,175
Granted
Dec 9, 2025
Kind
B2
Abstract

Embodiments of the present disclosure relate to a logical volume construction method and apparatus, and a device, a readable storage medium and a program product. The method comprises: acquiring logical volume construction demand information; constructing a logical volume based on the logical volume construction demand information, and obtaining logical volume information, wherein the logical volume comprises one or more logical units from different physical storage devices; and establishing, based on the logical volume information, a connection between one or more hosts and the logical volume, wherein the hosts have a mapping relationship with the logical volume, and differ in read/write permission for the logical volume.

Claims (47)

1 . A logical volume construction method, comprising:

acquiring logical volume construction demand information, wherein the logical volume construction demand information comprises logical volume level demand information, and logical unit information composing the logical volume;

constructing a logical volume based on the logical volume construction demand information and obtaining logical volume information, wherein the logical volume comprises one or more logical units from different physical storage devices, and wherein the logical volume information comprises logical volume level information, and logical unit information comprising the logical volume, and a level of the logical volume is set according to physical storage devices that are sources of the logical units of the logical volume; and

establishing, based on the logical volume information, a connection between one or more hosts and the logical volume, wherein the hosts have a mapping relationship with the logical volume and differ in read/write permission for the logical volume, wherein a connection between the hosts and the logical volume is established based on logical unit mapping data after both a level check and a security check are passed, wherein the level check is performed according to the logical volume level demand information and the logical volume level information, and the security check is performed according to the logical unit information of the logical volume.

2 . The method of claim 1 , wherein the acquiring the logical volume construction demand information, comprises:

acquiring the logical volume construction demand information from an interaction interface of a terminal.

3 . The method of claim 1 , wherein the logical volume construction demand information comprises one or more of the following: a logical volume name, and a logical unit combining manner; and

the logical volume information comprises one or more of the following: a logical volume name, a logical volume size, and a logical unit combining manner.

4 . The method of claim 3 , wherein the constructing the logical volume based on the logical volume construction demand information, comprises:

determining target logical units based on the logical volume level demand information and the logical unit information composing the logical volume in the logical volume construction demand information;

combining the target logical units based on the logical unit combining manner, to obtain the logical volume; and

naming the logical volume based on the logical volume name.

5 . The method of claim 1 , wherein the establishing, based on the logical volume information, the connection between the one or more hosts and the logical volume, comprises:

sending, by a logical volume management component, the logical volume information to logical volume proxy components, wherein the logical volume proxy components are deployed over different hosts; and

establishing, by the logical volume proxy components, the connection between the hosts and the logical volume based on the logical volume information.

6 . The method of claim 5 , wherein the establishing, by the logical volume proxy components, the connection between the hosts and the logical volume based on the logical volume information, comprises:

performing the level check, by an executed logical volume proxy component, based on the logical volume information;

upon determining that the level check passes, storing, by the executed logical volume proxy component, the logical volume information, the logical unit information comprised in the logical volume, and logical unit mapping data into predetermined sectors of respective logical units of the logical volume;

reading the logical volume information, the logical unit information comprised in the logical volume, and the logical unit mapping data from the predetermined sectors of the logical units and performing the security check based on the logical unit information, by a non-executed logical volume proxy component; and

upon determining that the security check passes, establishing, by the logical volume proxy components, the connection between the hosts and the logical volume based on the logical unit mapping data.

7 . The method of claim 6 , wherein upon determining that the security check passes, establishing, by the logical volume proxy components, the connection between the hosts and the logical volume based on the logical unit mapping data, comprises:

upon determining that the security check passes, sending, by the logical volume proxy components, a logical unit mapping data reading result to the logical volume management component;

in a case that all the logical volume proxy components successfully read the logical unit mapping data, determining that mapping data reading succeeds, sending, by the logical volume management component, a mapping data reading success message to the logical volume proxy components, and establishing, by the logical volume proxy components, the connection between the hosts and the logical volume based on the logical unit mapping data; and

in a case that one of the logical volume proxy components fails to read the logical unit mapping data, determining that mapping data reading fails, sending, by the logical volume management component, a mapping data reading failure message to the logical volume proxy components, and deleting, by the logical volume proxy components, the logical unit mapping data obtained by reading.

8 . The method of claim 1 , further comprising:

acquiring and storing logical unit metadata and sending the logical unit metadata to the logical volume management component for storage, by the logical volume proxy components.

9 . The method of claim 1 , further comprising:

controlling, based on a received read/write designation instruction, the read/write permission of the one or more hosts.

10 . The method of claim 9 , wherein the controlling, based on the received read/write designation instruction, the read/write permission of the one or more hosts, comprises:

in response to receiving the read/write designation instruction, sending, by the logical volume management component, a read/write lock scrambling instruction to a target logical volume proxy component of a target host corresponding to the read/write designation instruction;

in response to receiving the read/write lock scrambling instruction, performing, by the target logical volume proxy component, a read/write lock scrambling operation;

in response to that the read/write lock scrambling operation succeeds, performing, by the target logical volume proxy component, a data read/write test for the logical units of the logical volume;

sending, by the target logical volume proxy component, a read/write lock scrambling result and a data read/write test result to the logical volume management component;

in a case that both the read/write lock scrambling result and the data read/write test result are success, sending, by the logical volume management component, a data read/write test command to other logical volume proxy component, to determine whether the other logical volume proxy component succeeds in data reading but fails in data writing;

in a case that the read/write lock scrambling result is failure, sending, by the logical volume management component, a read/write scrambling instruction to a historical read/write logical volume proxy component, to enable the historical read/write logical volume proxy component to regain the read/write permission; and

in a case that a read/write lock scrambling result of the target logical volume proxy component and a read/write regaining result of the historical read/write logical volume proxy component are both failure, marking, by the logical volume management component, the logical volume as failed.

11 . An electronic device, comprising a memory and a processor, wherein:

the memory is used to store one or more computer instructions that are executed by the processor to implement steps of the method of claim 1 .

12 . A non-transitory computer readable storage medium having computer instructions stored thereon, wherein the computer instructions are executed by a processor to implement steps of the method of claim 1 .

13 . A computer program product, comprising computer programs/instructions stored in a non-transitory computer readable storage medium, wherein the computer programs/instructions are executed by a processor to implement steps of the method of claim 1 .

14 . The method of claim 2 , wherein the logical volume construction demand information comprises one or more of the following: a logical volume name, and a logical unit combining manner; and

the logical volume information comprises one or more of the following: a logical volume name, a logical volume size, and a logical unit combining manner.

15 . A computer program product, comprising computer programs/instructions stored in a non-transitory computer readable storage medium, wherein the computer programs/instructions are executed by a processor to implement steps of the method of claim 2 .

16 . A computer program product, comprising computer programs/instructions stored in a non-transitory computer readable storage medium, wherein the computer programs/instructions are executed by a processor to implement steps of the method of claim 3 .

17 . A computer program product, comprising computer programs/instructions stored in a non-transitory computer readable storage medium, wherein the computer programs/instructions are executed by a processor to implement steps of the method of claim 4 .

18 . A computer program product, comprising computer programs/instructions stored in a non-transitory computer readable storage medium, wherein the computer programs/instructions are executed by a processor to implement steps of the method of claim 5 .

19 . A computer program product, comprising computer programs/instructions stored in a non-transitory computer readable storage medium, wherein the computer programs/instructions are executed by a processor to implement steps of the method of claim 6 .

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 30, 2026
From: HANGZHOU ALICLOUD FEITIAN INFORMATION TECHNOLOGY CO., LTD.
To: CLOUD INTELLIGENCE ASSETS HOLDING (SINGAPORE) PRIVATE LIMITED
Reel/Frame 075366/0376 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 13, 2024
From: YAO, ZHENXI
To: HANGZHOU ALICLOUD FEITIAN INFORMATION TECHNOLOGY CO., LTD.
Reel/Frame 067394/0324 →
Priority Claims (1)
CN 202111205600.8 · Oct 15, 2021 · national
Continuity (1)
Related Publication 20250138736A1 · May 1, 2025
References Cited (14)
US 20080263306A1 · Tanizawa · 2008 [cited by examiner]
US 20130124797A1 · Hamblin · 2013 [cited by examiner]
US 20160139845A1 · Muhlestein · 2016 [cited by examiner]
US 20170131920A1 · Oshins · 2017 [cited by examiner]
US 20200028678A1 · Gao · 2020 [cited by examiner]
CN 101986655A · 2011 [cited by applicant]
CN 105224247A · 2016 [cited by applicant]
CN 105471695A · 2016 [cited by applicant]
CN 109144581A · 2019 [cited by applicant]
CN 114115722A · 2022 [cited by applicant]
JP 201215583A · 2012 [cited by applicant]
China Second Office Action, Application No. 202111205600.8, dated Jan. 24, 2025, 15 pps.: with English translation. [cited by applicant]
Office Action (First Office Action) dated Jun. 21, 2024 for CN App. No. 202111205600.8 (pp. 1-7). [cited by applicant]
International Search Report for PCT/CN2022/123899, mailed Nov. 28, 2022, 3 pages. [cited by applicant]