Method and device for automatically adjusting QoS (Quality of Service) in SR-IOV (Solid State Disk-IOV) scene

By implementing the QoS automatic adjustment method in the solid-state drive SR-IOV environment and dynamically adjusting the IOPS of each virtual function, the problem that existing technology cannot dynamically adjust QoS in real time is solved, achieving higher performance utilization and competitiveness.

CN119336258APending Publication Date: 2025-01-21成都芯忆联信息技术有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411372867.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

In the SR-IOV environment, the prior art cannot dynamically adjust the QoS of each virtual function (VF) in real time, resulting in the failure to fully utilize the remaining performance of solid state hard disk (SSD) when the service load of a certain VF increases.

Method used

Provides an automatic QoS adjustment method in the SR-IOV scenario of solid-state drives to dynamically adjust the IOPS of each VF through disk initialization, background business performance statistics, scheduled task inspection and dynamic configuration of QoS_vf.

Benefits of technology

By dynamically adjusting the QoS of each VF, the performance of the solid-state drive can be maximized to meet the performance requirements of different business scenarios, improving the performance utilization of the entire disk and the competitiveness of the product.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119336258A_ABST
    Figure CN119336258A_ABST
Patent Text Reader

Abstract

The invention relates to a QoS automatic adjustment method and device in a solid state disk SR-IOV scene, computer equipment and a storage medium, and the method comprises the steps: carrying out disk initialization, initializing the IOPS amount which can be borne by each VF, and recording the IOPS amount which can be borne by the VF as QoSvf; the background counts the business performance IOPS, the IOPS of each VF and the IOPS of the whole disk; checking whether each VF service performance requirement is matched with the currently configured QoSvf or not through a timed task; the dynamic configuration of the QoSvf is carried out by judging whether the IOPS of each current VF exceeds a preset highest threshold value or not and is lower than a preset lowest threshold value or not. Under the SSD SR-IOV technology, statistics is carried out based on the performance of the service scene, the disk service requirement is analyzed through the timed task, the QoS meeting the service scene is adapted, and the purposes that the performance of the SSD disk is played to the maximum extent and the time delay requirement of the service is guaranteed are achieved through dynamic adjustment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of solid state hard disks, and in particular to a method, device, computer equipment and storage medium for automatically adjusting QoS in a solid state hard disk SR-IOV scenario. Background Art

[0002] SSD (Solid State Drive) has been widely used in various occasions. At present, it has gradually replaced the traditional HDD in the PC market, providing users with a better experience in terms of reliability and performance. Among them, the SR-IOV standard allows efficient sharing of PCIe devices between virtual machines, which can obtain I / O performance comparable to that of the local machine. In the SR-IOV environment, all virtual machines correspond to a VF (Virtual Function) of the SSD. The virtual machine directly reads and writes the SSD physical space through the VF, improving IO performance, improving IPOS (Input / Output Operations Per Second) and reducing latency.

[0003] Currently, many manufacturers of enterprise-level SSD disks have implemented SR-IOV, and a small number of manufacturers have implemented configurable VF QoS (Quality of Service), mainly to limit the maximum IOPS or bandwidth of the VF. This configuration method cannot dynamically adjust the QoS of each VF in real time. If a VF has a lot of services, even if the performance of the entire disk is still available, the VF will no longer be able to access services after its service performance reaches the configured QoS threshold, resulting in the disk's performance not being fully utilized. Summary of the invention

[0004] Based on this, it is necessary to provide a QoS automatic adjustment method, device, computer equipment and storage medium in a solid state drive SR-IOV scenario to address the above technical problems.

[0005] A method for automatically adjusting QoS in a solid state drive SR-IOV scenario, the method comprising:

[0006] Initialize the disk and the IOPS that each VF can bear. The IOPS that the VF can bear is recorded as QoS_vf.

[0007] The background statistics business performance IOPS, IOPS of each VF and IOPS of the entire disk;

[0008] Check whether the service performance requirements of each VF match the currently configured QoS_vf through scheduled tasks;

[0009] The QoS_vf is dynamically configured by judging whether the current IOPS of each VF exceeds the preset maximum threshold and is lower than the preset minimum threshold.

[0010] In one embodiment, the step of initializing the disk and initializing the IOPS amount that each VF can bear, where the IOPS amount that the VF can bear is recorded as QoS_vf, includes:

