CN109189332A - A kind of disk hanging method, device, server and storage medium - Google Patents
A kind of disk hanging method, device, server and storage medium Download PDFInfo
- Publication number
- CN109189332A CN109189332A CN201810920471.2A CN201810920471A CN109189332A CN 109189332 A CN109189332 A CN 109189332A CN 201810920471 A CN201810920471 A CN 201810920471A CN 109189332 A CN109189332 A CN 109189332A
- Authority
- CN
- China
- Prior art keywords
- carry
- disk
- information
- carry disk
- application program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0604—Improving or facilitating administration, e.g. storage management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/0644—Management of space entities, e.g. partitions, extents, pools
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0674—Disk device
- G06F3/0676—Magnetic disk device
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of disk hanging method, device, server and storage mediums.The described method includes: receive user by application program input to the corresponding configuration information of carry disk;According to described described to the corresponding mounting instructions of carry disk to the corresponding configuration information generation of carry disk;In response to the mounting instructions described carry will be carried out to carry disk.The efficiency of disk carry not only can be improved, but also can guarantee the accuracy of disk carry.
Description
Technical field
The present embodiments relate to technical field of data storage more particularly to a kind of disk hanging methods, device, server
And storage medium.
Background technique
With the continuous development of Internet technology, the user of Internet application is continuously increased, and is generated daily in global range
Information data it is more and more, data, which are increased speed, to be getting faster.In such a case, various memory technologies and storage scheme
It comes into being.
Carry will be commonly known as in the subregion formulation to some disk of disk.In Windows system, disk can be passed through
This function is managed to realize.In (SuSE) Linux OS, carry is a very important function, and use is very frequent.?
Disk carry on Linux is to connect devices to one in the catalogue for empty physical presence, because for Linux
Computer resource is exactly a big file system, and user access device when has to carry out in file directory, therefore
It must be first mounted in file directory.
In the implementation of the present invention, at least there are the following problems in the prior art for inventor's discovery:
It in existing disk hanging method, needs user that mounting instructions are manually entered, not only reduces disk extension in this way
The efficiency of load, and not can guarantee the accuracy of disk carry.Therefore, it is necessary to be overcome as much as possible by certain mode
This problem, but there are no a kind of effective solution modes in the prior art.
Summary of the invention
The present invention provides a kind of disk hanging method, device, server and storage medium, and disk carry not only can be improved
Efficiency, but also can guarantee the accuracy of disk carry.
In a first aspect, the embodiment of the invention provides a kind of disk hanging methods, which comprises
Receive user by application program input to the corresponding configuration information of carry disk;
According to described described to the corresponding mounting instructions of carry disk to the corresponding configuration information generation of carry disk;
In response to the mounting instructions described carry will be carried out to carry disk.
In the above-described embodiments, the reception user is inputted corresponding with confidence to carry disk by application program
Breath, comprising:
Receive the user inputted by the application program it is described to the corresponding partition information of carry disk and described
To the corresponding carry information of carry disk;
If described to corresponding partition information the first preset condition of satisfaction of carry disk and described corresponding to carry disk
Carry information meets the second preset condition, according to described to the corresponding partition information of carry disk and described corresponding to carry disk
Carry information determine it is described to the corresponding configuration information of carry disk.
It is in the above-described embodiments, described described to carry out carry to carry disk in response to the mounting instructions, comprising:
It is obtained in the mounting instructions described corresponding to carry subregion and described to carry disk pair to carry disk
Answer to mount directory;
By it is described to carry disk it is corresponding be mounted to carry subregion it is described corresponding to mount directory to carry disk
In.
In the above-described embodiments, the method also includes:
It is shown by the application program described to the corresponding status information of carry disk, wherein the status information packet
It includes but is not limited to: storage information, formatted message and the error message to carry disk, so that the application program
It is described to the corresponding processing of carry disk corresponding status information prompt user's progress receiving.
Second aspect, the embodiment of the invention also provides a kind of disk carry device, described device include: receiving module,
Generation module and carry module;Wherein,
The receiving module, for receive user by application program input to the corresponding configuration information of carry disk;
The generation module, for according to described described to carry disk pair to the corresponding configuration information generation of carry disk
The mounting instructions answered;
The carry module, in response to the mounting instructions described carry will to be carried out to carry disk.
In the above-described embodiments, the receiving module includes: receiving submodule and determining submodule;Wherein,
The receiving submodule, for receive the user by the application program input described in carry disk pair
The partition information answered and described to the corresponding carry information of carry disk;
The determining submodule, if meeting the first preset condition and institute to the corresponding partition information of carry disk for described
State and meet the second preset condition to the corresponding carry information of carry disk, according to it is described to the corresponding partition information of carry disk and
It is described determining described to the corresponding configuration information of carry disk to the corresponding carry information of carry disk.
In the above-described embodiments, the carry module includes: acquisition submodule and carry submodule;Wherein,
The acquisition submodule, it is described corresponding to carry subregion to carry disk for being obtained in the mounting instructions
With it is described corresponding to mount directory to carry disk;
The carry submodule, for by it is described to carry disk it is corresponding be mounted to carry subregion it is described to carry magnetic
Disk is corresponding in mount directory.
In the above-described embodiments, described device further include: display module, for by the application program show described in
The corresponding status information of carry disk, wherein the status information includes but is not limited to: the storage to carry disk is believed
Breath, formatted message and error message so that the application program receive it is described to the corresponding state of carry disk
User described in information alert carries out corresponding processing.
The third aspect, the embodiment of the invention provides a kind of servers, comprising:
One or more processors;
Memory, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes disk hanging method described in any embodiment of that present invention.
Fourth aspect, the embodiment of the invention provides a kind of storage mediums, are stored thereon with computer program, the program quilt
Disk hanging method described in any embodiment of that present invention is realized when processor executes.
The embodiment of the present invention proposes a kind of disk hanging method, device, detection device and storage medium, first receives user
By application program input to the corresponding configuration information of carry disk;Then according to raw to the corresponding configuration information of carry disk
At to the corresponding mounting instructions of carry disk;Finally carry will be carried out to carry disk in response to mounting instructions.That is,
In technical solution of the present invention, it can be inputted according to user by application program automatic to the corresponding configuration information of carry disk
Ground is generated to the corresponding mounting instructions of carry disk, is manually entered without user to the corresponding mounting instructions of carry disk.Cause
This, compared to the prior art, disk hanging method, device, detection device and the storage medium that the embodiment of the present invention proposes, not only
The efficiency of disk carry can be improved, but also can guarantee the accuracy of disk carry;Also, the technology of the embodiment of the present invention
Scheme realization is simple and convenient, it is universal to be convenient for, and the scope of application is wider.
Detailed description of the invention
Fig. 1 is the flow diagram for the disk hanging method that the embodiment of the present invention one provides;
Fig. 2 is the flow diagram of disk hanging method provided by Embodiment 2 of the present invention;
Fig. 3 is the first structure diagram for the disk carry device that the embodiment of the present invention three provides;
Fig. 4 is the second structural schematic diagram of the disk carry device that the embodiment of the present invention three provides;
Fig. 5 is the structural schematic diagram for the server that the embodiment of the present invention four provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is the flow diagram for the disk hanging method that the embodiment of the present invention one provides.As shown in Figure 1, disk carry
Method may comprise steps of:
Step 101, receive user by application program input to the corresponding configuration information of carry disk.
In a specific embodiment of the present invention, server can receive user by application program input to carry disk
Corresponding configuration information.Specifically, server can receive user by application program input to corresponding point of carry disk
Area's information with to the corresponding carry information of carry disk;If to the corresponding partition information of carry disk meet the first preset condition and
Meet the second preset condition to the corresponding carry information of carry disk, server can be believed according to the corresponding subregion of carry disk
Breath is determined with to the corresponding carry information of carry disk to the corresponding configuration information of carry disk.
Step 102 is generated according to the corresponding configuration information of carry disk to the corresponding mounting instructions of carry disk.
In a specific embodiment of the present invention, server can be generated according to the corresponding configuration information of carry disk wait hang
Carry the corresponding mounting instructions of disk.Specifically, server can be obtained according to the corresponding configuration information of carry disk to carry
The corresponding partition information of disk with to the corresponding carry information of carry disk;Then according to the corresponding partition information of carry disk
The corresponding mounting instructions of carry disk are generated with to the corresponding carry information of carry disk.
Step 103 will carry out carry to carry disk in response to mounting instructions.
In a specific embodiment of the present invention, server can will carry out carry to carry disk in response to mounting instructions.
Specifically, server can obtain corresponding corresponding with to carry disk to carry subregion to carry disk in mounting instructions
To mount directory;Then will to carry disk it is corresponding be mounted to carry subregion it is corresponding to mount directory to carry disk
In.
Disk hanging method provided in an embodiment of the present invention, first receive user by application program input to carry disk
Corresponding configuration information;Then it generates according to the corresponding configuration information of carry disk to the corresponding mounting instructions of carry disk;
Finally carry will be carried out to carry disk in response to mounting instructions.That is, in the inventive solutions, it can basis
User is automatically generated to the corresponding configuration information of carry disk to the corresponding carry of carry disk by what application program inputted
Instruction, is manually entered without user to the corresponding mounting instructions of carry disk.Therefore, compared to the prior art, the present invention is real
The disk hanging method for applying example proposition, not only can be improved the efficiency of disk carry, but also can guarantee the standard of disk carry
True property;Also, the technical solution realization of the embodiment of the present invention is simple and convenient, it is universal to be convenient for, and the scope of application is wider.
Embodiment two
Fig. 2 is the flow diagram of disk hanging method provided by Embodiment 2 of the present invention.As shown in Fig. 2, disk carry
Method may comprise steps of:
Step 201, receive user by application program input to the corresponding partition information of carry disk and to carry magnetic
The corresponding carry information of disk.
In a specific embodiment of the present invention, server can receive user by application program input to carry disk
Corresponding partition information with to the corresponding carry information of carry disk.Specifically, to carry disk may include: disk partition 1,
Disk partition 2 ..., disk partition N;Wherein, N is the natural number more than or equal to 1.Carry information includes: carry information 1, carry
Information 2 ..., carry information M;Wherein, M is the natural number more than or equal to 1.
If step 202 meets the first preset condition and corresponding to carry disk to the corresponding partition information of carry disk
Carry information meets the second preset condition, believes according to the corresponding partition information of carry disk with to the corresponding carry of carry disk
Breath is determined to the corresponding configuration information of carry disk.
In a specific embodiment of the present invention, if to the corresponding partition information of carry disk meet the first preset condition and to
The corresponding carry information of carry disk meets the second preset condition, and server can be according to the corresponding partition information of carry disk
It determines with to the corresponding carry information of carry disk to the corresponding configuration information of carry disk.Specifically, server may determine that
It whether is effective partition information to the corresponding partition information of carry disk;If being effective to the corresponding partition information of carry disk
Partition information, then server, which can be determined that, meets the first preset condition to the corresponding partition information of carry disk;In addition, service
Device can also judge whether to the corresponding carry information of carry disk be effective carry information;If to the corresponding extension of carry disk
Information carrying breath is effective carry information, then server, which may determine that, meets the second default item to the corresponding carry information of carry disk
Part.
Step 203 is generated according to the corresponding configuration information of carry disk to the corresponding mounting instructions of carry disk.
In a specific embodiment of the present invention, server can be generated according to the corresponding configuration information of carry disk wait hang
Carry the corresponding mounting instructions of disk.Specifically, server can be obtained according to the corresponding configuration information of carry disk to carry
The corresponding partition information of disk with to the corresponding carry information of carry disk;Then according to the corresponding partition information of carry disk
The corresponding mounting instructions of carry disk are generated with to the corresponding carry information of carry disk.
Step 204, acquisition is corresponding corresponding with to carry disk to carry subregion to carry disk in mounting instructions
To mount directory.
In a specific embodiment of the present invention, server can obtain corresponding wait hang to carry disk in mounting instructions
It is corresponding to mount directory with to carry disk to carry subregion.Specifically, server can be according to predetermined mounting instructions
Format obtains corresponding corresponding to mount directory with to carry disk to carry subregion to carry disk in mounting instructions.
Step 205, will to carry disk it is corresponding be mounted to carry subregion it is corresponding to mount directory to carry disk
In.
In a specific embodiment of the present invention, server can will to carry disk it is corresponding to carry subregion be mounted to
Carry disk is corresponding in mount directory.
Preferably, in a specific embodiment of the present invention, server can also be shown by application program to carry disk
Corresponding status information, wherein status information includes but is not limited to: to the storage information of carry disk, formatted message and
Error message, so that application program is being received to the corresponding place of the corresponding status information prompt user's progress of carry disk
Reason.
Disk hanging method provided in an embodiment of the present invention, first receive user by application program input to carry disk
Corresponding configuration information;Then it generates according to the corresponding configuration information of carry disk to the corresponding mounting instructions of carry disk;
Finally carry will be carried out to carry disk in response to mounting instructions.That is, in the inventive solutions, it can basis
User is automatically generated to the corresponding configuration information of carry disk to the corresponding carry of carry disk by what application program inputted
Instruction, is manually entered without user to the corresponding mounting instructions of carry disk.Therefore, compared to the prior art, the present invention is real
The disk hanging method for applying example proposition, not only can be improved the efficiency of disk carry, but also can guarantee the standard of disk carry
True property;Also, the technical solution realization of the embodiment of the present invention is simple and convenient, it is universal to be convenient for, and the scope of application is wider.
Embodiment three
Fig. 3 is the first structure diagram for the disk carry device that the embodiment of the present invention three provides.As shown in figure 3, described
Device includes: receiving module 301, generation module 302 and carry module 303;Wherein,
The receiving module 301 is inputted for receiving user by application program corresponding with confidence to carry disk
Breath;
The generation module 302, for according to described described to carry magnetic to the corresponding configuration information generation of carry disk
The corresponding mounting instructions of disk;
The carry module 303, in response to the mounting instructions described carry will to be carried out to carry disk.
Fig. 4 is the second structural schematic diagram of the disk carry device that the embodiment of the present invention three provides.As shown in figure 4, described
Receiving module 301 includes: receiving submodule 3011 and determining submodule 3012;Wherein,
The receiving submodule 3011, for receive the user by the application program input described in carry magnetic
The corresponding partition information of disk and described to the corresponding carry information of carry disk;
The determining submodule 3012, if meeting the first preset condition to the corresponding partition information of carry disk for described
And it is described to carry disk the second preset condition of corresponding carry information satisfaction, believed according to described to the corresponding subregion of carry disk
Breath and it is described to the corresponding carry information of carry disk determine described in the corresponding configuration information of carry disk.
Further, the carry module 303 includes: acquisition submodule 3031 and carry submodule 3032;Wherein,
The acquisition submodule 3031, it is described corresponding to carry to carry disk for being obtained in the mounting instructions
Subregion and described corresponding to mount directory to carry disk;
The carry submodule 3032, for by it is described to carry disk it is corresponding be mounted to carry subregion it is described wait hang
It is corresponding in mount directory to carry disk.
Further, described device further include: 304 (not shown) of display module, for passing through the application program
Display is described to the corresponding status information of carry disk, wherein the status information includes but is not limited to: described to carry disk
Storage information, formatted message and error message so that the application program receive it is described to carry disk pair
The status information answered prompts the user to carry out corresponding processing.
Method provided by any embodiment of the invention can be performed in above-mentioned disk carry device, and it is corresponding to have execution method
Functional module and beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to any embodiment of that present invention mentions
The disk hanging method of confession.
Example IV
Fig. 5 is the structural schematic diagram for the server that the embodiment of the present invention four provides.Fig. 5, which is shown, to be suitable for being used to realizing this hair
The block diagram of the exemplary servers of bright embodiment.The server 12 that Fig. 5 is shown is only an example, should not be to of the invention real
The function and use scope for applying example bring any restrictions.
As shown in figure 5, server 12 is showed in the form of universal computing device.The component of server 12 may include but not
Be limited to: one or more processor or processing unit 16, system storage 28 connect different system components (including system
Memory 28 and processing unit 16) bus 18.
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Server 12 typically comprises a variety of computer system readable media.These media can be and any can be serviced
The usable medium that device 12 accesses, including volatile and non-volatile media, moveable and immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access
Memory (RAM) 30 and/or cache memory 32.Server 12 may further include other removable/nonremovable
, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing not removable
Dynamic, non-volatile magnetic media (Fig. 5 do not show, commonly referred to as " hard disk drive ").Although being not shown in Fig. 5, can provide
Disc driver for being read and write to removable non-volatile magnetic disk (such as " floppy disk "), and to removable anonvolatile optical disk
The CD drive of (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driver can
To be connected by one or more data media interfaces with bus 18.Memory 28 may include at least one program product,
The program product has one group of (for example, at least one) program module, these program modules are configured to perform each implementation of the invention
The function of example.
Program/utility 40 with one group of (at least one) program module 42 can store in such as memory 28
In, such program module 42 includes but is not limited to operating system, one or more small routine, other program modules and journey
It may include the realization of network environment in ordinal number evidence, each of these examples or certain combination.Program module 42 is usually held
Function and/or method in row embodiment described in the invention.
Server 12 can also be logical with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 etc.)
Letter, can also be enabled a user to one or more equipment interact with the server 12 communicate, and/or with make the server
The 12 any equipment (such as network interface card, modem etc.) that can be communicated with one or more of the other calculating equipment communicate.
This communication can be carried out by input/output (I/O) interface 22.Also, server 12 can also pass through network adapter 20
With one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.
As shown, network adapter 20 is communicated by bus 18 with other modules of server 12.It should be understood that although not showing in figure
Out, can in conjunction with server 12 use other hardware and/or software module, including but not limited to: microcode, device driver,
Redundant processing unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and
Data processing, such as realize disk hanging method provided by the embodiment of the present invention.
Embodiment five
The embodiment of the present invention five provides a kind of computer storage medium.
The computer readable storage medium of the embodiment of the present invention, can be using one or more computer-readable media
Any combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.Computer
Readable storage medium storing program for executing for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, dress
It sets or device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium wraps
It includes: there is the electrical connection of one or more conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only
Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory
(CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable
Storage medium can be it is any include or storage program tangible medium, the program can be commanded execution system, device or
Device use or in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.?
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service
It is connected for quotient by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (10)
1. a kind of disk hanging method, which is characterized in that the described method includes:
Receive user by application program input to the corresponding configuration information of carry disk;
According to described described to the corresponding mounting instructions of carry disk to the corresponding configuration information generation of carry disk;
In response to the mounting instructions described carry will be carried out to carry disk.
2. the method according to claim 1, wherein it is described receive user by application program input to carry
The corresponding configuration information of disk, comprising:
Receive the user inputted by the application program it is described to the corresponding partition information of carry disk and described wait hang
Carry the corresponding carry information of disk;
If described to corresponding partition information the first preset condition of satisfaction of carry disk and described to the corresponding carry of carry disk
Information meets the second preset condition, according to described to the corresponding partition information of carry disk and described to the corresponding extension of carry disk
Information carrying breath determines described to the corresponding configuration information of carry disk.
3. the method according to claim 1, wherein described will be described to carry magnetic in response to the mounting instructions
Disk carries out carry, comprising:
It is obtained in the mounting instructions described corresponding to carry subregion and described corresponding to carry disk to carry disk
To mount directory;
By it is described to carry disk it is corresponding be mounted to carry subregion it is described corresponding in mount directory to carry disk.
4. the method according to claim 1, wherein the method also includes:
Shown by the application program described to the corresponding status information of carry disk, wherein the status information include but
It is not limited to: storage information, formatted message and the error message to carry disk, so that the application program is connecing
It receives described to the corresponding processing of carry disk corresponding status information prompt user's progress.
5. a kind of disk carry device, which is characterized in that described device includes: receiving module, generation module and carry module;Its
In,
The receiving module, for receive user by application program input to the corresponding configuration information of carry disk;
The generation module, for according to described described corresponding to carry disk to the corresponding configuration information generation of carry disk
Mounting instructions;
The carry module, in response to the mounting instructions described carry will to be carried out to carry disk.
6. device according to claim 5, which is characterized in that the receiving module includes: receiving submodule and determines sub
Module;Wherein,
The receiving submodule, for receive the user by the application program input described in it is corresponding to carry disk
Partition information and described to the corresponding carry information of carry disk;
The determining submodule, if for it is described to the corresponding partition information of carry disk meet the first preset condition and it is described to
The corresponding carry information of carry disk meets the second preset condition, according to described to the corresponding partition information of carry disk and described
It is determined to the corresponding carry information of carry disk described to the corresponding configuration information of carry disk.
7. device according to claim 5, which is characterized in that the carry module includes: acquisition submodule and carry
Module;Wherein,
The acquisition submodule, it is described corresponding to carry subregion and institute to carry disk for being obtained in the mounting instructions
It states corresponding to mount directory to carry disk;
The carry submodule, for by it is described to carry disk it is corresponding be mounted to carry subregion it is described to carry disk pair
Answer in mount directory.
8. device according to claim 5, which is characterized in that described device further include: display module, for by described
Application program shows described to the corresponding status information of carry disk, wherein the status information includes but is not limited to: it is described to
Storage information, formatted message and the error message of carry disk so that the application program receive it is described wait hang
Carrying the corresponding status information of disk prompts the user to carry out corresponding processing.
9. a kind of server characterized by comprising
One or more processors;
Memory, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now disk hanging method according to any one of claims 1 to 4.
10. a kind of storage medium, is stored thereon with computer program, which is characterized in that the realization when program is executed by processor
Disk hanging method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810920471.2A CN109189332A (en) | 2018-08-14 | 2018-08-14 | A kind of disk hanging method, device, server and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810920471.2A CN109189332A (en) | 2018-08-14 | 2018-08-14 | A kind of disk hanging method, device, server and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109189332A true CN109189332A (en) | 2019-01-11 |
Family
ID=64921338
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810920471.2A Pending CN109189332A (en) | 2018-08-14 | 2018-08-14 | A kind of disk hanging method, device, server and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109189332A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110602220A (en) * | 2019-09-17 | 2019-12-20 | 拉扎斯网络科技(上海)有限公司 | Task allocation method and device, electronic equipment and computer readable storage medium |
CN113422791A (en) * | 2020-06-08 | 2021-09-21 | 阿里巴巴集团控股有限公司 | Cloud service configuration method and device, electronic equipment and computer-readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104020960A (en) * | 2014-03-31 | 2014-09-03 | 深圳英飞拓科技股份有限公司 | Method and device for conducting partition formatting and mounting on hard disk |
US9052916B2 (en) * | 2006-09-21 | 2015-06-09 | Hewlett-Packard Development Company, L.P. | System ROM with an embedded disk image |
CN105511804A (en) * | 2015-11-25 | 2016-04-20 | 汉柏科技有限公司 | Hard disk mounting method and system |
CN106126382A (en) * | 2016-06-29 | 2016-11-16 | 北京小米移动软件有限公司 | Identify the method and device of file system error |
CN106873921A (en) * | 2017-03-24 | 2017-06-20 | 努比亚技术有限公司 | A kind of hanging method and device of multi partition external storage |
CN107943414A (en) * | 2017-10-16 | 2018-04-20 | 积成电子股份有限公司 | The file partition of built-in Linux and data read-write method |
-
2018
- 2018-08-14 CN CN201810920471.2A patent/CN109189332A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9052916B2 (en) * | 2006-09-21 | 2015-06-09 | Hewlett-Packard Development Company, L.P. | System ROM with an embedded disk image |
CN104020960A (en) * | 2014-03-31 | 2014-09-03 | 深圳英飞拓科技股份有限公司 | Method and device for conducting partition formatting and mounting on hard disk |
CN105511804A (en) * | 2015-11-25 | 2016-04-20 | 汉柏科技有限公司 | Hard disk mounting method and system |
CN106126382A (en) * | 2016-06-29 | 2016-11-16 | 北京小米移动软件有限公司 | Identify the method and device of file system error |
CN106873921A (en) * | 2017-03-24 | 2017-06-20 | 努比亚技术有限公司 | A kind of hanging method and device of multi partition external storage |
CN107943414A (en) * | 2017-10-16 | 2018-04-20 | 积成电子股份有限公司 | The file partition of built-in Linux and data read-write method |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110602220A (en) * | 2019-09-17 | 2019-12-20 | 拉扎斯网络科技(上海)有限公司 | Task allocation method and device, electronic equipment and computer readable storage medium |
CN110602220B (en) * | 2019-09-17 | 2022-08-16 | 拉扎斯网络科技(上海)有限公司 | Task allocation method and device, electronic equipment and computer readable storage medium |
CN113422791A (en) * | 2020-06-08 | 2021-09-21 | 阿里巴巴集团控股有限公司 | Cloud service configuration method and device, electronic equipment and computer-readable storage medium |
CN113422791B (en) * | 2020-06-08 | 2024-01-09 | 阿里巴巴集团控股有限公司 | Cloud service configuration method and device, electronic equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109960541A (en) | Start method, equipment and the computer storage medium of small routine | |
JP6710790B2 (en) | Method and apparatus for operating a smart network interface card | |
US20220214932A1 (en) | Methods, devices and computer storage media for inter-mini program platform communication | |
KR20180013561A (en) | Electrical device | |
CN107423055A (en) | Method, apparatus, equipment and the storage medium of adaptive terminal device resolution | |
CN109062699A (en) | A kind of resource monitoring method, device, server and storage medium | |
CN109543560A (en) | Dividing method, device, equipment and the computer storage medium of personage in a kind of video | |
KR20180020787A (en) | Electronic device and method of operating the same | |
CN109218393A (en) | A kind of implementation method of push, device, equipment and computer storage medium | |
CN109960554A (en) | Show method, equipment and the computer storage medium of reading content | |
WO2019136685A1 (en) | Method and apparatus for network selection by terminal, and computer device and storage medium | |
CN114417373A (en) | Data access method and device for NVMe-oF user mode client | |
CN109189332A (en) | A kind of disk hanging method, device, server and storage medium | |
US10187506B2 (en) | Dual subscriber identity module (SIM) card adapter for electronic device that allows for selection between SIM card(s) via GUI display | |
CN109150956A (en) | A kind of implementation method, device, equipment and computer storage medium pushing SDK | |
CN110471740A (en) | Execute method, apparatus, equipment and the computer storage medium of machine learning task | |
US11068185B2 (en) | Electronic device and tethering method thereof | |
CN109684103A (en) | A kind of interface call method, device, server and storage medium | |
CN109284108A (en) | Date storage method, device, electronic equipment and storage medium | |
CN108399128A (en) | A kind of generation method of user data, device, server and storage medium | |
CN109144586A (en) | A kind of driving adaptation method, device, computer equipment and storage medium | |
CN109347899A (en) | The method of daily record data is written in distributed memory system | |
US11204735B2 (en) | Receiving audio from a listening device associated with a selected geographic area | |
CN110489210A (en) | Create method, apparatus, equipment and the computer storage medium of virtual machine | |
CN109446433A (en) | A kind of interest point failure method of calibration, device, server and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190111 |
|
RJ01 | Rejection of invention patent application after publication |