WO2016197706A1 - Data migration method and device - Google Patents

Data migration method and device Download PDF

Info

Publication number
WO2016197706A1
WO2016197706A1 PCT/CN2016/079915 CN2016079915W WO2016197706A1 WO 2016197706 A1 WO2016197706 A1 WO 2016197706A1 CN 2016079915 W CN2016079915 W CN 2016079915W WO 2016197706 A1 WO2016197706 A1 WO 2016197706A1
Authority
WO
WIPO (PCT)
Prior art keywords
nodes
node
node set
data
initial cluster
Prior art date
Application number
PCT/CN2016/079915
Other languages
French (fr)
Chinese (zh)
Inventor
毛刘刚
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016197706A1 publication Critical patent/WO2016197706A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/563Data redirection of data network streams
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/285Clustering or classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Definitions

  • the present application relates to, but is not limited to, the field of communications, and in particular, to a data migration method and apparatus.
  • each node communication device
  • the service processing capability of the node ensures better network quality. It is necessary to migrate the corresponding configuration data to nodes with fast startup rate and small space utilization, so that the overall communication node service processing is more balanced.
  • a data migration task to be scheduled in each source node is determined according to a quality of service QOS of a source node to a destination node in the network. And sending a scheduling command to the target source node corresponding to the to-be-scheduled data migration task, where the scheduling command is used to schedule the data migration task, which improves data migration efficiency and avoids network congestion, but the method only
  • the "time" factor of quality of service between nodes is used as the criterion for judging the priority of data migration. It does not take into account the "space" factor of storage between nodes, which may lead to excessive storage pressure of some nodes with large space utilization. Reduce the life of your hard drive.
  • a method for calculating an average value of the space utilization ratio of the same type of hard disk is adopted, and space utilization of each hard disk in any one of the storage pools is obtained, and the space of the same type is used.
  • the data in the hard disk having a utilization greater than the average value is migrated to the hard disk in the same type where the space utilization is less than the average value. It reduces the pressure on the hard disk with large data storage capacity and prolongs the service life of the hard disk with large data storage capacity.
  • this method only takes the storage space utilization of the node as the priority judgment criterion for data migration, and does not take care of the storage. The "time" factor of the media object is judged.
  • the main purpose of the present application is to provide a method and an apparatus for migrating data, so as to at least solve the problem of one of the time factors such as space utilization and service quality, such as space utilization and other operational factors during data migration in the related art. .
  • a data migration method including: acquiring a startup rate of a plurality of nodes in a communication network and a storage space utilization ratio of the plurality of nodes; according to a preset rule, the startup rate, and The storage space utilization classifies the priorities of the multiple nodes to obtain a set of nodes classified according to priorities; and migrates data between the set of nodes according to priorities.
  • the step of acquiring a startup rate of the multiple nodes in the communication network and the storage space utilization of the multiple nodes includes: acquiring a time difference between a power-on time and a normal running time of the multiple nodes, where And using the time difference as a startup rate of the multiple nodes; acquiring a proportion of a space size of all files in the storage space of the multiple nodes to a total space size, and using the specific gravity as the storage space rate.
  • the step of classifying the priorities of the multiple nodes according to the preset rule, the startup rate, and the storage space utilization, and obtaining the node set classified according to the priority includes: Generating the plurality of node feature vectors by using the startup rate and the storage space utilization; classifying the priorities of the plurality of feature vectors by cluster analysis, and dividing the plurality of nodes according to the result of the cluster analysis A first node set and a second node set, wherein the nodes in the first node set have a higher priority than the nodes in the second node set.
  • the step of classifying the priorities of the multiple feature vectors by cluster analysis, and dividing the multiple nodes into the first node set and the second node set according to the result of the cluster analysis includes Presetting a feature vector of the first initial cluster center and the second initial cluster center, wherein the first initial cluster center belongs to the first node set, and the second initial cluster center belongs to the first a two-node set; obtaining a distance value between a feature vector of the plurality of nodes and a feature vector of the first initial cluster center and the second initial cluster center; respectively, according to the distance value and the closest distance a matching principle, the plurality of nodes are allocated to the first node set or the second node set that are closer to each other; and all nodes in the first node set are acquired relative to the first initial cluster a distance average of the center, and obtaining a distance average of all nodes in the second node set relative to the second initial cluster center, and adjusting the first initial cluster center or the initial according to the distance mean respectively The second initial cluster center.
  • the step of migrating data between the set of nodes according to the priority includes: migrating data to be migrated of the migrating node in the second set of nodes to the migrating node of the first set of nodes.
  • the method further includes: when the system of the migrating node needs to access the migrated data, The migrated data in the migrated node is restored to the migrated node.
  • the application further provides a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
  • a data migration apparatus including: an acquisition module configured to acquire a startup rate of a plurality of nodes in a communication network and a storage space utilization ratio of the plurality of nodes; a classification module, setting Sorting the priorities of the multiple nodes according to a preset rule, the startup rate, and the storage space utilization, and obtaining a node set classified according to the priority; the migration module is set to be based on the priority, The data is migrated between the set of nodes.
  • the acquiring module includes: a first acquiring unit, configured to acquire a time difference between a power-on time and a normal running time of the multiple nodes, and use the time difference as a starting rate of the multiple nodes
  • the second obtaining unit is configured to obtain a proportion of a space size of all files in the storage space of the plurality of nodes to a total space size, and use the specific gravity as the storage space utilization rate.
  • the classification module includes: a generating unit, configured to generate the multiple node feature vectors according to the startup rate and the storage space utilization rate; and a classification unit configured to perform the multiple The priority of the feature vector is classified, and the plurality of nodes are divided into a first node set and a second node set according to a result of the cluster analysis, wherein the nodes in the first node set have higher priority than the first node set The priority of the nodes in the second set of nodes.
  • the classification unit includes: a preset subunit, configured to preset in the first initial cluster a feature vector of the heart and the second initial cluster center, wherein the first initial cluster center belongs to the first node set, the second initial cluster center belongs to the second node set; and the subunit is acquired And configured to obtain a distance value between the feature vector of the plurality of nodes and the feature vector of the first initial cluster center and the second initial cluster center respectively; the allocation subunit is configured to be allocated according to the distance value and the closest distance
  • the plurality of nodes are allocated to the first node set or the second node set that are closer to themselves;
  • the adjusting subunit is configured to acquire all nodes in the first node set relative to the a distance average of the first initial cluster center, and obtaining a distance average of all nodes in the second node set relative to the second initial cluster center, and respectively adjusting the first initial cluster according to the distance mean Center or the initial second initial cluster center.
  • the priority of multiple nodes is classified according to a preset rule, a startup rate, and a storage space utilization, and a node set classified according to priority is obtained, and is migrated between the node sets according to the priority.
  • the data that is, the startup rate and the storage space utilization ratio of the nodes in the communication network are combined in the present application, and the data between the nodes is migrated in a priority manner, and the related art only considers the data migration when performing data migration.
  • the problem of one of the time factors such as space utilization or service efficiency of service quality, and thus the effect of improving system efficiency.
  • FIG. 1 is a flowchart of a method of migrating data according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of a data migration apparatus according to an embodiment of the present invention.
  • FIG. 3 is a block diagram showing an optional structure of an obtaining module 22 of a data migration apparatus according to an embodiment of the present invention
  • FIG. 4 is a block diagram 1 of an optional structure of a classification module 24 of a data migration apparatus according to an embodiment of the present invention
  • FIG. 5 is an optional structural block of the classification module 24 of the data migration apparatus according to an embodiment of the present invention.
  • FIG. 6 is a block diagram 1 of an optional structure of a data migration apparatus according to an embodiment of the present invention.
  • FIG. 7 is a block diagram showing the structure of a multipoint priority data migration apparatus according to an alternative embodiment of the present invention.
  • FIG. 8 is a flowchart of a multi-point priority data migration method in accordance with an alternative embodiment of the present invention.
  • FIG. 9 is a flow chart of clustering analysis of a communication node in accordance with an alternative embodiment of the present invention.
  • FIG. 10 is a schematic diagram of migration data backup and recovery in accordance with an alternate embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for migrating data according to an embodiment of the present invention. As shown in FIG. 1, the steps of the method include:
  • Step S102 Acquire a startup rate of multiple nodes in the communication network and a storage space utilization ratio of the multiple nodes.
  • Step S104 classify the priorities of the multiple nodes according to a preset rule, a startup rate, and a storage space utilization, and obtain a node set classified according to the priority;
  • Step S106 migrating data between the node sets according to the priority.
  • the priority of the multiple nodes is classified according to the startup rate and the storage space utilization by using a preset rule, and the node set classified according to the priority is obtained, and the priority is determined according to the priority.
  • the data is migrated between the node sets, that is, in this embodiment, the startup rate and the storage space utilization rate of the nodes in the communication network are combined, and the data is migrated between the nodes according to the priority, and the migration data in the related art is solved.
  • the time factor such as space utilization or service quality operation efficiency is considered, and the effect of improving system efficiency is achieved.
  • the method of obtaining the startup rate of the multiple nodes in the communication network and the storage space utilization ratio of the multiple nodes in the step S102 of the embodiment may be implemented by the following steps in the optional implementation manner of the embodiment:
  • Step S11 Obtain a time difference between a power-on time and a normal running time of the multiple nodes, and use the time difference as a starting rate of the multiple nodes.
  • Step S12 Acquire the proportion of the space size of all files in the storage space of the plurality of nodes to the total space size, and use the specific gravity as the storage space utilization rate.
  • the startup rate and the storage space utilization involved in the foregoing step S11 and the step S12 may be:
  • the startup rate of the node is 5 minutes.
  • the node space utilization is 50%.
  • the priority of the multiple nodes is classified according to the startup rate and the storage space utilization by using a preset rule, and the node set classified according to the priority is obtained.
  • a preset rule a preset rule
  • Step S22 Generate multiple node feature vectors according to the startup rate and the storage space utilization rate
  • Step S23 classifying the priorities of the plurality of feature vectors by cluster analysis, and dividing the plurality of nodes into a first node set and a second node set according to a result of the cluster analysis, wherein the first node The nodes in the set have a higher priority than the nodes in the second set of nodes.
  • the priority of the plurality of feature vectors is classified by cluster analysis, and the plurality of nodes are divided into a first node set and a second node set according to the result of the cluster analysis.
  • Step S31 Presetting the feature vectors of the first initial cluster center and the second initial cluster center, wherein the first initial cluster center belongs to the first node set, and the second initial cluster center belongs to the second node set;
  • Step S32 acquiring feature vectors of the plurality of nodes and the first initial cluster center and the first The distance value between the feature vectors of the two initial cluster centers;
  • Step S33 assigning a plurality of nodes to the first node set or the second node set that are closer to each other according to the distance value and the nearest distance allocation principle;
  • Step S34 Acquire a distance average value of all nodes in the first node set relative to the first initial cluster center, and obtain a distance average value of all nodes in the second node set relative to the second initial cluster center, and adjust according to the distance average value respectively.
  • an application scenario in this embodiment may be:
  • the obtained pattern feature vector is used as the input of the unit for cluster analysis. First, the distance between each feature vector is counted. The distance between the node x i and the node x j is expressed as follows:
  • K initial cluster centers are selected.
  • the sample x i in the sample set is assigned to the nearest neighbor cluster z j according to the principle of minimum distance, which can be expressed as follows:
  • the step of migrating data between the node sets includes: migrating the data to be migrated of the migrating node in the second node set to the migrating node of the first node set.
  • the method in this embodiment further includes: the system in the migrating node needs to access When the data is migrated, the data moved in the moved node is restored to the evicted node.
  • Embodiments of the present invention further provide a computer readable storage medium storing a computer executable The instructions, when the computer executable instructions are executed, implement the above method.
  • a data migration device is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
  • the term “module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • the apparatus includes: an acquisition module 22 configured to acquire a startup rate of a plurality of nodes in a communication network and the plurality of nodes.
  • the classification module 24 is coupled to the acquisition module 22, and is configured to classify the priorities of the multiple nodes according to the preset rules, the startup rate, and the storage space utilization, and obtain the node sets classified according to the priority.
  • the migration module 26 is coupled to the classification module 24 and configured to migrate data between sets of nodes in accordance with priority.
  • FIG. 3 is a block diagram showing an optional structure of the acquiring module 22 of the data migration apparatus according to the embodiment of the present invention.
  • the obtaining module 22 includes: a first obtaining unit 32 configured to obtain power-on of multiple nodes. The time difference between the time and the normal running time, and the time difference is used as the starting rate of the plurality of nodes; the second obtaining unit 34 is configured to obtain the space size of all the files in the storage space of the plurality of nodes. The proportion of the size of the space, and the specific gravity as the storage space utilization.
  • the classification module 24 includes: a generation unit 42 configured to be based on a startup rate and a storage space utilization rate. Generating a plurality of node feature vectors; the classifying unit 44 is coupled to the generating unit 42 and configured to classify the plurality of feature vectors by cluster analysis, and divide the plurality of nodes according to the result of the cluster analysis. The first node set and the second node set, wherein the nodes in the first node set have higher priority than the node priority in the second node set.
  • FIG. 5 is a block diagram 2 of an optional structure of a classification module 24 of a data migration apparatus according to an embodiment of the present invention.
  • the classification unit 44 includes: a preset subunit 52 configured to preset a first initial aggregation.
  • the obtaining sub-unit 54, and the preset sub-unit 52 a coupling connection, configured to acquire feature vectors of the plurality of nodes and first a distance value between the feature vector of the initial cluster center and the second initial cluster center;
  • the assigning subunit 56 is coupled with the obtaining subunit 54 and configured to allocate the plurality of nodes according to the distance value and the nearest distance allocation principle.
  • the adjusting subunit is coupled to the assigning subunit 56, configured to obtain a distance average of all nodes in the first node set relative to the first initial cluster center, and obtain The distance between all nodes in the second node set relative to the second initial cluster center is averaged, and the first initial cluster center or the initial second initial cluster center is respectively adjusted according to the distance mean.
  • the migration module 26 is further configured to migrate the data to be migrated of the migrated node in the second node set to the migrated node of the first node set.
  • FIG. 6 is a block diagram of an optional structure of a data migration apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus further includes: a recovery module 62 coupled to the migration module 26 and configured to be required by the system of the migration node. When accessing the migrated data, the migrated data in the migrated node is restored to the migrated node.
  • a recovery module 62 coupled to the migration module 26 and configured to be required by the system of the migration node.
  • the present invention provides a multi-point priority data migration method and apparatus.
  • the configuration data with low priority weight can be migrated based on the comprehensive consideration of the time factor and the spatial factor of the communication node.
  • the node with low priority weight effectively integrates system resources and improves the overall service processing capability of the communication node.
  • FIG. 7 is a structural block diagram of a multi-point priority data migration apparatus according to an alternative embodiment of the present invention.
  • the apparatus includes: a data pre-processing module (the acquisition module 22 and the classification module 24 in the foregoing embodiment). a data backup module (corresponding to the migration module 26 in the above embodiment) and a data recovery module (corresponding to the recovery module 62 in the above embodiment), wherein the data preprocessing module includes: a statistical startup rate unit ( Corresponding to the first acquisition unit 32), the statistical space utilization unit (corresponding to the second acquisition unit 34 in the above embodiment), the mode feature processing unit (corresponding to the generation unit 42 of the above embodiment), and the right in the above embodiment.
  • a value priority processing unit (corresponding to the classification unit 44 in the present embodiment described above).
  • FIG. 8 is a flowchart of a multi-point priority data migration method according to an alternative embodiment of the present invention. Based on the module of the apparatus in FIG. 7, the steps of the method shown in FIG. 8 include:
  • Step S802 number each node in the communication network layout as a subsequent pattern clustering Collection of pattern samples
  • Step S804 Counting the startup rate of each node in the communication network layout
  • Step S806 Counting the space utilization rate of the memory card of each node in the communication network layout
  • Step S808 Taking the startup rate and the space utilization rate of each node as the classification feature vector of the node;
  • Step S810 Perform cluster analysis on feature vectors of each node, and classify the sample set of the communication node into two categories: high and low data migration priority weights;
  • Step S812 The configuration data of the corresponding node with a lower priority weight is migrated to the classification node with a higher priority weight.
  • step S804 includes: calculating, by using a statistical start rate unit, a difference between a power-on time and a normal running time of each node in the communication layout as a startup rate of the node.
  • step S806 includes: obtaining a space utilization ratio of the node by using a ratio of a space size of all files of the memory card of each node calculated by the space utilization unit to a total space size.
  • step S808 includes: using a value obtained by each node statistical start rate unit and a statistical space utilization unit as a priority processing unit by the mode feature processing unit to obtain a corresponding mode feature vector.
  • step S810 includes: performing cluster analysis on the pattern feature vectors of the respective nodes by using the weight priority processing unit to obtain two sets of high priority weights and low priority weights. .
  • step S804 to step S810 optionally,
  • Step S804 includes: counting the power-on time of each node in the communication network layout and the time after the node is working normally by using the statistical start rate unit, and using the power-on time and the normal working time as the input of the statistical start rate unit, and outputting the node as the corresponding Start rate.
  • Step S806 includes: counting the size of all the files of the memory cards of each node in the communication network layout and the total capacity of the memory card by using the statistical space utilization unit, and using all the file sizes and the total capacity of the memory card as the statistical space utilization unit.
  • Input, output is the corresponding empty space of the node Utilization rate.
  • Step S808 includes: passing, by the mode feature processing unit, an output of the statistical start rate unit and an output of the statistical space utilization unit as an input of the mode feature processing unit, and the output of the mode feature processing unit is a mode feature vector of the corresponding node.
  • Step S810 includes: inputting, by the weight priority processing unit, an output of the pattern feature processing unit as a weight priority processing unit, and processing, by the unit, the output of the weight priority processing unit is a priority weight and priority Two sets of low-level nodes.
  • the processing method of the weight priority processing unit includes:
  • the utilization rate is large and the startup rate of the node is low.
  • An initial cluster center is determined for the two classification sets respectively, the sample nodes are allocated to the nearest cluster set according to the nearest distance allocation principle, and the sample mean of each cluster set is used as the new cluster center. Repeat the above steps so that the cluster centers of the two cluster sets no longer change. If the last sample points are the same distance from the two cluster centers, then the sample points are removed, indicating that the node does not need data migration. . Finally, two cluster sets with corresponding priority weights and low priority weights are obtained.
  • FIG. 9 is a flowchart of performing cluster analysis on a communication node according to an alternative embodiment of the present invention. As shown in FIG. 9, the steps of the process include:
  • Step S902 obtaining a feature vector of the mode sample
  • Step S904 Heuristically selecting initial values of two cluster centers
  • Step S906 each data point is classified into a classification to which the cluster center closest to it belongs;
  • Step S908 Calculate a new cluster center of each category
  • Step S910 determining whether the cluster center changes, and determining that there is no change, executing step S906, determining that there is a change, executing step S912;
  • Step S912 The node set is divided into two categories according to the weight of the priority.
  • step S812 The method steps involved in the foregoing step S812 in the present embodiment involving performing backup by the data backup module include:
  • Step S41 determining, according to the output of the data migration pre-processing unit, that is, the classification set of the two nodes, the data migration node and the data migration node;
  • Step S42 determining basic configuration data to be migrated by the data migration node and a storage path of the data to be migrated;
  • Step S43 determining the IP address of the node where the data is moved into the node, the slot number of the rack, and the disk storage path of the migrated data;
  • Step S44 The corresponding basic configuration data in the source node (the node where the data is migrated) is migrated to the corresponding storage path of the destination node (the node into which the data is moved).
  • the data recovery method of the data migration may be implemented by using the data recovery module in the optional embodiment, and the method includes:
  • Step S51 determining the source node IP address of the data migration, the slot number of the rack, and the storage path of the data;
  • Step S52 determining an IP address of the data migration destination node, a slot number of the rack, and a storage path of the data;
  • Step S53 When the system of the data migration node needs to access the migrated configuration data, the corresponding configuration data in the node where the data is migrated is restored to the node where the data is moved out.
  • FIG. 10 is a schematic diagram of migration data backup and recovery according to an alternative embodiment of the present invention.
  • the priority weight of the node is determined according to the node startup rate and the storage space utilization, and the node basic configuration data with the lower priority weight is set. It is migrated to a node with a higher priority weight. This method not only improves the service life of the memory of a node with a large storage capacity, but also improves the system efficiency.
  • the data migration method provided in this alternative embodiment is applied to the communication network layout.
  • Each node in the communication network layout may be a communication board, and the migrated storage unit is a memory card in the board.
  • the data migration method includes the following steps:
  • Step S61 numbering each node in the communication network layout
  • n nodes in the communication network layout can be expressed as follows:
  • Step S62 the rate of starting the node is counted by the statistics start rate unit
  • the startup rate of the node is 5 minutes.
  • the statistical start rate unit may be a program running by the node. If the node power-on time is t i1 , when the node is put into normal operation and the corresponding working time t i2 is counted again, the startup rate of the node x i may be expressed as follows. :
  • Step S63 collecting the space utilization rate of the node memory card by using the statistical space utilization unit
  • the space utilization rate of the node is 50%.
  • the statistical space utilization unit can be used as a program running in the node. If the file size of the memory card in the node is s 1 and the total storage capacity of the node is s 2 , the storage space utilization of the node can be expressed as follows:
  • a feature vector pattern node x i may be expressed as follows:
  • Step S64 the priority weight processing unit performs cluster analysis on the mode feature vector obtained by the mode feature processing unit as an input of the unit;
  • the distance between each feature vector is first counted, and the distance between the node x i and the node x j is expressed as follows:
  • Step S65 selecting K initial cluster centers according to clustering criteria of priority weights
  • the sample x i in the sample set is assigned to the nearest neighbor cluster z j according to the principle of minimum distance, which can be expressed as follows:
  • step S66 using the distance average of the samples in each cluster relative to the initial cluster center as the new cluster center, step S64 and step S65 are repeated until the cluster center point of the sample center does not change.
  • the classification with high priority is characterized by high node space utilization and slow node startup rate.
  • the classification feature with low priority weight is low node space utilization and node startup. The rate is fast.
  • Step S67 The data backup unit migrates the data migrated out of the set and the data migration set by the data migration preprocessing module to perform corresponding backup;
  • the IP address of the node where the data is migrated is determined.
  • the board in the communication node is the same as the standby board and the standby board.
  • the IP address is the same. You need to continue to determine the slot number of the rack. Based on the IP address and the slot number, a node where data is migrated can be determined, and then the data migration unit of the data migration node is determined, and the storage path of the migration data is counted. For example, if the IP address is 192.100.90.1 and the slot number is 2, the basic data in the storage path /home/sd is migrated out.
  • Step S68 determining an IP address, a slot number, and a data storage path of the data moving into the node
  • the data migration node IP address is 192.100.90.3
  • the destination node slot number is 1
  • the data migration path is /home/sd/bak.
  • Step S69 the corresponding configuration data of the data migration node is migrated to the storage location corresponding to the corresponding storage path of the data migration node through the network;
  • the IP address is 192.100.90.1 and the slot number is 2
  • the data in the /home/sd directory is migrated to the IP address of 192.100.90.3 and the slot number is 1.
  • Step S70 When the system of the data migration node needs to access the migrated configuration data, the data recovery process is triggered;
  • the IP address of the source node and the destination node, the slot number of the rack, and the storage path of the data unit are first restored.
  • step S71 the corresponding configuration data in the node where the data is moved is restored to the node where the data is moved out.
  • the configuration data of the storage path is /home/sd/bak is restored to the IP address of 192.100.90.1 and the storage path of the node with slot number 2 is / The storage location corresponding to home/sd.
  • a storage medium is further provided, wherein the software includes the above-mentioned software, including but not limited to: an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
  • modules or steps of the present application can be implemented by a general computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device for execution by the computing device and, in some cases, may be performed in a different order than herein.
  • the steps shown or described are either made separately into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the application is not limited to any particular combination of hardware and software.
  • each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
  • Embodiments of the invention are not limited to any particular form of hardware and The combination of software.
  • the startup rate, and the storage space utilization the priorities of the multiple nodes are classified, the node sets classified according to the priority are obtained, and the data is migrated between the node sets according to the priority, that is, in the present
  • the application combines the startup rate and storage space utilization of nodes in the communication network, and migrates data between nodes in a priority manner, which solves the space in the related art when only data utilization is considered.
  • the problem of one of the factors such as factors or service quality operation efficiency, and thus the effect of improving system efficiency.

Abstract

A data migration method and device. The method comprises: acquiring a start rate of a plurality of nodes in a communication network and a storage space utilization rate of the plurality of nodes; classifying the priority of the plurality of nodes according to a preset rule, the start rate and the storage space utilization rate, so as to obtain node sets classified according to the priority; and migrating data between the node sets according to the priority. By means of the solution, the problem in the relevant art that only one aspect of a space factor such as a space utilization rate or a time factor such as a service quality operation rate is taken into consideration is solved, thereby achieving the effect of improving the system efficiency.

Description

数据的迁移方法及装置Data migration method and device 技术领域Technical field
本申请涉及但不限于通信领域,特别是一种数据的迁移方法及装置。The present application relates to, but is not limited to, the field of communications, and in particular, to a data migration method and apparatus.
背景技术Background technique
随着通信技术的飞速发展,通信网络布局中的各个节点(通信设备)的业务量越来越大,虽然大容量、高性能的通信设备不断的出现,但为了合理地利用资源,提升各个通信节点的业务处理能力,保证更好的网络质量,需要将相应的配置数据迁移到启动速率快、空间利用率小的节点,这样使得整体的通信节点业务处理更加的均衡。With the rapid development of communication technology, the traffic of each node (communication device) in the communication network layout is getting larger and larger. Although large-capacity and high-performance communication devices are constantly appearing, in order to rationally utilize resources, each communication is improved. The service processing capability of the node ensures better network quality. It is necessary to migrate the corresponding configuration data to nodes with fast startup rate and small space utilization, so that the overall communication node service processing is more balanced.
相关技术中有较多数据迁移方法,例如,在一种相关技术的方案中,采用了根据网络中源节点至目的节点的服务质量QOS,确定所述各源节点中待调度的数据迁移任务;向所述待调度的数据迁移任务对应的目标源节点下发调度命令,所述调度命令用于对所述数据迁移任务进行调度,该方法可提高数据迁移效率,避免网络拥塞,但该方法仅仅从节点间的服务质量这个“时间”因素来作为数据迁移优先级判断准则,没有兼顾节点间存储的“空间”因素来判断,有可能会导致某些空间利用率大的节点存储压力过大,降低硬盘的使用寿命。There are a plurality of data migration methods in the related art. For example, in a related art solution, a data migration task to be scheduled in each source node is determined according to a quality of service QOS of a source node to a destination node in the network. And sending a scheduling command to the target source node corresponding to the to-be-scheduled data migration task, where the scheduling command is used to schedule the data migration task, which improves data migration efficiency and avoids network congestion, but the method only The "time" factor of quality of service between nodes is used as the criterion for judging the priority of data migration. It does not take into account the "space" factor of storage between nodes, which may lead to excessive storage pressure of some nodes with large space utilization. Reduce the life of your hard drive.
在另一种相关技术的方案中,采用了计算同种类型的硬盘的空间利用率的平均值的方法,获取任意一个存储池中每个硬盘的空间利用率,将所述同种类型中空间利用率大于所述平均值的硬盘中的数据迁移到所述同种类型中空间利用率小于所述平均值的硬盘中。减轻了数据存储量大的硬盘的压力,延长了数据存储量大的硬盘的使用寿命,但该方法仅仅从节点的存储“空间利用率”作为数据迁移的优先级判断准则,没有兼顾使用该存储介质对象的“时间”因素来判断。In another related technical solution, a method for calculating an average value of the space utilization ratio of the same type of hard disk is adopted, and space utilization of each hard disk in any one of the storage pools is obtained, and the space of the same type is used. The data in the hard disk having a utilization greater than the average value is migrated to the hard disk in the same type where the space utilization is less than the average value. It reduces the pressure on the hard disk with large data storage capacity and prolongs the service life of the hard disk with large data storage capacity. However, this method only takes the storage space utilization of the node as the priority judgment criterion for data migration, and does not take care of the storage. The "time" factor of the media object is judged.
可见,相关技术中往往只考虑到空间利用率等空间因素或者服务质量运行效率等时间因素其中一方面,并未综合考虑到时间与空间这两种因素;针对相关技术中的上述问题,目前尚未提出有效的解决方案。 It can be seen that the related technologies often only consider the spatial factors such as space utilization or the service efficiency of service quality. On the one hand, the two factors of time and space are not comprehensively considered; for the above problems in related technologies, Propose an effective solution.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本申请的主要目的在于提供一种数据的迁移方法及装置,以至少解决相关技术中在进行数据迁移时,仅仅只考虑空间利用率等空间因素或者服务质量运行效率等时间因素其中一方面的问题。The main purpose of the present application is to provide a method and an apparatus for migrating data, so as to at least solve the problem of one of the time factors such as space utilization and service quality, such as space utilization and other operational factors during data migration in the related art. .
根据本申请的一个方面,提供了一种数据的迁移方法,包括:获取通信网络中多个节点的启动速率以及所述多个节点的存储空间利用率;依据预设规则、所述启动速率和所述存储空间利用率,对所述多个节点的优先级进行分类,得到依据优先级而分类的节点集合;依据优先级,在所述节点集合之间迁移数据。According to an aspect of the present application, a data migration method is provided, including: acquiring a startup rate of a plurality of nodes in a communication network and a storage space utilization ratio of the plurality of nodes; according to a preset rule, the startup rate, and The storage space utilization classifies the priorities of the multiple nodes to obtain a set of nodes classified according to priorities; and migrates data between the set of nodes according to priorities.
可选地,所述获取通信网络中多个节点的启动速率以及所述多个节点的存储空间利用率的步骤包括:获取所述多个节点的上电时间与正常运行时间之间的时间差,并将所述时间差作为所述多个节点的启动速率;获取所述多个节点的存储空间中当前所有文件的空间大小占总的空间大小的比重,并将所述比重作为所述存储空间利用率。Optionally, the step of acquiring a startup rate of the multiple nodes in the communication network and the storage space utilization of the multiple nodes includes: acquiring a time difference between a power-on time and a normal running time of the multiple nodes, where And using the time difference as a startup rate of the multiple nodes; acquiring a proportion of a space size of all files in the storage space of the multiple nodes to a total space size, and using the specific gravity as the storage space rate.
可选地,所述依据预设规则、所述启动速率和所述存储空间利用率,对所述多个节点的优先级进行分类,得到依据优先级而分类的节点集合的步骤包括:依据所述启动速率和所述存储空间利用率生成所述多个节点特征向量;通过聚类分析对所述多个特征向量的优先级进行分类,并依据聚类分析的结果将所述多个节点分为第一节点集合和第二节点集合,其中,所述第一节点集合中的节点的优先级高于所述第二节点集合中的节点的优先级。Optionally, the step of classifying the priorities of the multiple nodes according to the preset rule, the startup rate, and the storage space utilization, and obtaining the node set classified according to the priority includes: Generating the plurality of node feature vectors by using the startup rate and the storage space utilization; classifying the priorities of the plurality of feature vectors by cluster analysis, and dividing the plurality of nodes according to the result of the cluster analysis A first node set and a second node set, wherein the nodes in the first node set have a higher priority than the nodes in the second node set.
可选地,所述通过聚类分析对所述多个特征向量的优先级进行分类,并依据聚类分析的结果将所述多个节点分为第一节点集合和第二节点集合的步骤包括:预设第一初始聚类中心和第二初始聚类中心的特征向量,其中,所述第一初始聚类中心属于所述第一节点集合,所述第二初始聚类中心属于所述第二节点集合;获取所述多个节点的特征向量分别与第一初始聚类中心和第二初始聚类中心的特征向量之间的距离值;依据所述距离值和最近距离分 配原则,将所述多个节点分配到离自身距离较近的所述第一节点集合或所述第二节点集合;获取所述第一节点集合中所有节点相对于所述第一初始聚类中心的距离均值,以及获取所述第二节点集合中所有节点相对于所述第二初始聚类中心的距离均值,并根据所述距离均值分别调整所述第一初始聚类中心或所述初始第二初始聚类中心。Optionally, the step of classifying the priorities of the multiple feature vectors by cluster analysis, and dividing the multiple nodes into the first node set and the second node set according to the result of the cluster analysis includes Presetting a feature vector of the first initial cluster center and the second initial cluster center, wherein the first initial cluster center belongs to the first node set, and the second initial cluster center belongs to the first a two-node set; obtaining a distance value between a feature vector of the plurality of nodes and a feature vector of the first initial cluster center and the second initial cluster center; respectively, according to the distance value and the closest distance a matching principle, the plurality of nodes are allocated to the first node set or the second node set that are closer to each other; and all nodes in the first node set are acquired relative to the first initial cluster a distance average of the center, and obtaining a distance average of all nodes in the second node set relative to the second initial cluster center, and adjusting the first initial cluster center or the initial according to the distance mean respectively The second initial cluster center.
可选地,所述依据优先级,在所述节点集合之间迁移数据的步骤包括:将所述第二节点集合中迁出节点的待迁移数据迁移至第一节点集合的迁入节点中。Optionally, the step of migrating data between the set of nodes according to the priority includes: migrating data to be migrated of the migrating node in the second set of nodes to the migrating node of the first set of nodes.
可选地,在所述依据优先级,在所述节点集合之间迁移数据的步骤之后,所述方法还包括:在所述迁出节点的系统需要访问已迁出的数据时,将所述迁入节点中迁入的数据恢复至所述迁出节点中。Optionally, after the step of migrating data between the node sets according to the priority, the method further includes: when the system of the migrating node needs to access the migrated data, The migrated data in the migrated node is restored to the migrated node.
本申请另外提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述方法。The application further provides a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
根据本申请的另一个方面,提供了一种数据的迁移装置,包括:获取模块,设置成获取通信网络中多个节点的启动速率以及所述多个节点的存储空间利用率;分类模块,设置成依据预设规则、所述启动速率和所述存储空间利用率,对所述多个节点的优先级进行分类,得到依据优先级而分类的节点集合;迁移模块,设置成依据优先级,在所述节点集合之间迁移数据。According to another aspect of the present application, a data migration apparatus is provided, including: an acquisition module configured to acquire a startup rate of a plurality of nodes in a communication network and a storage space utilization ratio of the plurality of nodes; a classification module, setting Sorting the priorities of the multiple nodes according to a preset rule, the startup rate, and the storage space utilization, and obtaining a node set classified according to the priority; the migration module is set to be based on the priority, The data is migrated between the set of nodes.
可选地,所述获取模块包括:第一获取单元,设置成获取所述多个节点的上电时间与正常运行时间之间的时间差,并将所述时间差作为所述多个节点的启动速率;第二获取单元,设置成获取所述多个节点的存储空间中当前所有文件的空间大小占总的空间大小的比重,并将所述比重作为所述存储空间利用率。Optionally, the acquiring module includes: a first acquiring unit, configured to acquire a time difference between a power-on time and a normal running time of the multiple nodes, and use the time difference as a starting rate of the multiple nodes The second obtaining unit is configured to obtain a proportion of a space size of all files in the storage space of the plurality of nodes to a total space size, and use the specific gravity as the storage space utilization rate.
可选地,所述分类模块包括:生成单元,设置成依据所述启动速率和所述存储空间利用率生成所述多个节点特征向量;分类单元,设置成通过聚类分析对所述多个特征向量的优先级进行分类,并依据聚类分析的结果将所述多个节点分为第一节点集合和第二节点集合,其中,所述第一节点集合中的节点的优先级高于所述第二节点集合中的节点的优先级。Optionally, the classification module includes: a generating unit, configured to generate the multiple node feature vectors according to the startup rate and the storage space utilization rate; and a classification unit configured to perform the multiple The priority of the feature vector is classified, and the plurality of nodes are divided into a first node set and a second node set according to a result of the cluster analysis, wherein the nodes in the first node set have higher priority than the first node set The priority of the nodes in the second set of nodes.
可选地,所述分类单元包括:预设子单元,设置成预设第一初始聚类中 心和第二初始聚类中心的特征向量,其中,所述第一初始聚类中心属于所述第一节点集合,所述第二初始聚类中心属于所述第二节点集合;获取子单元,设置成获取所述多个节点的特征向量分别与第一初始聚类中心和第二初始聚类中心的特征向量之间的距离值;分配子单元,设置成依据所述距离值和最近距离分配原则,将所述多个节点分配到离自身距离较近的所述第一节点集合或所述第二节点集合;调整子单元,设置成获取所述第一节点集合中所有节点相对于所述第一初始聚类中心的距离均值,以及获取所述第二节点集合中所有节点相对于所述第二初始聚类中心的距离均值,并根据所述距离均值分别调整所述第一初始聚类中心或所述初始第二初始聚类中心。Optionally, the classification unit includes: a preset subunit, configured to preset in the first initial cluster a feature vector of the heart and the second initial cluster center, wherein the first initial cluster center belongs to the first node set, the second initial cluster center belongs to the second node set; and the subunit is acquired And configured to obtain a distance value between the feature vector of the plurality of nodes and the feature vector of the first initial cluster center and the second initial cluster center respectively; the allocation subunit is configured to be allocated according to the distance value and the closest distance In principle, the plurality of nodes are allocated to the first node set or the second node set that are closer to themselves; the adjusting subunit is configured to acquire all nodes in the first node set relative to the a distance average of the first initial cluster center, and obtaining a distance average of all nodes in the second node set relative to the second initial cluster center, and respectively adjusting the first initial cluster according to the distance mean Center or the initial second initial cluster center.
在本申请中,采用依据预设规则、启动速率和存储空间利用率,对多个节点的优先级进行分类,得到依据优先级而分类的节点集合,并依据优先级,在节点集合之间迁移数据,即在本申请中结合了通信网络中节点的启动速率和存储空间利用率,并通过优先级的方式迁移节点之间的数据,解决了相关技术中的在进行数据迁移时,仅仅只考虑空间利用率等空间因素或者服务质量运行效率等时间因素其中一方面的问题,进而达到了提升系统效率的效果。In the present application, the priority of multiple nodes is classified according to a preset rule, a startup rate, and a storage space utilization, and a node set classified according to priority is obtained, and is migrated between the node sets according to the priority. The data, that is, the startup rate and the storage space utilization ratio of the nodes in the communication network are combined in the present application, and the data between the nodes is migrated in a priority manner, and the related art only considers the data migration when performing data migration. The problem of one of the time factors such as space utilization or service efficiency of service quality, and thus the effect of improving system efficiency.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the present application, and are intended to be a part of this application. In the drawing:
图1是根据本发明实施例的数据的迁移方法的流程图;1 is a flowchart of a method of migrating data according to an embodiment of the present invention;
图2是根据本发明实施例的数据的迁移装置的结构框图;2 is a structural block diagram of a data migration apparatus according to an embodiment of the present invention;
图3是根据本发明实施例的数据的迁移装置的获取模块22的可选结构框图;3 is a block diagram showing an optional structure of an obtaining module 22 of a data migration apparatus according to an embodiment of the present invention;
图4是根据本发明实施例的数据的迁移装置的分类模块24的可选结构框图一;4 is a block diagram 1 of an optional structure of a classification module 24 of a data migration apparatus according to an embodiment of the present invention;
图5是根据本发明实施例的数据的迁移装置的分类模块24的可选结构框 图二;FIG. 5 is an optional structural block of the classification module 24 of the data migration apparatus according to an embodiment of the present invention. Figure II;
图6是根据本发明实施例的数据的迁移装置的可选结构框图一;6 is a block diagram 1 of an optional structure of a data migration apparatus according to an embodiment of the present invention;
图7是根据本发明可选实施例的基于多点优先级数据迁移装置结构框图;7 is a block diagram showing the structure of a multipoint priority data migration apparatus according to an alternative embodiment of the present invention;
图8是根据本发明可选实施例的基于多点优先级数据迁移方法的流程图;8 is a flowchart of a multi-point priority data migration method in accordance with an alternative embodiment of the present invention;
图9是根据本发明可选实施例的对通信节点进行聚类分析的流程图;9 is a flow chart of clustering analysis of a communication node in accordance with an alternative embodiment of the present invention;
图10是根据本发明可选实施例的迁移数据备份与恢复的示意图。10 is a schematic diagram of migration data backup and recovery in accordance with an alternate embodiment of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The present application will be described in detail below with reference to the accompanying drawings.
本实施例提供了一种数据的迁移方法,图1是根据本发明实施例的数据的迁移方法的流程图,如图1所示,该方法的步骤包括:This embodiment provides a method for migrating data. FIG. 1 is a flowchart of a method for migrating data according to an embodiment of the present invention. As shown in FIG. 1, the steps of the method include:
步骤S102:获取通信网络中多个节点的启动速率以及所述多个节点的存储空间利用率;Step S102: Acquire a startup rate of multiple nodes in the communication network and a storage space utilization ratio of the multiple nodes.
步骤S104:依据预设规则、启动速率和存储空间利用率,对所述多个节点的优先级进行分类,得到依据优先级而分类的节点集合;Step S104: classify the priorities of the multiple nodes according to a preset rule, a startup rate, and a storage space utilization, and obtain a node set classified according to the priority;
步骤S106:依据优先级,在节点集合之间迁移数据。Step S106: migrating data between the node sets according to the priority.
在本实施例上述步骤S102至步骤S106中,通过预设规则依据启动速率和存储空间利用率,对所述多个节点的优先级进行分类,得到依据优先级而分类的节点集合,并依据优先级而在节点集合之间迁移数据,即在本实施例中结合了通信网络中节点的启动速率和存储空间利用率,依据优先级在节点之间迁移数据,解决了相关技术中的在迁移数据时,仅仅只考虑在空间利用率等空间因素或者服务质量运行效率等时间因素之中的一方面的问题,进而达到了提升系统效率的效果。In the foregoing steps S102 to S106 of the embodiment, the priority of the multiple nodes is classified according to the startup rate and the storage space utilization by using a preset rule, and the node set classified according to the priority is obtained, and the priority is determined according to the priority. The data is migrated between the node sets, that is, in this embodiment, the startup rate and the storage space utilization rate of the nodes in the communication network are combined, and the data is migrated between the nodes according to the priority, and the migration data in the related art is solved. At the time, only one aspect of the time factor such as space utilization or service quality operation efficiency is considered, and the effect of improving system efficiency is achieved.
在本实施例的步骤S102中获取通信网络中多个节点的启动速率以及所述多个节点的存储空间利用率的方式,在本实施例的可选实施方式中可以通过如下步骤来实现: The method of obtaining the startup rate of the multiple nodes in the communication network and the storage space utilization ratio of the multiple nodes in the step S102 of the embodiment may be implemented by the following steps in the optional implementation manner of the embodiment:
步骤S11:获取多个节点的上电时间与正常运行时间之间的时间差,并将时间差作为所述多个节点的启动速率;Step S11: Obtain a time difference between a power-on time and a normal running time of the multiple nodes, and use the time difference as a starting rate of the multiple nodes.
步骤S12:获取所述多个节点的存储空间中当前所有文件的空间大小占总的空间大小的比重,并将比重作为存储空间利用率。Step S12: Acquire the proportion of the space size of all files in the storage space of the plurality of nodes to the total space size, and use the specific gravity as the storage space utilization rate.
对于上述步骤S11和步骤S12涉及到的启动速率和存储空间利用率,在本实施例的一个应用场景中可以是:In an application scenario of this embodiment, the startup rate and the storage space utilization involved in the foregoing step S11 and the step S12 may be:
如10:00给该节点上电,5分钟后该节点恢复到正常运行,则该节点的启动速率为5分钟。该步骤可以是该节点运行的一段程序,如若节点上电时间为ti1,待该节点正常投入运行使用时,再次统计相应的工作时间ti2,则节点xi的启动速率可如下表示:vi=ti2-ti1 If the node is powered on at 10:00, and the node returns to normal operation after 5 minutes, the startup rate of the node is 5 minutes. The step may be a program running by the node. If the node power-on time is t i1 , when the node is put into operation normally, and the corresponding working time t i2 is counted again, the startup rate of the node x i may be expressed as follows: v i =t i2 -t i1
如第2个节点的存储总容量为4G大小,而该节点的存储总文件所占大小为2G,则该节点空间利用率为50%。该步骤可以是该节点中运行的一段程序,如若节点中存储卡所有文件大小为s1,该节点存储卡总容量大小为s2,则节点的存储空间利用率可如下表示:si=s1/s2 If the total storage capacity of the second node is 4G, and the total storage file size of the node is 2G, the node space utilization is 50%. The step may be a program running in the node. If the file size of the memory card in the node is s 1 and the total memory capacity of the node is s 2 , the storage space utilization of the node may be expressed as follows: s i = s 1 /s 2
而对于本实施例中的步骤S104,通过预设规则依据启动速率和存储空间利用率,对所述多个节点的优先级进行分类,得到依据优先级而分类的节点集合,在本可选实施方式中,通过如下方式来实现:For the step S104 in this embodiment, the priority of the multiple nodes is classified according to the startup rate and the storage space utilization by using a preset rule, and the node set classified according to the priority is obtained. In the way, it is implemented as follows:
步骤S22:依据启动速率和存储空间利用率生成多个节点特征向量;Step S22: Generate multiple node feature vectors according to the startup rate and the storage space utilization rate;
步骤S23:通过聚类分析对所述多个特征向量的优先级进行分类,并依据聚类分析的结果将所述多个节点分为第一节点集合和第二节点集合,其中,第一节点集合中的节点的优先级高于第二节点集合中的节点的优先级。Step S23: classifying the priorities of the plurality of feature vectors by cluster analysis, and dividing the plurality of nodes into a first node set and a second node set according to a result of the cluster analysis, wherein the first node The nodes in the set have a higher priority than the nodes in the second set of nodes.
而对于上述步骤S23的通过聚类分析对所述多个特征向量的优先级进行分类,并依据聚类分析的结果将所述多个节点分为第一节点集合和第二节点集合的步骤,包括:For the step S23, the priority of the plurality of feature vectors is classified by cluster analysis, and the plurality of nodes are divided into a first node set and a second node set according to the result of the cluster analysis. include:
步骤S31:预设第一初始聚类中心和第二初始聚类中心的特征向量,其中,第一初始聚类中心属于第一节点集合,第二初始聚类中心属于第二节点集合;Step S31: Presetting the feature vectors of the first initial cluster center and the second initial cluster center, wherein the first initial cluster center belongs to the first node set, and the second initial cluster center belongs to the second node set;
步骤S32:获取所述多个节点的特征向量分别与第一初始聚类中心和第 二初始聚类中心的特征向量之间的距离值;Step S32: acquiring feature vectors of the plurality of nodes and the first initial cluster center and the first The distance value between the feature vectors of the two initial cluster centers;
步骤S33:依据距离值和最近距离分配原则,将多个节点分配到距离较近的第一节点集合或第二节点集合;Step S33: assigning a plurality of nodes to the first node set or the second node set that are closer to each other according to the distance value and the nearest distance allocation principle;
步骤S34:获取第一节点集合中所有节点相对于第一初始聚类中心的距离均值,以及获取第二节点集合中所有节点相对于第二初始聚类中心的距离均值,并根据距离均值分别调整第一初始聚类中心或初始第二初始聚类中心。Step S34: Acquire a distance average value of all nodes in the first node set relative to the first initial cluster center, and obtain a distance average value of all nodes in the second node set relative to the second initial cluster center, and adjust according to the distance average value respectively. The first initial cluster center or the initial second initial cluster center.
结合上述启动速率以及存储空间利用率的取值,对于上述步骤S22中的方式,在本实施例的一应用场景可以是:In combination with the above-mentioned starting rate and the value of the storage space utilization, in the manner of the foregoing step S22, an application scenario in this embodiment may be:
将所获得的模式特征向量作为该单元的输入进行聚类分析,首先统计各个特征向量之间的距离,设节点xi与节点xj之间的距离如下表示:The obtained pattern feature vector is used as the input of the unit for cluster analysis. First, the distance between each feature vector is counted. The distance between the node x i and the node x j is expressed as follows:
Figure PCTCN2016079915-appb-000001
Figure PCTCN2016079915-appb-000001
根据以优先级权值的高低进行聚类的准则,选取K个初始聚类中心;According to the criterion of clustering with priority weights, K initial cluster centers are selected;
其中,在本可选实例中K=2,通过启发式地选取K个初始聚类中心的初始值,假设上述的第二个节点为初始聚类中心,则z2=(v2,s2),该聚类中心初始值可如下表示:Z={zj|j=1,...k}Wherein, in this alternative example, K=2, by heuristically selecting the initial values of the K initial cluster centers, assuming that the second node is the initial cluster center, then z 2 = (v 2 , s 2 ), the initial value of the cluster center can be expressed as follows: Z = {z j | j = 1, ... k}
将样本集中的样本xi按照最小距离原则分配到最邻近聚类zj,可如下表示:The sample x i in the sample set is assigned to the nearest neighbor cluster z j according to the principle of minimum distance, which can be expressed as follows:
dij=min(||xi-zj||),xi∈X,zj∈Zd ij =min(||x i -z j ||), x i ∈X,z j ∈Z
可见,在本应用场景中,依据上述两个初始聚类中心得到了两个节点集合,该两个集合中对启动速率和存储空间利用率进行划分,得到了优先级不同的两个节点集合。It can be seen that, in the application scenario, two node sets are obtained according to the two initial cluster centers, and the start rate and the storage space utilization are divided in the two sets, and two node sets with different priorities are obtained.
对于本实施例的步骤S106的依据优先级,节点集合之间迁移数据的步骤,包括:将第二节点集合中迁出节点的待迁移数据迁移至第一节点集合的迁入节点中。For the step S106 of the embodiment, the step of migrating data between the node sets includes: migrating the data to be migrated of the migrating node in the second node set to the migrating node of the first node set.
此外,在本实施例的另一个可选实施方式中,在所述依据优先级,在节点集合之间迁移数据的步骤之后,本实施例的方法还包括:在迁出节点的系统需要访问已迁出的数据时,将迁入节点中迁入的数据恢复至迁出节点中。In addition, in another optional implementation manner of this embodiment, after the step of migrating data between the node sets according to the priority, the method in this embodiment further includes: the system in the migrating node needs to access When the data is migrated, the data moved in the moved node is restored to the evicted node.
本发明实施例另外提供一种计算机可读存储介质,存储有计算机可执行 指令,所述计算机可执行指令被执行时实现上述方法。Embodiments of the present invention further provide a computer readable storage medium storing a computer executable The instructions, when the computer executable instructions are executed, implement the above method.
在本实施例中还提供了一种数据的迁移装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, a data migration device is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图2是根据本发明实施例的数据的迁移装置的结构框图,如图2所示,该装置包括:获取模块22,设置成获取通信网络中多个节点的启动速率以及所述多个节点的存储空间利用率;分类模块24,与获取模块22耦合连接,设置成依据预设规则、启动速率和存储空间利用率,对多个节点的优先级进行分类,得到依据优先级而分类的节点集合;迁移模块26,与分类模块24耦合连接,设置成依据优先级,在节点集合之间迁移数据。2 is a structural block diagram of a data migration apparatus according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes: an acquisition module 22 configured to acquire a startup rate of a plurality of nodes in a communication network and the plurality of nodes. The storage space utilization; the classification module 24 is coupled to the acquisition module 22, and is configured to classify the priorities of the multiple nodes according to the preset rules, the startup rate, and the storage space utilization, and obtain the node sets classified according to the priority. The migration module 26 is coupled to the classification module 24 and configured to migrate data between sets of nodes in accordance with priority.
图3是根据本发明实施例的数据的迁移装置的获取模块22的可选结构框图,如图3所示,该获取模块22包括:第一获取单元32,设置成获取多个节点的上电时间与正常运行时间之间的时间差,并将时间差作为所述多个节点的启动速率;第二获取单元34,设置成获取所述多个节点的存储空间中当前所有文件的空间大小占总的空间大小的比重,并将比重作为存储空间利用率。FIG. 3 is a block diagram showing an optional structure of the acquiring module 22 of the data migration apparatus according to the embodiment of the present invention. As shown in FIG. 3, the obtaining module 22 includes: a first obtaining unit 32 configured to obtain power-on of multiple nodes. The time difference between the time and the normal running time, and the time difference is used as the starting rate of the plurality of nodes; the second obtaining unit 34 is configured to obtain the space size of all the files in the storage space of the plurality of nodes. The proportion of the size of the space, and the specific gravity as the storage space utilization.
图4是根据本发明实施例的数据的迁移装置的分类模块24的可选结构框图一,如图4所示,该分类模块24包括:生成单元42,设置成依据启动速率和存储空间利用率生成多个节点特征向量;分类单元44,与生成单元42耦合连接,设置成通过聚类分析对所述多个特征向量的优先级分类,并依据聚类分析的结果将所述多个节点分为第一节点集合和第二节点集合,其中,第一节点集合中的节点的优先级高于第二节点集合中的节点优先级。4 is a block diagram of an optional structure of a classification module 24 of a data migration apparatus according to an embodiment of the present invention. As shown in FIG. 4, the classification module 24 includes: a generation unit 42 configured to be based on a startup rate and a storage space utilization rate. Generating a plurality of node feature vectors; the classifying unit 44 is coupled to the generating unit 42 and configured to classify the plurality of feature vectors by cluster analysis, and divide the plurality of nodes according to the result of the cluster analysis. The first node set and the second node set, wherein the nodes in the first node set have higher priority than the node priority in the second node set.
图5是根据本发明实施例的数据的迁移装置的分类模块24的可选结构框图二,如图5所示,该分类单元44包括:预设子单元52,设置成预设第一初始聚类中心和第二初始聚类中心的特征向量,其中,第一初始聚类中心属于第一节点集合,第二初始聚类中心属于第二节点集合;获取子单元54,与预设子单元52耦合连接,设置成获取所述多个节点的特征向量分别与第一初 始聚类中心和第二初始聚类中心的特征向量之间的距离值;分配子单元56,与获取子单元54耦合连接,设置成依据距离值和最近距离分配原则,将多个节点分配到距离较近的第一节点集合或第二节点集合;调整子单元,与分配子单元56耦合连接,设置成获取第一节点集合中所有节点相对于第一初始聚类中心的距离均值,以及获取第二节点集合中所有节点相对于第二初始聚类中心的距离均值,并根据距离均值分别调整第一初始聚类中心或初始第二初始聚类中心。FIG. 5 is a block diagram 2 of an optional structure of a classification module 24 of a data migration apparatus according to an embodiment of the present invention. As shown in FIG. 5, the classification unit 44 includes: a preset subunit 52 configured to preset a first initial aggregation. a feature vector of the class center and the second initial cluster center, wherein the first initial cluster center belongs to the first node set, the second initial cluster center belongs to the second node set; the obtaining sub-unit 54, and the preset sub-unit 52 a coupling connection, configured to acquire feature vectors of the plurality of nodes and first a distance value between the feature vector of the initial cluster center and the second initial cluster center; the assigning subunit 56 is coupled with the obtaining subunit 54 and configured to allocate the plurality of nodes according to the distance value and the nearest distance allocation principle. a closer first node set or a second node set; the adjusting subunit is coupled to the assigning subunit 56, configured to obtain a distance average of all nodes in the first node set relative to the first initial cluster center, and obtain The distance between all nodes in the second node set relative to the second initial cluster center is averaged, and the first initial cluster center or the initial second initial cluster center is respectively adjusted according to the distance mean.
可选地,该迁移模块26,还设置成将第二节点集合中迁出节点的待迁移数据迁移至第一节点集合的迁入节点中。Optionally, the migration module 26 is further configured to migrate the data to be migrated of the migrated node in the second node set to the migrated node of the first node set.
图6是根据本发明实施例的数据的迁移装置的可选结构框图一,如图6所示,装置还包括:恢复模块62,与迁移模块26耦合连接,设置成在迁出节点的系统需要访问已迁出的数据时,将迁入节点中迁入的数据恢复至迁出节点中。FIG. 6 is a block diagram of an optional structure of a data migration apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus further includes: a recovery module 62 coupled to the migration module 26 and configured to be required by the system of the migration node. When accessing the migrated data, the migrated data in the migrated node is restored to the migrated node.
下面结合本发明的可选实施例对本申请进行详细说明;The present application is described in detail below in conjunction with an optional embodiment of the present invention;
本可选实施例提出了一种基于多点优先级数据迁移方法及装置,通过本可选实施例能够基于通信节点的时间因素与空间因素的综合考量,将优先级权值低的配置数据迁移到优先级权值低的节点上,有效地整合了系统资源,提升了通信节点的整体业务处理能力。The present invention provides a multi-point priority data migration method and apparatus. According to the optional embodiment, the configuration data with low priority weight can be migrated based on the comprehensive consideration of the time factor and the spatial factor of the communication node. The node with low priority weight effectively integrates system resources and improves the overall service processing capability of the communication node.
图7是根据本发明可选实施例的基于多点优先级数据迁移装置结构框图,如图7所示,该装置包括:数据预处理模块(上述本实施例中的获取模块22和分类模块24的结合)、数据备份模块(对应上述本实施例中的迁移模块26)和数据恢复模块(对应于上述本实施例中的恢复模块62),其中,数据预处理模块包括:统计启动速率单元(相当于上述实施例中的第一获取单元32)、统计空间利用率单元(相当于上述实施例中的第二获取单元34)、模式特征处理单元(对应上述实施例的生成单元42)、权值优先级处理单元(对应于上述本实施例中的分类单元44)。FIG. 7 is a structural block diagram of a multi-point priority data migration apparatus according to an alternative embodiment of the present invention. As shown in FIG. 7, the apparatus includes: a data pre-processing module (the acquisition module 22 and the classification module 24 in the foregoing embodiment). a data backup module (corresponding to the migration module 26 in the above embodiment) and a data recovery module (corresponding to the recovery module 62 in the above embodiment), wherein the data preprocessing module includes: a statistical startup rate unit ( Corresponding to the first acquisition unit 32), the statistical space utilization unit (corresponding to the second acquisition unit 34 in the above embodiment), the mode feature processing unit (corresponding to the generation unit 42 of the above embodiment), and the right in the above embodiment. A value priority processing unit (corresponding to the classification unit 44 in the present embodiment described above).
图8是根据本发明可选实施例的基于多点优先级数据迁移方法的流程图,基于图7中该装置的模块,图8所示的该方法的步骤包括:FIG. 8 is a flowchart of a multi-point priority data migration method according to an alternative embodiment of the present invention. Based on the module of the apparatus in FIG. 7, the steps of the method shown in FIG. 8 include:
步骤S802:将通信网络布局中的各个节点进行编号,作为后续模式聚类 的模式样本集合;Step S802: number each node in the communication network layout as a subsequent pattern clustering Collection of pattern samples;
步骤S804:统计通信网络布局中各个节点的启动速率;Step S804: Counting the startup rate of each node in the communication network layout;
步骤S806:统计通信网络布局中各个节点的存储卡的空间利用率;Step S806: Counting the space utilization rate of the memory card of each node in the communication network layout;
步骤S808:将各个节点的启动速率及空间利用率作为该节点的分类特征向量;Step S808: Taking the startup rate and the space utilization rate of each node as the classification feature vector of the node;
步骤S810:对各个节点的特征向量进行聚类分析,将通信节点的样本集合分类为数据迁移优先级权值高与低两个分类;Step S810: Perform cluster analysis on feature vectors of each node, and classify the sample set of the communication node into two categories: high and low data migration priority weights;
步骤S812:将优先级权值低的相应节点的配置数据迁移到优先级权值高的分类节点。Step S812: The configuration data of the corresponding node with a lower priority weight is migrated to the classification node with a higher priority weight.
基于上述数据预处理模块,可选地,步骤S804包括:通过统计启动速率单元通过计算通信布局中各个节点的上电时间与正常运行时间差,作为该节点的启动速率。Based on the foregoing data pre-processing module, optionally, step S804 includes: calculating, by using a statistical start rate unit, a difference between a power-on time and a normal running time of each node in the communication layout as a startup rate of the node.
基于上述数据预处理模块,可选地,步骤S806包括:通过统计空间利用率单元计算的各个节点的存储卡的当前所有文件的空间大小占总空间大小的比重,获得该节点的空间利用率。Based on the foregoing data pre-processing module, optionally, step S806 includes: obtaining a space utilization ratio of the node by using a ratio of a space size of all files of the memory card of each node calculated by the space utilization unit to a total space size.
基于上述数据预处理模块,可选地,步骤S808包括:通过模式特征处理单元将各个节点统计启动速率单元与统计空间利用率单元获得的值作为优先级处理单元的输入,获得相应的模式特征向量。Based on the data pre-processing module, optionally, step S808 includes: using a value obtained by each node statistical start rate unit and a statistical space utilization unit as a priority processing unit by the mode feature processing unit to obtain a corresponding mode feature vector. .
基于上述数据预处理模块,可选地,步骤S810包括:通过权值优先级处理单元将各个节点的模式特征向量进行聚类分析,得到优先级权值高与优先级权值低的两个集合。Based on the foregoing data pre-processing module, optionally, step S810 includes: performing cluster analysis on the pattern feature vectors of the respective nodes by using the weight priority processing unit to obtain two sets of high priority weights and low priority weights. .
对于步骤S804至步骤S810,可选地,For step S804 to step S810, optionally,
步骤S804包括:通过统计启动速率单元,统计通信网络布局中各个节点的上电时间以及节点正常工作后的时间,将上电时间和正常工作时间作为统计启动速率单元的输入,输出为节点相应的启动速率。Step S804 includes: counting the power-on time of each node in the communication network layout and the time after the node is working normally by using the statistical start rate unit, and using the power-on time and the normal working time as the input of the statistical start rate unit, and outputting the node as the corresponding Start rate.
步骤S806包括:通过统计空间利用率单元,统计通信网络布局中各个节点的存储卡所有文件的大小以及存储卡的总容量大小,将所有文件大小以及存储卡总容量大小作为统计空间利用率单元的输入,输出为节点相应的空 间利用率。Step S806 includes: counting the size of all the files of the memory cards of each node in the communication network layout and the total capacity of the memory card by using the statistical space utilization unit, and using all the file sizes and the total capacity of the memory card as the statistical space utilization unit. Input, output is the corresponding empty space of the node Utilization rate.
步骤S808包括:通过模式特征处理单元,将统计启动速率单元的输出以及统计空间利用率单元的输出作为模式特征处理单元的输入,模式特征处理单元的输出为相应节点的模式特征向量。Step S808 includes: passing, by the mode feature processing unit, an output of the statistical start rate unit and an output of the statistical space utilization unit as an input of the mode feature processing unit, and the output of the mode feature processing unit is a mode feature vector of the corresponding node.
步骤S810包括:通过权值优先级处理单元,将模式特征处理单元的输出作为权值优先级处理单元输入,经过该单元的处理,权值优先级处理单元的输出为优先级权值高与优先级权值低节点的两个集合。Step S810 includes: inputting, by the weight priority processing unit, an output of the pattern feature processing unit as a weight priority processing unit, and processing, by the unit, the output of the weight priority processing unit is a priority weight and priority Two sets of low-level nodes.
可选地,权值优先级处理单元的处理方式包括::Optionally, the processing method of the weight priority processing unit includes:
划分两个分类集合;其中,一类是优先级权值高的分类,特点是节点的空间利用率小且节点的启动速率高,一类是优先级权值低的分类,特点是节点的空间利用率大且节点的启动速率低。分别为这两个分类集合确定一个初始聚类中心,将样本节点按照最近距离分配原则分配到最近的聚类集合,再使用每个聚类集合的样本均值作为新的聚类中心。重复上述步骤,使得两个聚类集合的聚类中心不再变化;其中,如果最后有样本点距离两个聚类中心距离是一样的,则去掉这个样本点,表明该节点不需要进行数据迁移。最后得到相应的优先级权值高与优先级权值低的两个聚类集合。Dividing two classification sets; one of them is a classification with high priority weight, which is characterized by small space utilization of nodes and high startup rate of nodes, and one type is classification with low priority weights, which is characterized by space of nodes. The utilization rate is large and the startup rate of the node is low. An initial cluster center is determined for the two classification sets respectively, the sample nodes are allocated to the nearest cluster set according to the nearest distance allocation principle, and the sample mean of each cluster set is used as the new cluster center. Repeat the above steps so that the cluster centers of the two cluster sets no longer change. If the last sample points are the same distance from the two cluster centers, then the sample points are removed, indicating that the node does not need data migration. . Finally, two cluster sets with corresponding priority weights and low priority weights are obtained.
图9是根据本发明可选实施例的对通信节点进行聚类分析的流程图,如图9所示,该流程的步骤包括:FIG. 9 is a flowchart of performing cluster analysis on a communication node according to an alternative embodiment of the present invention. As shown in FIG. 9, the steps of the process include:
步骤S902:得到模式样本的特征向量;Step S902: obtaining a feature vector of the mode sample;
步骤S904:启发式地选取2个聚类中心的初始值;Step S904: Heuristically selecting initial values of two cluster centers;
步骤S906:每个数据点归类到离它最近的聚类中心所属于的分类;Step S906: each data point is classified into a classification to which the cluster center closest to it belongs;
步骤S908:计算出每个分类的新的聚类中心;Step S908: Calculate a new cluster center of each category;
步骤S910:判断聚类中心是否变化,判断为没有变化时,执行步骤S906,判断为有变化时,执行步骤S912;Step S910: determining whether the cluster center changes, and determining that there is no change, executing step S906, determining that there is a change, executing step S912;
步骤S912:依据优先级的权值将节点集合分为两类。Step S912: The node set is divided into two categories according to the weight of the priority.
对于本可选实施例中的上述步骤S812涉及到通过数据备份模块进行备份的方法步骤包括: The method steps involved in the foregoing step S812 in the present embodiment involving performing backup by the data backup module include:
步骤S41:根据数据迁移预处理单元的输出,即两个节点的分类集合,确定数据迁出节点和数据迁入节点;Step S41: determining, according to the output of the data migration pre-processing unit, that is, the classification set of the two nodes, the data migration node and the data migration node;
步骤S42:确定数据迁出节点所要迁移的基础配置数据以及待迁移数据的存储路径;Step S42: determining basic configuration data to be migrated by the data migration node and a storage path of the data to be migrated;
步骤S43:确定数据迁入节点的节点IP地址、机架的槽位号、迁入数据的磁盘存储路径;Step S43: determining the IP address of the node where the data is moved into the node, the slot number of the rack, and the disk storage path of the migrated data;
步骤S44:将源节点(数据迁出的节点)中相应的基础配置数据迁移至目的节点(数据迁入的节点)的相应存储路径中。Step S44: The corresponding basic configuration data in the source node (the node where the data is migrated) is migrated to the corresponding storage path of the destination node (the node into which the data is moved).
而对于本可选实施例中的数据迁移的数据恢复方法,该数据迁移的数据恢复方法可以通过本可选实施例中的数据恢复模块来实现,该方法包括:For the data recovery method of the data migration in the alternative embodiment, the data recovery method of the data migration may be implemented by using the data recovery module in the optional embodiment, and the method includes:
步骤S51:确定数据迁移的源节点IP地址、机架的槽位号以及数据的存储路径;Step S51: determining the source node IP address of the data migration, the slot number of the rack, and the storage path of the data;
步骤S52:确定数据迁移目的节点IP地址、机架的槽位号以及数据的存储路径;Step S52: determining an IP address of the data migration destination node, a slot number of the rack, and a storage path of the data;
步骤S53:当数据迁出节点的系统需要访问迁出的配置数据时,将数据迁入的节点中的相应配置数据恢复至数据迁出的节点。Step S53: When the system of the data migration node needs to access the migrated configuration data, the corresponding configuration data in the node where the data is migrated is restored to the node where the data is moved out.
对于上述步骤S41至步骤S44,以及步骤S51至步骤S53涉及到的数据备份与恢复如图10所示,图10是根据本发明可选实施例的迁移数据备份与恢复的示意图。For the above steps S41 to S44, and the data backup and recovery involved in steps S51 to S53, as shown in FIG. 10, FIG. 10 is a schematic diagram of migration data backup and recovery according to an alternative embodiment of the present invention.
通过本可选实施例的基于多点优先级数据迁移方法,采用多节点启动后,根据节点启动速率及存储空间利用率确定节点的优先级权值,将优先级权值低的节点基础配置数据迁移给优先级权值较高的节点,该方法不仅提升了存储量大的节点的存储器的使用寿命,且较好地提升了系统效率。According to the multi-point priority data migration method of the alternative embodiment, after the multi-node is started, the priority weight of the node is determined according to the node startup rate and the storage space utilization, and the node basic configuration data with the lower priority weight is set. It is migrated to a node with a higher priority weight. This method not only improves the service life of the memory of a node with a large storage capacity, but also improves the system efficiency.
结合上述图7和图8,以及本可选实施例的具体实施例对本申请进行说明;The present application is described in conjunction with the above-mentioned FIG. 7 and FIG. 8 and the specific embodiments of the present optional embodiment;
本可选实施例提供的数据迁移方法应用于通信网络布局,通信网络布局中的各个节点可以为通信单板,迁移的存储单元为单板中的存储卡;数据迁移方法包括如下步骤: The data migration method provided in this alternative embodiment is applied to the communication network layout. Each node in the communication network layout may be a communication board, and the migrated storage unit is a memory card in the board. The data migration method includes the following steps:
步骤S61,将通信网络布局中的各个节点进行编号;Step S61, numbering each node in the communication network layout;
其中,假设该网络布局中需要进行数据迁移的总节点数为n个,则该通信网络布局中n个节点可如下表示:Wherein, assuming that the total number of nodes in the network layout that need to perform data migration is n, n nodes in the communication network layout can be expressed as follows:
X={x1,x2,...xi,...xn}X={x 1 ,x 2 ,...x i ,...x n }
步骤S62,通过统计启动速率单元统计节点的启动速率;Step S62, the rate of starting the node is counted by the statistics start rate unit;
其中,如10:00给该节点上电,5分钟后该节点恢复到正常运行,则该节点的启动速率为5分钟。统计启动速率单元可以为该节点运行的一段程序,如若节点上电时间为ti1,待该节点正常投入运行使用时,再次统计相应的工作时间ti2,则节点xi的启动速率可如下表示:For example, if the node is powered on at 10:00, and the node returns to normal operation after 5 minutes, the startup rate of the node is 5 minutes. The statistical start rate unit may be a program running by the node. If the node power-on time is t i1 , when the node is put into normal operation and the corresponding working time t i2 is counted again, the startup rate of the node x i may be expressed as follows. :
vi=ti2-ti1 v i =t i2 -t i1
步骤S63,通过统计空间利用率单元统计节点存储卡的空间利用率;Step S63, collecting the space utilization rate of the node memory card by using the statistical space utilization unit;
其中,如第2个节点的存储卡总容量为4G大小,而该存储卡总文件所占大小为2G,则该节点空间利用率为50%。统计空间利用率单元可以作为该节点中运行的一段程序,如若节点中存储卡所有文件大小为s1,该节点存储卡总容量大小为s2,则节点的存储空间利用率可如下表示:If the total capacity of the memory card of the second node is 4G, and the total file size of the memory card is 2G, the space utilization rate of the node is 50%. The statistical space utilization unit can be used as a program running in the node. If the file size of the memory card in the node is s 1 and the total storage capacity of the node is s 2 , the storage space utilization of the node can be expressed as follows:
si=s1/s2 s i =s 1 /s 2
模式特征处理单元将节点xi的启动速率vi和空间利用率si一起作为其进行聚类的模式特征向量,节点xi的模式特征向量可如下表示:Mode wherein the processing unit will start node rate of v i x i and s i with a space utilization mode that performs clustering feature vector, a feature vector pattern node x i may be expressed as follows:
yi=(vi,si)i=1,2,...ny i =(v i ,s i )i=1,2,...n
步骤S64,优先级权值处理单元将模式特征处理单元所获得的模式特征向量作为该单元的输入进行聚类分析;Step S64, the priority weight processing unit performs cluster analysis on the mode feature vector obtained by the mode feature processing unit as an input of the unit;
其中,首先统计各个特征向量之间的距离,设节点xi与节点xj之间的距离如下表示:First, the distance between each feature vector is first counted, and the distance between the node x i and the node x j is expressed as follows:
Figure PCTCN2016079915-appb-000002
Figure PCTCN2016079915-appb-000002
步骤S65,根据优先级权值高低的聚类准则,选取K个初始聚类中心;Step S65, selecting K initial cluster centers according to clustering criteria of priority weights;
其中,在本可选实例中K=2,通过启发式地选取K个初始聚类中心的初始值,假设上述的第二个节点为初始聚类中心,则z2=(v2,s2),该聚类中心初 始值可如下表示:Wherein, in this alternative example, K=2, by heuristically selecting the initial values of the K initial cluster centers, assuming that the second node is the initial cluster center, then z 2 = (v 2 , s 2 ), the initial value of the cluster center can be expressed as follows:
Z={zj|j=1,...k}Z={z j |j=1,...k}
将样本集中的样本xi按照最小距离原则分配到最邻近聚类zj,可如下表示:The sample x i in the sample set is assigned to the nearest neighbor cluster z j according to the principle of minimum distance, which can be expressed as follows:
dij=min(||xi-zj||),xi∈X,zj∈Zd ij =min(||x i -z j ||), x i ∈X,z j ∈Z
步骤S66,使用每个聚类中的样本相对于初始聚类中心的距离均值作为新的聚类中心,重复步骤S64和步骤S65,直到样本中心的聚类中心点不再发生变化。In step S66, using the distance average of the samples in each cluster relative to the initial cluster center as the new cluster center, step S64 and step S65 are repeated until the cluster center point of the sample center does not change.
得到数据迁移优先级权值高与低的两个分类,优先级高的分类特点是节点空间利用率高且节点启动速率慢,优先级权值低的分类特点是节点空间利用率低且节点启动速率快。Two classifications with high and low data migration priority weights are obtained. The classification with high priority is characterized by high node space utilization and slow node startup rate. The classification feature with low priority weight is low node space utilization and node startup. The rate is fast.
步骤S67,数据备份单元将以上的数据迁移预处理模块所分类的数据迁出集合与数据迁入集合进行相应备份;Step S67: The data backup unit migrates the data migrated out of the set and the data migration set by the data migration preprocessing module to perform corresponding backup;
确定数据迁出的节点的IP地址,由于通信节点中的单板分为主用单板和备用单板,其IP地址是一样的,需要继续确定其机架的槽位号。基于IP地址和槽位号可以确定一个数据迁出的节点,再确定该数据迁出节点的数据迁移单元,统计该迁移数据的存储路径。例如确定IP地址为192.100.90.1、槽位号为2的节点中存储路径为/home/sd中的基础数据迁移出去。The IP address of the node where the data is migrated is determined. The board in the communication node is the same as the standby board and the standby board. The IP address is the same. You need to continue to determine the slot number of the rack. Based on the IP address and the slot number, a node where data is migrated can be determined, and then the data migration unit of the data migration node is determined, and the storage path of the migration data is counted. For example, if the IP address is 192.100.90.1 and the slot number is 2, the basic data in the storage path /home/sd is migrated out.
步骤S68,确定数据迁入节点的IP地址、槽位号,数据迁入节点的数据存储路径;Step S68, determining an IP address, a slot number, and a data storage path of the data moving into the node;
例如,数据迁入节点IP地址为192.100.90.3,目的节点的槽位号为1,数据迁入的存储路径为/home/sd/bak。For example, the data migration node IP address is 192.100.90.3, the destination node slot number is 1, and the data migration path is /home/sd/bak.
步骤S69,将数据迁出节点的相应配置数据通过网络迁移至数据迁入节点的相应存储路径对应的存储位置;Step S69, the corresponding configuration data of the data migration node is migrated to the storage location corresponding to the corresponding storage path of the data migration node through the network;
例如,将IP地址为192.100.90.1、槽位号为2的节点中存储路径为/home/sd中的基础数据全部迁移至IP地址为192.100.90.3、槽位号为1的节点中存储路径为/home/sd/bak对应的存储位置。For example, if the IP address is 192.100.90.1 and the slot number is 2, the data in the /home/sd directory is migrated to the IP address of 192.100.90.3 and the slot number is 1. The storage location corresponding to /home/sd/bak.
步骤S70,当数据迁出节点的系统需要访问迁出的配置数据时,触发数据恢复流程; Step S70: When the system of the data migration node needs to access the migrated configuration data, the data recovery process is triggered;
其中,首先恢复出数据备份单元中存储的源节点与目的节点的IP地址、机架槽位号以及数据单元的存储路径。The IP address of the source node and the destination node, the slot number of the rack, and the storage path of the data unit are first restored.
步骤S71,将数据迁入的节点中的相应配置数据恢复至数据迁出的节点。In step S71, the corresponding configuration data in the node where the data is moved is restored to the node where the data is moved out.
例如将IP地址为192.100.90.3、槽位号为1的节点中存储路径为/home/sd/bak的配置数据恢复至IP地址为192.100.90.1、槽位号为2的节点中存储路径为/home/sd对应的存储位置。For example, if the IP address is 192.100.90.3 and the slot number is 1, the configuration data of the storage path is /home/sd/bak is restored to the IP address of 192.100.90.1 and the storage path of the node with slot number 2 is / The storage location corresponding to home/sd.
在另外一个实施例中,还提供了一种软件,该软件用于执行上述实施例及可选实施方式中描述的技术方案。In another embodiment, software is also provided for performing the technical solutions described in the above embodiments and alternative embodiments.
在另外一个实施例中,还提供了一种存储介质,该存储介质中存储有上述软件,该存储介质包括但不限于:光盘、软盘、硬盘、可擦写存储器等。In another embodiment, a storage medium is further provided, wherein the software includes the above-mentioned software, including but not limited to: an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
显然,本领域的技术人员应该明白,上述本申请的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device for execution by the computing device and, in some cases, may be performed in a different order than herein. The steps shown or described are either made separately into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, the application is not limited to any particular combination of hardware and software.
上述仅为本发明的可选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above is only an alternative embodiment of the present invention, and is not intended to limit the present application, and various changes and modifications may be made in the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this application are intended to be included within the scope of the present application.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明实施例不限制于任何特定形式的硬件和 软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function. Embodiments of the invention are not limited to any particular form of hardware and The combination of software.
工业实用性Industrial applicability
采用依据预设规则、启动速率和存储空间利用率,对多个节点的优先级进行分类,得到依据优先级而分类的节点集合,并依据优先级,在节点集合之间迁移数据,即在本申请中结合了通信网络中节点的启动速率和存储空间利用率,并通过优先级的方式在节点之间迁移数据,解决了相关技术中的在进行数据迁移时,仅仅只考虑空间利用率等空间因素或者服务质量运行效率等时间因素其中一方面的问题,进而达到了提升系统效率的效果。 According to the preset rule, the startup rate, and the storage space utilization, the priorities of the multiple nodes are classified, the node sets classified according to the priority are obtained, and the data is migrated between the node sets according to the priority, that is, in the present The application combines the startup rate and storage space utilization of nodes in the communication network, and migrates data between nodes in a priority manner, which solves the space in the related art when only data utilization is considered. The problem of one of the factors such as factors or service quality operation efficiency, and thus the effect of improving system efficiency.

Claims (10)

  1. 一种数据的迁移方法,包括:A method of data migration, including:
    获取通信网络中多个节点的启动速率以及所述多个节点的存储空间利用率;Obtaining a startup rate of a plurality of nodes in the communication network and a storage space utilization ratio of the plurality of nodes;
    依据预设规则、所述启动速率和所述存储空间利用率,对所述多个节点的优先级进行分类,得到依据优先级而分类的节点集合;Sorting priorities of the multiple nodes according to a preset rule, the startup rate, and the storage space utilization, to obtain a node set classified according to priority;
    依据优先级,在所述节点集合之间迁移数据。Data is migrated between the set of nodes according to priority.
  2. 根据权利要求1所述的方法,其中,所述获取通信网络中多个节点的启动速率以及所述多个节点的存储空间利用率的步骤包括:The method of claim 1, wherein the step of obtaining a startup rate of a plurality of nodes in the communication network and a storage space utilization of the plurality of nodes comprises:
    获取所述多个节点的上电时间与正常运行时间之间的时间差,并将所述时间差作为所述多个节点的启动速率;Obtaining a time difference between a power-on time and a normal running time of the multiple nodes, and using the time difference as a starting rate of the multiple nodes;
    获取所述多个节点的存储空间中当前所有文件的空间大小占总的空间大小的比重,并将所述比重作为所述存储空间利用率。Obtaining a proportion of a space size of all files in the storage space of the multiple nodes to a total space size, and using the specific gravity as the storage space utilization rate.
  3. 根据权利要求1所述的方法,其中,所述依据预设规则、所述启动速率和所述存储空间利用率,对所述多个节点的优先级进行分类,得到依据优先级而分类的节点集合的步骤包括:The method according to claim 1, wherein the classifying priorities of the plurality of nodes according to a preset rule, the startup rate, and the storage space utilization, and obtaining nodes classified according to priorities The steps of the collection include:
    依据所述启动速率和所述存储空间利用率生成所述多个节点的特征向量;Generating a feature vector of the plurality of nodes according to the startup rate and the storage space utilization;
    通过聚类分析对所述多个特征向量的优先级进行分类,并依据聚类分析的结果将所述多个节点分为第一节点集合和第二节点集合,其中,所述第一节点集合中的节点的优先级高于所述第二节点集合中的节点的优先级。Sorting the priorities of the plurality of feature vectors by cluster analysis, and dividing the plurality of nodes into a first node set and a second node set according to a result of the cluster analysis, wherein the first node set The priority of the nodes in the middle is higher than the priority of the nodes in the second set of nodes.
  4. 根据权利要求3所述的方法,其中,所述通过聚类分析对所述多个特征向量的优先级进行分类,并依据聚类分析的结果将所述多个节点分为第一节点集合和第二节点集合的步骤包括:The method according to claim 3, wherein said prioritizing said plurality of feature vectors by cluster analysis, and dividing said plurality of nodes into a first node set according to a result of cluster analysis The steps of the second node set include:
    预设第一初始聚类中心和第二初始聚类中心的特征向量,其中,所述第一初始聚类中心属于所述第一节点集合,所述第二初始聚类中心属于所述第二节点集合;Presetting a feature vector of the first initial cluster center and the second initial cluster center, wherein the first initial cluster center belongs to the first node set, and the second initial cluster center belongs to the second Node set
    获取所述多个节点的特征向量分别与第一初始聚类中心和第二初始聚类 中心的特征向量之间的距离值;Obtaining feature vectors of the plurality of nodes and a first initial cluster center and a second initial cluster respectively The distance between the feature vectors of the center;
    依据所述距离值和最近距离分配原则,将所述多个节点分配到离自身距离较近的所述第一节点集合或所述第二节点集合;And assigning, according to the distance value and the nearest distance allocation principle, the plurality of nodes to the first node set or the second node set that are closer to themselves;
    获取所述第一节点集合中所有节点相对于所述第一初始聚类中心的距离均值,以及获取所述第二节点集合中所有节点相对于所述第二初始聚类中心的距离均值,并根据所述距离均值分别调整所述第一初始聚类中心或所述初始第二初始聚类中心。Obtaining a distance average of all nodes in the first node set relative to the first initial cluster center, and obtaining an average distance of all nodes in the second node set relative to the second initial cluster center, and The first initial cluster center or the initial second initial cluster center is respectively adjusted according to the distance mean.
  5. 根据权利要求4所述的方法,其中,所述依据优先级,在所述节点集合之间迁移数据的步骤包括:The method of claim 4 wherein said step of migrating data between said set of nodes in accordance with a priority comprises:
    将所述第二节点集合中迁出节点的待迁移数据迁移至第一节点集合的迁入节点中。The data to be migrated of the migrated node in the second node set is migrated to the migrated node of the first node set.
  6. 根据权利要求5所述的方法,在所述依据优先级,在所述节点集合之间迁移数据的步骤之后,所述方法还包括:The method of claim 5, after the step of migrating data between the set of nodes according to a priority, the method further comprises:
    在所述迁出节点的系统需要访问已迁出的数据时,将所述迁入节点中迁入的数据恢复至所述迁出节点中。When the system of the migrating node needs to access the migrated data, the data migrated in the migrating node is restored to the migrating node.
  7. 一种数据的迁移装置,包括:A data migration device comprising:
    获取模块,设置成获取通信网络中多个节点的启动速率以及所述多个节点的存储空间利用率;Obtaining a module, configured to obtain a startup rate of a plurality of nodes in the communication network and a storage space utilization ratio of the plurality of nodes;
    分类模块,设置成依据预设规则、所述启动速率和所述存储空间利用率,对所述多个节点的优先级进行分类,得到依据优先级而分类的节点集合;a classifying module, configured to classify priorities of the plurality of nodes according to a preset rule, the startup rate, and the storage space utilization, to obtain a node set classified according to priorities;
    迁移模块,设置成依据优先级,在所述节点集合之间迁移数据。The migration module is configured to migrate data between the set of nodes according to a priority.
  8. 根据权利要求7所述的装置,其中,所述获取模块包括:The apparatus of claim 7, wherein the obtaining module comprises:
    第一获取单元,设置成获取所述多个节点的上电时间与正常运行时间之间的时间差,并将所述时间差作为所述多个节点的启动速率;a first acquiring unit, configured to acquire a time difference between a power-on time and a normal running time of the multiple nodes, and use the time difference as a starting rate of the multiple nodes;
    第二获取单元,设置成获取所述多个节点的存储空间中当前所有文件的空间大小占总的空间大小的比重,并将所述比重作为所述存储空间利用率。The second obtaining unit is configured to obtain a proportion of a space size of all files in the storage space of the plurality of nodes to a total space size, and use the specific gravity as the storage space utilization rate.
  9. 根据权利要求7所述的装置,其中,所述分类模块包括: The apparatus of claim 7 wherein said classification module comprises:
    生成单元,设置成依据所述启动速率和所述存储空间利用率生成所述多个节点的特征向量;Generating unit, configured to generate a feature vector of the plurality of nodes according to the startup rate and the storage space utilization rate;
    分类单元,设置成通过聚类分析对所述多个特征向量的优先级进行分类,并依据聚类分析的结果将所述多个节点分为第一节点集合和第二节点集合,其中,所述第一节点集合中的节点的优先级高于所述第二节点集合中的节点的优先级。a classifying unit configured to classify priorities of the plurality of feature vectors by cluster analysis, and divide the plurality of nodes into a first node set and a second node set according to a result of the cluster analysis, where The nodes in the first set of nodes have a higher priority than the nodes in the second set of nodes.
  10. 根据权利要求9所述的装置,其中,所述分类单元包括:The apparatus of claim 9, wherein the classification unit comprises:
    预设子单元,设置成预设第一初始聚类中心和第二初始聚类中心的特征向量,其中,所述第一初始聚类中心属于所述第一节点集合,所述第二初始聚类中心属于所述第二节点集合;a preset subunit, configured to preset feature vectors of the first initial cluster center and the second initial cluster center, wherein the first initial cluster center belongs to the first node set, and the second initial gather The class center belongs to the second node set;
    获取子单元,设置成获取所述多个节点的特征向量分别与第一初始聚类中心和第二初始聚类中心的特征向量之间的距离值;Obtaining a subunit, configured to obtain a distance value between a feature vector of the plurality of nodes and a feature vector of the first initial cluster center and the second initial cluster center;
    分配子单元,设置成依据所述距离值和最近距离分配原则,将所述多个节点分配到离自身距离较近的所述第一节点集合或所述第二节点集合;Assigning a subunit, configured to allocate the plurality of nodes to the first node set or the second node set that are closer to each other according to the distance value and the nearest distance allocation principle;
    调整子单元,设置成获取所述第一节点集合中所有节点相对于所述第一初始聚类中心的距离均值,以及获取所述第二节点集合中所有节点相对于所述第二初始聚类中心的距离均值,并根据所述距离均值分别调整所述第一初始聚类中心或所述初始第二初始聚类中心。 Adjusting a subunit, configured to obtain a distance average of all nodes in the first node set relative to the first initial cluster center, and obtain all nodes in the second node set relative to the second initial cluster The distance of the center is averaged, and the first initial cluster center or the initial second initial cluster center is respectively adjusted according to the distance mean.
PCT/CN2016/079915 2015-06-09 2016-04-21 Data migration method and device WO2016197706A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510311624.XA CN106254403A (en) 2015-06-09 2015-06-09 The moving method of data and device
CN201510311624.X 2015-06-09

Publications (1)

Publication Number Publication Date
WO2016197706A1 true WO2016197706A1 (en) 2016-12-15

Family

ID=57503167

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/079915 WO2016197706A1 (en) 2015-06-09 2016-04-21 Data migration method and device

Country Status (2)

Country Link
CN (1) CN106254403A (en)
WO (1) WO2016197706A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009204A (en) * 2017-11-02 2018-05-08 深圳市网心科技有限公司 Method and system based on extension name classification and de-redundancy

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109325016B (en) * 2018-09-12 2021-04-20 杭州朗和科技有限公司 Data migration method, device, medium and electronic equipment
CN111897962B (en) * 2020-07-27 2024-03-15 绿盟科技集团股份有限公司 Asset marking method and device for Internet of things
CN114510742B (en) * 2022-04-15 2022-07-15 纬创软件(武汉)有限公司 Mixed cloud data migration method and system based on privacy security

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034615A (en) * 2012-12-07 2013-04-10 无锡美森微电子科技有限公司 Storage management method applicable to stream application multi-core processor
EP2692197A1 (en) * 2011-03-31 2014-02-05 Telefonaktiebolaget L M Ericsson (PUBL) Method and arrangement in a communications system for handling a gbr bearer
CN103747069A (en) * 2013-12-27 2014-04-23 王之杰 Cloud computation system for compiling stock index by utilizing GDP (gross domestic product) constituent
CN104539730A (en) * 2015-01-16 2015-04-22 浙江大学 Load balancing method of facing video in HDFS

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2692197A1 (en) * 2011-03-31 2014-02-05 Telefonaktiebolaget L M Ericsson (PUBL) Method and arrangement in a communications system for handling a gbr bearer
CN103034615A (en) * 2012-12-07 2013-04-10 无锡美森微电子科技有限公司 Storage management method applicable to stream application multi-core processor
CN103747069A (en) * 2013-12-27 2014-04-23 王之杰 Cloud computation system for compiling stock index by utilizing GDP (gross domestic product) constituent
CN104539730A (en) * 2015-01-16 2015-04-22 浙江大学 Load balancing method of facing video in HDFS

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009204A (en) * 2017-11-02 2018-05-08 深圳市网心科技有限公司 Method and system based on extension name classification and de-redundancy

