CN105323615B - The operating method of application and processing unit for set-top box or television set - Google Patents
The operating method of application and processing unit for set-top box or television set Download PDFInfo
- Publication number
- CN105323615B CN105323615B CN201410367892.9A CN201410367892A CN105323615B CN 105323615 B CN105323615 B CN 105323615B CN 201410367892 A CN201410367892 A CN 201410367892A CN 105323615 B CN105323615 B CN 105323615B
- Authority
- CN
- China
- Prior art keywords
- touch
- processing unit
- application
- top box
- touch command
- 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.)
- Active
Links
Abstract
Processing unit the invention discloses a kind of operating method of application and for set-top box or television set, is related to field of terminal technology, wherein the method includes:Processing unit in set-top box or television set receives the binary data for the touch command that mobile terminal client terminal is sent;The binary data received is reduced into touch command by the processing unit;The touch command of reduction is sent to the application on set-top box or television set by the processing unit, so that the application executes corresponding touch control operation according to the touch command received.The embodiment of the present invention can operate the application for needing touch control operation run on set-top box or television set by mobile terminal.
Description
Technical field
The present invention relates to field of terminal technology, the operating method of especially a kind of application and for set-top box or television set
Processing unit.
Background technology
Now, generally specially equipped with button remote controller, this button remote controller provides various for set-top box or television set
Direction, digital keys, to operate set-top box or television set.Some set-top boxes or television set producer can also provide mobile phone and answer
With remote controler, to manipulate set-top box, either television set but these mobile phone application remoting devices are only capable of operation and set-top box or TV
The application of machine rigid adaptation, such as only need the application of direction or digital keys operation.And touch control operation is needed for common
Mobile phone application, such as cut fruit game etc., mobile phone application remoting device can not to these application operate.
Invention content
The embodiment of the present invention the technical problem to be solved is that:A kind of operating method of application is provided and for set-top box or
The processing unit of television set, with realize by mobile terminal come operate run on set-top box or television set need touch control operation
Application.
A kind of operating method of application provided in an embodiment of the present invention, including:
Processing unit in set-top box or television set receives the binary number for the touch command that mobile terminal client terminal is sent
According to;The binary data received is reduced into touch command by the processing unit;The processing unit refers to the touch-control of reduction
Order is sent to the application on set-top box or television set, so that the application executes accordingly according to the touch command received
Touch control operation.
In another embodiment of the operating method of above application of the present invention, the processing unit realizes set-top box or electricity again
Depending on the tool-class in machine operating system, the processing unit redefines the processing method of touch operation in the tool-class.
In another embodiment of the operating method of above application of the present invention, the processing unit is received by the tool-class
The binary data for the touch command that mobile terminal client terminal is sent;Pass through the processing method of the touch operation in the tool-class
The binary data received is reduced into touch command, and the touch command of reduction is sent to positioned at set-top box or television set
On application.
In another embodiment of the operating method of above application of the present invention, the processing unit application application permission is described
Application permission includes accessing network, read-write external storage card and at least one being switched in self-operating.
In another embodiment of the operating method of above application of the present invention, the touch command includes touch action and action
Parameter, the touch action include pressing, move and bouncing, and the action parameter includes coordinate and dynamics.
A kind of processing unit for set-top box or television set provided in an embodiment of the present invention, including:
Receiving unit, the binary data of the touch command for receiving mobile terminal client terminal transmission;Reduction unit is used
In the binary data received is reduced into touch command;Transmission unit is located at for the touch command of reduction to be sent to
Application on set-top box or television set, so that the application executes corresponding touch control operation according to the touch command received.
In another embodiment of the above-mentioned processing unit for set-top box or television set of the present invention, further include:Initialization is single
Member redefines touch behaviour for realizing the tool-class in set-top box or television operation system again in the tool-class
The processing method of work.
In another embodiment of the above-mentioned processing unit for set-top box or television set of the present invention, the receiving unit is specific
Binary data for receiving the touch command that mobile terminal client terminal is sent by tool-class;The reduction unit is specifically used
The binary data received is reduced into touch command in the processing method by the touch operation in tool-class.
In another embodiment of the above-mentioned processing unit for set-top box or television set of the present invention, further include:Application unit,
For applying for that application permission, the application permission include accessing in network, read-write external storage card and booting self-operating extremely
One item missing.
In another embodiment of the above-mentioned processing unit for set-top box or television set of the present invention, the touch command includes
Touch action and action parameter, the touch action include pressing, move and bouncing, and the action parameter includes coordinate and power
Degree.
Compared with prior art, the embodiment of the present invention, which is realized, is operated by mobile terminal on set-top box or television set
The application for needing touch control operation of operation.Also, the application on mobile terminal is it is not necessary that especially adaptation can be in set-top box or TV
It is run on machine, any transformation is carried out without to set-top box or television operation system.
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
Description of the drawings
It in order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, below will be to institute in embodiment
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the present invention
Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the flow chart of operating method one embodiment that the present invention applies;
Fig. 2 is an application scenarios schematic diagram of the operating method that the present invention applies;
Fig. 3 is structural schematic diagram of the present invention for processing unit one embodiment of set-top box or television set;
Fig. 4 is structural schematic diagram of the present invention for another embodiment of set-top box or the processing unit of television set;
Fig. 5 is structural schematic diagram of the present invention for another embodiment of set-top box or the processing unit of television set.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts
Embodiment shall fall within the protection scope of the present invention.
Fig. 1 is the flow chart of operating method one embodiment that the present invention applies.As shown in Figure 1, what the embodiment provided
The operating method of application specifically includes:
Step 101, the processing unit in set-top box or television set receives the touch command that mobile terminal client terminal is sent
Binary data;
Step 103, the binary data received is reduced into touch command by processing unit;
Step 105, the touch command of reduction is sent to the application on set-top box or television set by processing unit, so as to
The application executes corresponding touch control operation according to the touch command received.
Specifically, above-mentioned mobile terminal can be for example, smart mobile phone, tablet computer etc..Below with the intelligence with touch screen
The operating method of the invention applied can be described in detail for mobile phone.
Fig. 2 is an application scenarios schematic diagram of the operating method that the present invention applies.As shown in Fig. 2, processing unit S installations
To in the operating system A of set-top box or television set, user is when executing touch control operation on cell-phone customer terminal C, such as carries out touch screen
Slide, cell-phone customer terminal C detection touch control operations simultaneously obtain corresponding touch command, which includes the touch-control of user
Action and action parameter.Here, action can be pressed, move and be bounced to touch action for such as user;Action parameter can be with
Coordinate, dynamics including touch action etc..Cell-phone customer terminal C is by these touch commands (including touch action and action parameter)
Be encapsulated into data packet, be processed into binary data, then by ICP/IP protocol or bluetooth real-time delivery to set-top box or
Processing unit S in television set.Processing unit S receives the binary system that cell-phone customer terminal is sent by ICP/IP protocol or bluetooth
Data, and the binary data received is reduced into the application that touch command is sent on set-top box or television set, in Fig. 2
App1, app2 or app3.
Above application, i.e. app1, app2 or app3 especially need the mobile phone application of touch control operation.Preferably, Ke Yitong
It crosses cell-phone customer terminal C and these mobile phone applications is passed into processing unit S.It is of course also possible to otherwise, such as pass through U
Disk copies these mobile phone applications in processing unit S to.According to the prior art, if it is desired to being grasped by mobile phone applications client C
Make the mobile phone application for needing touch control operation run on set-top box or television set, developer is needed to repair these applications
Change so that these applications could be operated after being adapted to set-top box or television set with cell-phone customer terminal C.But due to mobile phone
The diversity of application, developer need to carry out modification accordingly to all mobile phone applications so that mobile phone application and set-top box
Or television set is adapted, and wastes human and material resources.The present invention is made by processing unit S on set-top box or television set
It can be run using without adaptation, and the mobile terminals touch control operation such as mobile phone can be passed through.
And during the realization of the present embodiment, each passes to processing unit by cell-phone customer terminal C or by USB flash disk
Application program (by application app1 for), will not be mounted directly on the operating system A of set-top box or television set, but remember
In the installation list for recording processing unit S, processing unit S realizes code loading device and resource loader, can be to application
App1 carries out parsing and provides operation support to application program app1.In addition, processing unit S can answering in set-top box or TV
With the icon of " manufacture " app1 in list, when user selects this icon to run app1, S is by the binary code of X
It is loaded into come with resource, and operation support is provided for it, such app1 can be behaved as native applications.
In the present embodiment, the processing unit in set-top box or television set receives the touch command that mobile terminal client terminal is sent
Binary data, the binary data received is then reduced into touch command, and the touch command of reduction is sent to
Application on set-top box or television set, to execute corresponding touch control operation using according to the touch command received.With
The prior art is compared, and the embodiment of the present invention is realized operates the needs run on set-top box or television set by mobile terminal
The application of touch control operation.Application on mobile terminal can be run without especially adaptation on set-top box or television set, without
Any transformation is carried out to set-top box or television operation system.
As another embodiment for the operating method that the present invention applies, processing unit realizes set-top box or television set again
Tool-class (such as Instrumentation classes) in operating system, processing unit redefines touch operation in tool-class
Processing method.
Specifically, by taking installation (Android) operating system as an example, in Android operation system, apk files are exactly zip
File, there are two important entrance, one be code classes.dex, one be resource file resources.arsc.
Dalvik.system.DexClassLoader classes, which are provided, using Android itself loads code and the required libraries lib.Due to
It needs to provide special support for mobile phone application operation, needs certain class libraries progress to Android self-defined, refer mainly to here
Android.app.Instrumentation classes, to realize such method (processing method of such as touch operation) again.Pass through
The package that an android.app is created in processing unit, then creates the class of an Instrumentation, by machine
Top box or the primary method of television operation system realize again, wherein to the processing method of touch operation, such as touch, press
Key, input the methods of redefine, make tool-class (Instrumentation classes) can from cell-phone customer terminal rather than just from
The operating system of set-top box or television set obtains data.
In addition, the loading of application resource is carried out using the apktool of Android, when application operation, in addition to
The method of Instrumentation classes is provided by processing unit, remaining class, method are still by set-top box or television set
Android operation system provides;And since Instrumentation classes can receive touching instruction from cell-phone customer terminal, such as
Touch, button, input etc., so can also be touched from cell-phone customer terminal acquisition by the application of processing unit offer operation support,
Button inputs these functions.
As another embodiment for the operating method that the present invention applies, processing unit is especially by tool-class
(Instrumentation classes) receives the binary data for the touch command that mobile terminal client terminal is sent;Pass through tool-class
The binary data received is reduced into touch command by the processing method of the touch operation in (Instrumentation classes),
And the touch command of reduction is sent to the application on set-top box or television set.
As another embodiment for the operating method that the present invention applies, processing unit application application permission, the application power
Limit may include accessing network, read-write external storage card and at least one being switched in self-operating.For example, " cutting fruit " plays
Using access network is needed set-top box or television set can be used when processing unit obtains the request of network access of the application
The network access interface of operating system complete its request.
Fig. 3 is structural schematic diagram of the present invention for processing unit one embodiment of set-top box or television set, such as Fig. 3 institutes
Show, the processing unit 300 for set-top box or television set which provides can specifically include:
Receiving unit 301, the binary data of the touch command for receiving mobile terminal client terminal transmission;
Reduction unit 302, for the binary data received to be reduced into touch command;
Transmission unit 303, for the touch command of reduction to be sent to the application on set-top box or television set, so as to
Corresponding touch control operation is executed using according to the touch command received.
Specifically, touch command may include touch action and action parameter, and touch action includes pressing, moving and bullet
It rises, action parameter includes coordinate and dynamics.Realization process when processing unit is applied may refer to retouching for above method embodiment
It states, details are not described herein.
Processing unit provided in this embodiment, receiving unit receive mobile terminal client terminal send touch command two into
The binary data received is reduced into touch command by data processed, reduction unit, and transmission unit sends out the touch command of reduction
The application on set-top box or television set is given, to execute corresponding touch-control behaviour using according to the touch command received
Make.Compared with prior art, processing unit through this embodiment, which is realized, is operated by mobile terminal in set-top box or electricity
Depending on the application for needing touch control operation run on machine.Application on mobile terminal is it is not necessary that especially adaptation can be in set-top box or TV
It is run on machine, any transformation is carried out without to set-top box or television operation system.
Fig. 4 is structural schematic diagram of the present invention for another embodiment of set-top box or the processing unit of television set, with Fig. 3
Illustrated embodiment is compared, and the processing unit 300 for set-top box or television set which provides can also include:
Initialization unit 401, for realizing the tool-class in set-top box or television operation system again, in the tool-class
In redefine the processing method of touch operation.
Another embodiment as the present invention for the processing unit of set-top box or television set, receiving unit 201 are specific
Binary data for receiving the touch command that mobile terminal client terminal is sent by tool-class.Reduction unit 202 is specifically used
The binary data received is reduced into touch command in the processing method by the touch operation in tool-class.
Fig. 5 is structural schematic diagram of the present invention for another embodiment of set-top box or the processing unit of television set, with Fig. 3
Illustrated embodiment is compared, and the processing unit 300 for set-top box or television set which provides can also include:
Application unit 501, for applying for application permission, the application permission include access network, read-write external storage card with
At least one of and in booting self-operating.
In the present invention, virtual installation is carried out by the processing unit that above-mentioned any embodiment provides using installation, that is, is applied
It is not registered in the operating system of set-top box family television set instead of, is registered in processing unit, simultaneously when installation
The icon of the application is put on the desktop of the operating system of set-top box or television set by processing unit, similar native applications (i.e. by
Operating system provides the application supported when operation).When user runs this virtual application, processing unit will be used as host to transport
Row, it load application loading and interface transmit, play a part of similar to virtual machine, while will be sent from cell-phone customer terminal
Touch command passes to application.The present invention to existing Intelligent set top box without making any modification, you can realizes that mobile phone is applied in machine
Installing and using on top box or television set, and the operation that mobile phone can be applied by mobile terminal;In addition, without to machine
The operating system of top box or television set is transformed.
Description of the invention provides for the sake of example and description, and is not exhaustively or will be of the invention
It is limited to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.It selects and retouches
It states embodiment and is to more preferably illustrate the principle of the present invention and practical application, and those skilled in the art is enable to manage
Various embodiments with various modifications of the solution present invention to design suitable for special-purpose.
Claims (6)
1. a kind of operating method of application, which is characterized in that including:
Processing unit in set-top box or television set receives the binary data for the touch command that mobile terminal client terminal is sent;
The binary data received is reduced into touch command by the processing unit;
The touch command of reduction is sent to the mobile phone application on set-top box or television set by the processing unit, so as to described
Mobile phone is applied executes corresponding touch control operation according to the touch command received;
Wherein, the mobile phone, which is applied, is mounted in the processing unit;
The processing unit is by the tool-class that is redefined in set-top box or television operation system, to receive mobile terminal
The binary data for the touch command that client is sent;Processing side by the touch operation redefined in the tool-class
The binary data received is reduced into touch command by method.
2. according to the method described in claim 1, it is characterized in that,
The processing unit application application permission, the application permission include accessing network, read-write external storage card and booting
At least one of in self-operating.
3. method according to claim 1 or 2, which is characterized in that the touch command includes that touch action and action are joined
Number, the touch action include pressing, move and bouncing, and the action parameter includes coordinate and dynamics.
4. a kind of processing unit for set-top box or television set, which is characterized in that including:
Receiving unit, the binary data of the touch command for receiving mobile terminal client terminal transmission;
Reduction unit, for the binary data received to be reduced into touch command;
Transmission unit, the mobile phone application for being sent to the touch command of reduction on set-top box or television set, with toilet
Mobile phone is stated to apply according to the corresponding touch control operation of touch command execution received;With
Initialization unit, for realizing the tool-class in set-top box or television operation system again, the weight in the tool-class
The new processing method for defining touch operation;
Wherein, the receiving unit be used for by the tool-class receive mobile terminal client terminal transmission touch command two into
Data processed;The binary number that the reduction unit is used to receive by the processing method of the touch operation in the tool-class
According to being reduced into touch command;
Wherein, the mobile phone, which is applied, is mounted in the processing unit.
5. device according to claim 4, which is characterized in that further include:
Application unit, for applying for that application permission, the application permission include accessing network, read-write external storage card and booting
At least one of in self-operating.
6. device according to claim 4 or 5, which is characterized in that the touch command includes that touch action and action are joined
Number, the touch action include pressing, move and bouncing, and the action parameter includes coordinate and dynamics.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410367892.9A CN105323615B (en) | 2014-07-30 | 2014-07-30 | The operating method of application and processing unit for set-top box or television set |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410367892.9A CN105323615B (en) | 2014-07-30 | 2014-07-30 | The operating method of application and processing unit for set-top box or television set |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105323615A CN105323615A (en) | 2016-02-10 |
CN105323615B true CN105323615B (en) | 2018-09-21 |
Family
ID=55250076
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410367892.9A Active CN105323615B (en) | 2014-07-30 | 2014-07-30 | The operating method of application and processing unit for set-top box or television set |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105323615B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106649128A (en) * | 2016-12-30 | 2017-05-10 | 上海二三四五网络科技有限公司 | Method for automatically controlling running of terminal |
CN108984100B (en) * | 2018-08-20 | 2021-01-05 | 成都九洲电子信息系统股份有限公司 | Touch television self-adaptive control method of Haesi SoC scheme integrated set top box |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102421029A (en) * | 2011-11-22 | 2012-04-18 | 中兴通讯股份有限公司 | Terminal Control method, device and system |
CN103376929A (en) * | 2012-04-20 | 2013-10-30 | 鸿富锦精密工业(深圳)有限公司 | Touch method and electronic system using same |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120208639A1 (en) * | 2006-07-14 | 2012-08-16 | Ailive Inc. | Remote control with motion sensitive devices |
-
2014
- 2014-07-30 CN CN201410367892.9A patent/CN105323615B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102421029A (en) * | 2011-11-22 | 2012-04-18 | 中兴通讯股份有限公司 | Terminal Control method, device and system |
CN103376929A (en) * | 2012-04-20 | 2013-10-30 | 鸿富锦精密工业(深圳)有限公司 | Touch method and electronic system using same |
Also Published As
Publication number | Publication date |
---|---|
CN105323615A (en) | 2016-02-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI601055B (en) | A unified extensible firmware interface (uefi) basic input/output system (bios)-controlled computing device and method and non-transitory medium thereof | |
CN109074276B (en) | Tab in system task switcher | |
EP3200061B1 (en) | Icon management method and apparatus, and terminal | |
JP6921200B2 (en) | Service processing method and device | |
CN103282883A (en) | Systems and methods for displaying android applications launchers in webtop application tray | |
CN109308241B (en) | Method and device for monitoring starting process of application program, terminal equipment and storage medium | |
CN107291456B (en) | Multi-screen display control method and system | |
US20120050336A1 (en) | Touch-based remote control | |
US20130082935A1 (en) | Dynamic command presentation and key configuration for keyboards | |
CN102637127B (en) | Method for controlling mouse modules and electronic device | |
US10845965B2 (en) | Collaboration management system | |
CN103339607A (en) | Method and apparatus for locking and unlocking multiple operating system environments with a single gesture input | |
US9984232B2 (en) | Method of operating security function and electronic device supporting the same | |
CN109491731B (en) | Control method and device for suspension button and storage medium | |
CN107220020A (en) | A kind of display methods and electronic equipment | |
KR101427561B1 (en) | Method for adaptively executing an android application on tizen platform by automatically transforming the android application into tizen-installable package, and computer-readable recording medium for the same | |
CN102214104A (en) | Android-based application program management method and system | |
WO2015172562A1 (en) | Shortcut operation method and apparatus for touch-screen digital terminal | |
CN105323615B (en) | The operating method of application and processing unit for set-top box or television set | |
US20150052459A1 (en) | Shortcut command button for a hierarchy tree | |
WO2017142599A1 (en) | Systems and methods for system configuration for communication network devices | |
CN109101160A (en) | Control method, terminal and the computer readable storage medium of terminal | |
CN105007377A (en) | Cellphone remote control device, system and method | |
WO2012090072A1 (en) | System and method for cross virtual machine execution of applications | |
US11487559B2 (en) | Dynamically switching between pointer modes |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |