CN102098467A - Method and device for realizing bilateral control of television terminal - Google Patents

Method and device for realizing bilateral control of television terminal Download PDF

Info

Publication number
CN102098467A
CN102098467A CN 201010592200 CN201010592200A CN102098467A CN 102098467 A CN102098467 A CN 102098467A CN 201010592200 CN201010592200 CN 201010592200 CN 201010592200 A CN201010592200 A CN 201010592200A CN 102098467 A CN102098467 A CN 102098467A
Authority
CN
China
Prior art keywords
television terminal
control
control end
communication interface
field
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
Application number
CN 201010592200
Other languages
Chinese (zh)
Other versions
CN102098467B (en
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.)
Hisense Broadband Multimedia Technology Co Ltd
Original Assignee
Hisense Broadband Multimedia 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 Hisense Broadband Multimedia Technology Co Ltd filed Critical Hisense Broadband Multimedia Technology Co Ltd
Priority to CN 201010592200 priority Critical patent/CN102098467B/en
Publication of CN102098467A publication Critical patent/CN102098467A/en
Application granted granted Critical
Publication of CN102098467B publication Critical patent/CN102098467B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a device for realizing bilateral control of a television terminal. In the method of bilateral control, communication connection is established between the television terminal and a control terminal through a communication interface; and a control command is sent by the control terminal according to the set communication protocol, and is transmitted to the television terminal through the communication interface; the control command is sent by the television terminal according to the set communication protocol, and is transmitted to the control terminal through the communication interface, thus realizing the bilateral control of the television terminal, and expanding the control mode and application range of the television terminal.

Description

Realize the method and the device of the two-way control of television terminal
Technical field
The present invention relates to television terminal, specifically, relate to television terminal is realized the method and apparatus of two-way control, belong to television terminal control technology field.
Background technology
At present, television terminal equipments such as all TVs, set-top box generally adopt the mode based on infrared remote control to realize control, such control mode is unidirectional control mode, and promptly remote controller initiatively sends telecontrol code as control end, the passive reception remote control mode of television terminal.
There is the deficiency of following two aspects in existing this unidirectional control mode: on the one hand, because the infrared remote control mode is unidirectional control model, remote signal can only be sent to television terminal by remote controller, television terminal can not made any response to remote controller after receiving the telecontrol code that remote controller sends, like this, remote controller just can't judge as control end whether the state of television terminal has switched to designated state, can't judge promptly also whether television terminal has carried out control commands corresponding; On the other hand, under this unidirectional control model, control end can't obtain information such as the resource, operating state of television terminal, is unfavorable for the expansion of television terminal to Internet of Things and Smart Home aspect, has limited the application of television terminal.
Summary of the invention
One of purpose of the present invention is to provide a kind of method that realizes the two-way control of television terminal, and this method realizes the transmission of two-way control information between control end and the television terminal based on the two-way communication of communication interface according to the communication protocol of setting.
For achieving the above object, the present invention adopts following technical proposals to be achieved:
A kind of method that realizes the two-way control of television terminal, establish a communications link by communication interface between television terminal and the control end, control end transfers to television terminal according to the communication protocol transmitting control commands of setting and by communication interface, and television terminal transfers to control end according to the communication protocol transmitting control commands of setting and by communication interface.
Aforesaid method, described communication interface can be serial ports or Ethernet interface.When communication interface was serial ports, described television terminal directly was connected by serial ports with described control end; When communication interface was Ethernet interface, described control end was connected with described television terminal by router.
Aforesaid method, for ease of the compatibility of communication protocol to various communication interfaces, effectively carry out the transmission of control command, control command between described television terminal and described control end sends by the form of packet, and comprises a function digital section of control command number in the characterization data bag in the described communication protocol, the controlled function field of characterization control command functions, sign reads or writes the read/write field of state, the controlling value field of the new value that the characterization control function is set up in control procedure, the controlling value type field of the data type of characterization control value, the controlling value length field of characterization control value length and the operating result field that characterizes operation result information.
Aforesaid method when a plurality of packet of transmission, can adopt the seamless link mode to transmit between described television terminal and the described control end, to improve data transmission efficiency between packet and the packet.
Aforesaid method, described control end can be hand-held terminal device or PC.
Two of purpose of the present invention is to provide a kind of device of realizing the two-way control of television terminal, utilizes the communication interface be arranged on the television terminal to realize bidirectional data transfers and control with control end.
For achieving the above object, the present invention adopts following technical proposals to be achieved:
A kind of device of realizing the two-way control of television terminal, comprise television terminal and control end, television terminal is provided with communication interface, control end be provided with television terminal on the communication interface that is complementary of communication interface, television terminal and control end establish a communications link by communication interface, are used to transmit control command.
Aforesaid device, described communication interface can be serial ports or Ethernet interface.When communication interface was serial ports, described television terminal directly was connected by serial ports with described control end; When communication interface was Ethernet interface, described control end was connected with described television terminal by router.
Aforesaid device, described control end can be hand-held terminal device or PC.
Compared with prior art, advantage of the present invention and good effect are: the present invention is by being provided with communication interface on television terminal and control end, utilize communication interface to establish a communications link, be used between television terminal and control end, transmitting control command, control end not only can be controlled television terminal easily, can also obtain execution result and other state informations from television terminal, thereby can realize the two-way control between television terminal and the control end, be convenient to television terminal and the Internet of Things of fast development and the fusion between intelligent domestic system.
After reading the specific embodiment of the present invention in conjunction with the accompanying drawings, other characteristics of the present invention and advantage will become clearer.
Description of drawings
Fig. 1 is the Organization Chart that the present invention realizes an embodiment of device of the two-way control of television terminal;
Fig. 2 is the workflow diagram that the present invention realizes an embodiment of method of the two-way control of television terminal.
Embodiment
Below in conjunction with the drawings and specific embodiments technical scheme of the present invention is described in further detail.
The present invention is directed to television terminals such as existing TV, set-top box can only with remote controller carry out unidirectional control as control end and the control mode that exists single, can't realize the television terminal feedback response information and the deficiency brought, a kind of method and the device that can realize the two-way control of television terminal is provided, its core concept is at television terminal communication interface to be set, the equipment that will have the respective communication interface is as control end, realizes between the two two-way control by specific communication protocol between television terminal and control end.
Figure 1 shows that the present invention realizes the structure chart of an embodiment of device of the two-way control of television terminal.
As shown in Figure 1, the bidirectional control device of this embodiment comprises the TV 1 as television terminal, and this TV 1 is provided with two communication interfaces, i.e. serial ports 11 and Ethernet interface 12.Be connected with a control end 21 on the serial ports 11, and be connected with control end 22 by router three on the Ethernet interface 12 with Ethernet interface or the wireless network interface of WiFi with serial ports.
Be connected by serial ports between control end 21 and the TV 1 and set up communication, control end 21 can be realized the control to TV 1 by serial communication channel transfer control command to TV 1; And TV 1 also can transfer to control end 21 with work state information and resource information with TV 1 by serial communication channel transfer response command to control end 21.
Set up communication and be connected by Ethernet interface between control end 22 and the TV 1, control end 22 can be realized the control to TV 1 by TCP/IP Network Transmission channel transfer control command to TV 1; And TV 1 also can transfer to control end 21 with work state information and resource information with TV 1 by TCP/IP Network Transmission channel transfer response command to control end 22.
Control end 21 and control end 22 can be the hand-held terminal devices with respective communication interface, as iPhone etc., perhaps for having the PC of respective communication interface.
TV 1 among this embodiment had both had serial ports, also had Ethernet interface, certainly, also can be only to be provided with wherein a kind of communication interface, perhaps also was provided with the communication interface of other types.
Fig. 2 shows the flow chart that the present invention realizes an embodiment of method of the two-way control of television terminal.This method is example with TV as television terminal still based on the device among Fig. 1.
As shown in Figure 2, for the device among Fig. 1, the flow process of the method for the two-way control of realization television terminal is as follows:
S21: flow process begins.
S22: control end and TV end establish a communications link.
Communicating to connect may be that serial ports connects, and also may be that Ethernet connects, and perhaps communicating to connect of other types depended on the communication port that control end and TV end are had.
S23: control end according to the communication protocol transmitting control commands to the TV end.
S24: the TV end sends response command to control end according to communication protocol.
No matter be to communicate to connect by which kind of to communicate, all need a communication protocol, control command is packed and resolve so that control end and TV end are followed this communication protocol.For so that communication protocol to the compatibility of various communication interfaces, effectively carry out the transmission of control command, the control command between television terminal and control end sends by the form of packet, and the communication protocol that this embodiment adopted is as follows:
In the transmission means of this communication protocol definition, data are all transmitted in the character string mode, include a function digital section, controlled function field, read/write field, controlling value field, controlling value type field, controlling value length field and operating result field in the agreement.The implication and the effect of each field are specially:
A function digital section, the number of control command in the characterization data bag accounts for 1 byte.
The controlled function field, the function of control command in the characterization data bag, the function that this function can provide for television terminal as signal source switching, channel switching etc., accounts for 3 bytes.
Read/write field, the control command in the characterization data bag is read operation or write operation, accounts for 1 byte.
The new value that controlling value field, characterization control function are set up in control procedure accounts for 16 bytes.The mode of high-order alignment, low level polishing is adopted in the filling of controlling value field, and promptly when 16 bytes of controlling value less than, data begin to fill in from high order end, and low order end mends 0.For example, controlling value is 33, accounts for 2 bytes, and high 2 write 33 during filling, and low 14 write 0, and the result is 3300000000000000.
The controlling value type field, the data type of characterization control value accounts for 1 byte.The type of controlling value can include unsigned int unsigned int, three types of symbol integer signed int and character string char etc. are arranged, three kinds of data types are expressed as to enumerate mode: 1 expression unsigned int, 2 expressions have the symbol integer, 3 expression character strings.
The controlling value length field, the length of characterization control value also is the shared effective word joint number of controlling value.Need not the control command of controlling value for having only controlled function, controlling value length is 0.For example, in the control command of " brightness regulation to 50 ", controlling value is 50, accounts for two bytes, and then controlling value length is 2; The control command that " signal source is switched to HDMI " need not controlling value, and so, the length of controlling value is 0.
The operating result field characterizes operation result information.Can adopt 0,1 to represent, if 1, expression is operated successfully, if 0, the expression operation failure.
According to above-mentioned communication protocol, to television terminal, then control end will be packed control command according to above-mentioned communications protocol format as if the control end transmitting control commands, to order bag to transfer to television terminal by communication interface then, at this moment, the operating result field is empty, is in disarmed state; Then, television terminal will be according to same communications protocol format, after the operating result field write corresponding operation result information, by communication interface the response command packet is sent to control end again, then control end promptly know television terminal whether successful execution this control command.If control end need obtain the work at present state information of television terminal, the resource information of perhaps obtaining television terminal and being had then can only be filled a function digital section and controlled function field, is sent to television terminal by communication interface then; Television terminal is according to the description of controlled function field, extract work at present state information or other resource informations and be filled to the controlling value field, and after corresponding filling controlling value type, controlling value length field and the operating result field, by communication interface the response command packet is sent to control end again and gets final product.
In data transmission procedure, if need once send a plurality of packets, can adopt the seamless link mode that separator is not set to transmit between packet and the packet between control end and the television terminal, to improve data transmission efficiency.
S25: flow process finishes.
When adopting said method to realize the two-way control of television terminal, can not influence the application of the unidirectional control mode that the original remote controller of television terminal controls.
Television terminal is as an important element of entertainment in the present family, along with the Internet of Things and the arrival in Smart Home epoch, the unidirectional control mode of traditional employing Infrared remote controller control television terminal makes TV not merge with intelligent domestic system is perfect, can not meet consumers' demand, and the present invention has solved this problem well, adopt communicating to connect of simple two-way serial communication and network service etc., and cooperate the communication protocol of setting, thereby realized the two-way control of television terminal.
Above embodiment is only in order to illustrating technical scheme of the present invention, but not limits it; Although the present invention is had been described in detail with reference to previous embodiment, for the person of ordinary skill of the art, still can make amendment to the technical scheme that previous embodiment is put down in writing, perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of the present invention's technical scheme required for protection.

Claims (10)

1. method that realizes the two-way control of television terminal, it is characterized in that, establish a communications link by communication interface between television terminal and the control end, control end transfers to television terminal according to the communication protocol transmitting control commands of setting and by communication interface, and television terminal transfers to control end according to the communication protocol transmitting control commands of setting and by communication interface.
2. method according to claim 1 is characterized in that, described communication interface is a serial ports, and described television terminal directly is connected by serial ports with described control end.
3. method according to claim 1 is characterized in that, described communication interface is an Ethernet interface, and described control end is connected with described television terminal by router.
4. according to each described method in the claim 1 to 3, it is characterized in that, control command between described television terminal and described control end sends by the form of packet, comprises a function digital section of control command number in the characterization data bag in the described communication protocol, the controlled function field of characterization control command functions, sign reads or writes the read/write field of state, the controlling value field of the new value that the characterization control function is set up in control procedure, the controlling value type field of the data type of characterization control value, the controlling value length field of characterization control value length and the operating result field that characterizes operation result information.
5. method according to claim 4 is characterized in that, when the packet of a plurality of control commands of transmission, adopts the seamless link mode to transmit between packet and the packet between described television terminal and the described control end.
6. method according to claim 1 is characterized in that, described control end is hand-held terminal device or PC.
7. device of realizing the two-way control of television terminal, comprise television terminal and control end, it is characterized in that, television terminal is provided with communication interface, control end be provided with television terminal on the communication interface that is complementary of communication interface, television terminal and control end establish a communications link by communication interface, are used to transmit control command.
8. device according to claim 7 is characterized in that, described communication interface is a serial ports, and described television terminal directly is connected by serial ports with described control end.
9. device according to claim 7 is characterized in that, described communication interface is an Ethernet interface, and described control end is connected with described television terminal by router.
10. according to each described device in the claim 7 to 9, it is characterized in that described control end is hand-held terminal device or PC.
CN 201010592200 2010-12-07 2010-12-07 Method and device for realizing bilateral control of television terminal Expired - Fee Related CN102098467B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010592200 CN102098467B (en) 2010-12-07 2010-12-07 Method and device for realizing bilateral control of television terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010592200 CN102098467B (en) 2010-12-07 2010-12-07 Method and device for realizing bilateral control of television terminal

