CN105142008B - A method of playing second terminal data using first terminal - Google Patents
A method of playing second terminal data using first terminal Download PDFInfo
- Publication number
- CN105142008B CN105142008B CN201510463591.0A CN201510463591A CN105142008B CN 105142008 B CN105142008 B CN 105142008B CN 201510463591 A CN201510463591 A CN 201510463591A CN 105142008 B CN105142008 B CN 105142008B
- Authority
- CN
- China
- Prior art keywords
- terminal
- data
- play
- information
- service
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 230000005540 biological transmission Effects 0.000 claims abstract description 42
- 241000220225 Malus Species 0.000 claims 2
- 235000021016 apples Nutrition 0.000 claims 1
- 235000013399 edible fruits Nutrition 0.000 claims 1
- 230000002452 interceptive effect Effects 0.000 abstract description 6
- 230000004044 response Effects 0.000 description 14
- 230000006870 function Effects 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 3
- 101710203175 Prothoracicotropic hormone Proteins 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 239000004744 fabric Substances 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 210000004556 brain Anatomy 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
- H04N21/43637—Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The present invention proposes a kind of method playing second terminal data using first terminal, including:First terminal including the first operating system issues Air Play services by multicast domain name system;The service further includes port numbers.The service that second terminal including the second operating system is issued by first terminal carries out Air Play with first terminal and connect.When second terminal carries out Air Play connections, first terminal is received by the port that port numbers are specified and plays the data of Air Play connections transmission.Multicast domain name system broadcasts are sent by first terminal.To make second terminal it can be found that the service that first terminal is issued, and it is connected with first terminal.To realize the multi-screen interactive between first terminal and second terminal, the real-time sharing of the data such as picture, audio, video and mirror image is realized between first terminal and second terminal.
Description
Technical field
The present invention relates to radio transmitting method technical fields more particularly to a kind of utilization first terminal to play second terminal number
According to method.
Background technology
In the modern life everyone there are one mobile terminal device, these mobile devices may be from different mobile factories
Quotient, for example, Apple Inc. iOS device, Android (Android) equipment of Samsung etc..How iOS device and Android made
Multi-screen interactive is realized between equipment, the service how transmitted related content between different devices and equipment is called to be provided, such as
What realizes the shared of equipment room media file, is the main purpose of research.
From 2011, Apple Inc., which releases function, allowed user by iPhone (iPhone), and (apple tablet is electric by iPad
Brain) etc. watched for user in the multimedia files content share to Apple TV such as picture, audio and video in equipment, provide good
The ornamental experience of user.But since Apple TV belong to high-end electronic product on the market, there is higher price door Sill, this
A large amount of consumer is set to hang back.And the relatively high Android intelligent television of cost performance receives a large amount of smart televisions and uses
The parent at family is resistance to.However in mobile terminal, a large amount of apple user cannot but share the picture of oneself mobile phone, audio, video data
In Android intelligent television (large screen), realizes and share interaction between large-size screen monitors and smaller screen.
AirPlay is a kind of communications protocol based on wireless technology that Apple Inc. proposes.Using AirPlay agreements, use
Family will can include in iOS device simply by WiFi (wireless network):The data such as picture, audio, video and mirror image
Wirelessly it is transferred in the equipment of supported protocol.AirPlay is similar with the function of DLNA, is all based on wireless biography
Screen.But AirPlay is that also have image feature, and the Miracast functions that this function starts support to Android4.2 are similar,
The mirror image of one equipment can be projected directly into another equipment and show that this is not available for DLNA up.AirPlay
Image feature, can be by iPhone, the picture in the equipment such as iPad is wirelessly transmitted in other equipment, is in other words shared
What equipment is shown, then sharing, shown in equipment is exactly what, and is not limited only to picture and video.User may be used also
Carry out steering wheel as car race game to hold iOS device, then looks at large screen and play game.But the mirror image pair of AirPlay
The requirement of hardware device is relatively high.
Invention content
The present invention provides to solve the problems, such as the multi-screen interactive between first terminal and second terminal in the prior art
A method of playing second terminal data using first terminal.To enable connection of the second terminal with first terminal, by
The content of two terminals projects on first terminal.
In a first aspect, to achieve the above object, second terminal number is played using first terminal the present invention provides a kind of
According to method, including:
First terminal including the first operating system issues Air Play services by multicast domain name system;The service is also
Including port numbers;
The service that second terminal including the second operating system is issued by first terminal carries out Air with first terminal
Play connections;
When second terminal carries out Air Play connections, first terminal is received and is played by the port that port numbers are specified
The data of Air Play connections transmission.
In the first mode in the cards of first aspect, data that the first terminal plays be audio, video,
One or more of mirror image.
In second of mode in the cards of first aspect, the parameter of the first terminal publication Air Play services
The parameter of parameter and Air Play service apple Video services including Air Tunes service apple music services.
The third mode in the cards with reference to first aspect, it is described to send out in the 4th kind of mode in the cards
It also needs to be named two Air Play services of publication before cloth service;The title of described two services must be identical.
In the 5th kind of mode in the cards of first aspect, the port numbers include 3;In 3 port numbers,
Including 1 fixing end slogan and 2 arbitrary end slogans.
The 5th kind of mode in the cards with reference to first aspect, in the 6th kind of mode in the cards, the fixation
Port numbers are to be used for transmission 7100 port numbers of mirror image, and 2 arbitrary end slogans are to be respectively used to video and audio transmission
Port numbers.
In the 7th kind of mode in the cards of first aspect, the data that the Air Play connections play are audio,
Audio play the step of include:
First terminal obtains the information of audio;
First terminal establishes the server of transmission, and a channel talked with second terminal is established in server;
First terminal receives audio data, and is decoded by the server of foundation.
In the 8th kind of mode in the cards of first aspect, the data that the Air Play connections play are video,
The step of video playing includes:
First terminal receives the video playing request that second terminal is sent, and the request includes the information of corresponding video;
First terminal sends the relevant information of first terminal, and the relevant information includes NIC address;
First terminal receives corresponding video data and plays.
In the 9th kind of mode in the cards of first aspect, the data that the Air Play connections play are picture,
The step of picture playing includes:
First terminal receives the request that second terminal is sent, and the request includes the information of corresponding picture;
First terminal receives image data, and is decoded to image data using the information of the picture.
In the tenth kind of mode in the cards of first aspect, the data that the Air Play connections play are mirror image,
Mirror image play the step of include:
First terminal receives the encryption information that second terminal is sent;
Encryption information is decrypted in first terminal, and the information after decryption is sent to second terminal;
First terminal sends the relevant information of first terminal equipment to second terminal;
First terminal receives the mirror image data that second terminal is sent and broadcasting.
The present invention provides a kind of methods playing second terminal data using first terminal.It is sent out by using first terminal
Go out to send multicast domain name system broadcasts, which includes parameter and the port of service.The service wherein issued includes Air
Two kinds of Tunes service and Air Play Service.To make second terminal it can be found that the clothes that first terminal is issued
Business, and be connected with first terminal.Further include port numbers in the service of first terminal publication.To realize first terminal with
Multi-screen interactive between second terminal, make Air Play agreements as between first terminal and second terminal realize picture, audio,
The real-time Transmission of the data such as video and mirror image with share tool.
Description of the drawings
Fig. 1 is the connection method figure of a kind of the Android client and iOS device of the specific embodiment of the invention;
Fig. 2 is the connection method schematic diagram of specific embodiment of the invention iOS device service different from Android client;
Fig. 3 is a kind of iOS device playback method flow chart based on Android client of the specific embodiment of the invention.
Specific implementation mode
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
In a specific embodiment of the present invention, first terminal is the equipment with Android operation system, referred to as Android
Client.Second terminal is the equipment with iOS operating systems, referred to as iOS device.The present invention is based in the prior art, iOS
The problem of equipment (second terminal) is unable to multi-screen interactive with Android client (first terminal).Propose a kind of iOS device of making
The method that content can be shared in Android client, to realize the multi-screen interactive between iOS device and Android client.
In the iOS device (second terminal) of the present invention, it is provided with iOS system (the second operating system), (first eventually for Android client
End) on, it is provided with Android system (the first operating system).
It lays down a definition below to part English cited in specific embodiments of the present invention:
jmDNS:The multicast domain name system described using java;
AirTunes service:Apple music service;
AirPlay service:Apple Video service;
AirPlay:Apple is wirelessly connected technology;
iOS:Apple (iOS) operating system;
Fair Play:A kind of Encryption Algorithm;
Netty:A kind of procotol;
mDNS:Multicast domain name system.
Fig. 1 is a kind of connection method of Android client and iOS device in the specific embodiment of the invention.Tool as shown in Figure 1
The connection method figure of a kind of the Android client and iOS device of body embodiment, includes the following steps:
Android client issues Air Play services;The service includes Air Tunes service and Air Play
service。
The issuing service of Android client further includes specifically that Android client is connected under WiFi environment.When Android client
It opens in application, Android client, which will send out the equipment into LAN, sends the instruction that mDNS (multicast domain name system) is broadcasted.
The publication of broadcast is carried out by using jmDNS.Its issue service be Air Play comprising Air Tunes service and
Two services of Air Play service, specific parameter and port are further comprised in being serviced at two.For AirTunes
Service service, including parameter it is as shown in table 1.For AirPlay service service, including parameter it is as shown in table 2.
The content specific embodiments of the present invention of Tables 1 and 2 are not construed as limiting.In table 1, pw can fill in
False can also fill in true, and wherein false is without using password, and true is to use password.The am implementor names for client
Claim, can fill in AppleTV1 (apple TV 1) or AppleTV2 (apple TV 2), AppleTV1 or AppleTV2 can appoint
Meaning is filled in.Tp are the used network transmission protocol, including Transmission Control Protocol or udp protocol.Although in the specific implementation of the present invention
Udp protocol is selected in example, but Transmission Control Protocol is equally applicable herein.In table 2, deviceid is NIC address, to make
IOS device can realize the transmission of network with Android client.
Before instruction publication being carried out by jmDNS, it is also necessary to two Air Play service names to being issued.Wherein sent out
Two service names of cloth must be identical.Meanwhile format is also necessary for:MAC Address+@+other.That is, the beginning of title
It is necessary for NIC address, subsequent suffix can be arbitrary, and be split with "@" between NIC address and suffix.
1 Air Tunes service of table
2 AirPlay service of table
The service that iOS device is issued by Android client is connect with Android client.
When iOS device opens Air Play functions, iOS device can search the service of Android client publication.It is logical
The Air Play service parameters of publication are crossed, iOS device will be verified and be arranged to parameter.To which iOS device and Android is objective
Family end connects, and carries out corresponding data transmission.
IOS device further includes one connected in three ports when being connect with Android client, and three ports correspond to respectively
Mirror image, audio and video.When transmission between iOS device and Android client and playing video file, it is video to be connected
Port.When what is transmitted and play between iOS device and Android client is picture file, the port connected is video end
Mouthful.When what is transmitted and play between iOS device and Android client is audio file, the port connected is audio port.
When what is transmitted and play between iOS device and Android client is image file, the port connected is mirror port
When iOS device carries out AirPlay connections, pass through port and the Android client transmissions data of binding.
Two services wherein issued correspond to different ports respectively.In a specific embodiment of the present invention,
Port numbers corresponding to AirTunes service are that the port numbers corresponding to 5000, AirPlay Service are 7000.Third
A port is fixed port, fixed port 7100.When the content of transmission is for audio, the port of connection is 5000.Work as transmission
Content be that the port of connection is 7000 for video.When the content of transmission is for mirror image, the port of connection is 7100.Wherein
Port corresponding to AirTunes service is audio transmission port, and the port corresponding to AirPlay Service is video
Transmission port is mirror image transmission port corresponding to fixed port.Port is monitored using Netty, so as to real-time
The content that iOS device is sent out is played in Android client.Netty is a Java Open Framework agreement, to quick
Develop the network server and client-side program of high-performance, high reliability.
Fig. 2 is a kind of iOS device of specific embodiment of the invention connection side for playing type different from Android client
Method schematic diagram.A kind of iOS device of the specific embodiment of the invention as shown in Figure 2 and the difference in the transmission process of Android client
The connection method figure for playing type carries out the transmission of corresponding data after completing the connection between iOS device and Android client
With broadcasting.It is attached by Air Play agreements between iOS device and Android client, to which transmission includes audio, video
And image file.And audio, video and image file are played in Android client.
A kind of Android client of the specific embodiment of the invention as shown in Figure 3 and iOS device playback method, including audio
Broadcasting, the broadcasting of video and the broadcasting of mirror image.Thus by audio, video and the image file in iOS device in iOS clients
Upper display or broadcasting, to obtain better usage experience.
Audio plays
Further include being connected to corresponding port when iOS device connect completion with Android client.When progress audio broadcasting
When, the port numbers connected are 5000.
When Android client receives the audio playback signal of iOS device transmission, Android client will establish Streaming Media clothes
Business device.And the various attribute informations of audio are obtained from iOS device.Streaming media server is RTSP server.
When Android client completes above-mentioned steps, Android client will be to iOS device return signal, the signal of return
For:
“RTSP/1.0 200OK
Server:AirTunes/130.14
CSeq:27”
After iOS device receives the return signal of Android client, iOS device is by order Android client in Streaming Media
(RTSP) channel talked with iOS (record sess ion) is established in server.
Dialog channel simultaneous transmission about audio-frequency information one decoder is established according to the information of the audio obtained,
It is decoded hence for the audio data of subsequent transmission.
When Android client completes above-metioned instruction, will be to iOS device return signal, the signal of return:
“RTSP/1.0 200OK
Transport:
RTP/AVP/UDP;unicast;Mode=record;Server_port=53561;Control_port=
63379;timing_
Port=50607
Session:1
Audio-Jack-Status:connected
Server:AirTunes/130.14
CSeq:4”
After completing the transmission of above-mentioned signal, iOS, which is set, will start to transmit audio data, and Android client receives corresponding number
According to, and be decoded and play by the server of foundation.
When iOS device starts to transmit audio data, Android client starts to receive corresponding data.Pass through decoder pair
The audio data of reception is decoded, while can also be played out to audio data using player.It is transmitted in audio data
And during playing, the dialog channel in server also constantly carries out the round-trip of signal with iOS, to confirm iOS device
Also keep connecting with Android client.Round-trip signal is:
“RTSP/1.0 200OK
Audio-Latency:2205
Server:AirTunes/130.14
CSeq:5”
Further include the other information of various manipulation information and audio during audio transmission.Various manipulation information and
The other information of audio is transmitted by dialog channel.The manipulation information of audio includes pause, stopping and the beginning played,
And the adjusting of volume.The other information of audio include audio song name, Ge Shouming, album name, cover picture and play into
The information such as degree.The transmission enhanced convenience of the information such as control, broadcasting to make audio.
When there is encryption in the transmission data of audio, iOS device sends out encryption information Fair using Fair Play
Play passwords are a kind of substitution ciphers.Android client by corresponding data after encryption information decryption to returning to iOS device.When
IOS device receives the return information that Android client is sent out, and correctly rear iOS device sends out encryption information to confirmation message again,
Android client is again decrypted encrypted information.And solution confidential information is returned into iOS device again.When decryption twice
After completely correct, iOS device starts to transmit audio data, and Android device receives corresponding data.
Picture playing:
When iOS device carries out picture push, Android client will receive the request of iOS device transmission, in the request
Include the information of corresponding picture.Request is HTTP request, meanwhile, Android client will respond request.When progress picture
When broadcasting, the port numbers connected are 7000.
Corresponding response message is replied between Android client.Response message is:
“HTTP/1.1101Switching Protocols
Date:Thu,23Feb 2012 17:33:41 GMT
Upgrade:PTTH/1.0
Connection:Upgrade”
After iOS device and Android client complete above-mentioned response, Android client will receive the pass of iOS device transmission
In the information for the picture that will be transmitted.
Image data is received, and image data is parsed using the information of the picture.
After completing the information transmission of corresponding picture, iOS device will transmit picture.Picture will use binary format
It is transmitted, is parsed using Bitmap (bitmap file) after the completion of transmission, to can preferably show picture.
During picture transfer, Android client will also be responded constantly with iOS device.
Response message is:
“HTTP/1.1 200OK
Date:Thu,23Feb 2012 17:33:42GMT
Content-Length:0”
Video playing:
Android client receives the request video playing request that iOS device is sent, which includes the letter of corresponding video
Breath.The request is HTTP request, and Android client will receive the information about corresponding video of iOS device transmission.When being regarded
When frequency plays, the port numbers connected are 7000.
Android client will respond request.Response message is:
“HTTP/1.1 101 Switching Protocols
Date:Thu,23Feb 2012 17:33:41GMT
Upgrade:PTTH/1.0
Connection:Upgrade”
After iOS device and Android client complete above-mentioned response, iOS device will obtain the corresponding of Android client
Information and NIC address.To enable Android client and iOS device to carry out the transmission of network data.Android client
Corresponding information transmitted by way of response, the content of response uses the dedicated pl i st file formats of iOS, needs
Data are first switched to pl ist binary formats to transmit again.
Response message is:
“HTTP/1.1 200OK
Date:Thu,23Feb 2012 17:33:41GMT
Content-Type:text/x-apple-plist+xml
Content-Length:427
<?Xml version=" 1.0 " encoding=" UTF-8 "?>
<!DOCTYPE plist PUBLIC"-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<Plist version=" 1.0 ">
<dict>
<key>deviceid</key>
<string>58:55:CA:1A:E2:88</string>
<key>features</key>
<integer>14839</integer>
<key>model</key>
<string>AppleTV2,1</string>
<key>protovers</key>
<string>1.0</string>
<key>srcvers</key>
<string>120.2</string>
</dict>
</plist>”
Android client obtains video information and is played from iOS device.
Android client will obtain the address of corresponding video in iOS device, to according to corresponding video address and network
Connection, enables Android client to play corresponding video.The presence of video includes two kinds of forms, respectively local file and net
Network file.When playing local file, file format is http forms.When playing network file, device format is m3u8 shapes
Formula.
Further include the other information such as the broadcast state of various manipulation information and video during transmission of video.It is various
The broadcast state for manipulating information and video is transmitted by dialog channel.The manipulation information of video include play pause,
F.F., rewind, stopping and beginning and the adjusting of volume.The broadcast state of video includes total duration, buffering duration, broadcasts
Put the information such as position and playing progress rate.The transmission enhanced convenience of the information such as control, broadcasting to make video.
Mirror image plays:
IOS device will send encrypted solicited message to Android client.The request is HTTP request, and Android client will
Request is responded.When carrying out mirror image broadcasting, the port numbers connected are 7000.
When there is encryption in mirror image video file transfer, iOS device sends out encryption information using Fair Play.Android
Client will parse information after being decrypted to encryption information and return to iOS device.It will after iOS device receives corresponding solution confidential information
Verify the correctness of returned data.After it is correct to determine returned data, iOS device will send out encryption information, Android visitor again
Family end is again decrypted encrypted information and will decrypt information back again to iOS device.When decryption twice completely just
After really, iOS device starts to transmit audio data, and Android device receives corresponding data.
Described information is decrypted in Android client, and the information after decryption is sent to iOS device.
Response message is:
“HTTP/1.0 200OK
Server:AirTunes/130.14
Content-Type:application/octet-stream
Content-Lenth:32
CSeq:27
<Content>”
When iOS device obtains the response message of Android client, iOS device, which will be sent out, obtains Android client correlation letter
The request of breath.Android client will receive the request of iOS device, and send relevant information by response message.Response message
For:
“HTTP/1.1 200OK
Date:Mon,08Mar 2012 15:30:27GMT
Content-Type:text/x-apple-plist+xml
Content-Length:411
<?Xml version=" 1.0 " encoding=" UTF-8 "?>
<!DOCTYPE plist PUBLIC"-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<Plist version=" 1.0 ">
<dict>
<key>height</key>
<integer>720</integer>
<key>overscanned</key>
<true/>
<key>refreshRate</key>
<real>0.016666666666666666</real>
<key>version</key>
<string>130.14</string>
<key>width</key>
<integer>1280</integer>
</dict>
</plist>”
After iOS receives above-mentioned response message, mirror image data is transferred to Android client.
Corresponding data of the Android client accessed by mirror image is played accordingly.
Professional should further appreciate that, described in conjunction with the examples disclosed in the embodiments of the present disclosure
Unit and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, hard in order to clearly demonstrate
The interchangeability of part and software generally describes each exemplary composition and step according to function in the above description.
These functions are implemented in hardware or software actually, depend on the specific application and design constraint of technical solution.
Professional technician can use different methods to achieve the described function each specific application, but this realization
It should not be considered as beyond the scope of the present invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can use hardware, processor to execute
The combination of software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only memory
(ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field
In any other form of storage medium well known to interior.
Above-described specific implementation mode has carried out further the purpose of the present invention, technical solution and advantageous effect
It is described in detail, it should be understood that the foregoing is merely the specific implementation mode of the present invention, is not intended to limit the present invention
Protection domain, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all include
Within protection scope of the present invention.
Claims (4)
1. a kind of method playing second terminal data using first terminal, which is characterized in that the method includes:
First terminal including the first operating system issues Air Play services by multicast domain name system;First terminal is issued
The parameter of Air Play services includes the parameter and Air Play service apples of Air Tunes service apple music services
The parameter of fruit Video service;The service further includes port numbers;Two Air also needed to before issuing service to publication
Play services are named;The titles of described two services must be identical, the name formats of two services be MAC Address+@+its
He;
The service that second terminal including the second operating system is issued by first terminal carries out Air Play companies with first terminal
It connects;
When second terminal carries out Air Play connections, first terminal is received by the port that port numbers are specified and plays Air
The data of Play connections transmission;When the Air Play connections play data be mirror image when, mirror image play the step of include:
First terminal receives the encryption information that second terminal is sent out using Fair Play;
Encryption information is decrypted in first terminal, and the information after decryption is sent to second terminal;When second terminal receives
The correctness of returned data will be verified after corresponding solution confidential information, after it is correct to determine returned data, second terminal will again
Send out encryption information;
First terminal is again decrypted encrypted information and will decrypt information back again to second terminal, when solution twice
It is close it is completely correct after, second terminal starts to transmit audio data;
First terminal receives the mirror image data that second terminal is sent and broadcasting;
The data that the first terminal plays are one or more of audio, video, mirror image;
The port numbers include 3;In 3 port numbers, including 1 fixing end slogan and 2 arbitrary end slogans;
The fixing end slogan is 7100 port numbers for being used for transmission mirror image, and 2 arbitrary end slogans are to be respectively used to Air
7000 port numbers of Play Service transmission of video and 5000 port numbers for Air Tunes Service audio transmissions.
2. a kind of method playing second terminal data using first terminal according to claim 1, it is characterised in that:Institute
State Air Play connections broadcasting data be audio, audio play the step of be:
First terminal obtains the information of audio;
First terminal establishes the server of transmission, and a channel talked with second terminal is established in server;
First terminal receives audio data, and is decoded by the server of foundation.
3. a kind of method playing second terminal data using first terminal according to claim 1, it is characterised in that:Institute
The data for stating Air Play connections broadcasting are video, and the step of video playing includes:
First terminal receives the video playing request that second terminal is sent, and the request includes the information of corresponding video;
First terminal sends the relevant information of first terminal, and the relevant information includes NIC address;
First terminal receives corresponding video data and plays.
4. a kind of method playing second terminal data using first terminal according to claim 1, it is characterised in that:Institute
The data for stating Air Play connections broadcasting are picture, and the step of picture playing includes:
First terminal receives the request that second terminal is sent, and the request includes the information of corresponding picture;
First terminal receives image data, and is decoded to image data using the information of the picture.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510463591.0A CN105142008B (en) | 2015-07-31 | 2015-07-31 | A method of playing second terminal data using first terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510463591.0A CN105142008B (en) | 2015-07-31 | 2015-07-31 | A method of playing second terminal data using first terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105142008A CN105142008A (en) | 2015-12-09 |
CN105142008B true CN105142008B (en) | 2018-11-06 |
Family
ID=54727193
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510463591.0A Expired - Fee Related CN105142008B (en) | 2015-07-31 | 2015-07-31 | A method of playing second terminal data using first terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105142008B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106209969A (en) * | 2016-06-16 | 2016-12-07 | 深圳市飞图视讯有限公司 | A kind of screen mirror image method and device between mobile terminal |
CN106302389B (en) * | 2016-07-27 | 2019-09-10 | 北京海誉动想科技股份有限公司 | Electronic equipment audio sharing method and device |
CN106559690A (en) * | 2016-11-15 | 2017-04-05 | 武汉斗鱼网络科技有限公司 | The live method and system for throwing screen are realized based on multicast on a kind of intelligent television |
CN107040810A (en) * | 2017-04-25 | 2017-08-11 | 宇龙计算机通信科技(深圳)有限公司 | Multimedia projection method, terminal and display device |
CN107277609A (en) * | 2017-07-28 | 2017-10-20 | 广州爱拍网络科技有限公司 | Screen mirror image projective techniques, system, device and the film recording method of iOS device |
CN109842959A (en) * | 2017-09-08 | 2019-06-04 | 苏州必捷网络有限公司 | A kind of method that multiple iOS terminals are connected to a Linux terminal |
CN115442653A (en) * | 2022-07-27 | 2022-12-06 | 苏州华启智能科技有限公司 | Wireless screen projection method and device and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012155477A1 (en) * | 2011-10-24 | 2012-11-22 | 中兴通讯股份有限公司 | Digital television program sharing device and method, and set-top box |
CN103414783A (en) * | 2013-08-21 | 2013-11-27 | 乐视致新电子科技(天津)有限公司 | Method and device for data transmission |
CN203502950U (en) * | 2013-07-31 | 2014-03-26 | 江苏银铼电子科技有限公司 | Real-time same-screen mirroring system |
-
2015
- 2015-07-31 CN CN201510463591.0A patent/CN105142008B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012155477A1 (en) * | 2011-10-24 | 2012-11-22 | 中兴通讯股份有限公司 | Digital television program sharing device and method, and set-top box |
CN203502950U (en) * | 2013-07-31 | 2014-03-26 | 江苏银铼电子科技有限公司 | Real-time same-screen mirroring system |
CN103414783A (en) * | 2013-08-21 | 2013-11-27 | 乐视致新电子科技(天津)有限公司 | Method and device for data transmission |
Non-Patent Citations (1)
Title |
---|
关于AIEPLAY协议实现镜像功能研究;shareviews;《CSDN博客》;20140926;正文第2部分 * |
Also Published As
Publication number | Publication date |
---|---|
CN105142008A (en) | 2015-12-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105142008B (en) | A method of playing second terminal data using first terminal | |
US9148756B2 (en) | Output of content from the internet on a media rendering device | |
CN103368935B (en) | The method and apparatus that enhancing Wi-Fi display sessions are provided in Wi-Fi shows network | |
US8402498B2 (en) | Method and apparatus for controlling a set-top box based on device events | |
CN100421469C (en) | System and method for realizing video frequency information sharing | |
US10433020B2 (en) | Sharing mobile subscriber content in a publically viewable content distribution network | |
CN102638443A (en) | Method and system for sharing streaming media resources, and device with DLNA (Digital Living Network Alliance) function | |
US11410199B2 (en) | Reception apparatus, transmission apparatus, and data processing method | |
CN107534793B (en) | Receiving apparatus, transmitting apparatus, and data processing method | |
JP2007306570A (en) | Access of data resource using pause point | |
CN103596019B (en) | For showing the method and system of IPTV contents across screen | |
CN104604245B (en) | Time control is presented | |
WO2018103644A1 (en) | Live stream sharing method and device, home media apparatus, and data storage medium | |
US20210288735A1 (en) | Information processing apparatus, client apparatus, and data processing method | |
CN103414783A (en) | Method and device for data transmission | |
CN102143129A (en) | Method and system for realizing service protection in hyper text transmission protocol (HTTP) streaming transmission | |
CN109845276A (en) | Information processing unit and information processing method | |
CN103237265B (en) | The dynamic confirming method of internet television system and internet television terminal | |
WO2015039477A1 (en) | Information system, information delivery method and iptv system based on multi-screen interaction | |
CN107666617A (en) | A kind of method and set top box for being used to provide multiple terminals IPTV service | |
CN101505406A (en) | Video on demand method for cable TV network | |
JP7474347B2 (en) | Program playback method and device | |
CN101997841A (en) | Generating method and system of rich media scene and dynamic scene generating device | |
JP2012531863A5 (en) | ||
CN101287155B (en) | Method and system for discovering stream media service |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20181106 |