CN108900878A - A kind of method and system for realizing wireless display - Google Patents

A kind of method and system for realizing wireless display Download PDF

Info

Publication number
CN108900878A
CN108900878A CN201810674055.9A CN201810674055A CN108900878A CN 108900878 A CN108900878 A CN 108900878A CN 201810674055 A CN201810674055 A CN 201810674055A CN 108900878 A CN108900878 A CN 108900878A
Authority
CN
China
Prior art keywords
projection
receiving end
transmitting terminal
multicast
data packet
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
CN201810674055.9A
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.)
Fujian Tianquan Educational Technology Ltd
Original Assignee
Fujian Tianquan Educational Technology 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 Fujian Tianquan Educational Technology Ltd filed Critical Fujian Tianquan Educational Technology Ltd
Priority to CN201810674055.9A priority Critical patent/CN108900878A/en
Publication of CN108900878A publication Critical patent/CN108900878A/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/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 or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43637Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or 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/64Addressing
    • H04N21/6405Multicasting
    • 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
    • H04N21/6437Real-time Transport Protocol [RTP]

Abstract

A kind of method and system for realizing wireless display provided by the invention, the wireless multicast group being added where projecting transmitting terminal by the way that receiving end will be projected, projection transmitting terminal is only needed by sending multicast projection discovery packet, and project the multicast address that receiving end passes through monitoring wireless multicast group, when listening to the multicast projection discovery packet that projection transmitting terminal is sent, return address information is to the projection transmitting terminal, discovery of the projection transmitting terminal to projection receiving end can be realized, therefore WifiP2P agreement is needed not move through in discovery procedure can be realized the projection transmitting terminal and projects the interconnection of receiving end, improve search speed and connection speed, projection transmitting terminal carries out wireless display after establishing connection by address information and projection receiving end, realize the stable projection between great amount of terminals equipment.

Description

A kind of method and system for realizing wireless display
Technical field
The present invention relates to projection art, in particular to a kind of method and system for realizing wireless display.
Background technique
Recently as the development of mobile Internet, the development of android system is also to advance by leaps and bounds, May in this year Google is even more 9.0 system of Android of having issued.Wifidispaly wireless display technology on Android from It has been applied since Android4.4, but there are certain technical bottlenecks on WifiDisplay, it can only be in WifiP2P (WIFI Direct one-to-one projection is carried out on the basis of), must also have particular device support, Er Qieshou at the end reception sink of projection The interference of wireless environment is very big, and drop shadow effect is caused phenomena such as flower screen Caton occur.And the extension of WifiP2P more than 1 pair with multipair 1 Mode is limited to the limitation of terminal wifi chip, can only generally accomplish that 6-8 platform equipment connects, and Android official does not prop up also at present Hold this mode of extension.
Existing Chinese patent (application number:201510345293.1) disclose in a kind of Android WifiDisplay and show Show frame processing method and system, is passed although improving source equipment to a certain extent and carrying out display data with distal displayed equipment The delay phenomenon occurred when defeated improves user experience, but without solving having to pass through in Wifidisplay projection process The limitation that WifiP2P agreement is interconnected.
Existing Chinese patent (application number:201611071655.3) a kind of screen prjection method and mobile terminal are disclosed, Only extension realizes the projection between terminal on the basis of wifip2p (wifi direct), but certainly due to wifip2p The limitation of body hardware and agreement extends more than 1 pair and many-one mode can only generally accomplish 6-8 platform, and wifip2p scanning and connection Process is extremely complex and unstable, so there is no the stable projections solved between great amount of terminals equipment.
Existing Chinese patent (application number:201720768807.9) a kind of optical projection system based on intelligent movable end, also only It is to realize a kind of mobile terminal to the projection scheme between projector, could not but solves the wireless display between terminal device.
Summary of the invention
The technical problem to be solved by the present invention is to:A kind of method and system for realizing wireless display are provided, can be realized Stable projection between great amount of terminals equipment, solves source equipment and distal displayed equipment carries out appearance when display data transmissions Delay phenomenon.
In order to solve the above-mentioned technical problem, a kind of technical solution that the present invention uses for:
A method of realizing wireless display, including step:
The wireless multicast group where projection transmitting terminal is added in S1, projection receiving end;
S2, projection receiving end monitor the multicast address of the wireless multicast group, when the group for listening to projection transmitting terminal transmission When broadcasting projection discovery packet, return address information to the projection transmitting terminal;
S3, projection transmitting terminal receive the address information, and establish and connect according to the address information and projection receiving end Wireless display is carried out after connecing.
In order to solve the above-mentioned technical problem, the another technical solution that the present invention uses for:
A kind of system for realizing wireless display, including projection receiving end and projection transmitting terminal, the projection receiving end includes First memory, first processor and storage are on the first memory and the first computer journey that can run on first processor Sequence, the projection transmitting terminal include second memory, second processor and are stored on second memory and can be in second processing The second computer program run on device, the first processor realize following steps when executing first computer program:
S1, the wireless multicast group being added where projection transmitting terminal;
S2, the multicast address for monitoring the wireless multicast group have found when listening to the multicast projection that projection transmitting terminal is sent Bao Shi, return address information to the projection transmitting terminal;
The second processor realizes following steps when executing the second computer program:
S3, the address information is received, and carries out nothing after establishing connection according to the address information and projection receiving end Line projection.
The beneficial effects of the present invention are:The wireless multicast group being added where projecting transmitting terminal by the way that receiving end will be projected, Projection transmitting terminal is only needed by sending multicast projection discovery packet, and projects receiving end by the multicast of monitoring wireless multicast group Location, when listening to the multicast projection discovery packet that projection transmitting terminal is sent, return address information to the projection transmitting terminal It realizes discovery of the projection transmitting terminal to projection receiving end, therefore needs not move through WifiP2P agreement in discovery procedure and can be realized The projection transmitting terminal and the interconnection for projecting receiving end, improve search speed and connection speed, and projection transmitting terminal passes through Address information and projection receiving end carry out wireless display after establishing connection, realize the stable projection between great amount of terminals equipment.
Detailed description of the invention
Fig. 1 is the method flow diagram of the realization wireless display of the embodiment of the present invention;
Fig. 2 is the structural schematic diagram of the system of the realization wireless display of the embodiment of the present invention;
Label declaration:
1, the system of wireless display is realized;2, receiving end is projected;3, first memory;
4, first processor;5, transmitting terminal is projected;6, second memory;7, second processor.
Specific embodiment
To explain the technical content, the achieved purpose and the effect of the present invention in detail, below in conjunction with embodiment and cooperate attached Figure is explained.
The design of most critical of the present invention is:The multicast address for projecting receiving end monitoring wireless multicast group is thrown when listening to Shadow transmitting terminal send multicast projection discovery packet when, return address information to projection transmitting terminal, it can be achieved that great amount of terminals equipment it Between stable projection, solve the delay phenomenon that source equipment and distal displayed equipment carry out appearance when display data transmissions.
Fig. 1 is please referred to, a method of realizing wireless display, including step:
The wireless multicast group where projection transmitting terminal is added in S1, projection receiving end;
S2, projection receiving end monitor the multicast address of the wireless multicast group, when the group for listening to projection transmitting terminal transmission When broadcasting projection discovery packet, return address information to the projection transmitting terminal;
S3, projection transmitting terminal receive the address information, and establish and connect according to the address information and projection receiving end Wireless display is carried out after connecing.
As can be seen from the above description, the beneficial effects of the present invention are:Projection transmitting terminal institute is added by the way that receiving end will be projected Wireless multicast group, projection transmitting terminal only needs and to project receiving end by sending multicast projection discovery packet and pass through monitoring wireless The multicast address of multicast group, when listening to the multicast projection discovery packet that projection transmitting terminal is sent, return address information is to described Transmitting terminal is projected, discovery of the projection transmitting terminal to projection receiving end can be realized, therefore need not move through in discovery procedure WifiP2P agreement can be realized the projection transmitting terminal and project the interconnection of receiving end, improve search speed and connection Speed, projection transmitting terminal carry out wireless display after establishing connection by address information and projection receiving end, realize great amount of terminals Stable projection between equipment.
Further, whether the projection receiving end is by being equipped with privately owned field in the received multicast packet of judgement Whether the received multicast packet of label confirmation is multicast projection discovery packet.
Seen from the above description, by the way that privately owned field mark is arranged in multicast discovery packet, for projecting receiving end confirmation Whether received multicast packet is multicast discovery packet, so that discovery procedure is not necessarily to as WifiP2P Device The scanning process of Discovery equally must be turned on WifiP2P function, and discovery procedure is complicated, is limited to source equipment The reasons such as the power and signal of wifi chip, the end source cannot connect too many p2p equipment, and only need to be by projection receiving end and throwing Shadow transmitting terminal is arranged in same WLAN, the stable projection between great amount of terminals equipment can be realized, to improve Search speed and connection speed, simplify discovery procedure.
Further, establishing connection with projection receiving end according to the address information described in step S3 is specially:
S31, projection transmitting terminal send connection to projection receiving end according to the address information and establish order;
S32, projection transmitting terminal receive projection receiving end and are sent out after receiving the connection and establishing order by rtsp agreement Request is established in the connection sent;
S33, projection transmitting terminal and projection receiving end are held consultation, and the negotiation specifically includes:
S331, it holds consultation to forward error correction coding parameter, determines the encoding rate of the forward error correction coding;
After the completion of S34, negotiation, connection is established.
Seen from the above description, projection receiving end is received after receiving the connection and establishing order by projection transmitting terminal Request is established by the connection that rtsp agreement is sent, improves safety, by holding consultation to forward error correction coding parameter, really The encoding rate of the fixed forward error correction coding facilitates the subsequent redundancy that is added in the frame buffered data for needing to carry out wireless display to believe Breath, improves the efficiency of transmission.
Further, further include after step S34:
Redundancy is added by forward error correction coding in the frame buffered data for needing to carry out wireless display by S41, projection transmitting terminal Information, and it is packaged into RTP data packet;
The RTP data packet is sent to projection receiving end by multicast by S42, projection transmitting terminal.
Seen from the above description, it is added in the frame buffered data for needing to carry out wireless display by forward error correction coding superfluous Remaining information ensure that the accuracy of data transmission.
Further, further include after step S42:
S43, projection receiving end receive the RTP data packet, carry out decoding FEC according to the RTP data packet and obtain Decoded data packet, if the data packet comprising decoding failure in the decoded data packet, requests the projection to send End retransmits the data packet of the decoding failure, until successfully decoded;
S44, projection receiving end are shown according to the decoded data packet.
Seen from the above description, go out to decode the data packet of failure by decoding FEC automatic decoding, by retransmitting institute The data packet of decoding failure is stated, forward error correction coding and re-transmission combine, not only reduce the number of re-transmission, reduce gathering around for network Plug, also improves the handling capacity of data, thus reach stable real-time data transmission, environment preferable for some networks, Even FEC can decode the data packet of all loss.
Referring to figure 2., a kind of system 1 for realizing wireless display, including projection receiving end 2 and projection transmitting terminal 5, the throwing Shadow receiving end includes first memory 3, first processor 4 and is stored on first memory 3 and can transport on first processor 4 The first capable computer program, the projection transmitting terminal 5 is including second memory 6, second processor 7 and is stored in the second storage On device 6 and the second computer program that can run in second processor 7, the first processor 4 execute described first and calculate Following steps are realized when machine program:
S1, the wireless multicast group being added where projection transmitting terminal;
S2, the multicast address for monitoring the wireless multicast group have found when listening to the multicast projection that projection transmitting terminal is sent Bao Shi, return address information to the projection transmitting terminal;
The second processor 7 realizes following steps when executing the second computer program:
S3, the address information is received, and carries out nothing after establishing connection according to the address information and projection receiving end Line projection.
As can be seen from the above description, the beneficial effects of the present invention are:Projection transmitting terminal institute is added by the way that receiving end will be projected Wireless multicast group, projection transmitting terminal only needs and to project receiving end by sending multicast projection discovery packet and pass through monitoring wireless The multicast address of multicast group, when listening to the multicast projection discovery packet that projection transmitting terminal is sent, return address information is to described Transmitting terminal is projected, discovery of the projection transmitting terminal to projection receiving end can be realized, therefore need not move through in discovery procedure WifiP2P agreement can be realized the projection transmitting terminal and project the interconnection of receiving end, improve search speed and connection Speed, projection transmitting terminal carry out wireless display after establishing connection by address information and projection receiving end, realize great amount of terminals Stable projection between equipment.
Further, whether the projection receiving end is by being equipped with privately owned field in the received multicast packet of judgement Whether the received multicast packet of label confirmation is multicast projection discovery packet.
Seen from the above description, by the way that privately owned field mark is arranged in multicast discovery packet, for projecting receiving end confirmation Whether received multicast packet is multicast discovery packet, so that discovery procedure is not necessarily to as WifiP2P Device The scanning process of Discovery equally must be turned on WifiP2P function, and discovery procedure is complicated, is limited to source equipment The reasons such as the power and signal of wifi chip, the end source cannot connect too many p2p equipment, and only need to be by projection receiving end and throwing Shadow transmitting terminal is arranged in same WLAN, the stable projection between great amount of terminals equipment can be realized, to improve Search speed and connection speed, simplify discovery procedure.
Further, establishing connection with projection receiving end according to the address information described in step S3 is specially:
S31, connection foundation order is sent to projection receiving end according to the address information;
S32, reception projection receiving end are built after receiving the connection and establishing order by the connection that rtsp agreement is sent Vertical request;
S33, projection transmitting terminal and projection receiving end are held consultation, and the negotiation specifically includes:
S331, it holds consultation to forward error correction coding parameter, determines the encoding rate of the forward error correction coding;
After the completion of S34, negotiation, connection is established.
Seen from the above description, projection receiving end is received after receiving the connection and establishing order by projection transmitting terminal Request is established by the connection that rtsp agreement is sent, improves safety, by holding consultation to forward error correction coding parameter, really The encoding rate of the fixed forward error correction coding facilitates the subsequent redundancy that is added in the frame buffered data for needing to carry out wireless display to believe Breath, improves the efficiency of transmission.
Further, following steps are realized when the first processor executes first computer program:Step S34 it After further include:
S41, redundancy is added by forward error correction coding in the frame buffered data for needing to carry out wireless display, and be packaged At RTP data packet;
S42, the RTP data packet is sent to by projection receiving end by multicast.
Seen from the above description, it is added in the frame buffered data for needing to carry out wireless display by forward error correction coding superfluous Remaining information ensure that the accuracy of data transmission.
Further, following steps are realized when the second processor executes the second computer program:Step S42 it After further include:
S43, the RTP data packet is received, decoding FEC is carried out according to the RTP data packet and obtains decoded number According to packet, if the data packet comprising decoding failure in the decoded data packet, request described in the projection transmitting terminal re-transmission The data packet of failure is decoded, until successfully decoded;
S44, it is shown according to the decoded data packet.
Seen from the above description, go out to decode the data packet of failure by decoding FEC automatic decoding, by retransmitting institute The data packet of decoding failure is stated, forward error correction coding and re-transmission combine, not only reduce the number of re-transmission, reduce gathering around for network Plug, also improves the handling capacity of data, thus reach stable real-time data transmission, environment preferable for some networks, Even FEC can decode the data packet of all loss.
Embodiment one
Fig. 1 is please referred to, a method of realizing wireless display, including step:
The wireless multicast group where projection transmitting terminal is added in S1, projection receiving end;
S2, projection receiving end monitor the multicast address of the wireless multicast group, when the group for listening to projection transmitting terminal transmission When broadcasting projection discovery packet, return address information to the projection transmitting terminal, the projection receiving end is received by judgement Whether it is equipped with whether the received multicast packet of privately owned field mark confirmation is multicast projection discovery packet in multicast packet;
S3, projection transmitting terminal receive the address information, and establish and connect according to the address information and projection receiving end Wireless display is carried out after connecing;
Establishing connection with projection receiving end according to the address information described in step S3 is specially:
S31, projection transmitting terminal send connection to projection receiving end according to the address information and establish order;
S32, projection transmitting terminal receive projection receiving end and are sent out after receiving the connection and establishing order by rtsp agreement Request is established in the connection sent;
S33, projection transmitting terminal and projection receiving end are held consultation, and the negotiation specifically includes:
S331, it holds consultation to forward error correction coding parameter, determines the encoding rate of the forward error correction coding;
After the completion of S34, negotiation, connection is established;
Redundancy is added by forward error correction coding in the frame buffered data for needing to carry out wireless display by S41, projection transmitting terminal Information, and it is packaged into RTP data packet;
The RTP data packet is sent to projection receiving end by multicast by S42, projection transmitting terminal;
S43, projection receiving end receive the RTP data packet, carry out decoding FEC according to the RTP data packet and obtain Decoded data packet, if the data packet comprising decoding failure in the decoded data packet, requests the projection to send End retransmits the data packet of the decoding failure, until successfully decoded;
S44, projection receiving end are shown according to the decoded data packet.
Embodiment two
This implementation will be in conjunction with specific application scenarios, and how real the method for further illustrating the above-mentioned wireless display of the present invention is Existing:
Firstly, first part is that WLAN is set up and equipment is found
1, projection receiving end (end sink) is added where projection transmitting terminal (end source) by way of registering multicast Wireless multicast group, the projection transmitting terminal and projection receiving end be in same WLAN;
2, the multicast address of the wireless multicast group is monitored in projection receiving end, and projection transmitting terminal sends multicast packet, when When the multicast packet that projection receiving end listens to projection transmitting terminal transmission projects discovery packet for multicast, return address information to institute Projection transmitting terminal is stated, projection transmitting terminal carries out information storage, the projection receiving end multicast packet received by judgement Whether it is equipped with whether the received multicast packet of privately owned field mark confirmation is multicast projection discovery packet, the address in packet Information includes the address mac and IP address;
3, projection transmitting terminal completes the discovery of projection receiving end since then and information stores, and entire discovery procedure is automatically complete At;
Second part is connection foundation and the data transmission procedure of projection
1, projection transmitting terminal receives the address information, and is establishing connection according to the address information and projection receiving end After carry out wireless display;
2, projection receiving end is sent to projection transmitting terminal by rtsp agreement and is connected after receiving the connection and establishing order Connect foundation request;
3, both sides establish projective parameter negotiation, such as resolution ratio, the frame per second, code rate of projection;
4, both sides negotiate forward error correction coding (FEC) parameter, determine the encoding rate of forward error correction coding;
5, negotiate after completing, connection is established;
6, projection transmitting terminal compiles frame buffering (framebuffer) data for needing to carry out wireless display by forward error correction Redundancy is added in code (FEC), and is packaged into RTP data packet;
7, the RTP data packet is sent in the multicast port that projection receiving end is monitored by projection transmitting terminal by multicast, The multicast port is corresponding with the multicast address;
8, projection receiving end receives the RTP data packet, carries out decoding FEC according to the RTP data packet and is solved Data packet after code, if the data packet comprising decoding failure in the decoded data packet, requests the projection transmitting terminal The data packet for retransmitting the decoding failure, until successfully decoded;
9, projection receiving end is shown according to the decoded data packet.
Embodiment three
The above method is applied to the class hour on the classroom in wisdom classroom, teacher and 60 students are using carrying 101PAD The equipment of ROM then realizes that the process of wireless display is as follows:
Firstly, teacher is using a wherein PAD (projection transmitting terminal) by sending multicast projection discovery search packet to 60 The PAD (projection receiving end) that student uses, detailed process is as follows:
1, the wireless multicast where the PAD that teacher uses is added by way of registering multicast in the PAD that 60 students use Group, the PAD that the PAD and teacher that 60 students use are used are in same WLAN;
2, the PAD that 60 students use monitors the multicast address of the wireless multicast group, and the PAD that teacher uses sends multicast Data packet is multicast projection discovery packet when the PAD that 60 students use listens to the multicast packet that the PAD that teacher uses is sent When, the PAD that return address information is used to the teacher, the PAD that teacher uses carry out information storage, and 60 students use PAD by whether being equipped with the received multicast packet of privately owned field mark confirmation in the received multicast packet of judgement Whether packet is multicast projection discovery packet, and the address information includes the address mac and IP address;
3, the PAD that teacher uses since then completes the discovery and information storage of the PAD that 60 students use, and entirely finds Journey is automatically performed;
Secondly, the PAD that teacher uses determines the frame buffered data (framebuffer) for needing to carry out wireless display, then One key will realize Screen sharing in the screen for the PAD that screen prjection to 60 students uses, and detailed process is as follows:
1, teacher uses PAD receives the address information, and is being used according to the address information and 60 students PAD carries out wireless display after establishing connection;
2, the PAD that 60 students use is used by rtsp agreement to teacher after receiving the connection and establishing order PAD send connection establish request;
3, both sides establish projective parameter negotiation, such as resolution ratio, the frame per second, code rate of projection;
4, both sides negotiate forward error correction coding (FEC) parameter, determine the encoding rate of forward error correction coding;
5, negotiate after completing, connection is established;
6, the PAD that teacher uses adds the frame buffered data for needing to carry out wireless display by forward error correction coding (FEC) Enter redundancy, and is packaged into RTP data packet;
7, the RTP data packet is sent to the group that the PAD that 60 students use is monitored by multicast by the PAD that teacher uses It broadcasts on port, the multicast port is corresponding with the multicast address;
8, the PAD that 60 students use receives the RTP data packet, carries out forward error correction solution according to the RTP data packet Code obtains decoded data packet, if the data packet comprising decoding failure in the decoded data packet, requests described old The PAD that teacher uses retransmits the data packet of the decoding failure, until successfully decoded;
9, the PAD that 60 students use is shown according to the decoded data packet, thus by teacher solve a problem and Teaching procedure real-time synchronization helps through teaching task to student side well, also increases classroom interest.
Example IV
Referring to figure 2., a kind of system 1 for realizing wireless display, including projection receiving end 2 and projection transmitting terminal 5, the throwing Shadow receiving end includes first memory 3, first processor 4 and is stored on first memory 3 and can transport on first processor 4 The first capable computer program, the projection transmitting terminal 5 is including second memory 6, second processor 7 and is stored in the second storage On device 6 and the second computer program that can run in second processor 7, the first processor 4 execute described first and calculate Following steps are realized when machine program:
S1, the wireless multicast group being added where projection transmitting terminal;
S2, the multicast address for monitoring the wireless multicast group have found when listening to the multicast projection that projection transmitting terminal is sent Bao Shi, return address information to the projection transmitting terminal, the projection receiving end multicast packet received by judgement In whether be equipped with whether the received multicast packet of privately owned field mark confirmation is multicast projection discovery packet;
Further include after step S34:
S41, redundancy is added by forward error correction coding in the frame buffered data for needing to carry out wireless display, and be packaged At RTP data packet;
S42, the RTP data packet is sent to by projection receiving end by multicast;
The second processor 7 realizes following steps when executing the second computer program:
S3, the address information is received, and carries out nothing after establishing connection according to the address information and projection receiving end Line projection;
Establishing connection with projection receiving end according to the address information described in step S3 is specially:
S31, connection foundation order is sent to projection receiving end according to the address information;
S32, reception projection receiving end are built after receiving the connection and establishing order by the connection that rtsp agreement is sent Vertical request;
S33, projection transmitting terminal and projection receiving end are held consultation, and the negotiation specifically includes:
S331, it holds consultation to forward error correction coding parameter, determines the encoding rate of the forward error correction coding;
After the completion of S34, negotiation, connection is established;
Further include after step S42:
S43, the RTP data packet is received, decoding FEC is carried out according to the RTP data packet and obtains decoded number According to packet, if the data packet comprising decoding failure in the decoded data packet, request described in the projection transmitting terminal re-transmission The data packet of failure is decoded, until successfully decoded;
S44, it is shown according to the decoded data packet.
In conclusion a kind of method and system for realizing wireless display provided by the invention, are added by that will project receiving end Enter to project the wireless multicast group where transmitting terminal, projection transmitting terminal is only needed by sending multicast projection discovery packet, and is projected and received End passes through the multicast address of monitoring wireless multicast group, when listening to the multicast projection discovery packet that projection transmitting terminal is sent, returns Discovery of the projection transmitting terminal to projection receiving end can be realized to the projection transmitting terminal in address information, therefore in discovery procedure In need not move through WifiP2P agreement can be realized it is described projection transmitting terminal and project receiving end interconnection, improve search Speed and connection speed, projection transmitting terminal are established after connection by address information and projection receiving end and carry out wireless display, realize Stable projection between great amount of terminals equipment goes out to decode the data packet of failure, pass through by decoding FEC automatic decoding The data packet of the decoding failure is retransmitted, forward error correction coding and re-transmission combine, and not only reduce the number of re-transmission, reduce net The congestion of network also improves the handling capacity of data, thus reach stable real-time data transmission, it is preferable for some networks Environment or even FEC can decode the data packet of all loss.
The above description is only an embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalents made by bright specification and accompanying drawing content are applied directly or indirectly in relevant technical field, similarly include In scope of patent protection of the invention.

