The content of the invention
Based on this, it is necessary to the method for providing a kind of real-time display content of energy and the data transfer for mitigating terminal burden.
In addition, there is a need to the terminal for providing a kind of real-time display content of energy and mitigating terminal burden.
A kind of method of data transfer, methods described includes:
First terminal and second terminal set up that multimedia is shared to be linked and Screen sharing is linked;
The first terminal detects the data for passing to the second terminal on the first terminal the need for operation;
When the first terminal detects the data for multi-medium data, then the first terminal leads to the data
Cross the shared link of the multimedia and pass to the second terminal.
A kind of method of data transfer, methods described includes:
First terminal and second terminal set up that multimedia is shared to be linked and Screen sharing is linked;
The first terminal detects the data for passing to the second terminal on the first terminal the need for operation;
When the first terminal detect when the data are not multi-medium datas and/or the data be described second eventually
When holding the multi-medium data that can not be run, then the first terminal passes to the data by Screen sharing link
The second terminal.
A kind of method of data receiver, methods described includes:
Second terminal and first terminal set up that multimedia is shared to be linked and Screen sharing is linked;
The second terminal detection needs the data run on the first terminal received;
When the second terminal detects the data for multi-medium data, then the second terminal passes through many matchmakers
The shared link of body receives the data.
A kind of method of data receiver, methods described includes:
Second terminal and first terminal set up that multimedia is shared to be linked and Screen sharing is linked;
The second terminal detection needs the data run on the first terminal received;
When the second terminal detect when the data are not multi-medium datas and/or the data be described second eventually
When holding the multi-medium data that can not be run, then the second terminal receives the data by Screen sharing link.
A kind of terminal, including:
Module is set up in link, and for being set up with second terminal, multimedia is shared to be linked and Screen sharing is linked;
Detection module, the data of the second terminal are passed to for detecting the need for operation in the terminal;
Transport module, for when detection module detects the data for multi-medium data, the data to be passed through into institute
State the shared link of multimedia and pass to the second terminal.
A kind of terminal, including:
Module is set up in link, and for being set up with second terminal, multimedia is shared to be linked and Screen sharing is linked;
Detection module, the data of second terminal are passed to for detecting the need for operation in the terminal;
Transport module, for detecting when the data are not multi-medium datas and/or the data are when detection module
During the multi-medium data that the second terminal can not be run, the data are passed to by Screen sharing link described
Second terminal.
A kind of terminal, the terminal includes:
Module is set up in link, and for being set up with first terminal, multimedia is shared to be linked and Screen sharing is linked;
Detection module, for detecting the data run on the first terminal for needing to receive;
Receiving module, it is common by the multimedia for when detection module detects the data for multi-medium data
Enjoy link and receive the data.
A kind of terminal, the terminal includes:
Module is set up in link, and for being set up with first terminal, multimedia is shared to be linked and Screen sharing is linked;
Detection module, for detecting the data run on the first terminal for needing to receive;
Receiving module, it is common by the multimedia for when detection module detects the data for multi-medium data
Enjoy link and receive the data.
The method and terminal of above-mentioned data transfer, when the data run on first terminal are multi-medium data, by many
The multi-medium data is passed to second terminal by the shared link of media, because the shared link transferring multimedia data of multimedia be not required to through
Coding and decoding compress technique is crossed, the compressed and decompressed burden of terminal coding and decoding is alleviated, and can be by first terminal screen content
It is shown in real time in second terminal.
The method and terminal of above-mentioned data receiver, when the data run on first terminal are multi-medium data, second eventually
End receives the data by the shared link of multimedia, because the shared link transferring multimedia data of multimedia is not required to encoded decoding
Compress technique, alleviates the compressed and decompressed burden of terminal coding and decoding, can include first terminal screen content the in real time
In two terminals.
Embodiment
The technical scheme of the method and system of data transfer is carried out in detail with reference to specific embodiment and accompanying drawing
Description, so that it is clearer.
As shown in figure 1, being the flow chart of the method for data transfer in one embodiment.The method of the data transfer is run on
On first terminal.The first terminal is established the link with second terminal, and by the data transfer on first terminal to second terminal.Should
First terminal can be mobile phone, multimedia player, personal digital assistant or kneetop computer etc..The second terminal can for television set or
Projector etc..The method of the data transfer, including:
Step S102, first terminal and second terminal set up that multimedia is shared to be linked and Screen sharing is linked.
Specifically, first terminal and second terminal are set up, multimedia is shared to be linked and Screen sharing is linked.Wherein, multimedia
Shared link can for DLNA link, AirPlay link, Screen sharing be linked as Wi-Fi Display link, WiVu link,
At least one of WiDi is linked and remote desktop is linked.The shared link of multimedia refers to share to the multimedia on first terminal
Link in second terminal;Screen sharing link refers to the screen content of first terminal including the chain in second terminal in real time
Connect.DLNA links are intended that the solution interconnected between mobile device in wireless network or cable network, can
To play content of multimedia, such as video, song, picture, DLNA links belong to the shared link of multimedia.AirPlay is linked
The wireless technology released by American apple company, it is allowed to which user is in the speaker base of license, audio-visual receiver and three-dimensional sonic system
Music is played using whole iTunes Library wireless synchronization in the equipment such as system, the shared link of multimedia is fallen within.Wi-Fi
Display link be Wi-Fi Alliance provide can equipment room transmit data technology, Wi-Fi Display link category
In Screen sharing link.WiVu links the technology for referring to wirelessly transmitting data, and WiVu links belong to Screen sharing link.WiDi
(Intel Wireless Display, WirelessHD)The link between equipment is realized in link by WiFi, and WiDi links belong to
Screen sharing is linked.Remote desktop link is developed by MS from Telnet agreements, remote desktop link
Fall within Screen sharing link.Wi-Fi Display links, WiVu links, WiDi links and remote desktop link can be by first
The screen content that terminal is shown, second terminal can be passed to by such as browsing webpage, audio, video, and be shown in second eventually
On end.
In addition, first terminal passes through P2P with second terminal(Peer to Peer Network, peer-to-peer network)Technology is set up
Connection, while connecting the shared link of multimedia and Screen sharing link.
Step S104, first terminal detects the data for passing to second terminal on the first terminal the need for operation.
Step S106, when first terminal detects the data for multi-medium data, then first terminal leads to the data
Cross the shared link of the multimedia and pass to second terminal.
Specifically, multi-medium data refers to picture, audio, video and audio, video data.
In addition, after multi-medium data is passed into second terminal by multimedia shared link, first terminal switches to table
Face or when browsing the non-multimedia data such as webpage, is switched to Screen sharing link at once.
The method of above-mentioned data transfer, it is common by multimedia when the data run on first terminal are multi-medium data
Enjoy link and deliver the data to second terminal, because the shared link transferring multimedia data of multimedia is not required to encoded decoding pressure
Contracting technology, alleviates the compressed and decompressed burden of terminal coding and decoding, can include first terminal screen content second in real time
In terminal.
As shown in Fig. 2 being the flow chart of the method for data transfer in another embodiment.The method of the data transfer, bag
Include:
Step S202, first terminal and second terminal set up that multimedia is shared to be linked and Screen sharing is linked.
Specifically, first terminal and second terminal are set up, multimedia is shared to be linked and Screen sharing is linked.Wherein, multimedia
Shared link can for DLNA link, AirPlay link at least one of, Screen sharing be linked as Wi-Fi Display link,
At least one of WiVu links, WiDi links and remote desktop link.
The data of second terminal are passed to the need for being run on step S204, first terminal detection first terminal.
Step S206, when first terminal detects the data for multi-medium data, the first terminal judges second terminal
Whether the data can be run, if can, step S208 is performed, if can not, perform step S210.
The data are shared link by the multimedia and pass to second terminal by step S208, first terminal.
Specifically, multi-medium data refers to picture, audio, video and audio, video data.
The data are passed to second terminal by step S210, first terminal by Screen sharing link.
The method of above-mentioned data transfer, when the data that first terminal is run are multi-medium data, need to determine whether the
Whether two terminals can run many data, it is ensured that multi-medium data can be played in second terminal, and rational selection is passed
The on-link mode (OLM) passed, it is to avoid situation about can not play occur, improve the utilization rate of resource.
As shown in figure 3, being the flow chart of the method for data transfer in another embodiment.The method of the data transfer, bag
Include:
Step S302, first terminal and second terminal set up that multimedia is shared to be linked and Screen sharing is linked.
Specifically, first terminal and second terminal are set up, multimedia is shared to be linked and Screen sharing is linked.Wherein, multimedia
Shared link can for DLNA link, AirPlay link at least one of, Screen sharing be linked as Wi-Fi Display link,
At least one of WiVu links, WiDi links and remote desktop link.
Step S304, passes to the data of second terminal the need for first terminal detection first terminal operation.
Step S306, when first terminal detect when the data are not multi-medium datas and/or the data be second terminal
During the multi-medium data that can not be run, the data are passed to second terminal by first terminal by Screen sharing link.
Specifically, passed to the need for being run on first terminal when the data of second terminal are not multi-medium data and/or
The person data be second terminal can not the compatible operation multi-medium data when, pass to second eventually using Screen sharing link
End.Because Screen sharing link can be decoded to the multi-medium data, it so can directly show and broadcast on the screen of second terminal
Put.Second terminal can not compatible multi-medium data form, may can not be to the multimedia for the decoding function in second terminal
The form of data is decoded.
Because of non-multimedia data, the non-multimedia data can be passed to by first terminal by Screen sharing link, can be by
The screen content of first terminal is shown in second terminal in real time.
The method of above-mentioned data transfer, when the data that first terminal is run are multi-medium data, need to determine whether the
Whether two terminals can run the multi-medium data, it is ensured that multi-medium data can be played in second terminal, rational choosing
Select the on-link mode (OLM) of transmission, it is to avoid situation about can not play occur, improve the utilization rate of resource.
As shown in figure 4, being the flow chart of the method for data receiver in another embodiment.The method operation of the data receiver
In in second terminal.First terminal is transmitting terminal, and second terminal is to be described with first terminal angle in receiving terminal, Fig. 1, Fig. 4 with
Second terminal angle is described.The method of the data receiver, including:
Step S402, second terminal and first terminal set up that multimedia is shared to be linked and Screen sharing is linked.
Specifically, second terminal and first terminal are set up, multimedia is shared to be linked and Screen sharing is linked.Wherein, multimedia
Shared link can for DLNA link, AirPlay link at least one of, Screen sharing be linked as Wi-Fi Display link,
At least one of WiVu links, WiDi links and remote desktop link.The shared link of multimedia refers to will be more on first terminal
The link that media are shared in second terminal;Screen sharing link refers in real time include the screen content of first terminal second
Link in terminal.DLNA links are intended that the solution interconnected between mobile device in wireless network or cable network
Certainly scheme, can play content of multimedia, such as video, song, picture belong to the shared link of multimedia.AirPlay is linked
The wireless technology released by American apple company, it is allowed to which user is in the speaker base of license, audio-visual receiver and three-dimensional sonic system
Music is played using whole iTunes Library wireless synchronization in the equipment such as system, belongs to the shared link of multimedia.Wi-Fi
Display link be Wi-Fi Alliance provide can equipment room transmit data technology, Wi-Fi Display link category
In Screen sharing link.WiVu links the technology for referring to wirelessly transmitting data, and WiVu links belong to Screen sharing link.WiDi
(Intel Wireless Display, WirelessHD)The link between equipment is realized in link by WiFi, and WiDi links belong to
Screen sharing is linked.Remote desktop link is developed by MS from Telnet agreements, remote desktop link
Fall within Screen sharing link.Wi-Fi Display links, WiVu links, WiDi links and remote desktop link can be by first
The screen content that terminal is shown, such as browsing webpage, audio, video can be received by second terminal, and be shown in second eventually
On end.
In addition, second terminal passes through P2P with first terminal(Peer to Peer Network, peer-to-peer network)Technology is set up
Connection, while connecting the shared link of multimedia and Screen sharing link.
Step S404, second terminal detection needs the data run on the first terminal received.
Step S406, when second terminal detects the data for multi-medium data, then second terminal passes through many matchmakers
The shared link of body receives the data.
Specifically, multi-medium data refers to picture, audio, video and audio, video data.
In addition, being linked by the way that multimedia is shared by multi-medium data after second terminal is received, if first terminal is cut
To desktop or when browsing the non-multimedia data such as webpage, then second terminal is switched to Screen sharing link and receives the data at once.
The method of above-mentioned data receiver, when the data run on first terminal are multi-medium data, second terminal passes through
The shared link of multimedia receives the data, because the shared link transferring multimedia data of multimedia is not required to encoded decoding compression skill
Art, alleviating the compressed and decompressed burden of terminal coding and decoding can include first terminal screen content in second terminal in real time
On.
As shown in figure 5, being the flow chart of the method for data receiver in another embodiment.First terminal is transmitting terminal, the
Two terminals are receiving terminal, are described with first terminal angle in Fig. 2, and Fig. 5 is described with second terminal angle.The side of the data receiver
Method, including:
Step S502, second terminal and first terminal set up that multimedia is shared to be linked and Screen sharing is linked.
Step S504, second terminal detection needs the data run on the first terminal received.
Step S506, when second terminal detects the data for multi-medium data, judges whether the second terminal can transport
The row data, if can, step S508 is performed, if can not, perform step S510.
Step S508, the second terminal receives the data by the shared link of the multimedia.
Step S510, the second terminal receives the data by Screen sharing link.
The method of above-mentioned data receiver, when second terminal needs the data run on the first terminal received to be multimedia number
According to when, need to determine whether whether second terminal can run many data, it is ensured that multi-medium data can be played in second
In terminal, the on-link mode (OLM) that rational selection is received, it is to avoid situation about can not play occur, improve the utilization rate of resource.
As shown in fig. 6, being the flow chart of the method for data receiver in another embodiment.The method of the data receiver, bag
Include:
Step S602, second terminal and first terminal set up that multimedia is shared to be linked and Screen sharing is linked.
Specifically, multimedia is shared to be linked as at least one of DLNA links, AirPlay links, Screen sharing is linked as
At least one of Wi-Fi Display links, WiVu links, WiDi links and remote desktop link.
Step S604, second terminal detection needs the data run on the first terminal received.
Step S606, when the second terminal detect when the data are not multi-medium datas and/or the data be second
During the multi-medium data that terminal can not be run, then the second terminal receives the data by Screen sharing link.
Specifically, second terminal is received when the data run on first terminal are not multi-medium data and/or the data
For second terminal can not the compatible operation multi-medium data when, the data are received using Screen sharing link.Because of Screen sharing
Link can be decoded to the multi-medium data, and broadcasting so can be directly shown on the screen of second terminal.Second terminal is not
The form of the compatible multi-medium data of energy, can not may be carried out for the decoding function in second terminal to the form of the multi-medium data
Decoding.
Because of non-multimedia data, second terminal can receive the non-multimedia data by Screen sharing link, and by first
The screen content of terminal is shown in real time.
The method of above-mentioned data receiver, when second terminal needs the data run on the first terminal received to be multimedia number
According to when, need to determine whether whether second terminal can run the multi-medium data, it is ensured that multi-medium data can be played in
In second terminal, rational selection receives the on-link mode (OLM) of data, it is to avoid situation about can not play occurs, improves the profit of resource
With rate.
As shown in fig. 7, interacting schematic diagram with second terminal for first terminal.It is illustrated in figure 8 terminal in one embodiment
Structured flowchart.As shown in figure 8, the terminal is first terminal, the terminal sets up module 820, the and of detection module 840 including link
Transport module 860.Wherein:
Module 820 is set up in link is used to setting up that multimedia is shared to be linked and Screen sharing is linked with second terminal.
Specifically, the terminal is first terminal.The terminal and second terminal set up that multimedia is shared to be linked and Screen sharing
Link.Wherein, multimedia, which shares link, to be at least one of DLNA links, AirPlay links, and Screen sharing is linked as Wi-
At least one of Fi Display links, WiVu links, WiDi links and remote desktop link.Multimedia share link refer to by
The link that multimedia in the terminal is shared in second terminal;Screen sharing link refers to the screen content of the terminal is real-time
It is shown in the link in second terminal.
The terminal passes through P2P with second terminal(Peer to Peer Network, peer-to-peer network)Technology sets up connection, together
When the shared link of connection multimedia and Screen sharing link.
Detection module 840 is used for the data that second terminal is passed to the need for detecting the terminal operating.
Transport module 860 is used for when the data that pass to second terminal that detection module 840 detects terminal operating are
During multi-medium data, the data are shared into link by the multimedia and pass to second terminal, and when detection module 840 is detected
To terminal operating data be non-multimedia data when, by the data by the Screen sharing link pass to second terminal.
Specifically, multi-medium data refers to picture, audio, video and audio, video data.During non-multimedia data, pass through screen
The non-multimedia data is passed to second terminal by the shared link of curtain, can include the screen content of the terminal second eventually in real time
On end.
Above-mentioned terminal is more by this by the shared link of multimedia when the data run in the terminal are multi-medium data
Media data passes to second terminal, because the shared link transferring multimedia data of multimedia is not required to encoded decoding compression skill
Art, alleviates the compressed and decompressed burden of terminal coding and decoding, and can include the terminal screen content in second terminal in real time
On.
Further, as shown in figure 9, transport module 860 includes judging submodule 862 and transmission submodule 864.Wherein,
The data that judging submodule 862 is used to pass to second terminal the need for detection module 840 detects terminal operating are many matchmakers
During volume data, judge whether second terminal can run the data.Transmission submodule 864 is used to judge in judging submodule 862
When second terminal can not run the data, the data are passed into second terminal by Screen sharing link, and judging
When submodule 862 judges that second terminal can run the data, the data are shared into link by the multimedia and pass to second
Terminal.
Above-mentioned terminal, when the data that second terminal is passed to the need for terminal operating are multi-medium data, is needed further
Judge whether second terminal can run the data, it is ensured that multi-medium data can be played in second terminal, rational choosing
Select the on-link mode (OLM) of transmission, it is to avoid situation about can not play occur, improve the utilization rate of resource.
In other embodiments, transport module 860 be additionally operable to be not in the data that detection module 840 detects terminal operating
During the multi-medium data that multi-medium data and/or the data can not be run for second terminal, the data are total to by screen
Enjoy link and pass to second terminal.
As shown in Figure 10, it is the structured flowchart of terminal in another embodiment.The terminal is second terminal, and the terminal includes
Module 920, detection module 940 and receiving module 960 are set up in link.Wherein:
Module 920 is set up in link is used to setting up that multimedia is shared to be linked and Screen sharing is linked with first terminal.
Specifically, the terminal is second terminal.The terminal and first terminal set up that multimedia is shared to be linked and Screen sharing
Link.Wherein, multimedia, which shares link, to be at least one of DLNA links, AirPlay links, and Screen sharing is linked as Wi-
At least one of Fi Display links, WiVu links, WiDi links and remote desktop link.Multimedia share link refer to by
The link that multimedia on first terminal is shared in the terminal;Screen sharing link refers to the screen content of first terminal is real
When display link on the terminal.
First terminal passes through P2P with the terminal(Peer to Peer Network, peer-to-peer network)Technology sets up connection, together
When the shared link of connection multimedia and Screen sharing link.
Detection module 940 is used to detect the data run on the first terminal for needing to receive.
Receiving module 960 is used to, when the data that detection module 940 detects first terminal operation are multi-medium data, lead to
Cross the shared link of the multimedia and receive the data, and when the data that detection module 940 detects first terminal operation are non-multi
During media data, the data are received by Screen sharing link.
Specifically, multi-medium data refers to picture, audio, video and audio, video data.During non-multimedia data, pass through screen
The shared link of curtain is received the non-multimedia data by second terminal, can include the screen content of first terminal second in real time
In terminal.
Above-mentioned terminal, when the data run on first terminal are multi-medium data, second terminal is shared by multimedia
Link receives the multi-medium data, because the shared link transferring multimedia data of multimedia is not required to encoded decoding compress technique,
The compressed and decompressed burden of terminal coding and decoding is alleviated, and first terminal screen content can be included in second terminal in real time
On.
Further, as shown in figure 11, receiving module 960 includes judging submodule 962 and receiving submodule 964.Wherein:
Judging submodule 962 is used to, when the data that detection module 940 detects first terminal operation are multi-medium data, judge terminal
Whether the data can be run, and receiving submodule 964 is additionally operable to when judging submodule 962 judges that terminal can run the data,
The data are received by the shared link of the multimedia, and when judging that terminal can not run the data, pass through the screen
Shared link receives the data.
In other embodiments, receiving module 960 is additionally operable to detect the data of first terminal operation in detection module 940
It is not multi-medium data and/or when the data are the multi-medium data that terminal can not be run, is connect by Screen sharing
Receive the data.
Embodiment described above only expresses the several embodiments of the present invention, and it describes more specific and detailed, but simultaneously
Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention
Protect scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.