Storage method and device, electronic equipment, storage medium and computer program product

By storing the training parameters of large models in a local storage server connected to the same access switch as the training server, the problems of increased load on the core switch and packet loss are solved, achieving efficient model storage and reducing deployment costs.

CN118567553APending Publication Date: 2024-08-30THE FOURTH PARADIGM BEIJING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410578410.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-10
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

During the training process of a large model, storing model parameters may cause the instantaneous load of the core switch to suddenly increase, leading to packet loss.

Method used

By storing the trained model parameters in a local storage server connected to the same access switch as the training server, core switch transfer is avoided, thereby converging the writing process on a single access switch and reducing the load on the core switch.

Benefits of technology

It effectively avoids the instantaneous load increase and packet loss of core switches, reduces deployment costs, and improves model storage efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567553A
    Figure CN118567553A
Patent Text Reader

Abstract

The invention relates to a storage method and device, electronic equipment, a storage medium and a computer program product. The method comprises the steps that a training server is used for sending a training data acquisition request to a remote storage server; the far-end storage server is used for responding to the training data acquisition request and sending the training data to the training server; the training server is used for training the target model by using the training data; the training server is used for sending parameters corresponding to the trained target model to a near-end storage server which accesses the same access switch with the training server; and the near-end storage server is used for storing parameters corresponding to the trained target model. According to the method and the device, the model writing process with relatively large impact on the core switch is converged under the single access switch, so that the phenomenon that the instantaneous load of the core switch is suddenly increased due to the fact that the parameters corresponding to the trained model need to be forwarded by means of the core switch can be avoided, and the condition of packet loss can be further avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and more particularly, to a storage method, an apparatus, an electronic device, a storage medium, and a computer program product. Background Art

[0002] Network Attached Storage (NAS) refers to a device that is connected to the network and has data storage capabilities, so it can also be called "network storage." NAS can include training servers, storage servers, and core switches.

[0003] In the related art, a training server can be used to train a model. After the model is trained, the training server can store the parameters corresponding to the trained model in a storage server. In addition, when the training server stores the parameters corresponding to the trained model in the storage server, it may need to rely on the forwarding of the core switch to achieve this. However, the amount of data contained in some "large models" is relatively large. When storing the parameters corresponding to these "large models", a large amount of traffic may flow into the core switch in a short period of time, which will cause the instantaneous load of the core switch to suddenly increase, and may cause packet loss. Summary of the invention

[0004] The present disclosure provides a storage method, an apparatus, an electronic device, a storage medium and a computer program product to at least solve the problem in the above-mentioned related technologies that when storing parameters corresponding to the "large model", the instantaneous load of the core switch may suddenly increase, which may in turn cause packet loss.

[0005] According to a first aspect of an embodiment of the present disclosure, there is provided a storage method, which is applied to a target storage cluster, wherein the target storage cluster includes a training server, a proximal storage server, a remote storage server and an access switch, and the storage method includes: the training server is used to send a training data acquisition request to the remote storage server; the remote storage server is used to send the training data to the training server in response to the training data acquisition request; the training server is used to train a target model using the training data to obtain a trained target model; the training server is used to send parameters corresponding to the trained target model to the proximal storage server connected to the same access switch as the training server; the proximal storage server is used to store the parameters corresponding to the trained target model.

[0006] Optionally, the number of communication links between the training server connected to the same access switch and the same access switch is a first number, and the number of communication links between the proximal storage server connected to the same access switch and the same access switch is a second number, wherein the first number and / or the second number is an integer greater than one; the training server is used to send the parameters corresponding to the trained target model to the proximal storage server connected to the same access switch as the training server, including: the training server is used to send the parameters corresponding to the trained target model to the same access switch through the first number of communication links; the same access switch is used to send the parameters corresponding to the trained target model to the proximal storage server through the second number of communication links.

[0007] Optionally, the storage method also includes: the proximal storage server is used to send the parameters corresponding to the trained target model to the remote storage server at every preset time interval, and delete the parameters corresponding to the trained target model; the remote storage server is used to receive the parameters corresponding to the trained target model sent by the proximal storage server, and store the parameters corresponding to the trained target model.

[0008] Optionally, the remote storage server is used to send the training data to the training server in response to the training data acquisition request, including: the remote storage server is used to return the training data to the training server along a path opposite to an original path in response to the training data acquisition request, wherein the original path is a path traversed by the training data acquisition request from the training server to the remote storage server.

[0009] Optionally, the target storage cluster further includes a core switch; the training server is used to send a training data acquisition request to the remote storage server, including: the training server is used to send the training data acquisition request to the access switch that manages the training server, wherein the training data acquisition request includes identification information for indicating the remote storage server storing the training data; the access switch that manages the training server is used to forward the training data acquisition request to the core switch that manages the access switch; the core switch that manages the access switch is used to forward the training data acquisition request to the access switch corresponding to the identification information based on the correspondence between the pre-stored identification information and the access switch, and the identification information; the access switch corresponding to the identification information is used to send the training data acquisition request to the remote storage server indicated by the identification information.

[0010] Optionally, the identification information is an IP address.

[0011] Optionally, the core switch is a plurality of core switches, the plurality of core switches include a first core switch and a second core switch, the deployment cost of the first core switch is lower than the deployment cost of the second core switch, and the forwarding capability of the first core switch is weaker than the forwarding capability of the second core switch.

[0012] Optionally, a rate of a single interface included in the core switch is higher than a rate of a single interface included in the access switch.

[0013] Optionally, the storage resources of the proximal storage server are less than the storage resources of the distal storage server.

[0014] According to a second aspect of an embodiment of the present disclosure, there is provided a storage device, which is applied to a target storage cluster, wherein the target storage cluster includes a training server, a proximal storage server, a remote storage server and an access switch, and the storage device includes: a request sending module, which is configured to send a training data acquisition request to the remote storage server through the training server; a training data sending module, which is configured to send training data to the training server through the remote storage server in response to the training data acquisition request; a training module, which is configured to train a target model using the training data through the training server to obtain a trained target model; a model parameter sending module, which is configured to send parameters corresponding to the trained target model through the training server to the proximal storage server connected to the same access switch as the training server; and a parameter storage module, which is configured to store parameters corresponding to the trained target model through the proximal storage server.

[0015] Optionally, the number of communication links between the training server connected to the same access switch and the same access switch is a first number, and the number of communication links between the proximal storage server connected to the same access switch and the same access switch is a second number, wherein the first number and / or the second number is an integer greater than one; the model parameter sending module is configured to: use the training server to send the parameters corresponding to the trained target model to the same access switch through the first number of communication links; and use the same access switch to send the parameters corresponding to the trained target model to the proximal storage server through the second number of communication links.

[0016] Optionally, the storage device also includes: a parameter deletion module, configured to send the parameters corresponding to the trained target model to the remote storage server through the near-end storage server at every preset time interval, and delete the parameters corresponding to the trained target model; a parameter receiving module, configured to receive the parameters corresponding to the trained target model sent by the near-end storage server through the remote storage server, and store the parameters corresponding to the trained target model.

[0017] Optionally, the training data sending module is configured to respond to the training data acquisition request through the remote storage server and return the training data to the training server along a path opposite to the original path, wherein the original path is the path traversed by the training data acquisition request from the training server to the remote storage server.

[0018] Optionally, the target storage cluster further includes a core switch; the request sending module is further configured to send the training data acquisition request to the access switch that manages the training server through the training server, wherein the training data acquisition request includes identification information for indicating the remote storage server that stores the training data; the request sending module is further configured to forward the training data acquisition request to the core switch that manages the access switch through the access switch that manages the training server; the request sending module is further configured to forward the training data acquisition request to the access switch corresponding to the identification information through the core switch that manages the access switch based on the correspondence between the pre-stored identification information and the access switch, and the identification information; the request sending module is further configured to send the training data acquisition request to the remote storage server indicated by the identification information through the access switch that corresponds to the identification information.

[0019] Optionally, the identification information is an IP address.

[0020] Optionally, the core switch is a plurality of core switches, the plurality of core switches include a first core switch and a second core switch, the deployment cost of the first core switch is lower than the deployment cost of the second core switch, and the forwarding capability of the first core switch is weaker than the forwarding capability of the second core switch.

[0021] Optionally, a rate of a single interface included in the core switch is higher than a rate of a single interface included in the access switch.

[0022] Optionally, the storage resources of the proximal storage server are less than the storage resources of the distal storage server.

[0023] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the storage method according to the present disclosure.

[0024] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the storage method according to the present disclosure.

[0025] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, comprising a computer program, wherein the computer program implements the storage method according to the present disclosure when executed by a processor.

[0026] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0027] In the present disclosure, the parameters corresponding to the trained model are stored in a proximal storage server connected to the same access switch as the training server, that is, the present disclosure does not require the core switch to transfer when storing the parameters corresponding to the trained model, that is, the present disclosure converges the model writing process that has a relatively large impact on the core switch under a single access switch. In this way, the phenomenon of a sudden increase in the instantaneous load of the core switch caused by the need to forward the parameters corresponding to the trained model with the help of the core switch can be avoided, thereby avoiding packet loss.

[0028] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0030] Figure 1 is a schematic diagram showing the connection of a direct-attached storage DAS, a network-attached storage NAS, and a storage area network SAN in the related art;

[0031] Figure 2 is a schematic diagram showing two independent high-performance fiber channel switches included in a SAN in the related art;

[0032] Figure 3 is a flowchart illustrating a storage method according to an exemplary embodiment of the present disclosure;

[0033] Figure 4is a schematic diagram illustrating a target storage cluster according to an exemplary embodiment of the present disclosure;

[0034] Figure 5 is a block diagram illustrating a storage device according to an exemplary embodiment of the present disclosure;

[0035] Figure 6 is a block diagram illustrating an electronic device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0036] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0037] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The implementation methods described in the following examples do not represent all implementation methods consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the attached claims.

[0038] It should be noted that the phrase "at least one of the items" in the present disclosure includes three types of parallel situations: "any one of the items", "a combination of any number of the items", and "all of the items". For example, "including at least one of A and B" includes the following three parallel situations: (1) including A; (2) including B; (3) including A and B. Another example is "executing at least one of step 1 and step 2" which means the following three parallel situations: (1) executing step 1; (2) executing step 2; (3) executing step 1 and step 2.

[0039] In the current large model training process, the amount of training data that needs to be read and the model data that needs to be stored has increased by an order of magnitude compared to traditional model training tasks. Therefore, storage solutions based on Direct Attached Storage (DAS) can no longer meet the data storage needs of training tasks. Storage solutions based on Storage Area Network (SAN) often need to access non-convergent high-speed networks in order to ensure the read and write performance of all servers, resulting in high implementation costs. Therefore, the use of Network Attached Storage (NAS) has become a cost-effective option.

[0040] However, in existing data centers, NAS storage servers used to store data and training servers used to train models are often connected to the same access switch in a certain ratio. This will cause the data in the model training process and the storage traffic in the storage process to affect each other, and the speed of the training task will also be affected.

[0041] Among the current mainstream storage network solutions, SAN is an architecture that connects external storage devices and servers, and is generally implemented using various technologies including Fibre Channel technology and disk arrays. The characteristic of the SAN architecture is that the storage devices connected to the server will be regarded as directly connected storage devices by the operating system. Compared with SAN, NAS uses a file-based access protocol, and the server requests access to a section of the file rather than a block device operation on the disk.

[0042] Figure 1 1 is a schematic diagram showing the connection of direct-attached storage DAS, network-attached storage NAS, and storage area network SAN in the related art. Figure 1 For direct-attached storage DAS, it includes application programs, namely training programs (Application software), file systems (File System) and storage devices (storage); for network-attached storage NAS, it includes training programs, networks (Network), file systems and storage devices; for storage area networks SAN, it includes training programs, file systems, storage devices and Fibre Channel (Fibre Channel, FC).

