Detecting deadlocked file transfer protocol upload connections and performing session self-recovery using information stored in a FIFO resource array
US9009710B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | May 25, 2010 |
| Grant date | Apr 14, 2015 |
| Priority date | — |
| Expiry date | May 5, 2031 |
Classification
- Technology area (CPC H)Electricity
- CPC primaryH04L69/40
- WIPO fieldDigital communication
- WIPO sectorElectrical engineering
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.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.