Storage type conversion method, system, device and equipment

By obtaining and configuring conversion conditions and types, and calling the conversion interface for object storage type conversion, it solves the problem that corporate users find it difficult to convert object storage types according to business needs, and realizes flexible utilization and efficient conversion of storage resources.

CN111858498BActive Publication Date: 2024-12-03BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010761397.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-31
Publication Date
2024-12-03
Estimated Expiration
2040-07-31

AI Technical Summary

Technical Problem

When using object storage, it is difficult for enterprise users to quickly and effectively convert object storage types according to their own business needs, resulting in insufficient utilization of storage resources.

Method used

It provides a storage type conversion method and system. By obtaining and configuring conversion conditions and conversion types, determining the target object and calling the conversion interface for storage type conversion, supporting storage type conversion of hot data, temperature data and cold data.

Benefits of technology

It realizes the rapid and efficient conversion of object storage types according to the business needs of enterprise users, and improves storage resource utilization and flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111858498B_ABST
    Figure CN111858498B_ABST
Patent Text Reader

Abstract

The embodiments of the present invention provide a storage type conversion method, system, device and equipment. The method is applied to electronic devices; the method includes: obtaining a conversion condition and a conversion type corresponding to the conversion condition; wherein the conversion condition is a condition based on which the storage type of an object stored in a target server can be converted, and the conversion type is the storage type to which the object that meets the conversion condition needs to be converted; determining the target object that meets the conversion condition among the various objects stored in the target server; converting the storage type of the target object in the target server to the conversion type by calling a conversion interface; wherein the conversion interface is an interface for performing storage type conversion on objects stored in the target server. Through this solution, the purpose of quickly and effectively converting the object storage type in the object storage used by enterprise users according to their business needs can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of object storage technology, and in particular to a storage type conversion method, system, device and equipment. Background Art

[0002] IaaS infrastructure and services are a service model provided by cloud computing service providers, which mainly include CPU, memory, storage, network, virtualization software, distributed systems, etc., so that enterprise users do not need to worry about the supply of basic resources and only need to focus on deploying their own business application software.

[0003] Among them, object storage is a common storage method under the IaaS service model. In specific applications, enterprise users have the need to convert object storage types according to their own business characteristics.

[0004] It can be seen that providing a storage type conversion solution to quickly and effectively convert the object storage type in the object storage used by enterprise users according to the business needs of enterprise users is an urgent problem to be solved. Summary of the invention

[0005] The purpose of the embodiments of the present invention is to provide a storage type conversion method, system, device and equipment to achieve the purpose of quickly and effectively converting the object storage type in the object storage used by enterprise users according to the business needs of enterprise users. The specific technical solution is as follows:

[0006] In a first aspect, an embodiment of the present invention provides a storage type conversion method, comprising:

[0007] Acquire a conversion condition and a conversion type corresponding to the conversion condition; wherein the conversion condition is a condition based on whether the storage type of the object stored in the target server can be converted, and the conversion type is the storage type to which the object that meets the conversion condition needs to be converted;

[0008] Determine a target object that meets the conversion condition among the objects stored in the target server;

[0009] By calling a conversion interface, the storage type of the target object in the target server is converted to the conversion type; wherein the conversion interface is an interface for performing storage type conversion on the object stored in the target server.

[0010] Optionally, the number of the conversion conditions is at least one, and each conversion condition has a priority;

[0011] The converting the storage type of the target object in the target server to the conversion type by calling the conversion interface includes:

[0012] If the target object meets at least two conversion conditions, the storage type of the target object is converted according to the conversion type corresponding to the target conversion condition by calling the conversion interface; the target conversion condition is the corresponding conversion condition satisfied by the target object;

[0013] If the target object meets only one conversion condition, the storage type of the target object is converted to a conversion type corresponding to the conversion condition met by the target object by calling the conversion interface.

[0014] Optionally, the conversion condition includes that a parameter value of a target parameter of the object satisfies a specified parameter condition;

[0015] The determining of the target object that meets the conversion condition among the objects stored in the target server includes:

[0016] Acquire a target information record about the object stored in the target server; wherein the target information record is a record capable of determining specified information, and the specified information is a parameter value of a target parameter of the object stored in the target server;

[0017] Determining, based on the target information record, a parameter value of a target parameter of an object stored in the target server;

[0018] The target object that meets the conversion condition is determined from various objects stored in the target server by using the parameter value of the target parameter of the object stored in the target server.

[0019] Optionally, the acquiring target information record about the object stored in the target server includes:

[0020] Obtaining object list information of objects stored in the target server and / or access logs about objects stored in the target server as target information records;

[0021] The object list information is information obtained by calling an information access interface, and the information access interface is an interface for accessing the object list information about the target server.

[0022] Optionally, the target parameters include: one or more of object format, access frequency / number of times, file size and access time information.

[0023] Optionally, the method further comprises:

[0024] When it is detected that a specified event occurs during the storage type conversion process of the target object, notification information indicating the occurrence of the specified event is output.

[0025] Optionally, before acquiring the conversion condition and the conversion type corresponding to the conversion condition, the method further includes:

[0026] Output the configuration interface for storage type conversion;

[0027] Acquiring condition information input by a configuration personnel through the configuration interface as the conversion condition;

[0028] The storage type configured by the configuration personnel for the condition information through the configuration interface is obtained as the conversion type corresponding to the conversion condition.

[0029] Optionally, the conversion condition is a condition that needs to be satisfied when determining that the object belongs to target heat data, and the target heat data is: hot data, warm data or cold data;

[0030] The conversion type corresponding to the conversion condition is a storage type that matches the target heat data;

[0031] Wherein, if the conversion condition is a condition that needs to be satisfied when determining whether the object belongs to hot data, the conversion type corresponding to the conversion condition is standard storage;

[0032] If the conversion condition is a condition that needs to be satisfied when determining that the object belongs to warm data, the conversion type corresponding to the conversion condition is low-frequency storage;

