Storage volume capacity expansion method, system, equipment and readable storage medium

文档序号:1860768 发布日期:2021-11-19 浏览:4次 中文

阅读说明:本技术 一种存储卷扩容方法、系统、设备及可读存储介质 (Storage volume capacity expansion method, system, equipment and readable storage medium ) 是由 徐玉超 王志国 于 2021-07-31 设计创作,主要内容包括:本申请公开了一种存储卷扩容方法、系统、设备及可读存储介质,该方法包括:对存储系统中的存储需求进行监听;在监听到存储扩容事件后,利用LVM卷管理装置的lv容量扩容接口进行容量扩容;若容量扩容成功,则利用LVM卷管理装置的文件系统扩容接口进行文件系统扩容;若文件系统扩容成功,则确定完成存储扩容事件对应的存储卷扩容。通过利用LVM卷管理装置的容量扩容接口和文件系统扩容接口,扩展pmem-csi功能,增加pmem-csi的扩容功能,使得pmem-csi局部扩大存储卷容量的功能,可以保障应用正常提供服务。(The application discloses a storage volume capacity expansion method, a storage volume capacity expansion system, storage volume capacity expansion equipment and a readable storage medium, wherein the method comprises the following steps: monitoring storage requirements in a storage system; after monitoring a storage capacity expansion event, carrying out capacity expansion by using a lv capacity expansion interface of the LVM volume management device; if the capacity expansion is successful, carrying out the file system expansion by using a file system expansion interface of the LVM volume management device; and if the file system is successfully expanded, determining to finish the expansion of the storage volume corresponding to the storage expansion event. The pmem-csi function is expanded by utilizing the capacity expansion interface of the LVM volume management device and the file system expansion interface, the capacity expansion function of the pmem-csi is increased, the pmem-csi locally expands the capacity of the storage volume, and normal service provision of application can be guaranteed.)

1. A storage volume capacity expansion method is characterized by comprising the following steps:

monitoring storage requirements in a storage system;

after monitoring a storage capacity expansion event, carrying out capacity expansion by using a lv capacity expansion interface of the LVM volume management device;

if the capacity expansion is successful, utilizing a file system expansion interface of the LVM volume management device to perform file system expansion;

and if the file system successfully expands the capacity, determining to finish the capacity expansion of the storage volume corresponding to the storage capacity expansion event.

2. The storage volume expansion method according to claim 1, further comprising, if capacity expansion fails: capacity expansion failures are marked on the storage volume.

3. The storage volume expansion method according to claim 1, wherein the monitoring storage requirements in the storage system includes:

receiving a storage request;

determining whether the storage request needs storage capacity expansion or not by using the storage request and storage allocation;

if yes, determining that the storage capacity expansion event is monitored.

4. The storage volume expansion method of claim 3, wherein determining whether the storage request needs storage volume expansion by using the storage request and storage allocation comprises:

analyzing the storage request and determining the capacity required by storage;

determining whether the required capacity is greater than the storage allocation;

if yes, determining that the storage request needs storage expansion.

5. The storage volume expansion method according to claim 1, wherein after monitoring the storage volume expansion event, before performing the step of performing volume expansion by using the lv volume expansion interface of the LVM volume management device, the method further comprises:

judging whether the storage system has the capacity capable of expanding which meets the storage capacity expanding event;

and if so, executing the step of carrying out capacity expansion by using the lv capacity expansion interface of the LVM volume management device.

6. The storage volume expansion method according to claim 5, wherein determining whether the storage system has an expandable capacity that satisfies the storage volume expansion event includes:

analyzing the storage request to obtain a unique identifier stored by the storage volume;

inquiring storage information by using the unique identifier to obtain expandable capacity;

judging whether the expandable capacity is larger than the required expandable capacity;

if so, determining that the storage system has a capacity that satisfies the storage capacity expansion event.

7. The storage volume expansion method according to any one of claims 1 to 6, wherein before the snooping of the storage demand in the storage system, the method includes:

the AEP memory is used as a storage back end, and the capacity of a storage volume is created so that the AEP memory can be provided to a container application program as a file system volume.

8. A storage volume expansion system, comprising:

the capacity expansion control device is used for monitoring the storage requirements in the storage system;

