CN106375838A - Method for projecting to multiple smart devices through mobile terminal - Google Patents
Method for projecting to multiple smart devices through mobile terminal Download PDFInfo
- Publication number
- CN106375838A CN106375838A CN201610500725.6A CN201610500725A CN106375838A CN 106375838 A CN106375838 A CN 106375838A CN 201610500725 A CN201610500725 A CN 201610500725A CN 106375838 A CN106375838 A CN 106375838A
- Authority
- CN
- China
- Prior art keywords
- data
- smart devices
- group
- multicast
- smart
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/43615—Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4122—Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network 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/63—Control 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/64—Addressing
- H04N21/6405—Multicasting
Abstract
The invention discloses a method for projecting to multiple smart devices through a mobile terminal. The method comprises the following steps: S1, the mobile terminal sends information in a UDP broadcast mode, scans the smart devices in a local area network and records IP address and device name information of the responding smart devices; S2, the smart devices identify the UDP broadcast information and judge whether the information is preset data information or not, if the information is the preset data information, each smart device starts a background thread, the smart devices are added to a multicast IP group, and data sent by the multicast group is received continuously; S3, the multiple smart devices needing to be projected to are selected, the smart devices read file data and send the file data to the set multicast IP group, and all the smart devices in the IP group receive the data; and S4, all the smart devices analyze and display the data. According to the method provided by the invention, on the premise of consuming few system resources and network resources, a function of projecting to the multiple smart devices is realized.
Description
Technical field
The present invention relates to the method that domestic intelligent apparatus field, particularly mobile terminal project multiple smart machines.
Background technology
With scientific and technological development, with the popularization of smart mobile phone, what the equipment of smart home was more spreads to most of families
Front yard.Technological meanses by feat of smart home add many unusual colors to modern life, and increasing user makes
With mobile phone by projecting the photo that television set is collected elegant friends.Mobile phone projects photo to method thousand appearance hundred of television set
State, wired connection that is presently the most universal or passing through mobile phone and TV, the photo on mobile phone is shown by television set.By
In the connection of mobile phone and television set, data transfer is slower, and photo display process is complex, and the switching between photo is not yet
It is whether flow process, therefore give the experience of user poor.The projective technique reaching hitherto, simply one-to-one projection, if needed
To project multiple smart machines simultaneously, need constantly to switch, constantly the different smart machine of projection is just permissible.Lose time
While, Consumer's Experience is excessively poor.
Content of the invention
In view of the deficiencies in the prior art, present invention aim at, allow user can select multiple smart machines simultaneously, and
Will not increase with the equipment selecting, and cause to project required time etc. than increase, the present invention provides a kind of mobile terminal projection
The method of multiple smart machines, has a following technical characteristic:
Step 1, mobile terminal is sent in the way of udp broadcast, the smart machine in scanning LAN, the intelligence that record is responded
The ip address of energy equipment, device name information;
Step 2, smart machine identifies described udp broadcast message, determines whether pre-set data message, if it is,
Then smart machine opens a background thread, described smart machine is added in multicast ip group, and persistently receives this multicast
The data sending in group;
Step 3, selects to need multiple smart machines of projection, and described intelligent terminal reads file data, file data is sent
To in the multicast ip group setting, all smart machines in this ip group the inside all can receive this data;
Step 4, when all smart machines in multicast ip group receive file data, smart machine parses this data and shows.
Technical scheme is compared with prior art, to consume minimum system resource, premised on Internet resources, real
Now project the function of multiple smart machines.When projecting multiple smart machine, send data required time for reducing, the present invention uses
Existing multicasting technology.Ip multicasting technology efficiently solves single-point and sends the problem of multipoint reception it is achieved that ip network midpoint
To the efficient data transmission of multiple spot, the network bandwidth can be saved in a large number, reduce offered load.
Brief description
Fig. 1 is a kind of FB(flow block) schematic diagram of method protecting data in mobile phone with home intelligent equipment of the present invention.
Specific embodiment
Below in conjunction with accompanying drawing, embodiments of the invention are described in detail, but the present invention can be defined by the claims
Implement with the multitude of different ways covering.
In the specific embodiment of the invention, projection is mobile terminal, such as mobile phone, by the file on mobile phone, picture, video, net
The content of multimedia such as page are sent on the smart machine with display device, such smart machine more typical Set Top Box of ratio,
But be not limited to this, have intelligence system and have projection or connect TV equipment all permissible.Traditional one-to-one projection
It is only used for family to share, but inapplicable displaying.The method that the mobile terminal of the present invention projects multiple smart machines, as Fig. 1 institute
Show, comprise the following steps:
S1, mobile terminal is sent in the way of udp broadcast, the smart machine in scanning LAN, the intelligence that record is responded
The ip address of equipment, device name information;
S2, smart machine identifies described udp broadcast message, determines whether pre-set data message, if it is, intelligence
Energy one background thread of opening of device, described smart machine is added in multicast ip group, and persistently receives in this multicast group
The data sending over;
S3, selects to need multiple smart machines of projection, and described intelligent terminal reads file data, file data is sent to and sets
In fixed multicast ip group, all smart machines in this ip group the inside all can receive this data;
S4, when all smart machines in multicast ip group receive file data, smart machine parses this data and shows.
By the specific embodiment of the invention, the method for the present invention is illustrated, mobile terminal, taking mobile phone as a example below
Abbreviation mobile phone, illustrates the mode of delivery of the multimedia file of one-to-many by specific embodiment.
First, when mobile phone projection application starts, by specific data-message (address containing multicast group for the inside, password school
The information such as test), sent in the way of udp broadcast.
When smart machine receives broadcast data, this data is verified, if be that projection applies sent to disappear
Breath, after verification completes.Send one and contain smart machine relevant device information (such as smart machine title, the ginseng such as ip address
Number) response data bag to mobile phone terminal.It is then turned on a background thread, this thread is mainly responsible for, the spy specifying in mobile phone terminal
Determine in multicast group, receive image data.Specifically used method is:
Inetaddress group=inetaddress.getbyname (" multicast group address ");
int port = 4006;// port;
multicastsocket msr = new multicastsocket(port);// 1. create one is used for sending and connects
The multicastsocket multicast socket object word received;
msr.joingroup(group);// 3. use multicast socket joingroup (), add it to a multicast;
datagrampacket dp = new datagrampacket(buffer, buffer.length);//;
After the multicast address that smart machine addition mobile phone terminal is specified, you can with using the method receiving data blocked:
msr.receive(dp);
When mobile phone terminal receives the response data bag of smart machine, all smart machines are all recorded, then pass through list
Form be presented to user, for user select multiple need projection smart machines.
User select multiple smart machines, and choose need projection picture after, mobile phone terminal reads this picture number
According to sending it in the multicast group of setting.Method particularly includes:
Inetaddress group=inetaddress.getbyname (" multicast group address ");
int port = 4000;// port;
multicastsocket mss = new multicastsocket(port);// 1. create one is used for sending and connects
The multicastsocket multicast socket object word received;
mss.joingroup(group);// 3. use multicast socket joingroup (), add it to a multicast;
datagrampacket dp = new datagrampacket(buffer, buffer.length);//buffer is
The data of the picture reading;
mss.send(dp);If // image data is excessive, can send by several times, using specific labelling to each packet
It is marked, be easy to smart machine and be identified parsing.
When smart machine receives image data from specified multicast group, parsed, and be shown in intelligence and set
In standby.
When mobile phone terminal exits projection application, send exit instruction in multicast group, after smart machine receives exit instruction,
Exit this multicast group, the resource of release smart machine.
These are only the preferred embodiments of the present invention, be not limited to the present invention, for those skilled in the art
For member, the present invention can have various modifications and variations.All any modifications within the spirit and principles in the present invention, made,
Equivalent, improvement etc., should be included within the scope of the present invention.
Claims (1)
1. mobile terminal projects the method for multiple smart machines it is characterised in that comprising the steps:
Step 1, mobile terminal is sent in the way of udp broadcast, the smart machine in scanning LAN, the intelligence that record is responded
The ip address of energy equipment, device name information;
Step 2, smart machine identifies described udp broadcast message, determines whether pre-set data message, if it is,
Then smart machine opens a background thread, described smart machine is added in multicast ip group, and persistently receives this multicast
The data sending in group;
Step 3, selects to need multiple smart machines of projection, and described intelligent terminal reads file data, file data is sent
To in the multicast ip group setting, all smart machines in this ip group the inside all can receive this data;
Step 4, when all smart machines in multicast ip group receive file data, smart machine parses this data and shows.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610500725.6A CN106375838A (en) | 2016-06-30 | 2016-06-30 | Method for projecting to multiple smart devices through mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610500725.6A CN106375838A (en) | 2016-06-30 | 2016-06-30 | Method for projecting to multiple smart devices through mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106375838A true CN106375838A (en) | 2017-02-01 |
Family
ID=57881026
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610500725.6A Pending CN106375838A (en) | 2016-06-30 | 2016-06-30 | Method for projecting to multiple smart devices through mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106375838A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112187486A (en) * | 2020-09-29 | 2021-01-05 | 青岛海信传媒网络技术有限公司 | Interaction method between intelligent devices and intelligent devices |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102868916A (en) * | 2012-08-27 | 2013-01-09 | 腾讯科技(深圳)有限公司 | Method for sharing information with digital television terminal, terminals and information sharing system |
CN103095903A (en) * | 2011-11-08 | 2013-05-08 | 深圳市快播科技有限公司 | Method and system of remotely controlling set top box by cellphone |
CN103517110A (en) * | 2012-06-29 | 2014-01-15 | 深圳市快播科技有限公司 | Multi-screen interaction communication system and method |
CN103546575A (en) * | 2013-10-30 | 2014-01-29 | 乐视致新电子科技(天津)有限公司 | Method and device for data transmission |
CN103686405A (en) * | 2013-12-04 | 2014-03-26 | 康佳集团股份有限公司 | Method and system for utilizing mobile terminal to control television wall |
CN104079556A (en) * | 2014-05-21 | 2014-10-01 | 四川长虹电器股份有限公司 | Method and system for establishing connection between mobile terminal and smart television and giving message prompts |
CN104113458A (en) * | 2014-07-23 | 2014-10-22 | 海信集团有限公司 | Mobile terminal and intelligent household appliance interconnecting method and device |
-
2016
- 2016-06-30 CN CN201610500725.6A patent/CN106375838A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103095903A (en) * | 2011-11-08 | 2013-05-08 | 深圳市快播科技有限公司 | Method and system of remotely controlling set top box by cellphone |
CN103517110A (en) * | 2012-06-29 | 2014-01-15 | 深圳市快播科技有限公司 | Multi-screen interaction communication system and method |
CN102868916A (en) * | 2012-08-27 | 2013-01-09 | 腾讯科技(深圳)有限公司 | Method for sharing information with digital television terminal, terminals and information sharing system |
CN103546575A (en) * | 2013-10-30 | 2014-01-29 | 乐视致新电子科技(天津)有限公司 | Method and device for data transmission |
CN103686405A (en) * | 2013-12-04 | 2014-03-26 | 康佳集团股份有限公司 | Method and system for utilizing mobile terminal to control television wall |
CN104079556A (en) * | 2014-05-21 | 2014-10-01 | 四川长虹电器股份有限公司 | Method and system for establishing connection between mobile terminal and smart television and giving message prompts |
CN104113458A (en) * | 2014-07-23 | 2014-10-22 | 海信集团有限公司 | Mobile terminal and intelligent household appliance interconnecting method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112187486A (en) * | 2020-09-29 | 2021-01-05 | 青岛海信传媒网络技术有限公司 | Interaction method between intelligent devices and intelligent devices |
CN112187486B (en) * | 2020-09-29 | 2023-07-18 | 青岛海信传媒网络技术有限公司 | Interaction method between intelligent devices and intelligent device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103368935B (en) | The method and apparatus that enhancing Wi-Fi display sessions are provided in Wi-Fi shows network | |
CN107104947B (en) | Multi-screen interaction method | |
CN109495713B (en) | Video conference control method and device based on video networking | |
CN104427293B (en) | A kind of method, apparatus and video terminal for establishing video conference interface | |
CN109168064B (en) | Synchronous display method and system of electronic data | |
CN110049271B (en) | Video networking conference information display method and device | |
CN103686325A (en) | Method and system for continuously playing media in multi-screen interaction | |
WO2019237668A1 (en) | Receiving device and wireless screen transmission system | |
CN203352696U (en) | Multimedia digit conference system | |
CN107333095A (en) | The processing system of media resource | |
CN103338346A (en) | Method and system for realizing multimedia digital conference | |
CN105357574B (en) | A kind of smart television pushes away the method, system and smart television of screen | |
CN111131754A (en) | Control split screen method and device of conference management system | |
CN103414868B (en) | A kind of video conference list conference terminal number expansion method based on H323 agreement | |
WO2018000743A1 (en) | Cross-device group chatting method and electronic device | |
CN112822472A (en) | Projector control method, system and computer readable storage medium | |
CN111405230B (en) | Conference information processing method and device, electronic equipment and storage medium | |
CN106375838A (en) | Method for projecting to multiple smart devices through mobile terminal | |
CN110659080B (en) | Page display method and device, electronic equipment and storage medium | |
CN110502155B (en) | Display method and device for shared data | |
CN110198384B (en) | Communication method based on video networking and transfer server | |
CN102316300A (en) | Video call screen swinging method, system and device | |
CN112187486A (en) | Interaction method between intelligent devices and intelligent devices | |
CN106454538A (en) | Real-time bullet screen interaction method | |
CN110049069B (en) | Data acquisition method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |
Application publication date: 20170201 |
|
WD01 | Invention patent application deemed withdrawn after publication |