CN107277609A - Screen mirror image projective techniques, system, device and the film recording method of iOS device - Google Patents

Screen mirror image projective techniques, system, device and the film recording method of iOS device Download PDF

Info

Publication number
CN107277609A
CN107277609A CN201710633054.5A CN201710633054A CN107277609A CN 107277609 A CN107277609 A CN 107277609A CN 201710633054 A CN201710633054 A CN 201710633054A CN 107277609 A CN107277609 A CN 107277609A
Authority
CN
China
Prior art keywords
mirror image
screen mirror
airplay
ios device
screen
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.)
Pending
Application number
CN201710633054.5A
Other languages
Chinese (zh)
Inventor
钟方操
宋建文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Aipai Network Technology Co Ltd
Original Assignee
Guangzhou Aipai Network Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangzhou Aipai Network Technology Co Ltd filed Critical Guangzhou Aipai Network Technology Co Ltd
Priority to CN201710633054.5A priority Critical patent/CN107277609A/en
Publication of CN107277609A publication Critical patent/CN107277609A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Transforming Electric Information Into Light Information (AREA)

Abstract

The invention discloses a kind of screen mirror image projective techniques of iOS device, it includes simulating Airplay server ends in the PC equipment pre-set based on Airplay agreements;Receive the screen mirror image data that the iOS device for setting up session with the Airplay server ends is transmitted;Real time parsing is carried out to the screen mirror image data, with the display screen for enabling the screen mirror image data after parsing its corresponding screen mirror image to be shown in the PC equipment.Effectively the screen mirror image of the iOS device can be projected in the PC equipment of non-Apple Inc. by the screen mirror image projective techniques of the iOS device, be conducive to handling the screen mirror image data projected in PC equipment simultaneously, perform various mirror images, picture, operation of audio frequency and video etc..In addition, the invention also discloses a kind of screen mirror image projection system of iOS device, device and a kind of film recording method.

Description

