A method and device for storing data in a hybrid cloud environment
By monitoring changes in storage parameters in a hybrid cloud environment, calculating storage weight values and adjusting the nature of data nodes, the problem of dynamic changes in enterprise data storage requirements is solved, and storage flexibility and node utilization efficiency are improved.
Patent Information
- Application Number
- CN202210403347.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-18
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2042-04-18
AI Technical Summary
In a hybrid cloud environment, it is difficult for enterprises to effectively deal with the dynamic changes in data storage requirements by existing technologies, resulting in insufficient storage flexibility and the inability to fully utilize the advantages of storage nodes of different storage properties.
By monitoring the changes in storage parameters of the business system, calculating the storage weight value, and determining the appropriate storage node properties based on the relationship between the weight value and the storage threshold, dynamically adjusting the data storage nodes to realize the flow of data between nodes of different storage properties.
It improves the flexibility of data storage, can dynamically adjust storage nodes according to user needs, make full use of the advantages of different storage properties, and avoids the problem of excessive data migration span caused by user misoperation.
Smart Images

Figure CN114756174B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of computer technology, and in particular, to a method, apparatus, computing device, and computer-readable storage medium for data storage in a hybrid cloud environment. Background Art
[0002] With the continuous development of cloud computing technology, many enterprises have begun to deploy some business systems on the cloud to complete the computing and storage of data in the business systems. Since different business systems have different properties, enterprises often choose to complete data computing and processing in a hybrid cloud environment. A hybrid cloud environment refers to a cloud environment that includes at least two different storage properties. For example, business system A is deployed in a storage node of a public cloud nature, and business system B is deployed in a storage node of a private cloud nature.
[0003] In a hybrid cloud environment, the nodes where enterprise data is generated may be public cloud nodes or private cloud nodes. Generally speaking, the node where data is generated is also the node where data is stored. For example, if business system A is deployed in a public cloud node and various data of business system A is generated in the public cloud node, then these data will be stored in the node accordingly.
[0004] However, the enterprise's storage requirements for some data may change dynamically. If data can only be stored in nodes of one type, it will not be able to adapt to the dynamic changes in the enterprise's storage requirements for data. Summary of the invention
[0005] The embodiment of the present invention provides a method for data storage in a hybrid cloud environment, which is used to adapt to the dynamic changes in enterprise requirements for data storage and improve storage flexibility.
[0006] In a first aspect, an embodiment of the present invention provides a method for storing data in a hybrid cloud environment, including:
[0007] When a change in the parameter value of any storage parameter of any business system is detected, the parameter value of each storage parameter of the business system is obtained; wherein the parameter value of any storage parameter represents the user's data storage requirement for the business system in a hybrid cloud environment; the hybrid cloud environment includes at least two storage nodes with different storage properties;
[0008] Calculating the parameter values of each storage parameter of the business system according to a preset algorithm to obtain a storage weight value of the business system;
[0009] According to the relationship between the storage weight value and the storage threshold, determining the first storage property of the storage node that meets the data storage requirement; the storage threshold is a limit threshold corresponding to storage nodes with different storage properties;
[0010] If the current storage node used to store the data of the business system does not have the first storage property, the data of the business system is migrated to a storage node having the first storage property.
[0011] When the user's storage requirements for the data of any business system change, the parameter value of any storage parameter of the business system can be modified. In this way, when the system detects that the parameter value of the storage parameter of the business system has changed, it can redetermine the storage weight value of the business system based on the parameter value of the storage parameter of the business system modified by the user, and then redetermine the first storage property of the storage node that meets the data storage requirements based on the relationship between the storage weight value and the storage threshold, and determine whether to migrate the data based on the first storage property. In this way, the storage nodes of the business system data can be dynamically adjusted according to the changes in storage properties based on the user's storage needs, and the flow of business system data between storage nodes with different storage properties in the hybrid cloud environment can be realized, which improves the storage flexibility of data in the hybrid cloud environment and can fully utilize the storage advantages of storage nodes with different storage properties.
[0012] Optionally, obtaining parameter values of storage parameters of the business system includes:
[0013] Based on the second storage property of the current storage node, obtaining parameter values of each storage parameter matching the second storage property;
[0014] Calculating the parameter values of each storage parameter of the business system according to a preset algorithm to obtain the storage weight value of the business system includes:
[0015] Based on a preset algorithm matching the second storage property, the parameter values of the storage parameters of the business system are calculated to obtain the storage weight value of the business system.
[0016] Different storage parameters are set for storage nodes with different storage properties because different storage nodes have different storage properties and should focus on different things. The parameter values of each storage parameter matching the second storage property are obtained, and the parameter values of each storage parameter of the business system are calculated based on the preset algorithm matching the second storage property. The storage weight value obtained in this way is more reasonable, and the flow of business system data in the hybrid cloud environment can be realized more scientifically.
[0017] Optionally, based on the second storage property of the current storage node, acquiring parameter values of each storage parameter matching the second storage property includes:
[0018] If the second storage property is a private cloud property, obtaining a parameter value of a confidentiality parameter, a parameter value of a high availability parameter, and a parameter value of a persistence parameter that match the second storage property;
[0019] If the second storage property is an edge cloud property, obtaining a parameter value of a persistence parameter matching the second storage property;
[0020] If the second storage property is a public cloud property, a parameter value of a high availability parameter and a parameter value of a persistence parameter matching the second storage property are obtained.
[0021] Different storage parameters are set for storage nodes with different storage properties because different storage nodes have different storage properties and should focus on different aspects. Storage nodes with private cloud properties should focus on confidentiality, high availability, and persistence; storage nodes with public cloud properties should focus more on high availability and persistence, and have lower requirements for confidentiality; storage nodes with edge cloud properties should focus more on persistence, and have lower requirements for confidentiality and high availability. In this way, the flow of business system data in a hybrid cloud environment can be more scientifically achieved.
[0022] Optionally, determining the first storage property of the storage node that meets the data storage requirement according to the relationship between the storage weight value and the storage threshold value includes:
[0023] Based on the second storage property of the current storage node, determining a third storage property that satisfies a migration relationship with the second storage property;
[0024] determining a storage threshold between the second storage property and the third storage property;
[0025] Based on the relationship between the storage weight value and the storage threshold, a first storage property of a storage node that meets the data storage requirement is determined.
[0026] The corresponding third storage property is determined based on the second storage property of the current storage node, which limits the data flow from being too large. A more reasonable flow is set for the data of business systems located in storage nodes of different properties to avoid data migration spans being too large due to user misoperation.
[0027] Optionally, based on the second storage property of the current storage node, determining a third storage property that satisfies a migration relationship with the second storage property includes:
[0028] The second storage property is a private cloud property, and the third storage property that satisfies the migration relationship is a public cloud property;
[0029] The second storage property is an edge cloud property, and the third storage property that satisfies the migration relationship is a public cloud property;
[0030] If the second storage property is a public cloud property, then the third storage property that satisfies the migration relationship is a private cloud property and an edge cloud property.
[0031] The corresponding third storage property is determined based on the second storage property of the current storage node, which limits the data flow from being too large. A more reasonable flow is set for the data of business systems located in storage nodes of different properties to avoid data migration spans being too large due to user misoperation.
[0032] Optionally, based on the relationship between the storage weight value and the storage threshold, determining the first storage property of the storage node that meets the data storage requirement includes:
[0033] The second storage property is a private cloud property. If the storage weight value is greater than the first storage threshold, the storage node that meets the data storage requirements has a private cloud property; if the storage weight value is not greater than the first storage threshold, the storage node that meets the data storage requirements has a public cloud property;
[0034] The second storage property is an edge cloud property. If the storage weight value is greater than the second storage threshold, the storage node that meets the data storage requirements has a public cloud property; if the storage weight value is not greater than the second storage threshold, the storage node that meets the data storage requirements has an edge cloud property;
[0035] The second storage property is a public cloud property. If the storage weight value is greater than the first storage threshold, the storage node that meets the data storage requirements has a private cloud property; if the storage weight value is not greater than the second storage threshold, the storage node that meets the data storage requirements has an edge cloud property; if the storage weight value is not greater than the first storage threshold and greater than the second storage threshold, the storage node that meets the data storage requirements has a public cloud property;
[0036] Among them, the first storage threshold is the boundary threshold between the private cloud property and the public cloud property; the second storage threshold is the boundary threshold between the public cloud property and the edge cloud property.
[0037] The corresponding third storage property is determined based on the second storage property of the current storage node, which limits the data flow from being too large. A more reasonable flow is set for the data of business systems located in storage nodes of different properties to avoid data migration spans being too large due to user misoperation.
[0038] Optionally, determining the first storage property of the storage node that meets the data storage requirement according to the relationship between the storage weight value and the storage threshold value includes:
[0039] If the storage weight value is greater than the first storage threshold, it is determined that the storage node that meets the data storage requirement has a private cloud property;
[0040] If the storage weight value is less than the second storage threshold, it is determined that the storage node that meets the data storage requirement has edge cloud properties;
[0041] If the storage weight value is not greater than the first storage threshold and not less than the second storage threshold, it is determined that the storage node that meets the data storage requirement has a public cloud nature;
[0042] Among them, the first storage threshold is the boundary threshold between the private cloud property and the public cloud property; the second storage threshold is the boundary threshold between the public cloud property and the edge cloud property.
[0043] The determined storage weight value only needs to be directly compared with the first storage threshold and the second storage threshold. There is no need to first determine the storage properties that satisfy the migration relationship through the storage properties of the current storage node. It includes the situation of data flow across storage properties, and the comparison is simpler and more direct.
[0044] In a second aspect, an embodiment of the present invention further provides a device for storing data in a hybrid cloud environment, including:
[0045] SLA management module, used to:
[0046] When a change in the parameter value of any storage parameter of any business system is detected, the parameter value of each storage parameter of the business system is obtained; wherein the parameter value of any storage parameter represents the user's data storage requirement for the business system in a hybrid cloud environment; the hybrid cloud environment includes at least two storage nodes with different storage properties;
[0047] Calculating the parameter values of each storage parameter of the business system according to a preset algorithm to obtain a storage weight value of the business system;
[0048] Data storage management module, used for:
[0049] According to the relationship between the storage weight value and the storage threshold, determining the first storage property of the storage node that meets the data storage requirement; the storage threshold is a limit threshold corresponding to storage nodes with different storage properties;
[0050] If the current storage node used to store the data of the business system does not have the first storage property, the data of the business system is migrated to a storage node having the first storage property.
[0051] Optionally, the SLA management module is specifically used to:
[0052] Based on the second storage property of the current storage node, obtaining parameter values of each storage parameter matching the second storage property;
[0053] Based on a preset algorithm matching the second storage property, the parameter values of the storage parameters of the business system are calculated to obtain the storage weight value of the business system.
[0054] Optionally, the SLA management module is specifically used to:
[0055] If the second storage property is a private cloud property, obtaining a parameter value of a confidentiality parameter, a parameter value of a high availability parameter, and a parameter value of a persistence parameter that match the second storage property;
[0056] If the second storage property is an edge cloud property, obtaining a parameter value of a persistence parameter matching the second storage property;
[0057] If the second storage property is a public cloud property, a parameter value of a high availability parameter and a parameter value of a persistence parameter matching the second storage property are obtained.
[0058] Optionally, the data storage management module is specifically used to:
[0059] Based on the second storage property of the current storage node, determining a third storage property that satisfies a migration relationship with the second storage property;
[0060] determining a storage threshold between the second storage property and the third storage property;
[0061] Based on the relationship between the storage weight value and the storage threshold, a first storage property of a storage node that meets the data storage requirement is determined.
[0062] Optionally, the data storage management module is specifically used to:
[0063] The second storage property is a private cloud property, and the third storage property that satisfies the migration relationship is a public cloud property;
[0064] The second storage property is an edge cloud property, and the third storage property that satisfies the migration relationship is a public cloud property;
[0065] If the second storage property is a public cloud property, then the third storage property that satisfies the migration relationship is a private cloud property and an edge cloud property.
[0066] Optionally, the data storage management module is specifically used to:
[0067] The second storage property is a private cloud property. If the storage weight value is greater than the first storage threshold, the storage node that meets the data storage requirements has a private cloud property; if the storage weight value is not greater than the first storage threshold, the storage node that meets the data storage requirements has a public cloud property;
[0068] The second storage property is an edge cloud property. If the storage weight value is greater than the second storage threshold, the storage node that meets the data storage requirements has a public cloud property; if the storage weight value is not greater than the second storage threshold, the storage node that meets the data storage requirements has an edge cloud property;
[0069] The second storage property is a public cloud property. If the storage weight value is greater than the first storage threshold, the storage node that meets the data storage requirements has a private cloud property; if the storage weight value is not greater than the second storage threshold, the storage node that meets the data storage requirements has an edge cloud property; if the storage weight value is not greater than the first storage threshold and greater than the second storage threshold, the storage node that meets the data storage requirements has a public cloud property;
[0070] Among them, the first storage threshold is the boundary threshold between the private cloud property and the public cloud property; the second storage threshold is the boundary threshold between the public cloud property and the edge cloud property.
[0071] Optionally, the data storage management module is specifically used to:
[0072] If the storage weight value is greater than the first storage threshold, it is determined that the storage node that meets the data storage requirement has a private cloud property;
[0073] If the storage weight value is less than the second storage threshold, it is determined that the storage node that meets the data storage requirement has edge cloud properties;
[0074] If the storage weight value is not greater than the first storage threshold and not less than the second storage threshold, it is determined that the storage node that meets the data storage requirement has a public cloud nature;
[0075] Among them, the first storage threshold is the boundary threshold between the private cloud property and the public cloud property; the second storage threshold is the boundary threshold between the public cloud property and the edge cloud property.
[0076] In a third aspect, an embodiment of the present invention further provides a computing device, including:
[0077] Memory for storing computer programs;
[0078] The processor is used to call the computer program stored in the memory and execute the method for data storage in a hybrid cloud environment listed in any of the above-mentioned ways according to the obtained program.
[0079] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer-executable program, and the computer-executable program is used to enable a computer to execute the method for storing data in a hybrid cloud environment listed in any of the above methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0080] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0081] Figure 1 A schematic diagram of a system architecture provided for an embodiment of the present invention;
[0082] Figure 2 A schematic diagram of a flow chart of a method for storing data in a hybrid cloud environment provided by an embodiment of the present invention;
[0083] Figure 3 A schematic diagram of a flow chart of a method for storing data in a hybrid cloud environment provided by an embodiment of the present invention;
[0084] Figure 4 A schematic diagram of a flow chart of a method for storing data in a hybrid cloud environment provided by an embodiment of the present invention;
[0085] Figure 5 A schematic diagram of a multi-cloud management platform provided by an embodiment of the present invention;
[0086] Figure 6 A schematic diagram of a flow chart of a method for storing data in a hybrid cloud environment provided by an embodiment of the present invention;
[0087] Figure 7 A schematic diagram of a structure of data storage in a hybrid cloud environment provided by an embodiment of the present invention;
[0088] Figure 8 A schematic diagram of the structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0089] In order to make the purpose, implementation mode and advantages of the present application clearer, the exemplary implementation mode of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0090] Based on the exemplary embodiments described in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the claims attached to this application. In addition, although the disclosure in this application is introduced according to one or several exemplary examples, it should be understood that each aspect of the disclosure can also constitute a complete implementation method separately.
[0091] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.
[0092] The terms "first", "second", "third", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise indicated. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, for example, they can be implemented in an order other than those given in the diagrams or descriptions of the embodiments of this application.
[0093] In addition, the terms "include" and "have" and any variations thereof are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to those components expressly listed but may include other components not expressly listed or inherent to such products or devices.
[0094] Figure 1 A system architecture applicable to an embodiment of the present invention is exemplarily shown. The system architecture may be a server 100 , including a processor 110 , a communication interface 120 , and a memory 130 .
[0095] The communication interface 120 is used to communicate with the terminal device, send and receive information transmitted by the terminal device, and realize communication.
[0096] The processor 110 is the control center of the server 100, and uses various interfaces and routes to connect various parts of the entire server 100, and executes various functions of the server 100 and processes data by running or executing software programs and / or modules stored in the memory 130, and calling data stored in the memory 130. Optionally, the processor 110 may include one or more processing units.
[0097] The memory 130 can be used to store software programs and modules. The processor 110 executes various functional applications and data processing by running the software programs and modules stored in the memory 130. The memory 130 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, etc.; the data storage area can store data created according to business processing, etc. In addition, the memory 130 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0098] It should be noted that the above Figure 1 The structure shown is only an example and is not limited to this embodiment of the present invention.
[0099] Above Figure 1 The server shown can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.
[0100] With the continuous development of cloud computing technology, many enterprises have begun to deploy some business systems in hybrid cloud environments to complete the calculation, processing and storage of data in business systems. For example, the business systems of enterprises include enterprise resource planning (ERP) systems, customer relationship management (CRM) systems, etc. Different business systems have different requirements for generation nodes and storage nodes. For example, enterprises require high confidentiality and high access frequency for data in the enterprise resource planning system, but do not require high confidentiality and access frequency for the customer relationship management system. Then the enterprise can clarify the deployment nodes of the business system and the storage requirements for the data generated by the business system in the service level agreement (SLA) signed with the cloud vendor. Then according to the requirements of the enterprise, the cloud vendor may deploy the enterprise resource planning system in a private cloud environment, and accordingly, the data generated by the enterprise resource planning system is stored in the storage nodes of the private cloud nature; deploy the customer relationship management system in a public cloud environment, and accordingly, the data generated by the customer relationship management system is stored in the storage nodes of the public cloud nature. The above is only an example. The deployment nodes of the business system and the storage nodes of the data generated by the business system may be the same or different, depending on the needs of the enterprise.
[0101] The core private data of an enterprise is generally placed in a private cloud, the operating data of ordinary business systems is placed in a public cloud, and the data generated by edge computing is generally placed in an edge cloud. However, the storage requirements of the enterprise for the data generated by the business system may also change. For example, when the business nature of a business system changes, the enterprise's confidentiality requirements for the storage of the data of the business system increase. In other words, the service level agreement has changed. In this case, the cloud vendor is expected to replace the storage nodes of the business system with storage nodes of the nature of a private cloud based on the change in the service level agreement.
[0102] Currently, there is a lack of methods for replacing storage nodes of different nature for business system data based on changes in service level agreements.
[0103] The above introduction takes the user as an enterprise as an example. In fact, the user can also be an individual user or other users, which will not be described one by one here.
[0104] The hybrid cloud environment referred to in the embodiments of the present invention refers to a cloud environment that includes at least two storage nodes with different storage properties. For example, the hybrid cloud environment may include at least two cloud environments, including a public cloud environment including one or more storage nodes with public cloud properties, a private cloud environment including one or more storage nodes with private cloud properties, and / or an edge cloud environment including one or more storage nodes with edge cloud properties.
[0105] The public cloud environment is not owned by the user. It is a service that provides computing resources to the public. Cloud vendors or third parties provide resources, such as applications and storage, which are deployed on the premises of the cloud vendor. Users use these resources through the Internet. The advantages of the public cloud environment are low cost and excellent scalability. The disadvantages are the lack of control over cloud resources, poor security of confidential data, poor network performance and compatibility.
[0106] A private cloud environment is an extension and optimization of an enterprise's traditional data center, providing storage capacity and processing power for a variety of functions. "Private" refers more to the fact that such platforms are non-shared resources rather than their security advantages. A private cloud environment is built for a single user, so these data, security, and service quality are better protected than in a public cloud environment.
[0107] As an extension of the central cloud, the edge cloud environment extends some of the cloud's services or capabilities to the edge infrastructure. The central cloud and the edge cloud work together to achieve capabilities such as center-edge collaboration, full-network computing scheduling, and full-network unified management and control, truly realizing a "ubiquitous" cloud. Compared with public and private cloud environments, edge clouds place more emphasis on the persistence of stored data.
[0108] The above are only examples. The hybrid cloud environment referred to in the embodiments of the present invention is not limited to the above three cloud environments, and may also include other cloud environments, which are not listed here one by one.
[0109] In order to achieve flexible replacement of storage nodes, an embodiment of the present invention provides a method for storing data in a hybrid cloud environment, such as Figure 2 As shown, including:
[0110] Step 201, when a change in the parameter value of any storage parameter of any business system is monitored, the parameter values of each storage parameter of the business system are obtained; wherein the parameter value of any storage parameter represents the user's data storage requirements for the business system in a hybrid cloud environment; the hybrid cloud environment includes at least two storage nodes with different storage properties.
[0111] The storage parameters of the business system include at least one of a confidentiality parameter, a high availability parameter, and a persistence parameter. The confidentiality parameter is used to characterize the confidentiality and security of data; the high availability parameter is used to characterize the high availability of data; and the persistence parameter is used to characterize the probability of data loss.
[0112] The storage parameters of different business systems can be the same, or they can be set according to the storage properties of the current storage node.
[0113] In one embodiment, the storage parameters of all business systems stored in the hybrid cloud environment are consistent. For example, the storage parameters of all business systems stored in the hybrid cloud environment include confidentiality parameters; the storage parameters of all business systems stored in the hybrid cloud environment include confidentiality parameters and high availability parameters; the storage parameters of all business systems stored in the hybrid cloud environment include confidentiality parameters, high availability parameters, and persistence parameters; the storage parameters of all business systems stored in the hybrid cloud environment include high availability parameters and persistence parameters. The above are only examples.
[0114] In another embodiment, the storage parameters of the business system are set according to the storage properties of the current storage node, that is, the storage parameters of the business system located at the current storage nodes with different storage properties are different. For example, if the hybrid cloud environment includes a public cloud environment, a private cloud environment, and an edge cloud environment: if the current storage node of the business system is a storage node of public cloud properties, the storage parameters of the business system include high availability parameters and persistence parameters; if the current storage node of the business system is a storage node of private cloud properties, the storage parameters of the business system include confidentiality parameters, high availability parameters, and persistence parameters; if the current storage node of the business system is a storage node of edge cloud properties, the storage parameters of the business system include persistence parameters.
[0115] For another example, if the hybrid cloud environment includes a public cloud environment and a private cloud environment: if the current storage node of the business system is a storage node of a public cloud nature, then the storage parameters of the business system include persistence parameters and high availability parameters; if the current storage node of the business system is a storage node of a private cloud nature, then the storage parameters of the business system include confidentiality parameters, high availability parameters and persistence parameters.
[0116] For another example, if the hybrid cloud environment includes a public cloud environment and a private cloud environment: if the current storage node of the business system is a storage node of a public cloud nature, then the storage parameters of the business system include confidentiality parameters; if the current storage node of the business system is a storage node of a private cloud nature, then the storage parameters of the business system include confidentiality parameters, high availability parameters and persistence parameters.
[0117] For another example, if the hybrid cloud environment includes an edge cloud environment and a private cloud environment: if the current storage node of the business system is a storage node of a private cloud nature, then the storage parameters of the business system include confidentiality parameters; if the current storage node of the business system is a storage node of an edge cloud nature, then the storage parameters of the business system include high availability parameters and persistence parameters.
[0118] The above is only an example and is not intended to limit the embodiments of the present invention.
[0119] The user adjusts the storage parameters of any business system based on the data storage requirements of the business system in the hybrid cloud environment. For example, the current storage node of business system A is a public cloud storage node, and its corresponding storage parameters are confidentiality parameters and high availability parameters. The user can adjust the parameter values of the storage parameters on the settings page based on the update of data storage requirements. If the user needs to improve the data confidentiality of the business system, the parameter value of the confidentiality parameter can be increased, and the high availability parameter remains unchanged; or if the user needs to improve the data confidentiality and high availability of the business system, the parameter values of the confidentiality parameter and the high availability parameter can be increased.
[0120] After the system detects that the parameter value of any storage parameter of any business system has changed, the parameter values of each storage parameter of the business system are obtained, including the parameter values that have changed and the parameter values that have not changed. For example, after detecting that the parameter value of the confidentiality parameter of business system A has changed, the parameter values of the confidentiality parameter and the high availability parameter of business system A are obtained.
[0121] Step 202: Calculate the parameter value of each storage parameter of the business system according to a preset algorithm to obtain a storage weight value of the business system.
[0122] The preset algorithm may be multiplication, addition, or both multiplication and addition, or other algorithms, which are not listed here. For example, after obtaining the parameter value of the confidentiality parameter and the parameter value of the high availability parameter of business system A, the two are multiplied to obtain the storage weight value of business system A. The storage weight value can reflect the user's preference for the storage properties of the storage node of the business system to a certain extent.
[0123] Step 203, determining the first storage property of the storage node that meets the data storage requirement based on the relationship between the storage weight value and the storage threshold; the storage threshold is a boundary threshold corresponding to storage nodes with different storage properties.
[0124] There is a boundary threshold, i.e., a storage threshold, corresponding to storage nodes of different storage properties. In a possible embodiment, the hybrid cloud environment includes a public cloud environment and a private cloud environment, so there is a storage threshold between the storage nodes of public cloud properties and the storage nodes of private cloud properties. If the storage weight value is greater than the storage threshold, the first storage property of the storage node that meets the data storage requirements is the private cloud property; if the storage weight value is not greater than the storage threshold, the first storage property of the storage node that meets the data storage requirements is the public cloud property. Of course, it can also be set that: if the storage weight value is greater than the storage threshold, the first storage property of the storage node that meets the data storage requirements is the public cloud property; if the storage weight value is not greater than the storage threshold, the first storage property of the storage node that meets the data storage requirements is the private cloud property. Those skilled in the art can make various changes without violating the basic idea, and there is no limitation to this.
[0125] In another possible embodiment, the hybrid cloud environment includes a public cloud environment, a private cloud environment, and an edge cloud environment, then there is a first storage threshold between the storage nodes of public cloud nature and the storage nodes of private cloud nature, there is a second storage threshold between the storage nodes of public cloud nature and the storage nodes of edge cloud nature, and the first storage threshold is greater than the second storage threshold. If the storage weight value is greater than the first storage threshold, it is determined that the storage node that meets the data storage requirements has private cloud properties; if the storage weight value is less than the second storage threshold, it is determined that the storage node that meets the data storage requirements has edge cloud properties; if the storage weight value is not greater than the first storage threshold and not less than the second storage threshold, it is determined that the storage node that meets the data storage requirements has public cloud properties.
[0126] For example, the current storage node of business system B is a storage node of private cloud nature, and the corresponding storage parameters are confidentiality parameters, persistence parameters and high availability parameters. The user lowers the persistence parameters and confidentiality parameters corresponding to business system A. If the reduction is small, the final storage weight value may be between the first storage threshold and the second storage threshold. In this case, it is determined that the first storage property of the storage node that meets the data storage requirements is a public cloud property. It is also possible that the user lowers the value by a large amount, and the final storage weight value is less than the second storage threshold. In this case, it is determined that the first storage property of the storage node that meets the data storage requirements is an edge cloud property.
[0127] The above are just examples.
[0128] Step 204: If the current storage node for storing the data of the business system does not have the first storage property, the data of the business system is migrated to a storage node having the first storage property.
[0129] Determine the storage property of the current storage node storing the business system. If the storage property is different from the first storage property, data migration is required to migrate the data of the business system to the storage node with the first storage property.
[0130] For instance, in the above example, based on the relationship between the storage weight value and the storage threshold of business system A, it is determined that the first storage property of the storage node that meets the data storage requirements is a private cloud property, and business system A is currently stored in a storage node of a public cloud nature. In this case, the data in business system A needs to be migrated to the storage node of a private cloud nature.
[0131] One possible situation is that although the user has adjusted the parameter value of any storage parameter, the adjustment is small, and the final storage weight value still does not meet the storage threshold. The first storage property determined based on the relationship between the storage weight value and the storage threshold is consistent with the storage property of the current storage node, so there is no need to migrate the data of the business system.
[0132] In the above description of step 201, it has been explained that the storage parameters of each business system may be the same, or may have different storage parameters depending on the different storage properties of the current storage node. The following describes step 201 and step 202 in detail with a specific embodiment.
[0133] like Figure 3 As shown, including:
[0134] Step 301, when a change in the parameter value of any storage parameter of any business system is monitored, based on the second storage property of the current storage node, the parameter values of each storage parameter matching the second storage property are obtained.
[0135] Different storage properties correspond to different storage parameters. For example, if the hybrid cloud environment includes a public cloud environment, a private cloud environment, and an edge cloud environment: if the second storage property of the current storage node of the business system is a public cloud property, then obtain the parameter value of the high availability parameter and the parameter value of the persistence parameter that match the public cloud property; if the second storage property of the current storage node of the business system is a private cloud property, then obtain the parameter value of the confidentiality parameter, the parameter value of the high availability parameter, and the parameter value of the persistence parameter that match the private cloud property; if the second storage property of the current storage node of the business system is an edge cloud property, then obtain the parameter value of the persistence parameter that matches the edge cloud property.
[0136] In the above embodiment, different storage parameters are set for storage nodes with different storage properties because different storage nodes have different storage properties and should focus on different aspects. Storage nodes with private cloud properties should focus on confidentiality, high availability, and persistence at the same time; storage nodes with public cloud properties should focus more on high availability and persistence, and have low requirements for confidentiality; storage nodes with edge cloud properties should focus more on persistence, and have low requirements for confidentiality and high availability. In this way, the flow of business system data in a hybrid cloud environment can be realized more scientifically.
[0137] For example, when it is monitored that the confidentiality parameter of business system A changes, and it is obtained that the current storage node of business system A is of a public cloud nature, the parameter value of the confidentiality parameter and the parameter value of the high availability parameter of business system A are obtained.
[0138] For another example, if the hybrid cloud environment includes a public cloud environment and a private cloud environment: if the second storage property of the current storage node of the business system is a public cloud property, then the storage parameters of the business system include high availability parameters; if the second storage property of the current storage node of the business system is a private cloud property, then the storage parameters of the business system include confidentiality parameters, high availability parameters and persistence parameters.
[0139] The above is only an example, and the embodiments of the present invention do not limit this.
[0140] Step 302: Calculate the parameter value of each storage parameter of the business system based on a preset algorithm matching the second storage property to obtain a storage weight value of the business system.
[0141] The second storage property of the current storage node can also determine the preset algorithm, that is, different storage properties correspond to different preset algorithms. For example, the preset algorithm for matching public cloud properties is multiplication, and the preset algorithm for matching private cloud properties is addition. The above is only an example and there is no limitation to this.
[0142] Step 303: Determine, based on the relationship between the storage weight value and the storage threshold, a first storage property of the storage node that meets the data storage requirement.
[0143] The specific steps are the same as step 203 and will not be repeated here.
[0144] Step 304: If the current storage node for storing the data of the business system does not have the first storage property, the data of the business system is migrated to a storage node having the first storage property.
[0145] The specific steps are the same as step 204 and will not be repeated here.
[0146] In the description of step 203, one possible implementation method is introduced, that is, directly comparing the obtained storage weight value with multiple storage thresholds, so that data migration across storage properties may be achieved, that is, data in storage nodes of edge cloud properties may be migrated to storage nodes of private cloud properties, and data in storage nodes of private cloud properties may also be migrated to storage nodes of edge cloud properties.
[0147] However, the above method may cause a problem. The user may make an error and lower the storage parameter value of the business system currently stored in the private cloud too much. In this case, the data of the business system will be directly migrated to the edge cloud without any transition. Alternatively, the user may mistakenly increase the storage parameter value of the business system currently stored in the edge cloud too much. In this case, the data of the business system will be directly migrated to the private cloud without any transition. Such direct migration without any transition will condone the user's error operation, and the data flow is not scientific and reasonable enough.
[0148] Another possible embodiment of step 203 is described below. Figure 4 As shown, including:
[0149] Step 401 : when a change in the parameter value of any storage parameter of any business system is detected, the parameter value of each storage parameter of the business system is obtained.
[0150] The specific steps are the same as step 201 and step 301 and will not be repeated here.
[0151] Step 402: Calculate the parameter value of each storage parameter of the business system according to a preset algorithm to obtain a storage weight value of the business system.
[0152] The specific steps are the same as step 202 and step 302, and will not be repeated here.
[0153] Step 403, based on the second storage property of the current storage node, determine a third storage property that satisfies a migration relationship with the second storage property; determine a storage threshold between the second storage property and the third storage property; based on the relationship between the storage weight value and the storage threshold, determine the first storage property of the storage node that meets the data storage requirements.
[0154] The purpose of determining the third storage property is to limit the data flow of the business system in the current storage node. For example, the hybrid cloud environment includes the public cloud environment, the private cloud environment and the edge cloud environment. If the second storage property of the current storage node is the private cloud property, then the third storage property that satisfies the migration relationship is the public cloud property, that is, the data of the business system can only flow between the storage node with the private cloud property and the storage node with the public cloud property;
[0155] If the second storage property of the current storage node is edge cloud property, then the third storage property that satisfies the migration relationship is public cloud property, that is, the data of the business system can only flow between the storage node of edge cloud property and the storage node of public cloud property;
[0156] If the second storage property of the current storage node is public cloud property, then the third storage property that satisfies the migration relationship is private cloud property and edge cloud property, that is, the data of the business system can flow between storage nodes with edge cloud properties, storage nodes with private cloud properties, and storage nodes with public cloud properties.
[0157] In this way, the data flow is limited to a certain span, and a more reasonable flow is set for the data of business systems located in storage nodes of different natures to avoid the span of data migration being too large due to user misoperation.
[0158] After the third storage property is set, the storage threshold between the second storage property and the third storage property is determined, and then based on the relationship between the storage weight value and the storage threshold, the first storage property of the storage node that meets the data storage requirement is determined. That is, only the storage threshold between the second storage property and the third storage property needs to be paid attention to, and the other storage threshold does not need to be paid attention to.
[0159] Specifically, the second storage property is a private cloud property. If the storage weight value is greater than the first storage threshold, the storage node that meets the data storage requirements has a private cloud property; if the storage weight value is not greater than the first storage threshold, the storage node that meets the data storage requirements has a public cloud property;
[0160] The second storage property is an edge cloud property. If the storage weight value is greater than the second storage threshold, the storage node that meets the data storage requirements has a public cloud property; if the storage weight value is not greater than the second storage threshold, the storage node that meets the data storage requirements has an edge cloud property;
[0161] The second storage property is a public cloud property. If the storage weight value is greater than the first storage threshold, the storage node that meets the data storage requirements has a private cloud property; if the storage weight value is not greater than the second storage threshold, the storage node that meets the data storage requirements has an edge cloud property; if the storage weight value is not greater than the first storage threshold and greater than the second storage threshold, the storage node that meets the data storage requirements has a public cloud property;
[0162] It can be found that when the second storage nature is private cloud nature and edge cloud nature, the storage weight value is only compared with one storage threshold, which limits the cross-nature flow of data in the business system.
[0163] Step 404: If the current storage node for storing the data of the business system does not have the first storage property, the data of the business system is migrated to a storage node having the first storage property.
[0164] The specific steps are the same as step 204 and step 304 and will not be repeated here.
[0165] The system for executing the method of the embodiment of the present invention includes a multi-cloud management platform and a hybrid cloud storage environment, wherein the hybrid cloud storage environment includes at least two storage nodes with different storage properties. A user can adjust any storage parameter of any business system through a user interface, thereby triggering the migration demand of the multi-cloud management platform. Figure 5 A structural schematic diagram of a possible multi-cloud management platform provided by an embodiment of the present invention is shown, and the multi-cloud management platform includes an SLA management module and a data storage management module. The SLA management module is used to obtain the parameter values of each storage parameter of any business system after monitoring a change in the parameter value of any storage parameter of the business system, and calculate each parameter value to obtain a storage weight value. The data storage management module is used to determine whether to migrate data and the specific migration work based on the obtained storage weight value.
[0166] In order to better explain the embodiments of the present invention, the process of data storage in the above hybrid cloud environment will be described below in a specific implementation scenario. Take the hybrid cloud environment including a public cloud environment, a private cloud environment and an edge cloud environment, the storage parameters of the storage node of the public cloud nature include high availability parameters and persistence parameters; the storage parameters of the storage node of the private cloud nature include confidentiality parameters, high availability parameters and persistence parameters; the storage parameters of the storage node of the edge cloud nature include persistence parameters as an example.
[0167] like Figure 6 As shown, including:
[0168] Step 601: after monitoring a change in the parameter value of any storage parameter of any business system, based on the second storage property of the current storage node, obtain the parameter values of each storage parameter matching the second storage property.
[0169] For example, if the current storage node of business system C has the characteristics of a private cloud, the storage parameters of business system C displayed on the user interface include: confidentiality parameter, high availability parameter, and persistence parameter. The parameter value of each parameter can be set by the user. The range of variation of the parameter value set by the user can be limited, for example, the range of variation of the parameter value is limited to 1-10. The current parameter values of the confidentiality parameter, high availability parameter, and persistence parameter of business system C are 7, 8, and 5, respectively. The user lowers the confidentiality parameter of business system C to 2 on the user interface.
[0170] The SLA management module of the multi-cloud management platform detects that the confidentiality parameters of business system C have changed. Based on the private cloud nature of the current storage node, the parameter values of the confidentiality parameter, high availability parameter, and persistence parameter that match the private cloud nature are obtained, which are 2, 8, and 5 respectively.
[0171] Step 602: Calculate the parameter value of each storage parameter of the business system based on a preset algorithm matching the second storage property to obtain a storage weight value of the business system.
[0172] For example, the SLA management module multiplies the parameter values and obtains a storage weight value of 80 for business system C.
[0173] Step 603: Based on the second storage property of the current storage node, determine a third storage property that satisfies a migration relationship with the second storage property.
[0174] Based on the fact that business system C has private cloud properties, the public cloud properties that satisfy the migration relationship with the private cloud properties are determined.
[0175] Step 604, determining a storage threshold between the second storage property and the third storage property.
[0176] Assume that the first storage threshold (the boundary threshold between private cloud properties and public cloud properties) is 100, and the second storage threshold (the boundary threshold between public cloud properties and edge cloud properties) is 10.
[0177] Then it is determined that the first storage threshold between the private cloud property and the public cloud property is 100.
[0178] Step 605: Based on the relationship between the storage weight value and the storage threshold, determine the first storage property of the storage node that meets the data storage requirement.
[0179] The storage weight value 80 is less than the first storage threshold, so it is determined that the storage node that meets the data storage requirements has a public cloud nature.
[0180] Step 606: If the current storage node for storing the data of the business system does not have the first storage property, the data of the business system is migrated to a storage node with the first storage property.
[0181] Since the current storage node of business system C has private cloud properties, and the storage node that meets the data storage requirements has public cloud properties, the data of business system C is migrated to the storage node with public cloud storage properties.
[0182] Step 607: If the current storage node used to store the data of the business system has the first storage property, the data of the business system is not migrated.
[0183] Based on the same technical concept, Figure 7 The structure of a data storage device in a hybrid cloud environment provided by an embodiment of the present invention is exemplarily shown, and the structure can execute the data storage process in the hybrid cloud environment.
[0184] like Figure 7 As shown, the device specifically includes:
[0185] The SLA management module 701 is used to:
[0186] When a change in the parameter value of any storage parameter of any business system is detected, the parameter value of each storage parameter of the business system is obtained; wherein the parameter value of any storage parameter represents the user's data storage requirement for the business system in a hybrid cloud environment; the hybrid cloud environment includes at least two storage nodes with different storage properties;
[0187] Calculating the parameter values of each storage parameter of the business system according to a preset algorithm to obtain a storage weight value of the business system;
[0188] The data storage management module 702 is used to:
[0189] According to the relationship between the storage weight value and the storage threshold, determining the first storage property of the storage node that meets the data storage requirement; the storage threshold is a limit threshold corresponding to storage nodes with different storage properties;
[0190] If the current storage node used to store the data of the business system does not have the first storage property, the data of the business system is migrated to a storage node having the first storage property.
[0191] Optionally, the SLA management module 701 is specifically used to:
[0192] Based on the second storage property of the current storage node, obtaining parameter values of each storage parameter matching the second storage property;
[0193] Based on a preset algorithm matching the second storage property, the parameter values of the storage parameters of the business system are calculated to obtain the storage weight value of the business system.
[0194] Optionally, the SLA management module 701 is specifically used to:
[0195] If the second storage property is a private cloud property, obtaining a parameter value of a confidentiality parameter, a parameter value of a high availability parameter, and a parameter value of a persistence parameter that match the second storage property;
[0196] If the second storage property is an edge cloud property, obtaining a parameter value of a persistence parameter matching the second storage property;
[0197] If the second storage property is a public cloud property, a parameter value of a high availability parameter and a parameter value of a persistence parameter matching the second storage property are obtained.
[0198] Optionally, the data storage management module 702 is specifically used to:
[0199] Based on the second storage property of the current storage node, determining a third storage property that satisfies a migration relationship with the second storage property;
[0200] determining a storage threshold between the second storage property and the third storage property;
[0201] Based on the relationship between the storage weight value and the storage threshold, a first storage property of a storage node that meets the data storage requirement is determined.
[0202] Optionally, the data storage management module 702 is specifically used to:
[0203] The second storage property is a private cloud property, and the third storage property that satisfies the migration relationship is a public cloud property;
[0204] The second storage property is an edge cloud property, and the third storage property that satisfies the migration relationship is a public cloud property;
[0205] If the second storage property is a public cloud property, then the third storage property that satisfies the migration relationship is a private cloud property and an edge cloud property.
[0206] Optionally, the data storage management module 702 is specifically used to:
[0207] The second storage property is a private cloud property. If the storage weight value is greater than the first storage threshold, the storage node that meets the data storage requirements has a private cloud property; if the storage weight value is not greater than the first storage threshold, the storage node that meets the data storage requirements has a public cloud property;
[0208] The second storage property is an edge cloud property. If the storage weight value is greater than the second storage threshold, the storage node that meets the data storage requirements has a public cloud property; if the storage weight value is not greater than the second storage threshold, the storage node that meets the data storage requirements has an edge cloud property;
[0209] The second storage property is a public cloud property. If the storage weight value is greater than the first storage threshold, the storage node that meets the data storage requirements has a private cloud property; if the storage weight value is not greater than the second storage threshold, the storage node that meets the data storage requirements has an edge cloud property; if the storage weight value is not greater than the first storage threshold and greater than the second storage threshold, the storage node that meets the data storage requirements has a public cloud property;
[0210] Among them, the first storage threshold is the boundary threshold between the private cloud property and the public cloud property; the second storage threshold is the boundary threshold between the public cloud property and the edge cloud property.
[0211] Optionally, the data storage management module 702 is specifically used to:
[0212] If the storage weight value is greater than the first storage threshold, it is determined that the storage node that meets the data storage requirement has a private cloud property;
[0213] If the storage weight value is less than the second storage threshold, it is determined that the storage node that meets the data storage requirement has edge cloud properties;
[0214] If the storage weight value is not greater than the first storage threshold and not less than the second storage threshold, it is determined that the storage node that meets the data storage requirement has a public cloud nature;
[0215] Among them, the first storage threshold is the boundary threshold between the private cloud property and the public cloud property; the second storage threshold is the boundary threshold between the public cloud property and the edge cloud property.
[0216] Based on the same technical concept, the embodiment of the present application provides a computer device, such as Figure 8 As shown, it includes at least one processor 801 and a memory 802 connected to the at least one processor. The specific connection medium between the processor 801 and the memory 802 is not limited in the embodiment of the present application. Figure 8 For example, the processor 801 and the memory 802 are connected via a bus. The bus can be divided into an address bus, a data bus, a control bus, etc.
[0217] In the embodiment of the present application, the memory 802 stores instructions that can be executed by at least one processor 801. The at least one processor 801 can execute the steps of the above-mentioned method for data storage in the hybrid cloud environment by executing the instructions stored in the memory 802.
[0218] Among them, the processor 801 is the control center of the computer device, and can use various interfaces and lines to connect various parts of the computer device, and perform data storage in a hybrid cloud environment by running or executing instructions stored in the memory 802 and calling data stored in the memory 802. Optionally, the processor 801 may include one or more processing units, and the processor 801 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 801. In some embodiments, the processor 801 and the memory 802 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on independent chips.
[0219] Processor 801 can be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit (ASIC), a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware processor for execution, or can be executed by a combination of hardware and software modules in the processor.
[0220] The memory 802 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 802 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory 802 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 802 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.
[0221] Based on the same technical concept, an embodiment of the present invention further provides a computer-readable storage medium, which stores a computer-executable program. The computer-executable program is used to enable a computer to execute the method for storing data in a hybrid cloud environment listed in any of the above methods.
[0222] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0223] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0224] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0225] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0226] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for storing data in a hybrid cloud environment, characterized in that: include: When a change in the parameter value of any storage parameter of any business system is detected, the parameter value of each storage parameter of the business system is obtained; wherein the parameter value of any storage parameter represents the user's data storage requirement for the business system in a hybrid cloud environment; the hybrid cloud environment includes at least two storage nodes with different storage properties; Calculating the parameter values of each storage parameter of the business system according to a preset algorithm to obtain a storage weight value of the business system; According to the relationship between the storage weight value and the storage threshold, determining the first storage property of the storage node that meets the data storage requirement; the storage threshold is a limit threshold corresponding to storage nodes with different storage properties; If the current storage node for storing the data of the business system does not have the first storage property, migrating the data of the business system to a storage node having the first storage property; Wherein, obtaining the parameter value of each storage parameter of the business system includes: If the second storage property of the current storage node is a private cloud property, then obtaining a parameter value of a confidentiality parameter, a parameter value of a high availability parameter, and a parameter value of a persistence parameter that match the second storage property; If the second storage property is an edge cloud property, obtaining a parameter value of a persistence parameter matching the second storage property; If the second storage property is a public cloud property, a parameter value of a high availability parameter and a parameter value of a persistence parameter matching the second storage property are obtained.
2. The method according to claim 1, characterized in that Calculating the parameter values of each storage parameter of the business system according to a preset algorithm to obtain the storage weight value of the business system includes: Based on a preset algorithm matching the second storage property, the parameter values of the storage parameters of the business system are calculated to obtain the storage weight value of the business system.
3. The method according to claim 1, characterized in that Determining, according to the relationship between the storage weight value and the storage threshold, a first storage property of a storage node that meets the data storage requirement, includes: Based on the second storage property of the current storage node, determining a third storage property that satisfies a migration relationship with the second storage property; determining a storage threshold between the second storage property and the third storage property; Based on the relationship between the storage weight value and the storage threshold, a first storage property of a storage node that meets the data storage requirement is determined.
4. The method according to claim 3, characterized in that Determining, based on the second storage property of the current storage node, a third storage property that satisfies a migration relationship with the second storage property includes: The second storage property is a private cloud property, and the third storage property that satisfies the migration relationship is a public cloud property; The second storage property is an edge cloud property, and the third storage property that satisfies the migration relationship is a public cloud property; If the second storage property is a public cloud property, then the third storage property that satisfies the migration relationship is a private cloud property and an edge cloud property.
5. The method according to claim 4, characterized in that Based on the relationship between the storage weight value and the storage threshold, determining a first storage property of a storage node that meets the data storage requirement includes: The second storage property is a private cloud property. If the storage weight value is greater than the first storage threshold, the storage node that meets the data storage requirements has a private cloud property; if the storage weight value is not greater than the first storage threshold, the storage node that meets the data storage requirements has a public cloud property; The second storage property is an edge cloud property. If the storage weight value is greater than the second storage threshold, the storage node that meets the data storage requirements has a public cloud property; if the storage weight value is not greater than the second storage threshold, the storage node that meets the data storage requirements has an edge cloud property; The second storage property is a public cloud property. If the storage weight value is greater than the first storage threshold, the storage node that meets the data storage requirements has a private cloud property; if the storage weight value is not greater than the second storage threshold, the storage node that meets the data storage requirements has an edge cloud property; if the storage weight value is not greater than the first storage threshold and greater than the second storage threshold, the storage node that meets the data storage requirements has a public cloud property; Among them, the first storage threshold is the boundary threshold between the private cloud property and the public cloud property; the second storage threshold is the boundary threshold between the public cloud property and the edge cloud property.
6. The method according to claim 1, characterized in that Determining, according to the relationship between the storage weight value and the storage threshold, a first storage property of a storage node that meets the data storage requirement, includes: If the storage weight value is greater than the first storage threshold, it is determined that the storage node that meets the data storage requirement has a private cloud property; If the storage weight value is less than the second storage threshold, it is determined that the storage node that meets the data storage requirement has edge cloud properties; If the storage weight value is not greater than the first storage threshold and not less than the second storage threshold, it is determined that the storage node that meets the data storage requirement has a public cloud nature; Among them, the first storage threshold is the boundary threshold between the private cloud property and the public cloud property; the second storage threshold is the boundary threshold between the public cloud property and the edge cloud property.
7. A device for storing data in a hybrid cloud environment, characterized in that: include: SLA management module, used to: When a change in the parameter value of any storage parameter of any business system is detected, the parameter value of each storage parameter of the business system is obtained; wherein the parameter value of any storage parameter represents the user's data storage requirement for the business system in a hybrid cloud environment; the hybrid cloud environment includes at least two storage nodes with different storage properties; Calculating the parameter values of each storage parameter of the business system according to a preset algorithm to obtain a storage weight value of the business system; Data storage management module, used for: According to the relationship between the storage weight value and the storage threshold, determining the first storage property of the storage node that meets the data storage requirement; the storage threshold is a limit threshold corresponding to storage nodes with different storage properties; If the current storage node for storing the data of the business system does not have the first storage property, migrating the data of the business system to a storage node having the first storage property; Wherein, the SLA management module is specifically used for: If the second storage property of the current storage node is a private cloud property, then obtaining a parameter value of a confidentiality parameter, a parameter value of a high availability parameter, and a parameter value of a persistence parameter that match the second storage property; If the second storage property is an edge cloud property, obtaining a parameter value of a persistence parameter matching the second storage property; If the second storage property is a public cloud property, a parameter value of a high availability parameter and a parameter value of a persistence parameter matching the second storage property are obtained.
8. A computing device, characterized in that include: Memory for storing computer programs; A processor, configured to call a computer program stored in the memory, and execute the method according to any one of claims 1 to 6 according to the obtained program.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer-executable program, and the computer-executable program is used to enable a computer to execute the method according to any one of claims 1 to 6.
