CN117931082A - Data processing method and device based on data temperature, electronic equipment and storage medium - Google Patents

Data processing method and device based on data temperature, electronic equipment and storage medium Download PDF

Info

Publication number
CN117931082A
CN117931082A CN202410115607.8A CN202410115607A CN117931082A CN 117931082 A CN117931082 A CN 117931082A CN 202410115607 A CN202410115607 A CN 202410115607A CN 117931082 A CN117931082 A CN 117931082A
Authority
CN
China
Prior art keywords
data
temperature
storage
target data
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410115607.8A
Other languages
Chinese (zh)
Inventor
杜朝林
张亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202410115607.8A priority Critical patent/CN117931082A/en
Publication of CN117931082A publication Critical patent/CN117931082A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a data processing method and device based on data temperature, electronic equipment and a storage medium. The method comprises the following steps: acquiring target data of an application system; determining the data temperature of the target data according to a preset rule; storing the target data to a storage hierarchy corresponding to the data temperature according to a storage strategy; and responding to the data access of the application system, and providing the target data for the application system according to the storage hierarchy. The data used by different application systems can be stored, and the storage strategy stores the target data to the corresponding storage hierarchy according to the temperature of the target data. Different storage layers can provide different access rates and access modes for users, so that different forms of data storage and access are provided for target data with different data temperatures, and the data storage efficiency and the access efficiency are improved.

Description

