use the DemoEvent and AlertBean to analysis input events