Claims (10)

1. a kind of method for realizing wireless display, which is characterized in that including step:
The wireless multicast group where projection transmitting terminal is added in S1, projection receiving end;
S2, projection receiving end monitor the multicast address of the wireless multicast group, throw when listening to the multicast that projection transmitting terminal is sent When shadow discovery packet, return address information to the projection transmitting terminal;
S3, projection transmitting terminal receive the address information, and after establishing connection according to the address information and projection receiving end Carry out wireless display.
2. the method according to claim 1 for realizing wireless display, which is characterized in that the projection receiving end passes through judgement Whether it is equipped with whether the received multicast packet of privately owned field mark confirmation is multicast in received multicast packet Projection discovery packet.
3. the method according to claim 1 for realizing wireless display, which is characterized in that according to describedly described in step S3 Location information establishes connection with projection receiving end:
S31, projection transmitting terminal send connection to projection receiving end according to the address information and establish order;
S32, projection transmitting terminal receive what projection receiving end was sent after receiving the connection and establishing order by rtsp agreement Request is established in connection;
S33, projection transmitting terminal and projection receiving end are held consultation, and the negotiation specifically includes:
S331, it holds consultation to forward error correction coding parameter, determines the encoding rate of the forward error correction coding;
After the completion of S34, negotiation, connection is established.
4. the method according to claim 3 for realizing wireless display, which is characterized in that further include after step S34:
Redundancy is added by forward error correction coding in the frame buffered data for needing to carry out wireless display by S41, projection transmitting terminal, And it is packaged into RTP data packet;
The RTP data packet is sent to projection receiving end by multicast by S42, projection transmitting terminal.
5. the method according to claim 4 for realizing wireless display, which is characterized in that further include after step S42:
S43, projection receiving end receive the RTP data packet, carry out decoding FEC according to the RTP data packet and are decoded Data packet afterwards, if the data packet comprising decoding failure in the decoded data packet, requests the projection transmitting terminal weight The data packet for passing the decoding failure, until successfully decoded;
S44, projection receiving end are shown according to the decoded data packet.
6. a kind of system for realizing wireless display, including projection receiving end and projection transmitting terminal, the projection receiving end includes the One memory, first processor and storage are on the first memory and the first computer journey that can run on first processor Sequence, the projection transmitting terminal include second memory, second processor and are stored on second memory and can be in second processing The second computer program run on device, which is characterized in that the first processor executes real when first computer program Existing following steps:
S1, the wireless multicast group being added where projection transmitting terminal;
S2, the multicast address for monitoring the wireless multicast group, when listening to the multicast projection discovery packet that projection transmitting terminal is sent, Return address information is to the projection transmitting terminal;
The second processor realizes following steps when executing the second computer program:
S3, the address information is received, and is wirelessly thrown after establishing connection with projection receiving end according to the address information Shadow.
7. the system according to claim 6 for realizing wireless display, which is characterized in that the projection receiving end passes through judgement Whether it is equipped with whether the received multicast packet of privately owned field mark confirmation is multicast in received multicast packet Projection discovery packet.
8. the system according to claim 6 for realizing wireless display, which is characterized in that according to describedly described in step S3 Location information establishes connection with projection receiving end:
S31, connection foundation order is sent to projection receiving end according to the address information;
The connection that S32, reception projection receiving end are sent after receiving the connection and establishing order by rtsp agreement, which is established, asks It asks;
S33, projection transmitting terminal and projection receiving end are held consultation, and the negotiation specifically includes:
S331, it holds consultation to forward error correction coding parameter, determines the encoding rate of the forward error correction coding;
After the completion of S34, negotiation, connection is established.
9. the system according to claim 8 for realizing wireless display, which is characterized in that described in the first processor executes Following steps are realized when the first computer program:Further include after step S34:
S41, redundancy is added by forward error correction coding in the frame buffered data for needing to carry out wireless display, and be packaged into RTP data packet;
S42, the RTP data packet is sent to by projection receiving end by multicast.
10. the system according to claim 9 for realizing wireless display, which is characterized in that the second processor executes institute Following steps are realized when stating second computer program:Further include after step S42:
S43, the RTP data packet is received, decoding FEC is carried out according to the RTP data packet and obtains decoded data Packet, if the data packet comprising decoding failure in the decoded data packet, requests the projection transmitting terminal to retransmit the solution The data packet of code failure, until successfully decoded;
S44, it is shown according to the decoded data packet.
CN201810674055.9A 2018-06-27 2018-06-27 A kind of method and system for realizing wireless display Pending CN108900878A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810674055.9A CN108900878A (en) 2018-06-27 2018-06-27 A kind of method and system for realizing wireless display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810674055.9A CN108900878A (en) 2018-06-27 2018-06-27 A kind of method and system for realizing wireless display