Data processing method and device based on data temperature, electronic equipment and storage medium
Technical Field
The present invention relates to the field of big data storage technologies, and in particular, to a data processing method and apparatus based on data temperature, an electronic device, and a storage medium.
Background
With the rapid development of business and technology, the volume of data information is greatly increased, and new demands on data storage capacity, performance, price and the like are brought.
At present, different application systems manage data used by the application systems, however, not all the data have very high use value, some data are frequently accessed within a certain time range, and some data are rarely or not accessed.
When the storage resource is occupied by data which is not accessed frequently, the storage performance is affected, and the data access efficiency is reduced.
Disclosure of Invention
The invention provides a data processing method, a data processing device, electronic equipment and a storage medium based on data temperature, which are used for solving the problem of low data storage and access efficiency of a multi-application system.
According to a first aspect of the present invention, there is provided a data processing method based on data temperature, comprising:
acquiring target data of an application system;
Determining the data temperature of the target data according to a preset rule;
Storing the target data to a storage hierarchy corresponding to the data temperature according to a storage strategy;
and responding to the data access of the application system, and providing the target data for the application system according to the storage hierarchy.
According to a second aspect of the present invention, there is provided a data processing apparatus based on data temperature, comprising:
The target data acquisition module is used for acquiring target data of the application system;
The data temperature determining module is used for determining the data temperature of the target data according to a preset rule;
The layering storage module is used for storing the target data to a storage layering corresponding to the data temperature according to a storage strategy;
And the data access module is used for responding to the data access of the application system and providing the target data for the application system according to the storage hierarchy.
According to a third aspect of the present invention, there is provided an electronic device comprising:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the data temperature-based data processing method of any of the embodiments.
According to a fourth aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute a data temperature based data processing method according to any one of the embodiments of the present invention.
According to the technical scheme provided by the invention, the target data of the application system are acquired; determining the data temperature of the target data according to a preset rule; storing the target data to a storage hierarchy corresponding to the data temperature according to a storage strategy; and responding to the data access of the application system, and providing the target data for the application system according to the storage hierarchy. Compared with the prior art that the application systems respectively maintain the data used by the application systems, the technical scheme provided by the invention can store the data used by different application systems, and the storage strategy stores the target data to the corresponding storage hierarchy according to the temperature of the target data. Different storage layers can provide different access rates and access modes for users, so that different forms of data storage and access are provided for target data with different data temperatures, and the data storage efficiency and the access efficiency are improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a data processing method based on data temperature according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of a data processing device according to a second embodiment of the present invention;
Fig. 3 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flow chart of a data processing method based on data temperature according to an embodiment of the present invention, where the method may be performed by a data processing device based on data temperature, and the data processing device based on data temperature may be implemented in hardware and/or software. The method comprises the following steps:
S110, acquiring target data of an application system.
The application system is used for providing independent business services. Each application system is independent.
S120, determining the data temperature of the target data according to a preset rule.
The data temperature may be divided into hot data, warm data, and cold data according to the access frequency of the data.
Optionally, determining the data temperature of the target data according to the preset rule may be implemented as:
Determining the data temperature of target data according to preset parameters, wherein the data temperature is hot data, temperature data or cold data;
the preset parameters are one or a combination of more of the following parameters: time-of-access, capacity requirements, performance requirements, access speed requirements, or storage costs.
As shown in table 1, the data temperature of the target data may be determined according to the time-of-access timeliness, capacity requirements, performance requirements, access speed requirements, or storage cost.
TABLE 1
In table 1, different sections of capacity, performance, access speed, and storage cost can be set by thresholds. The small, large and medium of the capacity parameter can be distinguished by two capacity thresholds. The high and low performance parameters may be distinguished by a performance threshold. The fast, medium and slow access speed thresholds can be distinguished by two time thresholds. The high, medium and low storage cost parameters can be distinguished by two storage cost thresholds.
And S130, storing the target data to a storage hierarchy corresponding to the data temperature according to a storage strategy.
Optionally, storing the target data to a storage hierarchy corresponding to the data temperature according to a storage policy may be implemented as:
And if the data temperature is thermal data, storing the target data into an application system or a thermal data layer.
Hot data is typically data that is frequently accessed by applications. The data retention value, the storage equipment, the user access frequency, the security protection and the like are high, and the retention time needs to be capable of maintaining the normal operation of the application system and maintaining the normal activity expansion of the service. The thermal data is stored in an application system or a thermal data layer.
The embodiment of the application can provide data storage for a plurality of application systems through the shared storage space. The shared memory space includes a hot data layer, a warm data layer, and a cold data layer. The storage and read-write performances of the three data layers are reduced in sequence, and the storage space is increased in sequence.
Optionally, storing the target data to a storage hierarchy corresponding to the data temperature according to a storage policy may be implemented as:
if the data temperature is the temperature data, judging whether the target data is specific data or not;
If the target data is specific data, storing the target data into an application system, wherein the specific data is data with the data quantity smaller than a preset threshold value or data with the access requirement of the application system larger than a requirement threshold value; and if the target data are nonspecific data, storing the target data into a warm data layer.
The warm data is generally data with lower application access frequency and higher response requirement. The storage strategy of the temperature data is to store data with the data quantity smaller than a preset threshold value (namely, small volume data) and/or data with the access requirement of the application system larger than a requirement threshold value (namely, data with stronger characteristic requirement) in the application system. Other temperature data is stored in the temperature data layer of the shared memory space.
Optionally, storing the target data to a storage hierarchy corresponding to the data temperature according to a storage policy may be implemented as:
if the data temperature is cold data, judging whether the target data is specific data or not;
if the target data is specific data, storing the target data into an application system, wherein the specific data is data with the data quantity smaller than a preset threshold value or data with the access requirement of the application system larger than a requirement threshold value;
And if the target data is nonspecific data, storing the target data into a cold data layer.
Cold data is typically data that is accessed very infrequently and for which the response requirements are low. The storage strategy of the cold data is to store data with the data volume smaller than a preset threshold (namely, small volume data) and/or data with the access requirement of the application system larger than a requirement threshold (namely, data with stronger characteristic requirement) in the application system. Other cold data is stored in the cold data layer of the shared memory space.
Corresponding storage strategies can be formulated for different data temperatures, different kinds of data are stored to different storage levels, and the best balance is made between performance and cost.
On the one hand, from the viewpoint of cost reduction. The warm and cold data is migrated to a low performance, high capacity storage tier (e.g., warm and cold data layers), while the hot data is retained at a high performance storage tier (e.g., hot data layer). In general, according to the law of twenty-eight, 20% of data are hot data, 80% of data are warm and cold data, and the proportion of the hot data is smaller, so that high-grade storage can be saved, and the storage cost is reduced.
On the other hand, from the viewpoint of simplifying storage management and improving system performance. Most of rarely used data is migrated to a low-performance and high-capacity storage level, so that occupation of high-performance resources by temperature data and cold data can be reduced, and the performance of an application system and the performance of a storage system can be improved.
And S140, responding to data access of an application system, and providing the target data for the application system according to the storage hierarchy.
Optionally, providing the target data for the application system according to the storage hierarchy may be implemented as:
If the target data is positioned in the temperature data layer, providing the target data for the application system in an online mode;
and if the target data are positioned in the cold data layer, providing the target data for the application system in a batch or manual mode.
Further, after storing the target data to the storage hierarchy corresponding to the data temperature according to a storage policy, the method further includes:
If the data temperature of the stored data in the temperature data layer is changed into cold data;
the stored data is migrated from the warm data layer to the cold data layer.
According to the technical scheme provided by the invention, the target data of the application system are acquired; determining the data temperature of the target data according to a preset rule; storing the target data to a storage hierarchy corresponding to the data temperature according to a storage strategy; and responding to the data access of the application system, and providing the target data for the application system according to the storage hierarchy. Compared with the prior art that the application systems respectively maintain the data used by the application systems, the technical scheme provided by the invention can store the data used by different application systems, and the storage strategy stores the target data to the corresponding storage hierarchy according to the temperature of the target data. Different storage layers can provide different access rates and access modes for users, so that different forms of data storage and access are provided for target data with different data temperatures, and the data storage efficiency and the access efficiency are improved.
The embodiment of the invention saves the thermal data to an application system or a thermal data layer. The temperature data is stored in the temperature data layer, and the cold data is stored in the cold data layer. And under the condition of meeting the operation stability requirement, the data possession cost is reduced. In addition, the storage mode can also improve the overall performance of the application system and improve the operation and maintenance effect. The system burden caused by a large amount of historical data is reduced, the data access pressure of an application system is reduced, the overall performance of the system is improved, and the operation and maintenance effects are improved.
By sharing the storage space and intensively storing the temperature data and the cold data, the temperature and cold data of a single application system can be reduced, the storage space occupied by the temperature and cold data can be reduced by each application system, and the system performance is improved.
Example two
Fig. 2 is a schematic structural diagram of a data processing device based on data temperature according to a second embodiment of the present invention. The device comprises:
A target data acquisition module 21, configured to acquire target data of an application system;
A data temperature determining module 22, configured to determine a data temperature of the target data according to a preset rule;
a hierarchical storage module 23, configured to store the target data to a storage hierarchy corresponding to the data temperature according to a storage policy;
And the data access module 24 is used for responding to the data access of the application system and providing the target data for the application system according to the storage hierarchy.
Optionally, based on the above embodiment, the data temperature determining module 22 is configured to:
Determining the data temperature of target data according to preset parameters, wherein the data temperature is hot data, temperature data or cold data;
the preset parameters are one or a combination of more of the following parameters: time-of-access, capacity requirements, performance requirements, access speed requirements, or storage costs.
Alternatively, on the basis of the above embodiment, the hierarchical storage module 23 is configured to:
And if the data temperature is thermal data, storing the target data into an application system or a thermal data layer.
Alternatively, on the basis of the above embodiment, the hierarchical storage module 23 is configured to:
if the data temperature is the temperature data, judging whether the target data is specific data or not;
if the target data is specific data, storing the target data into an application system, wherein the specific data is data with the data quantity smaller than a preset threshold value or data with the access requirement of the application system larger than a requirement threshold value;
and if the target data are nonspecific data, storing the target data into a warm data layer.
Alternatively, on the basis of the above embodiment, the hierarchical storage module 23 is configured to:
if the data temperature is cold data, judging whether the target data is specific data or not;
if the target data is specific data, storing the target data into an application system, wherein the specific data is data with the data quantity smaller than a preset threshold value or data with the access requirement of the application system larger than a requirement threshold value;
And if the target data is nonspecific data, storing the target data into a cold data layer.
Optionally, based on the above embodiment, the data access module 24 is configured to:
If the target data is positioned in the temperature data layer, providing the target data for the application system in an online mode;
and if the target data are positioned in the cold data layer, providing the target data for the application system in a batch or manual mode.
Optionally, on the basis of the foregoing embodiment, the migration module is further configured to:
If the data temperature of the stored data in the temperature data layer is changed into cold data;
the stored data is migrated from the warm data layer to the cold data layer.
According to the technical scheme provided by the invention, the target data acquisition module 21 is used for acquiring target data of an application system; a data temperature determining module 22, configured to determine a data temperature of the target data according to a preset rule; a hierarchical storage module 23, configured to store the target data to a storage hierarchy corresponding to the data temperature according to a storage policy; and the data access module 24 is used for responding to the data access of the application system and providing the target data for the application system according to the storage hierarchy. Compared with the prior art that the application systems respectively maintain the data used by the application systems, the technical scheme provided by the invention can store the data used by different application systems, and the storage strategy stores the target data to the corresponding storage hierarchy according to the temperature of the target data. Different storage layers can provide different access rates and access modes for users, so that different forms of data storage and access are provided for target data with different data temperatures, and the data storage efficiency and the access efficiency are improved.
The data processing device based on the data temperature provided by the embodiment of the invention can execute the data processing method based on the data temperature provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example III
Fig. 3 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 3, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as a data processing method based on data temperature.
In some embodiments, the data processing method based on data temperature may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the data temperature based data processing method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the data temperature based data processing method in any other suitable way (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
The computer program for implementing the data temperature based data processing method of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
Example IV
A fourth embodiment of the present invention provides a computer readable storage medium storing computer instructions operable to cause a processor to perform a data processing method based on a data temperature, the method comprising:
acquiring target data of an application system;
Determining the data temperature of the target data according to a preset rule;
Storing the target data to a storage hierarchy corresponding to the data temperature according to a storage strategy;
and responding to the data access of the application system, and providing the target data for the application system according to the storage hierarchy.
Optionally, on the basis of the foregoing embodiment, determining the data temperature of the target data according to a preset rule includes:
Determining the data temperature of target data according to preset parameters, wherein the data temperature is hot data, temperature data or cold data;
the preset parameters are one or a combination of more of the following parameters: time-of-access, capacity requirements, performance requirements, access speed requirements, or storage costs.
Optionally, on the basis of the foregoing embodiment, storing the target data to a storage hierarchy corresponding to the data temperature according to a storage policy includes:
And if the data temperature is thermal data, storing the target data into an application system or a thermal data layer.
Optionally, on the basis of the foregoing embodiment, storing the target data to a storage hierarchy corresponding to the data temperature according to a storage policy includes:
if the data temperature is the temperature data, judging whether the target data is specific data or not;
if the target data is specific data, storing the target data into an application system, wherein the specific data is data with the data quantity smaller than a preset threshold value or data with the access requirement of the application system larger than a requirement threshold value;
and if the target data are nonspecific data, storing the target data into a warm data layer.
Optionally, on the basis of the foregoing embodiment, storing the target data to a storage hierarchy corresponding to the data temperature according to a storage policy includes:
if the data temperature is cold data, judging whether the target data is specific data or not;
if the target data is specific data, storing the target data into an application system, wherein the specific data is data with the data quantity smaller than a preset threshold value or data with the access requirement of the application system larger than a requirement threshold value;
And if the target data is nonspecific data, storing the target data into a cold data layer.
Optionally, on the basis of the foregoing embodiment, providing, for the application system, the target data according to the storage hierarchy includes:
If the target data is positioned in the temperature data layer, providing the target data for the application system in an online mode;
and if the target data are positioned in the cold data layer, providing the target data for the application system in a batch or manual mode.
Optionally, on the basis of the foregoing embodiment, after storing the target data to a storage hierarchy corresponding to the data temperature according to a storage policy, the method further includes:
If the data temperature of the stored data in the temperature data layer is changed into cold data;
the stored data is migrated from the warm data layer to the cold data layer.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A data processing method based on data temperature, comprising:
acquiring target data of an application system;
Determining the data temperature of the target data according to a preset rule;
Storing the target data to a storage hierarchy corresponding to the data temperature according to a storage strategy;
and responding to the data access of the application system, and providing the target data for the application system according to the storage hierarchy.
2. The method of claim 1, wherein determining the data temperature of the target data according to the preset rule comprises:
Determining the data temperature of target data according to preset parameters, wherein the data temperature is hot data, temperature data or cold data;
the preset parameters are one or a combination of more of the following parameters: time-of-access, capacity requirements, performance requirements, access speed requirements, or storage costs.
3. The method of claim 1, wherein storing the target data to the storage tier corresponding to the data temperature according to a storage policy comprises:
And if the data temperature is thermal data, storing the target data into an application system or a thermal data layer.
4. The method of claim 1, wherein storing the target data to the storage tier corresponding to the data temperature according to a storage policy comprises:
if the data temperature is the temperature data, judging whether the target data is specific data or not;
if the target data is specific data, storing the target data into an application system, wherein the specific data is data with the data quantity smaller than a preset threshold value or data with the access requirement of the application system larger than a requirement threshold value;
and if the target data are nonspecific data, storing the target data into a warm data layer.
5. The method of claim 1, wherein storing the target data to the storage tier corresponding to the data temperature according to a storage policy comprises:
if the data temperature is cold data, judging whether the target data is specific data or not;
if the target data is specific data, storing the target data into an application system, wherein the specific data is data with the data quantity smaller than a preset threshold value or data with the access requirement of the application system larger than a requirement threshold value;
And if the target data is nonspecific data, storing the target data into a cold data layer.
6. The method of claim 1, wherein providing the target data for the application system according to the storage hierarchy comprises:
If the target data is positioned in the temperature data layer, providing the target data for the application system in an online mode;
and if the target data are positioned in the cold data layer, providing the target data for the application system in a batch or manual mode.
7. The method of claim 1, further comprising, after storing the target data to the storage tier corresponding to the data temperature according to a storage policy:
If the data temperature of the stored data in the temperature data layer is changed into cold data;
the stored data is migrated from the warm data layer to the cold data layer.
8. A data processing apparatus based on data temperature, comprising:
The target data acquisition module is used for acquiring target data of the application system;
The data temperature determining module is used for determining the data temperature of the target data according to a preset rule;
The layering storage module is used for storing the target data to a storage layering corresponding to the data temperature according to a storage strategy;
And the data access module is used for responding to the data access of the application system and providing the target data for the application system according to the storage hierarchy.
9. An electronic device, the electronic device comprising:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the data temperature-based data processing method of any one of claims 1-7.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores computer instructions for causing a processor to implement the data temperature based data processing method of any one of claims 1-7 when executed.
CN202410115607.8A 2024-01-26 2024-01-26 Data processing method and device based on data temperature, electronic equipment and storage medium Pending CN117931082A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410115607.8A CN117931082A (en) 2024-01-26 2024-01-26 Data processing method and device based on data temperature, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410115607.8A CN117931082A (en) 2024-01-26 2024-01-26 Data processing method and device based on data temperature, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117931082A true CN117931082A (en) 2024-04-26

Family

ID=90757257

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410115607.8A Pending CN117931082A (en) 2024-01-26 2024-01-26 Data processing method and device based on data temperature, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117931082A (en)

Similar Documents

Publication Publication Date Title
CN114064284B (en) Cloud server resource allocation method and device, electronic equipment and medium
CN114564149B (en) Data storage method, device, equipment and storage medium
CN110908783A (en) Management and control method, system and equipment for virtual machine of cloud data center
CN117931082A (en) Data processing method and device based on data temperature, electronic equipment and storage medium
CN116126916A (en) Data query method, device and equipment based on intelligent network card
CN115438007A (en) File merging method and device, electronic equipment and medium
CN115905322A (en) Service processing method and device, electronic equipment and storage medium
CN115442432B (en) Control method, device, equipment and storage medium
CN115599307B (en) Data access method, device, electronic equipment and storage medium
CN115292662B (en) Convolution acceleration operation method and device, electronic equipment and storage medium
CN116579914B (en) Execution method and device of graphic processor engine, electronic equipment and storage medium
CN116385150A (en) Credit information determining method, device, equipment, medium and product
CN118012647A (en) Message queue capacity shrinking method, device, equipment and storage medium
CN117707856A (en) Data backup method, device, equipment and storage medium
CN115840645A (en) Method, device, storage medium and electronic equipment for predicting load index
CN116954922A (en) Distributed storage method, device, equipment and medium
CN117472471A (en) Application program configuration method, device, equipment and storage medium
CN115718608A (en) Parameter updating method and device, electronic equipment and storage medium
CN117350811A (en) Order processing method, order processing device, electronic equipment and storage medium
CN117891792A (en) Database data sharing method and device, electronic equipment and storage medium
CN117634825A (en) Dynamic resource allocation method and device
CN115907779A (en) Transaction proposal verification method, device, server and storage medium
CN115905121A (en) File processing method, device, equipment and storage medium
CN116303298A (en) Method, device, equipment and storage medium for managing cache data
CN116594764A (en) Application program updating method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination