CN104796688A - Method for detecting device activity state through CEC communication - Google Patents
Method for detecting device activity state through CEC communication Download PDFInfo
- Publication number
- CN104796688A CN104796688A CN201510124666.2A CN201510124666A CN104796688A CN 104796688 A CN104796688 A CN 104796688A CN 201510124666 A CN201510124666 A CN 201510124666A CN 104796688 A CN104796688 A CN 104796688A
- Authority
- CN
- China
- Prior art keywords
- television
- ancillary equipment
- cec
- networking
- state
- 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
Abstract
The invention discloses a method for detecting a device activity state through CEC communication. The method comprises the steps of establishing a protocol instruction unified for a television terminal and a peripheral device terminal, conducting CEC networking on the television terminal and the peripheral device terminal, enabling the television terminal to send a state query instruction so as to obtain the working state of a peripheral device, actively pushing a working state to the television terminal and enabling the television terminal to timely receive and process state change when the working state of the peripheral device is changed. The method utilizes HDMI CEC communication and an established protocol to detect and master the state of the peripheral device through a television, feedback processing is timely made, and the defect of wireless interaction between the television and the peripheral device is overcome.
Description
Technical field
The present invention relates to technical field of television sets, be specifically related to a kind of method by CEC communication detection device activity state.
Background technology
Current intelligent operating system overall application, on TV platform, by intelligent television platform, the getting more and more alternately of TV and other ancillary equipment, to become increasingly complex, as multi-screen interactive, Set Top Box countercharge etc.
These mutual realizations are utilize wireless (as WiFi etc.) to realize at present substantially, and therefore, the requirement for environment is just very high.As unstable in network environment, occur poor anti jamming capability, frequently the problem such as to go offline, mutual between TV and ancillary equipment just cannot realize.
Summary of the invention
Instant invention overcomes the deficiencies in the prior art, provide a kind of method by CEC communication detection device activity state, when not increasing cost to be desirably in, between effective solution TV and ancillary equipment, wireless interaction is to the Dependence Problem of network environment.
Consider the problems referred to above of prior art, according to an aspect disclosed by the invention, the present invention by the following technical solutions:
By a method for CEC communication detection device activity state, it comprises:
Step one, set up a set of television and the unified protocol instructions of ancillary equipment end;
Step 2, television and ancillary equipment end are carried out CEC networking;
Step 3, television send status inquiry command, obtain the operating state of ancillary equipment;
When step 4, ancillary equipment operating state change, initiatively push operating state to television, television accepts and the change for the treatment of state in time.
In order to realize the present invention better, further technical scheme is:
According to one embodiment of the invention, also comprise step 5, ancillary equipment crashes and judges:
Television timed sending CEC status inquiry command, if continue to exceed setting command number of times and do not obtain ancillary equipment CEC response, then think that ancillary equipment crashes, television does corresponding abnormality processing.
According to another embodiment of the invention, in described step 2: when HDMI equipment access having been detected, television peripheral device end sends querying command, request OSD Name, ancillary equipment reply OSDName, if title be television to the ancillary equipment end title taken over, television just to ancillary equipment end send confirmation networking order, television completes networking after again receiving ancillary equipment end confirmation.
The present invention can also be:
According to another embodiment of the invention, in described step 3: television sets up a thread, after networking completes, television thread timed sending status inquiry command, obtains the operating state of ancillary equipment.
Compared with prior art, one of beneficial effect of the present invention is:
A kind of method by CEC communication detection device activity state of the present invention, utilize CEC communication mechanism, set up the command system that a set of TV and CEC ancillary equipment can identify, communication is carried out at ancillary equipment and TV Room by CEC, the operating state of real-time grasp ancillary equipment, ensure that the mutual stability between TV and CEC ancillary equipment.
Accompanying drawing explanation
In order to clearer explanation present specification embodiment or technical scheme of the prior art, below the accompanying drawing used required in the description to embodiment or prior art is briefly described, apparently, the accompanying drawing that the following describes is only the reference to some embodiments in present specification, for those skilled in the art, when not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 shows overall architecture block diagram according to an embodiment of the invention.
Fig. 2 shows schematic flow sheet according to an embodiment of the invention.
Embodiment
Below in conjunction with embodiment, the present invention is described in further detail, but embodiments of the present invention are not limited thereto.
As shown in Figure 1 and Figure 2, by the method for CEC communication detection device activity state in intelligent system: utilize CEC communication mechanism, set up the command system that a set of TV and CEC ancillary equipment can identify, carry out communication by CEC at ancillary equipment and TV Room, grasp the operating state of ancillary equipment in real time.
The present invention utilizes CEC communication mechanism, and the operating state of television set real-time query, grasp ancillary equipment, ensures the mutual stability between TV and CEC ancillary equipment.
Television utilizes HDMI CEC communication function, sends certain protocol command, and Real-Time Monitoring understands the operating state of CEC equipment, solves wireless (WiFi) between TV and ancillary equipment mutual Dependence Problem to network environment.
The television reception machine series products of HDMI CEC communication function can be supported.Television set and CEC equipment carry out co-development, do not do requirement to the equipment taken over.It can comprise the following steps:
A, monitor when TV having CEC equipment access, behavior of shaking hands (CEC networking);
B, to shake hands successfully, timing can carry out communication with CEC equipment, carry out state updating (heartbeat mechanism);
The operating state of c, real-time reception CEC equipment upgrades and processes.
And CEC communication can be utilized to judge to carry out ancillary equipment deadlock.
Concrete handling process is as follows:
1. set up a set of protocol instructions, television and ancillary equipment end all carry out designing and processing according to agreement.
2.CEC networking: when HDMI equipment access (hotplug is for high) having been detected, querying command is sent to equipment, request OSD Name, OSD Name replied by ancillary equipment, if title is that television system is to the peripheral name taken over, just send the order confirming networking to ancillary equipment, after again receiving ancillary equipment confirmation, complete networking.
3. status poll: television sets up a thread (hander), after networking completes, television thread timed sending status inquiry command, obtains the operating state of ancillary equipment, as whether start shooting, Recovery success or not, the state such as WiFi connection or disconnection.
4. ancillary equipment pushes: the operating state changing push accepting ancillary equipment, when ancillary equipment operating state changes, initiatively pushes operating state to television, and television accepts and the change for the treatment of state in time.
5. ancillary equipment crashes and judges: television timed sending CEC status inquiry command, if continuous 5 subcommands do not obtain the CEC response of ancillary equipment, then think that ancillary equipment crashes, television does corresponding abnormality processing.
In sum, the present invention utilizes HDMI CEC communication, by the agreement set up, is detected and grasps the state of ancillary equipment, make feedback processing in time, compensate for the defect of wireless interaction between TV and ancillary equipment by TV.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiment, identical similar portion cross-reference between each embodiment.
Spoken of in this manual " embodiment ", " another embodiment ", " embodiment ", etc., refer to the specific features, structure or the feature that describe in conjunction with this embodiment and be included at least one embodiment of the application's generality description.Multiple place occurs that statement of the same race is not necessarily refer to same embodiment in the description.Furthermore, when describing specific features, structure or a feature in conjunction with any embodiment, what advocate is also fall within the scope of the invention to realize this feature, structure or feature in conjunction with other embodiments.
Although with reference to multiple explanatory embodiment of the present invention, invention has been described here, but, should be appreciated that, those skilled in the art can design a lot of other amendment and execution mode, these amendments and execution mode will drop within spirit disclosed in the present application and spirit.More particularly, in the scope of and claim open in the application, multiple modification and improvement can be carried out to the building block of subject combination layout and/or layout.Except the modification of carrying out building block and/or layout is with except improvement, to those skilled in the art, other purposes also will be obvious.
Claims (4)
1., by a method for CEC communication detection device activity state, it is characterized in that it comprises:
Step one, set up a set of television and the unified protocol instructions of ancillary equipment end;
Step 2, television and ancillary equipment end are carried out CEC networking;
Step 3, television send status inquiry command, obtain the operating state of ancillary equipment;
When step 4, ancillary equipment operating state change, initiatively push operating state to television, television accepts and the change for the treatment of state in time.
2. the method by CEC communication detection device activity state according to claim 1, characterized by further comprising step 5, and ancillary equipment crashes and judges:
Television timed sending CEC status inquiry command, if continue to exceed setting command number of times and do not obtain ancillary equipment CEC response, then think that ancillary equipment crashes, television does corresponding abnormality processing.
3. the method by CEC communication detection device activity state according to claim 1, it is characterized in that in described step 2: when HDMI equipment access having been detected, television peripheral device end sends querying command, request OSD Name, OSD Name replied by ancillary equipment, if title be television to the ancillary equipment end title taken over, television just sends the order of confirmation networking to ancillary equipment end, television completes networking after again receiving ancillary equipment end confirmation.
4. the method by CEC communication detection device activity state according to claim 1, it is characterized in that in described step 3: television sets up a thread, after networking completes, television thread timed sending status inquiry command, obtains the operating state of ancillary equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510124666.2A CN104796688B (en) | 2015-03-20 | 2015-03-20 | By the method for CEC communication detection equipment active states |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510124666.2A CN104796688B (en) | 2015-03-20 | 2015-03-20 | By the method for CEC communication detection equipment active states |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104796688A true CN104796688A (en) | 2015-07-22 |
CN104796688B CN104796688B (en) | 2017-06-23 |
Family
ID=53561166
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510124666.2A Active CN104796688B (en) | 2015-03-20 | 2015-03-20 | By the method for CEC communication detection equipment active states |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104796688B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105739464A (en) * | 2016-01-27 | 2016-07-06 | 四川长虹电器股份有限公司 | Main control communication method used for intelligent household electrical appliances |
CN105843046A (en) * | 2016-03-17 | 2016-08-10 | 四川长虹电器股份有限公司 | Intelligent household electrical appliance master control communication method and system thereof |
CN105872308A (en) * | 2015-12-07 | 2016-08-17 | 乐视云计算有限公司 | Power supply state synchronization method and device among terminals |
CN110620943A (en) * | 2019-09-17 | 2019-12-27 | 晶晨半导体(上海)股份有限公司 | Control method and device based on multimedia interface |
CN112911394A (en) * | 2021-01-28 | 2021-06-04 | 湖南国科微电子股份有限公司 | Crash judgment method, device, equipment and medium for set top box |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102055943A (en) * | 2009-10-28 | 2011-05-11 | 纬创资通股份有限公司 | Detection method, detection device and multimedia device |
CN102077588A (en) * | 2008-07-03 | 2011-05-25 | 松下电器产业株式会社 | Cec communication device, audio/video device using the same, and cec communication method |
JP2011142547A (en) * | 2010-01-08 | 2011-07-21 | Toshiba Corp | Apparatus and method for processing video and audio |
US20140002748A1 (en) * | 2007-12-07 | 2014-01-02 | Hitachi, Ltd. | Image transfer apparatus |
CN103907359A (en) * | 2011-09-22 | 2014-07-02 | 环球电子有限公司 | System and method for configuring controlling device functionality |
CN104219544A (en) * | 2013-05-29 | 2014-12-17 | 中国电信股份有限公司 | Method and system for dynamically scheduling IPTV service resources |
-
2015
- 2015-03-20 CN CN201510124666.2A patent/CN104796688B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140002748A1 (en) * | 2007-12-07 | 2014-01-02 | Hitachi, Ltd. | Image transfer apparatus |
CN102077588A (en) * | 2008-07-03 | 2011-05-25 | 松下电器产业株式会社 | Cec communication device, audio/video device using the same, and cec communication method |
CN102055943A (en) * | 2009-10-28 | 2011-05-11 | 纬创资通股份有限公司 | Detection method, detection device and multimedia device |
JP2011142547A (en) * | 2010-01-08 | 2011-07-21 | Toshiba Corp | Apparatus and method for processing video and audio |
CN103907359A (en) * | 2011-09-22 | 2014-07-02 | 环球电子有限公司 | System and method for configuring controlling device functionality |
CN104219544A (en) * | 2013-05-29 | 2014-12-17 | 中国电信股份有限公司 | Method and system for dynamically scheduling IPTV service resources |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105872308A (en) * | 2015-12-07 | 2016-08-17 | 乐视云计算有限公司 | Power supply state synchronization method and device among terminals |
CN105739464A (en) * | 2016-01-27 | 2016-07-06 | 四川长虹电器股份有限公司 | Main control communication method used for intelligent household electrical appliances |
CN105739464B (en) * | 2016-01-27 | 2018-11-30 | 四川长虹电器股份有限公司 | Master Communications method in intelligent appliance equipment |
CN105843046A (en) * | 2016-03-17 | 2016-08-10 | 四川长虹电器股份有限公司 | Intelligent household electrical appliance master control communication method and system thereof |
CN110620943A (en) * | 2019-09-17 | 2019-12-27 | 晶晨半导体(上海)股份有限公司 | Control method and device based on multimedia interface |
CN110620943B (en) * | 2019-09-17 | 2021-06-04 | 晶晨半导体(上海)股份有限公司 | Control method and device based on multimedia interface |
CN112911394A (en) * | 2021-01-28 | 2021-06-04 | 湖南国科微电子股份有限公司 | Crash judgment method, device, equipment and medium for set top box |
Also Published As
Publication number | Publication date |
---|---|
CN104796688B (en) | 2017-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104796688A (en) | Method for detecting device activity state through CEC communication | |
CN104113458A (en) | Mobile terminal and intelligent household appliance interconnecting method and device | |
JP2019536155A (en) | Data transmission method and apparatus | |
TWI502938B (en) | Method, apparatus and system for remotely controlling electronic apparatus | |
CN103179027A (en) | Method and system for realizing compatibility of electrical appliance, and universal peripheral access gateway | |
CN102065152A (en) | Joined screen system and communication device thereof | |
CN105516960A (en) | Non-perceptual authentication method system, management method and system based on the method system | |
CN104065744B (en) | The control management method and remote terminal of a kind of distal end smart machine | |
JP2013246447A5 (en) | ||
CN103634657A (en) | Television and mobile terminal synchronous WIFI connection setup method and device | |
WO2016177144A1 (en) | Network element monitoring method and device | |
CN102523118A (en) | Redundancy control system consisting of multiple control computers in local area network and method for redundancy control system | |
CN104765641A (en) | Job scheduling method and system | |
CN104394127A (en) | A multimedia sharing method, device and system | |
CN102984237A (en) | System and method for data transmission and based on socket | |
CN105407149A (en) | Message pushing method and device | |
WO2015172745A1 (en) | Bidirectional forwarding detection | |
CN106412062A (en) | Method and system for remotely loading engineering to device and monitoring operation state of engineering | |
CN104797004A (en) | Method for implementation of automatic networking between master and slave devices | |
CN105068435A (en) | Distributed wireless smart home system | |
CN205644255U (en) | Automatic change control system of workshop | |
CN104486443A (en) | Message pushing system and method | |
CN104104554A (en) | Life cycle method and apparatus for detecting data access request | |
CN103685178A (en) | Industrial wireless network oriented online debugging method and system | |
Zhang | Architecture of network and client-server model |
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 |