[0043] In the SAN implementation plan, in order to ensure the operational performance and high availability of block devices, two independent high-performance Fibre Channel switches are required, which greatly increases the implementation cost of the storage network using the SAN solution. At the same time, because the read and write characteristics of the storage network in large model training cannot be directly perceived by the block device, it is impossible to perform targeted optimization when using the SAN storage network. Figure 2 1 is a schematic diagram showing two independent high-performance fiber channel switches included in a SAN in the related art. Figure 2 , SAN contains two independent arrays, namely array 1 and array 2, which are physically isolated arrays.

[0044] During the training of large models, the training tasks have obvious characteristics in terms of data reading and writing. In the process of model learning samples, the training tasks need to consume data continuously, so at this stage, the main focus is on continuous data reading, which is manifested on the network as: traffic continues to flow from the storage server to the training server; during the model saving stage, the training server needs to write the model data in the memory to the disk. Because the large model has a large number of parameters, the amount of data written far exceeds that of the traditional model, which is manifested in network traffic as: large traffic bursts are written from the training server to the storage server.

[0045] When using NAS storage network solutions, clustered NAS solutions are often used to solve the storage capacity problem. Clustered NAS uses a distributed file system running on multiple storage servers to provide external storage services. In the traditional clustered NAS storage network design, both read and write traffic will be distributed to all NAS servers. This will cause a large amount of traffic to converge from the access switch uplink to the core switch during the model saving phase, significantly increasing the instantaneous load of the network, which in turn greatly prolongs the model saving time.

[0046] In order to solve the above problems existing in the related art, the storage method, device, electronic device, storage medium and computer program product provided by the present disclosure will store the parameters corresponding to the trained model in a proximal storage server connected to the same access switch as the training server, that is, the present disclosure does not require the core switch to transfer when storing the parameters corresponding to the trained model, that is, the present disclosure converges the model writing process that has a relatively large impact on the core switch under a single access switch. In this way, the phenomenon of a sudden increase in the instantaneous load of the core switch caused by the need to forward the parameters corresponding to the trained model with the help of the core switch can be avoided, thereby avoiding packet loss.

[0047] Figure 3 The present invention is a flowchart of a storage method according to an exemplary embodiment of the present invention, which is applied to a target storage cluster, which may include a training server, a near-end storage server, a far-end storage server, and an access switch. The training server may also be referred to as a computing server or a graphics processing unit (GPU) server.

[0048] Figure 4 is a schematic diagram showing a target storage cluster according to an exemplary embodiment of the present disclosure. Figure 4"Compute" refers to computing servers (training servers, GPU servers), which are mainly used for training models. "Storage" refers to storage servers. Furthermore, in this disclosure, storage servers are also divided into near-end storage servers and far-end storage servers.

[0049] The near-end storage server may be a computing server, that is, a small amount of storage resources on the computing server may be used to build near-end NAS storage. In addition, the training server and the near-end storage server may be connected to the same access switch. Figure 4 Compute1, Compute2 and Compute3, as well as proximal storage Storage1 and proximal storage Storage2 can all be connected to the same access switch a1 and the same access switch a2; Compute4, Compute5 and Compute6, as well as proximal storage Storage3 and proximal storage Storage4 can all be connected to the same access switch a3 and the same access switch a4.

[0050] The remote storage server may be a server for storing training data, and since the remote storage server is mainly used to implement storage functions, it may include more hard disks. Figure 4 Remote storage Storage1, remote storage Storage2 and remote storage Storage3, as well as remote storage Storage4 and remote storage Storage5 can all be connected to the same access switch a5 and the same access switch a6.

[0051] According to an exemplary embodiment of the present disclosure, the storage resources of the aforementioned near-end storage server may be less than the storage resources of the far-end storage server.

[0052] The target storage cluster may further include a core switch, which may be connected to the access switch managed by the core switch. Figure 4 , a total of two core switches are shown, namely core switch C1 and core switch C2.

[0053] Among them, the core switch C1 can be used to manage the access switch a1, access switch a2, access switch a3, access switch a4, access switch a5 and access switch a6. Therefore, the core switch C1 has a connection relationship with the access switch a1, access switch a2, access switch a3, access switch a4, access switch a5 and access switch a6; the core switch C2 can also be used to manage the access switch a1, access switch a2, access switch a3, access switch a4, access switch a5 and access switch a6. Therefore, the core switch C2 has a connection relationship with the access switch a1, access switch a2, access switch a3, access switch a4, access switch a5 and access switch a6.

[0054] Return to reference Figure 3 In step 301, the training server may be used to send a training data acquisition request to the remote storage server. In addition, since the remote storage server is mainly used to implement the storage function, it may include more hard disks.

[0055] It should be noted that the training task of the training server will initiate a request to the remote storage server that actually stores the training data through the distributed file system of the training server. Since the number of files that need to be read for the training task is large and different files are stored on different remote storage servers, the training server may need to initiate training data acquisition requests to multiple remote storage servers at the same time.

[0056] According to an exemplary embodiment of the present disclosure, as mentioned above, the target storage cluster may further include a core switch.

[0057] The training server may be used to send a training data acquisition request to an access switch that manages the training server. The training data acquisition request may include identification information for indicating a remote storage server storing the training data. Figure 4 The training server Compute1 can be used to send a training data acquisition request to the access switch a2 that manages the Compute1.

[0058] Next, the access switch managing the training server may be used to forward the training data acquisition request to the core switch managing the access switch. Figure 4 The access switch a2 that manages the training server Compute1 can be used to forward the training data acquisition request to the core switch C2 that manages the access switch a2.

[0059] Then, the core switch that manages the access switch can be used to forward the above-mentioned training data acquisition request to the access switch corresponding to the identification information based on the correspondence between the pre-stored identification information and the access switch, and the identification information contained in the above-mentioned training data acquisition request, that is, the above-mentioned training data acquisition request can be forwarded to the access switch used to manage the server indicated by the identification information.

[0060] It should be noted that each core switch can store a correspondence between the access switch it manages and the identification information of the server managed by the access switch. In this way, after the core switch obtains the identification information contained in the training data acquisition request, it can determine which access switch is used to manage the server indicated by the identification information based on the above correspondence, and then forward the above training data acquisition request to the access switch used to manage the server indicated by the identification information.

[0061] For example, refer to Figure 4 Assuming that the core switch C2 determines that the access switch of the server indicated by the identification information contained in the training data acquisition request is the access switch a6 based on the correspondence between the identification information pre-stored therein and the access switch, the core switch C2 can forward the above training data acquisition request to the access switch a6.

[0062] Next, the access switch corresponding to the identification information included in the training data acquisition request may be used to send the training data acquisition request to the remote storage server indicated by the identification information. Figure 4 Assuming that the server indicated by the identification information contained in the training data acquisition request is the remote storage server Storage4, the access switch a6 that previously received the training data acquisition request and is used to manage the remote storage server Storage4 can forward the above training data acquisition request to the remote storage server Storage4.

[0063] According to an exemplary embodiment of the present disclosure, the above-mentioned core switch can be multiple core switches, and the multiple core switches can include a first core switch and a second core switch, wherein the deployment cost of the first core switch can be lower than the deployment cost of the second core switch, and the forwarding capability of the first core switch can be weaker than the forwarding capability of the second core switch.

[0064] For example, refer to Figure 4, the target storage cluster can include two core switches, namely core switch C1 and core switch C2. The deployment cost of core switch C2 can be lower than that of core switch C1, and the forwarding capability of core switch C2 can be weaker than that of core switch C1, that is, core switch C2 can be a backup core switch with weak forwarding capability but low price.

[0065] In the present disclosure, since the model writing process that has a relatively large impact on the core switch is converged under a single access switch, it is possible to avoid the phenomenon that the instantaneous load of the core switch suddenly increases due to the need to forward the parameters corresponding to the trained model with the help of the core switch. In this way, when deploying the core switch, a core switch with weak forwarding capability but low price can be selected as the backup core, which can save deployment costs while meeting the data forwarding needs.

[0066] According to an exemplary embodiment of the present disclosure, the rate of a single interface included in the core switch can be higher than the rate of a single interface included in the access switch. It should be noted that the core switch and the access switch are mainly different in two aspects. The first aspect is that the core switch and the access switch have different topological positions in the target storage cluster; the second aspect is that the rate of a single interface included in the core switch may be much higher than the rate of a single interface included in the access switch. This is because the traffic pressure faced by the core switch is much greater than the traffic pressure of the access switch. Therefore, the rate of a single interface of the core switch needs to be higher than the rate of a single interface of the access switch to ensure that the core switch can withstand the huge traffic pressure and ensure the smooth progress of the data transmission and forwarding process.

[0067] According to an exemplary embodiment of the present disclosure, the above identification information may be an IP address.

[0068] In step 302, the remote storage server may be used to send the training data to the training server in response to the training data acquisition request. Figure 4 In response to the received training data acquisition request, the remote storage server Storage4 may send the training data to the training server Compute1 that initiated the training data acquisition request.

[0069] According to an exemplary embodiment of the present disclosure, the remote storage server may be used to return the training data to the training server along a path opposite to the original path in response to the training data acquisition request. The original path may be the path that the training data acquisition request travels from the training server to the remote storage server.

[0070] For example, refer to Figure 4 , the original path that the training data acquisition request initiated by the training server Compute1 travels from the training server Compute1 to the remote storage server Storage4 is: training server Compute1-access switch a2-core switch C2-access switch a6-remote storage server Storage4. When the remote storage server Storage4 returns the training data, it can return the training data to the training server along the path opposite to the original path, that is, it can return the training data to the training server Compute1 along the path opposite to the original path: "training server Compute1-access switch a2-core switch C2-access switch a6-remote storage server Storage4": "remote storage server Storage4-access switch a6-core switch C2-access switch a2-training server Compute1".

[0071] In this way, the remote storage server can return the training data to the training server along the path opposite to the original path traversed by the training data acquisition request, thereby ensuring that the response data is returned to the training server quickly and avoiding the phenomenon of low data response efficiency due to the need to recalculate the data return path.

[0072] In step 303, the training server may be used to train the target model using the training data to obtain a trained target model.

[0073] In step 304, the training server may be used to send the parameters corresponding to the trained target model to a proximal storage server connected to the same access switch as the training server.

[0074] For example, refer to Figure 4 There are two proximal storage servers connected to the same access switch as the training server Compute1, namely proximal storage Storage1 and proximal storage Storage2. In addition, the training server Compute1, proximal storage Storage1 and proximal storage Storage2 are connected to the same access switch a1 and the same access switch a2.

[0075] Therefore, the training server Compute1 can send the parameters corresponding to the trained target model to the proximal storage Storage1 or the proximal storage Storage2 through the access switch a1; or, the training server Compute1 can also send the parameters corresponding to the trained target model to the proximal storage Storage1 or the proximal storage Storage2 through the access switch a2.

[0076] Thus, in the present disclosure, when storing the parameters corresponding to the trained model, the core switch does not need to be transferred, that is, the present disclosure converges the model writing process that has a relatively large impact on the core switch under a single access switch. This can avoid the phenomenon of a sudden increase in the instantaneous load of the core switch due to the need to forward the parameters corresponding to the trained model with the help of the core switch, thereby avoiding packet loss.

[0077] Furthermore, in the related art, since the parameters corresponding to the trained model need to pass through the core switch when storing, the data may need to be forwarded multiple times before it can be finally stored. For example, the data may need to be transferred through the core switch and multiple access switches before it can be finally stored. Therefore, the efficiency of the model writing process, that is, the model storage process, in the related art is relatively low.

[0078] In the present disclosure, the training server can send the parameters corresponding to the trained target model to the proximal storage server that is connected to the same access switch as the training server, that is, the model storage can be achieved by only one transfer through an access switch. Therefore, compared with the related technology, the model storage efficiency of the present disclosure is relatively high.

[0079] Furthermore, in the related art, since both the process of reading training data and the process of writing models need to go through the core switch, the load pressure of the core switch is relatively large. At this time, it is necessary to select a core switch with relatively good performance and relatively expensive price to withstand such high-intensity traffic impact. It can be seen that in the related art, the cost of realizing model training and storage is relatively high.

[0080] In the present disclosure, based on the read and write characteristics of large model training, the process of reading training data can be set to pass through the core switch, and for the model storage process, it can be controlled to prohibit passing through the core switch, that is, the present disclosure can separate the network traffic that the storage network needs to support during the reading of training data and model storage, which can greatly reduce the load pressure of the core switch. In this way, even if a core switch with less excellent performance and a relatively cheap price is used, it is enough to withstand the data traffic generated only in the process of reading training data. It can be seen that in the present disclosure, since a storage network that cooperates with each other in the long and short distances is designed, it is possible to use cheap network equipment to support the business instead of using expensive high-performance switches, which can significantly reduce costs and achieve a higher cost performance.

[0081] According to an exemplary embodiment of the present disclosure, the number of communication links between a training server connected to the same access switch and the same access switch may be a first number, and the number of communication links between a proximal storage server connected to the same access switch and the same access switch may be a second number. The first number and / or the second number may be an integer greater than one.

[0082] The training server can be used to send the parameters corresponding to the trained target model to the same access switch through a first number of communication links. Then, the same access switch can be used to send the parameters corresponding to the trained target model to the proximal storage server through a second number of communication links.

[0083] It should be noted that, usually, an access switch includes multiple data interfaces, and each server under the access switch can be connected to a data interface of the access switch using a connection line. For example, assuming that an access switch includes a total of 40 data interfaces, and there are a total of 20 training servers and 20 near-end storage servers under the access switch, at this time, each training server or each near-end storage server can be connected to a data interface of the access switch through a connection line, that is, at this time, all data interfaces of the access switch are in use.

[0084] However, in some cases, some data interfaces of the access switch may be idle, that is, not used. For example, assume that an access switch includes a total of 40 data interfaces, and there are only 10 training servers and 10 near-end storage servers under the access switch. At this time, if each training server or each near-end storage server is still connected to a data interface of the access switch using only one connection line, then only 20 data interfaces of the access switch are used, and the other 20 data interfaces will be idle. Since these 20 data interfaces are not used, these interface resources will be wasted.

[0085] In order to solve the problem of a large amount of interface resource waste caused by the data interface of the access switch being in an idle state, in the present disclosure, the number of communication links between the access switch and the server can be dynamically adjusted based on the size of the storage cluster, that is, the present disclosure can use link aggregation technology on the access switch according to the size of the storage cluster to further reduce the implementation cost of the access switch, that is, the link aggregation solution can be used to further reduce the deployment cost of network equipment.

[0086] For example, as mentioned above, assume that a certain access switch includes a total of 40 data interfaces, and there are only 10 training servers and 10 near-end storage servers under the access switch. At this time, for each training server and each near-end storage server, two connecting lines can be used to connect the server to the access switch, that is, each server will occupy two data interfaces of the access switch, and 20 servers will occupy 40 data interfaces. At this time, all data interfaces of the access switch are effectively utilized, avoiding the waste of interface resources due to the existence of idle data interfaces, and improving the utilization rate of interface resources.

[0087] It should be noted that when the same server occupies two or more data interfaces of the access switch, the server can obtain a performance of 2 or more times the network port rate compared to the network port rate obtained by using only one data interface. For example, assuming that a data interface can provide a 10G network port rate, when a server is only connected to one data interface, the server can only enjoy a 10G network port rate. If the server is connected to two or more data interfaces, the server can enjoy a 20G or even higher network port rate. In this way, the data transmission rate between the server and the access switch can be greatly accelerated.

[0088] Furthermore, when the same server needs to establish a connection relationship with two or more data interfaces of the access switch, that is, when the same server needs to occupy two or more data interfaces of the access switch, the server can also use multiple Ethernet network cards to access multiple data interfaces of the access switch. At the same time, multiple Ethernet network cards can be combined into a virtual Ethernet network card through link aggregation technology, thereby doubling the throughput efficiency.

[0089] In step 305, the proximal storage server may be used to store parameters corresponding to the trained target model.

[0090] According to an exemplary embodiment of the present disclosure, the aforementioned near-end storage server may be used to send the parameters corresponding to the trained target model to the far-end storage server at preset time intervals, and may delete the parameters corresponding to the trained target model stored in the near-end storage server. Then, the far-end storage server may be used to receive the parameters corresponding to the trained target model sent by the near-end storage server, and may store the parameters corresponding to the trained target model.

[0091] It should be noted that as the near-end storage server is continuously used, the available storage resources on it will become less and less. Therefore, the data stored on the near-end storage server can be moved to the remote storage server for storage at regular intervals, that is, the near-end storage server can be cleaned up regularly to avoid the failure of model writing in the subsequent process due to excessive use of the storage resources of the near-end storage server.

[0092] Figure 5 1 is a block diagram showing a storage device 500 according to an exemplary embodiment of the present disclosure, which is applied to a target storage cluster, which may include a training server, a near-end storage server, a far-end storage server, and an access switch. The training server may also be referred to as a computing server, a graphics processing unit (GPU) server.

[0093] Reference Figure 5 The storage device 500 may include a request sending module 501, a training data sending module 502, a training module 503, a model parameter sending module 504 and a parameter storage module 505.

[0094] The aforementioned near-end storage server may be a computing server, that is, a small amount of storage resources on the computing server may be used to construct near-end NAS storage. Furthermore, the training server and the near-end storage server may be connected to the same access switch. The aforementioned remote storage server may be a server for storing training data, and since the remote storage server is mainly used to implement storage functions, it may contain more hard disks.

[0095] According to an exemplary embodiment of the present disclosure, the storage resources of the near-end storage server may be less than the storage resources of the far-end storage server. The target storage cluster may also include a core switch, which may be connected to the access switch managed by the core switch.

[0096] The request sending module 501 may send a training data acquisition request to the remote storage server through the training server. In addition, since the remote storage server is mainly used to implement the storage function, it may include more hard disks.

[0097] It should be noted that the training task of the training server will initiate a request to the remote storage server that actually stores the training data through the distributed file system of the training server. Since the number of files that need to be read for the training task is large and different files are stored on different remote storage servers, the training server may need to initiate training data acquisition requests to multiple remote storage servers at the same time.

[0098] According to an exemplary embodiment of the present disclosure, as mentioned above, the target storage cluster may further include a core switch.

[0099] The request sending module 501 may send a training data acquisition request to the access switch managing the training server through the training server. The training data acquisition request may include identification information for indicating a remote storage server storing the training data. Next, the request sending module 501 may forward the training data acquisition request to the core switch managing the access switch through the access switch managing the training server.

[0100] Then, the request sending module 501 can forward the above-mentioned training data acquisition request to the access switch corresponding to the identification information through the core switch that manages the access switch based on the correspondence between the pre-stored identification information and the access switch, and the identification information contained in the above-mentioned training data acquisition request, that is, the above-mentioned training data acquisition request can be forwarded to the access switch used to manage the server indicated by the identification information.

[0101] It should be noted that each core switch can store a correspondence between the access switch it manages and the identification information of the server managed by the access switch. In this way, after the core switch obtains the identification information contained in the training data acquisition request, it can determine which access switch is used to manage the server indicated by the identification information based on the above correspondence, and then forward the above training data acquisition request to the access switch used to manage the server indicated by the identification information.

[0102] Next, the request sending module 501 may send the training data acquisition request to the remote storage server indicated by the identification information through the access switch corresponding to the identification information included in the training data acquisition request.

[0103] According to an exemplary embodiment of the present disclosure, the above-mentioned core switch can be multiple core switches, and the multiple core switches can include a first core switch and a second core switch, wherein the deployment cost of the first core switch can be lower than the deployment cost of the second core switch, and the forwarding capability of the first core switch can be weaker than the forwarding capability of the second core switch.

[0104] In the present disclosure, since the model writing process that has a relatively large impact on the core switch is converged under a single access switch, it is possible to avoid the phenomenon that the instantaneous load of the core switch suddenly increases due to the need to forward the parameters corresponding to the trained model with the help of the core switch. In this way, when deploying the core switch, a core switch with weak forwarding capability but low price can be selected as the backup core, which can save deployment costs while meeting the data forwarding needs.

[0105] According to an exemplary embodiment of the present disclosure, the rate of a single interface included in the core switch can be higher than the rate of a single interface included in the access switch. It should be noted that the core switch and the access switch are mainly different in two aspects. The first aspect is that the core switch and the access switch have different topological positions in the target storage cluster; the second aspect is that the rate of a single interface included in the core switch may be much higher than the rate of a single interface included in the access switch. This is because the traffic pressure faced by the core switch is much greater than the traffic pressure of the access switch. Therefore, the rate of a single interface of the core switch needs to be higher than the rate of a single interface of the access switch to ensure that the core switch can withstand the huge traffic pressure and ensure the smooth progress of the data transmission and forwarding process.

[0106] According to an exemplary embodiment of the present disclosure, the above identification information may be an IP address.

[0107] The training data sending module 502 may send the training data to the training server via the remote storage server in response to the training data acquisition request.

[0108] According to an exemplary embodiment of the present disclosure, the training data sending module 502 may respond to the training data acquisition request through the remote storage server and return the training data to the training server along a path opposite to the original path. The original path may be the path that the training data acquisition request travels from the training server to the remote storage server.

[0109] In this way, the remote storage server can return the training data to the training server along the path opposite to the original path traversed by the training data acquisition request, thereby ensuring that the response data is returned to the training server quickly and avoiding the phenomenon of low data response efficiency due to the need to recalculate the data return path.

[0110] The training module 503 can train the target model using the training data through the training server to obtain the trained target model.

[0111] The model parameter sending module 504 can send the parameters corresponding to the trained target model to the proximal storage server connected to the same access switch as the training server through the training server.

[0112] Thus, in the present disclosure, when storing the parameters corresponding to the trained model, the core switch does not need to be transferred, that is, the present disclosure converges the model writing process that has a relatively large impact on the core switch under a single access switch. This can avoid the phenomenon of a sudden increase in the instantaneous load of the core switch due to the need to forward the parameters corresponding to the trained model with the help of the core switch, thereby avoiding packet loss.

[0113] Furthermore, in the related art, since the parameters corresponding to the trained model need to pass through the core switch when storing, the data may need to be forwarded multiple times before it can be finally stored. For example, the data may need to be transferred through the core switch and multiple access switches before it can be finally stored. Therefore, the efficiency of the model writing process, that is, the model storage process, in the related art is relatively low.

[0114] In the present disclosure, the training server can send the parameters corresponding to the trained target model to the proximal storage server that is connected to the same access switch as the training server, that is, the model storage can be achieved by only one transfer through an access switch. Therefore, compared with the related technology, the model storage efficiency of the present disclosure is relatively high.

[0115] Furthermore, in the related art, since both the process of reading training data and the process of writing models need to go through the core switch, the load pressure of the core switch is relatively large. At this time, it is necessary to select a core switch with relatively good performance and relatively expensive price to withstand such high-intensity traffic impact. It can be seen that in the related art, the cost of realizing model training and storage is relatively high.

[0116] In the present disclosure, based on the read and write characteristics of large model training, the process of reading training data can be set to pass through the core switch, and for the model storage process, it can be controlled to prohibit passing through the core switch, that is, the present disclosure can separate the network traffic that the storage network needs to support during the reading of training data and model storage, which can greatly reduce the load pressure of the core switch. In this way, even if a core switch with less excellent performance and a relatively cheap price is used, it is enough to withstand the data traffic generated only in the process of reading training data. It can be seen that in the present disclosure, since a storage network that cooperates with each other in the long and short distances is designed, it is possible to use cheap network equipment to support the business instead of using expensive high-performance switches, which can significantly reduce costs and achieve a higher cost performance.

[0117] According to an exemplary embodiment of the present disclosure, the number of communication links between a training server connected to the same access switch and the same access switch may be a first number, and the number of communication links between a proximal storage server connected to the same access switch and the same access switch may be a second number. The first number and / or the second number may be an integer greater than one.