[0011] For VFs configured with guaranteed IOPS, initialize QoS_vf = guaranteed IOPS;

[0012] For VFs that are not configured with guaranteed IOPS, initialize QoS_vf = (full disk performance specification - total guaranteed IOPS) / number of VFs that are not configured with guaranteed IOPS.

[0013] In one embodiment, the method further comprises:

[0014] For services that are latency-sensitive and that use the VF configured to guarantee QoS, there is no need to dynamically adjust QoS_vf;

[0015] Determine whether the IOPS of the entire disk has reached 95% of the entire disk specification. If it has reached 95%, QoS_vf will not be adjusted.

[0016] In one embodiment, the step of dynamically configuring QoS_vf by determining whether the current IOPS of each VF exceeds a preset maximum threshold and is lower than a preset minimum threshold comprises:

[0017] If the current VF's IOPS is greater than QoS_vf*90%, it means that the current VF's QoS configuration is too small, and QoS_vf should be increased;

[0018] If the current VF's IOPS is less than QoS_vf*75%, it means that the current VF's QoS configuration is too large, and QoS_vf should be reduced.

[0019] A QoS automatic adjustment device in a solid state drive SR-IOV scenario, the device comprising:

[0020] An initialization module, which is used to initialize the disk and the IOPS that each VF can bear. The IOPS that the VF can bear is recorded as QoS_vf;

[0021] A statistics module, which is used to count the business performance IOPS, the IOPS of each VF, and the IOPS of the entire disk in the background;

[0022] A timing module, which is used to check whether the service performance requirements of each VF match the currently configured QoS_vf through a timing task;

[0023] A dynamic configuration module is used to dynamically configure QoS_vf by judging whether the current IOPS of each VF exceeds a preset maximum threshold and is lower than a preset minimum threshold.

[0024] In one embodiment, the initialization module is further used to:

[0025] For VFs configured with guaranteed IOPS, initialize QoS_vf = guaranteed IOPS;

[0026] For VFs that are not configured with guaranteed IOPS, initialize QoS_vf = (full disk performance specification - total guaranteed IOPS) / number of VFs that are not configured with guaranteed IOPS.

[0027] In one embodiment, the device is further used for:

[0028] For services that are latency-sensitive and that use the VF configured to guarantee QoS, there is no need to dynamically adjust QoS_vf;

[0029] Determine whether the IOPS of the entire disk has reached 95% of the entire disk specification. If it has reached 95%, QoS_vf will not be adjusted.

[0030] In one embodiment, the dynamic configuration module is further used to:

[0031] If the current VF's IOPS is greater than QoS_vf*90%, it means that the current VF's QoS configuration is too small, and QoS_vf should be increased;

[0032] If the current VF's IOPS is less than QoS_vf*75%, it means that the current VF's QoS configuration is too large, and QoS_vf should be reduced.

[0033] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any one of the above methods when executing the computer program.

[0034] A computer-readable storage medium stores a computer program, wherein the computer program implements the steps of any one of the above methods when executed by a processor.

[0035] The QoS automatic adjustment method, device, computer equipment and storage medium in the above-mentioned solid-state hard disk SR-IOV scenario initializes the IOPS amount that each VF can carry by initializing the disk, and the IOPS amount that the VF can carry is recorded as QoS_vf; the background statistics business performance IOPS, the IOPS of each VF and the IOPS of the entire disk; through the scheduled task, check whether the business performance requirements of each VF match the currently configured QoS_vf; and dynamically configure QoS_vf by judging whether the current IOPS of each VF exceeds the preset maximum threshold and whether it is lower than the preset minimum threshold. Under the SSD SR-IOV technology, the present invention performs statistics based on the performance of the business scenario, analyzes the business requirements of the disk through the scheduled task, adapts to meet the QoS of the business scenario, and achieves the purpose of maximizing the performance of the SSD disk and ensuring the latency requirements of the business through dynamic adjustment, thereby improving the performance utilization of the entire disk and improving the competitiveness of the product. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a flowchart of a method for automatically adjusting QoS in a solid state drive SR-IOV scenario in one embodiment;

[0037] Figure 2 It is a flowchart of a method for automatically adjusting QoS in a solid state drive SR-IOV scenario in another embodiment;

