A method for managing a connection between a companion device and a broadcasting reception device receiving a broadcasting signal over a network, the method comprising: transmitting, by the companion device, a first request message for obtaining at least one application identifier to the broadcasting reception device, wherein the first request message comprises discovery field information indicating a field used for discovery of a target application and discovery information indicating a field value of the field used for discovery of the target application; receiving, by the companion device, a first response message for the first request message from the broadcasting reception device, wherein the first response message comprises application identifier of the target application obtained by using the discovery information and the discovery field information, wherein the target application is matched with the field value of the field; transmitting, by the companion device, a second request message for obtaining application information for the target application to the broadcasting reception device, wherein the second request message comprises the application identifier of the target application; receiving, by the companion device, a second response message for the second request message from the broadcasting reception device, and wherein the second response message comprises the application information for the target application, wherein the application information comprises app-to-app information for app-to-app connection between the companion device and the broadcasting reception device, and wherein the app-to-app information comprises protocol information indicating protocol for the app-to-app connection and connection address information indicating connection address for the app-to-app connection; establishing, by the companion device, the app-to-app connection with the broadcasting reception device by using the app-to-app information. transmitting, by the companion device, a first request message for obtaining at least one application identifier to the broadcasting reception device, wherein the first request message comprises discovery field information indicating a field used for discovery of a target application and discovery information indicating a field value of the field used for discovery of the target application; receiving, by the companion device, a first response message for the first request message from the broadcasting reception device, wherein the first response message comprises application identifier of the target application obtained by using the discovery information and the discovery field information, wherein the target application is matched with the field value of the field; transmitting, by the companion device, a second request message for obtaining application information for the target application to the broadcasting reception device, wherein the second request message comprises the application identifier of the target application; receiving, by the companion device, a second response message for the second request message from the broadcasting reception device, and wherein the second response message comprises the application information for the target application, wherein the application information comprises app-to-app information for app-to-app connection between the companion device and the broadcasting reception device, and wherein the app-to-app information comprises protocol information indicating protocol for the app-to-app connection and connection address information indicating connection address for the app-to-app connection; establishing, by the companion device, the app-to-app connection with the broadcasting reception device by using the app-to-app information.