Method and device for file fragmentation breakpoint transmission based on message queue
A technology of message queue and transmission method, which is applied in the field of message queue-based file fragmentation breakpoint transmission method and device, which can solve the problems of low transmission efficiency and achieve the effect of complete and efficient transmission
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] figure 1 It is a flow chart of the steps of the message queue-based file fragmentation breakpoint transmission method described in the embodiment of the present invention, figure 2 It is a flow frame diagram of the message queue-based method for transmitting file fragment breakpoints according to the embodiment of the present invention.
[0041] Such as figure 1 with figure 2 As shown, the embodiment of the present invention provides a method for transmitting file fragmentation breakpoints based on message queues, comprising the following steps:
[0042] S10. The sender obtains the file to be sent, and transmits the information of the file to be sent to the service bus.
[0043] It should be noted that, in step S10, the main task is to obtain the file to be sent to be transmitted, and transmit the information of the file to be sent to the service bus. In this embodiment, after the sender obtains the file to be sent, it compresses it and caches it locally, and then t...
Embodiment 2
[0082] The embodiment of the present invention also provides a message queue-based file fragmentation breakpoint transmission device, including a file acquisition module, a file processing module, an execution thread establishment module, a task splitting module, a task sending module, and a task verification module;
[0083] The file obtaining module is used for the sender to obtain the file to be sent, and transmit the information of the file to be sent to the service bus;
[0084] The file processing module is used for the service bus to generate a sending task through the file size of the file to be sent and the preset transmission file block size and add the sending task to the waiting queue of the service bus;
[0085] The execution thread establishment module is used to establish the execution thread corresponding to the sending task according to the sending task existing in the queue to be executed, and the supervisory thread of the service bus;
[0086] The task split...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com