The present application belongs to the technical field of garbage classification, and particularly relates to a garbage sorting data intelligent
conversion method and device, the method comprising: obtaining garbage sorting data of garbage sorted by a garbage sorting device; generating a sorting
label according to the device information; generating an encapsulation array according to the sorting
label; sorting parameters in the encapsulation array and generating a
label array; and generating an Excel table through POI according to the garbage information and the label array. Through the above steps, the garbage sorting data can be summarized according to user requirements, so as to help users obtain required garbage sorting
summary data; meanwhile, the garbage sorting data is summarized into an Excel table by using
JAVA and POI technology, automatic
data export is realized, and the
data processing efficiency is improved. Moreover, the user can set the label mapping relationship between the preset summary label and the sorting label according to actual requirements, so that the flexibility is high and the customizability is better.