CN107493330A - A kind of cloud service method and Cloud Server - Google Patents
A kind of cloud service method and Cloud Server Download PDFInfo
- Publication number
- CN107493330A CN107493330A CN201710700248.2A CN201710700248A CN107493330A CN 107493330 A CN107493330 A CN 107493330A CN 201710700248 A CN201710700248 A CN 201710700248A CN 107493330 A CN107493330 A CN 107493330A
- Authority
- CN
- China
- Prior art keywords
- main frame
- backup
- cloud main
- cloud
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a kind of cloud service method and Cloud Server, wherein, this method includes:After the data backup requests for receiving the transmission of cloud main frame, judge whether the cloud main frame carries out data backup first;If, it is determined that the mode that the cloud main frame carries out data backup is full backup;Otherwise, judge user's request information whether is carried in above-mentioned data backup requests;When carrying user's request information in judging data backup requests, according to user's request information, determine that above-mentioned cloud main frame carries out the mode of data backup;The mode that above-mentioned cloud main frame is carried out to data backup is sent to the cloud main frame.In the present invention, whether data backup is carried out according to cloud main frame first, and the demand information of user determines the data backup mode of the cloud main frame, so, can determine data backup mode according to the actual demand of cloud main frame, disclosure satisfy that the backup requirements of different user.
Description
Technical field
The present invention relates to field of cloud computer technology, in particular to a kind of cloud service method and Cloud Server.
Background technology
With the extensive use of information technology, more and more important data start to be stored in the form of electronic data
And processing, but easily there is the situation for causing loss of data due to operational error or the system failure.Therefore, in order to prevent
The loss of data to data, it is necessary to back up.And cloud backup be then by data backup beyond the clouds.
Typically, cloud backup includes full backup and incremental backup, and in the prior art, when carrying out data backup, typically
All be to be backed up according to a kind of pre-set backup mode, can not and data stability and backup efficiency.Therefore, this
Sample easily occurs in some cases, and the backup mode of the cloud main frame is actually backed up the incongruent situation of demand with current.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of cloud service method and Cloud Server, existing to solve
Have in technology, when the data to cloud main frame back up, backup mode and currently practical backup that cloud main frame easily occur need
Seek incongruent problem.
In a first aspect, the embodiments of the invention provide a kind of cloud service method, wherein, methods described includes:
After the data backup requests for receiving the transmission of cloud main frame, judge whether the cloud main frame carries out data backup first;
If, it is determined that the mode that the cloud main frame carries out data backup is full backup;
Otherwise, judge user's request information whether is carried in the data backup requests;
When carrying the user's request information in judging the data backup requests, believed according to the user's request
Breath, determine that the cloud main frame carries out the mode of data backup;
The mode that the cloud main frame is carried out to data backup is sent to the cloud main frame.
With reference in a first aspect, the embodiments of the invention provide the possible implementation of the first of above-mentioned first aspect, its
In, when not carrying the user's request information in judging the data backup requests person,
Determine that the mode that the cloud main frame carries out data backup is incremental backup.
With reference in a first aspect, the embodiments of the invention provide the possible implementation of second of above-mentioned first aspect, its
In, determine that the cloud main frame carries out the mode of data backup, including:
When the user's request information instruction need when being backed up by the way of full backup, determine the cloud main frame
The mode for carrying out data backup is full backup.
With reference in a first aspect, the embodiments of the invention provide the possible implementation of the third of above-mentioned first aspect, its
In, the mark of cloud main frame is carried in the data backup requests;
Methods described also includes:
According to the mark of the cloud main frame, daily record data corresponding to the cloud main frame is searched;
It is described to judge whether the cloud main frame carries out data backup first, including:
According to the daily record data, judge whether the cloud main frame carries out data backup first.
With reference in a first aspect, the embodiments of the invention provide the possible implementation of the 4th of above-mentioned first aspect kind, its
In, after the mode by cloud main frame progress data backup is sent to the cloud main frame, methods described also includes:
Receive the Backup Data that the cloud main frame is sent in the way of the cloud main frame carries out data backup;
The Backup Data is backed up according to the number of the cloud main frame currently connected and current remaining space;And
Update daily record data corresponding to the cloud main frame.
With reference to the 4th kind of possible implementation of first aspect, the embodiments of the invention provide the of above-mentioned first aspect
Five kinds of possible implementations, wherein, daily record data corresponding to the renewal cloud main frame, including:
After the Backup Data sent to the cloud main frame backs up, determine that the Backup Data is corresponding in the cloud main frame
Backup tree on backup node;Wherein, an only backup node under each backup node of the backup tree;
Update the current backup node of backup tree corresponding to the cloud main frame.
With reference to the 4th kind of possible implementation of first aspect, the embodiments of the invention provide the of above-mentioned first aspect
Six kinds of possible implementations, wherein, the number for the cloud main frame that the basis currently connects and current remaining space are to described
Backup Data is backed up, including:
Judge whether the remaining space is more than or equal to predetermined threshold value;
If it is, whether the number for the cloud main frame for judging currently to connect is less than predetermined number;
When the number for the cloud main frame for judging currently to connect is less than the predetermined number, the Backup Data is carried out standby
Part.
Second aspect, the embodiments of the invention provide a kind of Cloud Server, wherein, the Cloud Server includes:
First judge module, for receive cloud main frame transmission data backup requests after, whether judge the cloud main frame
Data backup is carried out first;
First determining module, for when it is to carry out data backup first to judge the cloud main frame, determining the cloud main frame
The mode for carrying out data backup is full backup;
Second judge module, for when it is not to carry out data backup first to judge the cloud main frame, judging the data
Whether user's request information is carried in backup request;
Second determining module, for when carrying the user's request information in judging the data backup requests, root
According to the user's request information, determine that the cloud main frame carries out the mode of data backup;
Sending module, the mode for the cloud main frame to be carried out to data backup are sent to the cloud main frame.
With reference to second aspect, the embodiments of the invention provide the possible implementation of the first of above-mentioned second aspect, its
In, second determining module includes:
Determining unit, for when the user's request information instruction need when being backed up by the way of full backup,
Determine that the mode that the cloud main frame carries out data backup is full backup.
With reference to second aspect, the embodiments of the invention provide the possible implementation of second of above-mentioned second aspect, its
In, the Cloud Server also includes:
Receiving module, the backup sent for receiving the cloud main frame in the way of the cloud main frame carries out data backup
Data;
Backup module, for the number according to the cloud main frame currently connected and current remaining space to the Backup Data
Backed up;
Update module, for updating daily record data corresponding to the cloud main frame.
In cloud service method provided in an embodiment of the present invention and Cloud Server, whether data are carried out according to cloud main frame first
Backup, and the demand information of user determine the data backup mode of the cloud main frame, so, can be according to the actual need of cloud main frame
Ask and determine data backup mode, disclosure satisfy that the backup requirements of different user.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate
Appended accompanying drawing, is described in detail below.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by embodiment it is required use it is attached
Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore be not construed as pair
The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this
A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 shows the flow chart for the cloud service method that one embodiment of the invention is provided;
Fig. 2 is shown in the cloud service method that one embodiment of the invention is provided, and backs up the schematic diagram of tree;
Fig. 3 shows the flow chart for the cloud service method that further embodiment of this invention is provided;
Fig. 4 shows the structural representation for the Cloud Server that another embodiment of the present invention is provided.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
Middle accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only
It is part of the embodiment of the present invention, rather than whole embodiments.The present invention being generally described and illustrated herein in the accompanying drawings is real
Applying the component of example can be configured to arrange and design with a variety of.Therefore, it is of the invention to what is provided in the accompanying drawings below
The detailed description of embodiment is not intended to limit the scope of claimed invention, but is merely representative of the selected reality of the present invention
Apply example.Based on embodiments of the invention, institute that those skilled in the art are obtained on the premise of creative work is not made
There is other embodiment, belong to the scope of protection of the invention.
One embodiment of the invention provides a kind of cloud service method, as shown in figure 1, the method comprising the steps of S110-S150,
It is specific as follows.
S110, after receiving the data backup requests that cloud main frame is sent, it is standby to judge whether the cloud main frame carries out data first
Part, if it is, performing step S120, otherwise, perform step S130.
Specifically, carrying the mark of cloud main frame in above-mentioned backup request, the mark can be the title of cloud main frame, cloud
Coding of main frame etc..
The executive agent of cloud service method provided in an embodiment of the present invention is Cloud Server, is stored with the Cloud Server
Daily record data corresponding to multiple cloud main frames, the daily record data are used for the data backup situation for recording corresponding cloud main frame, such as,
Whether the cloud main frame carried out the information such as data backup, the current backup node that the corresponding backup of the cloud main frame is set, wherein, backup
Which node the current backup node of tree refers to the data current backup of the cloud main frame to, such as, the number of the cloud main frame
According to the 3rd node is backuped to, then the present node of the backup tree is the 3rd node.
With reference to shown in figure 2, in embodiments of the present invention, an only backup under each backup node of the backup tree of use
Node, i.e., there was only a node at every first nodes, crotch is not present in the backup tree in the embodiment of the present invention, so, when
Also be not in crotch after being backed up again to the data after data at some node are deleted.
Is there are three backup nodes in the backup tree shown in Fig. 2, the specific number of backup node is according to actual standby
Part situation determines that the number of backup node is not limited thereto.
Further, in order to judge whether the cloud main frame is to carry out data backup first, side provided in an embodiment of the present invention
Method also includes:
According to the mark of above-mentioned cloud main frame, daily record data corresponding to the cloud main frame is searched.
Specifically, the mark of cloud main frame and the mapping relations of corresponding daily record data are stored with above-mentioned Cloud Server, it is excellent
Choosing, can be mapping relations list, so,, can from above-mentioned mapping relations list according to the mark of the cloud main frame received
To determine daily record data corresponding to the cloud main frame.
It is above-mentioned to judge whether cloud main frame is to carry out data first after daily record data corresponding to above-mentioned cloud main frame is got
Backup, including:
According to above-mentioned daily record data, judge whether above-mentioned cloud main frame carries out data backup first.
The backup instances of the cloud main frame are stored with above-mentioned daily record data, therefore, by searching in above-mentioned daily record data
The backup instances of the cloud main frame, it may be determined that go out whether the cloud main frame is to carry out data backup first.
S120, determine that the mode that above-mentioned cloud main frame carries out data backup is full backup.
It is determined that above-mentioned cloud main frame be first carry out data backup after, illustrate before this, the cloud main frame is not in the cloud
Service carried out data backup, therefore, in order to ensure the integrality of the Backup Data of the cloud main frame and reliability, it is necessary to using complete
The mode of amount backup backs up to the data of the cloud main frame.
Above-mentioned full backup, then refer to being backed up all data of cloud main frame.
S130, judge user's request information whether is carried in above-mentioned data backup requests, if so, then performing step
S140。
After determining that above-mentioned cloud main frame is not progress data backup first, then need to determine whether the number that user sends
According in backup request, if carry user's request information.
If in above-mentioned data backup requests, not carrying user's request information, at this moment, determine that above-mentioned cloud main frame enters line number
Mode according to backup is incremental backup.
In this case, above-mentioned cloud main frame is not to carry out data backup first, and user is not to Backup Data
Integrality, reliability and stability claim, therefore, in order to reduce volume of transmitted data and save the storage of Cloud Server
Space, then the data of the cloud main frame are backed up by the way of incremental backup.
So-called incremental backup, refer to being backed up cloud main frame incremental portion.
S140, according to above-mentioned user's request information, determine that above-mentioned cloud main frame carries out the mode of data backup.
Specifically, in step S140, according to user's request information, determine that cloud main frame carries out the mode of data backup, tool
Body is realized by following process:
When the instruction of above-mentioned user's request information needs when data backup is carried out by the way of full backup, to determine above-mentioned cloud
The mode that main frame carries out data backup is full backup.
When above-mentioned user's request information instruction need to carry out data backup by the way of full backup, specifically include:When
User is when remarks are to the integrality, reliability and higher stability requirement of data in user's request information, at this moment, it may be determined that
User's instruction needs to carry out data backup by the way of full backup.
Certainly, in other concrete application scene, user may claim to the efficiency of backup, at this moment, can
With the demand according to user, it may be determined that go out user's instruction and backed up by the way of incremental backup, at this moment, it may be determined that cloud
The mode that main frame carries out data backup is incremental backup.
When carrying user's request information in data backup requests, specifically using full backup or incremental backup also
Obtain and determined according to the real needs of user.
S150, the mode that above-mentioned cloud main frame is carried out to data backup are sent to cloud main frame.
After determining that above-mentioned cloud main frame carries out the mode of data backup, then the cloud main frame determined is subjected to data backup
Mode be sent to the cloud main frame.
Specifically, the backup mode of the cloud main frame can be sent to by the cloud main frame according to the mark of the cloud main frame.
In addition, in method provided in an embodiment of the present invention, when the mode for determining the progress data backup of cloud main frame is increasing
During amount backup, it is also necessary to the backup node of backup tree corresponding to the cloud main frame is determined, to receive the transmission of cloud main frame
After Backup Data, the next node of node backs up the Backup Data in this prior.
After cloud main frame receives the backup mode of Cloud Server transmission, then start to upload data according to the backup mode.
Further, cloud service method provided in an embodiment of the present invention also includes:
Receive the Backup Data that cloud main frame is sent in the way of above-mentioned cloud main frame carries out data backup;
Above-mentioned Backup Data is backed up according to the number of the cloud main frame currently connected and current remaining space;And
Update daily record data corresponding to the cloud main frame.
Further, the number for the cloud main frame that above-mentioned basis currently connects and current remaining space are to above-mentioned Backup Data
Backed up, including:
Judge whether above-mentioned remaining space is more than or equal to predetermined threshold value;If it is, the cloud main frame that judgement currently connects
Whether number is less than predetermined number;When the number for the cloud main frame for judging currently to connect is less than above-mentioned predetermined number, to above-mentioned standby
Part data are backed up.
The executive agent of method provided in an embodiment of the present invention is Cloud Server, and each Cloud Server can be simultaneously and more
Individual cloud main frame connection, therefore, the number of the above-mentioned cloud main frame currently connected refers to the cloud main frame that the Cloud Server currently connects
Number, above-mentioned remaining space refers to the remaining space of the cloud main frame, that is, is not backed up the space of data occupancy.
If the remaining space of above-mentioned Cloud Server is more than or equal to predetermined threshold value, determine whether that the Cloud Server is worked as
Whether the number of the cloud main frame of preceding connection is eligible;
If the remaining space of the Cloud Server is less than or equal to predetermined threshold value, at this moment, then can not enter in the Cloud Server
Whether row data backup, the space that can be inquired about with other lower Cloud Servers of route or the Cloud Server under other routes are more than
Or equal to predetermined threshold value, if it is satisfied, determining whether that remaining space meets the cloud main frame that the Cloud Server of condition currently connects
Number.
Further, when the number for judging cloud main frame that Cloud Server currently connects is less than predetermined number, then to above-mentioned standby
Part data are backed up, if the number for the cloud main frame that Cloud Server currently connects is more than or equal to predetermined number, at this moment, cloud
Server can prompt cloud host computer system current business, it is necessary to wait in line.
Further, daily record data corresponding to above-mentioned renewal cloud main frame, including:
After the Backup Data sent to above-mentioned cloud main frame backs up, determine above-mentioned Backup Data standby corresponding to cloud main frame
Backup node on part tree;
Update the current backup node of backup tree corresponding to above-mentioned cloud main frame.
Such as it is above-mentioned Backup Data is backed up when, by above-mentioned Backup Data backup backup tree the 3rd
At node, then the current backup node updates set the backup stored in above-mentioned daily record data are the 3rd node.
In addition, daily record data corresponding to above-mentioned renewal cloud main frame, in addition to:If the cloud main frame is standby to carry out data first
Part, then after the completion of backing up, it is not to carry out data backup first that the Status of Backups of the cloud main frame, which is changed to, also, this is backed up
Current backup node corresponding to tree is defined as first node.
In order to which cloud service method provided in an embodiment of the present invention is discussed in detail, further embodiment of this invention provides a kind of tool
The cloud service method of body, with reference to shown in figure 3, cloud main frame then performs following steps when needing to carry out data backup:
S301, cloud main frame send data backup requests to Cloud Server, cloud main frame are carried in the data backup requests
Mark;
S301, Cloud Server search daily record data corresponding to the cloud main frame according to the mark of above-mentioned cloud main frame;
S303, Cloud Server daily record data according to corresponding to the cloud main frame, judge whether the cloud main frame is to enter line number first
According to backup;If it is, performing step S304, otherwise, step S305 is performed;
S304, determine that the mode that the cloud main frame carries out data backup is full backup;
S305, judge user's request information whether is carried in above-mentioned data backup requests, if so, then performing step
S307, otherwise, perform step S306;
S306, determine that the mode that the cloud main frame carries out data backup is incremental backup;
S307, according to above-mentioned user's request information, determine that the cloud main frame carries out the mode of data backup;
S308, the mode that the cloud main frame determined is carried out to data backup are sent to cloud main frame;
S309, cloud main frame send Backup Data according to data backup mode is received;
S310, after the Backup Data that cloud server is sent to cloud main frame, currently connected according to Cloud Server itself
The number of cloud main frame and current remaining space back up to the Backup Data, and update daily record number corresponding to the cloud main frame
According to.
Cloud service method provided in an embodiment of the present invention, whether data backup, and user are carried out according to cloud main frame first
Demand information determine the data backup mode of the cloud main frame, so, can determine that data are standby according to the actual demand of cloud main frame
Part mode, disclosure satisfy that the backup requirements of different user.
, should based on a kind of Cloud Server is provided with above-mentioned cloud service method identical principle, another embodiment of the present invention
Cloud Server is used for the cloud service method for performing above-described embodiment offer, and with reference to shown in figure 4, the system includes the first judge module
410th, the first determining module 420, the second judge module 430, the second determining module 440 and sending module 450, wherein,
Above-mentioned first judge module 410, for receive cloud main frame transmission data backup requests after, judge above-mentioned cloud master
Whether machine carries out data backup first;
Above-mentioned first determining module 420, for when it is to carry out data backup first to judge above-mentioned cloud main frame, determining above-mentioned
The mode that cloud main frame carries out data backup is full backup;
Above-mentioned second judge module 430, for when it is not to carry out data backup first to judge above-mentioned cloud main frame, in judgement
State and user's request information whether is carried in data backup requests;
Above-mentioned second determining module 440, for when carrying user's request information in judging above-mentioned data backup requests,
According to user's request information, determine that cloud main frame carries out the mode of data backup;
Above-mentioned sending module 450, the mode for above-mentioned cloud main frame to be carried out to data backup are sent to cloud main frame.
Specifically, Cloud Server provided in an embodiment of the present invention also includes the 3rd determining module, in the second judge module 430
When judging not carrying user's request information in above-mentioned data backup requests, then by the 3rd determining module, above-mentioned cloud is determined
The mode that main frame carries out data backup is incremental backup.
Above-mentioned second determining module 440, according to user's request information, determine that cloud main frame carries out the mode of data backup, be
Realized, specifically included by determining unit:
Above-mentioned determining unit, for needing to carry out data by the way of full backup when the instruction of above-mentioned user's request information
During backup, determine that the mode that above-mentioned cloud main frame carries out data backup is full backup.
Further, the mark of cloud main frame is carried in above-mentioned data backup requests;
Therefore, Cloud Server provided in an embodiment of the present invention also includes searching modul, and user is according to the mark of above-mentioned cloud main frame
Know, search daily record data corresponding to cloud main frame;
Further, above-mentioned first judge module 420, judges whether above-mentioned cloud main frame carries out data backup first, is logical
The realization of the first judging unit is crossed, is specifically included:
Above-mentioned first judging unit, for according to above-mentioned daily record data, judging whether above-mentioned cloud main frame is to enter line number first
According to backup.
Further, Cloud Server provided in an embodiment of the present invention also includes:
Receiving module, backup module and update module;
Above-mentioned receiving module, for receive above-mentioned cloud main frame by the cloud main frame carry out data backup in the way of send it is standby
Part data;Above-mentioned backup module, for the number according to the cloud main frame currently connected and current remaining space to above-mentioned backup
Data are backed up;Above-mentioned update module, for updating daily record data corresponding to above-mentioned cloud main frame.
Further, above-mentioned update module, update cloud main frame corresponding to daily record data, be by node determining unit and more
What new unit was realized, specifically include:
Above-mentioned node determining unit, after the Backup Data for being sent to above-mentioned cloud main frame backs up, determine above-mentioned standby
Part data are in the backup node corresponding to above-mentioned cloud main frame on backup tree;Wherein, under each backup node of the backup tree only
One backup node;Above-mentioned updating block, the current backup node of tree is backed up corresponding to above-mentioned cloud main frame for updating.
Further, above-mentioned backup module according to the number and current remaining space of the cloud main frame currently connected to above-mentioned
Backup Data is backed up, and is to be realized by the second judging unit, the 3rd judging unit and backup units, is specifically included:
Above-mentioned second judging unit, for judging whether above-mentioned remaining space is more than or equal to predetermined threshold value;Above-mentioned 3rd
Judging unit, for when above-mentioned remaining space is more than or equal to predetermined threshold value, the number for the cloud main frame for judging currently to connect is
It is no to be less than predetermined number;Above-mentioned backup units are right when the number of the cloud main frame for currently being connected in judgement is less than predetermined number
Above-mentioned Backup Data is backed up.
Cloud Server provided in an embodiment of the present invention, whether data backup is carried out according to cloud main frame first, and user
Demand information determines the data backup mode of the cloud main frame, so, can determine data backup according to the actual demand of cloud main frame
Mode, it disclosure satisfy that the backup requirements of different user.
The Cloud Server that the embodiment of the present invention is provided, its realization principle and caused technique effect and preceding method are implemented
Example is identical, and to briefly describe, device embodiment part does not refer to part, refers to corresponding contents in preceding method embodiment.Institute
The technical staff in category field can be understood that, for convenience and simplicity of description, system described above, device and unit
Specific work process, may be referred to the corresponding process in above method embodiment, will not be repeated here.
In embodiment provided by the present invention, it should be understood that disclosed apparatus and method, can be by others side
Formula is realized.Device embodiment described above is only schematical, for example, the division of the unit, only one kind are patrolled
Function division is collected, there can be other dividing mode when actually realizing, in another example, multiple units or component can combine or can
To be integrated into another system, or some features can be ignored, or not perform.Another, shown or discussed is mutual
Coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some communication interfaces, device or unit
Connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in embodiment provided by the invention can be integrated in a processing unit, also may be used
To be that unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined, then it further need not be defined and explained in subsequent accompanying drawing in individual accompanying drawing, in addition, term " the
One ", " second ", " the 3rd " etc. are only used for distinguishing description, and it is not intended that instruction or hint relative importance.
Finally it should be noted that:Embodiment described above, it is only the embodiment of the present invention, to illustrate the present invention
Technical scheme, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, it will be understood by those within the art that:Any one skilled in the art
The invention discloses technical scope in, it can still modify to the technical scheme described in previous embodiment or can be light
Change is readily conceivable that, or equivalent substitution is carried out to which part technical characteristic;And these modifications, change or replacement, do not make
The essence of appropriate technical solution departs from the spirit and scope of technical scheme of the embodiment of the present invention.The protection in the present invention should all be covered
Within the scope of.Therefore, protection scope of the present invention described should be defined by scope of the claims.
Claims (10)
1. a kind of cloud service method, it is characterised in that methods described includes:
After the data backup requests for receiving the transmission of cloud main frame, judge whether the cloud main frame carries out data backup first;
If, it is determined that the mode that the cloud main frame carries out data backup is full backup;
Otherwise, judge user's request information whether is carried in the data backup requests;
When carrying the user's request information in judging the data backup requests, according to the user's request information, really
The fixed cloud main frame carries out the mode of data backup;
The mode that the cloud main frame is carried out to data backup is sent to the cloud main frame.
2. according to the method for claim 1, it is characterised in that in the data backup requests are judged without carrying
When stating user's request information,
Determine that the mode that the cloud main frame carries out data backup is incremental backup.
3. according to the method for claim 1, it is characterised in that it is described according to the user's request information, determine the cloud
Main frame carries out the mode of data backup, including:
When the user's request information instruction need when data backup is carried out by the way of full backup, determine the cloud main frame
The mode for carrying out data backup is full backup.
4. according to the method for claim 1, it is characterised in that the mark of cloud main frame is carried in the data backup requests
Know;
Methods described also includes:
According to the mark of the cloud main frame, daily record data corresponding to the cloud main frame is searched;
It is described to judge whether the cloud main frame carries out data backup first, including:
According to the daily record data, judge whether the cloud main frame carries out data backup first.
5. according to the method for claim 1, it is characterised in that the mode that the cloud main frame is carried out to data backup is sent out
After giving the cloud main frame, methods described also includes:
Receive the Backup Data that the cloud main frame is sent in the way of the cloud main frame carries out data backup;
Cloud main frame number and current remaining space according to currently connecting back up to the Backup Data;And
Update daily record data corresponding to the cloud main frame.
6. according to the method for claim 5, it is characterised in that daily record data corresponding to the renewal cloud main frame, bag
Include:
After the Backup Data sent to the cloud main frame backs up, determine the Backup Data standby corresponding to the cloud main frame
Backup node on part tree;Wherein, an only backup node under each backup node of the backup tree;
Update the current backup node of backup tree corresponding to the cloud main frame.
7. according to the method for claim 5, it is characterised in that cloud main frame number that the basis currently connects and current
Remaining space backs up to the Backup Data, including:
Judge whether the remaining space is more than or equal to predetermined threshold value;
If it is, whether the number for the cloud main frame for judging currently to connect is less than predetermined number;
When the number for the cloud main frame for judging currently to connect is less than the predetermined number, the Backup Data is backed up.
8. a kind of Cloud Server, it is characterised in that the Cloud Server includes:
First judge module, for receive cloud main frame transmission data backup requests after, whether first judge the cloud main frame
Carry out data backup;
First determining module, for when it is to carry out data backup first to judge the cloud main frame, determining that the cloud main frame is carried out
The mode of data backup is full backup;
Second judge module, for when it is not to carry out data backup first to judge the cloud main frame, judging the data backup
Whether user's request information is carried in request;
Second determining module, for when carrying the user's request information in judging the data backup requests, according to institute
User's request information is stated, determines that the cloud main frame carries out the mode of data backup;
Sending module, the mode for the cloud main frame to be carried out to data backup are sent to the cloud main frame.
9. Cloud Server according to claim 8, it is characterised in that second determining module includes:
Determining unit, for when the user's request information instruction need when data backup is carried out by the way of full backup,
Determine that the mode that the cloud main frame carries out data backup is full backup.
10. Cloud Server according to claim 8, it is characterised in that the Cloud Server also includes:
Receiving module, the backup number sent for receiving the cloud main frame in the way of the cloud main frame carries out data backup
According to;
Backup module, the Backup Data is carried out for the number according to the cloud main frame currently connected and current remaining space
Backup;
Update module, for updating daily record data corresponding to the cloud main frame.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710700248.2A CN107493330A (en) | 2017-08-16 | 2017-08-16 | A kind of cloud service method and Cloud Server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710700248.2A CN107493330A (en) | 2017-08-16 | 2017-08-16 | A kind of cloud service method and Cloud Server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107493330A true CN107493330A (en) | 2017-12-19 |
Family
ID=60646445
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710700248.2A Pending CN107493330A (en) | 2017-08-16 | 2017-08-16 | A kind of cloud service method and Cloud Server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107493330A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109032839A (en) * | 2018-06-27 | 2018-12-18 | 郑州云海信息技术有限公司 | A kind of cloud host backup method and device |
CN109597717A (en) * | 2018-12-07 | 2019-04-09 | 北京金山云网络技术有限公司 | A kind of data backup, restoration methods, device, electronic equipment and storage medium |
CN113949712A (en) * | 2021-10-15 | 2022-01-18 | 科大讯飞股份有限公司 | Cloud host cluster high-availability processing method and system, electronic equipment and storage medium |
CN114978631A (en) * | 2022-05-11 | 2022-08-30 | 廊坊市讯云数据科技有限公司 | Cloud host safety monitoring method and system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030158831A1 (en) * | 1999-11-29 | 2003-08-21 | Christopher Zaremba | Method, system, program, and data structures for naming full backup versions of files and related deltas of the full backup versions |
CN101051285A (en) * | 2006-09-21 | 2007-10-10 | 上海交通大学 | File matching method in computer network data backup |
CN103036946A (en) * | 2012-11-21 | 2013-04-10 | 中国电信股份有限公司云计算分公司 | Method and system for processing file backup on cloud platform |
CN103345435A (en) * | 2013-06-28 | 2013-10-09 | 环境保护部华南环境科学研究所 | Data backup and restoration method and destination sever system for backup |
CN103778034A (en) * | 2014-02-26 | 2014-05-07 | 广州杰赛科技股份有限公司 | Cloud storage-based data backup disaster recovery method and system |
CN104714858A (en) * | 2013-12-13 | 2015-06-17 | 中国移动通信集团公司 | Data backup method, data recovery method and device |
CN105224262A (en) * | 2015-10-30 | 2016-01-06 | 深圳云聚汇数码有限公司 | Data processing method |
-
2017
- 2017-08-16 CN CN201710700248.2A patent/CN107493330A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030158831A1 (en) * | 1999-11-29 | 2003-08-21 | Christopher Zaremba | Method, system, program, and data structures for naming full backup versions of files and related deltas of the full backup versions |
CN101051285A (en) * | 2006-09-21 | 2007-10-10 | 上海交通大学 | File matching method in computer network data backup |
CN103036946A (en) * | 2012-11-21 | 2013-04-10 | 中国电信股份有限公司云计算分公司 | Method and system for processing file backup on cloud platform |
CN103345435A (en) * | 2013-06-28 | 2013-10-09 | 环境保护部华南环境科学研究所 | Data backup and restoration method and destination sever system for backup |
CN104714858A (en) * | 2013-12-13 | 2015-06-17 | 中国移动通信集团公司 | Data backup method, data recovery method and device |
CN103778034A (en) * | 2014-02-26 | 2014-05-07 | 广州杰赛科技股份有限公司 | Cloud storage-based data backup disaster recovery method and system |
CN105224262A (en) * | 2015-10-30 | 2016-01-06 | 深圳云聚汇数码有限公司 | Data processing method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109032839A (en) * | 2018-06-27 | 2018-12-18 | 郑州云海信息技术有限公司 | A kind of cloud host backup method and device |
CN109597717A (en) * | 2018-12-07 | 2019-04-09 | 北京金山云网络技术有限公司 | A kind of data backup, restoration methods, device, electronic equipment and storage medium |
CN113949712A (en) * | 2021-10-15 | 2022-01-18 | 科大讯飞股份有限公司 | Cloud host cluster high-availability processing method and system, electronic equipment and storage medium |
CN113949712B (en) * | 2021-10-15 | 2024-04-30 | 科大讯飞股份有限公司 | Cloud host cluster high-availability processing method, system, electronic equipment and storage medium |
CN114978631A (en) * | 2022-05-11 | 2022-08-30 | 廊坊市讯云数据科技有限公司 | Cloud host safety monitoring method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107493330A (en) | A kind of cloud service method and Cloud Server | |
CN104123198B (en) | The method and apparatus for managing data replication mode | |
CN106528327B (en) | A kind of data processing method and backup server | |
CN104346373B (en) | Subregion journal queue synchronization management method and equipment | |
CN106021000A (en) | Shared memory management method and device for robot operating system | |
CN106844108B (en) | A kind of date storage method, server and storage system | |
CN103229487A (en) | Partition balance method, device and server in distributed storage system | |
CN110311831A (en) | System resource monitoring method and relevant device based on container cloud | |
CN104486234A (en) | Method and server for uninstalling service exchanger to physical network card | |
CN106503020A (en) | Daily record data processing method and processing device | |
CN108572823A (en) | Front and back end development management method and system based on interface engine | |
CN109558260A (en) | Kubernetes troubleshooting system, method, equipment and medium | |
CN107193489A (en) | A kind of storage level data migration method and device based on storage virtual gateway | |
CN108038236A (en) | File sharing method, device, system and readable storage medium storing program for executing | |
CN109445902A (en) | A kind of data manipulation method and system | |
CN105760109B (en) | Data migration method and storage array | |
CN106445411A (en) | Data reading method and device and distributed storage system | |
CN103119567B (en) | For the system and method in managing virtual tape pool territory | |
CN108667903B (en) | Data transmission method for uplink, device and storage medium | |
CN103095759B (en) | Recover the method and apparatus of resource environment | |
CN107391226A (en) | The method and apparatus of backup virtual machine under a kind of open storehouse Openstack platforms | |
CN110083504A (en) | The running state monitoring method and device of distributed task scheduling | |
CN103403666B (en) | Distributed storage control method, Apparatus and system | |
CN102495815B (en) | Processing method for I/O (input/output) data access interrupt, system and equipment | |
CN103414588B (en) | VTL backup method and VTL nodes |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171219 |
|
RJ01 | Rejection of invention patent application after publication |