Method for peer-to-peer multimedia data sharing, electronic device and non-volatile computer readable medium
AssigneeWistron Corporation
InventorsYen-Kang Han, Po-Hsu Chen
Life of this patent
Estimating the term…
Abstract
A method for peer-to-peer multimedia data sharing suitable for an electronic device is provided. The method includes the following step: scanning at least one sink device having Peer-to-Peer connectivity; determining a candidate device from the at least one sink device according a distance between the electronic device and the at least one sink device; deriving a beacon from the candidate device; establishing a Peer-to-Peer connection with the candidate device according to the beacon; and transmitting multimedia data to the candidate device.
Claims14
A method for peer-to-peer multimedia data sharing, adapted to an electronic device, and comprising:
- scanning at least one first sink device having peer-to-peer connectivity;
- receiving a beacon of each of the at least one first sink device;
- analyzing the beacon of each of the at least one first sink device to obtaining a signal strength between the electronic device and the at least one first sink device;
- determining one of the at least one first sink device to serve as a candidate device according a distance between the electronic device and each of the at least one first sink device, determining the distance between the electronic device and each of the at least one first sink device according to the signal strength between the electronic device and the at least one first sink device;
- deriving the beacon from the candidate device;
- determining whether a pin code is received from the beacon of the candidate device, wherein the candidate device is one of the at least one first sink device nearest to the electronic device among the at least one first sink device;
- analyzing the beacon to obtain the pin code, and determining whether the pin code is correct through a table look-up manner or calculation of a specific algorithm, and establishing a peer-to-peer connection with the candidate device according to the beacon in response to the pin code being correct if the pin code is received from the beacon of the candidate device;
- displaying a notification message, and receiving the pin code corresponding to the notification message if the pin code is not received from the beacon of the candidate device;
- executing an operating system having a user interface;
- transmitting multimedia data which comprises a projecting screen corresponding to the user interface to the candidate device;
- and
- switching from transmitting the projection screen corresponding to the user interface to the candidate device to transmitting the extending desktop screen of the user interface to the candidate device when a trigger signal corresponding to the extending desktop screen is received.
An electronic device, comprising:
- a communication processor;
- and
- a processor, coupled to the communication processor, wherein
- the processor scans at least one first sink device having peer-to-peer connectivity through the communication processor;
- the communication processor receives a beacon of each of the at least one first sink device;
- the processor analyzes the beacon of each of the at least one first sink device to obtaining a signal strength between the electronic device and the at least one first sink device;
- the processor determines one of the at least one first sink device to serve as a candidate device according a distance between the electronic device and each of the at least one first sink device, and determines the distance between the electronic device and each of the at least one first sink device according to the signal strength between the electronic device and the at least one first sink device;
- the processor derives the beacon from the candidate device through the communication processor;
- the processor determines whether a pin code is received from the beacon of the candidate device, wherein the candidate device is one of the at least one first sink device nearest to the electronic device among the at least one first sink device;
- the processor analyzes the beacon to obtain the pin code, determines whether the pin code is correct through a table look-up manner or calculation of a specific algorithm, and establishes a peer-to-peer connection with the candidate device according to the beacon in response to the pin code being correct if the pin code is received from the beacon of the candidate device;
- the processor displays a notification message, and receives the pin code corresponding to the notification message if the pin code is not received from the beacon of the candidate device;
- the processor executes an operating system having a user interface, and the multimedia data comprises a projecting screen corresponding to the user interface;
- the processor transmits the projecting screen of the user interface to the candidate device through the communication processor;
- and
- when the processor receives a trigger signal corresponding to the extending desktop screen through an input unit of the electronic device, the processor switches from transmitting the projecting screen of the user interface to the candidate device to transmitting an extending desktop screen of the user interface to the candidate device.
A non-volatile computer readable medium, adapted to store a plurality of program codes, wherein the program codes are adapted to be loaded to a processor to execute:
- scanning at least one first sink device having peer-to-peer connectivity;
- receiving a beacon of each of the at least one first sink device;
- analyzing the beacon of each of the at least one first sink device to obtaining a signal strength between the electronic device and the at least one first sink device;
- determining one of the at least one first sink device to serve as a candidate device according a distance between the electronic device and each of the at least one first sink device, determining the distance between the electronic device and each of the at least one first sink device according to the signal strength between the electronic device and the at least one first sink device;
- deriving the beacon from the candidate device;
- determining whether a pin code is received from the beacon of the candidate device, wherein the candidate device is one of the at least one first sink device nearest to the electronic device among the at least one first sink device;
- analyzing the beacon to obtain the pin code, determining whether the pin code is correct through a table look-up manner or calculation of a specific algorithm,_and establishing a peer-to-peer connection with the candidate device according to connection information in response to the pin code being correct if the pin code is received from the beacon of the candidate device;
- displaying a notification message, and receiving the pin code corresponding to the notification message if the pin code is not received from the beacon of the candidate device;
- executing an operating system having a user interface;
- transmitting multimedia data which comprises a projecting screen corresponding to the user interface to the candidate device;
- and
- switching from transmitting the projection screen corresponding to the user interface to the candidate device to transmitting the extending desktop screen of the user interface to the candidate device when a trigger signal corresponding to the extending desktop screen is received.
Dependencies are inferred from the claim text.