Hotspot data migration flow control method, device, electronic equipment and storage medium
A hot data and flow control technology, applied in the computer field, can solve problems such as affecting user response time and user experience, so as to reduce the risk of data loss, improve flow control effect, and improve efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] figure 1 It is a flow chart of the flow control method for hotspot data migration provided by Embodiment 1 of the present invention. According to different requirements, the execution sequence in the flow chart can be changed, and some steps can be omitted.
[0058] S11. Record the data sets accessed by the user every preset time period.
[0059] The preset time period is a preset time period, for example, one week or 10 days. The present invention does not specifically limit the preset time period, which can be set according to the hardware or data access conditions of the electronic system.
[0060] When the electronic device detects the instruction of the user to access the data, it responds to the instruction of the user to access the data, and feeds back the data accessed by the user to the user. Record the data sets accessed by all users within the preset time period.
[0061] S12. Divide the data set into multiple data blocks.
[0062] Divide the recorded da...
Embodiment 2
[0099] figure 2 It is a flow chart of the method for determining the flow control threshold corresponding to the current statistical period according to the IO load of the user application in the previous statistical period provided by the second embodiment of the present invention.
[0100] S21. Obtain the data block size of each IO applied by the user in the last statistical period, and calculate the average data block size of the IOs in the last statistical period.
[0101] The average data block size of the IOs in the last statistical period may be calculated using an arithmetic mean algorithm, a geometric mean algorithm, or a root mean square mean algorithm.
[0102] For example, suppose it is detected that the user application had ten IOs in the last statistical period, and the data block sizes of the ten IOs are: 2M, 1M, 3M, 0.5M, 10M, 4M, 0.1M, 1.2M, 5M and 8M. Using the arithmetic mean algorithm to calculate the average data block size of the IO in the last statist...
Embodiment 3
[0136] image 3 It is a functional block diagram of a preferred embodiment of the hotspot data migration flow control device of the present invention.
[0137] In some embodiments, the hotspot data migration flow control device 30 runs in an electronic device. The hotspot data migration flow control device 30 may include a plurality of functional modules composed of program code segments. The program codes of each program segment in the hotspot data migration flow control device 30 can be stored in a memory and executed by at least one processor to execute (see for details Figure 1-2 and related descriptions) flow control method for hotspot data migration.
[0138] In this embodiment, the hotspot data migration flow control device 30 can be divided into multiple functional modules according to the functions it performs. The functional modules may include: a recording module 301 , a division module 302 , a judgment module 303 , an acquisition module 304 , a migration module...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


