CN109298974A - System control method, device, computer and computer readable storage medium - Google Patents

System control method, device, computer and computer readable storage medium Download PDF

Info

Publication number
CN109298974A
CN109298974A CN201811161999.2A CN201811161999A CN109298974A CN 109298974 A CN109298974 A CN 109298974A CN 201811161999 A CN201811161999 A CN 201811161999A CN 109298974 A CN109298974 A CN 109298974A
Authority
CN
China
Prior art keywords
dilatation
data
subcluster
control method
time
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
Application number
CN201811161999.2A
Other languages
Chinese (zh)
Other versions
CN109298974B (en
Inventor
王英
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811161999.2A priority Critical patent/CN109298974B/en
Publication of CN109298974A publication Critical patent/CN109298974A/en
Application granted granted Critical
Publication of CN109298974B publication Critical patent/CN109298974B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention provides a kind of system control method, device, computer and computer readable storage medium, is related to the computer field based on cloud storage.System control method of the invention is applied to server system, it include: to be changed trend analysis to the storage information of destination server cluster using default assessment models to estimate dilatation data with obtain the destination server cluster, the dilatation data of estimating are including at least estimating the dilatation time;If the system time of the server system in the preset range for estimating the dilatation time, estimates the output dilatation prompt of dilatation data according to.The present invention can be conducive to control personnel and carry out dilatation to server system.

Description

System control method, device, computer and computer readable storage medium
Technical field
The present invention relates to computer fields more particularly to a kind of system control method, device, computer based on big data And computer readable storage medium.
Background technique
This part intends to provides background for the embodiments of the present invention stated in claims and specific embodiment Or context.Description herein recognizes it is the prior art not because not being included in this section.
To support current big data service environment, the server system built in a trunked mode is seasonable and gives birth to.Server system Important carrier of the memory of system as server system storing data, the continuous challenge by the data volume increased.It is existing In server system, there is the situation for leading to loss of data not in time to memory dilatation, there are certain information security hidden danger.
Summary of the invention
In consideration of it, it is necessary to provide a kind of system control method, device, computer and computer readable storage medium, with Dilatation is carried out to server system conducive to control personnel.
First aspect present invention provides a kind of system control method, is applied to server system, which comprises
It is described to obtain to be changed trend analysis using storage information of the default assessment models to destination server cluster Destination server cluster estimates dilatation data, wherein the default assessment models are the record according to the server system The Trend Prediction model that data are established;It is described estimate dilatation data include at least estimate the dilatation time;
If the system time of the server system is in the preset range for estimating the dilatation time, according to described pre- Estimate the output dilatation prompt of dilatation data.
Preferably, after the output dilatation prompt of dilatation data is estimated according to described, the method also includes:
Judge that the destination server cluster whether there is newly-increased subcluster;
If there is newly-increased subcluster in the destination server cluster, will be with the original subgroup of destination server cluster At least one data collection client of collection connection is switched to be connect with the default subcluster in the newly-increased subcluster.
Preferably, the method also includes:
When receiving Data Migration request during dilatation, migrating data is written using the child node of subcluster to be migrated Into preset memory;
The child node of control target subcluster presses default distribution policy and reads corresponding migration from the preset memory Simultaneously the migrating data is written into the target subcluster for data.
Preferably, the method also includes:
When receiving Data Migration request during dilatation, by the master of the data backup to be migrated to subcluster to be migrated Node.
Preferably, the method also includes:
If the migrating data that the child node of the target subcluster is read from the preset memory includes priority letter Then sequentially the corresponding migrating data is written to the memory of the target subcluster according to the precedence information for breath In.
Preferably, the method also includes:
State-detection is carried out to the subcluster of the destination server cluster;
If will be in described in the subcluster of the destination server cluster comprising the subcluster in malfunction The data collection client of the subcluster connection of malfunction is switched to be connect with place with the subcluster of normal operating condition.
Preferably, the method also includes:
Synchronization is updated to the system time using default time service link.
Second aspect of the present invention provides a kind of system control device, is applied to server system, and described device includes:
Analysis module, for being changed trend point to the storage information of destination server cluster using default assessment models Analysis estimates dilatation data with obtain the destination server cluster, wherein the default assessment models are according to the service The Trend Prediction model that the record data of device system are established;It is described estimate dilatation data include at least estimate the dilatation time;
Output module, for the system time in the server system in the preset range for estimating the dilatation time When, the output dilatation prompt of dilatation data is estimated according to described.
Third aspect present invention provides a kind of computer, and the computer includes processor and memory, the processor The step of system control method as described above is realized when for executing the computer program stored in memory.
Fourth aspect present invention provides a kind of computer readable storage medium, is stored thereon with computer program, the meter The step of calculation machine program or instruction realize system control method as described above when being executed by processor.
System control method, device, computer and computer readable storage medium provided by the invention, are getting target After the storage information of cluster of servers, it is changed using storage information of the default assessment models to the destination server cluster Trend analysis estimates dilatation data to obtain the destination server cluster, and the dilatation data of estimating include at least Estimate the dilatation time.Thereafter, when the system time of server system is in the preset range for estimating the dilatation time, according to It is described to estimate the output dilatation prompt of dilatation data, so that the control personnel for being conducive to server system in time take the target Device cluster of being engaged in carries out dilatation, and then reduces server system because dilatation leads to the acquisition data and storing data of big data not in time The risk of loss.
Further, using the present invention, after realizing and increasing subcluster newly to destination server cluster, by will with it is described At least one data collection client of the original subcluster connection of destination server cluster is switched to and the newly-increased subcluster In the connection of default subcluster, to realize newly-increased default subcluster and at least one data collection client in time Data connection, and then be conducive to control personnel and complete dilatation, and data safety risk when relative reduction dilatation.
Further, using the present invention, when receiving Data Migration request, the child node by migrating subcluster is migrated Data are written into preset memory, and thereafter, the child node for controlling target subcluster is deposited by default distribution policy from described preset Corresponding migrating data is read in reservoir and the migrating data is written into the memory of the target subcluster, as a result, Terminal by setting preset memory as Data Migration is conducive to be lifted at the safety that Data Migration is carried out when dilatation Property.
Detailed description of the invention
It, below will be to required in embodiment description in order to illustrate more clearly of the technical solution of embodiment of the present invention The attached drawing used is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for this For the those of ordinary skill of field, without creative efforts, it can also be obtained according to these attached drawings others Attached drawing.
Fig. 1 is the flow chart of the system control method of first embodiment of the invention;
Fig. 2 is the flow chart of the system control method of second embodiment of the invention;
Fig. 3 is the flow chart of the system control method of third embodiment of the invention;
Fig. 4 is the illustrative functional block diagram of the system control device of an embodiment of the present invention;
Fig. 5 is the illustrative structural schematic diagram of the computer of an embodiment of the present invention.
Main element symbol description
The present invention that the following detailed description will be further explained with reference to the above drawings.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real Applying mode, the present invention will be described in detail.It should be noted that in the absence of conflict, presently filed embodiment and reality The feature applied in mode can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, described embodiment Only some embodiments of the invention, rather than whole embodiments.Based on the embodiment in the present invention, this field Those of ordinary skill's every other embodiment obtained without making creative work, belongs to guarantor of the present invention The range of shield.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Fig. 1 is the flow chart of the system control method of first embodiment of the invention.It should be noted that embodiment party of the present invention The system control method of formula is not limited to step and sequence in flow chart shown in FIG. 1.Shown according to different requirements, Step in flow chart can increase, remove or change sequence.
The system control method of present embodiment can be applied to server system, and the server system is using cluster mould The server system that formula is built.
As shown in Figure 1, the system control method of present embodiment may include following steps:
Step 101: using storage information of the default assessment models to destination server cluster be changed trend analysis with Obtain the destination server cluster estimates dilatation data, wherein the default assessment models are according to the server system The Trend Prediction model that the record data of system are established;It is described estimate dilatation data include at least estimate the dilatation time.
In present embodiment, the server system may include multiple cluster of servers, and wherein have dilatation possibility Cluster of servers can be used as the destination server cluster.
In present embodiment, the default assessment models can be for according to the server of the current institute's cluster of the server system The Trend Prediction model established of relative recording data, the relative recording data may include reflecting that destination server cluster is deposited The data for storing up space accounting, volume change situation and/or volume change speed etc., may particularly include in day, week, the moon, season, year Memory space service condition under equal chronomeres.The Trend Prediction model may include Trend Prediction curve and currently stored appearance Reference line is measured, and two components of each data point on the Trend Prediction curve can correspond to the respectively time and storage is held Amount can be reflected by the data point and the displaying of the positional relationship of memory capacity reference line to the mesh to a certain extent The memory for marking cluster of servers carries out the time urgency of dilatation.
It is understood that it is described estimate the dilatation time can in the current storage capacity reference line and the trend it is pre- Estimate the time component of the data point at curve intersection position.
In present embodiment, the dilatation data of estimating may also include and estimate in addition to estimating the dilatation time described in including Capacity of expansion correspondingly may also include the dilatation amount for increasing delta data according to capacity and establishing in the default assessment models Estimate curve, and the dilatation amount estimates two components of each data point on curve can correspond to respectively time and dilatation Amount, wherein the component time can be corresponding with the time in the Trend Prediction curve.
It is understood that default assessment models herein can also calculate output model for one, by inputting correlation values Dilatation data are estimated described in directly obtaining.
It is understood that it is described estimate the dilatation time can for suggest server manage personnel carry out in advance dilatation when Between.
In present embodiment, the storage information for obtaining the destination server cluster can be by holding in the server system The disk space service condition that row shell script detects each back end is completed.
Step 102: if the system time of the server system in the preset range for estimating the dilatation time, root The output dilatation prompt of dilatation data is estimated according to described.
In present embodiment, before the system time for obtaining the server system, also linked using default time service Synchronization is updated to the system time of server system, to improve the accuracy of the runing time of server system.
In present embodiment, before the preset range for estimating the dilatation time can be for the data point at intersection location above-mentioned The first pre-determined distance to intersection location above-mentioned at be formed by time interval between the second pre-determined distance before data point.It answers When understanding, first pre-determined distance and second pre-determined distance are unequal.
It is understood that the preset range for estimating dilatation time suggestion server control personnel relatively above-mentioned mention The preceding time for carrying out dilatation can be to suggest server according to factors such as the operating status of the server system or service states Control personnel execute the preferred time of dilatation movement.
In present embodiment, the dilatation prompt may include characterizing the destination server cluster need at the appointed time carry out The prompt information of dilatation and/or dilatation designated capabilities.And the output dilatation prompt may include much information prompting mode, such as:
It is prompted in the specified control interface display dilatation of server system;Or
Prompt information relevant to dilatation is sent to designated terminal;Or
It is shown for managing sound and/or the optical information of personal identification.
In present embodiment, after getting the storage information of destination server cluster, using default assessment models to institute The storage information for stating destination server cluster is changed trend analysis, estimates expansion to obtain the destination server cluster Hold data, and it is described estimate dilatation data include at least estimate the dilatation time.Thereafter, in the system time of server system in institute When stating in the preset range for estimating the dilatation time, the output dilatation prompt of dilatation data is estimated according to described, to be conducive to service The control personnel of device system in time to the destination server cluster carry out dilatation, and then reduce server system because of dilatation not Lead to the acquisition data of big data and the risk of storing data loss in time.
Fig. 2 is the flow chart of the system control method of second embodiment of the invention, the second embodiment and the The main distinction of one embodiment is that second embodiment includes judging the destination server cluster with the presence or absence of newly-increased The step of subcluster.It should be noted that being suitable for first embodiment in the range of spirit or essential attributes of the invention In each concrete scheme can also be accordingly suitable for second embodiment, for the sake of saving space and avoiding repetition, herein Just repeat no more.
System control method as shown in Figure 2, applies equally in server system.As shown in Fig. 2, the system control Method may include steps of:
Step 201: using storage information of the default assessment models to destination server cluster be changed trend analysis with Obtain the destination server cluster estimates dilatation data, wherein the default assessment models are according to the server system The Trend Prediction model that the record data of system are established;It is described estimate dilatation data include at least estimate the dilatation time.
Step 202: if the system time of the server system in the preset range for estimating the dilatation time, root The output dilatation prompt of dilatation data is estimated according to described.
Step 203: judging that the destination server cluster whether there is newly-increased subcluster.
In present embodiment, the destination server cluster may include multiple subclusters, and when there is newly-increased subcluster, I.e. it is believed that the destination server cluster completes the physical connection of initial dilatation.
In present embodiment, the judgement destination server cluster whether there is newly-increased subcluster can be by cluster Whether the mode that port is detected is realized, can be also newly-increased test data packet by the test data packet that judgement receives Mode is realized.The corresponding mode that cluster ports are detected, when the cluster ports detect new access signal, Judge that the destination server cluster has newly-increased subcluster;Whether the test data packet that the corresponding judgement receives is new The mode of the test data packet of increasing judges institute when the test data received includes the test data packet to increase newly It states destination server cluster and there is newly-increased subcluster.
Step 204:, will be former with the destination server cluster if the destination server cluster has newly-increased subcluster At least one data collection client of some subcluster connections is switched to be connected with the default subcluster in the newly-increased subcluster It connects.
In present embodiment, the data collection client is the client for acquiring big data, is adopted in the data When collection client is connect with the default subcluster in the newly-increased subcluster, it can be deposited by the memory of the default subcluster Storage passes through the collected data of the data collection client.
In present embodiment, realizing newly subgroup can be increased to destination server cluster on the basis of first embodiment After collection, switched by least one data collection client that will be connect with the original subcluster of destination server cluster To be connect with the default subcluster in the newly-increased subcluster, to realize newly-increased default subcluster and at least one in time The data connection of a data collection client, and then be conducive to control personnel and complete dilatation, and data when relative reduction dilatation Security risk.
It is understood that the default subcluster be one can relatively independent work cluster, thus after dilatation, institute State the original subcluster of destination server cluster can not have to the data of acquisition are migrated, thus can relative reduction data expanding The probability lost during appearance.
In present embodiment, can also state-detection be carried out to the subcluster of the destination server cluster, when the target In the subcluster of cluster of servers comprising in malfunction subcluster when, can by with the subcluster in malfunction The data collection client of connection is switched to be connect with the subcluster in normal operating condition, is conducive to the target clothes with this Device cluster of being engaged in utilizes the probability of data collection client loss of data collected.
It is understood that the test of each subcluster of the destination server cluster can be obtained by predeterminated frequency Data packet, by being analyzed the test data packet to judge that subcluster is currently at malfunction still for normal fortune Row state.
Fig. 3 is the flow chart of the system control method of third embodiment of the invention, and the third embodiment is with before The main distinction for stating each embodiment is that third embodiment includes that Data Migration request is received during dilatation When, the step into preset memory is written using the child node migrating data of subcluster to be migrated.It should be noted that at this In the range of the spirit or essential attributes of invention, each concrete scheme suitable for the first, second embodiment can also be corresponding Suitable for third embodiment, for the sake of saving space and avoiding repetition, details are not described herein again.
System control method as shown in Figure 3, applies equally in server system.As shown in figure 3, the system control Method may include steps of:
Step 301: using storage information of the default assessment models to destination server cluster be changed trend analysis with Obtain the destination server cluster estimates dilatation data, wherein the default assessment models are according to the server system The Trend Prediction model that the record data of system are established;It is described estimate dilatation data include at least estimate the dilatation time.
Step 302: if the system time of the server system in the preset range for estimating the dilatation time, root The output dilatation prompt of dilatation data is estimated according to described.
Step 303: when receiving Data Migration request during dilatation, will be migrated using the child node of subcluster to be migrated Data are written into preset memory.
It, can be to destination server after the server system completes port connection physically in present embodiment Partial data in cluster is migrated.
It is understood that the Data Migration request can be issued by the destination server cluster.
Step 304: the child node of control target subcluster reads phase from the preset memory by default distribution policy Simultaneously the migrating data is written into the memory of the target subcluster for the migrating data answered.
It is understood that the target subcluster and the subcluster to be migrated include an at least host node and a son Node.
In present embodiment, when receiving Data Migration request, migration can be passed through on the basis of first embodiment The child node migrating data of subcluster is written into preset memory, and thereafter, the child node of control target subcluster is by default point Hair strategy reads corresponding migrating data from the preset memory and the migrating data is written to the target subgroup In the memory of collection, as a result, by terminal of the setting preset memory as Data Migration, when being conducive to be lifted at dilatation into The safety of row Data Migration.
In present embodiment, received during dilatation Data Migration request when, will the data backup to be migrated extremely to Migrate the host node of subcluster.
In present embodiment, if the migrating data that the child node of the target subcluster is read from the preset memory Including precedence information, then sequentially the corresponding migrating data is written to the target subgroup according to the precedence information It concentrates.
In present embodiment, in the migrating data that the child node of the target subcluster is read from the preset memory When including precedence information, sequentially corresponding migrating data can be also written to target subcluster according to the precedence information In, the transfer to critical data can be fast implemented with this.
Fig. 4 is the illustrative functional block diagram of the system control device of an embodiment of the present invention.As shown in figure 4, being System control device 100 can be used for after getting the storage information of destination server cluster, using default assessment models to described The storage information of destination server cluster is analyzed, and estimates dilatation data to obtain the destination server cluster, and It is described estimate dilatation data include at least estimate the dilatation time.Thereafter, expansion is estimated described in the system time of server system When holding in the preset range of time, the output dilatation prompt of dilatation data is estimated according to described, to be conducive to server system Control personnel carry out dilatation to the destination server cluster in time, and then reduce server system because dilatation causes not in time The risk that the acquisition data and storing data of big data are lost.
System control device 100 of the invention may include one or more modules, and one or more of modules can be with Be stored in the memory of computer and may be configured to by one or more processors (present embodiment be one processing Device) it executes, to complete the present invention.For example, as shown in figure 4, the system control device 100 may include analysis module 11, it is defeated Module 12, writing module 13, control module 14, backup module 15 and switching module 16 out.The so-called module of the present invention can be The program segment for completing a specific function, the implementation procedure than program more suitable for description software in the processor.
It should be noted that each embodiment of corresponding above system control method, system control device 100 may include Part or all in each functional module shown in Fig. 4, the function of each module will introduced in detail below.System above control Identical noun related terms and its specific explanation are readily applicable to following to each in each embodiment of method processed The function introduction of module.For the sake of saving space and avoiding repetition, details are not described herein again.
Fig. 5 is the illustrative structural schematic diagram of the computer of an embodiment of the present invention.Calculating provided in this embodiment Machine 1 includes: processor 10, memory 20 and is stored in the meter that can be run in the memory 20 and on the processor 10 Calculation machine program, such as system control program.When the processor 10 executes the computer program, above-mentioned each system control is realized Step in method implementation, such as step 101 shown in FIG. 1 is to step 102.Alternatively, the processor 10 execute it is described The function of each module in above-mentioned apparatus embodiment is realized when computer program, such as the analysis module 11 in Fig. 4 is used for mesh The storage information of mark cluster of servers is changed trend analysis and estimates dilatation data with obtain the destination server cluster, The dilatation data of estimating include at least the function of estimating the dilatation time.
The computer 1 can be desktop PC, notebook, palm PC and cloud server etc. and calculate equipment. The computer 1 may include, but be not limited to, processor 10 and memory 20.It will be understood by those skilled in the art that the signal Figure is only example of the present invention for realizing the computer 1 of system control method, does not constitute the restriction to computer 1, can To include perhaps combining certain components or different components, such as the computer 1 than illustrating more or fewer components It can also include input-output equipment, network access equipment, bus etc..
Alleged processor 10 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng the processor 10 is the control centre of the computer 1, utilizes each of various interfaces and the entire computer of connection Part.
The memory 20 can be used for storing the computer program and/or module, the processor 10 by operation or The computer program and/or module being stored in the memory 20 are executed, and calls the data being stored in memory 20, Realize the various functions of the computer 1.The memory 20 can mainly include storing program area and storage data area, wherein Storing program area can application program needed for storage program area, at least one function (for example sound-playing function, image play Function etc.) etc.;Storage data area, which can be stored, uses created data (such as audio data, phone directory etc.) according to mobile phone Deng.It can also include computer storage in addition, memory 20 may include high-speed random access memory, such as hard disk, interior It deposits, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, Flash card (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
The computer 1 may also include system control device 100 as shown in Figure 4, and the system control device 100 can be with It is stored in the memory 20.
Illustratively, the computer program can be divided into one or more modules, one or more of moulds Block is stored in the memory 20, and is executed by the processor 10, to complete the present invention.One or more of modules It can be the series of computation machine program instruction section that can complete specific function, the instruction segment is for describing the computer program Implementation procedure in the computer 1.For example, the computer program can be divided into system control as shown in Figure 3 Device 100, including analysis module 11, output module 12, writing module 13, control module 14, backup module 15 and switching module 16, each module concrete function is as follows:
Analysis module 11 can be used for being changed trend analysis to the storage information of destination server cluster described to obtain Destination server cluster estimates dilatation data, wherein the default assessment models are the record according to the server system The Trend Prediction model that data are established;It is described estimate dilatation data include at least estimate the dilatation time.
Output module 12 can be used for the system time in the server system in the default model for estimating the dilatation time When enclosing interior, the output dilatation prompt of dilatation data is estimated according to described.
Writing module 13 utilizes the son of subcluster to be migrated when can be used for receiving Data Migration request during dilatation Migrating data is written into preset memory node.
Control module 14 can be used for controlling the child node of target subcluster by default distribution policy from the preset memory It is middle to read corresponding migrating data and the migrating data is written into the memory of the target subcluster.
Backup module 15, when can be used for receiving Data Migration request during dilatation, by the data backup to be migrated To the host node of subcluster to be migrated.
Switching module 16 can be used for take with the target when the destination server cluster has newly-increased subcluster At least one data collection client of business device cluster original subcluster connection be switched to it is pre- in the newly-increased subcluster If subcluster connects;
If the integrated module of computer 1 of the present invention is realized in the form of SFU software functional unit and as independent production Product when selling or using, can store in a computer readable storage medium.Based on this understanding, the present invention realizes All or part of the process in above-described embodiment method can also instruct relevant hardware to complete by computer program, The computer program can be stored in a computer readable storage medium, the computer program when being executed by processor, The step of above-mentioned each embodiment of the method can be achieved.Wherein, the computer program includes computer program code, the calculating Machine program code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer Readable medium may include: any entity or device, recording medium, USB flash disk, the movement that can carry the computer program code Hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It needs to illustrate It is that the content that the computer-readable medium includes can be fitted according to the requirement made laws in jurisdiction with patent practice When increase and decrease, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier wave letter Number and telecommunication signal.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims Variation is included in the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.This Outside, it is clear that one word of " comprising " does not exclude other units or steps, and odd number is not excluded for plural number.System, device or computer installation power Multiple units, module or the device stated in benefit requirement can also be passed through software or hard by the same unit, module or device Part is realized.The first, the second equal words are used to indicate names, and are not indicated any particular order.
Embodiment of above is only used to illustrate the technical scheme of the present invention and not to limit it, although referring to the above preferable embodiment party Formula describes the invention in detail, those skilled in the art should understand that, it can be to technical solution of the present invention It modifies or equivalent replacement should not all be detached from the spirit and scope of technical solution of the present invention.

Claims (10)

1. a kind of system control method is applied to server system, which is characterized in that the described method includes:
Trend analysis is changed using storage information of the default assessment models to destination server cluster to obtain the target Cluster of servers estimates dilatation data, wherein the default assessment models are the record data according to the server system The Trend Prediction model of foundation;It is described estimate dilatation data include at least estimate the dilatation time;
If the system time of the server system estimates expansion in the preset range for estimating the dilatation time according to Hold data output dilatation prompt.
2. the system as claimed in claim 1 control method, which is characterized in that estimate the output of dilatation data according to described After dilatation prompt, the method also includes:
Judge that the destination server cluster whether there is newly-increased subcluster;
If the destination server cluster has newly-increased subcluster, will connect with the original subcluster of the destination server cluster At least one data collection client connect is switched to be connect with the default subcluster in the newly-increased subcluster.
3. the system as claimed in claim 1 control method, which is characterized in that the method also includes:
When receiving Data Migration request during dilatation, migrating data is written to pre- using the child node of subcluster to be migrated If in memory;
The child node of control target subcluster reads corresponding migrating data by default distribution policy from the preset memory And the migrating data is written into the target subcluster.
4. system control method as claimed in claim 3, which is characterized in that the method also includes:
When receiving Data Migration request during dilatation, by the main section of the data backup to be migrated to subcluster to be migrated Point.
5. system control method as claimed in claim 3, which is characterized in that the method also includes:
If the migrating data that the child node of the target subcluster is read from the preset memory includes precedence information, Sequentially the corresponding migrating data is written into the target subcluster according to the precedence information.
6. the system as claimed in claim 1 control method, which is characterized in that the method also includes:
State-detection is carried out to the subcluster of the destination server cluster;
If in the subcluster of the destination server cluster failure will be in described comprising the subcluster in malfunction The data collection client of the subcluster connection of state is switched to be connect with place with the subcluster of normal operating condition.
7. the system as claimed in claim 1 control method, which is characterized in that the method also includes:
Synchronization is updated to the system time using default time service link.
8. a kind of system control device, it is applied to server system, which is characterized in that described device includes:
Analysis module, for using default assessment models to the storage information of destination server cluster be changed trend analysis with Obtain the destination server cluster estimates dilatation data, wherein the default assessment models are according to the server system The Trend Prediction model that the record data of system are established;It is described estimate dilatation data include at least estimate the dilatation time;
Output module, when for the system time in the server system in the preset range for estimating the dilatation time, The output dilatation prompt of dilatation data is estimated according to described.
9. a kind of computer, which is characterized in that the computer includes processor and memory, and the processor is deposited for executing The step of system control method as described in any one of claim 1-7 is realized when the computer program stored in reservoir.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of system control method as described in any one of claim 1-7 is realized when being executed by processor.
CN201811161999.2A 2018-09-30 2018-09-30 System control method, device, computer and computer readable storage medium Active CN109298974B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811161999.2A CN109298974B (en) 2018-09-30 2018-09-30 System control method, device, computer and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811161999.2A CN109298974B (en) 2018-09-30 2018-09-30 System control method, device, computer and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109298974A true CN109298974A (en) 2019-02-01
CN109298974B CN109298974B (en) 2023-04-07

Family

ID=65161600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811161999.2A Active CN109298974B (en) 2018-09-30 2018-09-30 System control method, device, computer and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109298974B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115834388A (en) * 2022-10-21 2023-03-21 支付宝(杭州)信息技术有限公司 System control method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391629A (en) * 2017-06-30 2017-11-24 北京奇虎科技有限公司 Data migration method, system, server and computer-readable storage medium between cluster
CN107566172A (en) * 2017-08-29 2018-01-09 郑州云海信息技术有限公司 A kind of Active Management method and system based on storage system
CN108089934A (en) * 2016-11-22 2018-05-29 成都华为技术有限公司 Cluster management method and cluster server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108089934A (en) * 2016-11-22 2018-05-29 成都华为技术有限公司 Cluster management method and cluster server
CN107391629A (en) * 2017-06-30 2017-11-24 北京奇虎科技有限公司 Data migration method, system, server and computer-readable storage medium between cluster
CN107566172A (en) * 2017-08-29 2018-01-09 郑州云海信息技术有限公司 A kind of Active Management method and system based on storage system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115834388A (en) * 2022-10-21 2023-03-21 支付宝(杭州)信息技术有限公司 System control method and device
CN115834388B (en) * 2022-10-21 2023-11-14 支付宝(杭州)信息技术有限公司 System control method and device

Also Published As

Publication number Publication date
CN109298974B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN104598459B (en) database processing, data access method and system
CN107870845A (en) Towards the management method and system of micro services framework applications
CN104461693B (en) Virtual machine update method and system under a kind of desktop cloud computing environment
CN110309058A (en) Business end test method, device, computer installation and computer storage medium
WO2022116424A1 (en) Method and apparatus for training traffic flow prediction model, electronic device, and storage medium
CN109408468A (en) Document handling method and device calculate equipment and storage medium
CN104040535A (en) Custom browser-side spreadsheet functions
CN108255707A (en) Development roles creation method, device, equipment and the storage medium of test case
US9401957B2 (en) System and method for synchronization between servers
CN110928950A (en) Block chain transaction information management method and device, computer equipment and storage medium
CN114356578B (en) Parallel computing method, device, equipment and medium for natural language processing model
WO2015008450A1 (en) Directory service discovery and/or learning
CN103441935A (en) Method and device capable of automatically recognizing adjacency relation between server and access switch
CN110413595A (en) A kind of data migration method and relevant apparatus applied to distributed data base
CN112486491A (en) Page generation method and device, computer equipment and storage medium
US10318343B2 (en) Migration methods and apparatuses for migrating virtual machine including locally stored and shared data
CN109857806B (en) Synchronous verification method and device for database table
CN109271247A (en) Memory Optimize Method, device, computer installation and storage medium
CN110321122A (en) The development approach and relevant device of browser application
CN109298974A (en) System control method, device, computer and computer readable storage medium
CN109634986A (en) System monitoring method, device, computer and computer readable storage medium
CN106550005A (en) Method and apparatus for processing the medium type in REST software architectures
CN106341440A (en) Data updating method and device
CN110795118A (en) Cloud platform upgrading tool and upgrading method
WO2019229082A1 (en) Method and system for handling engineering data in a multi- engineering system environment

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