1, multi-thread upload: Using Python's thread module, multiple threads can be started to upload files at the same time. Uploading a file per thread can greatly shorten the upload time.
2. Collaborative upload: Using the asyncio module of Python, you can use the synergetic function to collaboratively handle multiple tasks, which is light and efficient.