CN109144529A - Brush method, apparatus, equipment and readable storage medium storing program for executing under operating system template - Google Patents
Brush method, apparatus, equipment and readable storage medium storing program for executing under operating system template Download PDFInfo
- Publication number
- CN109144529A CN109144529A CN201810872147.8A CN201810872147A CN109144529A CN 109144529 A CN109144529 A CN 109144529A CN 201810872147 A CN201810872147 A CN 201810872147A CN 109144529 A CN109144529 A CN 109144529A
- Authority
- CN
- China
- Prior art keywords
- template
- target
- storage cluster
- target template
- cluster
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of brush methods under operating system template, method includes the following steps: receiving the request instruction of client server request target template;According to request instruction, the target storage cluster for meeting preset condition is searched in pre-set storage cluster set;It sends brush finger under target template to the target storage cluster to enable, so that target storage cluster is enabled according to brush finger under target template, lower brush target template is to client server.Using technical solution provided by the embodiment of the present invention, the lower brush speed of target template is significantly improved, the success rate brushed under template is improved, has saved Internet resources.The invention also discloses brush device, equipment and storage mediums under a kind of operating system template, have relevant art effect.
Description
Technical field
The present invention relates to field of cloud computer technology, more particularly to brush method, apparatus, equipment under a kind of operating system template
And computer readable storage medium.
Background technique
User downloads corresponding behaviour when needing the operating system to the server custom personalization of oneself from template machine
Make the template of system, client server and template machine may not be in the same areas, in this case, and client server needs
Download online corresponding operation system template, when the client server for downloading the operating system simultaneously is more, it is likely that can make
At task time-out, the phenomenon that failed download, and speed of download is slow, needs to occupy more Internet resources.
In conclusion how to efficiently solve download the operating system client server it is more when, task time-out, downloading
The problems such as failure, speed of download is slow, occupies more Internet resources, is current those skilled in the art's urgent problem.
Summary of the invention
In order to solve the above technical problems, the invention provides the following technical scheme:
A kind of brush method under operating system template, which comprises
Receive the request instruction of client server request target template;
According to the request instruction, the target storage for meeting preset condition is searched in pre-set storage cluster set
Cluster;
It sends brush finger under target template to the target storage cluster to enable, so that the target storage cluster is according to the mesh
It marks brush finger under template to enable, the lower brush target template gives the client server.
In a kind of specific embodiment of the invention, the synchronizing process of target template to target storage cluster includes:
Target template is synchronized to lower layer's storage cluster from upper layer storage cluster;Wherein, the upper layer storage cluster is made a living
At the corresponding storage cluster of top service device of the target template, lower layer's storage cluster includes the target storage collection
Group.
It is described target template is synchronized to lower layer from upper layer storage cluster to deposit in a kind of specific embodiment of the invention
Accumulation, comprising:
The target template is exported into the fixed calculate node in upper layer from the upper layer storage cluster;Wherein, the upper layer
Fixed calculate node is preset fixed calculate node in the corresponding upper layer calculate node cluster of the top service device;
The target template is uploaded into preset upper former server by the fixed calculate node in the upper layer;
The target template is synchronized in the template server cluster by the upper former server;
The target template is downloaded from corresponding lower template server using the fixed calculate node of each lower layer;Its
In, the fixed calculate node of the lower layer is preset fixation in the corresponding lower layer's calculate node cluster of each lower template server
Calculate node;
The target template is uploaded to by the lower layer fixed calculate node in each lower layer's calculate node cluster
Corresponding lower layer's storage cluster.
In a kind of specific embodiment of the invention, solid by the lower layer in each lower layer's calculate node cluster
Devise a stratagem operator node uploads to the target template after corresponding lower layer's storage cluster, further includes:
The target template except upper layer storage cluster and each lower layer's storage cluster is deleted.
In a kind of specific embodiment of the invention, further includes:
Obtain the md5 value of the target template;
Judge whether the md5 value is equal with the md5 value precalculated;
If it is not, then exporting the information of the target template synchronization failure.
In a kind of specific embodiment of the invention, is searched in pre-set storage cluster set and meet default item
The target storage cluster of part, comprising:
It searches in pre-set storage cluster set and is stored with the nearest target of the client server network link
Cluster.
Brush device under a kind of operating system template, described device include:
Command reception module, for receiving the request instruction of client server request target template;
Cluster determining module, for searching and meeting in pre-set storage cluster set according to the request instruction
The target storage cluster of preset condition;
Instruction sending module is enabled for sending brush finger under target template to the target storage cluster, so that the target
Storage cluster is enabled according to brush finger under the target template, and the lower brush target template gives the client server.
In a kind of specific embodiment of the invention, including template synchronous module, for target template to be deposited from upper layer
Accumulation is synchronized to lower layer's storage cluster;Wherein, the upper layer storage cluster is the top service device for generating the target template
Corresponding storage cluster, lower layer's storage cluster include the target storage cluster.
Brush equipment under a kind of operating system template, comprising:
Memory, for storing computer program;
Processor realizes the step of brush method under operating system template as previously described when for executing the computer program
Suddenly.
A kind of computer readable storage medium is stored with computer program on the computer readable storage medium, described
The step of brush method under operating system template as previously described is realized when computer program is executed by processor.
Using method provided by the embodiment of the present invention, the request instruction of client server request target template is received;Root
According to request instruction, the target storage cluster for meeting preset condition is searched in pre-set storage cluster set;It is deposited to target
Brush finger under pocket transmission target template is preserved to enable, so that target storage cluster is enabled according to brush finger under target template, lower brush target template
To client server.By presetting multiple storage clusters for being stored with target template, when client server needs to download mesh
When marking template, lower brush target template, significantly improves target template directly from the target storage cluster for meet preset condition
Lower brush speed, improve the success rate brushed under template, saved Internet resources.
Correspondingly, the embodiment of the invention also provides device corresponding with brush method under aforesaid operations system template, setting
Standby and computer readable storage medium, has above-mentioned technique effect, and details are not described herein.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of implementation flow chart of brush method under operating system template in the embodiment of the present invention;
Fig. 2 is another implementation flow chart of brush method under operating system template in the embodiment of the present invention;
The method implementing procedure of synchronizing process of the Fig. 3 for target template a kind of in the embodiment of the present invention to target storage cluster
Figure;
Fig. 4 is a kind of reality that target template is synchronized to lower layer's storage cluster from upper layer storage cluster in the embodiment of the present invention
Apply flow chart;
Fig. 5 is a kind of structural block diagram of brush device under operating system template in the embodiment of the present invention;
Fig. 6 is a kind of structural block diagram of brush equipment under operating system template in the embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.Obviously, described embodiments are only a part of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Embodiment one:
Referring to Fig. 1, Fig. 1 is a kind of implementation flow chart of brush method under operating system template in the embodiment of the present invention, the party
Method may comprise steps of:
S101: the request instruction of client server request target template is received.
When user needs to customize the target template for being directed to operating system, the user for needing to customize target template can use
Server sends the request instruction of request target template to mster-control centre, and mster-control centre receives asking for client server transmission
Ask instruction.
Target template can be any one operating system template that user needs to customize, as equipped with protection capacity of safety protection software
Operating system template.
S102: according to request instruction, the target that lookup meets preset condition in pre-set storage cluster set is deposited
Accumulation.
The storage cluster set for being stored with target template can be pre-established, each storage cluster in the storage cluster set
Can be distributed throughout the country area.Mster-control centre receive client server transmission request target template request instruction it
Afterwards, the target storage cluster for meeting preset condition can be searched in pre-set storage cluster set according to request instruction,
Nearby principle can be such as taken, is searched and the nearest storage collection of client server physical link in preset storage cluster set
Group as target storage cluster, or searches in preset storage cluster set nearest with client server network link
Storage cluster, as target storage cluster.In such a case, it is possible to shortest path, most fast speed by target template
Lower brush is to the client server for carrying out template request.
S103: brush finger under target template is sent to target storage cluster and is enabled.
So that target storage cluster is enabled according to brush finger under target template, lower brush target template is to client server.
After finding the target storage cluster for meeting preset condition, target template can be sent to target storage cluster
Lower brush finger enables, and target storage cluster is enabled according to brush finger under the target template received, can search corresponding target computing nodes,
Target template is transferred from target storage cluster by target computing nodes, by brush under target template to client server, thus
Client server can quickly and accurately obtain the target template of needs, and the user experience is improved.
Target computing nodes can be in the corresponding target computing nodes cluster of target storage cluster with user service implements
Manage link or the nearest calculate node of network link.
Using method provided by the embodiment of the present invention, the request instruction of client server request target template is received;Root
According to request instruction, the target storage cluster for meeting preset condition is searched in pre-set storage cluster set;It is deposited to target
Brush finger under pocket transmission target template is preserved to enable, so that target storage cluster is enabled according to brush finger under target template, lower brush target template
To client server.By presetting multiple storage clusters for being stored with target template, when client server needs to download mesh
When marking template, lower brush target template, significantly improves target template directly from the target storage cluster for meet preset condition
Lower brush speed, improve the success rate brushed under template, saved Internet resources.
It should be noted that based on the above embodiment one, the embodiment of the invention also provides be correspondingly improved scheme.Rear
Involved in continuous embodiment with can mutually be referred between same steps or corresponding steps in above-described embodiment one, corresponding beneficial effect
Can also be cross-referenced, it is no longer repeated one by one in improvement embodiment below.
Embodiment two:
S201: the request instruction of client server request target template is received.
S202: it according to request instruction, is searched and client server network link in pre-set storage cluster set
Nearest target storage cluster.
Mster-control centre receives after the request instruction of the request target template of client server transmission, it is contemplated that path
Most short principle can search nearest with client server physical link according to request instruction in pre-set storage cluster
Storage cluster, using the storage cluster as optimal target storage cluster.Transformation task can be limited, prevents single task from distributing
Resource it is less cause task time-out to cause failure, i.e., when using the same target computing nodes in target storage cluster to
Under the server of family when brush target template, if the client server for sending template request is excessive, it can be conducted batch-wise under template and brush, prevent
The phenomenon that only brushing failure under template caused by task time-out.
S203: brush finger under target template is sent to target storage cluster and is enabled.
So that target storage cluster is enabled according to brush finger under target template, lower brush target template is to client server.
Embodiment three:
Referring to Fig. 3, the method for synchronizing process of the Fig. 3 for target template a kind of in the embodiment of the present invention to target storage cluster
Implementation flow chart, this method may comprise steps of:
S301: target template is synchronized to lower layer's storage cluster from upper layer storage cluster.
Wherein, upper layer storage cluster is the corresponding storage cluster of top service device for generating target template, lower layer's storage collection
Group includes target storage cluster.
Top service device generates target template, and top service device is corresponding with upper layer calculate node cluster, and upper layer calculates section
Point cluster is corresponding with upper layer storage cluster.The synchronizing process of target template to target storage cluster can be target template from upper
Layer storage cluster is synchronized to lower layer's storage cluster in advance, and lower layer's storage cluster can be distributed in each region, so as to user service
Device obtains target template nearby, can quickly and accurately obtain the target template of needs, and the user experience is improved, lower layer's storage
Cluster includes target storage cluster.
Example IV:
Referring to fig. 4, target template is synchronized to lower layer's storage from upper layer storage cluster to be a kind of in the embodiment of the present invention by Fig. 4
The implementation flow chart of cluster, this method may comprise steps of:
S401: target template is exported into the fixed calculate node in upper layer from upper layer storage cluster.
Wherein, the fixed calculate node in upper layer is preset fixed meter in the corresponding upper layer calculate node cluster of top service device
Operator node.
A calculate node in the calculate node cluster of upper layer can be preset for fixed calculate node, by target template
From upper layer, storage cluster exports to the fixed calculate node in upper layer.
S402: obtaining the md5 value of target template, and judges whether md5 value is equal with the md5 value precalculated, if so,
Execute step S403;If it is not, then exporting the information of target template synchronization failure.
The md5 value of the target template stored in the storage cluster of upper layer can be precalculated, target template is stored from upper layer to be collected
Group exports to after the fixed calculate node in upper layer, the md5 value of the target template in the fixed calculate node in available upper layer, judgement
Whether the md5 value and the md5 value precalculated are equal, if equal, illustrate that target template is consolidated from upper layer storage cluster to upper layer
Devise a stratagem operator node exports successfully, can continue to execute step S403, if unequal, illustrate target template from upper layer storage cluster
To the fixed calculate node export failure in upper layer, the information of target template synchronization failure can be exported, facilitates operation maintenance personnel right in time
Whether target template, which synchronizes successful information, is checked, such as can notify O&M by way of sending mail to operation maintenance personnel
The failure of personnel targets template synchronous.
S403: target template is uploaded to by preset upper former server by the fixed calculate node in upper layer.
It, can will be on target template after target template exports to the fixed calculate node success in upper layer from upper layer storage cluster
Upper former server is passed to, upper former server is specifically as follows with the fixed calculate node in upper layer in physical link or network
The nearest template server of link.
S404: obtaining the md5 value of target template, and judges whether md5 value is equal with the md5 value precalculated, if so,
Execute step S405;If it is not, then exporting the information of target template synchronization failure.
Target mould after target template is uploaded to upper former server, in available upper former server
The md5 value of plate judges whether md5 value is equal with the md5 value precalculated, if equal, illustrates that target template is fixed from upper layer
Calculate node uploads successfully to upper former server, can continue to execute step S405, otherwise exports the synchronous mistake of target template
The information lost.
S405: target template is synchronized in template server cluster by upper former server.
After target template uploads successfully from the fixed calculate node in upper layer to upper former server, upper layer can be passed through
Template server synchronizes target template in template server cluster, i.e., by the target template in upper former server
It is synchronized to the template server that each region is distributed in template server cluster, to realize template clustering management.
S406: obtaining the md5 value of target template, and judges whether md5 value is equal with the md5 value precalculated, if so,
Execute step S407;If it is not, then exporting the information of target template synchronization failure.
It is available after being synchronized target template in template server cluster by upper former server
The md5 value of target template in template server cluster in other template servers, judge md5 value whether with precalculate
Md5 value is equal, if equal, illustrates target template from upper former server to other templates clothes in template server cluster
Business device synchronizes success, can continue to execute step S407, otherwise exports the information of target template synchronization failure.
S407: target template is downloaded from corresponding lower template server using the fixed calculate node of each lower layer.
Wherein, the fixed calculate node of lower layer is to preset in the corresponding lower layer's calculate node cluster of each lower template server
Fixation calculate node.
Each lower template server has its corresponding lower layer's calculate node cluster, in each lower layer's calculate node cluster
It is preset with the fixed calculate node of corresponding lower layer, it is in upper former server that target template is synchronous in template server cluster
After success, the fixed calculate node of lower layer in the corresponding lower layer's calculate node cluster of each lower template server can use
Target template is downloaded from corresponding lower template server.
S408: obtaining the md5 value of target template, and judges whether md5 value is equal with the md5 value precalculated, if so,
Execute step S409;If it is not, then exporting the information of target template synchronization failure.
Calculate node is fixed from correspondence by lower layer in the corresponding lower layer's calculate node cluster of each lower template server
Lower template server in download target template after the completion of, target template in the fixed calculate node of available each lower layer
Md5 value, and judge whether md5 value is equal with the md5 value precalculated, if equal, illustrate the fixed calculate node of lower layer under
The success of downloading target template, can continue to execute step S409 in layer template server, if it is not, then exporting, target template is synchronous to be lost
The information lost, and a down operation can be re-executed, and only fault-tolerant primary.
S409: target template is uploaded to by correspondence by the fixed calculate node of lower layer in each lower layer's calculate node cluster
Lower layer's storage cluster.
It, can be by under each after the fixed calculate node of lower layer is downloaded target template successfully from lower template server
Target template is uploaded to corresponding lower layer's storage cluster by the fixed calculate node of lower layer in layer calculate node cluster.
S410: obtaining the md5 value of target template, and judges whether md5 value is equal with the md5 value precalculated, if so,
Execute step S411;If it is not, then exporting the information of target template synchronization failure.
Target template is uploaded to corresponding lower layer by the fixed calculate node of lower layer in each lower layer's calculate node cluster
After storage cluster, the md5 value of target template is obtained, and judges whether md5 value is equal with the md5 value precalculated, if equal,
Then illustrate that target template has successfully been uploaded to corresponding lower layer's storage cluster, each lower layer's storage collection by the fixed calculate node of lower layer
Each lower layer's calculate node in the corresponding lower layer's calculate node cluster of group can be obtained from corresponding lower layer's storage cluster
To target template, target is obtained in lower layer's calculate node that client server can be nearest from physical link or nearest network link
Whether template is equal by multiple authentication md5 value and the md5 value precalculated, it is ensured that the consistency of target template data.
S411: the target template except upper layer storage cluster and each lower layer's storage cluster is deleted.
After target template is successfully uploaded to corresponding lower layer's storage cluster by lower layer's fixed calculate node, illustrate each
Each lower layer's calculate node in the corresponding lower layer's calculate node cluster of lower layer's storage cluster can be stored from corresponding lower layer
Target template is got in cluster, when corresponding lower layer calculate node receives target storage cluster in target computing nodes cluster
When brush finger enables under the template of transmission, target template can be directly obtained from target storage cluster, and brush under target template is given
Client server, therefore the target template except upper layer storage cluster and each lower layer's storage cluster can be deleted, wait user
Send the request instruction of request target template.
Corresponding to above method embodiment, the embodiment of the invention also provides brush device under a kind of operating system template,
Brush device method can under brush device and a kind of above-described operating system template under a kind of operating system template described below
Correspond to each other reference.
Referring to Fig. 5, structural block diagram of the Fig. 5 for brush device under operating system template a kind of in the embodiment of the present invention, the device
May include:
Command reception module 51, for receiving the request instruction of client server request target template;
Cluster searching module 52, for according to request instruction, lookup to meet pre- in pre-set storage cluster set
If the target storage cluster of condition;
Instruction sending module 53 is enabled for sending brush finger under target template to target storage cluster, so that target storage collection
Group enables according to brush finger under target template, and lower brush target template is to client server.
Using device provided by the embodiment of the present invention, the request instruction of client server request target template is received;Root
According to request instruction, the target storage cluster for meeting preset condition is searched in pre-set storage cluster set;It is deposited to target
Brush finger under pocket transmission target template is preserved to enable, so that target storage cluster is enabled according to brush finger under target template, lower brush target template
To client server.By presetting multiple storage clusters for being stored with target template, when client server needs to download mesh
When marking template, lower brush target template, significantly improves target template directly from the target storage cluster for meet preset condition
Lower brush speed, improve the success rate brushed under template, saved Internet resources.
In a kind of specific embodiment of the invention, which includes:
Template synchronous module, for target template to be synchronized to lower layer's storage cluster from upper layer storage cluster;Wherein, upper layer
Storage cluster is the corresponding storage cluster of top service device for generating target template, and lower layer's storage cluster includes target storage collection
Group.
In a kind of specific embodiment of the invention, template synchronous module includes:
Template exports submodule, for target template to be exported to the fixed calculate node in upper layer from upper layer storage cluster,
In, the fixed calculate node in upper layer is preset fixed calculate node in the corresponding upper layer calculate node cluster of top service device;
First template uploads submodule, for target template to be uploaded to preset upper layer by the fixed calculate node in upper layer
Template server;
Template synchronous submodule, for being carried out target template in template server cluster by upper former server
It is synchronous;
Template downloads submodule, for fixing calculate node under in corresponding lower template server using each lower layer
Carry target template;Wherein, the fixed calculate node of lower layer is in the corresponding lower layer's calculate node cluster of each lower template server
Preset fixed calculate node;
Second template uploads submodule, will for fixing calculate node by the lower layer in each lower layer's calculate node cluster
Target template uploads to corresponding lower layer's storage cluster.
In a kind of specific embodiment of the invention, the device further include:
Template removing module, for fixing calculate node for target by the lower layer in each lower layer's calculate node cluster
Template uploads to after corresponding lower layer's storage cluster, by the target template except upper layer storage cluster and each lower layer's storage cluster
It deletes.
In a kind of specific embodiment of the invention, the device further include:
Md5 value obtains module, for obtaining the md5 value of target template;
Message output module, for when judging that md5 value and the md5 value precalculated are unequal, output target template to be same
Walk the information of failure.
In a kind of specific embodiment of the invention, cluster searching module 52 is specially in pre-set storage cluster
The module with the nearest target storage cluster of client server physical link is searched in set.
In a kind of specific embodiment of the invention, cluster searching module 52 is specially in pre-set storage cluster
The module with the nearest target storage cluster of client server network link is searched in set.
Corresponding to above method embodiment, referring to Fig. 6, Fig. 6 is the schematic diagram of equipment provided by the present invention, the equipment
May include:
Memory 61, for storing computer program;
Processor 62 can realize following steps when for executing the computer program of the above-mentioned storage of memory 61:
Receive the request instruction of client server request target template;According to request instruction, collect in pre-set storage
Cluster searches the target storage cluster for meeting preset condition in closing;Brush finger under target template is sent to target storage cluster to enable, with
Enable target storage cluster according to brush finger under target template, lower brush target template is to client server.
Above method embodiment is please referred to for the introduction of equipment provided by the invention, this will not be repeated here by the present invention.
It is computer-readable the present invention also provides a kind of computer readable storage medium corresponding to above method embodiment
It is stored with computer program on storage medium, can realize following steps when computer program is executed by processor:
Receive the request instruction of client server request target template;According to request instruction, collect in pre-set storage
Cluster searches the target storage cluster for meeting preset condition in closing;Brush finger under target template is sent to target storage cluster to enable, with
Enable target storage cluster according to brush finger under target template, lower brush target template is to client server.
The computer readable storage medium may include: USB flash disk, mobile hard disk, read-only memory (Read-Only
Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. is various to deposit
Store up the medium of program code.
Above method embodiment is please referred to for the introduction of computer readable storage medium provided by the invention, the present invention exists
This is not repeated them here.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with it is other
The difference of embodiment, same or similar part may refer to each other between each embodiment.For being filled disclosed in embodiment
It sets, for equipment and computer readable storage medium, since it is corresponded to the methods disclosed in the examples, so the comparison of description
Simply, reference may be made to the description of the method.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
Used herein a specific example illustrates the principle and implementation of the invention, and above embodiments are said
It is bright to be merely used to help understand technical solution of the present invention and its core concept.It should be pointed out that for the common of the art
, without departing from the principle of the present invention, can be with several improvements and modifications are made to the present invention for technical staff, these
Improvement and modification are also fallen within the protection scope of the claims of the present invention.
Claims (10)
1. a kind of brush method under operating system template, which is characterized in that the described method includes:
Receive the request instruction of client server request target template;
According to the request instruction, the target storage collection for meeting preset condition is searched in pre-set storage cluster set
Group;
It sends brush finger under target template to the target storage cluster to enable, so that the target storage cluster is according to the target mould
Brush finger enables under plate, and the lower brush target template gives the client server.
2. the method according to claim 1, wherein synchronizing process packet of the target template to target storage cluster
It includes:
Target template is synchronized to lower layer's storage cluster from upper layer storage cluster;Wherein, the upper layer storage cluster is generation institute
The corresponding storage cluster of top service device of target template is stated, lower layer's storage cluster includes the target storage cluster.
3. according to the method described in claim 2, being deposited it is characterized in that, target template is synchronized to lower layer from upper layer storage cluster
Accumulation, comprising:
The target template is exported into the fixed calculate node in upper layer from the upper layer storage cluster;Wherein, the upper layer is fixed
Calculate node is preset fixed calculate node in the corresponding upper layer calculate node cluster of the top service device;
The target template is uploaded into preset upper former server by the fixed calculate node in the upper layer;
The target template is synchronized in the template server cluster by the upper former server;
The target template is downloaded from corresponding lower template server using the fixed calculate node of each lower layer;Wherein, institute
Stating the fixed calculate node of lower layer is preset fixed calculating in the corresponding lower layer's calculate node cluster of each lower template server
Node;
The target template is uploaded into correspondence by the lower layer fixed calculate node in each lower layer's calculate node cluster
Lower layer's storage cluster.
4. according to the method described in claim 3, it is characterized in that, under through described in each lower layer's calculate node cluster
The fixed calculate node of layer uploads to the target template after corresponding lower layer's storage cluster, further includes:
The target template except upper layer storage cluster and each lower layer's storage cluster is deleted.
5. according to the method described in claim 3, it is characterized by further comprising:
Obtain the md5 value of the target template;
Judge whether the md5 value is equal with the md5 value precalculated;
If it is not, then exporting the information of the target template synchronization failure.
6. method according to any one of claims 1 to 5, which is characterized in that in pre-set storage cluster set
Search the target storage cluster for meeting preset condition, comprising:
It is searched and the nearest target storage cluster of the client server network link in pre-set storage cluster set.
7. brush device under a kind of operating system template, which is characterized in that described device includes:
Command reception module, for receiving the request instruction of client server request target template;
Cluster determining module, for according to the request instruction, lookup to meet default in pre-set storage cluster set
The target storage cluster of condition;
Instruction sending module is enabled for sending brush finger under target template to the target storage cluster, so that the target stores
Cluster is enabled according to brush finger under the target template, and the lower brush target template gives the client server.
8. device according to claim 7, which is characterized in that including template synchronous module, for by target template from
Layer storage cluster is synchronized to lower layer's storage cluster;Wherein, the upper layer storage cluster is the upper layer clothes for generating the target template
The corresponding storage cluster of business device, lower layer's storage cluster includes the target storage cluster.
9. brush equipment under a kind of operating system template characterized by comprising
Memory, for storing computer program;
Processor is realized under the operating system template as described in any one of claim 1 to 6 when for executing the computer program
The step of brush method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program is realized when the computer program is executed by processor and is brushed under the operating system template as described in any one of claim 1 to 6
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810872147.8A CN109144529B (en) | 2018-08-02 | 2018-08-02 | Method, device and equipment for flashing template of operating system and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810872147.8A CN109144529B (en) | 2018-08-02 | 2018-08-02 | Method, device and equipment for flashing template of operating system and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109144529A true CN109144529A (en) | 2019-01-04 |
CN109144529B CN109144529B (en) | 2022-09-09 |
Family
ID=64799482
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810872147.8A Active CN109144529B (en) | 2018-08-02 | 2018-08-02 | Method, device and equipment for flashing template of operating system and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109144529B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111143305A (en) * | 2019-12-06 | 2020-05-12 | 苏州浪潮智能科技有限公司 | Data storage method, device, equipment and medium based on distributed storage system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102571959A (en) * | 2012-01-11 | 2012-07-11 | 北京奇虎科技有限公司 | System and method for downloading data |
CN104580301A (en) * | 2013-10-18 | 2015-04-29 | 宇宙互联有限公司 | Downloading system and method for client-side operation system |
CN104780210A (en) * | 2015-04-13 | 2015-07-15 | 杭州华三通信技术有限公司 | Load balancing method and device |
CN105100136A (en) * | 2014-04-29 | 2015-11-25 | 国际商业机器公司 | Method for accessing logic storage in storage cluster and device thereof |
CN105162878A (en) * | 2015-09-24 | 2015-12-16 | 网宿科技股份有限公司 | Distributed storage based file distribution system and method |
US20160080489A1 (en) * | 2014-09-17 | 2016-03-17 | Dh2I Company | Coordinated and high availability storage access |
CN107491343A (en) * | 2017-09-08 | 2017-12-19 | 中国电子科技集团公司第二十八研究所 | A kind of across cluster resource scheduling system based on cloud computing |
CN107707656A (en) * | 2017-10-10 | 2018-02-16 | 李梓彤 | The remote loading method and system of operating system |
-
2018
- 2018-08-02 CN CN201810872147.8A patent/CN109144529B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102571959A (en) * | 2012-01-11 | 2012-07-11 | 北京奇虎科技有限公司 | System and method for downloading data |
CN104580301A (en) * | 2013-10-18 | 2015-04-29 | 宇宙互联有限公司 | Downloading system and method for client-side operation system |
CN105100136A (en) * | 2014-04-29 | 2015-11-25 | 国际商业机器公司 | Method for accessing logic storage in storage cluster and device thereof |
US20160080489A1 (en) * | 2014-09-17 | 2016-03-17 | Dh2I Company | Coordinated and high availability storage access |
CN104780210A (en) * | 2015-04-13 | 2015-07-15 | 杭州华三通信技术有限公司 | Load balancing method and device |
CN105162878A (en) * | 2015-09-24 | 2015-12-16 | 网宿科技股份有限公司 | Distributed storage based file distribution system and method |
CN107491343A (en) * | 2017-09-08 | 2017-12-19 | 中国电子科技集团公司第二十八研究所 | A kind of across cluster resource scheduling system based on cloud computing |
CN107707656A (en) * | 2017-10-10 | 2018-02-16 | 李梓彤 | The remote loading method and system of operating system |
Non-Patent Citations (3)
Title |
---|
M. B. VAIDYA AND S. NEHE: "Data security using data slicing over storage clouds", 《2015 INTERNATIONAL CONFERENCE ON INFORMATION PROCESSING (ICIP)》 * |
周逸玮: "基于云存储和P2P的资料同步分享***网络技术研究", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 * |
杨盈呁 等: "《数字电视网络制播技术》", 31 October 2016 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111143305A (en) * | 2019-12-06 | 2020-05-12 | 苏州浪潮智能科技有限公司 | Data storage method, device, equipment and medium based on distributed storage system |
CN111143305B (en) * | 2019-12-06 | 2022-08-12 | 苏州浪潮智能科技有限公司 | Data storage method, device, equipment and medium based on distributed storage system |
Also Published As
Publication number | Publication date |
---|---|
CN109144529B (en) | 2022-09-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2683630C2 (en) | Method for update of nsd network service descriptor and device | |
CN104579761B (en) | A kind of nosql clusters automatic configuration system and method for automatic configuration based on cloud computing | |
CN111405019B (en) | Data processing method, data processing device, computer equipment and storage medium | |
CN104601680B (en) | A kind of method for managing resource and device | |
CN109547227B (en) | Network slice generation method and network slice system | |
CN111385112B (en) | Slice resource deployment method, device, slice manager and computer storage medium | |
CN106301829A (en) | A kind of method and apparatus of Network dilatation | |
CN110703980B (en) | File transmission method and device | |
EP2693704A2 (en) | Method, correlative device and system for virtual network migration | |
KR20190057109A (en) | Method and management unit for managing network slices | |
CN111262726B (en) | Configuration information updating method and device and computer readable storage medium | |
CN102202087B (en) | Method for identifying storage equipment and system thereof | |
CN104008028A (en) | Intelligent mobile terminal data storage and backup method and system based on multi-cloud storage | |
CN103685511B (en) | Data distributing method, device and system | |
CN106649600B (en) | A kind of method, apparatus and system of migrated file permission | |
CN113515364B (en) | Data migration method and device, computer equipment and storage medium | |
CN106933548A (en) | Global information is obtained, processes and updated, methods, devices and systems | |
CN106936619A (en) | The method and apparatus of on-premise network service | |
CN108632063A (en) | Manage the methods, devices and systems of network slice example | |
CN104793981B (en) | A kind of online snapshot management method and device of cluster virtual machine | |
CN112965817B (en) | Resource management method and device and electronic equipment | |
US20220326940A1 (en) | Service Upgrade Method, Apparatus, and System | |
CN111124617A (en) | Method and device for creating block chain system, storage medium and electronic device | |
CN115917510A (en) | Virtual machine deployment in a streamlined cloud computing environment | |
CN106227470B (en) | A kind of storage resource management method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |