This utility model relates to the field of scanning equipment technology, and in particular to a quick-change battery compartment structure. The technical solution includes a
scanner body and a locking block connected to the bottom of the
scanner body. A battery slot is provided at one end of the
scanner body near the locking block, and a battery is installed inside the battery slot. It also includes a slot at the end of the scanner body near the locking block, and a locking groove is provided inside the slot. This utility model utilizes the cooperation of a positioning pin, a locking head, a button, and a spring. When installing the battery, the battery is placed in the battery slot of the scanner body, the positioning pin of the locking block is inserted into the positioning groove, and pressing causes the locking head to engage with the slot, thus securing the battery. When replacing the battery, the button is pressed against a hard object to disengage the locking head from the slot, and then both hands can be used to separate the scanner body and the locking block, allowing the old battery to be removed or placed in. No special tools are required during the process, making the operation simple and quick, greatly simplifying the steps and reducing the skill requirement.