System for real-time filering and collecting of rfid tag data and method thereof

A system and a method for filtering/collecting RFID tag data in real-time are provided to enhance RFID data search performance by providing an inquiry index structure suitable for processing a long interval line. Each tag(110) object has an RFID code and related information. Each RFID reader(120) generates the tag data by receiving the RFID code and the related information from the tag object, and transmits the tag data to middleware(130). An application(140) transmits an inquiry to the middleware in an ECSPec(Event Cycle SPecification) form and receives an ECR(Event Cycle Report)(142) including the information of the inquired tag data from the middleware. The middleware makes a query index by processing the inquiry received from the application, makes the ECR by searching the inquiry index needing the tag data among the tag data received from the RFID readers, and transmits the ECR to the application.