기존 M2M 네트워크는 실시간 관제를 위한 목적으로 주로 활용되었기 때문에 주로 공장과 같이 일정한 공간 내에서 구성되는 경우가 많았다. 그러나 인터넷 기술의 발달로 M2M 네트워크는 IoT의 핵심 분야가 되었으며, 도시 그리고 국가 규모로 확장되고 있다. 이에 따라 각종 센서로부터 전송되는 데이터들을 수집하기 위한 미들웨어는 M2M 네트워크에서 핵심 부분을 담당하고 있다. 그러나 M2M 네트워크의 규모 확장에 따라 데이터 수집에 많은 부하가 집중되며, 전체 M2M 네트워크 내 미들웨어의 개수 또한 증가하고 있다. 본 연구에서는 이 같은 문제들을 해결하기 위해서 기존 미들웨어의 구조의 문제점을 분석하고, 분석된 문제들을 해결하기 위한 기법들을 제시한다. 마지막으로 제안한 기법들의 유용성에 대해서 기술한다. 본 연구에서 제안된 기법들을 농업용 면세유 사용량 수집을 위한 미들웨어 시스템에 적용하여 유용성을 입증하였다.The existing M2M network is being used for a real-time monitoring, so it is made within mostly an specific area such as a factory. But with the development of internet the M2M communications have became a major core field of the IoT. Also by connecting M2M networks the scale of them is being extended as large as a city or a nation. Therefore middlewares for collecting data from much sensors are a key part in M2M networks. However by the scale expansion much loads are concentrated into the middleware and the number of them is also increased in the whole M2M networks. We analysis problems of the existing middleware to resolve them and propose solutions for them. Finally we describe the usefulness of the proposed techniques. We proved the usefulness of the techniques that are applied to a middleware system for collecting the used amount of duty free oil for the agricultural use.