[0033] If the conversion condition is a condition that needs to be met when determining that the object is cold data, the conversion type corresponding to the conversion condition is archive storage.

[0034] In a second aspect, an embodiment of the present invention provides a storage type conversion system, the system comprising: a configuration platform and a storage type conversion device;

[0035] The configuration platform is used to instruct the user to configure a conversion condition and a conversion type corresponding to the conversion condition; wherein the conversion condition is a condition based on whether the storage type of the object stored in the target server can be converted, and the conversion type is the storage type to which the object that meets the conversion condition needs to be converted;

[0036] The storage type conversion device is used to obtain the conversion condition obtained by configuring the configuration platform and the conversion type corresponding to the conversion condition; determine the target object that meets the conversion condition among the objects stored in the target server; and convert the storage type of the target object in the target server into the conversion type by calling the conversion interface; wherein the conversion interface is an interface for performing storage type conversion on the object stored in the target server.

[0037] Optionally, the storage type conversion device includes:

[0038] An analysis device, configured to obtain the conversion condition configured by the configuration platform and the conversion type corresponding to the conversion condition; determine the target object that meets the conversion condition among the objects stored in the target server;

[0039] The conversion device is used to convert the storage type of the target object in the target server into the conversion type by calling the conversion interface.

[0040] Optionally, the storage type conversion system further includes:

[0041] A support device is used to monitor the data processing volume of the analysis device and the conversion device, and adjust the computing resources for the analysis device and the conversion device based on the monitored data processing volume; and determine the operating status of the analysis device and the conversion device, and output an alarm message when it is detected that the operating status is abnormal.

[0042] In a third aspect, an embodiment of the present invention provides a storage type conversion device, the device comprising:

[0043] An acquisition module, used to acquire a conversion condition and a conversion type corresponding to the conversion condition; wherein the conversion condition is a condition based on whether the storage type of the object stored in the target server can be converted, and the conversion type is the storage type to which the object that meets the conversion condition needs to be converted;

[0044] A determination module, used to determine a target object that meets the conversion condition among various objects stored in the target server;

[0045] The conversion module is used to convert the storage type of the target object in the target server into the conversion type by calling the conversion interface; wherein the conversion interface is an interface for performing storage type conversion on the object stored in the target server.

[0046] In a fourth aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0047] Memory, used to store computer programs;

[0048] The processor is used to implement the steps of the storage type conversion method provided in the embodiment of the present invention when executing the program stored in the memory.

[0049] In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of the storage type conversion method provided in the embodiment of the present invention are implemented.

[0050] In a sixth aspect, an embodiment of the present invention provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the steps of the storage type conversion method in the above embodiment.

[0051] Beneficial effects of the embodiments of the present invention:

[0052] In the solution provided by the embodiment of the present invention, the conversion conditions and conversion conditions related to business characteristics are used to implement object screening, and the storage type of the screened objects is converted by calling the conversion interface related to the object storage used by the enterprise user. It can be seen that through this solution, the purpose of quickly and effectively converting the object storage type in the object storage used by the enterprise user can be achieved according to the business needs of the enterprise user.

[0053] Of course, it is not necessary to achieve all of the advantages described above at the same time to implement any product or method of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art 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.

[0055] Figure 1 A flowchart of a storage type conversion method provided by an embodiment of the present invention;

[0056] Figure 2 Another flow chart of the storage type conversion method provided by an embodiment of the present invention;

[0057] Figure 3 A schematic diagram of the structure of a storage type conversion system provided by an embodiment of the present invention;

[0058] Figure 4 A schematic diagram of the working principle of converting the storage type of an object in a third cloud storage by the storage type conversion system provided by the present invention;

[0059] Figure 5 A schematic diagram of the result of the storage type conversion device provided by an embodiment of the present invention;

[0060] Figure 6A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0061] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0062] In order to achieve the purpose of quickly and effectively converting the object storage type in the object storage used by enterprise users according to the business needs of enterprise users, embodiments of the present invention provide a storage type conversion method, system, device and equipment.

[0063] The following first introduces the storage type conversion method provided by the embodiment of the present invention.

[0064] Among them, the storage type conversion method provided in the embodiment of the present invention is applied to an electronic device. Specifically, the execution subject of the storage type conversion method can be a storage type conversion device running in an electronic device. In a specific application, the storage type conversion device can be run in any device other than the target server that establishes a communication connection with the target server, wherein the target server is a storage server storing objects whose storage type is to be converted. Of course, the storage type conversion device can also run in the target server. Exemplarily, in a scenario where a user client accesses the target server through an application server, the storage type conversion device can run in the application server; or, in a scenario where a user client directly accesses the target server, the storage type conversion device can run in a client device, which is a terminal device running a user client, and so on.

[0065] In order to realize the storage type conversion of objects in the target server through the storage type conversion device, a conversion interface can be pre-configured in the storage type conversion device, and the conversion interface is an interface for converting the storage type of objects stored in the target server, that is, the conversion interface is a conversion interface related to the object storage used by enterprise users. It can be understood that the conversion interface may be different for different target servers. Exemplarily, in a specific application, since various interfaces including the conversion interface may exist in the SDK (simple develop key) provided by the cloud vendor to which the target server belongs, the SDK can be set in the storage type conversion device to achieve the purpose of pre-configuring the conversion interface. It can be understood that by setting the SDK, the storage type conversion device can realize the modification and downloading of objects in the target server.

[0066] Furthermore, the target server can be an object storage server provided by any third-party cloud vendor. That is to say, after the enterprise user uses the object storage server provided by any third-party cloud vendor to store objects, the storage type conversion device provided by the embodiment of the present invention can be used to implement the storage type conversion.

[0067] In addition, the objects involved in the embodiments of the present invention are usually unstructured data, such as pictures, videos or documents, etc. Objects have metadata and object ids. Specifically, the metadata of an object can also be called the parameters of the object, which refers to the relevant description of the object, such as the size of the picture, the owner of the document, etc. The object id is a global unique identifier used to distinguish objects.