Publications (2)

Publication Number Publication Date
CN102098467A true CN102098467A (en) 2011-06-15
CN102098467B CN102098467B (en) 2012-12-26

Family

ID=44131310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010592200 Expired - Fee Related CN102098467B (en) 2010-12-07 2010-12-07 Method and device for realizing bilateral control of television terminal

Country Status (1)

Country Link
CN (1) CN102098467B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102695020A (en) * 2012-06-14 2012-09-26 昆山维金五金制品有限公司 TV (television) terminal board
CN104244054A (en) * 2014-08-22 2014-12-24 深圳创维数字技术股份有限公司 Remote control method for multiple terminal devices, related devices and system
CN105630538A (en) * 2014-11-26 2016-06-01 三星电子株式会社 Electronic device for managing use of data from other electronic device and method for controlling the same
CN105915977A (en) * 2015-06-30 2016-08-31 乐视致新电子科技(天津)有限公司 Method for controlling electronic equipment and device thereof
CN106339234A (en) * 2016-08-09 2017-01-18 衣佳鑫 Application method and system for applying television to Internet of Things

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110741608B (en) * 2017-06-12 2021-12-31 铁三角有限公司 Data transmission device and data transmission system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007025860A1 (en) * 2005-08-31 2007-03-08 Siemens Enterprise Communications Gmbh & Co. Kg Method and devices for controlling and operating electrical devices having different functions
CN101047800A (en) * 2006-03-30 2007-10-03 南京Lg同创彩色显示系统有限责任公司 Radio control method of radio TV system
CN101098345A (en) * 2006-06-26 2008-01-02 海尔集团公司 Communication interface and communication method for network household electrical appliance
CN101494804A (en) * 2009-03-03 2009-07-29 天栢宽带网络科技(上海)有限公司 Wired network bidirectional reconstruction system compatible with wideband and narrowband
US20090239587A1 (en) * 2008-03-19 2009-09-24 Universal Electronics Inc. System and method for appliance control via a personal communication or entertainment device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007025860A1 (en) * 2005-08-31 2007-03-08 Siemens Enterprise Communications Gmbh & Co. Kg Method and devices for controlling and operating electrical devices having different functions
CN101047800A (en) * 2006-03-30 2007-10-03 南京Lg同创彩色显示系统有限责任公司 Radio control method of radio TV system
CN101098345A (en) * 2006-06-26 2008-01-02 海尔集团公司 Communication interface and communication method for network household electrical appliance
US20090239587A1 (en) * 2008-03-19 2009-09-24 Universal Electronics Inc. System and method for appliance control via a personal communication or entertainment device
CN101494804A (en) * 2009-03-03 2009-07-29 天栢宽带网络科技(上海)有限公司 Wired network bidirectional reconstruction system compatible with wideband and narrowband

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102695020A (en) * 2012-06-14 2012-09-26 昆山维金五金制品有限公司 TV (television) terminal board
CN104244054A (en) * 2014-08-22 2014-12-24 深圳创维数字技术股份有限公司 Remote control method for multiple terminal devices, related devices and system
CN104244054B (en) * 2014-08-22 2019-04-23 深圳创维数字技术有限公司 A kind of remote control method and relevant apparatus, system of multi-terminal equipment
CN105630538A (en) * 2014-11-26 2016-06-01 三星电子株式会社 Electronic device for managing use of data from other electronic device and method for controlling the same
CN105915977A (en) * 2015-06-30 2016-08-31 乐视致新电子科技(天津)有限公司 Method for controlling electronic equipment and device thereof
CN106339234A (en) * 2016-08-09 2017-01-18 衣佳鑫 Application method and system for applying television to Internet of Things

