This invention is an automated statistical method for
quay crane operations. It determines whether a ship unloading or loading operation is performed based on the position of the spreader and the switching of its locking / unlocking status. The entire operation area is divided into a ship area, a container
truck area, an automated landside operation area, and an automated seaside operation area. The automated landside operation area is located above the container
truck area, and the two areas are separated by a safe landside height. Similarly, the automated seaside operation area is located above the ship area, and the two areas are separated by a safe seaside height. This invention uses
logic programming for the spreader's unlocking, locking, and container-landing signals, resulting in fewer detection signals, less susceptibility to interference from other signals, and improved statistical accuracy.