CN102802081A - Method achieving virtual peripheral based on intelligent television terminals and hand-hold equipment - Google Patents

Method achieving virtual peripheral based on intelligent television terminals and hand-hold equipment Download PDF

Info

Publication number
CN102802081A
CN102802081A CN2012102569963A CN201210256996A CN102802081A CN 102802081 A CN102802081 A CN 102802081A CN 2012102569963 A CN2012102569963 A CN 2012102569963A CN 201210256996 A CN201210256996 A CN 201210256996A CN 102802081 A CN102802081 A CN 102802081A
Authority
CN
China
Prior art keywords
intelligent television
virtual peripheral
television terminal
handheld device
hand
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
CN2012102569963A
Other languages
Chinese (zh)
Other versions
CN102802081B (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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201210256996.3A priority Critical patent/CN102802081B/en
Publication of CN102802081A publication Critical patent/CN102802081A/en
Application granted granted Critical
Publication of CN102802081B publication Critical patent/CN102802081B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to the application technology of embedded software, discloses a method achieving virtual peripheral based on intelligent television terminals and hand-hold equipment, and solves the problem that peripherals of existing intelligent television terminals cannot meet operation requirements. The method achieving virtual peripheral based on intelligent television terminals and hand-hold equipment comprises the following steps: a virtual peripheral background monitoring module is started at the television terminal to monitor state of the virtual peripheral; the hand-hold equipment starts a virtual peripheral client-side program to search television terminals in a network environment; the hand-hold equipment discovers and selects television terminals to be connected according to searching results; after successful connection, the hand-hold equipment sends virtual peripheral events to the television terminals according to specified formats; a television terminal monitoring module receives the events, converts virtual events to basic events, and writes the events into a drive; and the television terminal receives the events and performs corresponding processing. The method achieving virtual peripheral based on intelligent television terminals and hand-hold equipment is appropriate for virtual peripheral of intelligent television terminals.

Description

Method based on intelligent television terminal and handheld device realization virtual peripheral
Technical field
The present invention relates to the application technology of embedded software, specifically, relate to a kind of method based on intelligent television terminal and handheld device realization virtual peripheral.
Background technology
Along with the appearance at intelligent television terminal, abundant application can download and move on TV.But from the viewpoint of measures of user experience, the traditional remote controller function can not satisfy the needs of controlling.Under the situation that does not increase professional interactive device; How to make full use of intelligent handheld device at one's side and obtain better experience; Become a research emphasis; So be the center with the TV to around comprise the intelligent handheld device of touch-screen, gravity sensor, gyroscope, microphone, the first-class function of shooting peripheral hardware integrate; Extend TV functions, the idea of lifting means experience is used and is given birth to, and promptly is that multiplexing (being called the virtual peripheral technology) carried out to the existing peripheral functionality of other peripheral smart machine in the center with the TV; Yet also there is not a kind of effective method at present based on intelligent television terminal and handheld device realization virtual peripheral.
Summary of the invention
Technical problem to be solved by this invention is: propose a kind of method based on intelligent television terminal and handheld device realization virtual peripheral, the peripheral hardware that solves present intelligent television terminal can not satisfy the problem of controlling needs.
The present invention solves the problems of the technologies described above the scheme that is adopted: based on the method for intelligent television terminal and handheld device realization virtual peripheral; Said intelligent television is provided with the virtual peripheral oracle listener in the terminal; Be provided with the virtual peripheral client-side program in the said handheld device, this method may further comprise the steps:
A. intelligent television starting terminal virtual peripheral oracle listener is monitored the state of virtual peripheral;
B. handheld device starts the virtual peripheral client-side program, the intelligent television terminal in the search network environment;
C. on handheld device according to the result of search, selections needs the intelligent television terminal of connection;
D. operable concrete service is inquired about to handheld device in the intelligent television terminal;
E. the handheld device COS that can provide to the intelligent television endpoint registration;
F. handheld device is caught the virtual peripheral incident, and the virtual peripheral incident is sent to the intelligent television terminal according to specified format;
G. the intelligent television terminal receives the virtual peripheral incident, and is converted into discernible system standard incident, writes the respective drive file;
H. after accomplished event handling at the intelligent television terminal, disconnection was connected with handheld device.
Further, before step a, also comprise step:
A0. select the ethernet communication port numbers, the data transmission format between definition intelligent television terminal and the handheld device.
Concrete, adopt XML definition of data transformat, be divided into device description file, service description file, service description file, event description file.
Further, the virtual peripheral oracle listener in the said intelligent television terminal moves with the mode of Android Service, the port of appointment is carried out event-monitoring, through other component communication at IBinder interface and intelligent television terminal.
Further; Among the step h, said intelligent television terminal is broken off and with the handheld device ways of connecting is: notify disconnection to be connected or directly disconnection connection thereby the virtual peripheral oracle listener at intelligent television terminal sends disconnection with the virtual peripheral client-side program of handheld device.
The invention has the beneficial effects as follows: the function of handheld device is carried out multiplexing, thereby realize virtual peripheral, satisfy the intelligent television demands of using of controlling more, strengthen user's experience.
Description of drawings
Fig. 1 is the intelligent television terminal among the present invention and the handheld device handling process to incident.
Embodiment
The invention discloses a kind of method based on intelligent television terminal and handheld device realization virtual peripheral, the peripheral hardware that solves present intelligent television terminal can not satisfy the problem of controlling needs.
Realize that virtual peripheral needs the two-way interactive of intelligent television terminal and handheld device, and be based on processing alternately that referring to Fig. 1, bring in from the handheld device client and to see that its handling process is: at first, the handheld device client-side program moves to incident; Search television terminal equipment then; After searching television terminal equipment; Selection needs the television terminal equipment of connection, promptly gets into mutual (catch the virtual peripheral incident, be sent to television terminal equipment according to specified format) with television terminal equipment; Accomplish alternately both sides, off device connected after event handling was accomplished;
From television terminal, its handling process is: at first, and the operation of the oracle listener of television terminal; Monitor the peripheral hardware state, when set up with being connected of certain handheld device after, obtain the virtual peripheral incident from this handheld device; Then the virtual peripheral incident is converted into discernible system standard incident, writes the respective drive program, last incident is transferred to the upper strata interactive frame and is handled; Accomplish alternately, off device connected after event handling was accomplished.
With embodiment scheme of the present invention is done further to describe below.
Enforcement platform in this example is based on the Android system, and its concrete steps are following:
1) selects the ethernet communication port numbers.Be television terminal monitoring program and port numbers of handheld device client-side program selection, scope 1024 ~ 65536.
2) start television terminal virtual peripheral monitoring program.Monitoring program is moved with the mode of Android Service, the port of appointment is carried out event-monitoring, through IBinder interface and other component communication of system.
3) data transmission format of definition information interaction.Use XML definition transmission data format, be divided into device description file, service description file, event description file.The device description file form:
<device>
<name>Device name</name>
<id>Equipment id number</id>
<servicelsit>
<service>Service is provided</service>
</servicelsit>
</device>
The service description file form:
<service>
<type>COS: touch-screen, gravity sensor, gyroscope</type>
<id>COS numbering: 0,1</id>
</service>
The event description file
<eventlist>
<event>
<name>Incident title: connect, send</name>
<id>Case Number: 0,1</id>
</event>
</eventlist>
4) start handheld device virtual peripheral client application, search for the television terminal equipment in the same network segment automatically.The broadcast that the every other equipment of client-side program in local area network (LAN) sends specified format, according to the feedback result of listening port, the television terminal that discovery can connect.
5) connect television terminal equipment.The handheld device client-side program as required, the television terminal equipment that selection will connect.
6) virtual peripheral client and television terminal carry out information interaction.Television terminal is at first inquired about operable concrete service to handheld device, and is first-class like touch-screen, gravity sensor, gyroscope, microphone, shooting; Handheld device is confirmed the COS that registration can provide to television terminal; Secondly, the virtual peripheral client is caught the peripheral hardware incident through standard device API, and data are encapsulated according to specified format, is delivered to television terminal.Then, television terminal receives data, and according to the rules form and COS are resolved, and convert virtual events into can discern system standard incident, write the respective drive file, and last incident is transferred to the upper strata interactive frame and handled.
7) break off being connected of client and television terminal.Through the TCP unicast mode, television terminal oracle listener and handheld device client-side program send to break off and notify, and break off connection or directly break off connection.
Through above-mentioned means, the virtual peripheral function can be provided, greatly strengthened the experience of intelligent television.

