Oppedahl Patent Law Firm LLC
Detecting deadlocked file transfer protocol upload connections and performing  session self-recovery using information stored in a FIFO resource array
A method and a device for file transfer protocol (FTP) deadlock detection and self recovery are provided by the disclosure in order to solve the sudden deadlock problem in the FTP upload task. The method includes: if a daemon determines that a deadlock occurs in an FTP upload task by a heartbeat detection mechanism, the socket resources used by the FTP upload task is recorded at the storage location in a socket resource cycle queue, and a process of ending the FTP upload task is started; determining whether the socket resource cycle queue is full, if it is not full, the socket resources used by the FTP upload task in the current deadlock is put into the socket resource cycle queue, otherwise, the earliest socket resources in the socket resource cycle queue are released, and the socket resources used by the FTP upload task in the current deadlock is put into the socket resource cycle queue.
ZTE Corporation
H H H H H H H G
H04L H04L H04L H04L H04L H04L H04L G06F
inventional inventional inventional inventional inventional inventional inventional inventional
Hua Ping Sujian Xingfeng
Chen Zhu Liu Xie