The invention discloses a shared cabinet type bed and a system thereof. The shared cabinet type bed comprises a cabinet, a folded bed, an intelligent lock, a processor, a communicator, a human-machineinteraction facility, and an identification code. The processor is connected to the intelligent lock, the communicator, and the human-machine interaction facility. The intelligent lock is arranged onthe cabinet and is used to lock the folded bed in the cabinet. The processor is used to receive a lock opening command and a lock opening cipher, judges whether the lock opening cipher is correct ornot based on the lock opening command, and controls the work state of the intelligent lock based on the judgment result. By controlling the work state of the intelligent lock, the folded bed can be taken out, a cabinet state or a cabinet and bed state can be controlled, when the cabinet type bed influence the walking of a user, the intelligent lock is opened to keep a cabinet state, the occupied area of the cabinet state is smaller than that of the cabinet and bed state, the inconvenience to the user is reduced maximally, and the nursing quality is improved.