Claims (5)

1. based on the method for intelligent television terminal and handheld device realization virtual peripheral, said intelligent television is provided with the virtual peripheral oracle listener in the terminal, is provided with the virtual peripheral client-side program in the said handheld device, it is characterized in that, this method may further comprise the steps:
A. intelligent television starting terminal virtual peripheral oracle listener is monitored the state of virtual peripheral;
B. handheld device starts the virtual peripheral client-side program, the intelligent television terminal in the search network environment;
C. on handheld device according to the result of search, selections needs the intelligent television terminal of connection;
D. operable concrete service is inquired about to handheld device in the intelligent television terminal;
E. the handheld device COS that can provide to the intelligent television endpoint registration;
F. handheld device is caught the virtual peripheral incident, and the virtual peripheral incident is sent to the intelligent television terminal according to specified format;
G. the intelligent television terminal receives the virtual peripheral incident, and is converted into discernible system standard incident, writes the respective drive file;
H. after accomplished event handling at the intelligent television terminal, disconnection was connected with handheld device.
2. the method based on intelligent television terminal and handheld device realization virtual peripheral as claimed in claim 1 is characterized in that, before step a, also comprises step:
A0. select the ethernet communication port numbers, the data transmission format between definition intelligent television terminal and the handheld device.
3. the method based on intelligent television terminal and handheld device realization virtual peripheral as claimed in claim 2 is characterized in that, adopts XML definition of data transformat, is divided into device description file, service description file, service description file, event description file.
4. like any described method of claim 1-3 based on intelligent television terminal and handheld device realization virtual peripheral; It is characterized in that; Virtual peripheral oracle listener in the said intelligent television terminal moves with the mode of Android Service; Port to appointment carries out event-monitoring, through other component communication at IBinder interface and intelligent television terminal.
5. like any described method of claim 1-3 based on intelligent television terminal and handheld device realization virtual peripheral; It is characterized in that; Among the step h, said intelligent television terminal is broken off and with the handheld device ways of connecting is: notify disconnection to be connected or directly disconnection connection thereby the virtual peripheral oracle listener at intelligent television terminal sends disconnection with the virtual peripheral client-side program of handheld device.
CN201210256996.3A 2012-07-24 2012-07-24 The method of virtual peripheral is realized based on Intelligent television terminal and handheld device Active CN102802081B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210256996.3A CN102802081B (en) 2012-07-24 2012-07-24 The method of virtual peripheral is realized based on Intelligent television terminal and handheld device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210256996.3A CN102802081B (en) 2012-07-24 2012-07-24 The method of virtual peripheral is realized based on Intelligent television terminal and handheld device