[0068] like Figure 1 As shown, a storage type conversion method provided by an embodiment of the present invention may include the following steps:

[0069] S101, obtaining a conversion condition and a conversion type corresponding to the conversion condition;

[0070] The conversion condition is a condition according to which whether the storage type of the object stored in the target server can be converted, and the conversion type is the storage type to which the object that meets the conversion condition needs to be converted.

[0071] The conversion condition and the conversion type corresponding to the conversion condition can be configured by the configuration personnel of the enterprise user through the human-computer interaction interface. In addition, when configuring the conversion condition and the conversion type corresponding to the conversion condition, they can be set according to the business needs of the enterprise user. It is understandable that after the configuration personnel completes the configuration of the conversion condition and the conversion type corresponding to the conversion condition, S101 can be executed immediately or when a specified time point is reached, which is reasonable.

[0072] Optionally, object storage may include multiple storage types, such as standard storage, i.e., three-copy storage, low-frequency storage, and archive storage. Accordingly, the conversion type may be any one of the multiple storage types. Three-copy storage specifically refers to storing three copies of a piece of data in a storage device; for low-frequency storage, the storage method used may be an erasure code storage method; and for archive storage, the storage method used is a method of storing data in an offline storage server.

[0073] In addition, in specific applications, objects belonging to hot data can use standard storage, objects belonging to warm data can use low-frequency storage, and objects belonging to cold data can use archive storage. Then, when setting the conversion conditions and the corresponding conversion types, the configuration personnel can consider the warmth of the object to set them. That is to say, the conversion condition is the condition that needs to be met when determining that the object belongs to the target heat data, and the target heat data is: hot data, warm data or cold data; the conversion type corresponding to the conversion condition is the storage type that matches the target heat data. Among them, if the conversion condition is the condition that needs to be met when determining that the object belongs to hot data, the conversion type corresponding to the conversion condition is standard storage; if the conversion condition is the condition that needs to be met when determining that the object belongs to warm data, the conversion type corresponding to the conversion condition is low-frequency storage; if the conversion condition is the condition that needs to be met when determining that the object belongs to cold data, the conversion type corresponding to the conversion condition is archive storage.

[0074] Among them, hot data refers to the current hot data, which is data that needs to be accessed frequently / number of times by both users and system operations, such as new applications on the app store; warm data refers to data that is accessed less frequently as the data hotspot fades, such as the installation package file of a game that has lost its popularity; cold data refers to data that is rarely accessed but needs to be stored and retained, such as bank transaction records from a few years ago.

[0075] Among them, the conversion condition may include that the parameter value of the target parameter of the object meets the specified parameter condition. Optionally, the target parameter may include: one or more of object format, access frequency / number of times, file size and access time information, of course, but is not limited to this. Exemplarily, the conversion condition may include: the format of the object is a specified format, and the specified format is a frequently accessed format, and accordingly, the storage type corresponding to the conversion condition is: standard storage; or, the conversion condition may include: the access frequency of the object is lower than a predetermined threshold, and accordingly, the storage type corresponding to the conversion condition is: archive storage; or, the conversion condition may include: the last access time to the object is earlier than a predetermined time point, and accordingly, the conversion type corresponding to the conversion condition is: archive storage.

[0076] In addition, in order to implement the configuration of the conversion condition and the conversion type corresponding to the conversion condition, before executing S101, the method may further include:

[0077] Output the configuration interface for storage type conversion;

[0078] Acquiring condition information input by a configuration personnel through the configuration interface as the conversion condition;

[0079] The storage type configured by the configuration personnel for the condition information through the configuration interface is obtained as the conversion type corresponding to the conversion condition. When configuring the storage type, the configuration personnel can directly input the storage type, or select the required storage type from multiple storage types provided in the configuration interface.

[0080] S102, determining a target object that meets the conversion condition among various objects stored in the target server;

[0081] Since the conversion condition includes whether the parameter value of the target parameter of the object meets the specified parameter condition, when determining the target object, it is necessary to first determine the parameter value of the target parameter of each object in the target server, and then use the parameter value to analyze whether each object meets the conversion condition to obtain the target object that meets the conversion condition. Based on this processing idea, specifically, determining the target object that meets the conversion condition among the objects stored in the target server can include the following steps:

[0082] Step A1, obtaining a target information record about an object stored in the target server; wherein the target information record is a record capable of determining specified information; wherein the specified information is a parameter value of a target parameter of the object stored in the target server;

[0083] Step A2, based on the target information record, obtaining the parameter value of the target parameter of the object stored in the target server;

[0084] Step A3, using the parameter values ​​of the target parameters of the objects stored in the target server, determine the target objects that meet the conversion conditions from the various objects stored in the target server.

[0085] Wherein, obtaining the target information record about the object stored in the target server may include:

[0086] Obtain object list information of objects stored in the target server and / or access logs about objects stored in the target server as target information records.

[0087] It should be noted that the object list information may be information obtained by calling an information access interface, which is a pre-configured interface for accessing object list information about a target server. The information access interface corresponding to different target servers may be different, and the embodiment of the present invention does not limit this. In addition, in a specific application, the information access interface may be provided by the above-mentioned SDK.

[0088] It can be understood that the object list information is list information that records description information such as the format, size, owner, etc. of the object. Furthermore, since certain parameters of the object, such as the format, size, owner, etc., can be obtained through the object list information, and the access frequency / number of times, access time information, etc. of the object can be obtained through the access log, after the conversion condition is given, one or more of the access log and the object list information can be determined based on the target parameter in the conversion condition as the target information record.

