CN111918119B - IOS system data screen projection method, device, equipment and storage medium - Google Patents

IOS system data screen projection method, device, equipment and storage medium Download PDF

Info

Publication number
CN111918119B
CN111918119B CN202010725862.6A CN202010725862A CN111918119B CN 111918119 B CN111918119 B CN 111918119B CN 202010725862 A CN202010725862 A CN 202010725862A CN 111918119 B CN111918119 B CN 111918119B
Authority
CN
China
Prior art keywords
data
screen projection
type
data server
ios system
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.)
Active
Application number
CN202010725862.6A
Other languages
Chinese (zh)
Other versions
CN111918119A (en
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.)
Shenzhen Happycast Technology Co Ltd
Original Assignee
Shenzhen Happycast 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 Shenzhen Happycast Technology Co Ltd filed Critical Shenzhen Happycast Technology Co Ltd
Priority to CN202010725862.6A priority Critical patent/CN111918119B/en
Publication of CN111918119A publication Critical patent/CN111918119A/en
Application granted granted Critical
Publication of CN111918119B publication Critical patent/CN111918119B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • 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
    • 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)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention relates to the field of data screen projection, and discloses a screen projection method, device, equipment and storage medium for IOS system data. The method comprises the following steps: accessing a local area network, and inquiring a data server based on an IOS system in the local area network; judging whether a data server is inquired in a local area network or not; if the query cannot be carried out, the data server based on the IOS system is queried again in the local area network; if the query can be made, pairing the data server according to a preset transmission connection protocol to generate a pairing result; according to the pairing result, sending a connection verification instruction to the data server, and receiving first verification feedback information fed back by the data server; processing the first verification feedback information by using a preset feedback analysis rule to generate second verification feedback information; and establishing data transmission connection with the data server according to the second verification feedback information and the pairing result to obtain a transmission channel with the data server.

Description