[0038] Figure 3 A schematic diagram of a flow chart of a method for automatically adjusting QoS in a solid state drive SR-IOV scenario in yet another embodiment;

[0039] Figure 4 It is a flowchart of a method for automatically adjusting QoS in a solid state drive SR-IOV scenario in another embodiment;

[0040] Figure 5 It is a structural block diagram of a QoS automatic adjustment device in a solid state drive SR-IOV scenario in an embodiment;

[0041] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0043] In one embodiment, Figure 1As shown, a method for automatically adjusting QoS in a solid state drive SR-IOV scenario is provided, the method comprising:

[0044] Step 102, initializing the disk and initializing the IOPS that each VF can bear, where the IOPS that the VF can bear is recorded as QoS_vf;

[0045] Step 104: The background counts the business performance IOPS, the IOPS of each VF, and the IOPS of the entire disk;

[0046] Step 106, checking whether each VF service performance requirement matches the currently configured QoS_vf through a scheduled task;

[0047] Step 108 , dynamically configure QoS_vf by determining whether the current IOPS of each VF exceeds a preset maximum threshold and is lower than a preset minimum threshold.

[0048] In this embodiment, a QoS automatic adjustment method in a solid-state drive SR-IOV scenario is provided. Based on the SR-IOV QoS characteristics, the method can realize the mutual isolation of traffic between VFs, and the read and write bandwidth and IOPS performance between different VFs can be adjusted independently without interfering with each other, thereby realizing flexible support for different service categories. The automatic adjustment of SR-IOV QoS can flexibly adjust the read and write bandwidth and IOPS of each VF, maximize the performance of the entire disk, and meet the performance requirements of different VFs.

[0049] Specifically, the disk is initialized first, and the IOPS that each VF can bear is initialized, and the IOPS that the VF can bear is recorded as QoS_vf. Disk initialization or abnormal recovery and reconnection to customer application scenarios include: storage array servers, general rack servers or other devices.

[0050] In one embodiment, the step of initializing the disk and initializing the IOPS amount that each VF can bear, wherein the IOPS amount that the VF can bear is recorded as QoS_vf, includes: for VFs configured with guaranteed IOPS, initializing QoS_vf=guaranteed IOPS; for VFs not configured with guaranteed IOPS, initializing QoS_vf=(full disk performance specification-guaranteed IOPS total) / number of VFs not configured with guaranteed IOPS.

[0051] Initialize the disk. For VFs configured with guaranteed IOPS, initialize QoS_vf = guaranteed IOPS. Otherwise, QoS_vf = (full disk performance specification - guaranteed IOPS sum) / number of VFs not configured with guaranteed IOPS.

[0052] Next, the background routinely counts the business performance IOPS, the IOPS of each VF, and the IOPS of the entire disk. The scheduled task is performed every minute (the specific timing period can be configured according to actual needs) to match and adjust the business performance requirements of each VF with the VF QoS.

[0053] Finally, based on the IOPS of each VF service, QoS_vf is dynamically configured. After the SSD is connected to the service scenario, the disk will count the performance requirements of the upper-layer services and adjust the QoS threshold of each VF of the SSD disk based on the performance requirements of the upper-layer applications. The SR-IOV QoS adjustment threshold can be set to dual conditions, improving the SR-IOV QoS conditions and reducing the SR-IOV QoS conditions to achieve a slow and fast recovery disk performance strategy.

[0054] In the above embodiment, the IOPS amount that each VF can carry is initialized by initializing the disk, and the IOPS amount that the VF can carry is recorded as QoS_vf; the background statistics of business performance IOPS, IOPS of each VF and IOPS of the whole disk; through the scheduled task, check whether the business performance requirements of each VF match the currently configured QoS_vf; by judging whether the current IOPS of each VF exceeds the preset maximum threshold and whether it is lower than the preset minimum threshold, the dynamic configuration of QoS_vf is performed. Under the SSD SR-IOV technology, the present invention performs statistics based on the performance of the business scenario, analyzes the business requirements of the disk through the scheduled task, adapts to meet the QoS of the business scenario, and achieves the purpose of maximizing the performance of the SSD disk and ensuring the delay requirements of the business through dynamic adjustment, thereby improving the performance utilization of the entire disk and improving the competitiveness of the product.