[0089] In addition, in order to achieve access to the target server, the relevant information of the target server can be configured through the human-computer interaction interface, and the relevant information may include: the target server's access domain name, the key information for generating the signature required for identity authentication, the storage space information where the object is located, and whether to use encrypted access SSL (security socketlayer, secure socket) etc. Then, the storage type conversion device can achieve access to the target server based on the pre-configured relevant information of the target server, and perform storage type conversion according to the pre-configured conversion interface, or download object list information according to the information access interface. In addition, in order to obtain access logs, the access information of the log storage system storing log information can be pre-configured, and then the log storage system can be accessed based on the access information of the log storage system.

[0090] S103, converting the storage type of the target object in the target server into a conversion type by calling a conversion interface.

[0091] The conversion interface is a pre-configured interface used to convert the storage type of the object stored in the target server.

[0092] After determining the target object, a pre-configured conversion interface can be called to convert the storage type of the target object in the target server according to the conversion type corresponding to the conversion condition, that is, the target object is converted to be stored according to the conversion type. The number of target objects can be one or more, and for each target object, the storage type of the target object in the target server can be converted to the conversion type by calling the conversion interface.

[0093] Furthermore, by calling the conversion interface, the storage type of the target object in the target server is converted into the conversion type. Specifically, the object id and conversion type of the target object are passed as parameters to the target server through the conversion interface, so that the target server can complete the conversion of the storage type of the target object according to the object id and conversion type of the target object.

[0094] Optionally, in some scenarios, it is not necessary to analyze whether the storage type of all objects in the target server is converted, but to analyze whether the storage type of objects in a specific processing range is converted. Based on this requirement, the configuration personnel can configure the object processing range through the human-computer interaction interface. In this way, the storage type device can not only obtain the conversion conditions and conversion types, but also obtain the object processing range. Accordingly, determining the target objects that meet the conversion conditions among the various objects stored in the target server may include: determining the target objects that meet the conversion conditions among the various objects stored in the target server and located in the object processing range. Among them, the object processing range can be: the object id contains specified characters, or the storage time content is located after the specified storage date, and so on.

[0095] In addition, since some specific events may occur during the storage type conversion of the target object, which may affect the business use of the object or the storage type conversion experience of the enterprise user, the enterprise user may be notified of the event so that the enterprise user can know the event and take corresponding response actions. Based on this processing idea, the method may also include:

[0096] When a specified event is detected to occur during the storage type conversion process of the target object, notification information indicating the occurrence of the specified event is output.

[0097] For example, assuming that the storage type of object A in the target server is archive storage, if object A is a target object that meets the conversion condition, and the conversion type corresponding to the conversion condition is low-frequency storage; then, during the storage type conversion process for object A, since the original storage type of object A is archive storage, data thawing is required, that is, a thawing event occurs, and then the storage type conversion can be performed. In this case, it can be detected that a thawing event occurs during the storage type conversion process of object A, and then a notification message indicating the occurrence of a thawing event is output.

[0098] In the solution provided by the embodiment of the present invention, the conversion conditions and conversion conditions related to business characteristics are used to implement object screening, and the storage type of the screened objects is converted by calling the conversion interface related to the object storage used by the enterprise user. It can be seen that through this solution, the purpose of quickly and effectively converting the object storage type in the object storage used by the enterprise user can be achieved according to the business needs of the enterprise user.

[0099] Optionally, the configuration personnel may configure at least one conversion condition. In this case, the number of conversion conditions obtained during the storage type conversion process may be at least one. The at least one conversion condition may correspond to the same or different conversion types. Furthermore, considering that an object may satisfy at least two conversion conditions at the same time, and the conversion type should be unique, a priority may be set for the at least one conversion condition, and each conversion condition is set with a priority, so that a unique conversion type can be selected later by the priority. The priority of each conversion condition may be specified by the configuration personnel, but is certainly not limited thereto.

[0100] For the sake of clarity, a storage type conversion method provided by an embodiment of the present invention is introduced below for a case where at least one conversion condition exists.

[0101] like Figure 2 As shown, a storage type conversion method provided by an embodiment of the present invention may include the following steps:

[0102] S201, obtaining at least one conversion condition and a conversion type corresponding to each conversion condition;

[0103] Each conversion condition is a condition according to which whether the storage type of the object stored in the target server can be converted, and the conversion type corresponding to each conversion condition is the storage type to which the object satisfying the conversion condition needs to be converted.

[0104] S201 in this embodiment is similar to S101 in the above embodiment, except that: the number of conversion conditions obtained in S201 is at least one, and each conversion condition has a priority. There may be multiple specific representation forms of the priority, for example, the priority may be represented by a numerical value, but it is not limited thereto.

[0105] S202, for each conversion condition, determining a target object that meets the conversion condition among the objects stored in the target server;

[0106] S202 in this embodiment is similar to S102 in the above embodiment, except that: in S202, for each conversion condition, a step of filtering a target object from various objects stored in the target server is performed.

[0107] It should be noted that when there is at least one conversion condition, it can be determined for each object in turn whether the object satisfies at least one conversion condition. If so, the object is determined to be a target object.

[0108] S203, if the target object meets at least two conversion conditions, convert the storage type of the target object according to the conversion type corresponding to the target conversion condition by calling the conversion interface;

[0109] The target conversion condition is the corresponding conversion condition satisfied by the target object, that is, the conversion condition satisfied by the target object. In order to further meet the conversion needs of enterprise users, the target conversion condition can be the conversion condition with the highest priority satisfied by the target object.

[0110] Furthermore, the storage type of the target object is converted according to the conversion type corresponding to the target conversion condition, that is, the storage type of the target object in the target server is converted according to the conversion type corresponding to the target conversion condition.

[0111] S204: If the target object meets only one conversion condition, the storage type of the target object is converted into a conversion type corresponding to the conversion condition met by the target object by calling a conversion interface.

[0112] Among them, by calling the conversion interface, the storage type of the target object is converted into the conversion type corresponding to the conversion condition met by the target object, that is, by calling the conversion interface, the storage type of the target object in the target server is converted according to the conversion type corresponding to the conversion condition met by the target object.

[0113] The conversion interface is a pre-configured interface used to convert the storage type of the object stored in the target server.