the volume expansion executing device is used for carrying out volume expansion by utilizing a lv volume expansion interface of the LVM volume management device after the volume expansion control device monitors the storage volume expansion event;

the file system capacity expansion executing device is used for carrying out file system capacity expansion by utilizing a file system capacity expansion interface of the LVM volume management device if the capacity expansion is successful;

and the LVM volume management device is used for determining to complete the volume expansion of the storage volume corresponding to the storage volume expansion event if the file system is successfully expanded.

9. An electronic device, comprising:

a memory for storing a computer program;

a processor for implementing the steps of the storage volume expansion method according to any one of claims 1 to 7 when executing the computer program.

10. A readable storage medium, having stored thereon a computer program which, when executed by a processor, performs the steps of the method for expanding a storage volume according to any one of claims 1 to 7.

Technical Field

The present application relates to the field of storage technologies, and in particular, to a method, a system, a device, and a readable storage medium for volume expansion of a storage volume.

Background

In the cloud computing age, an increasing number of companies and individuals use kubernets (a container arrangement engine) which have excellent performance in applications in various scenes. The performance of the application is also a guarantee that the service can be provided to the outside. Wherein the performance of the storage is improved to play a crucial role in the process of improving the application performance.

AEP is a new type of non-volatile Optane Memory device. At present, pmem-csi is a storage plug-in applying AEP to kubernets, and the plug-in supports creation and deletion of storage volumes, and mount and dismount functions of the storage volumes, but when the storage volume created by pmem-csi (a csi storage driver, which can provide local persistent memory as a file system volume to a container application) is used, if the allocated capacity is not consistent with the capacity to be used by an application, the capacity is easy to be insufficient in the using process, and pmem-csi does not have a function of expanding the capacity of the storage volume, which will affect the normal service provided by the application.

In summary, how to effectively solve the problems of capacity expansion of the storage volume and the like is a technical problem that needs to be solved urgently by those skilled in the art at present.

Disclosure of Invention

The application aims to provide a storage volume expansion method, a storage volume expansion system, storage volume expansion equipment and a readable storage medium, wherein the storage volume expansion is realized in a lvm mode based on pmum-csi of kubernets.

In order to solve the technical problem, the application provides the following technical scheme:

a storage volume capacity expansion method comprises the following steps:

monitoring storage requirements in a storage system;

after monitoring a storage capacity expansion event, carrying out capacity expansion by using a lv capacity expansion interface of the LVM volume management device;

if the capacity expansion is successful, utilizing a file system expansion interface of the LVM volume management device to perform file system expansion;

and if the file system successfully expands the capacity, determining to finish the capacity expansion of the storage volume corresponding to the storage capacity expansion event.

Preferably, if capacity expansion fails, the method further includes: capacity expansion failures are marked on the storage volume.

Preferably, the monitoring the storage demand in the storage system includes:

receiving a storage request;

determining whether the storage request needs storage capacity expansion or not by using the storage request and storage allocation;

if yes, determining that the storage capacity expansion event is monitored.

Preferably, determining whether the storage request needs storage capacity expansion by using the storage request and storage allocation includes:

analyzing the storage request and determining the capacity required by storage;

determining whether the required capacity is greater than the storage allocation;

if yes, determining that the storage request needs storage expansion.

Preferably, after monitoring the storage capacity expansion event, before performing the step of performing capacity expansion by using the lv capacity expansion interface of the LVM volume management device, the method further includes:

judging whether the storage system has the capacity capable of expanding which meets the storage capacity expanding event;

and if so, executing the step of carrying out capacity expansion by using the lv capacity expansion interface of the LVM volume management device.

Preferably, the determining whether the storage system has a capacity that can be expanded to satisfy the storage expansion event includes:

analyzing the storage request to obtain a unique identifier stored by the storage volume;

inquiring storage information by using the unique identifier to obtain expandable capacity;

judging whether the expandable capacity is larger than the required expandable capacity;

if so, determining that the storage system has a capacity that satisfies the storage capacity expansion event.

Preferably, before the snooping the storage demand in the storage system, the method includes:

the AEP memory is used as a storage back end, and the capacity of a storage volume is created so that the AEP memory can be provided to a container application program as a file system volume.

A storage volume expansion system, comprising:

the capacity expansion control device is used for monitoring the storage requirements in the storage system;