Screen mirror image projective techniques, system, device and the film recording method of iOS device
Technical field
The present invention relates to computer disposal field, a kind of screen mirror image projective techniques more particularly, to iOS device, System, device and film recording method.
Background technology
Due to iOS closure, iOS device does not provide disclosed API and obtains its screen picture, and user can not realize pair The screen picture of current iOS device is recorded.
Meanwhile, the rise recorded a video with user live broadcast, the iOS device for occupying significant market carries out the live video recording of user's progress It is in great demand.
The content of the invention
The problem of to solve at least one above-mentioned aspect, the present invention proposes a kind of effectively by the screen mirror of iOS device As projecting in PC equipment, with the screen mirror for the iOS device that finally can the data of the screen mirror image be carried out with effective processing As projective techniques.
Meanwhile, present invention also offers the screen mirror image projection system and device of a kind of iOS device.
In addition, present invention also offers a kind of film recording side of the screen mirror image projective techniques based on the iOS device Method.
In order to realize the purpose of the present invention, adopt the following technical scheme that:
A kind of screen mirror image projective techniques of iOS device, including:
Airplay server ends are simulated in the PC equipment pre-set based on Airplay agreements;
Receive the screen mirror image data that the iOS device for setting up session with the Airplay server ends is transmitted;
Real time parsing is carried out to the screen mirror image data, to enable the screen mirror image data after parsing that its is corresponding Screen mirror image is shown to the display screen in the PC equipment.
Specifically, it is described to simulate Airplay server ends in the PC equipment pre-set based on Airplay agreements The step of, specifically include:
Obtain the key parameter of the Airplay agreements;
Airplay server ends are simulated in PC equipment according to the key parameter.
Specifically, before the step of obtaining the key parameter of the Airplay agreements, in addition to:
Information to the data transfer based on Airpaly agreements carries out packet capturing;
Analyze and determine the key parameter of the Airpaly agreements.
Specifically, the screen mirror transmitted in the iOS device received and session is set up at the Airplay server ends Before as the step of data or audio, video data, in addition to:
Serviced using Bonjour and carry out the Airplay server extensively in the LAN where its corresponding PC equipment Broadcast.
Specifically, the reception sets up the screen that the iOS device of session is transmitted with the Airplay server ends The step of mirror image data, specifically include:
In response to the connection request of the iOS device in the LAN;
Session is set up according to the connection request and the iOS device;
Receive the screen mirror image data that the iOS device is transmitted.
Specifically, the step of progress real time parsing to the screen mirror image data, is specifically included:
Using its corresponding ciphertext data of the AES encryption got, the screen mirror image data are decrypted;
Screen mirror image data after decryption are decoded.
Specifically, the acquisition modes of its corresponding ciphertext data of the AES encryption include:
Obtain the audio and video data streams Jing Guo AES encryption;
By reverse Apple TV firmwares repeatedly, ciphertext data of the AES encryption corresponding to it is obtained.
Meanwhile, present invention also offers a kind of film recording method, it includes:
IOS device is obtained to be projeced into using the screen mirror image projective techniques of the iOS device described in any of the above-described technical scheme Screen mirror image data in PC equipment;
On the display that screen mirror image corresponding to the screen mirror image data is presented in the PC equipment;
The screen mirror image is recorded a video using the record screen function of the PC equipment.
In addition, present invention also offers a kind of screen mirror image projection system of iOS device, including:
Analog module, for simulating Airplay server in the PC equipment pre-set based on Airplay agreements End;
Receiving module, the screen that the iOS device of session is transmitted is set up for receiving with the Airplay server ends Curtain mirror image data;
Parsing module, for carrying out real time parsing to the screen mirror image data, to cause the screen mirror image number after parsing According to the display screen that can be shown to its corresponding screen mirror image in the PC equipment.
Specifically, in the analog module, specifically include:
Acquiring unit, the key parameter for obtaining the Airplay agreements;
Analogue unit, for simulating Airplay server ends in PC equipment according to the key parameter.
Specifically, in the analog module, in addition to:
Packet capturing unit, packet capturing is carried out for the information to the data transfer based on Airpaly agreements;
Determining unit, the key parameter for analyzing and determining the Airpaly agreements.
In the receiving module, in addition to:
Radio unit, for being serviced using Bonjour by the Airplay server where its corresponding PC equipment LAN broadcasted.
Specifically, in the receiving module, specifically include:
Response unit, for the connection request in response to the iOS device in the LAN;
Unit is set up, for setting up session according to the connection request and the iOS device;
Receiving unit, for receiving the screen mirror image data that the iOS device is transmitted.
Specifically, in the parsing module, specifically include:
Decryption unit, for using AES encryption its corresponding ciphertext data got, to the screen mirror image data It is decrypted;
Decoding unit, for being decoded to the screen mirror image data after decryption.
Specifically, the acquisition modes of its corresponding ciphertext data of the AES encryption include:
Obtain the audio and video data streams Jing Guo AES encryption;
By reverse Apple TV firmwares repeatedly, ciphertext data of the AES encryption corresponding to it is obtained.
Finally, present invention also offers a kind of device, it includes:
Display, for display information editing interface, realizes man-machine interaction;
One or more processors;
Memory;
One or more application programs, wherein one or more of application programs are stored in the memory and quilt It is configured to by one or more of computing devices;
One or more of application programs are configurable for performing the iOS device described in any of the above-described technical scheme The step of screen mirror image projective techniques.
Compared with prior art, the solution of the present invention has advantages below:
1. in technical scheme, the Airplay server ends using Airplay protocol emulations are set using iOS The standby communication session with Airplay server ends, so that the screen mirror image data in iOS device are obtained, and then to having encrypted The parsing of screen mirror image data, final realize can be by the screen mirror image data projection on the ios device in PC equipment, together When, it is also beneficial to handle the screen mirror image data using the peculiar function in PC equipment.
2. in technical scheme, the key parameter of Airplay agreements is obtained, Airplay server are simulated End, effectively establishes the bridge of the communication between iOS device and PC equipment, so as to realize the screen mirror image in iOS device Data projection is in PC equipment.
The additional aspect of the present invention and advantage will be set forth in part in the description, and these will become from the following description Obtain substantially, or recognized by the practice of the present invention.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those skilled in the art, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached Figure.
Fig. 1 shows a kind of a kind of flow signal of embodiment of the screen mirror image projective techniques of ios device in the present invention Figure;
Fig. 2 shows a kind of a kind of structural representation of embodiment of the screen mirror image projection system of ios device in the present invention Figure;
Fig. 3 shows a kind of a kind of structural representation of embodiment of device in the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described.Obviously, described embodiment is only A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those skilled in the art are not having There is the every other embodiment made and obtained under the premise of creative work, belong to the scope of protection of the invention.
Such as Fig. 1, a kind of screen mirror image projective techniques of ios device in the present invention are shown.
The screen mirror image projective techniques of the iOS device include step S101, step S102, step S103.Wherein,
Step S101. simulates Airplay server ends based on Airplay agreements in the PC equipment pre-set.
Step S102. receives the screen mirror that the iOS device for setting up session with the Airplay server ends is transmitted As data.
Step S103. to the screen mirror image data carry out real time parsing, with enable parsing after screen mirror image data Its corresponding screen mirror image is shown to the display screen in the PC equipment.
The screen mirror image projective techniques of the iOS device effectively can set the screen mirror image projection PC in iOS device It is standby upper, the screen mirror image data are used, various pictures, audio frequency and video process operation is performed.
Airplay agreements are a kind of communications protocol based on wireless technology that Apple companies propose.Airplay agreements are simultaneously The communications protocol of dependent, it is the procotol composition based on some standardization, such as MulticastDNS, HTTP, RTSP And RTP.Using Airplay agreements, user can be by way of data cube computation (such as WIFI), by including in iOS device:Figure The data such as piece, audio, video and mirror image pass through on data connection to the equipment for supporting Airplay agreements.Meanwhile, it is described Airplay agreements also have image feature, the picture in the iOS devices such as iPhone, iPad can be wirelessly transmitted into its ad hoc It is standby upper.Currently in addition to the PC products and TV products of Apple companies, other PC equipment of in the market are not supported mostly Airplay agreements.
In order to realize in the screen mirror image data projection on the ios device to other PC equipment, with convenient Various picture audio frequency and video operations are realized using the screen mirror image data, it is necessary to build session between ios device and PC equipment to lead to The bridge of letter.
In the present embodiment, the communication that screen mirror image is projected between the iOS device and PC equipment is based on Airplay associations What the basis of view was realized.According to Airplay protocol emulation Airplay server ends in PC equipment, and iOS device then conduct Airplay client ends are connected and communicated with the PC equipment sessions.
Specifically, the step S101 includes:
Obtain the key parameter of the Airplay agreements;
Airplay server ends are simulated in PC equipment according to the key parameter.
It is understood that Airplay agreements are the proprietary protocols of Apple companies, the data do not increased income, therefore can not Directly according to Airplay protocol emulations Airplay server ends to set up the communication with the iOS device.But, can be indirectly right Analyzed based on the particular content during Airplay protocol communications, so that the key parameter of Airplay agreements is obtained, and Airplay server ends are finally simulated in PC equipment according to the key parameter.
In order to effectively obtain the key parameter of the Airplay agreements, a kind of specific scheme of the present embodiment In, before step S101, in addition to:
Information to the data transfer based on Airpaly agreements carries out packet capturing;
Analyze and determine the key parameter of the Airpaly agreements.
For example, after iOS mobile phones access wifi, can be sent from transmitting terminal and be broadcast to receiving terminal.In this process, packet capturing is used Instrument wireshark sets the related data of port, and packet capturing iOS mobile phones send data during broadcast.Wireshark can be traced The port of setting, the packet that the port sends out or received all can be shown above out in wireshark.As long as It is to have data flow to pass through the port, wireshark can receive the information of monitoring, including:Specific data transmission procedure and The information of the agreement used etc.Therefore it can analyze and determine the key parameter of the Airpaly agreements.
Specifically, step S102 includes:
In response to the connection request of the iOS device in the LAN;
Session is set up according to the connection request and the iOS device;
Receive the screen mirror image data that the iOS device is transmitted.
Airplay server ends have been simulated according to the key parameter of Airplay agreements in PC equipment, need by When the iOS device sets up call with PC equipment, iOS device can automatically search in current LAN and connect the PC Equipment.More precisely, based on Airplay agreements, the iOS device is now as Airplay client ends and simulation Airplay server set up session in end.After session is set up, the iOS device can transmit data to Airplay server ends Information, in the present embodiment, the iOS device can transmit screen mirror image data to the Airplay server ends.
In order to be able to accurately and timely set up session between iOS device and PC equipment.It is specific in one kind of the present embodiment In scheme, before step S102, in addition to:
Serviced using Bonjour and carry out the Airplay server extensively in the LAN where its corresponding PC equipment Broadcast.
Bonjour, also referred to as zero configuration are networked, and computer, equipment and the service on IP network can be found automatically.Bonjour Allow automatic device discovery using the IP agreement of industrial standard each other, without inputting IP address or configuration dns server.
For example, in current LAN, there is iOS device A, iOS device B and PC equipment.When the LAN is in During networking state, using Bonjour services by the PC device broadcasts, the iOS device A, the iOS device B can be automatic It was found that and connecting the PC equipment.When setting certain parameter, if the LAN adds ios device C, iOS device C After the LAN is added, session will be set up with the PC equipment, it is convenient, fast.
It is worth noting that, after session of the iOS device with the Airplay server ends of simulation is set up, although described IOS device can be by its screen mirror image data transfer to the Airplay server ends.But due to the video sound of the agreement Frequency is passed by encrypted transmission, it is therefore desirable to obtain the key of decryption, effectively could may only display in Apple public affairs by original The PC equipment of department or Apple TV screen mirror image, can also be shown in other PC equipment.
Accordingly, it would be desirable to perform the step S103:Real time parsing is carried out to the screen mirror image data, to cause after parsing Screen mirror image data its corresponding screen mirror image can be shown to the display screen in the PC equipment.
In the step S103 of the present invention more specifically implementation process, it includes:
Using its corresponding ciphertext data of the AES encryption got, the screen mirror image data are decrypted;
Screen mirror image data after decryption are decoded.
In Airplay agreements, the cipher mode of the audio/video flow is AES encryption.Accordingly, it would be desirable to the solution of AES encryption Ciphertext data could effectively parse the screen mirror image data, so as to realize the screen mirror image progress for acquisition of being started to write from iOS On the screen for projecting PC equipment.Set up after session, the audio/video flow of the encryption in iOS device, screen mirror image data are assisted by RTP View is transferred to the Airplay server ends.Then using the ciphertext data got, decryption processing output audio, Video flowing, screen mirror image data etc., then the audio after the decryption, video flowing, screen mirror image data are decoded, and can obtain original Beginning audio, video data, screen mirror image data, finally and to the original audio, video data, screen mirror image data carry out any place Reason.
The acquisition modes of its corresponding ciphertext data of AES encryption include:
Obtain the audio and video data streams Jing Guo AES encryption;
By reverse Apple TV firmwares repeatedly, ciphertext data of the AES encryption corresponding to it is obtained.
In the present embodiment, by obtaining the key parameter of the Airplay, while simulating server ends and client End, and allow and communicated between server ends and client ends, obtain the audio, video data or screen mirror image by AES encryption Data etc., by reverse Apple TV firmwares repeatedly, so as to effectively extrapolate ciphertext data.Can have using the ciphertext data Effect ground is by acquired screen mirror image data deciphering, so that the screen mirror image data after obtaining the coding of unencryption.
To sum up, screen mirror image projective techniques of iOS device of the invention, the Airplay using Airplay protocol emulations Server ends, using iOS device and the communication session at Airplay server ends, so as to obtain the screen mirror in iOS device Parsed as data, and then to the screen mirror image data encrypted, final realize can be by the screen mirror image data in the iOS device It is incident upon in PC equipment, meanwhile, it is also beneficial to handle the screen mirror image data using the peculiar function in PC equipment.
Meanwhile, present invention also offers a kind of film recording method, it includes step S104-S106.Wherein,
Step S104. obtains screen mirror image projection side of the iOS device using the iOS device described in any of the above-described technical scheme Method is projeced into the screen mirror image data in PC equipment.
Screen mirror image corresponding to the screen mirror image data is presented in the display of the PC equipment by step S105. On;
Step S106. is recorded a video using the record screen function of the PC equipment to the screen mirror image.
It is understood that using the screen mirror image projective techniques of the iOS device, can be by the iOS under same LAN Equipment and PC equipment set up session, so that by the screen mirror image data projection of iOS device to PC equipment, so as to utilize PC equipment Record screen function the screen-picture corresponding to the screen mirror image data is recorded, or its plug-flow is live, effective iOS The problem of equipment can not carry out film recording
For example, when the player in iOS device is playing game, the screen mirror image of its iOS device can be projected it by the player In his PC equipment, ongoing game picture is recorded a video in the PC equipment, iOS device is efficiently solved not The problem of film recording being carried out.
In addition, as shown in Fig. 2 present invention also offers a kind of screen projection system based on iOS device.
The screen mirror image projection system of the iOS device includes analog module 101, receiving module 102, parsing module 103. Wherein,
Analog module 101, for simulating Airplay in the PC equipment pre-set based on Airplay agreements Server ends.
Receiving module 102, is transmitted for receiving the iOS device for setting up session with the Airplay server ends Screen mirror image data.
Parsing module 103, for carrying out real time parsing to the screen mirror image data, to cause the screen mirror image after parsing Its corresponding screen mirror image can be shown to the display screen in the PC equipment by data.
The screen mirror image projection system of the iOS device effectively can set the screen mirror image projection PC in iOS device It is standby upper, the screen mirror image data are used, various pictures, audio frequency and video process operation is performed.
Airplay agreements are a kind of communications protocol based on wireless technology that Apple companies propose.Airplay agreements are simultaneously The communications protocol of dependent, it is the procotol composition based on some standardization, such as MulticastDNS, HTTP, RTSP And RTP.Using Airplay agreements, user can be by way of data cube computation (such as WIFI), by including in iOS device:Figure The data such as piece, audio, video and mirror image pass through on data connection to the equipment for supporting Airplay agreements.Meanwhile, it is described Airplay agreements also have image feature, the picture in the iOS devices such as iPhone, iPad can be wirelessly transmitted into its ad hoc It is standby upper.Currently in addition to the PC products and TV products of Apple companies, other PC equipment of in the market are not supported mostly Airplay agreements.
In order to realize in the screen mirror image data projection in the iOS device to other PC equipment, with convenient Various picture audio frequency and video operations are realized using the screen mirror image data, it is necessary to build session between ios device and PC equipment to lead to The bridge of letter.
In the present embodiment, the communication that screen mirror image is projected between the iOS device and PC equipment is based on Airplay associations What the basis of view was realized.Using analog module 101 according to Airplay protocol emulation Airplay server ends in PC equipment, And iOS device is then connected and communicated with the PC equipment sessions as Airplay client ends.
Specifically, the analog module 101 includes:
Acquiring unit, the key parameter for obtaining the Airplay agreements;
Analogue unit, for simulating Airplay server ends in PC equipment according to the key parameter.
It is understood that Airplay agreements are the proprietary protocols of Apple companies, the data do not increased income, therefore simulation Module 101 directly can not set up the communication with the iOS device according to Airplay protocol emulations Airplay server ends. But, can be indirectly to being analyzed based on the particular content during Airplay protocol communications, so as to be obtained using acquiring unit The key parameter of Airplay agreements, and Airplay in PC equipment is finally simulated according to the key parameter using analogue unit Server ends.
In order to effectively obtain the key parameter of the Airplay agreements, a kind of specific scheme of the present embodiment In, in analog module 101, in addition to:
Packet capturing unit, packet capturing is carried out for the information to the data transfer based on airpaly agreements;
Determining unit, the key parameter for analyzing and determining the airpaly agreements.
For example, after iOS mobile phones access wifi, can be sent from transmitting terminal and be broadcast to receiving terminal.In this process, packet capturing list Member sets the related data of port with packet catcher wireshark, and packet capturing iOS mobile phones send data during broadcast. The traceable ports set of wireshark, the packet that the port sends out or received all can be on wireshark Show.As long as there is data flow to pass through the port, wireshark can receive the information of monitoring, including:Specifically The information of data transmission procedure and the agreement that uses etc.It is thus determined that unit can be analyzed and determine the airpaly agreements Key parameter.
Specifically, receiving module 102 includes:
Response unit, for the connection request in response to the iOS device in the LAN;
Unit is set up, for setting up session according to the connection request and the iOS device;
Receiving unit, for receiving the screen mirror image data that the iOS device is transmitted.
Analog module 101 has simulated Airplay server according to the key parameter of Airplay agreements in PC equipment End, when needing the iOS device and PC equipment setting up call, iOS device can be searched for simultaneously automatically in current LAN The PC equipment in connection.More precisely, based on Airplay agreements, the iOS device is now as Airplay client Session is set up at end and the Airplay server ends of simulation.After session is set up, the iOS device can be to Airplay server Transmitting data information is held, in the present embodiment, the iOS device can transmit screen mirror image number to the Airplay server ends According to.
In order to be able to accurately and timely set up session between iOS device and PC equipment.It is specific in one kind of the present embodiment In scheme, in receiving module, in addition to:
Radio unit, for being serviced using Bonjour by the Airplay server where its corresponding PC equipment LAN broadcasted.
Bonjour, also referred to as zero configuration are networked, and computer, equipment and the service on IP network can be found automatically.Bonjour Allow automatic device discovery using the IP agreement of industrial standard each other, without inputting IP address or configuration dns server.
For example, in current LAN, there is iOS device A, ios device B and PC equipment.When the LAN is in During networking state, using Bonjour services by the PC device broadcasts, the iOS device A, the iOS device B can be automatic It was found that and connecting the PC equipment.When setting certain parameter, if the LAN adds iOS device C, iOS device C After the LAN is added, session will be set up with the PC equipment, it is convenient, fast.
It is worth noting that, after session of the iOS device with the Airplay server ends of simulation is set up, although described IOS device can be by its screen mirror image data transfer to the Airplay server ends.But due to the video sound of the agreement Frequency is passed by encrypted transmission, it is therefore desirable to obtain the key of decryption, effectively could may only display in Apple public affairs by original The PC equipment of department or Apple TV screen mirror image, can also be shown in other PC equipment.
Accordingly, it would be desirable to perform the parsing module 103:Real time parsing is carried out to the screen mirror image data, to cause solution Its corresponding screen mirror image can be shown to the display screen in the PC equipment by the screen mirror image data after analysis.
In the more specifically implementation process of the module 103 of the present invention, it includes:
Decryption unit, for using AES encryption its corresponding ciphertext data got, to the screen mirror image data It is decrypted;
Decoding unit, for being decoded to the screen mirror image data after decryption.
In Airplay agreements, the cipher mode of the audio/video flow is AES encryption.Accordingly, it would be desirable to the solution of AES encryption Ciphertext data could effectively parse the screen mirror image data, so as to realize the screen mirror image progress for acquisition of being started to write from iOS On the screen for projecting PC equipment.Set up after session, the audio/video flow of the encryption in iOS device, screen mirror image data are assisted by RTP View is transferred to the Airplay server ends.Then decryption unit decryption processing output audio, video flowing, screen mirror image are utilized Data etc., recycle the decoding unit that the audio after the decryption, video flowing, screen mirror image data are decoded, and can obtained Original audio, video data, screen mirror image data, finally and to the original audio, video data, screen mirror image data carry out any place Reason.
The acquisition modes of its corresponding ciphertext data of AES encryption include:
Obtain the audio and video data streams Jing Guo AES encryption;
By reverse Apple TV firmwares repeatedly, ciphertext data of the AES encryption corresponding to it is obtained.
In the present embodiment, by obtaining the key parameter of the Airplay, while simulating server ends and client End, and allow and communicated between server ends and client ends, obtain the audio, video data or screen mirror image by AES encryption Data etc., by reverse Apple TV firmwares repeatedly, so as to effectively extrapolate ciphertext data.Can have using the ciphertext data Effect ground is by acquired screen mirror image data deciphering, so that the screen mirror image data after obtaining the coding of unencryption.
To sum up, the screen mirror image projection system of ios device of the invention, the Airplay using Airplay protocol emulations Server ends, using iOS device and the communication session at Airplay server ends, so as to obtain the screen mirror in iOS device Parsed as data, and then to the screen mirror image data encrypted, final realize can be by the screen mirror image data on the ios device It is incident upon in PC equipment, meanwhile, it is also beneficial to handle the screen mirror image data using the peculiar function in PC equipment.
Finally, as shown in figure 3, present invention also offers a kind of device, it includes:
Display, for display information editing interface, realizes man-machine interaction;
One or more processors;
Memory;
One or more application programs, wherein one or more of application programs are stored in the memory and quilt It is configured to by one or more of computing devices;
One or more of application programs are configurable for performing the iOS device described in any of the above-described technical scheme The step of screen mirror image projective techniques.
Wherein, memory 10 can be used for storage software program and module, and processor 20 is stored in memory by operation 10 software program and module, so as to perform various function application and the data processing of the identifying system.Memory 10 Storing program area and storage data field can mainly be included, wherein, storing program area can storage program area, at least one function institute Application program needed etc.;Storage data field can be stored uses created data (such as audio number according to the identifying system According to, phone directory etc.) etc..In addition, memory 10 can include high-speed random access memory, non-volatile memories can also be included Device, for example, at least one disk memory, flush memory device or other volatile solid-state parts.
The processor 20 is the control centre of server, utilizes the whole server of various interfaces and connection Various pieces, by operation or perform and are stored in software program and/or module in memory 10, and call and be stored in storage Data in device 10, perform the various functions and processing data of the server, so as to carry out integral monitoring to the server. Optionally, processor 20 may include one or more processing units;It is preferred that, processor 20 can integrated application processor and modulation Demodulation processor, wherein, application processor mainly handles operating system, user interface and application program etc., modulation /demodulation processing Device mainly handles radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 20.
Can be with one of ordinary skill in the art will appreciate that realizing that all or part of step in above-described embodiment method is The hardware of correlation is instructed to complete by program, described program can be stored in a kind of computer-readable recording medium, on It can be read-only storage, disk or CD etc. to state the storage medium mentioned.
Above to screen mirror image projective techniques, system, device and the film recording of a kind of ios device provided by the present invention Method is described in detail, for those of ordinary skill in the art, according to the thought of the embodiment of the present invention, in specific implementation It will change in mode and application, in summary, this specification content should not be construed as limiting the invention.