Publications (1)

Publication Number Publication Date
CN108900878A true CN108900878A (en) 2018-11-27

Family

ID=64346171

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810674055.9A Pending CN108900878A (en) 2018-06-27 2018-06-27 A kind of method and system for realizing wireless display

Country Status (1)

Country Link
CN (1) CN108900878A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111741353A (en) * 2020-07-22 2020-10-02 深圳Tcl新技术有限公司 Method for device cooperative work, terminal device and readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1474600A (en) * 2002-08-07 2004-02-11 ��Ϊ�������޹�˾ Method and device for transfering PC desk top in video communication terminal
WO2005046125A1 (en) * 2003-10-28 2005-05-19 Docomo Communications Laboratories Usa, Inc. Method for supporting scalable and reliable multicast in tdma/tdd systems using feedback suppression techniques
CN1964461A (en) * 2005-11-08 2007-05-16 联想(北京)有限公司 A ponit-to-multipoint wireless display method
CN101136720A (en) * 2007-01-30 2008-03-05 中兴通讯股份有限公司 Forward error correction information transmission implementing method
WO2013048229A1 (en) * 2011-09-26 2013-04-04 Mimos Berhad A system and method for performing ad-hoc screen switching & sharing
CN105610824A (en) * 2015-12-29 2016-05-25 哈尔滨工业大学 Screen sharing method based on screen mirror image and RTSP stream media frame
CN105933384A (en) * 2016-04-06 2016-09-07 腾讯科技(深圳)有限公司 File sharing method, terminal and file sharing system
CN106559690A (en) * 2016-11-15 2017-04-05 武汉斗鱼网络科技有限公司 The live method and system for throwing screen are realized based on multicast on a kind of intelligent television
CN106792055A (en) * 2016-12-28 2017-05-31 福建星网视易信息系统有限公司 Screen method, equipment and system are thrown in real time
CN107211158A (en) * 2014-11-05 2017-09-26 三星电子株式会社 Method and apparatus and recording medium for controlling the Screen sharing among multiple terminals

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1474600A (en) * 2002-08-07 2004-02-11 ��Ϊ�������޹�˾ Method and device for transfering PC desk top in video communication terminal
WO2005046125A1 (en) * 2003-10-28 2005-05-19 Docomo Communications Laboratories Usa, Inc. Method for supporting scalable and reliable multicast in tdma/tdd systems using feedback suppression techniques
CN1964461A (en) * 2005-11-08 2007-05-16 联想(北京)有限公司 A ponit-to-multipoint wireless display method
CN101136720A (en) * 2007-01-30 2008-03-05 中兴通讯股份有限公司 Forward error correction information transmission implementing method
WO2013048229A1 (en) * 2011-09-26 2013-04-04 Mimos Berhad A system and method for performing ad-hoc screen switching & sharing
CN107211158A (en) * 2014-11-05 2017-09-26 三星电子株式会社 Method and apparatus and recording medium for controlling the Screen sharing among multiple terminals
CN105610824A (en) * 2015-12-29 2016-05-25 哈尔滨工业大学 Screen sharing method based on screen mirror image and RTSP stream media frame
CN105933384A (en) * 2016-04-06 2016-09-07 腾讯科技(深圳)有限公司 File sharing method, terminal and file sharing system
CN106559690A (en) * 2016-11-15 2017-04-05 武汉斗鱼网络科技有限公司 The live method and system for throwing screen are realized based on multicast on a kind of intelligent television
CN106792055A (en) * 2016-12-28 2017-05-31 福建星网视易信息系统有限公司 Screen method, equipment and system are thrown in real time

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111741353A (en) * 2020-07-22 2020-10-02 深圳Tcl新技术有限公司 Method for device cooperative work, terminal device and readable storage medium

