The embodiment of the invention discloses a file transmission method and device and a storage medium, and the method comprises the steps: obtaining a first connection request of an FTP client when a user uploads a vehicle monitoring picture through the FTP client; establishing connection with the FTP client according to the first connection request; obtaining a vehicle monitoring picture uploadedby a user from the FTP client, and writing the vehicle monitoring picture into a local disk; determining a message entity identifying the vehicle monitoring picture information according to the vehicle monitoring picture, and sending the message entity to a preset message queue in a message server so as to upload a message notification of the vehicle monitoring picture. According to the embodimentof the invention, the FTP server actively transmits the message entity containing the vehicle monitoring picture message to the message server; therefore, the message server does not need to scan theFTP server in real time, and the working efficiency of the urban road vehicle monitoring system can be greatly improved when the FTP client uploads a large number of vehicle monitoring pictures to the FTP server.
本申请实施例公开了一种文件传输方法、装置及存储介质,该文件传输方法包括:在用户通过FTP客户端上传车辆监控图片时,获取FTP客户端的第一连接请求;根据第一连接请求与FTP客户端建立连接;从FTP客户端获取用户上传的车辆监控图片,并将车辆监控图片写入本地磁盘;根据车辆监控图片确定标识车辆监控图片信息的消息实体,并将消息实体发送至消息服务器中预设的消息队列,以实现上传车辆监控图片的消息通知。本申请实施例中的FTP服务器主动将包含车辆监控图片消息的消息实体传输至消息服务器,使得消息服务器无需实时对FTP服务器进行扫描,在FTP客户端上传大量的车辆监控图片至FTP服务器时,能够极大的提高城市道路车辆监控系统的工作效率。
File transmission method and device and storage medium
文件传输方法、装置及存储介质
2020-05-29
Patent
Electronic Resource
Chinese
Scene file generation method and device, electronic equipment and storage medium
European Patent Office | 2022
|Scene file management method, device and system, electronic equipment and storage medium
European Patent Office | 2023
|Comparative study of file formats for image storage and transmission
British Library Online Contents | 2004
|European Patent Office | 2019
|File updating method, vehicle battery replacement system, vehicle and storage medium
European Patent Office | 2022
|