[0114] The number of target objects determined in S202 may be one or more. When the number of target objects is multiple, for each target object, specific storage type conversion may be performed according to S203-S204.

[0115] It can be understood that for any target object, if the target object meets at least two conversion conditions, since it is necessary to determine a unique conversion type, the conversion type corresponding to the conversion condition with the highest priority can be considered to be the type that best meets business needs. Therefore, when converting types, the conversion type corresponding to the conversion condition with the highest priority can be used as the storage type to which the target object is to be converted.

[0116] For any target object, if the target object meets only one conversion condition, the conversion type corresponding to the conversion condition can be used as the storage type to which the target object is to be converted.

[0117] In addition, for a target object that satisfies at least two conversion conditions, there may be a situation where there are multiple target conversion conditions, that is, there are multiple conversion conditions corresponding to the highest priority. In order to ensure the uniqueness of the conversion type, the priority relationship of each storage type can be preset. In this way, when there are multiple target conversion conditions, the conversion type with the highest priority can be selected from the conversion types corresponding to the multiple target conversion conditions as the type to be converted. Based on this processing idea, by calling the conversion interface, according to the conversion type corresponding to the target conversion condition, the storage type of the target object in the target server is converted, which may include:

[0118] If there are multiple target conversion conditions, using the preset priority relationship between the storage types, from the conversion types corresponding to the target conversion conditions, determine the target conversion type with the highest corresponding priority, and convert the storage type of the target object in the target server to the target conversion type;

[0119] If the number of the target conversion condition is one, the storage type of the target object in the target server is converted by calling the conversion interface and using the conversion type corresponding to the target conversion condition.

[0120] Exemplarily, the priority relationship of each storage type can be set according to the principle of ensuring the availability of object data. Exemplarily, the priority relationship of each storage type includes: the priority of low-frequency storage is lower than the priority of standard storage, and the priority of low-frequency storage is higher than the priority of archive storage. And, by calling the conversion interface, the storage type of the target object in the target server is converted to any conversion type. Specifically, it can be: the object id of the target object and the any conversion type are passed as parameters to the target server through the conversion interface, so that the target server can complete the conversion of the storage type of the target object according to the object id of the target object and the any conversion type.

[0121] Optionally, in some scenarios, it is not necessary to analyze whether the storage type of all objects in the target server is converted, but to analyze whether the storage type of objects in a specific processing range is converted. Based on this requirement, the configuration personnel can configure the object processing range through the human-computer interaction interface. In this way, the storage type device can not only obtain the conversion conditions and conversion types, but also obtain the object processing range. Accordingly, determining the target objects that meet the conversion conditions among the various objects stored in the target server may include: determining the target objects that meet the conversion conditions among the various objects stored in the target server and located in the object processing range. Among them, the object processing range can be: the object id contains specified characters, or the storage time content is located after the specified storage date, and so on.

[0122] In addition, since some specific events may occur during the storage type conversion of the target object, which may affect the business use of the object or the storage type conversion experience of the enterprise user, the enterprise user may be notified of the event so that the enterprise user can know the event and take corresponding response actions. Based on this processing idea, the method may also include:

[0123] When a specified event is detected to occur during the storage type conversion process of the target object, notification information indicating the occurrence of the specified event is output.

[0124] In the solution provided by the embodiment of the present invention, conversion conditions and conversion conditions related to business characteristics are used to implement object screening, and the storage type of the screened objects is converted by calling the conversion interface related to the object storage used by the enterprise user. It can be seen that through this solution, the purpose of quickly and effectively converting the object storage type in the object storage used by the enterprise user can be achieved according to the business needs of the enterprise user. In addition, the number of conversion conditions can be at least one, and different conversion conditions correspond to different priorities, making the conversion of storage types more flexible and fast.

[0125] Corresponding to the above method embodiment, the embodiment of the present invention also provides a storage type conversion system. Figure 3 As shown, the storage type conversion system provided by the embodiment of the present invention may include: a configuration platform 310 and a storage type conversion device 320;

[0126] The configuration platform 310 is used to instruct the user to configure a conversion condition and a conversion type corresponding to the conversion condition; wherein the conversion condition is a condition based on whether the storage type of the object stored in the target server can be converted, and the conversion type is the storage type to which the object that meets the conversion condition needs to be converted;

[0127] The storage type conversion device 320 is used to obtain the conversion condition obtained by configuring the configuration platform and the conversion type corresponding to the conversion condition; determine the target object that meets the conversion condition among the various objects stored in the target server; and convert the storage type of the target object in the target server into the conversion type by calling the conversion interface; wherein the conversion interface is an interface for performing storage type conversion on the object stored in the target server.

[0128] In the solution provided by the embodiment of the present invention, the configuration platform can instruct the user to configure the conversion conditions and conversion types related to the business characteristics, and the storage type conversion device can implement object screening based on the conversion conditions and conversion conditions configured by the user, and convert the storage type of the screened objects by calling the conversion interface related to the object storage used by the enterprise user. It can be seen that through this solution, the purpose of quickly and effectively converting the object storage type in the object storage used by the enterprise user can be achieved according to the business needs of the enterprise user.

[0129] Optionally, in one implementation, the number of the conversion conditions is at least one, and each conversion condition has a priority;

[0130] The storage type conversion device 320 converts the storage type of the target object in the target server into the conversion type by calling the conversion interface, including:

[0131] If the target object meets at least two conversion conditions, the storage type of the target object is converted according to the conversion type corresponding to the target conversion condition by calling the conversion interface; the target conversion condition is the corresponding conversion condition satisfied by the target object;

[0132] If the target object meets only one conversion condition, the storage type of the target object is converted to a conversion type corresponding to the conversion condition met by the target object by calling the conversion interface.

[0133] Optionally, the conversion condition includes that a parameter value of a target parameter of the object satisfies a specified parameter condition;

[0134] The storage type conversion device 320 determines the target object that meets the conversion condition among the objects stored in the target server, including:

[0135] Acquire a target information record about the object stored in the target server; wherein the target information record is a record capable of determining specified information, and the specified information is a parameter value of a target parameter of the object stored in the target server;

[0136] Determining, based on the target information record, a parameter value of a target parameter of an object stored in the target server;

[0137] The target object that meets the conversion condition is determined from various objects stored in the target server by using the parameter value of the target parameter of the object stored in the target server.

[0138] Optionally, the storage type conversion means 320 obtains a target information record about an object stored in the target server, including:

[0139] Obtaining object list information of objects stored in the target server and / or access logs about objects stored in the target server as target information records;

[0140] The object list information is information obtained by calling an information access interface, and the information access interface is an interface for accessing the object list information about the target server.

[0141] Optionally, the target parameter may include: one or more of object format, access frequency / number of times, file size and access time information.

[0142] Optionally, the storage type conversion device is further used for:

[0143] When it is detected that a specified event occurs during the storage type conversion process of the target object, notification information indicating the occurrence of the specified event is output.

[0144] Optionally, the configuration platform 310 is specifically used for:

[0145] Output the configuration interface for storage type conversion;

[0146] Acquiring condition information input by a configuration personnel through the configuration interface as the conversion condition;

[0147] The storage type configured by the configuration personnel for the condition information through the configuration interface is obtained as the conversion type corresponding to the conversion condition.

[0148] Optionally, the conversion condition is a condition that needs to be satisfied when determining that the object belongs to target heat data, and the target heat data is: hot data, warm data or cold data;

[0149] The conversion type corresponding to the conversion condition is a storage type that matches the target heat data;

[0150] Wherein, if the conversion condition is a condition that needs to be satisfied when determining whether the object belongs to hot data, the conversion type corresponding to the conversion condition is standard storage;

[0151] If the conversion condition is a condition that needs to be satisfied when determining that the object belongs to warm data, the conversion type corresponding to the conversion condition is low-frequency storage;

[0152] If the conversion condition is a condition that needs to be met when determining that the object is cold data, the conversion type corresponding to the conversion condition is archive storage.

[0153] In addition, in a specific application, the function of the storage type conversion device can be implemented with the assistance of multiple devices. Optionally, the storage type conversion device may include:

[0154] An analysis device, configured to obtain the conversion condition configured by the configuration platform and the conversion type corresponding to the conversion condition; determine the target object that meets the conversion condition among the objects stored in the target server;

[0155] The conversion device is used to convert the storage type of the target object in the target server into the conversion type by calling the conversion interface.

[0156] The analysis device and the conversion device may be separate structures, so that the multiple devices have lower coupling, which facilitates the individual expansion of each device.

[0157] Optionally, on the basis of including the analyzing device and the converting device, the storage type conversion system may further include:

[0158] A support device is used to monitor the data processing volume of the analysis device and the conversion device, and adjust the computing resources for the analysis device and the conversion device based on the monitored data processing volume; and determine the operating status of the analysis device and the conversion device, and output an alarm message when it is detected that the operating status is abnormal.

[0159] By supporting devices to regulate computing resources for analysis devices and conversion devices, it can be ensured that devices with larger data processing volumes can occupy more computing resources, while devices with smaller data processing volumes can occupy fewer computing resources, thereby ensuring efficient operation of the storage type conversion process.

[0160] In addition, the support device can utilize the heartbeat mechanism and the computing resource occupancy of each sub-device, and use the monitoring threshold configured by the configuration personnel as a reference to judge the operating status of the analysis device and the conversion device, and output an alarm message when it detects that the operating status is abnormal.

[0161] Furthermore, the support device can also realize various auxiliary functions required for the normal and efficient operation of the storage type conversion system. For example, the support device can also manage the log information of the storage type conversion system, and so on.

[0162] In order to understand the working principle of converting the object storage type in the third cloud storage through the storage type conversion system, Figure 4 A schematic diagram of the working principle is given.

[0163] like Figure 4As shown, the configuration personnel can configure multiple types of information through the configuration platform: conversion conditions and conversion types, access information of the third cloud storage, and access information of the log storage system. The analysis device in the storage type conversion device can obtain the conversion conditions and conversion types configured through the configuration platform, and use the access information of the log storage system configured through the configuration platform to read the access log, and use the access information of the third cloud storage and the information access interface to download the object list information from the target server, and then, based on the access log and object category information, determine the parameter values ​​of the specified parameters of each object in the target server, and based on the parameter values ​​of the specified parameters of each object in the target server, determine the target object that meets the conversion conditions in each object, and store the target object and conversion type as the processing result; and the conversion device can call the conversion interface based on the processing result to realize the storage type conversion of the target object in the target server. Among them, the conversion interface and the information access interface are interfaces provided by the SDK of the cloud vendor. The access log is the log information that records the access operation to the third cloud storage.

[0164] In addition, the support device can perform computing resource control and operation status analysis on the analysis device and the conversion device. Furthermore, the support device can also generate log information of the storage type device and synchronize the log information to the log storage system.

[0165] Based on the above method embodiment, the embodiment of the present invention also provides a storage type conversion device. Figure 5 As shown, the storage type conversion device provided by the embodiment of the present invention may include:

[0166] The acquisition module 510 is used to acquire a conversion condition and a conversion type corresponding to the conversion condition; wherein the conversion condition is a condition according to which the storage type of the object stored in the target server can be converted, and the conversion type is a storage type to which the object that meets the conversion condition needs to be converted;

[0167] A determination module 520, configured to determine a target object that meets the conversion condition among the objects stored in the target server;

[0168] The conversion module 530 is used to convert the storage type of the target object in the target server to the conversion type by calling a conversion interface; wherein the conversion interface is an interface for performing storage type conversion on the object stored in the target server.