[0118] The model parameter sending module 504 can use the training server to send the parameters corresponding to the trained target model to the same access switch through the first number of communication links. Then, the model parameter sending module 504 can use the same access switch to send the parameters corresponding to the trained target model to the proximal storage server through the second number of communication links.

[0119] In this way, in the present disclosure, the number of communication links between the access switch and the server can be dynamically adjusted based on the size of the storage cluster. That is, the present disclosure can use link aggregation technology on the access switch to further reduce the implementation cost of the access switch according to the size of the storage cluster. That is, the link aggregation solution can be used to further reduce the deployment cost of network equipment.

[0120] The parameter storage module 505 can store the parameters corresponding to the trained target model through a proximal storage server.

[0121] According to an exemplary embodiment of the present disclosure, the storage device 500 may further include a parameter deleting module and a parameter receiving module.

[0122] The parameter deletion module can send the parameters corresponding to the trained target model to the remote storage server at preset time intervals through the near-end storage server, and can delete the parameters corresponding to the trained target model stored in itself. Then, the parameter receiving module can receive the parameters corresponding to the trained target model sent by the near-end storage server through the remote storage server, and can store the parameters corresponding to the trained target model.

[0123] It should be noted that as the near-end storage server is continuously used, the available storage resources on it will become less and less. Therefore, the data stored on the near-end storage server can be moved to the remote storage server for storage at regular intervals, that is, the near-end storage server can be cleaned up regularly to avoid the failure of model writing in the subsequent process due to excessive use of the storage resources of the near-end storage server.

[0124] Figure 6 is a block diagram illustrating an electronic device 600 according to an exemplary embodiment of the present disclosure.

[0125] Reference Figure 6 The electronic device 600 includes at least one memory 601 and at least one processor 602. The at least one memory 601 stores instructions. When the instructions are executed by the at least one processor 602, the storage method according to the exemplary embodiment of the present disclosure is executed.

[0126] As an example, the electronic device 600 may be a PC, a tablet device, a personal digital assistant, a smart phone, or other device capable of executing the above instructions. Here, the electronic device 600 is not necessarily a single electronic device, but may also be any device or circuit collection capable of executing the above instructions (or instruction sets) individually or in combination. The electronic device 600 may also be part of an integrated control system or system manager, or may be configured as a portable electronic device interconnected with a local or remote (e.g., via wireless transmission) interface.

[0127] In the electronic device 600, the processor 602 may include a central processing unit (CPU), a graphics processing unit (GPU), a programmable logic device, a dedicated processor system, a microcontroller or a microprocessor. As an example and not limitation, the processor may also include an analog processor, a digital processor, a microprocessor, a multi-core processor, a processor array, a network processor, etc.

[0128] The processor 602 may execute instructions or codes stored in the memory 601, which may also store data. Instructions and data may also be sent and received over a network via a network interface device, which may employ any known transmission protocol.

[0129] The memory 601 may be integrated with the processor 602, for example, by placing RAM or flash memory within an integrated circuit microprocessor or the like. In addition, the memory 601 may include a separate device, such as an external disk drive, a storage array, or any other storage device that can be used by a database system. The memory 601 and the processor 602 may be operatively coupled, or may communicate with each other, such as through an I / O port, a network connection, etc., so that the processor 602 can read files stored in the memory.

[0130] In addition, the electronic device 600 may further include a video display (such as a liquid crystal display) and a user interaction interface (such as a keyboard, a mouse, a touch input device, etc.) All components of the electronic device 600 may be connected to each other via a bus and / or a network.

[0131] According to an exemplary embodiment of the present disclosure, a computer-readable storage medium may also be provided, and when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is able to perform the above-mentioned storage method. Examples of computer-readable storage media here include: read-only memory (ROM), random access programmable read-only memory (PROM), electrically erasable programmable read-only memory (EEPROM), random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), flash memory, non-volatile memory, CD-ROM, CD-R, CD+R, CD-RW, CD+RW, DVD-ROM, DVD-R, DVD+R, DVD-RW, DVD+RW, DVD-RAM, BD-ROM, BD-R, BD-R LTH, BD-RE, Blu-ray or optical disk storage, hard disk drive (HDD), solid state drive (SSD), card storage (such as, multimedia card, secure digital (SD) card or extreme digital (XD) card), magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid state disk and any other device, any other device is configured to store computer programs and any associated data, data files and data structures in a non-transitory manner and provide the computer programs and any associated data, data files and data structures to a processor or computer so that the processor or computer can execute the computer program. The computer program in the above-mentioned computer-readable storage medium can be run in an environment deployed in a computer device such as a client, a host, an agent device, a server, etc. In addition, in one example, the computer program and any associated data, data files and data structures are distributed on a networked computer system, so that the computer program and any associated data, data files and data structures are stored, accessed and executed in a distributed manner by one or more processors or computers.

[0132] According to an exemplary embodiment of the present disclosure, a computer program product may also be provided, including a computer program, and when the computer program is executed by a processor, the storage method according to the present disclosure is implemented.

[0133] According to the storage method, device, electronic device, storage medium and computer program product disclosed in the present invention, the parameters corresponding to the trained model will be stored in a proximal storage server connected to the same access switch as the training server, that is, the present invention does not require the core switch to transfer when storing the parameters corresponding to the trained model, that is, the present invention converges the model writing process that has a relatively large impact on the core switch under a single access switch. In this way, the phenomenon of a sudden increase in the instantaneous load of the core switch caused by the need to forward the parameters corresponding to the trained model with the help of the core switch can be avoided, thereby avoiding packet loss.

[0134] According to the exemplary embodiments of the present disclosure, since the model writing process that has a relatively large impact on the core switch is converged under a single access switch, it is possible to avoid the phenomenon that the instantaneous load of the core switch suddenly increases due to the need to forward the parameters corresponding to the trained model with the help of the core switch. In this way, when deploying the core switch, a core switch with a weak forwarding capability but a low price can be selected as the backup core, which can save deployment costs while meeting the data forwarding needs.

