CN104797004A - Method for implementation of automatic networking between master and slave devices - Google Patents
Method for implementation of automatic networking between master and slave devices Download PDFInfo
- Publication number
- CN104797004A CN104797004A CN201510122591.4A CN201510122591A CN104797004A CN 104797004 A CN104797004 A CN 104797004A CN 201510122591 A CN201510122591 A CN 201510122591A CN 104797004 A CN104797004 A CN 104797004A
- Authority
- CN
- China
- Prior art keywords
- equipment
- hdmi cec
- main equipment
- main
- wifi
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/15—Setup of multiple wireless link connections
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/12—Setup of transport tunnels
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
- H04W84/20—Master-slave selection or change arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a method for implementation of automatic networking between master and slave devices. The method includes: starting two intelligent devices to carry out HDMI (high-definition multimedia interface) CEC (consumer electronics control) connection monitoring, and starting WIFI (wireless fidelity) connection at the same time; after HDMI CEC connection between the master and slave devices succeeds, if the master device is successfully connected with an AP (access point) by means of WIFI connection, enabling the master device to send information that the master device is in connection with the AP to the slave device by means of HDMI CEC; after the slave device acquires the information that the master device is in connection with the AP and the slave device is successfully connected with the AP, establishing network services, and sending a service port and an IP (internet protocol) address of the slave device to the master device by means of HDMI CEC; after the master device acquires the service port and IP information of the slave device by means of HDMI CEC, adopting a WIFI network to communicate in a same local network to establish C/S (client/server) communication. Therefore, data transfer between the master device and the slave device by means of C/S communication of the local network in WIFI connection can be realized while data transferring capacity of the HDMI CEC is kept to realize notification of device networking conditions and message exchange, and accordingly automation and quickness in networking of the two devices is realized while reliability in networking of the two devices is guaranteed.
Description
Technical field
The present invention relates to communication technical field, be specifically related to a kind of method realizing automatic network-building between master-slave equipment.
Background technology
Along with popularizing of intelligent artifact, especially the development of intelligent TV set, require more and more higher to hardware configuration, Consumer's Experience, the particularly update of PC kernel processor chip, in the urgent need to the operating experience of intelligent television of upgrading more and more sooner, the experience upgrading of intelligent TV set, relate to several aspects such as system configuration, intelligent television is different from mobile phone, and the design update of television set is relative with sales promotion slowly, and the cycle causing whole industry to upgrade lengthens; Intelligent television is as large of the family expenses of user's family, and durability is strong, and user can not often upgrade; The system configuration of intelligent television considers the pressure of cost, and hardware configuration cannot be compared with mobile phone, pad.
Summary of the invention
The invention provides a kind of between two smart machines by a set of communication protocol, be that two smart machines set up network service, two smart machines merged, be equipment content can carry out unified operation master-slave equipment between realize the method for automatic network-building.
For achieving the above object, the present invention is by the following technical solutions:
Realize a method for automatic network-building between master-slave equipment, it is characterized in that, it comprises the following steps:
S1, main equipment networking flow process;
Described step S1 specifically comprises the following steps:
HDMI CEC monitor function in S11, startup main equipment, then waits for from equipment HDMI CEC and connecting;
S12, wait for that main equipment is connected with the HDMI CEC from equipment and main equipment connects AP by WIFI;
S13, when main equipment with from the HDMI CEC successful connection between equipment and after main equipment is successfully connected to AP by WIFI, main equipment utilizes HDMI CEC to the AP information sending main equipment from equipment and connect;
S14, after being successfully connected to AP from equipment by WIFI, to send from equipment utilization HDMI CEC to main equipment from the IP address of equipment and service port number;
After the IP address that S15, main equipment receive equipment and service port number, above-mentioned information is utilized to set up C/S network service;
S2、。From equipment network flow process;
Described step S2 specifically comprises the following steps:
S21, start HDMI CEC monitor function from equipment, then wait for that main equipment HDMI CEC connects;
S22, wait for from equipment and be connected with the HDMI CEC of main equipment and connect AP from equipment by WIFI;
S23, when after equipment and main equipment HDMI CEC successful connection, if be successfully connected to AP from equipment by WIFI, be then sent to main equipment from equipment utilization HDMI CEC by from the IP address of equipment and service port number; If successfully AP can not be connected to from equipment by WIFI, then wait for that the AP information that main equipment utilizes HDMI CEC to be connected by main equipment is sent to from equipment;
S24, when receive from equipment main equipment connect AP information after, again connect AP by WIFI from equipment;
If S25 is from AP equipment connection, be then sent to main equipment by from the IP address of equipment and serve port by HDMI CEC from equipment; If from equipment connection AP failure, then pass through HDMI CEC from equipment and notify main equipment, from equipment connection AP failure, and jump to the information that step S24 continues to wait for the AP that main equipment is connected by HDMI CEC transmission main equipment.
Further technical scheme is, the AP information that described main equipment connects comprises the cipher mode of the title of AP, the password of AP or AP.
Further technical scheme is, described main equipment is intelligent television.
Further technical scheme is, described from equipment be intelligent television, PAD, mobile phone or computer.
First by startup two smart machines (main equipment and from equipment) in the technical program, carry out HDMI CEC and connect and monitor, start WIFI simultaneously and connect, main equipment and after equipment HDMI CEC successful connection, if main equipment successfully connects AP by WIFI, the information that main equipment WIFI connects AP then sends to from equipment by HDMI CEC by main equipment, get the AP information of main equipment WIFI connection from equipment after, after connecting this AP success from equipment WIFI, create network service, and send to main equipment by from the IP address of equipment and serve port by HDMI CEC, main equipment gets after the IP information and serve port of equipment by the CEC of HDMI, utilize WIFI network at same local area network communication, set up C/S communication.Data transmission is carried out in the C/S communication that so just can realize the LAN that main equipment is connected with from equipment utilization WIFI, retain the data transmission energy of HDMI CEC simultaneously, announcement apparatus networking state and message, thus reach the reliability that can to realize automatic quickly networking between two equipment and ensure two equipment networks, simultaneously can service between self-defining device.The rapidity of such solution two equipment room major networks and the transmission of mass data content, promote the effect of interactive experience.
Compared with prior art, the invention has the beneficial effects as follows:
The present invention realizes the automatic quickly networking between two equipment, ensure that the reliability of two equipment networks, simultaneously can service between self-defining device.Utilize CEC can reliable notification message between transfer equipment, utilize the data content that C/S can be a large amount of between transfer equipment simultaneously, solve the rapidity of two equipment room major networks and the transmission of mass data content so simultaneously, promote interactive experience.
Accompanying drawing explanation
Fig. 1 be an embodiment of the present invention master-slave equipment between realize the flow chart of the method for automatic network-building.
Embodiment
Embodiment 1
As shown in Figure 1, in the present embodiment, main equipment selects 55Q2R complete machine, and from equipment choosing 3288 module, concrete steps are as follows:
S1, start main equipment and from equipment simultaneously, carry out HDMI CEC and connect and monitor, and carry out WIFI connection separately by main equipment with from equipment simultaneously;
After S2, two equipment wait for the success of HDMI CEC connection establishments, if from equipment by AP WIFI connection, then send to main equipment from equipment utilization HDMI CEC by from the IP address of equipment and serve port;
After S3, two equipment wait for the success of HDMI CEC connection establishment, if main equipment is by AP in WIDI connection and the IP address that have received from equipment and serve port, if main equipment and from equipment at same local area network (LAN), main equipment is set up C/S from the IP address of equipment with serve port with regard to utilization and is communicated, otherwise the AP information utilizing HDMICEC to be connected by main equipment (comprising the title of AP, the password of AP and the cipher mode of AP) sends to from equipment;
S4, to get AP information (comprising the title of AP, the password of AP and the cipher mode of AP) that main equipment connects from equipment after, if from equipment not by this AP WIFI connections, then this AP of continuation connection.If successfully connect this AP from equipment by WIFI, by the IP address obtained from this AP of equipment connection be sent to main equipment from device service port by HDMI CEC.If from this AP failure of equipment connection, sent from equipment connection AP failed message to main equipment by HDMICEC;
S5, main equipment get the state from equipment connection AP by HDMI CEC, if main equipment receives from equipment connection AP failure, turn step S3.If main equipment receives from equipment connection AP success, then main equipment utilizes the IP address that sended over by HDMI CEC from equipment and serve port to carry out C/S establishment;
After S6, networking success, whether main equipment continues to monitor networking and disconnects, if networking disconnects, and rebound step S1.
After networking success, the C/S of the LAN that main equipment is connected with from equipment utilization WIFI transmits the larger data of data volume, (some message status notify to utilize the data-transformation facility of HDMI CEC to transmit the less data of data volume, key value transmission etc.), namely achieve main equipment by such scheme and from the data communication between equipment, reach the configuration upgrading of system equipment.Utilize the agreement in this programme to solve the rapidity of two equipment room major networks and the transmission of mass data content simultaneously, promote interactive experience.
Above embodiment is described in detail to essence of the present invention; but can not limit protection scope of the present invention; apparently; under enlightenment of the present invention; the art those of ordinary skill can also carry out many improvement and modification; it should be noted that these improve and modify all to drop within claims of the present invention.
Claims (4)
1. realize a method for automatic network-building between master-slave equipment, it is characterized in that, it comprises the following steps:
S1, main equipment networking flow process;
Described step S1 specifically comprises the following steps:
HDMI CEC monitor function in S11, startup main equipment, then waits for from equipment HDMI CEC and connecting;
S12, wait for that main equipment is connected with the HDMI CEC from equipment and main equipment connects AP by WIFI;
S13, when main equipment with from the HDMI CEC successful connection between equipment and after main equipment is successfully connected to AP by WIFI, main equipment utilizes HDMI CEC to the AP information sending main equipment from equipment and connect;
S14, after being successfully connected to AP from equipment by WIFI, to send from equipment utilization HDMI CEC to main equipment from the IP address of equipment and service port number;
After the IP address that S15, main equipment receive equipment and service port number, above-mentioned information is utilized to set up C/S network service;
S2、。From equipment network flow process;
Described step S2 specifically comprises the following steps:
S21, start HDMI CEC monitor function from equipment, then wait for that main equipment HDMI CEC connects;
S22, wait for from equipment and be connected with the HDMI CEC of main equipment and connect AP from equipment by WIFI;
S23, when after equipment and main equipment HDMI CEC successful connection, if be successfully connected to AP from equipment by WIFI, be then sent to main equipment from equipment utilization HDMI CEC by from the IP address of equipment and service port number;
If successfully AP can not be connected to from equipment by WIFI, then wait for that the AP information that main equipment utilizes HDMI CEC to be connected by main equipment is sent to from equipment;
S24, when receive from equipment main equipment connect AP information after, again connect AP by WIFI from equipment;
If S25 is from AP equipment connection, then pass through from the IP address of equipment and serve port from equipment
HDMI CEC is sent to main equipment;
If from equipment connection AP failure, then pass through HDMI CEC from equipment and notify main equipment, from equipment connection AP failure, and jump to the information that step S24 continues to wait for the AP that main equipment is connected by HDMI CEC transmission main equipment.
2. realize the method for automatic network-building between master-slave equipment according to claim 1, it is characterized in that AP information that described main equipment connects comprises the cipher mode of the title of AP, the password of AP or AP.
3. realize the method for automatic network-building between master-slave equipment according to claim 1, it is characterized in that described main equipment is intelligent television.
4. between master-slave equipment according to claim 1, realize the method for automatic network-building, it is characterized in that described from equipment be intelligent television, PAD, mobile phone or computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510122591.4A CN104797004B (en) | 2015-03-19 | 2015-03-19 | The method that automatic network-building is realized between master-slave equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510122591.4A CN104797004B (en) | 2015-03-19 | 2015-03-19 | The method that automatic network-building is realized between master-slave equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104797004A true CN104797004A (en) | 2015-07-22 |
CN104797004B CN104797004B (en) | 2018-04-27 |
Family
ID=53561405
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510122591.4A Active CN104797004B (en) | 2015-03-19 | 2015-03-19 | The method that automatic network-building is realized between master-slave equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104797004B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105657641A (en) * | 2015-12-31 | 2016-06-08 | 中科创达软件股份有限公司 | Interconnection device identification method, master intelligent device and slave intelligent device |
CN108990120A (en) * | 2018-08-01 | 2018-12-11 | 福建天泉教育科技有限公司 | A kind of method and server of wireless network automatic switchover |
CN109151066A (en) * | 2018-10-17 | 2019-01-04 | 重庆思柏高科技有限公司 | The communication means and device of internet of things equipment |
CN113543273A (en) * | 2020-04-15 | 2021-10-22 | 深圳市云动创想科技有限公司 | Audio data transmission method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102017623A (en) * | 2007-08-01 | 2011-04-13 | 夏普株式会社 | Network AV device and AV network system |
CN102740498A (en) * | 2010-12-14 | 2012-10-17 | 微软公司 | Direct connection with side channel control |
WO2014200691A1 (en) * | 2013-06-10 | 2014-12-18 | Apple Inc. | Configuring wireless accessory devices |
-
2015
- 2015-03-19 CN CN201510122591.4A patent/CN104797004B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102017623A (en) * | 2007-08-01 | 2011-04-13 | 夏普株式会社 | Network AV device and AV network system |
CN102740498A (en) * | 2010-12-14 | 2012-10-17 | 微软公司 | Direct connection with side channel control |
WO2014200691A1 (en) * | 2013-06-10 | 2014-12-18 | Apple Inc. | Configuring wireless accessory devices |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105657641A (en) * | 2015-12-31 | 2016-06-08 | 中科创达软件股份有限公司 | Interconnection device identification method, master intelligent device and slave intelligent device |
CN105657641B (en) * | 2015-12-31 | 2020-05-05 | 中科创达软件股份有限公司 | Method for identifying interconnection equipment, master intelligent equipment and slave intelligent equipment |
CN108990120A (en) * | 2018-08-01 | 2018-12-11 | 福建天泉教育科技有限公司 | A kind of method and server of wireless network automatic switchover |
CN109151066A (en) * | 2018-10-17 | 2019-01-04 | 重庆思柏高科技有限公司 | The communication means and device of internet of things equipment |
CN109151066B (en) * | 2018-10-17 | 2021-03-23 | 重庆思柏高科技有限公司 | Communication method and device of Internet of things equipment |
CN113543273A (en) * | 2020-04-15 | 2021-10-22 | 深圳市云动创想科技有限公司 | Audio data transmission method and system |
CN113543273B (en) * | 2020-04-15 | 2023-12-01 | 深圳市云动创想科技有限公司 | Audio data transmission method and system |
Also Published As
Publication number | Publication date |
---|---|
CN104797004B (en) | 2018-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107231606B (en) | WiFi network access method, intelligent hardware equipment and electronic terminal | |
EP2645636B1 (en) | Home gateway, cloud server, and method for communication therebetween | |
CN105471686B (en) | Terminal control method, device and system | |
CN110995554A (en) | Method and device for configuring and accessing intelligent household electrical appliance network and storage medium | |
CN105050202B (en) | The session establishing method of mobile terminal actively accessed using Relay Server | |
CN105100021B (en) | Triggering method, device and system for device management session | |
WO2013178174A1 (en) | Capability open platform, method and gateway for achieving terminal device plug and play management | |
US10908889B2 (en) | Method, user equipment, and application server for downloading application | |
WO2016197861A1 (en) | Remote management method, managed device, managing device and intelligent television system | |
CN104797004A (en) | Method for implementation of automatic networking between master and slave devices | |
CN102833324A (en) | Service collaborative implementation method and device | |
TW201633045A (en) | Wireless docking system for audio-video relay | |
US20160285949A1 (en) | Wireless login-based remote control method and device | |
CN110784939B (en) | Data communication method, device and system | |
CN106657076B (en) | TCP service implementation method and device for network name space | |
WO2012175024A1 (en) | Method, system and device for realizing concurrency of wireless data transmission and short message transceiving | |
WO2011130962A1 (en) | Remote processing method, device and system | |
CN102761780A (en) | Method for obtaining media metadata by intelligent remote controller to | |
CN104391576A (en) | Remote input method and device based on wireless Ethernet | |
CN104852835A (en) | Smart device WIFI communication system and control method thereof | |
CN111130865A (en) | Network equipment firmware batch upgrading method and system based on two-layer switching | |
WO2013123688A1 (en) | Method and device for data access | |
US20240048990A1 (en) | Bluetooth connection method and system, intelligent terminal, and computer storage medium | |
CN104935571B (en) | A kind of exchange method of video game server-side and client | |
CN110418430B (en) | Application sending and receiving method and device, storage medium and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |