CN106559690A - The live method and system for throwing screen are realized based on multicast on a kind of intelligent television - Google Patents

The live method and system for throwing screen are realized based on multicast on a kind of intelligent television Download PDF

Info

Publication number
CN106559690A
CN106559690A CN201611033874.2A CN201611033874A CN106559690A CN 106559690 A CN106559690 A CN 106559690A CN 201611033874 A CN201611033874 A CN 201611033874A CN 106559690 A CN106559690 A CN 106559690A
Authority
CN
China
Prior art keywords
multicast
service end
mobile client
broadcast
udp
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
CN201611033874.2A
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.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201611033874.2A priority Critical patent/CN106559690A/en
Publication of CN106559690A publication Critical patent/CN106559690A/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/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • 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/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/41407Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
    • 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/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
    • 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/64322IP

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses realizing the live method and system for throwing screen based on multicast on a kind of intelligent television, the method is comprised the following steps:S1, mobile client open multicast functionality, monitor udp port;Multicast functionality is opened at S2, TV service end, monitors multicast and broadcast and udp port;S3, mobile client send search command request to the IP address of multicast and broadcast in the form of multicast and broadcast;S4, TV service end send UDP acknowledgement commands to mobile client, and mobile client is parsed to which, obtains TV service end equipment list;The selection result of S5, mobile client receive user from TV service end equipment list, upon selection, mobile client sends throwing screen request in the form of UDP to the TV service end for selecting, TV service end to receive throw screen request carry out parsing obtain throw screen information, according to throw screen information in live TV stream address play out.The present invention can quickly realize throwing screen by way of multicast, and Consumer's Experience effect is good.

Description

The live method and system for throwing screen are realized based on multicast on a kind of intelligent television
Technical field
The present invention relates to intelligent television throws screen play-back technology field, more particularly to realized based on multicast on a kind of intelligent television The live method and system for throwing screen.
Background technology
The live video played on mobile phone or flat board is shipped on intelligent television in prior art the side for showing and playing There is certain defect in method, existing method includes the technologies such as DLNA agreements, AirPlay.Wherein DLNA agreements are Sony, Ying Te A set of PC of the initiations such as that, Microsoft, the agreement interconnected between mobile device, consumer appliances, can by the photo in mobile phone, Video etc. is shipped on giant-screen, it is also possible to remotely control.AirPlay is a kind of wireless technology of Fructus Mali pumilae exploitation, can be passed through WiFi will wirelessly be transferred to support AirPlay equipment including picture, audio frequency, video on Fructus Mali pumilae equipment.
On the market these throw screen and control method great majority based on udp broadcast, and udp broadcast can not only send information to Unwanted main frame and waste bandwidth, it is also possible to cause serious broadcast storm due to routeing winding.DLNA and AirPlay is in association There is certain limitation in view, have compatibility issue on the intelligent television of part.
The content of the invention
The technical problem to be solved in the present invention is, for easy waste bandwidth in prior art, and easily to cause broadcast wind Sudden and violent defect, there is provided the live method and system for throwing screen are realized based on multicast on a kind of intelligent television.
The technical solution adopted for the present invention to solve the technical problems is:
The present invention to be provided and realize the live method for throwing screen based on multicast on a kind of intelligent television, comprises the following steps:
S1, mobile client open multicast functionality, by IP address and the port of multicast and broadcast, mobile client addition group Group is broadcast, and monitors udp port;
Multicast functionality is opened at S2, TV service end, by IP address and the port of multicast and broadcast, TV service end addition group Group is broadcast, and monitors multicast and broadcast and udp port;
S3, mobile client send search command request to the IP address of multicast and broadcast in the form of multicast and broadcast;
S4, TV service end response search command request, send UDP acknowledgement commands, mobile client to mobile client Which is parsed after receiving UDP acknowledgement commands, obtain TV service end equipment list;
The selection result of S5, mobile client receive user from TV service end equipment list, it is upon selection, mobile Client to select TV service end is sent in the form of UDP throwing screen request, TV service end to receive throwing screen ask into Row parsing obtains throwing screen information, according to the live TV stream address thrown in screen information, calls the player at TV service end to play out.
Further, the mobile client in the method for the present invention includes the handss of Android operation system and Apple Macintosh operating system Machine and panel computer.
Further, in the method for the present invention IP address of the multicast and broadcast that mobile client and TV service end add and Port is consistent.
Further, in the method for the present invention, mobile client is consistent with the udp port that TV service end is monitored.
Further, the method that search command request is sent in step S3 of the invention is specially:
Mobile client sends search command request with multicast and broadcast form, and destination address is the IP address of multicast and broadcast, The search command request of mobile client is packaged with user-defined format, and the search command request after encapsulation is carried out adding It is close.
Further, the method for sending UDP acknowledgement commands to mobile client in step S4 of the invention is specially:
The search command request of TV service end response mobile client, sending service end search to mobile client should Answer, sent with UDP forms, send IP address of the address for multicast and broadcast, port is udp port, transmits the UDP at TV service end Acknowledgement command and TV service end equipment name, UDP acknowledgement commands and TV service end equipment name are packaged with user-defined format, And be encrypted.
Further, the method for also including being encrypted data during throwing screen of the invention, the method is:
By the form of the key-value pair of user-defined format, order is generated into character string by separator with content first, then will Character string is with the Form generation datagram bag of byte arrays;
Data encryption is carried out to packet using DES symmetric encipherment algorithms, is decrypted using DES by key during decryption, handss Machine client and TV service end perform DES algorithms by privately owned key and realize encryption and decryption.
Further, in step S4 of the invention, parsing obtains the method for TV service end equipment list and is specially:
Mobile client is parsed to which after receiving UDP acknowledgement commands, obtains the implementor name at TV service end, is shown The list of devices for searching, if there is multiple TV service ends in the LAN, shows the TV clothes of all responses in the LAN Business end list, if no equipment response, to user pointing out, or should re-search for.
The present invention to be provided and realize the live system for throwing screen based on multicast on a kind of intelligent television, including:
Mobile client monitoring unit, for opening multicast functionality, by IP address and the port of multicast and broadcast, mobile visitor Family end adds multicast group, and monitors udp port;
TV service end monitoring unit, for opening the multicast functionality at TV service end, by the IP address of multicast and broadcast And port, TV service end adds multicast group, and monitors multicast and broadcast and udp port;
Multicast search unit, for mobile client in the form of multicast and broadcast, sends to the IP address of multicast and broadcast and searches Rope command request;
List of devices acquiring unit, for TV service end response search command request, sending UDP to mobile client should Order is answered, mobile client is parsed to which after receiving UDP acknowledgement commands, obtain TV service end equipment list;
Screen broadcast unit is thrown, for selection result of the receive user from TV service end equipment list, upon selection, Mobile client sends throwing screen request in the form of UDP to the TV service end for selecting, and TV service end please to receiving throwing screen Ask carry out parsing obtain throw screen information, according to throw screen information in live TV stream address, call the player at TV service end to carry out Play.
The beneficial effect comprise that:The live method for throwing screen is realized based on multicast on the intelligent television of the present invention, Can quickly realize that by way of multicast mobile client and Television clients connect automatically, and realize throwing the effect of screen;We Method can lift cell-phone customer terminal and Television clients experience effect, improve live video viewing effect;Present invention optimizes multicast The speed of screen is thrown after search, screen method client is thrown relative to existing multicast and is received just foundation connection after service end response, this Set up UDP connection cell-phone customer terminals after TV service end receives multicast and broadcast in method immediately, accelerate cell-phone customer terminal search Device rate;Screen transmission order is thrown in this method optimization, relative to the limited set form orders of existing DLNA, using custom command Can spread into proprietary protocol;This method lifted Information Security, throw screen order encryption avoid transmitting procedure be stolen or Other application is obtained.
Description of the drawings
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the method flow diagram of the embodiment of the present invention;
Fig. 2 is the method flow diagram of another specific embodiment of the present invention.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, it is below in conjunction with drawings and Examples, right The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, not For limiting the present invention.
The explanation of nouns being related in the embodiment of the present invention is as follows:
Multicast:A kind of network service of the corresponding multiple recipients of single sender, in multicasting technology, by multiple receptions The single message stream mode of side's transmission, it is possible to reduce with multiple recipients while the network listened to or check in the case of same asset leads to Letter flow amount.
TCP:Transmission control protocol, is a kind of connection-oriented, reliable transport layer communication protocol based on byte stream.
UDP:UDP, is a kind of connectionless transport layer protocol, there is provided towards the simple unreliable of affairs Information transmission is serviced.
Throw screen:The live video played on mobile phone is shipped on intelligent television and is shown and is played.
As shown in figure 1, the live method for throwing screen is realized based on multicast on the intelligent television of the embodiment of the present invention, including it is following Step:
S1, mobile client open multicast functionality, by IP address and the port of multicast and broadcast, mobile client addition group Group is broadcast, and monitors udp port;
Multicast functionality is opened at S2, TV service end, by IP address and the port of multicast and broadcast, TV service end addition group Group is broadcast, and monitors multicast and broadcast and udp port;
S3, mobile client send search command request to the IP address of multicast and broadcast in the form of multicast and broadcast;
The method for sending search command request is specially:
Mobile client sends search command request with multicast and broadcast form, and destination address is the IP address of multicast and broadcast, The search command request of mobile client is packaged with user-defined format, and the search command request after encapsulation is carried out adding It is close.
S4, TV service end response search command request, send UDP acknowledgement commands, mobile client to mobile client Which is parsed after receiving UDP acknowledgement commands, obtain TV service end equipment list;
Parsing obtains the method for TV service end equipment list and is specially:
Mobile client is parsed to which after receiving UDP acknowledgement commands, obtains the implementor name at TV service end, is shown The list of devices for searching, if there is multiple TV service ends in the LAN, shows the TV clothes of all responses in the LAN Business end list, if no equipment response, to user pointing out, or should re-search for.
The method that UDP acknowledgement commands are sent to mobile client is specially:
The search command request of TV service end response mobile client, sending service end search to mobile client should Answer, sent with UDP forms, send IP address of the address for multicast and broadcast, port is udp port, transmits the UDP at TV service end Acknowledgement command and TV service end equipment name, UDP acknowledgement commands and TV service end equipment name are packaged with user-defined format, And be encrypted.
The selection result of S5, mobile client receive user from TV service end equipment list, it is upon selection, mobile Client to select TV service end is sent in the form of UDP throwing screen request, TV service end to receive throwing screen ask into Row parsing obtains throwing screen information, according to the live TV stream address thrown in screen information, calls the player at TV service end to play out.
Mobile client in this method includes the mobile phone and panel computer of Android operation system and Apple Macintosh operating system, but It is not limited to above equipment.
The live system for throwing screen is realized based on multicast on the intelligent television of the embodiment of the present invention, including:
Mobile client monitoring unit, for opening multicast functionality, by IP address and the port of multicast and broadcast, mobile visitor Family end adds multicast group, and monitors udp port;
TV service end monitoring unit, for opening the multicast functionality at TV service end, by the IP address of multicast and broadcast And port, TV service end adds multicast group, and monitors multicast and broadcast and udp port;
Multicast search unit, for mobile client in the form of multicast and broadcast, sends to the IP address of multicast and broadcast and searches Rope command request;
List of devices acquiring unit, for TV service end response search command request, sending UDP to mobile client should Order is answered, mobile client is parsed to which after receiving UDP acknowledgement commands, obtain TV service end equipment list;
Screen broadcast unit is thrown, for selection result of the receive user from TV service end equipment list, upon selection, Mobile client sends throwing screen request in the form of UDP to the TV service end for selecting, and TV service end please to receiving throwing screen Ask carry out parsing obtain throw screen information, according to throw screen information in live TV stream address, call the player at TV service end to carry out Play.
As shown in Fig. 2 in another specific embodiment of the present invention, intelligent television, intelligent box, smart mobile phone pass through It is wired or wireless to be connected in the i.e. same LAN of same route, mobile phone searching discovery intelligent television and box, and by handss Video live in machine throws screen on intelligent television and box.
With it, mobile phone and intelligent television connect automatically, mobile phone can control intelligent television application by sending order, Live video in mobile phone is projected and watch on the TV of giant-screen, improve Consumer's Experience, and viewing effect.This can also be passed through Method, carries out the business such as Remote TV applications, remote input.
Cell-phone customer terminal in the present embodiment:Cell-phone customer terminal is not limited to Android smartphone, Fructus Mali pumilae smart mobile phone and Other smart mobile phones are equally applicable.TV service end:TV service end is not limited to intelligent television, and intelligent box, intelligence are projected The smart machines such as instrument are equally applicable.
When multicast sends and receives, source host only sends a data, and destination address of this number according in is multicast group ground Location;All recipients in multicast group can receive same data copy, and main frame (the target master only in multicast group Machine) data can be received, in network, other main frames can not be received.
The step of the method, includes:
Step S1:Cell-phone customer terminal open multicast functionality, part Android device may give tacit consent to closing the function, need to pass through Multicast functionality is opened to device systems application multicast authority, ARIXTRA can call WifiManager classes CreateMulticastLock methods and acquire methods open multicast functionality.
Step S2:Cell-phone customer terminal adds multicast group, and the multicast and broadcast address of addition is 239.255.255.250, port For 1900, after adding multicast, multicast and broadcast can be sent to the multicast group, Android device is by setting up MulticastSocket (multi-case data report socket) adds multicast group.
Step S3:Cell-phone customer terminal monitors UDP, and the port of monitoring is 5050, can receive and be sent to the equipment after monitoring Message on 5050 port of address, Android device monitor UDP by DatagramSocket (Datagram Socket).
Step S4:TV service end open multicast functionality, equipment component may give tacit consent to closing the function, by equipment system System application multicast authority opens multicast functionality.
Step S5:TV service end adds multicast group, and the multicast and broadcast address of addition is 239.255.255.250, port For 1900.Multicast and broadcast can be sent to the multicast group after adding multicast.
Step S6:Multicast and broadcast is monitored at TV service end, and multicast and broadcast address is 239.255.255.250, and port is 1900, the multicast message that the multicast sends, the MulticastSocket that Android device is set up by S5 can be received after monitoring (multi-case data report socket) monitors multicast and broadcast.
Step S7:Udp port 5050 is monitored at TV service end, can receive and be sent to 5050 on the device address after monitoring The message of port.
Step S8:Cell-phone customer terminal is performed throws screen operation, directly can be shown in the form of throwing screen icon when playing, first Scan for finding, then carry out throwing screen operation.The information of live video cell-phone customer terminal watched during screen is thrown to make by oneself Adopted form encapsulation, it is also possible to data encryption.
User-defined format can be in the form of key-value pair, such as character string:Order=content, encapsulation then will first be ordered and interior Hold the character string that " order=content " is generated by separator '=', then by character string with the Form generation of byte arrays DatagramPacket (datagram bag).
Data encryption can be encrypted using DES (a kind of symmetric encipherment algorithm), decrypted using DES by key during decryption, plus Close decipherment algorithm realizes that using disclosed DES algorithms cell-phone customer terminal and service end perform DES algorithm realities by privately owned key Now encrypt and decrypt, as key is private cipher key, so as to ensure that transmitting procedure is safe and reliable, for example private cipher key is “mutilscreen_key”。
Step S9:Cell-phone customer terminal performs search operation, and during search, cell-phone customer terminal should be searched for user to point out In, friendly shows just in searching television server device to user.
Step S10:Cell-phone customer terminal sends searching request, is sent with multicast and broadcast form, and destination address is multicast and broadcast Address 239.255.255.250, port 1900 transmit client-side search order, and client-side search order is sealed with user-defined format It is attached in data message, it is also possible to data encryption.For example user-defined format " cmd_discover=client ", close after encryption Text transmission.
Step S11:TV service termination receive S10 cell-phone customer terminals transmission multicast and broadcast, receive from 239.255.255.250 the multicast and broadcast of port 1900, and searched according to the client in self-defining format analysis data message Rope order, if data message encryption is first decrypted, then parses client-side search order.Parsing is then the group that will be received The byte arrays broadcast in the DatagramPacket in broadcast reversely generate data, such as user-defined format according to the form of encapsulation For:Order=content, then be first converted into character string by byte arrays, parsed by separator '=' order and content (under Text parsing is identical with this), i.e., " cmd_discover=client ".
Step S12:The search command request of TV service end response cell-phone customer terminal, sends service end to cell-phone customer terminal Search response, is sent with UDP forms, and it is the cell-phone customer terminal IP address that carries in S11 data messages to send address, and port is 5050, transmission service end searches for acknowledgement command and TV service end equipment name, service end search acknowledgement command and TV service end Implementor name is encapsulated in data message with user-defined format, it is also possible to data encryption.Such as " cmd_server=television equipments Name ", encryption post package is to data-message transmission.
Step S13:Cell-phone customer terminal receives the UDP that S12 TV services end sends, according to self-defining format analysis data Service end search acknowledgement command and TV service end equipment name in message, if data message encryption is first decrypted, then solves Separate out client-side search order and TV service end equipment name.Such as " cmd_server=television equipment names ".
Step S14:The TV service end equipment name that cell-phone customer terminal is parsed according to S13, shows the equipment row for searching Table, if there is multiple TV service ends in the LAN, should show the TV service end list of all responses in the LAN, if not having There is equipment response, to user pointing out, or should re-search for.
Step S15:Mobile phone client users select a TV service end equipment in list of devices.
Step S16:Cell-phone customer terminal is sent to the TV service end for selecting throws screen request, is sent with UDP forms, sends ground Location is the TV service end IP address that carries in S13 data messages, and port is 5050, and transmission client throws screen request command and throwing Screen information, client are thrown screen request command and throw screen information and is encapsulated in data message with user-defined format, it is also possible to data Encryption.Such as " cmd_play=live informations ", encryption post package is to data-message transmission.
Step S17:TV service end receives the UDP that S16 cell-phone customer terminals send, and parses datagram according to user-defined format Client in text is thrown screen request command and throws screen information, if data message encryption is first decrypted, then parses client Throw screen request command and throw screen information.Such as " cmd_play=live informations ".
Step S18:The throwing screen information that TV service end is parsed according to S17, calls player plays live video, ARIXTRA Equipment can pass through to throw the live TV stream address in screen information, be delivered in player assembly, by player plays.
Beneficial effects of the present invention include:
A. the present invention can quickly realize that cell-phone customer terminal and Television clients connect automatically, and realize throwing the effect of screen.
B. the present invention can be realized throwing screen on i Phone, and be not limited to the said equipment in Android mobile phone, ARIXTRA TV.
C. the present invention can lift cell-phone customer terminal and Television clients experience effect, improve live video viewing effect.
It should be appreciated that for those of ordinary skills, can be improved according to the above description or be converted, And all these modifications and variations should all belong to the protection domain of claims of the present invention.

Claims (9)

1. the live method for throwing screen is realized based on multicast on a kind of intelligent television, it is characterised in that comprise the following steps:
S1, mobile client open multicast functionality, and by IP address and the port of multicast and broadcast, mobile client adds multicast Group, and monitor udp port;
Multicast functionality is opened at S2, TV service end, and by IP address and the port of multicast and broadcast, TV service end adds multicast Group, and monitor multicast and broadcast and udp port;
S3, mobile client send search command request to the IP address of multicast and broadcast in the form of multicast and broadcast;
S4, TV service end response search command request, send UDP acknowledgement commands to mobile client, and mobile client is received Which is parsed to after UDP acknowledgement commands, obtain TV service end equipment list;
The selection result of S5, mobile client receive user from TV service end equipment list, upon selection, mobile client Hold to the TV service end for selecting and throwing screen request is sent in the form of UDP, TV service end is solved to receiving throwing screen request Analysis obtains throwing screen information, according to the live TV stream address thrown in screen information, calls the player at TV service end to play out.
2. the live method for throwing screen is realized based on multicast on intelligent television according to claim 1, it is characterised in that the party Mobile client in method includes the mobile phone and panel computer of Android operation system and Apple Macintosh operating system.
3. the live method for throwing screen is realized based on multicast on intelligent television according to claim 1, it is characterised in that the party In method, the IP address of the multicast and broadcast that mobile client is added with TV service end is consistent with port.
4. the live method for throwing screen is realized based on multicast on intelligent television according to claim 1, it is characterised in that the party In method, mobile client is consistent with the udp port that TV service end is monitored.
5. the live method for throwing screen is realized based on multicast on intelligent television according to claim 1, it is characterised in that step The method that search command request is sent in S3 is specially:
Mobile client sends search command request with multicast and broadcast form, and IP address of the destination address for multicast and broadcast is mobile The search command request of client is packaged with user-defined format, and the search command request after encapsulation is encrypted.
6. the live method for throwing screen is realized based on multicast on intelligent television according to claim 1, it is characterised in that throw screen When also include the method that is encrypted to data, the method is:
By the form of the key-value pair of user-defined format, first will order and content by separator generation character string, then by character String is with the Form generation datagram bag of byte arrays;
Data encryption is carried out to packet using DES symmetric encipherment algorithms, is decrypted using DES by key during decryption, mobile phone visitor Family end and TV service end perform DES algorithms by privately owned key and realize encryption and decryption.
7. the live method for throwing screen is realized based on multicast on intelligent television according to claim 1, it is characterised in that step The method that UDP acknowledgement commands are sent to mobile client in S4 is specially:
The search command request of TV service end response mobile client, sends service end search response to mobile client, with UDP forms send, and send IP address of the address for multicast and broadcast, and port is udp port, transmits the UDP responses at TV service end Order and TV service end equipment name, UDP acknowledgement commands and TV service end equipment name are packaged with user-defined format, are gone forward side by side Row encryption.
8. the live method for throwing screen is realized based on multicast on intelligent television according to claim 1, it is characterised in that step Parsing in S4 obtains the method for TV service end equipment list and is specially:
Mobile client is parsed to which after receiving UDP acknowledgement commands, obtains the implementor name at TV service end, shows search The list of devices for arriving, if there is multiple TV service ends in the LAN, shows the TV service end of all responses in the LAN List, if no equipment response, to user pointing out, or should re-search for.
9. the live system for throwing screen is realized based on multicast on a kind of intelligent television, it is characterised in that include:
Mobile client monitoring unit, for opening multicast functionality, by IP address and the port of multicast and broadcast, mobile client Multicast group is added, and monitors udp port;
TV service end monitoring unit, for opening the multicast functionality at TV service end, by IP address and the end of multicast and broadcast Mouthful, TV service end adds multicast group, and monitors multicast and broadcast and udp port;
Multicast search unit, for mobile client in the form of multicast and broadcast, sends search life to the IP address of multicast and broadcast Order request;
List of devices acquiring unit, for TV service end response search command request, sends UDP responses life to mobile client Order, mobile client are parsed to which after receiving UDP acknowledgement commands, obtain TV service end equipment list;
Screen broadcast unit is thrown, it is for selection result of the receive user from TV service end equipment list, upon selection, mobile Client to select TV service end is sent in the form of UDP throwing screen request, TV service end to receive throwing screen ask into Row parsing obtains throwing screen information, according to the live TV stream address thrown in screen information, calls the player at TV service end to play out.
CN201611033874.2A 2016-11-15 2016-11-15 The live method and system for throwing screen are realized based on multicast on a kind of intelligent television Pending CN106559690A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611033874.2A CN106559690A (en) 2016-11-15 2016-11-15 The live method and system for throwing screen are realized based on multicast on a kind of intelligent television

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611033874.2A CN106559690A (en) 2016-11-15 2016-11-15 The live method and system for throwing screen are realized based on multicast on a kind of intelligent television

