Batch file storage method and system
A file storage and file technology, applied in the field of batch file storage methods and systems, can solve the problems of high implementation and operation costs, clearing old file performance defects, etc., achieve low implementation and operation and maintenance costs, optimal disk space maintenance algorithms, The effect of low system complexity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0048] figure 1 It is a flow chart of a batch file storage method of the present invention. like figure 1 As shown, a batch file storage method, comprising steps: S11, setting the number of bytes of the file to be stored; S12, registering the service node; S13, searching for available service nodes; S14, gathering the file to be stored; S15. Store the aggregation file in an available service node. Store aggregated files to available service nodes, which is the process of saving small files. By setting the number of bytes of the unit file to be stored, customizing the size of small files, registering service nodes and using available service nodes, small files are aggregated and then saved, thus making full use of disk space; small disk fragments; implementation and operation and maintenance costs Inexpensive; the system has low complexity, and can be generally applied to the storage of a large number of small files generated by AI systems, Internet of Things and other syste...
Embodiment 2
[0086] Figure 7 It is a structural schematic diagram of a batch file storage system of the present invention. like Figure 7 As shown, a batch file storage system includes a client, a registration center, and a service node. The client maintains a list of service nodes and the path of the unit file to be stored in the system; the registration center implements the service node The service process of registering and searching service nodes; the service nodes are used to register, maintain and cancel themselves with the registration center, save the unit files to be stored, and aggregate the unit files to be stored into aggregated files, and the system performs the above-mentioned batch file storage method. The client uses the proxy mechanism to encapsulate the calling logic between the client application and the background, and uses an efficient IO communication framework for Socket communication. The client dynamically maintains a list of server nodes and implements a dyna...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


