The coding of even-bit marking algorithm (CEBM) is characteristic of its simple coding, low energy consumption for computing and low expenses for hardware. It can be used in the wireless sensor network in the measurement and control system for the condition of stored-grain to compress the data of transmission, lower the energy consumption in communication transmission, and use a small quantity of energy expenses for computing to save a great quantity of energy consumption needed in transmission communication. This settles the problem of energy constraint of the wireless sensor nodes in the measurement and control system. Experimental results show that the compression ratio of transmission data can reach 67% to 73% and the energy consumption in the sensor nodes communication can be reduced by 30% to 70%, which reveals CEBM is of great value in real application.