Also Published As

Publication number Publication date
CN102098467B (en) 2012-12-26

Similar Documents

Publication Publication Date Title
CN102098467B (en) Method and device for realizing bilateral control of television terminal
CN1771695B (en) Home network system
EP2172011B1 (en) Operation of media interface to provide bidirectional communications
CN102273147A (en) Self-configurable asymmetric communication link
CN104301012A (en) Interaction method, terminal and system realized by NFC technique
CN106408923A (en) A remote wireless infrared transponding control system based on cloud infrared code base data
JP2013517693A (en) Video management and control of home multimedia network
CN102497534A (en) Distribution network full high definition video matrix system
CN202488573U (en) Distribution network full high definition video matrix system
CN202111864U (en) Distributed wireless gateway system
CN102404414A (en) Ethernet communication system and method based on multi-media card/security digital card (MMC/SD) interface
CN102624590A (en) Intelligent equipment and system of internet of things
CN204539375U (en) A kind of intelligent home control device based on television network broadcast home gateway
CN101706991A (en) Control system of general remote controller for controlling virtual key via non-man-machine interface
CN101650872B (en) System and method for collecting power utilization information
CN102694702A (en) Home multimedia exchange center system
CN103873560A (en) System for controlling household appliance through network
CN101500104B (en) Narrow-band bi-directional communication terminal apparatus
CN207677744U (en) A kind of data transmission device based on NBIoT networks
CN105357111A (en) ZigBee and KNX protocol conversion gateway
CN203563159U (en) M2M UICC available IoT (Internet of Things) high-definition set top box
CN201608408U (en) Adapter
CN104616480A (en) NFC (near field communication) based infrared remote control setting method and system
CN101226399B (en) Household equipment network control system and control method thereof
CN101707607B (en) EIB bus access control unit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121226

Termination date: 20191207

CF01 Termination of patent right due to non-payment of annual fee