Publications (2)

Publication Number Publication Date
CN102802081A true CN102802081A (en) 2012-11-28
CN102802081B CN102802081B (en) 2016-03-16

Family

ID=47201031

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210256996.3A Active CN102802081B (en) 2012-07-24 2012-07-24 The method of virtual peripheral is realized based on Intelligent television terminal and handheld device

Country Status (1)

Country Link
CN (1) CN102802081B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051698A (en) * 2012-12-17 2013-04-17 四川九洲电器集团有限责任公司 Synchronization method capable of realizing interface operation of PAD and set-top box
CN103067788A (en) * 2012-12-17 2013-04-24 四川长虹电器股份有限公司 Electric appliance control method based on intelligent television
CN104053057A (en) * 2014-06-09 2014-09-17 青岛海信移动通信技术股份有限公司 Hardware upgrading method, equipment and system
CN104182364A (en) * 2013-05-21 2014-12-03 精联电子股份有限公司 Universal plug and play integration device and integration method thereof
CN104922903A (en) * 2014-03-20 2015-09-23 中国电信股份有限公司 Method and system for expanding Android system to support multiple handles
CN105094966A (en) * 2015-06-19 2015-11-25 小米科技有限责任公司 Method and device for controlling PC
CN105117270A (en) * 2015-07-29 2015-12-02 百度在线网络技术(北京)有限公司 Sensor simulation method and apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068351A (en) * 2007-05-25 2007-11-07 中兴通讯股份有限公司 Mobile terminal digital television data transmitting method
CN101325666A (en) * 2007-12-19 2008-12-17 中山大学 Telecontrol system for intelligent mobile terminal television
CN102215426A (en) * 2011-05-27 2011-10-12 苏州金纳信息技术有限公司 Smart television set-top box controlled by tablet personal computer or smart phone
CN102404637A (en) * 2011-11-09 2012-04-04 Ut斯达康通讯有限公司 System and method for controlling television remotely through intelligent mobile phone
CN102523508A (en) * 2011-12-15 2012-06-27 四川长虹电器股份有限公司 Intelligent television control method based on local area network
CN102595226A (en) * 2012-03-16 2012-07-18 深圳市茁壮网络股份有限公司 Wireless control method and set-top box

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068351A (en) * 2007-05-25 2007-11-07 中兴通讯股份有限公司 Mobile terminal digital television data transmitting method
CN101325666A (en) * 2007-12-19 2008-12-17 中山大学 Telecontrol system for intelligent mobile terminal television
CN102215426A (en) * 2011-05-27 2011-10-12 苏州金纳信息技术有限公司 Smart television set-top box controlled by tablet personal computer or smart phone
CN102404637A (en) * 2011-11-09 2012-04-04 Ut斯达康通讯有限公司 System and method for controlling television remotely through intelligent mobile phone
CN102523508A (en) * 2011-12-15 2012-06-27 四川长虹电器股份有限公司 Intelligent television control method based on local area network
CN102595226A (en) * 2012-03-16 2012-07-18 深圳市茁壮网络股份有限公司 Wireless control method and set-top box

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
付星 龙超: "Android 智能电视三屏互动的设计与实现", 《中国高新技术企业》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051698A (en) * 2012-12-17 2013-04-17 四川九洲电器集团有限责任公司 Synchronization method capable of realizing interface operation of PAD and set-top box
CN103067788A (en) * 2012-12-17 2013-04-24 四川长虹电器股份有限公司 Electric appliance control method based on intelligent television
CN104182364A (en) * 2013-05-21 2014-12-03 精联电子股份有限公司 Universal plug and play integration device and integration method thereof
CN104922903A (en) * 2014-03-20 2015-09-23 中国电信股份有限公司 Method and system for expanding Android system to support multiple handles
CN104922903B (en) * 2014-03-20 2019-03-15 中国电信股份有限公司 Expand the method and system that Android system supports more handles
CN104053057A (en) * 2014-06-09 2014-09-17 青岛海信移动通信技术股份有限公司 Hardware upgrading method, equipment and system
CN105094966A (en) * 2015-06-19 2015-11-25 小米科技有限责任公司 Method and device for controlling PC
CN105094966B (en) * 2015-06-19 2019-02-22 小米科技有限责任公司 Control the method and device of PC
CN105117270A (en) * 2015-07-29 2015-12-02 百度在线网络技术(北京)有限公司 Sensor simulation method and apparatus
CN105117270B (en) * 2015-07-29 2019-04-12 百度在线网络技术(北京)有限公司 A kind of method and apparatus for analog sensor