Similar Documents

Publication Publication Date Title
CN109996097B (en) Screen projection method, system and storage device
US10212694B2 (en) Wireless multicast communication
US11304090B2 (en) Method for correcting audio data during dual wireless communication and wireless playback system
CN109905205B (en) Data sending method, data receiving method, data sending equipment, data receiving equipment, data transmission method and data transmission system
CN104038845B (en) Message transmitting method and device
WO2018018627A1 (en) Data transmission method and system, and receiving device
US10284340B2 (en) Multicast sending apparatus, multicast receiving apparatus, and multicast transmission determining method
JP2003333111A5 (en)
CN102340535B (en) Data transmission method, device and system
CN104780028A (en) Method and equipment for retransmitting TCP (transmission control protocol) data messages
CN109862377A (en) Video transmission method, device, system and computer readable storage medium
CN107172174A (en) The quick upload of file is realized between clients and servers
CN110505532A (en) Low delay image transfer method, device, equipment and storage medium
CN102883277B (en) Cooperative communication method based on reliable multicast MAC (Media Access Control) layer protocol
CN110324161A (en) A kind of test method and equipment of transport protocol
WO2018202179A1 (en) Copy transmission method and related device
CN102769520A (en) Wireless network congestion control method based on stream control transmission protocol (SCTP)
CN108900878A (en) A kind of method and system for realizing wireless display
CN1988537A (en) Data transmission protocol
CN111615137B (en) Wireless network state detection method and related equipment thereof
JP2003008642A (en) Multi-cast communication method and system
CN104168284B (en) A kind of data transmission method and the first electronic equipment
CN108540273A (en) A kind of method and apparatus of data packet retransmission
US11463201B2 (en) HARQ TXOP frame exchange for HARQ retransmission using HARQ threads
US20220407635A1 (en) Method and device for transmitting hybrid automatic repeat request acknowledgement information

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181127