[0169] In the solution provided by the embodiment of the present invention, the storage type conversion device can use the conversion conditions and conversion conditions related to business characteristics to implement object screening, and convert the storage type of the screened objects by calling the conversion interface related to the object storage used by the enterprise user. It can be seen that through this solution, the purpose of quickly and effectively converting the object storage type in the object storage used by the enterprise user can be achieved according to the business needs of the enterprise user.

[0170] Optionally, in an implementation, the number of the conversion conditions is at least one, and each conversion condition has a priority; the conversion module 530 is specifically configured to:

[0171] If the target object meets at least two conversion conditions, the storage type of the target object is converted according to the conversion type corresponding to the target conversion condition by calling the conversion interface; the target conversion condition is the corresponding conversion condition satisfied by the target object;

[0172] If the target object meets only one conversion condition, the storage type of the target object is converted to a conversion type corresponding to the conversion condition met by the target object by calling the conversion interface.

[0173] Optionally, the conversion condition includes that a parameter value of a target parameter of the object satisfies a specified parameter condition;

[0174] The determining module 520 may include:

[0175] An acquisition unit, configured to acquire a target information record about an object stored in the target server; wherein the target information record is a record capable of determining specified information, and the specified information is a parameter value of a target parameter of the object stored in the target server;

[0176] A first determining unit, configured to determine a parameter value of a target parameter of an object stored in the target server based on the target information record;

[0177] The second determining unit is used to determine the target object that meets the conversion condition from each object stored in the target server by using the parameter value of the target parameter of the object stored in the target server.

[0178] Optionally, the acquiring unit is specifically used for:

[0179] Obtaining object list information of objects stored in the target server and / or access logs about objects stored in the target server as target information records;

[0180] The object list information is information obtained by calling an information access interface, and the information access interface is an interface for accessing the object list information about the target server.

[0181] Optionally, the target parameters include: one or more of object format, access frequency / number of times, file size and access time information.

[0182] Optionally, the device further comprises:

[0183] The notification information output module is used to output notification information indicating the occurrence of the specified event when detecting that a specified event occurs during the storage type conversion process of the target object.

[0184] Optionally, the device further comprises:

[0185] A configuration module is used to output a configuration interface for storage type conversion; obtain condition information input by a configuration personnel through the configuration interface as the conversion condition; obtain the storage type configured by the configuration personnel for the condition information through the configuration interface as the conversion type corresponding to the conversion condition.

[0186] Optionally, the conversion condition is a condition that needs to be satisfied when determining that the object belongs to target heat data, and the target heat data is: hot data, warm data or cold data;

[0187] The conversion type corresponding to the conversion condition is a storage type that matches the target heat data;

[0188] Wherein, if the conversion condition is a condition that needs to be satisfied when determining whether the object belongs to hot data, the conversion type corresponding to the conversion condition is standard storage;

[0189] If the conversion condition is a condition that needs to be satisfied when determining that the object belongs to warm data, the conversion type corresponding to the conversion condition is low-frequency storage;

[0190] If the conversion condition is a condition that needs to be met when determining that the object is cold data, the conversion type corresponding to the conversion condition is archive storage.

[0191] Based on the above method embodiment, the embodiment of the present invention further provides an electronic device, such as Figure 6 As shown, it includes a processor 601, a communication interface 602, a memory 603 and a communication bus 604, wherein the processor 601, the communication interface 602, and the memory 603 communicate with each other through the communication bus 604.

[0192] Memory 603, used for storing computer programs;

[0193] The processor 601 is used to implement the steps of the storage type conversion method provided in the embodiment of the present invention when executing the program stored in the memory 603.

[0194] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0195] The communication interface is used for communication between the above electronic device and other devices.

[0196] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0197] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0198] In another embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of the above storage type conversion method are implemented.

[0199] In another embodiment of the present invention, a computer program product including instructions is provided, which, when executed on a computer, enables the computer to execute the steps of the storage type conversion method in the above embodiment.

[0200] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

[0201] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0202] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for embodiments such as systems, devices, and equipment, since they are basically similar to method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0203] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A storage type conversion method, characterized in that: The method is applied to a storage type conversion device; the storage type conversion device is run on an application server other than a target server and establishing a communication connection with the target server, the target server is an object storage server provided by any third-party cloud vendor, the storage type conversion device is pre-configured with a conversion interface, the conversion interface is an interface for performing storage type conversion on an object stored in the target server, and the conversion interface is obtained by setting the SDK provided by the third-party cloud vendor to which the target server belongs in the storage type conversion device; And for different target servers, the conversion interface is different; the method includes: Obtaining a conversion condition and a conversion type corresponding to the conversion condition; wherein the conversion condition is a condition based on which whether the storage type of the object stored in the target server can be converted, and the conversion type is the storage type to which the object that meets the conversion condition needs to be converted; the conversion condition is a condition that needs to be met when determining that the object belongs to target heat data, and the target heat data is: hot data, warm data or cold data; the conversion type corresponding to the conversion condition is a storage type that matches the target heat data; Determine a target object that meets the conversion condition among the objects stored in the target server; By calling a conversion interface, converting the storage type of the target object in the target server into the conversion type; Wherein, the conversion condition includes that the parameter value of the target parameter of the object satisfies the specified parameter condition; The determining of the target object that meets the conversion condition among the objects stored in the target server includes: Obtaining a target information record about an object stored in the target server; wherein the target information record includes object list information about the object stored in the target server and / or an access log about the object stored in the target server; the object list information is information obtained by calling an information access interface, and the information access interface is a pre-configured interface provided by the SDK for accessing the object list information about the target server; different target servers correspond to different information access interfaces; Determining, based on the target information record, a parameter value of a target parameter of an object stored in the target server; The target object that meets the conversion condition is determined from various objects stored in the target server by using the parameter value of the target parameter of the object stored in the target server.

2. The method according to claim 1, characterized in that The number of the conversion conditions is at least one, and each conversion condition has a priority; The converting the storage type of the target object in the target server to the conversion type by calling the conversion interface includes: If the target object meets at least two conversion conditions, the storage type of the target object is converted according to the conversion type corresponding to the target conversion condition by calling the conversion interface; the target conversion condition is the corresponding conversion condition satisfied by the target object; If the target object meets only one conversion condition, the storage type of the target object is converted into a conversion type corresponding to the conversion condition met by the target object by calling the conversion interface.