Publications (1)

Publication Number Publication Date
CN106559690A true CN106559690A (en) 2017-04-05

Family

ID=58444569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611033874.2A Pending CN106559690A (en) 2016-11-15 2016-11-15 The live method and system for throwing screen are realized based on multicast on a kind of intelligent television

Country Status (1)

Country Link
CN (1) CN106559690A (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911804A (en) * 2017-04-21 2017-06-30 合肥联宝信息技术有限公司 A kind of mirror image connection method and electronic equipment
CN107509185A (en) * 2017-08-14 2017-12-22 广州创维平面显示科技有限公司 A kind of method of advertisement, storage medium and mobile terminal
CN107592566A (en) * 2017-09-22 2018-01-16 四川长虹电器股份有限公司 The method of android system intelligent television communication
CN108228125A (en) * 2017-12-29 2018-06-29 广州酷狗计算机科技有限公司 The long-range control method and system of smart machine
CN108900878A (en) * 2018-06-27 2018-11-27 福建天泉教育科技有限公司 A kind of method and system for realizing wireless display
CN109429095A (en) * 2017-08-29 2019-03-05 威洛西提大型艾沃电话公司 System and method for transmitting digital content
CN109474646A (en) * 2017-09-07 2019-03-15 腾讯科技(深圳)有限公司 Communication connecting method, device, system and storage medium
CN109660815A (en) * 2018-12-13 2019-04-19 圆动(上海)信息技术服务有限公司 A kind of realization hotel multi-screen interactive dynamic management system and its method flow
CN109743691A (en) * 2018-12-20 2019-05-10 杭州当虹科技股份有限公司 One kind is based on the more equipment search access optimization methods of onvif agreement
CN109996097A (en) * 2019-03-12 2019-07-09 广州虎牙信息科技有限公司 A kind of throwing screen method, system and storage device
CN111988414A (en) * 2020-08-26 2020-11-24 杭州速递科技有限公司 Video hard terminal conference control method and system
CN112203138A (en) * 2020-10-16 2021-01-08 深圳乐播科技有限公司 Projection screen data transmission method, device, equipment and storage medium based on UDP protocol
CN112468859A (en) * 2020-11-30 2021-03-09 深圳乐播科技有限公司 Screen-casting service publishing method and device and storage medium
CN112492359A (en) * 2020-11-19 2021-03-12 四川长虹电器股份有限公司 Screen projection method for smart phone
CN112583822A (en) * 2020-12-09 2021-03-30 海信视像科技股份有限公司 Communication apparatus and communication method
CN112804325A (en) * 2021-01-12 2021-05-14 深圳市闪联信息技术有限公司 Cross-system file transmission method based on wireless screen projector
CN113259760A (en) * 2021-07-06 2021-08-13 深圳乐播科技有限公司 Communication protocol method, system, equipment and storage medium for local area network screen projection
CN113721877A (en) * 2021-09-09 2021-11-30 天津智融创新科技发展有限公司 Screen pushing method, device, equipment and storage medium
CN113891148A (en) * 2021-09-29 2022-01-04 湖北美和易思教育科技有限公司 Screen-casting live broadcast method and system based on UDP (user Datagram protocol) and multicast
CN114143132A (en) * 2021-11-15 2022-03-04 云知声(上海)智能科技有限公司 Method and system for realizing intelligent linkage of multi-terminal equipment based on RTP-MESH
CN114697736A (en) * 2020-12-29 2022-07-01 深圳Tcl新技术有限公司 Wireless screen projection method, system, intelligent device and computer readable storage medium
CN116489433A (en) * 2023-05-09 2023-07-25 杭州全能数字科技有限公司 Screen projection method and system for video terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442451A (en) * 2013-08-21 2013-12-11 乐视致新电子科技(天津)有限公司 Data wireless transmission method, device and system
US20140195649A1 (en) * 2008-11-26 2014-07-10 David Harrison Automatic detection of a similar application stored on a networked media device through a multicast capability of an operating system accessed through an application of a mobile device
CN105142008A (en) * 2015-07-31 2015-12-09 中国科学院声学研究所 Method for playing second terminal data with first terminal
CN105357545A (en) * 2015-11-03 2016-02-24 北京英梅吉科技有限公司 Wireless one-screen method and device based on flow media manner
CN105933384A (en) * 2016-04-06 2016-09-07 腾讯科技(深圳)有限公司 File sharing method, terminal and file sharing system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140195649A1 (en) * 2008-11-26 2014-07-10 David Harrison Automatic detection of a similar application stored on a networked media device through a multicast capability of an operating system accessed through an application of a mobile device
CN103442451A (en) * 2013-08-21 2013-12-11 乐视致新电子科技(天津)有限公司 Data wireless transmission method, device and system
CN105142008A (en) * 2015-07-31 2015-12-09 中国科学院声学研究所 Method for playing second terminal data with first terminal
CN105357545A (en) * 2015-11-03 2016-02-24 北京英梅吉科技有限公司 Wireless one-screen method and device based on flow media manner
CN105933384A (en) * 2016-04-06 2016-09-07 腾讯科技(深圳)有限公司 File sharing method, terminal and file sharing system

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911804A (en) * 2017-04-21 2017-06-30 合肥联宝信息技术有限公司 A kind of mirror image connection method and electronic equipment
CN107509185B (en) * 2017-08-14 2020-09-08 创维集团智能科技有限公司 Advertisement pushing method, storage medium and mobile terminal
CN107509185A (en) * 2017-08-14 2017-12-22 广州创维平面显示科技有限公司 A kind of method of advertisement, storage medium and mobile terminal
CN109429095A (en) * 2017-08-29 2019-03-05 威洛西提大型艾沃电话公司 System and method for transmitting digital content
CN109474646A (en) * 2017-09-07 2019-03-15 腾讯科技(深圳)有限公司 Communication connecting method, device, system and storage medium
CN107592566A (en) * 2017-09-22 2018-01-16 四川长虹电器股份有限公司 The method of android system intelligent television communication
CN108228125A (en) * 2017-12-29 2018-06-29 广州酷狗计算机科技有限公司 The long-range control method and system of smart machine
CN108900878A (en) * 2018-06-27 2018-11-27 福建天泉教育科技有限公司 A kind of method and system for realizing wireless display
CN109660815A (en) * 2018-12-13 2019-04-19 圆动(上海)信息技术服务有限公司 A kind of realization hotel multi-screen interactive dynamic management system and its method flow
CN109660815B (en) * 2018-12-13 2021-07-30 圆动(上海)信息技术服务有限公司 System and method for realizing multi-screen interaction dynamic management of hotel
CN109743691A (en) * 2018-12-20 2019-05-10 杭州当虹科技股份有限公司 One kind is based on the more equipment search access optimization methods of onvif agreement
CN109743691B (en) * 2018-12-20 2021-04-06 杭州当虹科技股份有限公司 Onvif protocol-based multi-device search access optimization method
CN109996097B (en) * 2019-03-12 2022-01-04 广州虎牙信息科技有限公司 Screen projection method, system and storage device
CN109996097A (en) * 2019-03-12 2019-07-09 广州虎牙信息科技有限公司 A kind of throwing screen method, system and storage device
CN111988414A (en) * 2020-08-26 2020-11-24 杭州速递科技有限公司 Video hard terminal conference control method and system
CN112203138A (en) * 2020-10-16 2021-01-08 深圳乐播科技有限公司 Projection screen data transmission method, device, equipment and storage medium based on UDP protocol
CN112492359A (en) * 2020-11-19 2021-03-12 四川长虹电器股份有限公司 Screen projection method for smart phone
CN112468859A (en) * 2020-11-30 2021-03-09 深圳乐播科技有限公司 Screen-casting service publishing method and device and storage medium
CN112583822A (en) * 2020-12-09 2021-03-30 海信视像科技股份有限公司 Communication apparatus and communication method
CN114697736A (en) * 2020-12-29 2022-07-01 深圳Tcl新技术有限公司 Wireless screen projection method, system, intelligent device and computer readable storage medium
CN112804325B (en) * 2021-01-12 2023-10-03 深圳市闪联信息技术有限公司 Cross-system file transmission method based on wireless screen projector
CN112804325A (en) * 2021-01-12 2021-05-14 深圳市闪联信息技术有限公司 Cross-system file transmission method based on wireless screen projector
CN113259760A (en) * 2021-07-06 2021-08-13 深圳乐播科技有限公司 Communication protocol method, system, equipment and storage medium for local area network screen projection
CN113259760B (en) * 2021-07-06 2021-11-30 深圳乐播科技有限公司 Communication protocol method, system, equipment and storage medium for local area network screen projection
CN113721877A (en) * 2021-09-09 2021-11-30 天津智融创新科技发展有限公司 Screen pushing method, device, equipment and storage medium
CN113721877B (en) * 2021-09-09 2024-02-06 天津智融创新科技发展有限公司 Screen pushing method, device, equipment and storage medium
CN113891148A (en) * 2021-09-29 2022-01-04 湖北美和易思教育科技有限公司 Screen-casting live broadcast method and system based on UDP (user Datagram protocol) and multicast
CN114143132B (en) * 2021-11-15 2023-08-04 云知声(上海)智能科技有限公司 Method and system for realizing intelligent linkage of multi-terminal equipment based on RTP-MESH
CN114143132A (en) * 2021-11-15 2022-03-04 云知声(上海)智能科技有限公司 Method and system for realizing intelligent linkage of multi-terminal equipment based on RTP-MESH
CN116489433A (en) * 2023-05-09 2023-07-25 杭州全能数字科技有限公司 Screen projection method and system for video terminal
CN116489433B (en) * 2023-05-09 2024-02-13 杭州全能数字科技有限公司 Screen projection method and system for video terminal

Similar Documents

Publication Publication Date Title
CN106559690A (en) The live method and system for throwing screen are realized based on multicast on a kind of intelligent television
US8149711B2 (en) Data stream control for network devices
US10547993B2 (en) Media content sharing method and apparatus
US10425454B2 (en) Device and method for transferring the rendering of multimedia content
US8060624B1 (en) Initiating a communication session from a presence enabled media host device
US20070280230A1 (en) Method and system for service discovery across a wide area network
CA2975105A1 (en) Secure dynamic communication network and protocol
US20120036543A1 (en) Method and apparatus for controlling a set-top box based on device events
US20130022033A1 (en) Method and terminal for access control of network service
US20060040610A1 (en) Broadcast messages
CN110741614B (en) Data communication system and method
CN109408015A (en) A kind of multimedia file processing method sends terminal and display terminal
CN109672664B (en) Authentication method and system for video networking terminal
CN103888488A (en) WIFI-based data sharing method
CN110061962A (en) A kind of method and apparatus of video stream data transmission
EP4060964B1 (en) Method and apparatus for processing multicast signal
US20080025306A1 (en) Internet protocol television system, method for providing internet protocol multicast TV signal, TV transferring apparatus, and TV receiving apparatus
CN111371728B (en) Processing method and device
KR100636147B1 (en) Method for controlling content over network and apparatus thereof, and method for providing content over network and apparatus thereof
CN106648978A (en) Mobile terminal based on DLNA (Digital Living Network Alliance) and data backup system and method
JP2010154086A (en) Communication controller, communication control method of the communication controller, control program, and recording medium
CN104168302B (en) Equipment manipulation implementation method, system and proxy gateway
CN112333088B (en) Compatible instant messaging transmission method
US20060143314A1 (en) Remote USB videophone communication
KR20210102439A (en) Systems and methods for authentication and login portability for multi-screen search and initiation of first-screen content

Legal Events

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

Application publication date: 20170405

RJ01 Rejection of invention patent application after publication