[0055] In one embodiment, Figure 2 As shown, a method for automatically adjusting QoS in a solid state drive SR-IOV scenario is provided, and the method also includes:

[0056] Step 202: For a service whose VF configured to guarantee QoS is latency-sensitive, there is no need to dynamically adjust QoS_vf;

[0057] Step 204, determining whether the IOPS of the entire disk has reached 95% of the entire disk specification, if it has reached it, then the QoS_vf is not adjusted.

[0058] In this embodiment, for latency-sensitive services configured with QoS-guaranteed VF, there is no need to dynamically adjust QoS_vf. In addition, it is determined whether the IOPS of the entire disk has reached 95% of the entire disk specification. If it has reached 95% of the entire disk specification, QoS_vf is not adjusted temporarily.

[0059] In one embodiment, Figure 3As shown, a method for automatically adjusting QoS in a solid state drive SR-IOV scenario is provided, and the method also includes:

[0060] Step 302: If the IOPS of the current VF is greater than QoS_vf*90%, it means that the QoS configuration of the current VF is too small, and QoS_vf is increased;

[0061] Step 304: If the IOPS of the current VF is less than QoS_vf*75%, it means that the QoS configuration of the current VF is too large, and QoS_vf is reduced.

[0062] Specifically, please refer to Figure 4 The flowchart of the QoS automatic adjustment method in the solid-state drive SR-IOV scenario is shown in FIG. The specific dual-threshold dynamic adjustment process is as follows:

[0063] First determine whether vf_iops>QoS_vf*90% is satisfied. If so, it means that the QoS of VF may not meet the requirements, and QoS_vf should be appropriately increased to 1.1 times. If vf_iops<QoS_vf*75%, it means that the QoS configuration of VF is too large, and QoS_vf should be appropriately reduced to the original 0.85.

[0064] In this embodiment, the SR-IOV QoS adjustment threshold is set as a dual condition, which improves the SR-IOV QoS condition and reduces the SR-IOV QoS condition, thereby realizing a slow and fast reduction disk recovery performance strategy.

[0065] It should be understood that although Figure 1-Figure 4 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1-Figure 4 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0066] In one embodiment, Figure 5 As shown, a QoS automatic adjustment device 500 in a solid state drive SR-IOV scenario is provided, and the device includes:

[0067] Initialization module 501, the initialization module is used to initialize the disk and initialize the IOPS amount that each VF can bear, and the IOPS amount that the VF can bear is recorded as QoS_vf;

[0068] Statistics module 502, which is used for background statistics of business performance IOPS, IOPS of each VF and IOPS of the entire disk;

[0069] A timing module 503, which is used to check whether the service performance requirements of each VF match the currently configured QoS_vf through a timing task;

[0070] The dynamic configuration module 504 is used to dynamically configure the QoS_vf by judging whether the current IOPS of each VF exceeds a preset maximum threshold and is lower than a preset minimum threshold.

[0071] In one embodiment, the initialization module 501 is further used to:

[0072] For VFs configured with guaranteed IOPS, initialize QoS_vf = guaranteed IOPS;

[0073] For VFs that are not configured with guaranteed IOPS, initialize QoS_vf = (full disk performance specification - total guaranteed IOPS) / number of VFs that are not configured with guaranteed IOPS.

[0074] In one embodiment, the device is also used to:

[0075] For services that are latency-sensitive and that use the VF configured to guarantee QoS, there is no need to dynamically adjust QoS_vf;

[0076] Determine whether the IOPS of the entire disk has reached 95% of the entire disk specification. If it has reached 95%, QoS_vf will not be adjusted.

[0077] In one embodiment, the dynamic configuration module 504 is further configured to:

[0078] If the current VF's IOPS is greater than QoS_vf*90%, it means that the current VF's QoS configuration is too small, and QoS_vf should be increased;

[0079] If the current VF's IOPS is less than QoS_vf*75%, it means that the current VF's QoS configuration is too large, and QoS_vf should be reduced.

[0080] For the specific limitations of the QoS automatic adjustment device in the solid-state hard disk SR-IOV scenario, please refer to the limitations of the QoS automatic adjustment method in the solid-state hard disk SR-IOV scenario above, which will not be repeated here.