the volume expansion executing device is used for carrying out volume expansion by utilizing a lv volume expansion interface of the LVM volume management device after the volume expansion control device monitors the storage volume expansion event;

the file system capacity expansion executing device is used for carrying out file system capacity expansion by utilizing a file system capacity expansion interface of the LVM volume management device if the capacity expansion is successful;

and the LVM volume management device is used for determining to complete the volume expansion of the storage volume corresponding to the storage volume expansion event if the file system is successfully expanded.

An electronic device, comprising:

a memory for storing a computer program;

and the processor is used for realizing the steps of the storage volume capacity expansion method when executing the computer program.

A readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the storage volume expansion method described above.

The method provided by the embodiment of the application is applied to monitor the storage requirement in the storage system; after monitoring a storage capacity expansion event, carrying out capacity expansion by using a lv capacity expansion interface of the LVM volume management device; if the capacity expansion is successful, carrying out the file system expansion by using a file system expansion interface of the LVM volume management device; and if the file system is successfully expanded, determining to finish the expansion of the storage volume corresponding to the storage expansion event.

In the application, the storage demand in the storage system can be monitored, and after a storage capacity expansion event is monitored, the lv capacity expansion interface of the LVM volume management device can be used for capacity expansion. And after the capacity expansion is successful, carrying out the file system expansion by using a file system expansion interface of the LVM volume management device. And after the file system is successfully expanded, completely expanding the capacity of the storage volume corresponding to the storage capacity expansion event. Therefore, the allocated capacity can be matched with the capacity to be used by the application, and the situation of insufficient capacity in the using process is avoided. Namely, the capacity expansion interface of the LVM volume management device and the capacity expansion interface of the file system are utilized to expand the pmem-csi function and increase the capacity expansion function of the pmem-csi, so that the pmem-csi locally expands the capacity of the storage volume, and normal service provision of the application can be guaranteed.

Accordingly, embodiments of the present application further provide a storage volume expansion system, a device, and a readable storage medium corresponding to the storage volume expansion method, which have the above technical effects and are not described herein again.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments or related technologies of the present application, the drawings needed to be used in the description of the embodiments or related technologies are briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.

FIG. 1 is a flowchart illustrating an implementation of a method for volume expansion of a storage volume according to an embodiment of the present disclosure;

FIG. 2 is a schematic structural diagram of a storage volume expansion system according to an embodiment of the present disclosure;

fig. 3 is a schematic structural diagram of an electronic device in an embodiment of the present application;

fig. 4 is a schematic structural diagram of an electronic device in an embodiment of the present application.

Detailed Description

In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

Referring to fig. 1, fig. 1 is a flowchart illustrating a method for expanding a storage volume according to an embodiment of the present application, where the method may be specifically applied to the storage volume expansion system shown in fig. 2. The method comprises the following steps:

before monitoring storage requirements in the storage system, the AEP memory is used as a storage back end, and the capacity of the storage volume is created so as to provide the AEP memory as a file system volume to a container application program.

Wherein, the AEP (Apache pass) Memory is a novel nonvolatile Memory device introduced by Intel, and is one of PMEM; PMEM (Persistent Memory), also known as non-volatile Memory (NVM), is capable of keeping data from being lost even after a power loss.

S101, monitoring storage requirements in the storage system.

In this embodiment, the monitoring of the storage requirement in the storage system may specifically adopt a passive receiving manner to monitor, for example, a listwatch (a message passing manner) manner of kubernets; the listening may also be performed by actively acquiring information, such as polling.

The storage requirement may be embodied as the size, content, etc. of the requested storage.

In a specific embodiment of the present application, the step S101 of monitoring a storage requirement in a storage system specifically includes:

step one, receiving a storage request;

step two, determining whether the storage request needs storage capacity expansion or not by using the storage request and storage allocation;

and step three, if yes, determining that a storage capacity expansion event is monitored.

For convenience of description, the above three steps will be described in combination.

In particular, a PVC (persistentvolume claim) request may be received, i.e. a request for storage by a user, the PVC consuming PV resources, the PVC stating that a particular size and access pattern may be requested (e.g. read/write once or read only many times). Where pv (persistentvolume) is a segment of storage (i.e., storage allocation) in the cluster that is configured by the administrator. In this application, pv is equivalent to a storage volume.

