Which of the following is protected by utility model and invention patent?

The utility model protects the shape and structure of the product;

The invention can not only protect the object that the utility model can protect, but also protect the method, technology, use, ingredient formula and software program.

therefore

Without considering too many factors and the description in brackets, 123 can apply for invention, and 12 can only apply for utility model.

The protection of "a pen with an eraser can erase the handwriting when writing" is essentially structural protection, so you can apply for a utility model.

Use invention refers to new uses, for example, using pentachlorophenol preparation as wood fungicide and herbicide.

in addition

The description of the detachable connection between components A and B must be supported by the manual.