[0081] In one embodiment, a computer device is provided, whose internal structure diagram can be as follows: Figure 6As shown. The computer device includes a processor, a memory and a network interface connected through a device bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating device, a computer program and a database. The internal memory provides an environment for the operation of the operating device and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a QoS automatic adjustment method in a solid-state hard disk SR-IOV scenario is implemented.

[0082] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0083] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps in the above method embodiments when executing the computer program.

[0084] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[0085] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0086] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0087] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A method for automatically adjusting QoS in a solid state drive SR-IOV scenario, the method comprising: Initialize the disk and the IOPS that each VF can bear. The IOPS that the VF can bear is recorded as QoS_vf. The background statistics business performance IOPS, IOPS of each VF and IOPS of the entire disk; Check whether the service performance requirements of each VF match the currently configured QoS_vf through scheduled tasks; The QoS_vf is dynamically configured by judging whether the current IOPS of each VF exceeds the preset maximum threshold and is lower than the preset minimum threshold.

2. The QoS automatic adjustment method in the solid state drive SR-IOV scenario according to claim 1, characterized in that: The step of initializing the disk and initializing the IOPS amount that each VF can bear, where the IOPS amount that the VF can bear is recorded as QoS_vf, includes: For VFs configured with guaranteed IOPS, initialize QoS_vf = guaranteed IOPS; For VFs that are not configured with guaranteed IOPS, initialize QoS_vf = (full disk performance specification - total guaranteed IOPS) / number of VFs that are not configured with guaranteed IOPS.

3. The QoS automatic adjustment method in the solid state drive SR-IOV scenario according to claim 1, characterized in that: The method further comprises: For services that are latency-sensitive and that use the VF configured to guarantee QoS, there is no need to dynamically adjust QoS_vf; Determine whether the IOPS of the entire disk has reached 95% of the entire disk specification. If it has reached 95%, QoS_vf will not be adjusted.

4. The QoS automatic adjustment method in the solid state drive SR-IOV scenario according to any one of claims 1 to 3, characterized in that: The step of dynamically configuring QoS_vf by judging whether the current IOPS of each VF exceeds a preset maximum threshold and is lower than a preset minimum threshold comprises: If the current VF's IOPS is greater than QoS_vf*90%, it means that the current VF's QoS configuration is too small, and QoS_vf should be increased; If the current VF's IOPS is less than QoS_vf*75%, it means that the current VF's QoS configuration is too large, and QoS_vf should be reduced.

5. A QoS automatic adjustment device in a solid state drive SR-IOV scenario, characterized in that: The device comprises: An initialization module, which is used to initialize the disk and the IOPS that each VF can bear. The IOPS that the VF can bear is recorded as QoS_vf; A statistics module, which is used to count the business performance IOPS, the IOPS of each VF, and the IOPS of the entire disk in the background; A timing module, which is used to check whether the service performance requirements of each VF match the currently configured QoS_vf through a timing task; A dynamic configuration module is used to dynamically configure QoS_vf by judging whether the current IOPS of each VF exceeds a preset maximum threshold and is lower than a preset minimum threshold.

6. The QoS automatic adjustment device in the solid state drive SR-IOV scenario according to claim 5, characterized in that: The initialization module is also used for: For VFs configured with guaranteed IOPS, initialize QoS_vf = guaranteed IOPS; For VFs that are not configured with guaranteed IOPS, initialize QoS_vf = (full disk performance specification - total guaranteed IOPS) / number of VFs that are not configured with guaranteed IOPS.

7. The QoS automatic adjustment device in the solid state drive SR-IOV scenario according to claim 5, characterized in that: The device is also used for: For services that are latency-sensitive and that use the VF configured to guarantee QoS, there is no need to dynamically adjust QoS_vf; Determine whether the IOPS of the entire disk has reached 95% of the entire disk specification. If it has reached 95%, QoS_vf will not be adjusted.

8. The QoS automatic adjustment device in the solid state drive SR-IOV scenario according to any one of claims 5 to 7, characterized in that: The dynamic configuration module is also used to: If the current VF's IOPS is greater than QoS_vf*90%, it means that the current VF's QoS configuration is too small, and QoS_vf should be increased; If the current VF's IOPS is less than QoS_vf*75%, it means that the current VF's QoS configuration is too large, and QoS_vf should be reduced.

9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.