IOS system data screen projection method, device, equipment and storage medium
Technical Field
The invention relates to the field of data screen projection, in particular to a screen projection method, device, equipment and storage medium for IOS system data.
Background
Today, the internet technology is continuously developed, the technology is continuously upgraded, the mobile smart phone is continuously popularized, people enjoy convenience brought by technical progress, and operating systems in the field of mobile intelligent terminals include Android, Linux, Windows, IOS and the like. The field of household appliances is advancing to the digitization and the intellectualization, and in the prior art, a television, a tablet, a computer and a projector can already support the data projection of a mobile intelligent terminal.
In the prior art, the IOS operating system is relatively closed, the IOS operating system supports data transmission with the IOS operating system, and data transmission with a non-IOS operating system in the IOS operating system is relatively difficult. Therefore, the screen projection of the mobile intelligent terminal of the IOS operating system on the non-IOS operating system cannot be realized, and a technology capable of solving the problem is needed.
Disclosure of Invention
The invention mainly aims to solve the technical problem that data of an IOS system cannot be projected on non-IOS system equipment.
The invention provides a screen projection method of IOS system data in a first aspect, which comprises the following steps:
accessing a local area network, and querying a data server based on an IOS system in the local area network;
judging whether the data server is inquired in the local area network or not;
if the query cannot be carried out, re-querying the data server based on the IOS system in the local area network;
if the query can be made, pairing the data server according to a preset transmission connection protocol to generate a pairing result;
sending a connection verification instruction to the data server according to the pairing result, and receiving first verification feedback information fed back by the data server;
processing the first verification feedback information by using a preset feedback analysis rule to generate second verification feedback information;
and establishing data transmission connection with the data server according to the second verification feedback information to obtain a transmission channel with the data server.
Optionally, in a first implementation manner of the first aspect of the present invention, after constructing a data transmission connection with the data server according to the second verification feedback information, and obtaining a transmission channel with the data server, the method further includes:
receiving a data screen projection request of the data server;
extracting screen projection data in the data screen projection request, and analyzing the screen projection data to obtain a screen projection data type corresponding to the screen projection data, wherein the screen projection data type comprises: picture type, slide type, audio and video type, list type;
and displaying the screen projection data according to the screen projection data type and a preset screen projection data processing rule to obtain display data corresponding to the screen projection data.
Optionally, in a second implementation manner of the first aspect of the present invention, when the screen projection data type is a picture type, the displaying the screen projection data according to the screen projection data type and a preset screen projection data processing rule, and obtaining display data corresponding to the screen projection data includes:
calling a picture processing rule in preset data screen projection processing rules based on the picture type;
judging whether the data screen projection request is a display request of a picture or not according to the picture processing rule;
if not, storing the screen projection data in a preset cache database;
if yes, analyzing a display address of a response protocol in the screen projection data, confirming the screen projection data as display data, displaying the display data in the display address, and sending state information to the data server.
Optionally, in a third implementation manner of the first aspect of the present invention, when the screen projection data type is a slide type, the performing display processing on the screen projection data according to the screen projection data type and a preset screen projection data processing rule to obtain display data corresponding to the screen projection data includes:
calling slide processing rules in preset data screen projection processing rules based on the slide types;
analyzing a response protocol corresponding to the screen projection data according to the slide processing rule to obtain slide picture data, picture display interval duration, slide picture playing sequence number and display address corresponding to the screen projection data;
capturing picture data from the slide picture data according to the slide picture playing sequence number and the frequency corresponding to the slide display interval duration;
confirming the picture data as display data, displaying the display data at the display address, and sending state information to the data server.
Optionally, in a fourth implementation manner of the first aspect of the present invention, when the screen projection data type is an audio/video type, the displaying the screen projection data according to the screen projection data type and a preset screen projection data processing rule, and obtaining display data corresponding to the screen projection data includes:
calling an audio and video processing rule in preset data screen projection processing rules based on the audio and video type;
reading a response protocol corresponding to the screen projection data according to the audio and video processing rule to obtain an audio and video playing address and an audio and video playing starting position corresponding to the screen projection data;
confirming the corresponding data of the audio and video playing starting position in the screen projection data as display data, displaying the display data at the audio and video playing address, and sending state information to the data server.
Optionally, in a fifth implementation manner of the first aspect of the present invention, when the screen projection data type is a list type, the displaying the screen projection data according to the screen projection data type and a preset screen projection data processing rule, and obtaining display data corresponding to the screen projection data includes:
calling a list processing rule in preset data screen projection processing rules based on the list type;
analyzing the format of the screen projection data according to the list processing rule, and judging whether the format is a loadable format or not;
if the format is not a loadable format, sending a data resending request based on the data screen projection request to the data server;
if the format is a loadable format, judging whether the format is a list insertion format;
if the format is a list insertion format, reading a response protocol corresponding to the screen projection data to obtain a first data screen projection link, adding the first data screen projection link into a preset play list, and sending state information to the data server;
and if the format is not the list insertion format, reading a response protocol corresponding to the screen projection data to obtain a second data screen projection link, deleting the second data screen projection link in a preset play list, and sending state information to the data server.
Optionally, in a sixth implementation manner of the first aspect of the present invention, after performing display processing on the screen projection data according to the type of the screen projection data and a preset screen projection data processing rule to obtain display data corresponding to the screen projection data, the method further includes:
receiving a control instruction sent by the data server, and analyzing the instruction type and instruction information in the control instruction;
calling a preset instruction response rule according to the instruction type;
and adjusting the display data according to the instruction response rule and the instruction information, and sending state information to the data server.
The second aspect of the present invention provides a screen projection device for IOS system data, including:
the query module is used for accessing a local area network and querying a data server based on the IOS system in the local area network;
the judging module is used for judging whether the data server is inquired in the local area network or not;
the rechecking module is used for rechecking the data server based on the IOS system in the local area network if the data server cannot be inquired;
the pairing module is used for pairing with the data server according to a preset transmission connection protocol if the data server can be inquired out, and generating a pairing result;
the verification module is used for sending a connection verification instruction to the data server according to the pairing result and receiving first verification feedback information fed back by the data server;
the analysis module is used for processing the first verification feedback information by using a preset feedback analysis rule to generate second verification feedback information;
and the construction module is used for constructing data transmission connection with the data server according to the second verification feedback information to obtain a transmission channel with the data server.
A third aspect of the present invention provides a screen projection device for IOS system data, including: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line; the at least one processor invokes the instructions in the memory to cause the screen projection device of the IOS system data to perform the screen projection method of the IOS system data described above.
A fourth aspect of the present invention provides a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to execute the above-mentioned screen projection method of IOS system data.
Drawings
FIG. 1 is a diagram of a first embodiment of a screen projection method for IOS system data according to an embodiment of the present invention;
FIG. 2 is a diagram of a second embodiment of a screen projection method for IOS system data according to the embodiment of the present invention;
FIG. 3 is a diagram of a third embodiment of a screen projection method for IOS system data according to an embodiment of the present invention;
FIG. 4 is a diagram of a fourth embodiment of a screen projection method for IOS system data according to the embodiment of the present invention;
FIG. 5 is a diagram of a fifth embodiment of a screen projection method for IOS system data according to the embodiment of the present invention;
FIG. 6 is a diagram of a sixth embodiment of a screen projection method for IOS system data according to the embodiment of the present invention;
FIG. 7 is a diagram of an embodiment of a screen projection device for IOS data in an embodiment of the present invention;
FIG. 8 is a schematic diagram of another embodiment of a screen projection device for IOS system data according to the present invention;
fig. 9 is a schematic diagram of an embodiment of a screen projection device for IOS system data in an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a screen projection method, a screen projection device, screen projection equipment and a storage medium for IOS system data, which are used for accessing a local area network and inquiring a data server based on an IOS system in the local area network; judging whether the data server is inquired in the local area network or not; if the query cannot be carried out, re-querying the data server based on the IOS system in the local area network; if the query can be made, pairing the data server according to a preset transmission connection protocol to generate a pairing result; sending a connection verification instruction to the data server according to the pairing result, and receiving first verification feedback information fed back by the data server; processing the first verification feedback information by using a preset feedback analysis rule to generate second verification feedback information; and establishing data transmission connection with the data server according to the second verification feedback information to obtain a transmission channel with the data server.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of understanding, a detailed flow of the embodiment of the present invention is described below, and referring to fig. 1, a first embodiment of the screen projection method for IOS system data in the embodiment of the present invention includes:
101. accessing a local area network, and inquiring a data server based on an IOS system in the local area network;
in this embodiment, the local area network uses a WiFi network, and the data server of the IOS system may be a computer, a mobile phone, a watch, or a tablet computer. In a specific embodiment, the handset device of the IOS system obtains an IP address and can be searched in the WiFi network using the AirPlay wireless technology and the WiFi connection technology. The invention is connected with a WiFi network, and inquires the data server in the WiFi network based on a DNS protocol in a TCP/IP protocol. The Content of the Airplay protocol can be { POST/fp-setup, X-Device-ID:07b5, Content-Type: application/event-stream, Content-Length: 16, ser-Agent: airPlay/190.3, Content-Length:142, Date: Wed Aug 0714: 45: 182013 }, wherein POST can be a surface source, X-Device-ID indicates the name of a Data server, ser-Agent indicates the Type of the Data server, Content-Length indicates the Length of Data transmission, Content-Type indicates the form of received Data, Content-Length indicates the Length of Content other than a header, and Data indicates the Date of Data reception.
102. Judging whether a data server is inquired in a local area network or not;
in this embodiment, whether the query result is obtained to obtain the IP address of the mobile phone device of the IOS system or not is determined, and whether the IP data of the mobile phone of the IOS system has been found or not can be determined by data information fed back by the mDNS protocol. If the returned result is null, it indicates that no related device is accessed in the WiFi network, and if the returned result is yes, it indicates that the data server to be matched exists in the WiFi network at present. In one embodiment, the data server to be matched may not be unique, and a free matching mode may be selected, and the present invention may traverse all servers according to a certain algorithm and filter out the servers that can be matched. In another embodiment, the searched data servers may be arranged in a list form, and matching is performed after the selection operation of the person is received.
103. If the query cannot be carried out, the data server based on the IOS system is queried again in the local area network;
in this embodiment, if the returned result is { Null }, the search is performed again on the connected WiFi network. In another embodiment, the unsearched local area networks may be discarded and all local area networks that can be searched in the location may be connected in turn.
104. If the query can be made, pairing the data server according to a preset transmission connection protocol to generate a pairing result;
in this embodiment, an IP address { 192.168.3.98255.255.255.1 } of a data server of the IOS system is queried according to a DNS protocol, matching is performed according to a pair-setup instruction of the HomeKit protocol, and a pairing result { outome: y, connect A: 192.168.3.98255.255.255.1, connect B: 192.168.3.98255.255.255.5, where outcontrol is the pairing result, connect a is the IP address of the matched IOS system device, and connect B is the IP address of the matched invention.
105. According to the pairing result, sending a connection verification instruction to the data server, and receiving first verification feedback information fed back by the data server;
in this embodiment, after the pairing result is qualified, the pair-verify instruction based on the HomeKit protocol sends a connection verification instruction to the IP address { 192.168.3.98255.255.255.1 } of the mobile phone device of the IOS system, where the connection verification instruction includes a connection number: XXSA! | A @ # 1224. According to connection number XXSA! | A @ #1224 matches the first validation feedback information fed back by the handset device of the IOS system.
106. Processing the first verification feedback information by using a preset feedback analysis rule to generate second verification feedback information;
in this embodiment, first verification feedback information fed back by the mobile phone device is obtained, the first verification feedback information is analyzed based on a rule of the HomeKit protocol, whether the first feedback information meets the requirement that the first feedback information is qualified is judged, then second verification feedback information is generated based on the first feedback information is qualified, the first verification feedback is completed based on a pair-verify instruction of the HomeKit protocol of the TCP/IP protocol, and the process cannot be realized by a common TCP/IP protocol.
107. And establishing data transmission connection with the data server according to the second verification feedback information to obtain a transmission channel with the data server.
In this embodiment, a pair-verify instruction based on the HomeKit protocol establishes a transmission connection with the mobile phone device of the IOS system according to the second verification feedback information, receives the returned data instruction through the initial instruction sent by the AirPlay or RAOP protocol, and finally completes establishment of the transmission channel. And the screen projection process of the non-IOS system to the IOS system data is realized by completing the establishment of channel transmission. When a channel is established, the conventional TCP/IP protocol cannot be used for signal communication due to the closed characteristic of the IOS system. The non-IOS system of the invention can be an operating system such as Android, Linux, Windows and the like.
In the embodiment of the invention, the matched IOS system data is projected to the display screen of the non-IOS system by using the DNS protocol technology in the local area network, so that the technical problem that the IOS system cannot project the screen in the non-IOS system is solved.
Referring to fig. 2, a second embodiment of the screen projection method for IOS system data according to the embodiment of the present invention includes:
201. accessing a local area network, and inquiring a data server based on an IOS system in the local area network;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
202. Judging whether a data server is inquired in a local area network or not;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
203. If the query cannot be carried out, the data server based on the IOS system is queried again in the local area network;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
204. If the query can be made, pairing the data server according to a preset transmission connection protocol to generate a pairing result;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
205. Sending a connection verification instruction to the data server according to the pairing result, and receiving first verification feedback information fed back by the data server;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
206. Processing the first verification feedback information by using a preset feedback analysis rule to generate second verification feedback information;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
207. According to the second verification feedback information, establishing data transmission connection with the data server to obtain a transmission channel with the data server;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
208. Receiving a data screen projection request of a data server;
in this embodiment, the IOS system mobile phone sends a data screen projection request through AirPlay or RAOP protocol, where the screen projection request includes screen projection data to be projected, and then the data type of the screen projection data, and these data may be recorded in the data screen projection request, or may be recorded in HTTP data.
209. Extracting screen projection data in the data screen projection request, analyzing the screen projection data, and obtaining a screen projection data type corresponding to the screen projection data, wherein the screen projection data type comprises: picture type, slide type, audio and video type, list type;
in this embodiment, after the data screen projection request is analyzed, the type of the read screen projection data is obtained, the screen projection type generally includes four types, namely a picture type, a slide type, an audio and video type, and a list type, the picture type is generally recorded in a response protocol HTTP, or the data can be written into SQL by using a mapping method, and then the data is extracted according to the data table mapping.
210. Based on the picture type, calling a picture processing rule in preset data screen projection processing rules;
in this embodiment, when the data table type is a picture type, the picture processing rule of the screen projection processing rule is read, and the data is called for processing after the picture processing rule is called. In this embodiment, there are four types of processing methods, namely, picture type, slide type, audio-video type, and list type, corresponding to the programs with numbers SSQ1, SSQ2, SSQ3, and SSQ 4.
211. Judging whether the data screen projection request is a display request of the picture or not according to the picture processing rule;
in this embodiment, the data screen projection request is a cache processing request and a display request for the picture processing request, and the data screen projection request is processed by determining the type.
212. If not, screen projection data are stored in a preset cache database;
in this embodiment, according to the picture key of the HEADER of the picture instruction HEADER, the data of the BODY of the interaction protocol is saved as a jpg format file to a local database or a storage medium for standby.
213. If so, analyzing the display address of the response protocol in the screen projection data, confirming the screen projection data as display data, displaying the display data in the display address, and sending state information to the data server.
In this embodiment, in order to display the picture with BODY data instructed in the request, the file is saved in a jpg format according to the feature number QAWEE1 of the picture with HEADER in the HTTP protocol, the file without BODY data is instructed, the cache region is searched according to the feature number QAWEE1 of the picture with HEADER in the instruction, the corresponding picture file saved in the cache region is found, and then the picture file is displayed in the screen device. And sending a 200 state code to the IOS mobile phone after the display is finished, wherein the 200 state code corresponds to information of successful display.
In the embodiment of the invention, the matched IOS system data is projected to the display screen of the non-IOS system by using the DNS protocol technology in the local area network, so that the technical problem that the IOS system cannot project the screen in the non-IOS system is solved.
Referring to fig. 3, a third embodiment of the screen projection method for IOS system data according to the embodiment of the present invention includes:
301. accessing a local area network, and inquiring a data server based on an IOS system in the local area network;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
302. Judging whether a data server is inquired in a local area network or not;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
303. If the query cannot be carried out, the data server based on the IOS system is queried again in the local area network;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
304. If the query can be made, pairing the data server according to a preset transmission connection protocol to generate a pairing result;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
305. According to the pairing result, sending a connection verification instruction to the data server, and receiving first verification feedback information fed back by the data server;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
306. Processing the first verification feedback information by using a preset feedback analysis rule to generate second verification feedback information;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
307. According to the second verification feedback information, establishing data transmission connection with the data server to obtain a transmission channel with the data server;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
308. Receiving a data screen projection request of a data server;
the method embodiment described in this embodiment is similar to the second embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
309. Extracting screen projection data in the data screen projection request, analyzing the screen projection data, and obtaining a screen projection data type corresponding to the screen projection data, wherein the screen projection data type comprises: picture type, slide type, audio and video type, list type;
the method embodiment described in this embodiment is similar to the second embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
310. Calling slide processing rules in preset data screen projection processing rules based on the slide types;
the method embodiment described in this embodiment is similar to the second embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
311. Analyzing a response protocol corresponding to the screen projection data according to the slide processing rule to obtain slide picture data, picture display interval duration, slide picture playing sequence number and display address corresponding to the screen projection data;
in this embodiment, HTTP protocol data in the screen projection data is read, and a series of data information such as slide picture data, a picture display interval duration, a slide picture play sequence number, and a display address is recorded in the HTTP protocol.
312. Capturing picture data from the slide picture data according to the slide picture playing sequence number and the frequency corresponding to the time length of the slide display interval;
in this embodiment, the receiving end creates a local slide picture player entity, and returns the loading state in plist format to the iOS system mobile phone reverse control connection through the AirPlay protocol; when the state is playing, regularly requesting slide picture data through the link according to the picture display interval; and analyzing the returned plist format data to obtain picture data and picture information, including picture id and feature code SSAD of the picture, and storing the picture to a local file according to the feature code SSAD.
313. The picture data is confirmed as display data, the display data is displayed at the display address, and the status information is sent to the data server.
In this embodiment, the saved local file is sent to the slide picture player for presentation, and the feature code SSAD sent by the AirPlay protocol returns the playing status in plist format on the reverse control connection. When the state is playing, the playing state in the plist format is returned to the iOS system mobile phone through the AirPlay protocol on the reverse control connection.
In the embodiment of the invention, the matched IOS system data is projected to the display screen of the non-IOS system by using the DNS protocol technology in the local area network, so that the technical problem that the IOS system cannot project the screen in the non-IOS system is solved.
Referring to fig. 4, a fourth embodiment of the screen projection method for IOS system data according to the embodiment of the present invention includes:
401. accessing a local area network, and inquiring a data server based on an IOS system in the local area network;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
402. Judging whether a data server is inquired in a local area network or not;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
403. If the query cannot be carried out, the data server based on the IOS system is queried again in the local area network;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
404. If the query can be made, pairing the data server according to a preset transmission connection protocol to generate a pairing result;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
405. Sending a connection verification instruction to the data server according to the pairing result, and receiving first verification feedback information fed back by the data server;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
406. Processing the first verification feedback information by using a preset feedback analysis rule to generate second verification feedback information;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
407. According to the second verification feedback information, establishing data transmission connection with the data server to obtain a transmission channel with the data server;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
408. Receiving a data screen projection request of a data server;
the method embodiment described in this embodiment is similar to the second embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
409. Extracting screen projection data in the data screen projection request, and analyzing the screen projection data to obtain a screen projection data type corresponding to the screen projection data;
the method embodiment described in this embodiment is similar to the second embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
410. Calling an audio and video processing rule in preset data screen projection processing rules based on the audio and video type;
the method embodiment described in this embodiment is similar to the second embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
411. Reading a response protocol corresponding to the screen projection data according to the audio and video processing rule to obtain an audio and video playing address and an audio and video playing starting position corresponding to the screen projection data;
in this embodiment, when the audio/video type is a text type, the Content-Location and Start-Position fields in the HTTP protocol are analyzed as the play address and the Start Position. When the audio and video type is a plist type, the plist format analyzes the BODY data, then analyzes the fields of Content-Location and Start-Location, analyzes the fields of host and path when the fields of Content-Location are empty, and generates a new field-Location as a result of the combination of the two fields as a play address and a play Start Position.
412. Confirming the corresponding data of the audio and video playing starting position in the screen projection data as display data, displaying the display data at the audio and video playing address, and sending state information to the data server.
In this embodiment, the playing address and the starting position are sent to the player entity, the player enters the playing state, and returns information of the playing state in plist format to the iOS system mobile phone through the AirPlay protocol.
In the embodiment of the invention, the matched IOS system data is projected to the display screen of the non-IOS system by using the DNS protocol technology in the local area network, so that the technical problem that the IOS system cannot project the screen in the non-IOS system is solved.
Referring to fig. 5, a fifth embodiment of the screen projection method for IOS system data according to the embodiment of the present invention includes:
501. accessing a local area network, and inquiring a data server based on an IOS system in the local area network;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
502. Judging whether a data server is inquired in a local area network or not;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
503. If the query cannot be carried out, the data server based on the IOS system is queried again in the local area network;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
504. If the query can be made, pairing the data server according to a preset transmission connection protocol to generate a pairing result;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
505. Sending a connection verification instruction to the data server according to the pairing result, and receiving first verification feedback information fed back by the data server;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
506. Processing the first verification feedback information by using a preset feedback analysis rule to generate second verification feedback information;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
507. According to the second verification feedback information, establishing data transmission connection with the data server to obtain a transmission channel with the data server;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
508. Receiving a data screen projection request of a data server;
the method embodiment described in this embodiment is similar to the second embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
509. Extracting screen projection data in the data screen projection request, and analyzing the screen projection data to obtain a screen projection data type corresponding to the screen projection data;
the method embodiment described in this embodiment is similar to the second embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
510. Calling a list processing rule in preset data screen projection processing rules based on the list type;
the method embodiment described in this embodiment is similar to the second embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
511. Analyzing the format of the screen projection data according to the list processing rule, and judging whether the format is a loadable format or not;
in this embodiment, it is determined first whether the list type format is loadable, and second whether the format is plug-in. The judgment implementation mode can use the label 1 to represent that the loading is possible, and the label 0 to represent that the loading is not possible. And after the category is read, character matching is carried out, and then the label corresponding to the character is input into the system for processing.
512. If the format is not a loadable format, sending a data resending request based on the data screen projection request to the data server;
in this embodiment, the list type is unhandledurresponse, which indicates a format of a sending effect that the player does not support playing and re-requesting for the list type.
513. If the format is a loadable format, judging whether the format is a list insertion format;
in this embodiment, the format is also determined by using a tag plus character matching method. The other mode, the mode corresponding to the data list, can also be used, the various formats correspond to data such as 001, 000, 101, etc., the format characters are read firstly, then the corresponding data are matched, and the corresponding data are input into the system for operation.
514. If the format is the format of list insertion, reading a response protocol corresponding to the screen projection data to obtain a first data screen projection link, adding the first data screen projection link into a preset play list, and sending state information to a data server;
in this embodiment, the list type is playlist, which indicates that a play link request is to be added, the item dictionary of the parameter params is parsed, Content-Location and Start-Position fields are obtained, when the Content-Location is empty, a host field and a path field are obtained through querying, the Content-Location is combined to serve as a play address and a play Start Position, a uuid field is parsed, a unique id number of the play task is obtained, the play link is added to a preset play list, and a play state in a plist format is returned to the iOS system mobile phone through an airplayer protocol.
515. And if the format is not the list insertion format, reading a response protocol corresponding to the screen projection data to obtain a second data screen projection link, deleting the second data screen projection link in the preset play list, and sending the state information to the data server.
In this embodiment, the list information type is playlist move, which indicates that a playlist link request is to be removed, the parameter item dictionary is parsed to obtain a uuid field, the corresponding playlist link task is determined to be stopped according to the uuid, the screen-casting connection is removed from the preset playlist, and the 200 status codes that the instruction processing is successful are returned to the iOS mobile phone system through the AirPlay protocol.
In the embodiment of the invention, the matched IOS system data is projected to the display screen of the non-IOS system by using the DNS protocol technology in the local area network, so that the technical problem that the IOS system cannot project the screen in the non-IOS system is solved.
Referring to fig. 6, a sixth embodiment of the screen projection method for IOS system data according to the embodiment of the present invention includes:
601. accessing a local area network, and inquiring a data server based on an IOS system in the local area network;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
602. Judging whether a data server is inquired in a local area network or not;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
603. If the query cannot be carried out, the data server based on the IOS system is queried again in the local area network;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
604. If the query can be made, pairing the data server according to a preset transmission connection protocol to generate a pairing result;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
605. Sending a connection verification instruction to the data server according to the pairing result, and receiving first verification feedback information fed back by the data server;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
606. Processing the first verification feedback information by using a preset feedback analysis rule to generate second verification feedback information;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
607. According to the second verification feedback information, establishing data transmission connection with the data server to obtain a transmission channel with the data server;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
608. Receiving a data screen projection request of a data server;
the method embodiment described in this embodiment is similar to the second embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
609. Extracting screen projection data in the data screen projection request, and analyzing the screen projection data to obtain a screen projection data type corresponding to the screen projection data;
the method embodiment described in this embodiment is similar to the second embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
610. Displaying the screen projection data according to the screen projection data type and preset screen projection data processing rules to obtain display data corresponding to the screen projection data;
in this embodiment, display processing is mainly performed on four types of screen projection data, namely, a picture type, a slide type, an audio/video type, and a list type, and the AirPlay protocol and internal screen projection data processing rules are used to load and display the screen projection data.
611. Receiving a control instruction sent by a data server, and analyzing the instruction type and instruction information in the control instruction;
in this embodiment, the IOS system handset may send: the method comprises the steps of playing progress inquiry command, playing state inquiry command, playing log inquiry command, playing position positioning command, playing pause control command, volume adjusting command, stopping command, SETUP setting command, RECORD recording command, FLUSH refreshing command, SET _ PARAMETER setting PARAMETER command, GET _ PARAMETER inquiry PARAMETER command, GET/info command and TEARDOWN stopping command, and specific types of commands and specific contents of command information sent by an IOS mobile phone are analyzed.
612. Calling a preset instruction response rule according to the instruction type;
in this embodiment, the response rule of the play progress query instruction is as follows: the 200 status code is returned by returning the length and progress information in text format via the AirPlay protocol.
Response rule of the play state query instruction: and returning information such as the video length, the current playing position, the playing address, the buffer interval, the locatable interval, the playing state, the UUID unique identifier of the current playing and the like in the plist format through the AirPlay protocol, and returning a 200 state code.
Response rule of play log query instruction: the playing error code information in plist format is returned through AirPlay protocol, and 200 state codes are returned.
Response rule of the play position positioning instruction: and processing the positioning information, and sending a 200 state code through an AirPlay protocol.
Response rule of play pause control command: pause the play by returning the 200 state code of AirPlay protocol.
Response rules for pause or start play instructions: analyzing a value in the control instruction, identifying 0.0 as pause playing, identifying 1.0 as start playing, and identifying other values as invalid instructions, and sending pause or start playing requests to an entity player; and transmitting the used or playing state in plist format through the reverse control connection of the AirPlay protocol, and returning to 200 state codes.
Response rule of volume adjustment instruction: and analyzing the volume value in the volume adjusting instruction, adjusting the volume value of the player and returning to the 200 state code.
Response rule of stop instruction: the playback is terminated and the 200 status code is returned via the AirPlay protocol.
SETUP sets the response rules for the instruction: analyzing ekey, eiv, sourceVersion, name, macAddress and model fields in a plist format to obtain 72 bytes of encrypted KEY data, 16 bytes of IV data, a version number, a mobile phone name, a mobile phone network card address and an equipment model; decrypting 72 bytes of KEY data to obtain a 16 byte AES decryption algorithm main KEY; suggesting TCP event local Socket interception, and acquiring an event TCP port number; suggesting UDP clock synchronization local Socket monitoring to obtain a clock synchronization UDP port number; and taking an event TCP port as a value of an eventPort field, taking a clock synchronization UDP port number as a value of a timeingPort field, combining the values into a dictionary array, forming an xml format character string, converting the xml format character string into a plist data format, and returning a 200 state code as a BODY BODY through an RAOP protocol.
Response rule of FLUSH command: and emptying buffer data established by the ALAC and the mirror image audio processing unit, and returning to 200 state codes.
SET _ PARAMETER SET PARAMETER instruction: analyzing the volume field value, when the volume field value is-144, showing silence, reducing by 20 times, and then taking pow index operation as a volume value; analyzing the sequence value of the progress field to obtain ALAC audio starting, current progress and total length information for updating a progress bar on UI interaction of an ALAC audio player; analyzing the field value of the Content Type of the protocol header Content-Type, and when the Type is image, acquiring body data as jpg format picture data, as a song cover of ALAC audio, and updating the song cover of UI interaction of the ALAC audio player; when the type is x-DMAP-tagged, acquiring body data, analyzing additional information such as album name, song name, singer name and the like according to the apple DMAP format, and updating song media information of UI interaction of the ALAC audio player; a 200 status code is returned.
Response rule of GET _ PARAMETER query PARAMETER instruction: obtaining the volume value of the ALAC audio player, amplifying by 20 times, taking a log logarithm operation result, and transferring the result to a character scurrying format; the volume value and 200 status codes are returned.
Response rule of configuration information (GET/info) instruction: collecting equipment and service configuration information, assembling information such as a service version number sourceVersion, a state flag status flag, a mac address, a deviceID, a service name, a protocol version number vv, a low-power-consumption mode flag keepaliverlowPower, a state information sending flag keepaliveSendStatsActisBody, a PK/PI value of Homekit pairing, an audio format audioFormats, an audio delay audioLatensines, a model, a service feature code features, a mirror image maximum frame rate screen FPSMax, display parameters and the like into a dictionary array in a plist format to serve as BODY data to be returned to a sending end, and meanwhile, taking 200 state codes.
Response rule for TEARDOWN stop command: analyzing an array dictionary of a plist format streams field, obtaining a streamConnectionID connection session ID and a type to be stopped, stopping a mirror image video unit, a mirror image audio unit or an ALAC audio unit corresponding to the connection session ID and the type according to the connection session ID and the type, and releasing related resources; when all the processing units are finished and released, stopping the clock synchronization processing unit and releasing resources; a 200 status code is returned.
613. And adjusting the display data according to the instruction response rule and the instruction information, and sending the state information to the data server.
In this embodiment, the display data is adjusted according to the response rule in step 611, and finally, information of processing completion is sent to the mobile phone of the IOS system, for example: and sending a 200 state code of the mobile phone of the IOS system to indicate that the processing of the display data in the command is finished.
In the embodiment of the invention, the matched IOS system data is projected to the display screen of the non-IOS system by using the DNS protocol technology in the local area network, so that the technical problem that the IOS system cannot project the screen in the non-IOS system is solved.
With reference to fig. 7, the screen projection method of IOS system data in the embodiment of the present invention is described above, and a screen projection device of IOS system data in the embodiment of the present invention is described below, where an embodiment of the screen projection device of IOS system data in the embodiment of the present invention includes:
the query module 701 is configured to access a local area network and query a data server based on an IOS system in the local area network;
a determining module 702, configured to determine whether to query the data server in the local area network;
a rechecking module 703, configured to, if the query cannot be performed, re-query the data server based on the IOS system in the local area network;
a pairing module 704, configured to, if the query result can be obtained, perform pairing processing with the data server according to a preset transmission connection protocol, and generate a pairing result;
the verification module 705 is configured to send a connection verification instruction to the data server according to the pairing result, and receive first verification feedback information fed back by the data server;
the analysis module 706 is configured to process the first verification feedback information by using a preset feedback analysis rule, and generate second verification feedback information;
a building module 707, configured to build a data transmission connection with the data server according to the second verification feedback information, so as to obtain a transmission channel with the data server.
In the embodiment of the invention, the matched IOS system data is projected to the display screen of the non-IOS system by using the DNS protocol technology in the local area network, so that the technical problem that the IOS system cannot project the screen in the non-IOS system is solved.
Referring to fig. 8, another embodiment of the screen projection device for IOS system data according to the embodiment of the present invention includes:
the query module 701 is configured to access a local area network and query a data server based on an IOS system in the local area network;
a determining module 702, configured to determine whether to query the data server in the local area network;
a rechecking module 703, configured to, if the query cannot be performed, re-query the data server based on the IOS system in the local area network;
a pairing module 704, configured to, if the query result can be obtained, perform pairing processing with the data server according to a preset transmission connection protocol, and generate a pairing result;
the verification module 705 is configured to send a connection verification instruction to the data server according to the pairing result, and receive first verification feedback information fed back by the data server;
the analysis module 706 is configured to process the first verification feedback information by using a preset feedback analysis rule, and generate second verification feedback information;
a building module 707, configured to build a data transmission connection with the data server according to the second verification feedback information, so as to obtain a transmission channel with the data server.
The screen projection device of the IOS system data further includes a screen projection processing module 7083, and the screen projection processing module 708 includes:
a receiving unit 7081, configured to receive a data screen projection request of the data server;
an extracting unit 7082, configured to extract the screen projection data in the data screen projection request, and analyze the screen projection data to obtain a screen projection data type corresponding to the screen projection data, where the screen projection data type includes: picture type, slide type, audio and video type, list type;
the display unit 7083 is configured to perform display processing on the screen projection data according to the type of the screen projection data and a preset screen projection data processing rule, so as to obtain display data corresponding to the screen projection data.
Optionally, the display unit 7083 is specifically configured to:
calling a picture processing rule in preset data screen projection processing rules based on the picture type;
judging whether the data screen projection request is a display request of a picture or not according to the picture processing rule;
if not, storing the screen projection data in a preset cache database;
if yes, analyzing a display address of a response protocol in the screen projection data, confirming the screen projection data as display data, displaying the display data in the display address, and sending state information to the data server.
Optionally, the display unit 7083 may be further specifically configured to:
calling slide processing rules in preset data screen projection processing rules based on the slide types;
analyzing a response protocol corresponding to the screen projection data according to the slide processing rule to obtain slide picture data, picture display interval duration, slide picture playing sequence number and display address corresponding to the screen projection data;
capturing picture data from the slide picture data according to the slide picture playing sequence number and the frequency corresponding to the slide display interval duration;
confirming the picture data as display data, displaying the display data at the display address, and sending state information to the data server.
Optionally, the display unit 7083 may be further specifically configured to:
calling an audio and video processing rule in preset data screen projection processing rules based on the audio and video type;
reading a response protocol corresponding to the screen projection data according to the audio and video processing rule to obtain an audio and video playing address and an audio and video playing starting position corresponding to the screen projection data;
confirming the corresponding data of the audio and video playing starting position in the screen projection data as display data, displaying the display data at the audio and video playing address, and sending state information to the data server.
Optionally, the display unit 7083 may be further specifically configured to:
calling a list processing rule in preset data screen projection processing rules based on the list type;
analyzing the format of the screen projection data according to the list processing rule, and judging whether the format is a loadable format or not;
if the format is not a loadable format, sending a data resending request based on the data screen projection request to the data server;
if the format is a loadable format, judging whether the format is a list insertion format;
if the format is a list insertion format, reading a response protocol corresponding to the screen projection data to obtain a first data screen projection link, adding the first data screen projection link into a preset play list, and sending state information to the data server;
and if the format is not the list insertion format, reading a response protocol corresponding to the screen projection data to obtain a second data screen projection link, deleting the second data screen projection link in a preset play list, and sending state information to the data server.
The screen projection device of the IOS system data further includes an instruction response module 709, where the instruction response module 709 is specifically configured to:
receiving a control instruction sent by the data server, and analyzing the instruction type and instruction information in the control instruction;
calling a preset instruction response rule according to the instruction type;
and adjusting the display data according to the instruction response rule and the instruction information, and sending state information to the data server.
In the embodiment of the invention, the matched IOS system data is projected to the display screen of the non-IOS system by using the DNS protocol technology in the local area network, so that the technical problem that the IOS system cannot project the screen in the non-IOS system is solved.
Fig. 7 and 8 describe the screen projection device of the IOS system data in the embodiment of the present invention in detail from the perspective of the modular functional entity, and the screen projection device of the IOS system data in the embodiment of the present invention in detail from the perspective of hardware processing.
Fig. 9 is a schematic structural diagram of a screen projection apparatus for IOS system data, where the screen projection apparatus 900 for IOS system data may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 910 (e.g., one or more processors) and a memory 920, and one or more storage media 930 (e.g., one or more mass storage devices) storing an application 933 or data 932. Memory 920 and storage media 930 may be, among other things, transient storage or persistent storage. The program stored on storage medium 930 may include one or more modules (not shown), each of which may include a series of instruction operations in the screen projection device 900 for IOS system data. Still further, processor 910 may be configured to communicate with storage medium 930 to display 970 a screen for visually presenting IOS system data, and to execute a series of instruction operations in storage medium 930 on screen projection device 900 of IOS system data.
The IOS system data based screen projection apparatus 900 may also include one or more power supplies 940, one or more wired or wireless network interfaces 950, one or more input-output interfaces 960, and/or one or more operating systems 931, such as Windows server, Mac OS X, Unix, Linux, FreeBSD, and so forth. Those skilled in the art will appreciate that the configuration of the IOS system data projection device shown in fig. 9 does not constitute a limitation of IOS system data based projection devices and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium, and may also be a volatile computer-readable storage medium, having stored therein instructions, which, when executed on a computer, cause the computer to perform the steps of the method for projecting a screen of IOS system data.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. A screen projection method of IOS system data is characterized by comprising the following steps:
accessing a local area network, and querying a data server based on an IOS system in the local area network;
judging whether the data server is inquired in the local area network or not;
if the query cannot be carried out, re-querying the data server based on the IOS system in the local area network;
if the query can be made, pairing the data server according to a preset transmission connection protocol to generate a pairing result;
sending a connection verification instruction to the data server according to the pairing result, and receiving first verification feedback information fed back by the data server;
processing the first verification feedback information by using a preset feedback analysis rule to generate second verification feedback information;
according to the second verification feedback information, establishing data transmission connection with the data server, and establishing a transmission channel connected with the data server;
receiving a data screen projection request of the data server;
extracting screen projection data in the data screen projection request, and analyzing the screen projection data to obtain a screen projection data type corresponding to the screen projection data, wherein the screen projection data type comprises: a picture type, or a slide type, or an audio-video type, or a list type;
and displaying the screen projection data according to the screen projection data type and a preset screen projection data processing rule to obtain display data corresponding to the screen projection data.
2. The IOS system data screen projection method of claim 1, wherein when the screen projection data type is a picture type, the displaying the screen projection data according to the screen projection data type and a preset screen projection data processing rule to obtain display data corresponding to the screen projection data comprises:
calling a picture processing rule in preset data screen projection processing rules based on the picture type;
judging whether the data screen projection request is a display request of a picture or not according to the picture processing rule;
if not, storing the screen projection data in a preset cache database;
if yes, analyzing a display address of a response protocol in the screen projection data, confirming the screen projection data as display data, displaying the display data in the display address, and sending state information to the data server.
3. The IOS system data screen projection method of claim 1, wherein when the screen projection data type is a slide type, the displaying the screen projection data according to the screen projection data type and preset screen projection data processing rules to obtain the display data corresponding to the screen projection data comprises:
calling slide processing rules in preset data screen projection processing rules based on the slide types;
analyzing a response protocol corresponding to the screen projection data according to the slide processing rule to obtain slide picture data, picture display interval duration, slide picture playing sequence number and display address corresponding to the screen projection data;
capturing picture data from the slide picture data according to the slide picture playing sequence number and the frequency corresponding to the slide display interval duration;
confirming the picture data as display data, displaying the display data at the display address, and sending state information to the data server.
4. The IOS system data screen projection method of claim 1, wherein when the screen projection data type is an audio/video type, the screen projection data is subjected to display processing according to the screen projection data type and a preset screen projection data processing rule to obtain display data corresponding to the screen projection data comprises:
calling an audio and video processing rule in preset data screen projection processing rules based on the audio and video type;
reading a response protocol corresponding to the screen projection data according to the audio and video processing rule to obtain an audio and video playing address and an audio and video playing starting position corresponding to the screen projection data;
confirming the corresponding data of the audio and video playing starting position in the screen projection data as display data, displaying the display data at the audio and video playing address, and sending state information to the data server.
5. The IOS system data screen projection method of claim 1, wherein when the screen projection data type is a list type, the displaying the screen projection data according to the screen projection data type and a preset screen projection data processing rule to obtain display data corresponding to the screen projection data comprises:
calling a list processing rule in preset data screen projection processing rules based on the list type;
analyzing the format of the screen projection data according to the list processing rule, and judging whether the format is a loadable format or not;
if the format is not a loadable format, sending a data resending request based on the data screen projection request to the data server;
if the format is a loadable format, judging whether the format is a list insertion format;
if the format is a list insertion format, reading a response protocol corresponding to the screen projection data to obtain a first data screen projection link, adding the first data screen projection link into a preset play list, and sending state information to the data server;
and if the format is not the list insertion format, reading a response protocol corresponding to the screen projection data to obtain a second data screen projection link, deleting the second data screen projection link in a preset play list, and sending state information to the data server.
6. The IOS system data screen projection method of any one of claims 1 to 5, wherein after the screen projection data is subjected to display processing according to the screen projection data type and preset screen projection data processing rules to obtain display data corresponding to the screen projection data, the method further comprises:
receiving a control instruction sent by the data server, and analyzing the instruction type and instruction information in the control instruction;
calling a preset instruction response rule according to the instruction type;
and adjusting the display data according to the instruction response rule and the instruction information, and sending state information to the data server.
7. A screen projection device for IOS system data is characterized in that the screen projection device for IOS system data comprises:
the query module is used for accessing a local area network and querying a data server based on the IOS system in the local area network;
the judging module is used for judging whether the data server is inquired in the local area network or not;
the rechecking module is used for rechecking the data server based on the IOS system in the local area network if the data server cannot be inquired;
the pairing module is used for pairing with the data server according to a preset transmission connection protocol if the data server can be inquired out, and generating a pairing result;
the verification module is used for sending a connection verification instruction to the data server according to the pairing result and receiving first verification feedback information fed back by the data server;
the analysis module is used for processing the first verification feedback information by using a preset feedback analysis rule to generate second verification feedback information;
the construction module is used for constructing data transmission connection with the data server according to the second verification feedback information and constructing a transmission channel connected with the data server;
the screen projection processing module is used for receiving a data screen projection request of the data server; extracting screen projection data in the data screen projection request, and analyzing the screen projection data to obtain a screen projection data type corresponding to the screen projection data, wherein the screen projection data type comprises: a picture type, or a slide type, or an audio-video type, or a list type; and displaying the screen projection data according to the screen projection data type and a preset screen projection data processing rule to obtain display data corresponding to the screen projection data.
8. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method for screen projection of IOS system data of any of claims 1-6.
CN202010725862.6A 2020-07-24 2020-07-24 IOS system data screen projection method, device, equipment and storage medium Active CN111918119B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010725862.6A CN111918119B (en) 2020-07-24 2020-07-24 IOS system data screen projection method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010725862.6A CN111918119B (en) 2020-07-24 2020-07-24 IOS system data screen projection method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111918119A CN111918119A (en) 2020-11-10
CN111918119B true CN111918119B (en) 2021-06-08

Family

ID=73280434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010725862.6A Active CN111918119B (en) 2020-07-24 2020-07-24 IOS system data screen projection method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111918119B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112394895B (en) * 2020-11-16 2023-10-13 Oppo广东移动通信有限公司 Picture cross-device display method and device and electronic device
CN113259760B (en) * 2021-07-06 2021-11-30 深圳乐播科技有限公司 Communication protocol method, system, equipment and storage medium for local area network screen projection
CN113919877B (en) * 2021-10-15 2024-06-28 深圳市酷开网络科技股份有限公司 Task progress processing method, device and readable storage medium based on DMP platform
CN115442653A (en) * 2022-07-27 2022-12-06 苏州华启智能科技有限公司 Wireless screen projection method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060573A (en) * 2016-06-17 2016-10-26 北京奇虎科技有限公司 Live broadcast method and device based on terminal screen content
CN107277609A (en) * 2017-07-28 2017-10-20 广州爱拍网络科技有限公司 Screen mirror image projective techniques, system, device and the film recording method of iOS device
CN107995508A (en) * 2017-12-04 2018-05-04 深圳华影芯科技有限公司 A kind of brand-new iOS/Android system intelligent terminals mirror image is same to shield method and apparatus
CN108399056A (en) * 2018-02-26 2018-08-14 上海康斐信息技术有限公司 It is a kind of wirelessly to throw screen method and wireless router
CN108810585A (en) * 2018-06-08 2018-11-13 四川乐望崇智科技有限公司 Throwing screen method based on iOS system mobile phone

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170318325A1 (en) * 2016-04-28 2017-11-02 Mesa Digital, Llc Wirelessly streaming venue-based data to client devices

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060573A (en) * 2016-06-17 2016-10-26 北京奇虎科技有限公司 Live broadcast method and device based on terminal screen content
CN107277609A (en) * 2017-07-28 2017-10-20 广州爱拍网络科技有限公司 Screen mirror image projective techniques, system, device and the film recording method of iOS device
CN107995508A (en) * 2017-12-04 2018-05-04 深圳华影芯科技有限公司 A kind of brand-new iOS/Android system intelligent terminals mirror image is same to shield method and apparatus
CN108399056A (en) * 2018-02-26 2018-08-14 上海康斐信息技术有限公司 It is a kind of wirelessly to throw screen method and wireless router
CN108810585A (en) * 2018-06-08 2018-11-13 四川乐望崇智科技有限公司 Throwing screen method based on iOS system mobile phone

Also Published As

Publication number Publication date
CN111918119A (en) 2020-11-10

Similar Documents

Publication Publication Date Title
CN111918119B (en) IOS system data screen projection method, device, equipment and storage medium
CN111460506B (en) Data access control method and device
US8776105B2 (en) Method and system for automatic content recognition protocols
US7996538B2 (en) Information processing apparatus and content information processing method for transmitting content and event information to a client
EP3323246B1 (en) Using temporary credentials in guest mode
WO2018077214A1 (en) Information search method and apparatus
JP2017108389A (en) Method and system for providing time machine function in live program
US7953748B2 (en) Information processing apparatus and information processing method, and computer program
JP2009296625A (en) Method and apparatus for authorized operation of home communication network
KR20060002868A (en) Information processing device, information processing method, and computer program
CN104572952A (en) Identification method and device for live multi-media files
WO2018205833A1 (en) Method and apparatus for transmitting music file information, storage medium, and electronic apparatus
WO2017156934A1 (en) Intelligent interconnecting method, and intelligent terminal
CN113748684B (en) Media partner integration system and method
CN103581706A (en) Method and system for installing applications of smart television
CN111901695B (en) Video content interception method, device and equipment and computer storage medium
CN105812831B (en) Network program recording method, device and system and playing method and device
US7840529B2 (en) Contents list providing apparatus and contents list providing method
EP3048796A1 (en) Information system, information delivery method and iptv system based on multi-screen interaction
KR20140136752A (en) Method and apparatus for providing related service
US20060149398A1 (en) Content capturing device
CN113949739B (en) Cross-device playing method and device, electronic device and storage medium
US8693838B1 (en) Digital video recording (“DVR”) data exchange systems and methods
KR100582353B1 (en) Method for providing continue playback service in contents provider server and terminal
KR20060110866A (en) Content distribution system, content server, content receiving apparatus, content distribution method, program and recording medium

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
GR01 Patent grant
GR01 Patent grant