Also Published As

Publication number Publication date
CN102802081B (en) 2016-03-16

Similar Documents

Publication Publication Date Title
CN102802081A (en) Method achieving virtual peripheral based on intelligent television terminals and hand-hold equipment
CN105807617B (en) The control method and device of smart home device
CN104898629B (en) Intelligent housing end and its control method
CN105187907A (en) Volume control system and control method for smart television
CN105187871B (en) A kind of method and system of the mobile terminal data transmission television terminal based on NFC
CN102130900A (en) Method and device for realizing three-screen interaction
CN105847317A (en) Data processing device, data processing system and data processing method
CN104023257B (en) Mobile terminal controls the method and system of television terminal
CN102739947B (en) Wireless network shooting device and working method of wireless network shooting device
CN104683451B (en) The method and apparatus remotely controlled is executed in network system
CN104202461A (en) Connected smart phone function synchronizing automotive sound system
CN104090538B (en) Wifi-based intelligent disability-assisting wheelchair control system and control method
CN102929385A (en) Method for controlling application program by voice
CN105872578A (en) Invoking method and server
WO2016107389A1 (en) Multimedia processing device, multimedia processing server and method therefor
CN103926888B (en) A kind of intelligent wireless camera system supporting multiple short range communication protocols and working method thereof
CN103596063B (en) Terminal, television, multi-screen interaction system and method for setting screen capture parameters
CN103561311A (en) Screen transmission method and television
CN102457775A (en) Wired digital television system and method for data interaction through wireless terminal
CN201563203U (en) Home video monitoring system based on digital TV set top box
CN104469481B (en) It is a kind of to realize the method applied on TV manipulation ip intelligent peripherals
CN103647998A (en) Control method based on intelligent television
JP6354854B2 (en) Information processing system, information processing method, information processing apparatus, control method thereof, and control program
WO2019062318A1 (en) Synchronous response method and system for interactive multi-screen control
CN102571515A (en) Interaction method of intelligent household appliances

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