3. The method according to claim 1, characterized in that The target parameters include: one or more of object format, access frequency / number of times, file size and access time information.

4. The method according to claim 1 or 2, characterized in that: The method further comprises: When it is detected that a specified event occurs during the storage type conversion process of the target object, notification information indicating the occurrence of the specified event is output.

5. The method according to claim 1 or 2, characterized in that: Before acquiring the conversion condition and the conversion type corresponding to the conversion condition, the method further includes: Output the configuration interface for storage type conversion; Acquiring condition information input by a configuration personnel through the configuration interface as the conversion condition; The storage type configured by the configuration personnel for the condition information through the configuration interface is obtained as the conversion type corresponding to the conversion condition.

6. The method according to claim 1 or 2, characterized in that: If the conversion condition is a condition that needs to be satisfied when determining that the object belongs to hot data, the conversion type corresponding to the conversion condition is standard storage; If the conversion condition is a condition that needs to be satisfied when determining that the object belongs to warm data, the conversion type corresponding to the conversion condition is low-frequency storage; If the conversion condition is a condition that needs to be met when determining that the object is cold data, the conversion type corresponding to the conversion condition is archive storage.

7. A storage type conversion system, characterized in that: The system includes: a configuration platform and a storage type conversion device; the storage type conversion device is run on an application server other than a target server and establishing a communication connection with the target server, the target server is an object storage server provided by any third-party cloud vendor, the storage type conversion device is pre-configured with a conversion interface, the conversion interface is an interface for performing storage type conversion on an object stored in the target server, the conversion interface is obtained by setting the SDK provided by the third-party cloud vendor to which the target server belongs in the storage type conversion device; and the conversion interface is different for different target servers; The configuration platform is used to instruct the user to configure the conversion condition and the conversion type corresponding to the conversion condition; wherein the conversion condition is the condition based on which the storage type of the object stored in the target server can be converted, and the conversion type is the storage type to which the object that meets the conversion condition needs to be converted; the conversion condition is the condition that needs to be met when determining that the object belongs to the target heat data, and the target heat data is: hot data, warm data or cold data; the conversion type corresponding to the conversion condition is the storage type that matches the target heat data; The storage type conversion device is used to obtain the conversion condition obtained by configuring the configuration platform and the conversion type corresponding to the conversion condition; determine the target object that meets the conversion condition among the objects stored in the target server; and convert the storage type of the target object in the target server to the conversion type by calling the conversion interface; Wherein, the conversion condition includes that the parameter value of the target parameter of the object satisfies the specified parameter condition; The determining of the target object that meets the conversion condition among the objects stored in the target server includes: Obtaining a target information record about an object stored in the target server; wherein the target information record includes object list information about the object stored in the target server and / or an access log about the object stored in the target server; the object list information is information obtained by calling an information access interface, and the information access interface is a pre-configured interface provided by the SDK for accessing the object list information about the target server; different target servers correspond to different information access interfaces; Determining, based on the target information record, a parameter value of a target parameter of an object stored in the target server; The target object that meets the conversion condition is determined from various objects stored in the target server by using the parameter value of the target parameter of the object stored in the target server.

8. The system according to claim 7, characterized in that The storage type conversion device comprises: An analysis device, configured to obtain the conversion condition configured by the configuration platform and the conversion type corresponding to the conversion condition; determine the target object that meets the conversion condition among the objects stored in the target server; The conversion device is used to convert the storage type of the target object in the target server into the conversion type by calling the conversion interface.

9. The system according to claim 8, characterized in that The storage type conversion system also includes: A support device is used to monitor the data processing volume of the analysis device and the conversion device, and adjust the computing resources for the analysis device and the conversion device based on the monitored data processing volume; and determine the operating status of the analysis device and the conversion device, and output an alarm message when it is detected that the operating status is abnormal.

10. A storage type conversion device, characterized in that: The storage type conversion device is run on an application server other than the target server and establishing a communication connection with the target server. The target server is an object storage server provided by any third-party cloud vendor. The storage type conversion device is pre-configured with a conversion interface, which is an interface for performing storage type conversion on an object stored in the target server. The conversion interface is obtained by setting the SDK provided by the third-party cloud vendor to which the target server belongs in the storage type conversion device. And for different target servers, the conversion interface is different; the device includes: An acquisition module is used to acquire a conversion condition and a conversion type corresponding to the conversion condition; wherein the conversion condition is a condition based on which whether the storage type of the object stored in the target server can be converted, and the conversion type is the storage type to which the object that meets the conversion condition needs to be converted; the conversion condition is a condition that needs to be met when determining that the object belongs to target heat data, and the target heat data is: hot data, warm data or cold data; the conversion type corresponding to the conversion condition is a storage type that matches the target heat data; A determination module, used to determine a target object that meets the conversion condition among various objects stored in the target server; A conversion module, configured to convert the storage type of the target object in the target server into the conversion type by calling a conversion interface; Wherein, the conversion condition includes that the parameter value of the target parameter of the object satisfies the specified parameter condition; The determining of the target object that meets the conversion condition among the objects stored in the target server includes: Obtaining a target information record about an object stored in the target server; wherein the target information record includes object list information about the object stored in the target server and / or an access log about the object stored in the target server; the object list information is information obtained by calling an information access interface, and the information access interface is a pre-configured interface provided by the SDK for accessing the object list information about the target server; different target servers correspond to different information access interfaces; Determining, based on the target information record, a parameter value of a target parameter of an object stored in the target server; The target object that meets the conversion condition is determined from various objects stored in the target server by using the parameter value of the target parameter of the object stored in the target server.

11. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing any of the methods described in claims 1-6 when executing a program stored in a memory.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.