CN109769022A - Server distribution method, device, equipment and storage medium - Google Patents
Server distribution method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN109769022A CN109769022A CN201910039467.XA CN201910039467A CN109769022A CN 109769022 A CN109769022 A CN 109769022A CN 201910039467 A CN201910039467 A CN 201910039467A CN 109769022 A CN109769022 A CN 109769022A
- Authority
- CN
- China
- Prior art keywords
- image file
- service device
- rental service
- rental
- server
- 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
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Server distribution method, device, equipment and storage medium provided by the invention, belong to field of cloud calculation.This method comprises: being determined from the Servers-all for receiving pipe by cloud platform with the rental instructions match when receiving Client-initiated rental instruction to rental service device;Determine described whether match with default image file to the image file in rental service device;If it is not, determine that the use state to rental service device is to have used, is redefined out from other described servers in addition to the device to rental service and rent the new to rental service device of instructions match with described.So as to effectively avoid being rented to rental service device to the user for initiating to rent instruction by what is used privately under line, and then it avoids the problem that causing due to that will rent to rental service device to the user for initiating rental instruction to the loss of data in rental service device, and then effectively increase the safety of the data in the server used privately under line.
Description
Technical field
The present invention relates to field of cloud calculation, in particular to server distribution method, device, equipment and storage medium.
Background technique
Receiving the server in pipe for cloud platform at present can directly ask according to the rental of user when user rents
Ask the corresponding server of matching that can be formatted first to server after being matched to server, it then just can be to server
It is configured according to the demand of user.However for cloud platform receive pipe server under line privately after use, by then passing through
It is used privately under line, cloud platform does not have relative recording, and the use state of server can not be judged by turn resulting in cloud platform, and then be led
Cause has opened the server having been used under line when applying for server, leads to the number in the server having been used under line
Serious loss is brought according to loss, and then to user.
Summary of the invention
In view of this, server distribution method, device, equipment and storage medium provided in an embodiment of the present invention.
In a first aspect, a kind of server distribution method provided in an embodiment of the present invention, comprising: when receiving Client-initiated
When renting instruction, determined from the Servers-all for receiving pipe by cloud platform with the rental instructions match to rental service
Device;Determine described whether match with default image file to the image file in rental service device;If it is not, determining described wait rent
The use state of server is to have used, and is redefined out from other described servers in addition to the device to rental service
The new to rental service device of instructions match is rented with described.
In the present invention is implemented, by when receiving Client-initiated and renting instruction, all of pipe are received from by cloud platform
It is determined in server with the rental instructions match to rental service device;Determine the mirror image text in rental service device
Whether part matches with default image file;If it is not, determining that the use state to rental service device is to have used, thus
It is redefined out and the rental instructions match from other described servers in addition to the device to rental service when use
It is new to rental service device.So as to effectively avoid being rented to rental service device to hair by what is used privately under line
The user for renting instruction is acted, and then avoids causing due to will rent to rental service device to the user for initiating rental instruction wait rent
The problem of with loss of data in server, and then effectively increase the safety of the data in the server used privately under line
Property, and then convenient for efficiently managing the unification of server, and by judging making for Servers-all that cloud platform is received under pipe
With state, flexibility, integrality, tightness and the utilization rate of server can effectively improve.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, described true
It is fixed described whether match with default image file to the image file in rental service device, comprising: to rental service described in acquisition
The identification information of image file in device;It is determined according to the identification information described to the image file in rental service device
Whether matched with default image file.
In the present embodiment, by acquiring the identification information to the image file in rental service device;Further according to institute
State identification information determine it is described whether matched with default image file to the image file in rental service device, thus quickly
Whether determination is currently preparatory image file to the image file in rental service device.
The possible embodiment of with reference to first aspect the first, the embodiment of the invention provides second of first aspect
Possible embodiment, it is described according to the identification information determine it is described to the image file in rental service device whether with
Default image file matching, comprising: determine whether the identification information matches with the identity information of default image file;If so,
Determine that the image file corresponding to the identification information is matched with the default image file.
In the present embodiment, whether matched with the identity information of default image file by the determination identification information;?
When identification information is matched with the identity information of default image file, determine the image file corresponding to the identification information with
The default image file matching.It whether is currently preparatory mirror image text to the image file in rental service device to quickly determine
Part.
With reference to first aspect, the embodiment of the invention provides the third possible embodiment of first aspect, from quilt
Cloud platform receive pipe Servers-all in determine with it is described rent instructions match to rental service device before, further includes: will
Default image file be configured at cloud platform receive pipe Servers-all in.
In embodiments of the present invention, the Servers-all of pipe is received by the way that default image file is configured at cloud platform in advance
In, consequently facilitating the later period judges whether the server is in idle or accounts for by the default image file in identification server
With.
The third possible embodiment with reference to first aspect, the embodiment of the invention provides the 4th kind of first aspect
Possible embodiment, it is described by default image file be configured at cloud platform receive pipe Servers-all in, comprising: work as cloud platform
Receive server described in pipe when, by default image file be configured at the cloud platform receive pipe Servers-all in.
In embodiments of the present invention, when cloud platform receives server described in pipe, default image file is configured at cloud platform
It receives in the Servers-all of pipe, consequently facilitating the later period is to judge the server by the default image file in identification server
It is no to be in idle or occupy.
With reference to first aspect, the embodiment of the invention provides the 5th kind of possible embodiment of first aspect, it is described from
Received by cloud platform pipe Servers-all in determine with it is described rent instructions match to rental service device, comprising: obtain institute
It states and rents the entrained configuration information of instruction, the configuration information includes network interface card information, disc information, CPU information and memory letter
Breath;It is determined from all servers for receiving pipe by the cloud platform matched to rental service with the configuration information
Device.
In embodiments of the present invention, entrained configuration information is instructed by obtaining described rent;From by the cloud platform
Receive pipe all servers in determine it is matched to rental service device with the configuration information, so that matching be rapidly completed
User rent to rental service device, and then shorten match time, accelerate treatment effeciency.
Second aspect, a kind of server distributor provided in an embodiment of the present invention, comprising: first processing units are used for
When receiving Client-initiated rental instruction, is determined from the Servers-all for receiving pipe by cloud platform and the rental instructs
It is matched to rental service device;Acquisition unit, for determining the identification information to the image file in rental service device;The
Two processing units, for according to the identification information determine it is described to the image file in rental service device whether with it is default
Image file matching;Allocation unit, for if it is not, determining that the use state to rental service device is to have used.
In conjunction with second aspect, the embodiment of the invention provides the first possible embodiments of second aspect, first
Before processing unit, further includes: pretreatment unit receives the Servers-all of pipe for default image file to be configured at cloud platform
In.
In conjunction with second aspect, the embodiment of the invention provides second of possible embodiment of second aspect, described
Two processing units are also used to: determining whether the identification information matches with the identity information of default image file;If so, determining institute
The image file corresponding to identification information is stated to match with the default image file.
In conjunction with second aspect, the embodiment of the invention provides the third possible embodiment of second aspect, the dresses
It sets further include: fourth processing unit, if having been used for described to rental service device, from addition to the device to rental service
It is redefined out in other described servers and rents the new to rental service device of instructions match with described.
In conjunction with second aspect, the embodiment of the invention provides the 4th kind of possible embodiment of second aspect, described
One processing unit is also used to: being obtained described rent and is instructed entrained configuration information, the configuration information includes network interface card information, magnetic
Disk information, CPU information and memory information;It is determined from all servers for receiving pipe by the cloud platform and the configuration
Information matches to rental service device.
The third aspect, a kind of terminal device provided in an embodiment of the present invention, comprising: memory, processor and be stored in
In the memory and the computer program that can run on the processor, when the processor executes the computer program
It realizes as described in any one of first aspect the step of server distribution method.
Fourth aspect, a kind of storage medium provided in an embodiment of the present invention, the storage medium for storing instruction, work as institute
Instruction is stated when running on computers, so that the computer executes such as the described in any item server distribution sides of first aspect
Method.
Other feature and advantage of the disclosure will illustrate in the following description, alternatively, Partial Feature and advantage can be with
Deduce from specification or unambiguously determine, or by implement the disclosure above-mentioned technology it can be learnt that.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the flow chart for the server distribution method that first embodiment of the invention provides;
Fig. 2 is the functional block diagram for the server distributor that second embodiment of the invention provides;
Fig. 3 is a kind of schematic diagram for terminal device that third embodiment of the invention provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical solution in the embodiment of the present invention is described.
With reference to the accompanying drawing, it elaborates to some embodiments of the present invention.In the absence of conflict, following
Feature in embodiment and embodiment can be combined with each other.
First embodiment
Since existing cloud platform receives the server in pipe when user rents, cloud platform can be directly according to user
Lease request matches corresponding server and can be formatted first to server, after being matched to server so as to cause quilt
Loss of data in the server of private, in order to improve the safety of data, the present embodiment provides firstly a kind of server point
Method of completing the square, it should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions
It is executed in computer system, although also, logical order is shown in flow charts, and it in some cases, can be with not
The sequence being same as herein executes shown or described step.It describes in detail below to the present embodiment.
Referring to Fig. 1, being the flow chart of server distribution method provided in an embodiment of the present invention.It below will be to shown in Fig. 1
Detailed process be described in detail.
Step S101, when receive Client-initiated rent instruction when, from received by cloud platform pipe Servers-all in really
It makes with the rental instructions match to rental service device.
Optionally, renting instruction is that user is sent based on network (such as mobile network either wireless network etc.).It rents
The configuration information of server to be rented is carried with instruction, configuration information includes the hardware information of server, it may for example comprise net
Card information, disc information, CPU information and memory information.
Wherein, server (Bare Metal Server) is physical host, such as bare metal server.
As a kind of implement scene, user inputs the configuration information for needing the server rented on webpage, thus defeated
The configuration information after input is sent to cloud platform by network after the completion of entering.Certainly, user is when inputting configuration information, can be with
It is such as to be selected by drop-down list by directly being selected on webpage.
For example, when user is when inputting CPU information, the CPU that drop-down list selects different model can be passed through.In turn
Configuration information is rapidly completed in realization, saves user time, and improve user to rent and the matched service of configuration information
The probability of device.
As an implementation, step S101 includes: to obtain the rent when receiving Client-initiated rental instruction
With the entrained configuration information of instruction, the configuration information includes network interface card information, disc information, CPU information and memory information;From
Received by the cloud platform pipe all servers in determine it is matched to rental service device with the configuration information.
Optionally, it is determined from all servers for receiving pipe by the cloud platform matched with the configuration information
To rental service device, comprising: respectively carry out preset configuration information corresponding to multiple servers and the configuration information
It compares, if preset configuration information is identical as the configuration information, is determined as preset configuration letter identical with the configuration information
The corresponding server of breath is to rental service device.
As an example it is assumed that the network interface card information in configuration information is Intel's network interface card, disc information 1024GB, CPU letter
Breath is Intel and memory information is 6G, then is selected from preset configuration information corresponding to multiple servers respectively same
When to meet network interface card information be Intel's network interface card, disc information 1024GB, the clothes that CPU information is Intel and memory information is 6G
It is engaged in device (i.e. to rental service device).
Optionally, preset configuration information corresponding to server, which can be, is stored in advance in cloud platform.
Certainly, in actual use, it is also possible to acquire preset configuration information corresponding to each server in real time.Example
Such as, it is linked to by IPMI (Intelligent Platform Management Interface, Intelligent Platform Management Interface)
Server internal, and then get preset configuration information (hardware information) corresponding to the server.For example, cloud platform is receiving
To user rental instruction when automatically enter IPMI user name, IPMI password and the address IPMI, to be linked to by IPMI interface
Server internal, and then get preset configuration information corresponding to the server.
In embodiments of the present invention, entrained configuration information is instructed by obtaining described rent;From by the cloud platform
Receive pipe all servers in determine it is matched to rental service device with the configuration information, so that matching be rapidly completed
User rent to rental service device, and then shorten match time, accelerate treatment effeciency.
In a possible embodiment, before step S101, server distribution method provided in an embodiment of the present invention is also
Include: by default image file be configured at cloud platform receive pipe Servers-all in.
Optionally, image file is preset to edit in advance.Whether default image file is in for identification server
Idle or occupancy (in use).Such as when the default image file in server is destroyed, that is, characterizes the server and be in occupancy.
If characterizing the server when the default image file in server is not destroyed and being in idle.
Optionally, default image file is stored in advance in storage medium, for example, be stored in the database of cloud platform,
It is also possible to storage beyond the clouds.Here, being not especially limited.
As a kind of implement scene, when server is received pipe to cloud platform by user (i.e. when cloud platform receives service described in pipe
When device), by default image file be configured at cloud platform receive pipe Servers-all in.
Wherein, pipe of receiving, which refers to, is added to server in cloud platform, to be managed by cloud platform.
In embodiments of the present invention, the Servers-all of pipe is received by the way that default image file is configured at cloud platform in advance
In, consequently facilitating the later period judges whether the server is in idle or accounts for by the default image file in identification server
With.
Optionally, disposably default image file can be configured at and is newly brought into the Servers-all of cloud platform.
As another implement scene, when user initiate for rented server of throwing a lease throw a lease instruct when, will be pre-
If image file is configured in the server.
Optionally, when user initiate for rented server of throwing a lease throw a lease instruct when, by the server format
Change, default image file is configured in the server of formatting.
Step S102 determines described whether match with default image file to the image file in rental service device.
As an implementation, step S102, comprising: the acquisition mark to the image file in rental service device
Information;According to the identification information determine it is described to the image file in rental service device whether with default image file
Match.
Optionally, image file is pre-installed in each server.(wherein, the turn up service when server is used
Formatting server is needed when device, and then configures corresponding mirror image, network etc. for server.), and image file will necessarily at this time
It is destroyed (for example, image file is replaced).
Optionally, the identification information of image file can be filename, be also possible to for unique identification image file
A certain preset character string.
Optionally, image file be not recorded in openstack bottom glance (in mirroring service, it is impossible to be used in
The image file of any service.
Wherein, OpenStack is one concurrent by NASA (US National Aeronautics and Space Administration) and Rackspace R & D Cooperation
It rises, with the free software and open source code project of Apache licensing authorization.
Wherein, Glance is the mirroring service management assembly of Openstack.
Certainly, in actual use, which can be used for providing infrastructure service, for example, network service, such as supplies
The service of equipment connection network.
In embodiments of the present invention, all mirror images can be searched in rental service device according to the suffix name of image file
File, to obtain the identification information of each image file.
Optionally, in general, the entitled .iso .bin of the suffix of image file .nrg .vcd .cif .fcd,
.img .ccd .c2d .dfi .tao .dao or .cue etc..
As an example it is assumed that the entitled .iso of the suffix of pre-stored image file, searches for lattice in rental service device
Formula is the All Files of .iso, it is assumed that the file that format is .iso is J1, to obtain the identification information of J1 again.For example, can be with
The identification information of J1 is obtained by JS (JavaScript, java script language).
Optionally, according to the identification information determine it is described to the image file in rental service device whether with it is default
Image file matching, comprising: determine whether the identification information matches with the identity information of default image file;If so, determining
The image file corresponding to the identification information is matched with the default image file.If the identification information and default mirror
As the identity information mismatch of file, then the image file corresponding to the identification information and the default mirror image text are characterized
Part mismatches.
Optionally, it when identification information is identical as the identity information of default image file, that is, characterizes identification information and presets
The identity information of image file matches.
Optionally, identity information is for uniquely characterizing default image file.
Optionally, identity information can be the filename of default image file, be also possible to for unique identification mirror image text
The a certain preset character string of part.
As an example it is assumed that the identification information to the image file in rental service device is A, the body of image file is preset
Part information is also A, then determines that the identification information is matched with identity information, that is, characterizes this and wait for image file in rental service device i.e.
It, i.e., should currently without being used, (not used on line either makes under line to rental service device to preset image file
With).
In the present embodiment, whether matched with the identity information of default image file by the determination identification information;?
When identification information is matched with the identity information of default image file, determine the image file corresponding to the identification information with
The default image file matching.It whether is currently preparatory mirror image text to the image file in rental service device to quickly determine
Part.
In a possible embodiment, after step s 102, server distribution method provided by the embodiment of the present invention,
If further include: the image file is matched with default image file, determines that the use state to rental service device is not make
With;Described rent to rental service device is initiated into the corresponding user of the rental instruction.
Wherein, due to will when rental service device rent initiate it is described rent instruction corresponding user when, it is necessary to first open
Lead to rental service device, is opening when rental service device, needing to treat rental service device and be formatted.
In embodiments of the present invention, by when the image file is matched with default image file, i.e., described wait rent
The use state of server is to be not used in situation, will rent to rental service device and initiate the corresponding use of the rental instruction
Family, so as to effectively avoid being rented to rental service device to the use for initiating to rent instruction by what is used privately under line
Family, and then avoid causing due to that will rent to rental service device to the user for initiating rental instruction to the number in rental service device
The problem of according to losing, and then effectively increase the safety of the data in the server used privately under line, so convenient for pair
The unification of server efficiently manages, and receives the use state of the Servers-all under pipe by judging cloud platform, Ke Yiyou
Effect improves flexibility, integrality, tightness and the utilization rate of server.
Step S103, if it is not, determine that the use state to rental service device is to have used, it is described wait rent clothes from removing
It is redefined out in other described servers other than business device and rents the new to rental service device of instructions match with described.
When the image file and default image file mismatch, determine that the use state to rental service device is
It has used.I.e. when the image file and default image file mismatch, characterization should be to rental service device by private under line
From using.
In embodiments of the present invention, if described used to rental service device, it will not be rented to rental service device and initiate institute
It states and rents the corresponding user of instruction, but redefined from other described servers in addition to the device to rental service
The new to rental service device of instructions match is rented with described out.So as to effectively avoid being used privately under line
The user for renting instruction to initiation is rented to rental service device, and then avoids renting due to that will rent to rental service device to initiation
The user of instruction and the problem of cause to loss of data in rental service device, and then effectively increase and used privately under line
The safety of data in server, and then be convenient for efficiently managing the unification of server, and by judging that cloud platform is received
The use state of Servers-all under pipe, can effectively improve flexibility, integrality, tightness and the utilization rate of server.
Server distribution method provided by the embodiment of the present invention, by when receive Client-initiated rent instruction when,
It is determined from the Servers-all for receiving pipe by cloud platform with the rental instructions match to rental service device;Determine it is described to
The identification information of image file in rental service device;According to the identification information determine described in described in rental service device
Whether image file matches with default image file;If it is not, determining that the use state to rental service device is to have used.From
And it is possible to prevente effectively from will be rented to rental service device to the user for initiating to rent instruction by what is used privately under line, in turn
It avoids causing due to that will rent to rental service device to the user for initiating rental instruction to the loss of data in rental service device
The problem of, and then the safety of the data in the server used privately under line is effectively increased, and then convenient for server
Unification efficiently manage, and receive the use state of the Servers-all under pipe by judging cloud platform, can effectively improve
Flexibility, integrality, tightness and the utilization rate of server.
Second embodiment
Corresponding to the server distribution method in first embodiment, Fig. 2 shows service using shown in first embodiment
The one-to-one server distributor of device distribution method.As shown in Fig. 2, the server distributor 400 includes at first
Manage unit 410, acquisition unit 420 and allocation unit 430.Wherein, first processing units 410, acquisition unit 420 and allocation unit
430 realization function is gathered with step corresponding in first embodiment to be corresponded, and to avoid repeating, the present embodiment is not described in detail one by one.
First processing units 410 receive all of pipe from by cloud platform for when receiving Client-initiated and renting instruction
It is determined in server with the rental instructions match to rental service device.
In a possible embodiment, before the first processing units 410, server distributor 400 further include:
Pretreatment unit, for by default image file be configured at cloud platform receive pipe Servers-all in.
Optionally, the first processing units 410 are also used to: being obtained described rent and instructed entrained configuration information, institute
Stating configuration information includes network interface card information, disc information, CPU information and memory information;All institutes of pipe are received from by the cloud platform
State determined in server it is matched to rental service device with the configuration information.
Acquisition unit 420, for determining the identification information to the image file in rental service device.
Optionally, acquisition unit 420 is also used to: the acquisition identification information to the image file in rental service device;
Determine described whether match with default image file to the image file in rental service device according to the identification information.
Optionally, it is described according to the identification information determine it is described to the image file in rental service device whether with
Default image file matching, comprising: determine whether the identification information matches with the identity information of default image file;If so,
Determine that the image file corresponding to the identification information is matched with the default image file.
Allocation unit 430, for if it is not, determining that the use state to rental service device is to have used.
In a possible embodiment, server distributor 400 further include: the second processing unit, if for it is described to
Rental service device has used, and redefines out and the rent from other described servers in addition to the device to rental service
It is new to rental service device with instructions match.
3rd embodiment
As shown in figure 3, being the schematic diagram of terminal device 500.The terminal device 500 includes memory 502, processor
504 and it is stored in the computer program 503 that can be run in the memory 502 and on the processor 504, the calculating
The server distribution method in first embodiment is realized when machine program 503 is executed by processor 504, to avoid repeating, this
Place repeats no more.Alternatively, realizing server described in second embodiment point when the computer program 503 is executed by processor 504
Function with module/unit each in device, to avoid repeating, details are not described herein again.
Illustratively, computer program 503 can be divided into one or more module/units, one or more mould
Block/unit is stored in memory 502, and is executed by processor 504, to complete the present invention.One or more module/units
It can be the series of computation machine program instruction section that can complete specific function, the instruction segment is for describing computer program 503
Implementation procedure in terminal device 500.For example, computer program 503 can be divided at first in second embodiment
Manage unit 410, acquisition unit 420 and allocation unit 430, the concrete function of each module such as the first embodiment or the second embodiment institute
It states, will not repeat them here.
Optionally, terminal device 500 can be cloud server.
Wherein, memory 502 may be, but not limited to, random access memory (Random Access Memory,
RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only
Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM),
Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..
Wherein, memory 502 is for storing program, and the processor 504 executes described program after receiving and executing instruction, aforementioned
The method for the flow definition that any embodiment of the embodiment of the present invention discloses can be applied in processor 504, or by processor
504 realize.
Processor 504 may be a kind of IC chip, the processing capacity with signal.Above-mentioned processor 504 can
To be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network
Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processor, DSP), dedicated integrated
Circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..
It is understood that structure shown in Fig. 3 is only a kind of structural schematic diagram of terminal device 500, terminal device 500
It can also include than more or fewer components shown in Fig. 3.Each component shown in Fig. 3 can use hardware, software or its group
It closes and realizes.
Fourth embodiment
The embodiment of the present invention also provides a kind of storage medium, and instruction is stored on the storage medium, when described instruction exists
The server distribution side in first embodiment is realized when running on computer, when the computer program is executed by processor
Method, to avoid repeating, details are not described herein again.Alternatively, realizing second embodiment institute when the computer program is executed by processor
The function of each module/unit in server distributor is stated, to avoid repeating, details are not described herein again.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can lead to
Hardware realization is crossed, the mode of necessary general hardware platform can also be added to realize by software, based on this understanding, this hair
Bright technical solution can be embodied in the form of software products, which can store in a non-volatile memories
In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.), including some instructions are used so that a computer equipment (can be
Personal computer, server or network equipment etc.) method that executes each implement scene of the present invention.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should also be noted that similar label and letter exist
Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing
It is further defined and explained.
Claims (10)
1. a kind of server distribution method characterized by comprising
When receiving Client-initiated rental instruction, determined from the Servers-all for receiving pipe by cloud platform and the rental
Instructions match to rental service device;
Determine described whether match with default image file to the image file in rental service device;
If it is not, determining that the use state to rental service device is to have used, from its in addition to the device to rental service
It is redefined out in his server and rents the new to rental service device of instructions match with described.
2. the method according to claim 1, wherein to the image file in rental service device described in the determination
Whether matched with default image file, comprising:
The acquisition identification information to the image file in rental service device;
According to the identification information determine it is described to the image file in rental service device whether with default image file
Match.
3. according to the method described in claim 2, it is characterized in that, described determining described wait rent clothes according to the identification information
Whether the image file in business device matches with default image file, comprising:
Determine whether the identification information matches with the identity information of default image file;
It is matched if so, characterizing the image file corresponding to the identification information with the default image file.
4. the method according to claim 1, wherein being determined from the Servers-all for receiving pipe by cloud platform
With it is described rent instructions match to rental service device before, further includes:
By default image file be configured at cloud platform receive pipe Servers-all in.
5. according to the method described in claim 4, it is characterized in that, described be configured at cloud platform for default image file and receive pipe
In Servers-all, comprising:
When cloud platform receives server described in pipe, default image file is configured at the cloud platform and receives the Servers-all of pipe
In.
6. the method according to claim 1, wherein described determine from the Servers-all for being received pipe by cloud platform
Out with the rental instructions match to rental service device, comprising:
It obtains described rent and instructs entrained configuration information, the configuration information includes network interface card information, disc information, CPU letter
Breath and memory information;
It is determined from all servers for receiving pipe by the cloud platform matched to rental service with the configuration information
Device.
7. a kind of server distributor characterized by comprising
First processing units receive the Servers-all of pipe from by cloud platform for when receiving Client-initiated and renting instruction
In determine with it is described rent instructions match to rental service device;
Whether acquisition unit described matches with default image file for determining to the image file in rental service device;
Allocation unit, for if it is not, the judgement use state to rental service device takes from except described wait rent to have used
It is redefined out in other described servers other than business device and rents the new to rental service device of instructions match with described.
8. device according to claim 7, which is characterized in that the acquisition unit is also used to:
The acquisition identification information to the image file in rental service device;
According to the identification information determine it is described to the image file in rental service device whether with default image file
Match.
9. a kind of terminal device characterized by comprising memory, processor and storage are in the memory and can be
The computer program run on the processor, the processor realize such as claim 1 to 6 when executing the computer program
The step of described in any item server distribution methods.
10. a kind of storage medium, which is characterized in that the storage medium for storing instruction, when described instruction on computers
When operation, so that the computer executes such as server distribution method as claimed in any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910039467.XA CN109769022A (en) | 2019-01-15 | 2019-01-15 | Server distribution method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910039467.XA CN109769022A (en) | 2019-01-15 | 2019-01-15 | Server distribution method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109769022A true CN109769022A (en) | 2019-05-17 |
Family
ID=66454097
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910039467.XA Pending CN109769022A (en) | 2019-01-15 | 2019-01-15 | Server distribution method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109769022A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110764911A (en) * | 2019-10-23 | 2020-02-07 | 北京百度网讯科技有限公司 | Resource scheduling method, device and control system based on order |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103401940A (en) * | 2013-08-12 | 2013-11-20 | 无锡华云数据技术服务有限公司 | Automatic deploy method for cloud computing application software |
CN107547250A (en) * | 2017-06-26 | 2018-01-05 | 新华三云计算技术有限公司 | The method and apparatus that database is disposed in cloud computing management platform |
CN108057241A (en) * | 2017-12-12 | 2018-05-22 | 苏州蜗牛数字科技股份有限公司 | A kind of sports type game server system and its exchange method |
CN108199882A (en) * | 2017-12-29 | 2018-06-22 | 东软集团股份有限公司 | Nodes-distributing method, device, storage medium and the equipment of distributed data base |
CN108334403A (en) * | 2017-01-20 | 2018-07-27 | 阿里巴巴集团控股有限公司 | Resource regulating method and equipment |
-
2019
- 2019-01-15 CN CN201910039467.XA patent/CN109769022A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103401940A (en) * | 2013-08-12 | 2013-11-20 | 无锡华云数据技术服务有限公司 | Automatic deploy method for cloud computing application software |
CN108334403A (en) * | 2017-01-20 | 2018-07-27 | 阿里巴巴集团控股有限公司 | Resource regulating method and equipment |
CN107547250A (en) * | 2017-06-26 | 2018-01-05 | 新华三云计算技术有限公司 | The method and apparatus that database is disposed in cloud computing management platform |
CN108057241A (en) * | 2017-12-12 | 2018-05-22 | 苏州蜗牛数字科技股份有限公司 | A kind of sports type game server system and its exchange method |
CN108199882A (en) * | 2017-12-29 | 2018-06-22 | 东软集团股份有限公司 | Nodes-distributing method, device, storage medium and the equipment of distributed data base |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110764911A (en) * | 2019-10-23 | 2020-02-07 | 北京百度网讯科技有限公司 | Resource scheduling method, device and control system based on order |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108549580B (en) | Method for automatically deploying Kubernets slave nodes and terminal equipment | |
CN109409043B (en) | Login method of application system, terminal equipment and medium | |
JP6595625B2 (en) | Automatic recharge system, method and server | |
CN104461693B (en) | Virtual machine update method and system under a kind of desktop cloud computing environment | |
CN105656646A (en) | Deploying method and device for virtual network element | |
US10284561B2 (en) | Method and server for providing image captcha | |
CN110830234B (en) | User traffic distribution method and device | |
CN107566518B (en) | Method and device for managing equipment information in file installation process | |
CN1760882A (en) | System and method for remote security enablement | |
CN109359206A (en) | Image processing method and system based on Internet of Things campus administration | |
CN108683633A (en) | access control method and device | |
JP2001356938A (en) | Computer identifying device | |
CN112905437A (en) | Method and device for testing case and storage medium | |
CN114362983A (en) | Firewall policy management method and device, computer equipment and storage medium | |
CN109635532A (en) | A kind of picture pick-up device and its binding method | |
CN109769022A (en) | Server distribution method, device, equipment and storage medium | |
CN111651408A (en) | Method, device, terminal and storage medium for acquiring data | |
CN113285843B (en) | Container network configuration method and device, computer readable medium and electronic equipment | |
CN112260934B (en) | Resource interaction method and system based on education cloud platform | |
CN107357649B (en) | Method and device for determining system resource deployment strategy and electronic equipment | |
CN109711193B (en) | Storage space sharing method and device | |
CN113760499A (en) | Method, device, computing equipment and medium for scheduling computing unit | |
CN110942537B (en) | Intelligent door lock unlocking system, method, device and medium | |
US20120216277A1 (en) | User profile and usage pattern based user identification prediction | |
CN116954825A (en) | User management method, device, electronic equipment, storage medium and program product |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190517 |