Method and device for controlling mirroring services
First Claim
1. A method for controlling, by a first device, a mirroring service between the first device and a second device, the method comprising:
- establishing a mirroring session with the second device for providing the mirroring service;
transmitting, to the second device, data for the mirroring service via the established mirroring session;
if a termination event of the mirroring service occurs, determining whether a vehicle is running and whether the first device is situated in the vehicle;
if the vehicle is not running or the first device is not situated in the vehicle, terminating the mirroring service and releasing the established mirroring session;
if the vehicle is running and the vehicle was running before the termination event occurs, and if the first device is situated in the vehicle and the first device was situated in the vehicle before the termination event occurs, storing mirroring-related information;
after storing the mirroring-related information, determining whether an application corresponding to the data is terminated;
if it is determined that the application is terminated after storing the mirroring-related information, terminating the mirroring service and releasing the established mirroring session; and
if it is determined that the application is not terminated after storing the mirroring-related information, re-establishing the mirroring session with the second device for providing the mirroring service based on the stored mirroring-related information, and transmitting, to the second device, the data for the mirroring service via the re-established mirroring session.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure relates to a pre-5th-Generation (5G) or 5G communication system to be provided for supporting higher data rates Beyond 4th-Generation (4G) communication system such as Long Term Evolution (LTE).
A method by which a master device provided by one embodiment of the present invention controls mirroring services between the master device and a slave device comprises the steps of: storing information related to first connection mode mirroring when a termination event of mirroring connected in a first connection mode has occurred; and setting mirroring in a second connection mode by using the stored mirroring-related information.
8 Citations
4 Claims
-
1. A method for controlling, by a first device, a mirroring service between the first device and a second device, the method comprising:
-
establishing a mirroring session with the second device for providing the mirroring service; transmitting, to the second device, data for the mirroring service via the established mirroring session; if a termination event of the mirroring service occurs, determining whether a vehicle is running and whether the first device is situated in the vehicle; if the vehicle is not running or the first device is not situated in the vehicle, terminating the mirroring service and releasing the established mirroring session; if the vehicle is running and the vehicle was running before the termination event occurs, and if the first device is situated in the vehicle and the first device was situated in the vehicle before the termination event occurs, storing mirroring-related information; after storing the mirroring-related information, determining whether an application corresponding to the data is terminated; if it is determined that the application is terminated after storing the mirroring-related information, terminating the mirroring service and releasing the established mirroring session; and if it is determined that the application is not terminated after storing the mirroring-related information, re-establishing the mirroring session with the second device for providing the mirroring service based on the stored mirroring-related information, and transmitting, to the second device, the data for the mirroring service via the re-established mirroring session. - View Dependent Claims (2)
-
-
3. A device for controlling a mirroring service between a first device and a second device, the device comprising:
-
a transceiver configured to communicate with the second device; and at least one processor coupled to the transceiver, wherein the at least one processor is configured to; establish a mirroring session with the second device for providing the mirroring service; transmit, to the second device, data for the mirroring service via the established mirroring session; if a termination event of the mirroring service occurs, determine whether a vehicle is running and whether the first device is situated in the vehicle; if the vehicle is not running or the first device is not situated in the vehicle, terminate the mirroring service and release the established mirroring session; if the vehicle is running and the vehicle was running before the termination event occurs, and if the first device is situated in the vehicle and the first device was situated in the vehicle before the termination event occurs, store mirroring-related information; after storing the mirroring-related information, determine whether an application corresponding to the data is terminated; if it is determined that the application is terminated after storing the mirroring-related information, terminate the mirroring service and release the established mirroring session; and if it is determined that the application is not terminated after storing the mirroring-related information, re-establish the mirroring session with the second device for providing the mirroring service based on the stored mirroring-related information, and transmit, to the second device, the data for the mirroring service via the re-established mirroring session. - View Dependent Claims (4)
-
Specification