After receiving the storage request, determining whether the storage request needs storage capacity expansion by using the storage request and storage allocation, and if so, indicating that a storage capacity expansion event is monitored.

Specifically, for determining whether the storage request needs to be subjected to storage capacity expansion by using the storage request and the storage allocation in the second step, the method may specifically include:

step 1, analyzing a storage request and determining the capacity required by storage;

step 2, judging whether the required capacity is larger than the storage allocation;

and 3, if yes, determining that the storage request needs storage expansion.

The storage request may be specifically a PVC request, and the required capacity corresponding to the requested storage may be determined by parsing the PVC request. Then, comparing the size relation between the required capacity and the storage allocation, and if the required capacity is larger than the storage allocation, indicating that the storage request needs storage expansion; otherwise, the storage request does not need storage capacity expansion.

And S102, after monitoring the storage capacity expansion event, carrying out capacity expansion by using a lv capacity expansion interface of the LVM volume management device.

The LVM (logical Volume manager) logically collects partitions of one or more hard disks, and is equivalent to a large hard disk for use, and when the space of the hard disk is not enough, partitions of other hard disks can be continuously added into the logical Volume manager, so that dynamic management of the disk space can be realized, and the LVM has great flexibility compared with a common disk partition.

After the storage capacity expansion event is monitored, the capacity expansion executing device can be notified to execute specific capacity expansion. That is, the capacity expansion execution device performs the capacity expansion function via the LV capacity expansion interface of the LVM volume management device. For how to implement capacity expansion specifically by the lv capacity expansion interface, the definition of the lv capacity expansion interface and the specific flow of the capacity expansion implementation may be specifically referred to, and details are not repeated here.

Preferably, after monitoring the storage capacity expansion event, before performing the step of performing capacity expansion by using the lv capacity expansion interface of the LVM volume management device, the following steps may be further performed:

judging whether the storage system has the capacity-expandable capacity meeting the storage capacity-expandable event;

and if so, executing the step of carrying out capacity expansion by using the lv capacity expansion interface of the LVM volume management device.

That is, before capacity expansion, it may be determined whether a capacity expansion condition is met at present, and if yes, capacity expansion is performed again; if not, the capacity expansion is not carried out, so that the current storage capacity expansion event can be fed back quickly, and if the current storage capacity expansion event cannot be output, the user is prompted or the related application is informed.

Wherein, judge whether storage system has the dilatation capacity that satisfies storage dilatation incident, include:

step 1, analyzing a storage request to obtain a unique identifier stored by a storage volume;

step 2, inquiring storage information by using the unique identifier to obtain expandable capacity;

step 3, judging whether the expandable capacity is larger than the required expandable capacity;

and 4, if yes, determining that the storage system has the capacity expansion capacity meeting the storage capacity expansion event.

The storage request may be specifically a PVC request, and the analysis of the PVC may determine the unique identifier of the storage volume that requests storage. And querying based on the unique identifier to obtain storage information, wherein the storage information comprises expandable capacity. And when the expandable capacity is larger than the required expandable capacity, determining that the storage system has the expandable capacity meeting the storage expansion event. The required expansion capacity may be a difference between storage capacities of the PVC and the VC.

For example, the capacity expansion executing apparatus executes the following logic steps:

I. acquiring storage volume information pvc and pv;

II. Judging whether the available storage capacity is sufficient or not according to the storage volume information;

and III, realizing a capacity expansion function based on a lv capacity expansion interface of the LVM volume management device.

Preferably, if capacity expansion fails, the capacity expansion failure may be marked on the storage volume. So that the user or the application queries the reason for the capacity expansion failure.

According to whether the capacity expansion is successful, different processing steps are executed. Specifically, if the capacity expansion execution device returns a failure, the capacity expansion request of the storage volume is processed, and the capacity expansion failure is marked on the storage volume; if the capacity expansion device returns a success, the process may proceed to step S103.

And S103, if the capacity expansion is successful, carrying out the file system expansion by using a file system expansion interface of the LVM volume management device.

After the capacity expansion is successful, the file system capacity expansion executing device may be notified to perform the file system capacity expansion. Specifically, the file system capacity expansion executing device implements a file system capacity expansion function through a file system capacity expansion interface of the LVM volume management device. For how to implement the file system capacity expansion specifically by the file system capacity expansion interface, specific definitions of the file system capacity expansion interface and corresponding file system capacity expansion implementation flows may be specifically referred to, and are not described herein any more.