Claims (10)

1. a kind of screen mirror image projective techniques of iOS device, it is characterised in that including:
Airplay server ends are simulated in the PC equipment pre-set based on Airplay agreements;
Receive the screen mirror image data that the iOS device for setting up session with the Airplay server ends is transmitted;
Real time parsing is carried out to the screen mirror image data, to enable the screen mirror image data after parsing by its corresponding screen Mirror image is shown to the display screen in the PC equipment.
2. the screen mirror image projective techniques of iOS device according to claim 1, it is characterised in that described to be based on Airplay The step of agreement simulates Airplay server ends in the PC equipment pre-set, specifically includes:
Obtain the key parameter of the Airplay agreements;
Airplay server ends are simulated in PC equipment according to the key parameter.
3. the screen mirror image projective techniques of iOS device according to claim 2, it is characterised in that described obtaining Before the step of key parameter of Airplay agreements, in addition to:
Information to the data transfer based on Airpaly agreements carries out packet capturing;
Analyze and determine the key parameter of the Airpaly agreements.
4. the screen mirror image projective techniques of iOS device according to claim 1, it is characterised in that receive with it is described The step of screen mirror image data or audio, video data that the iOS device that Airplay server set up at end session is transmitted it Before, in addition to:
The Airplay server are broadcasted in the LAN where its corresponding PC equipment using Bonjour services.
5. the screen mirror image projective techniques of iOS device according to claim 4, it is characterised in that the reception with it is described The step of screen mirror image data that the iOS device that Airplay server set up at end session is transmitted, specifically include:
In response to the connection request of the iOS device in the LAN;
Session is set up according to the connection request and the iOS device;
Receive the screen mirror image data that the iOS device is transmitted.
6. the screen mirror image projective techniques of iOS device according to claim 1, it is characterised in that described to the screen The step of mirror image data carries out real time parsing, specifically includes:
Using its corresponding ciphertext data of the AES encryption got, the screen mirror image data are decrypted;
Screen mirror image data after decryption are decoded.
7. the screen mirror image projective techniques of iOS device according to claim 6, it is characterised in that its is right for the AES encryption The acquisition modes for the ciphertext data answered include:
Obtain the audio and video data streams Jing Guo AES encryption;
By reverse Apple TV firmwares repeatedly, ciphertext data of the AES encryption corresponding to it is obtained.
8. a kind of film recording method, it is characterised in that including:
Obtain iOS device and be projeced into PC using the screen mirror image projective techniques of the iOS device described in claim 1-7 any one Screen mirror image data in equipment;
On the display that screen mirror image corresponding to the screen mirror image data is presented in the PC equipment;
The screen mirror image is recorded a video using the record screen function of the PC equipment.
9. a kind of screen mirror image projection system of iOS device, it is characterised in that including:
Analog module, for simulating Airplay server ends in the PC equipment pre-set based on Airplay agreements;
Receiving module, for receiving the screen mirror that the iOS device for setting up session with the Airplay server ends is transmitted As data;
Parsing module, for the screen mirror image data carry out real time parsing, with enable parsing after screen mirror image data Its corresponding screen mirror image is shown to the display screen in the PC equipment.
10. a kind of device, it is characterised in that including:
Display, for display information editing interface, realizes man-machine interaction;
One or more processors;
Memory;
One or more application programs, wherein one or more of application programs are stored in the memory and are configured For by one or more of computing devices;
One or more of application programs are configurable for the iOS device described in any one in perform claim requirement 1 to 7 Screen mirror image projective techniques the step of.
CN201710633054.5A 2017-07-28 2017-07-28 Screen mirror image projective techniques, system, device and the film recording method of iOS device Pending CN107277609A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710633054.5A CN107277609A (en) 2017-07-28 2017-07-28 Screen mirror image projective techniques, system, device and the film recording method of iOS device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710633054.5A CN107277609A (en) 2017-07-28 2017-07-28 Screen mirror image projective techniques, system, device and the film recording method of iOS device

