The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Apr. 14, 2015
Filed:
May. 25, 2010
Xingfeng Xie, Shenzhen, CN;
Sujian Liu, Shenzhen, CN;
Hua Chen, Shenzhen, CN;
Ping Zhu, Shenzhen, CN;
Xingfeng Xie, Shenzhen, CN;
Sujian Liu, Shenzhen, CN;
Hua Chen, Shenzhen, CN;
Ping Zhu, Shenzhen, CN;
ZTE Corporation, Shenzhen, CN;
Abstract
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.