Method and system for creating small files based on CIFS protocol
The invention discloses a method for creating small files based on the CIFS protocol. File creating requests are sent intermittently one by one, and the file creating requests are centralized to a main thread; the main thread is used for sending open events corresponding to the file creating request...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a method for creating small files based on the CIFS protocol. File creating requests are sent intermittently one by one, and the file creating requests are centralized to a main thread; the main thread is used for sending open events corresponding to the file creating requests to idle sub-threads in a sub-thread set, so that the sub-threads, receiving the open events, in the sub-thread set complete processing of the open events, wherein the idle sub-threads refer to the sub-threads which do not process the open events. According to the method and the system, after the file creating requests are sent to the main thread, the main thread sends the corresponding open events to the idle sub-threads in the sub-thread set, the idle sub-threads process the open events corresponding to different file creating requests, therefore, even if sub-thread processing is slow, the situation that the main thread continues to receive the file creating requests sent by a client terminal to form parallel as |
---|