The file system capacity expansion executing device may specifically execute the following logic steps when performing file system capacity expansion:

I. acquiring storage volume information;

II. And the file system capacity expansion interface based on the LVM volume management device realizes the capacity expansion function of the file system.

And if the file system capacity expansion device fails to return, marking the file system capacity expansion failure on the storage volume.

And S104, if the file system is successfully expanded, determining that the expansion of the storage volume corresponding to the storage expansion event is completed.

The method provided by the embodiment of the application is applied to monitor the storage requirement in the storage system; after monitoring a storage capacity expansion event, carrying out capacity expansion by using a lv capacity expansion interface of the LVM volume management device; if the capacity expansion is successful, carrying out the file system expansion by using a file system expansion interface of the LVM volume management device; and if the file system is successfully expanded, determining to finish the expansion of the storage volume corresponding to the storage expansion event.

In the application, the storage demand in the storage system can be monitored, and after a storage capacity expansion event is monitored, the lv capacity expansion interface of the LVM volume management device can be used for capacity expansion. And after the capacity expansion is successful, carrying out the file system expansion by using a file system expansion interface of the LVM volume management device. And after the file system is successfully expanded, completely expanding the capacity of the storage volume corresponding to the storage capacity expansion event. Therefore, the allocated capacity can be matched with the capacity to be used by the application, and the situation of insufficient capacity in the using process is avoided. Namely, the capacity expansion interface of the LVM volume management device and the capacity expansion interface of the file system are utilized to expand the pmem-csi function and increase the capacity expansion function of the pmem-csi, so that the pmem-csi locally expands the capacity of the storage volume, and normal service provision of the application can be guaranteed.

Corresponding to the above method embodiment, an embodiment of the present application further provides a storage volume expansion system, and the storage volume expansion system described below and the storage volume expansion method described above may be referred to in a corresponding manner.

Referring to fig. 2, the system comprises the following devices:

the capacity expansion control device 101 is used for monitoring the storage requirements in the storage system;

the capacity expansion executing device 102 is configured to, after the capacity expansion control device monitors the storage capacity expansion event, perform capacity expansion by using the lv capacity expansion interface of the LVM volume management device;

the file system capacity expansion executing device 103 is configured to, if capacity expansion is successful, perform file system capacity expansion by using a file system capacity expansion interface of the LVM volume management device;

the LVM volume management device 104 is configured to determine that the volume expansion of the storage volume corresponding to the storage volume expansion event is completed if the volume expansion of the file system is successful.

In practical application, the capacity expansion executing device has the following executing logic:

I. acquiring storage volume information;

II. Based on storage volume information

Judging whether the available storage capacity is sufficient;

and III, realizing a capacity expansion function based on a lv capacity expansion interface of the LVM volume management device.

The file system capacity expansion executing device has the following executing logic:

I. acquiring storage volume information;

II. And the file system capacity expansion interface based on the LVM volume management device realizes the capacity expansion function of the file system.

The capacity expansion control device has the following execution logic:

I. monitoring a capacity expansion request of a storage volume based on a listwatch mechanism of kubernets, namely monitoring a storage requirement;

II. Informing a capacity expansion executing device to expand the capacity after monitoring the capacity expansion event;

III, if the capacity expansion execution device returns a failure, processing the capacity expansion request of the storage volume, and marking the capacity expansion failure on the storage volume; if the capacity expansion device returns success, the file system capacity expansion executing device is informed to expand the file system capacity;

and IV, if the file system capacity expansion device fails to return, marking the file system capacity expansion failure on the storage volume.

After the device is realized, the capacity expansion configuration of the storage volume can be added in the pmem-csi, and the capacity expansion control device, the capacity expansion execution device and the file system capacity expansion execution device are accessed into the pmem-csi, so that the capacity expansion system of the storage volume can avoid the influence on the normal use of the application when the capacity is insufficient; meanwhile, the resource utilization rate of the cluster can be improved, more capacity is not required to be allocated for the application, and the capacity expansion of the pvc is only required when the capacity is insufficient.