Also Published As

Publication number Publication date
CN106254403A (en) 2016-12-21

Similar Documents

Publication Publication Date Title
CN110301128B (en) Learning-based resource management data center cloud architecture implementation method
KR101827369B1 (en) Apparatus and method for managing data stream distributed parallel processing service
WO2021179462A1 (en) Improved quantum ant colony algorithm-based spark platform task scheduling method
US10534542B2 (en) Dynamic core allocation for consistent performance in a non-preemptive scheduling environment
US8972983B2 (en) Efficient execution of jobs in a shared pool of resources
WO2017167025A1 (en) Method and device for realizing task scheduling, and computer storage medium
US20190245924A1 (en) Three-stage cost-efficient disaggregation for high-performance computation, high-capacity storage with online expansion flexibility
Cohen et al. Almost optimal virtual machine placement for traffic intense data centers
JP6241300B2 (en) Job scheduling apparatus, job scheduling method, and job scheduling program
CN109710405B (en) Block chain intelligent contract management method and device, electronic equipment and storage medium
US20120221730A1 (en) Resource control system and resource control method
US10394606B2 (en) Dynamic weight accumulation for fair allocation of resources in a scheduler hierarchy
WO2016197706A1 (en) Data migration method and device
JPWO2008102739A1 (en) Virtual server system and physical server selection method
WO2021136137A1 (en) Resource scheduling method and apparatus, and related device
WO2022171066A1 (en) Task allocation method and apparatus based on internet-of-things device, and network training method and apparatus
US20130227244A1 (en) Workload-aware distributed data processing apparatus and method for processing large data based on hardware acceleration
CN105607952B (en) Method and device for scheduling virtualized resources
US10360267B2 (en) Query plan and operation-aware communication buffer management
US20160062929A1 (en) Master device, slave device and computing methods thereof for a cluster computing system
US11157323B2 (en) Multiple metric based load prediction and resource allocation in an active stream processing job
Shabeera et al. Optimising virtual machine allocation in MapReduce cloud for improved data locality
CN109213566B (en) Virtual machine migration method, device and equipment
CN114035906A (en) Virtual machine migration method and device, electronic equipment and storage medium
JP2012038275A (en) Transaction calculation simulation system, method, and program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16806604

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16806604

Country of ref document: EP

Kind code of ref document: A1