Publications (1)

Publication Number Publication Date
CN107277609A true CN107277609A (en) 2017-10-20

Family

ID=60074404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710633054.5A Pending CN107277609A (en) 2017-07-28 2017-07-28 Screen mirror image projective techniques, system, device and the film recording method of iOS device

Country Status (1)

Country Link
CN (1) CN107277609A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111698571A (en) * 2019-11-06 2020-09-22 深圳乐播科技有限公司 Public network mirroring method, terminal and computer readable storage medium
CN111918119A (en) * 2020-07-24 2020-11-10 深圳乐播科技有限公司 IOS system data screen projection method, device, equipment and storage medium
CN114793291A (en) * 2022-01-25 2022-07-26 深圳软牛科技有限公司 IOS multi-device real-time screen projection method and system, computer device and storage medium
CN116136751A (en) * 2023-04-04 2023-05-19 北京智象信息技术有限公司 Mirror image method for cross-operating system of primary screen and secondary screen

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130150025A1 (en) * 2011-12-08 2013-06-13 Lite-On Technology Corp. Docking device with telephone exchange function
CN103414894A (en) * 2013-07-29 2013-11-27 上海凯统信息科技有限公司 Wireless real-time screen transfer equipment and method
CN105142008A (en) * 2015-07-31 2015-12-09 中国科学院声学研究所 Method for playing second terminal data with first terminal
CN106792108A (en) * 2016-12-02 2017-05-31 腾讯科技(深圳)有限公司 Screen recording method and device
CN106970849A (en) * 2017-05-17 2017-07-21 北京奇艺世纪科技有限公司 A kind of on-screen data preparation method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130150025A1 (en) * 2011-12-08 2013-06-13 Lite-On Technology Corp. Docking device with telephone exchange function
CN103414894A (en) * 2013-07-29 2013-11-27 上海凯统信息科技有限公司 Wireless real-time screen transfer equipment and method
CN105142008A (en) * 2015-07-31 2015-12-09 中国科学院声学研究所 Method for playing second terminal data with first terminal
CN106792108A (en) * 2016-12-02 2017-05-31 腾讯科技(深圳)有限公司 Screen recording method and device
CN106970849A (en) * 2017-05-17 2017-07-21 北京奇艺世纪科技有限公司 A kind of on-screen data preparation method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
白錵錵: "关于airplay协议实现镜像功能研究", 《CSDN论坛,HTTPS://BLOG.CSDN.NET/BXJIE/ARTICLE/DETAILS/39581565》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111698571A (en) * 2019-11-06 2020-09-22 深圳乐播科技有限公司 Public network mirroring method, terminal and computer readable storage medium
CN111698571B (en) * 2019-11-06 2022-03-18 深圳乐播科技有限公司 Public network mirroring method, terminal and computer readable storage medium
CN111918119A (en) * 2020-07-24 2020-11-10 深圳乐播科技有限公司 IOS system data screen projection method, device, equipment and storage medium
CN111918119B (en) * 2020-07-24 2021-06-08 深圳乐播科技有限公司 IOS system data screen projection method, device, equipment and storage medium
CN114793291A (en) * 2022-01-25 2022-07-26 深圳软牛科技有限公司 IOS multi-device real-time screen projection method and system, computer device and storage medium
CN114793291B (en) * 2022-01-25 2023-11-07 深圳软牛科技有限公司 IOS multi-device real-time screen projection method, system, computer device and storage medium
CN116136751A (en) * 2023-04-04 2023-05-19 北京智象信息技术有限公司 Mirror image method for cross-operating system of primary screen and secondary screen

Similar Documents

Publication Publication Date Title
CN107277609A (en) Screen mirror image projective techniques, system, device and the film recording method of iOS device
US8621098B2 (en) Method and apparatus for providing media content using a mobile device
US10034057B2 (en) Message processing method, device, gateway, STB and IPTV
US20090207905A1 (en) Communication processing device, data communication system, method, and computer program
EP4007374A1 (en) Information processing method and apparatus, communication device and storage medium
CN104954633A (en) Live broadcasting instruction method, client and system
WO2020006912A1 (en) Method and device for analyzing network transmission quality, computer equipment and storage medium
CN104918105B (en) More screen playing methods, equipment and the system of media file
KR101647938B1 (en) Method and System for Providing Media Streaming By Interworking Heterogeneous Network through a Mobile Communication Network
CN105611398B (en) A kind of method and apparatus using Conditional Access Module network data
CN108965997B (en) Stream media live broadcasting method and device based on mobile vulnerable network environment
KR101774983B1 (en) Method, apparatus, and system for monitoring quality of ott video
CN102904939A (en) Method and associated device of screen sharing
CN114697733B (en) Screen-throwing audio and video data transmission method and related equipment
WO2017051069A1 (en) Method and system of identifying an access request of an application on a mobile device in a telecommunication network
Schwind et al. Dissecting the performance of YouTube video streaming in mobile networks
CN105959732A (en) Method and device for pushing television program
CN103442381A (en) Optimizing method, terminal and system of Wifi display
CN107197077B (en) Method, device and system for communication between devices
TWI634784B (en) Digital media content playing transfer method and application device thereof
US8219083B2 (en) Service roaming system and method
WO2014207899A1 (en) Communication device and communication method
CN108391161A (en) A kind of cross-platform wireless throwing screen method
JP4544029B2 (en) Portable terminal, streaming communication system, streaming communication method, and streaming communication program
CN106550493B (en) Media resource sharing method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171020