The system provided by the embodiment of the application is applied to monitor the storage requirement in the storage system; after monitoring a storage capacity expansion event, carrying out capacity expansion by using a lv capacity expansion interface of the LVM volume management device; if the capacity expansion is successful, carrying out the file system expansion by using a file system expansion interface of the LVM volume management device; and if the file system is successfully expanded, determining to finish the expansion of the storage volume corresponding to the storage expansion event.

In the application, the storage demand in the storage system can be monitored, and after a storage capacity expansion event is monitored, the lv capacity expansion interface of the LVM volume management device can be used for capacity expansion. And after the capacity expansion is successful, carrying out the file system expansion by using a file system expansion interface of the LVM volume management device. And after the file system is successfully expanded, completely expanding the capacity of the storage volume corresponding to the storage capacity expansion event. Therefore, the allocated capacity can be matched with the capacity to be used by the application, and the situation of insufficient capacity in the using process is avoided. Namely, the capacity expansion interface of the LVM volume management device and the capacity expansion interface of the file system are utilized to expand the pmem-csi function and increase the capacity expansion function of the pmem-csi, so that the pmem-csi locally expands the capacity of the storage volume, and normal service provision of the application can be guaranteed.

In an embodiment of the present application, the capacity expansion executing device 102 is further configured to mark a capacity expansion failure on the storage volume if the capacity expansion failure occurs.

In an embodiment of the present application, the capacity expansion control device 101 is specifically configured to receive a storage request; determining whether the storage request needs storage capacity expansion or not by using the storage request and storage allocation; if so, determining that a storage capacity expansion event is monitored.

In a specific embodiment of the present application, the capacity expansion control device 101 is specifically configured to analyze the storage request and determine a capacity required for storage; judging whether the required capacity is larger than the storage allocation; if so, the storage request is determined to require storage expansion.

In a specific embodiment of the present application, after monitoring the storage capacity expansion event, before performing the step of performing capacity expansion by using the lv capacity expansion interface of the LVM volume management device, the capacity expansion performing device 102 is further configured to determine whether the storage system has a capacity that can be expanded to meet the storage capacity expansion event; and if so, executing the step of carrying out capacity expansion by using the lv capacity expansion interface of the LVM volume management device.

In a specific embodiment of the present application, the capacity expansion executing apparatus 102 is specifically configured to parse the storage request to obtain a unique identifier of storage to which the storage volume belongs; inquiring the storage information by using the unique identifier to obtain the expandable capacity; judging whether the capacity capable of being expanded is larger than the required capacity; if so, it is determined that the storage system has a capacity that satisfies the storage capacity expansion event.

In a specific embodiment of the present application, the storage volume creation module is configured to, before monitoring storage requirements in the storage system, use an AEP memory as a storage backend and create a capacity of the storage volume, so as to provide the AEP memory as a file system volume to the container application.

Corresponding to the above method embodiment, an embodiment of the present application further provides an electronic device, and a storage volume expansion method described above and an electronic device described below may be referred to in a corresponding manner.

Referring to fig. 3, the electronic device includes:

a memory 332 for storing a computer program;

the processor 322 is configured to implement the steps of the storage volume expansion method in the foregoing method embodiment when executing the computer program.

Specifically, referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device provided in this embodiment, which may generate relatively large differences due to different configurations or performances, and may include one or more processors (CPUs) 322 (e.g., one or more processors) and a memory 332, where the memory 332 stores one or more computer applications 342 or data 344. Memory 332 may be, among other things, transient or persistent storage. The program stored in memory 332 may include one or more modules (not shown), each of which may include a sequence of instructions operating on a data processing device. Still further, the central processor 322 may be configured to communicate with the memory 332 to execute a series of instruction operations in the memory 332 on the electronic device 301.

The electronic device 301 may also include one or more power sources 326, one or more wired or wireless network interfaces 350, one or more input-output interfaces 358, and/or one or more operating systems 341.

The steps in the storage volume expansion method described above may be implemented by the structure of an electronic device.

Corresponding to the above method embodiment, an embodiment of the present application further provides a readable storage medium, and a readable storage medium described below and the above described method for expanding the storage volume may be referred to correspondingly.

A readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the storage volume expansion method in the foregoing method embodiments.

The readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various other readable storage media capable of storing program codes.

Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:数据重构方法、设备、存储介质及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类