[0135] According to an exemplary embodiment of the present disclosure, since the traffic pressure faced by the core switch is much greater than the traffic pressure of the access switch, the rate of a single interface of the core switch needs to be higher than the rate of a single interface of the access switch to ensure that the core switch can withstand the huge traffic pressure and ensure the smooth progress of the data transmission and forwarding process.

[0136] According to an exemplary embodiment of the present disclosure, the remote storage server can return the training data to the training server along a path opposite to the original path traversed by the training data acquisition request, thereby ensuring that the response data is quickly returned to the training server and avoiding the phenomenon of low data response efficiency due to the need to recalculate the data return path.

[0137] According to an exemplary embodiment of the present disclosure, the training server can send the parameters corresponding to the trained target model to a proximal storage server that is connected to the same access switch as the training server, that is, the model can be stored only through one transfer through an access switch. Therefore, compared with related technologies, the model storage efficiency of the present disclosure is relatively high.

[0138] According to an exemplary embodiment of the present disclosure, based on the characteristics of reading and writing of large model training, the process of reading training data can be set to pass through the core switch, and for the model storage process, it can be controlled to prohibit passing through the core switch, that is, the present disclosure can separate the network traffic that the storage network needs to support during the reading of training data and model storage, which can greatly reduce the load pressure of the core switch. In this way, even if a core switch with less excellent performance and a relatively cheap price is used, it is sufficient to withstand the data traffic generated only in the process of reading training data. It can be seen that in the present disclosure, since a storage network that cooperates with each other in the long and short distances is designed, it is possible to use cheap network equipment to support the business instead of using expensive high-performance switches, which can significantly reduce costs and achieve a higher cost performance.

[0139] According to an exemplary embodiment of the present disclosure, the number of communication links between the access switch and the server can be dynamically adjusted based on the size of the storage cluster. That is, the present disclosure can use link aggregation technology on the access switch to further reduce the implementation cost of the access switch according to the size of the storage cluster. That is, the link aggregation solution can be used to further reduce the deployment cost of network equipment.

[0140] According to an exemplary embodiment of the present disclosure, as the near-end storage server is continuously used, the storage resources available thereon will become less and less. Therefore, the data stored on the near-end storage server can be moved to the far-end storage server for storage at regular intervals, that is, the near-end storage server can be cleaned up regularly to avoid the situation where the model writing fails in the subsequent process due to excessive occupation of the storage resources of the near-end storage server.

[0141] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0142] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A storage method, characterized in that: Applied to a target storage cluster, the target storage cluster includes a training server, a near-end storage server, a far-end storage server, and an access switch, the storage method includes: The training server is used to send a training data acquisition request to the remote storage server; The remote storage server is used to send the training data to the training server in response to the training data acquisition request; The training server is used to train the target model using the training data to obtain a trained target model; The training server is used to send the parameters corresponding to the trained target model to the proximal storage server connected to the same access switch as the training server; The proximal storage server is used to store the parameters corresponding to the trained target model.

2. The storage method according to claim 1, characterized in that: The number of communication links between the training server connected to the same access switch and the same access switch is a first number, and the number of communication links between the proximal storage server connected to the same access switch and the same access switch is a second number, wherein the first number and / or the second number is an integer greater than one; The training server is used to send the parameters corresponding to the trained target model to the proximal storage server connected to the same access switch as the training server, including: The training server is used to send the parameters corresponding to the trained target model to the same access switch through the first number of communication links; The same access switch is used to send the parameters corresponding to the trained target model to the proximal storage server through the second number of communication links.

3. The storage method according to claim 1, characterized in that: The storage method further comprises: The near-end storage server is used to send the parameters corresponding to the trained target model to the far-end storage server at every preset time interval, and delete the parameters corresponding to the trained target model; The remote storage server is used to receive the parameters corresponding to the trained target model sent by the local storage server, and store the parameters corresponding to the trained target model.

4. The storage method according to claim 1, characterized in that: The remote storage server is used to send the training data to the training server in response to the training data acquisition request, including: The remote storage server is used to return the training data to the training server along a path opposite to the original path in response to the training data acquisition request, wherein the original path is the path traversed by the training data acquisition request from the training server to the remote storage server.

5. The storage method according to claim 1, characterized in that: The target storage cluster also includes a core switch; The training server is used to send a training data acquisition request to the remote storage server, including: The training server is used to send the training data acquisition request to the access switch that manages the training server, wherein the training data acquisition request includes identification information for indicating the remote storage server storing the training data; The access switch managing the training server is used to forward the training data acquisition request to the core switch managing the access switch; The core switch managing the access switch is used to forward the training data acquisition request to the access switch corresponding to the identification information based on the pre-stored correspondence between the identification information and the access switch and the identification information; The access switch corresponding to the identification information is used to send the training data acquisition request to the remote storage server indicated by the identification information.

6. The storage method according to claim 5, characterized in that: The identification information is an IP address.

7. The storage method according to claim 5, characterized in that: The core switch is a plurality of core switches, and the plurality of core switches include a first core switch and a second core switch. The deployment cost of the first core switch is lower than the deployment cost of the second core switch, and the forwarding capability of the first core switch is weaker than the forwarding capability of the second core switch.

8. The storage method according to claim 5, characterized in that: The rate of a single interface included in the core switch is higher than the rate of a single interface included in the access switch.

9. The storage method according to claim 1, characterized in that: The storage resources of the proximal storage server are less than the storage resources of the distal storage server.

10. A storage device, characterized in that: Applied to a target storage cluster, the target storage cluster includes a training server, a near-end storage server, a far-end storage server and an access switch, and the storage device includes: A request sending module, configured to send a training data acquisition request to the remote storage server through the training server; a training data sending module, configured to send the training data to the training server via the remote storage server in response to the training data acquisition request; A training module is configured to train the target model using the training data through the training server to obtain a trained target model; A model parameter sending module, configured to send the parameters corresponding to the trained target model to the proximal storage server connected to the same access switch as the training server through the training server; The parameter storage module is configured to store the parameters corresponding to the trained target model through the proximal storage server.