CN103997670A - Control method and control system for application on set top box - Google Patents
Control method and control system for application on set top box Download PDFInfo
- Publication number
- CN103997670A CN103997670A CN201410187078.9A CN201410187078A CN103997670A CN 103997670 A CN103997670 A CN 103997670A CN 201410187078 A CN201410187078 A CN 201410187078A CN 103997670 A CN103997670 A CN 103997670A
- Authority
- CN
- China
- Prior art keywords
- application
- top box
- set top
- kind equipment
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Position Input By Displaying (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention relates to a control method and control system for an application on a set top box. In the control method, if the application is a horizontal-screen application and if a control device is a first-kind device, gravity sensor data of the first-kind device is sent directly to the application; and if the control device is a second-kind device, X-axis data and Y-axis data in gravity sensor data of the second-kind device are exchanged and then sent to the application. If the application is a vertical-screen application and if the control device is a second-kind device, the data are sent directly to the application; and if the control device is a first-kind device, the X-axis data and the Y-axis data are exchanged and then sent to the application. The control method and control system for the application on the set top box enable different kinds of control devices to control horizontal-screen applications and vertical-screen applications simply and conveniently so that the control devices are enabled to control different kinds of applications on a set top box and different kinds of applications can all be installed on the set top box in an adaptive manner and thus user control is facilitated significantly and the universality of the set top box is improved greatly.
Description
Technical field
The present invention relates to the communications field, relate in particular to control method and the control system in a kind of Set Top Box, applied.
Background technology
Development along with technology, Intelligent set top box, especially the Intelligent set top box of Android system is more and more general, a lot of application are arranged on Intelligent set top box, by technological means such as DLNA, mirror screens, Set Top Box is pushed to mirror image on the equipment such as mobile phone or PAD, and with other equipment such as mobile phone, PAD, as controlling equipment, the mode that application in Set Top Box and Set Top Box is controlled is also more and more.
But, because certain applications are former, be operation on cell phone apparatus (or on gravity sensor coordinate other equipment identical with mobile phone), be all gravity sensor based on mobile phone is realized and being controlled, such as car race game, cool run is played.The type of application has minute (the distinguishing according to showing) of horizontal screen and perpendicular screen, and TV corresponding to Set Top Box shows to only have horizontal screen.If the Set Top Box that is applied to of perpendicular screen is directly installed, the mirror image that Set Top Box is pushed on cell phone apparatus can only be still that horizontal screen display is shown, and mobile phone will erect screen application is controlled, very inconvenient for user.Simultaneously, for example, for the gravity sensor coordinate equipment contrary with mobile phone (PAD), when being applied as horizontal screen application, will erect on the contrary screen controls, this just brings great inconvenience to user, make directly adaptive use on Set Top Box of a lot of application relevant to gravity sensor, reduced the versatility of Intelligent set top box application.
Summary of the invention
In view of this, be necessary, for the problem that in above-mentioned Set Top Box, application cannot be adaptive, to provide the control method of applying in a kind of Set Top Box.
In addition, also provide the control system of applying in a kind of Set Top Box.
A control method of applying in Set Top Box, comprises the steps:
The controlling equipment that monitoring is arranged on the application in Set Top Box and is connected with Set Top Box;
If be applied as horizontal screen application, if controlling equipment is first kind equipment, directly send the gravity sensor data of first kind equipment to application; If controlling equipment is Equations of The Second Kind equipment, will in Equations of The Second Kind equipment gravity sensor data, after X-axis data and Y-axis data swapping, send application to; Wherein, described first kind equipment is other equipment that mobile phone or gravity sensor coordinate system are identical with mobile phone, and described Equations of The Second Kind equipment is the equipment that gravity sensor coordinate system is contrary with Y-axis with mobile phone gravity sensor coordinate system X-axis;
If be applied as perpendicular screen application, if controlling equipment is Equations of The Second Kind equipment, directly send Equations of The Second Kind equipment gravity sensor data to application; If controlling equipment is first kind equipment, will in first kind equipment gravity sensor data, after X-axis data and Y-axis data swapping, send application to.
Further, described the step that sends application after X-axis data and Y-axis data swapping in Equations of The Second Kind equipment gravity sensor data to is specially:
In Equations of The Second Kind equipment counterweight force sensor data, after X-axis data and Y-axis data swapping, send application to, or after X-axis data and Y-axis data swapping, send application in Set Top Box counterweight force sensor data;
Described the step that sends application after X-axis data and Y-axis data swapping in first kind equipment gravity sensor data to is specially:
In first kind equipment counterweight force sensor data, after X-axis data and Y-axis data swapping, send application to, or after X-axis data and Y-axis data swapping, send application in Set Top Box counterweight force sensor data.
Further, described the step that sends application after X-axis data and Y-axis data swapping in Equations of The Second Kind equipment gravity sensor data to is specially:
Set Top Box receives the gravity sensor data that described Equations of The Second Kind equipment transmits, and in counterweight force sensor data, X-axis data and Y-axis data send application layer to by JNI interface after changing;
Described the step that sends application after X-axis data and Y-axis data swapping in first kind equipment gravity sensor data to is specially:
Set Top Box receives the gravity sensor data that described first kind equipment transmits, and in counterweight force sensor data, X-axis data and Y-axis data send application layer to by JNI interface after changing.
Further, described method also comprises:
Set Top Box is obtained the resolution of perpendicular screen application, when pushing according to the resolution of perpendicular screen application in proportion carry out convergent-divergent, perpendicular screen application is pushed.
Further, described method also comprises:
When Set Top Box pushes erecting screen application, make perpendicular screen using integral placed in the middle, and press maximum ratio convergent-divergent in proportion.
A control system of applying in Set Top Box, comprising:
Monitoring unit, the controlling equipment that monitoring is arranged on the application in Set Top Box and is connected with Set Top Box;
Unit is controlled in horizontal screen application, if be applied as horizontal screen application, if controlling equipment is first kind equipment, directly sends the gravity sensor data of first kind equipment to application; If controlling equipment is Equations of The Second Kind equipment, will in Equations of The Second Kind equipment gravity sensor data, after X-axis data and Y-axis data swapping, send application to; Wherein, described first kind equipment is other equipment that mobile phone or gravity sensor coordinate system are identical with mobile phone, and described Equations of The Second Kind equipment is the equipment that gravity sensor coordinate system is contrary with Y-axis with mobile phone gravity sensor coordinate system X-axis;
Unit is controlled in perpendicular screen application, if be applied as perpendicular screen application, if controlling equipment is Equations of The Second Kind equipment, directly sends Equations of The Second Kind equipment gravity sensor data to application; If controlling equipment is first kind equipment, will in first kind equipment gravity sensor data, after X-axis data and Y-axis data swapping, send application to.
Further, described horizontal screen application is controlled cellular installation on Equations of The Second Kind equipment or in Set Top Box; Described perpendicular screen application is controlled cellular installation on Equations of The Second Kind equipment or in Set Top Box.
Further, described horizontal screen application is controlled cellular installation in Set Top Box, receives the data of the gravity sensor that Equations of The Second Kind equipment transmits, and in counterweight force sensor data, X-axis data and Y-axis data send application layer to by JNI interface after changing; Described perpendicular screen application is controlled cellular installation in Set Top Box, receives the data of the gravity sensor that first kind equipment transmits, and in counterweight force sensor data, X-axis data and Y-axis data send application layer to by JNI interface after changing.
Further, described system also comprises:
Perpendicular screen application push unit, obtains the resolution of perpendicular screen application, when pushing according to the resolution of perpendicular screen application in proportion carry out convergent-divergent, perpendicular screen application is pushed.
Further, when described perpendicular screen application push unit pushes erecting screen application, make perpendicular screen using integral placed in the middle, and press maximum ratio convergent-divergent in proportion.
The inventive method and system, the type of monitoring application and controlling equipment, difference for horizontal screen application and perpendicular screen application, gravity sensor data to first kind equipment and Equations of The Second Kind equipment are adjusted, what make that various controlling equipments can both be simple and convenient controls horizontal screen application and perpendicular screen application, thereby make controlling equipment can be good at the various application in Set Top Box to control, various application can both adaptation be arranged in Set Top Box, have great convenience for the user to control, greatly improved the versatility of Set Top Box.
Accompanying drawing explanation
Fig. 1 is the flow chart of the control method applied in a Set Top Box in embodiment;
Fig. 2 applies the flow chart of control system in a Set Top Box in embodiment.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Fig. 1 is the flow chart of the control method applied in a Set Top Box in embodiment.As shown in Figure 1, this control method comprises the steps:
S10: the controlling equipment that monitoring is arranged on the application in Set Top Box and is connected with Set Top Box.
Owing to being arranged on application in Set Top Box according to the display mode of application, have horizontal screen display to show and erect that screen display shows minute, the application definition that horizontal screen display is shown is horizontal screen application, and the application definition that perpendicular screen display is shown is perpendicular screen application, need to monitor the horizontal/vertical screen type of application when application is arranged in Set Top Box.Simultaneously, because Set Top Box is being connected with controlling equipment, when mirror image is pushed on controlling equipment, the gravity sensor of controlling equipment is different according to mode, coordinate (or coordinate system) difference that causes controlling equipment gravity sensor, therefore after controlling equipment is connected with Set Top Box, need to monitors controlling equipment and belong to any type.By the monitoring to application and controlling equipment, the type of Real-time Obtaining application and controlling equipment.
S20: if be applied as horizontal screen application, if controlling equipment is first kind equipment, directly send the gravity sensor data of first kind equipment to application; If controlling equipment is Equations of The Second Kind equipment, will in Equations of The Second Kind equipment gravity sensor data, after X-axis data and Y-axis data swapping, send application to.Wherein, first kind equipment is other equipment that mobile phone or gravity sensor coordinate system are identical with mobile phone.Equations of The Second Kind equipment is the equipment that gravity sensor coordinate system is contrary with Y-axis with mobile phone gravity sensor coordinate system X-axis.PAD for example.
By the monitoring to application and controlling equipment, obtain after the type of application and controlling equipment, need to be according to the type of application and controlling equipment, the adjustment that controlling equipment gravity sensor data are adapted, so that controlling equipment can be controlled various application easily, various application can be fitted in Set Top Box.
In this embodiment, if be applied as the horizontal screen application that horizontal screen display is shown, Set Top Box is when being pushed on operation control terminal by mirror image so, also with horizontal screen, be pushed on operation control terminal, this is just arranged on controlling equipment and shows and there is no difference with application, now for first kind equipment (being preferably mobile phone), when on to Set Top Box, application is controlled, also horizontal screen is controlled application, the gravity sensor data of first kind equipment do not need to process, directly can send application to, the application in Set Top Box is controlled.
For Equations of The Second Kind equipment (being preferably PAD), contrary due to the X-axis of Equations of The Second Kind equipment gravity sensor coordinate system and Y-axis and first kind equipment, although be applied on Equations of The Second Kind equipment, be also that horizontal screen display is shown, but Equations of The Second Kind equipment must erect screen to be controlled just passable to application, only have and will in the gravity sensor data of Equations of The Second Kind equipment, after X-axis and Y-axis data swapping, send to application, just can make Equations of The Second Kind equipment is also that horizontal screen is controlled application.Therefore in this embodiment, if controlling equipment is Equations of The Second Kind equipment, will sends again application to after X-axis data and Y-axis data swapping in Equations of The Second Kind equipment gravity sensor data, thereby facilitate Equations of The Second Kind equipment manipulation application, make to apply better adaptive Set Top Box.
In further execution mode, the step that sends again application to is specially: in Equations of The Second Kind equipment counterweight force sensor data, after X-axis data and Y-axis data swapping, send application to after X-axis data and Y-axis data swapping in Equations of The Second Kind equipment gravity sensor data; Or after X-axis data and Y-axis data swapping, send application in Set Top Box counterweight force sensor data.To the transposing of Equations of The Second Kind equipment gravity sensor data, can be completed by Equations of The Second Kind equipment, also can be completed by Set Top Box.Consider convenience, preferred, in Set Top Box counterweight force sensor data, X-axis data and Y-axis data are changed.Concrete, Set Top Box receives the gravity sensor data that Equations of The Second Kind equipment transmits, and in counterweight force sensor data X-axis data and Y-axis data change after by JNI interface (JavaNativeInterface, JAVA local interface) send application layer to, thereby send application to, application is controlled.
S30: if be applied as perpendicular screen application, if controlling equipment is Equations of The Second Kind equipment, directly send Equations of The Second Kind equipment gravity sensor data to application; If controlling equipment is first kind equipment, will in first kind equipment gravity sensor data, after X-axis data and Y-axis data swapping, send application to.
If by the monitoring to application and controlling equipment, be applied as the perpendicular screen application that perpendicular screen display is shown, Set Top Box is when being pushed on operation control terminal by mirror image so, still with horizontal screen, be pushed on operation control terminal, this is just arranged on controlling equipment and shows and produce very big difference with perpendicular screen application, now for first kind equipment (being preferably mobile phone), when on to Set Top Box, application is controlled, the horizontal screen of Set Top Box is pushed on first kind equipment, but first kind equipment must erect screen application is controlled, only have and will in the gravity sensor data of first kind equipment, after X-axis and Y-axis data swapping, send to application, just can make first kind equipment is also that horizontal screen is controlled application.Therefore in this embodiment, if controlling equipment is first kind equipment, will sends again application to after X-axis data and Y-axis data swapping in first kind equipment gravity sensor data, thereby facilitate first kind equipment manipulation application, make to apply better adaptive Set Top Box.
In further execution mode, the step that sends again application to is specially: in first kind equipment counterweight force sensor data, after X-axis data and Y-axis data swapping, send application to after X-axis data and Y-axis data swapping in first kind equipment gravity sensor data; Or after X-axis data and Y-axis data swapping, send application in Set Top Box counterweight force sensor data.To the transposing of first kind equipment gravity sensor data, can be completed by Equations of The Second Kind equipment, also can be completed by Set Top Box.Consider convenience, preferred, by Set Top Box, X-axis data and Y-axis data in first kind equipment gravity sensor data are changed.Concrete, Set Top Box receives the gravity sensor data that first kind equipment transmits, and in counterweight force sensor data X-axis data and Y-axis data change after by JNI interface (JavaNativeInterface, JAVA local interface) send application layer to, thereby send application to, application is controlled.
For Equations of The Second Kind equipment (being preferably PAD), contrary due to the X-axis of Equations of The Second Kind equipment gravity sensor coordinate system and Y-axis and first kind equipment, does not now need Equations of The Second Kind equipment gravity sensor data to adjust, and directly sends to application.
Simultaneously, consider when perpendicular screen application is arranged in Set Top Box, if Set Top Box draws completely full frame meeting greatly to affect the resolution of application when propelling movement is applied on TV or controlling equipment, for keeping perpendicular screen application resolution, the method further comprises: Set Top Box is obtained the resolution of perpendicular screen application, when pushing according to the resolution of perpendicular screen application in proportion carry out convergent-divergent, perpendicular screen application is pushed.Further, when Set Top Box pushes erecting screen application, make perpendicular screen using integral placed in the middle, and press maximum ratio convergent-divergent in proportion.So just make perpendicular screen application maximization demonstration and resolution unaffected, facilitate user to control.
The control method of applying in this Set Top Box, the type of monitoring application and controlling equipment, difference for horizontal screen application and perpendicular screen application, gravity sensor data to first kind equipment and Equations of The Second Kind equipment are adjusted, what make that various controlling equipments can both be simple and convenient controls horizontal screen application and perpendicular screen application, thereby make controlling equipment can be good at the various application in Set Top Box to control, various application can both adaptation be arranged in Set Top Box, have great convenience for the user to control, greatly improved the versatility of Set Top Box.
Meanwhile, the present invention also provides the control system of applying in a kind of Set Top Box.As shown in Figure 2, the control system of applying in this Set Top Box comprises:
Monitoring unit 100, the controlling equipment that monitoring is arranged on the application in Set Top Box and is connected with Set Top Box.
Owing to being arranged on application in Set Top Box according to the display mode of application, have horizontal screen display to show and erect that screen display shows minute, the application definition that horizontal screen display is shown is horizontal screen application, the application definition that perpendicular screen display is shown is perpendicular screen application, and when application is arranged in Set Top Box, monitoring unit 100 needs the horizontal/vertical screen type of monitoring application.Simultaneously, because Set Top Box is being connected with controlling equipment, when mirror image is pushed on controlling equipment, the gravity sensor of controlling equipment is different according to mode, coordinate (or coordinate system) difference that causes controlling equipment gravity sensor, therefore after controlling equipment is connected with Set Top Box, monitoring unit 100 need to be monitored controlling equipment and belong to any type.The monitoring that monitoring unit 100 passes through application and controlling equipment, the type of Real-time Obtaining application and controlling equipment.
Unit 200 is controlled in horizontal screen application, if be applied as horizontal screen application, if controlling equipment is first kind equipment, directly sends the gravity sensor data of first kind equipment to application; If controlling equipment is Equations of The Second Kind equipment, will in Equations of The Second Kind equipment gravity sensor data, after X-axis data and Y-axis data swapping, send again application to.Wherein, first kind equipment is other equipment that mobile phone or gravity sensor coordinate system are identical with mobile phone.Equations of The Second Kind equipment is the equipment that gravity sensor coordinate system is contrary with Y-axis with mobile phone gravity sensor coordinate X-axis.PAD for example.
By the monitoring to application and controlling equipment, obtain after the type of application and controlling equipment, need to be according to the type of application and controlling equipment, the adjustment that controlling equipment gravity sensor data are adapted, so that controlling equipment can be controlled various application easily, various application can be fitted in Set Top Box.
In this embodiment, if be applied as the horizontal screen application that horizontal screen display is shown, Set Top Box is when being pushed on operation control terminal by mirror image so, also with horizontal screen, be pushed on operation control terminal, this is just arranged on controlling equipment and shows and there is no difference with application, now for first kind equipment (being preferably mobile phone), when on to Set Top Box, application is controlled, also horizontal screen is controlled application, the gravity sensor data that the 200 pairs of first kind equipment in unit are controlled in horizontal screen application do not need to process, directly can send application to, the application in Set Top Box is controlled.
For Equations of The Second Kind equipment (being preferably PAD), contrary due to the X-axis of Equations of The Second Kind equipment gravity sensor coordinate system and Y-axis and first kind equipment, although be applied on Equations of The Second Kind equipment, be also that horizontal screen display is shown, but Equations of The Second Kind equipment must erect screen to be controlled just passable to application, only have and will in the gravity sensor data of Equations of The Second Kind equipment, after X-axis and Y-axis data swapping, send to application, just can make Equations of The Second Kind equipment is also that horizontal screen is controlled application.Therefore in this embodiment, if controlling equipment is Equations of The Second Kind equipment, horizontal screen application is controlled 200 of unit and will in Equations of The Second Kind equipment gravity sensor data, after X-axis data and Y-axis data swapping, be sent application to again, thereby facilitates the horizontal screen manipulation application of Equations of The Second Kind equipment, makes to apply better adaptive Set Top Box.
In further execution mode, horizontal screen application is controlled unit 200 and is installed on Equations of The Second Kind equipment, in counterweight force sensor data, after X-axis data and Y-axis data swapping, sends application to; Or horizontal screen application is controlled unit 200 and is installed in Set Top Box, in counterweight force sensor data, after X-axis data and Y-axis data swapping, sends application to.To the transposing of Equations of The Second Kind equipment gravity sensor data, can be completed by Equations of The Second Kind equipment, also can be completed by Set Top Box.Consider convenience, preferred, horizontal screen application is controlled unit 200 and is installed in Set Top Box, and in counterweight force sensor data, X-axis data and Y-axis data are changed.Concrete, horizontal screen application is controlled unit 200 and is installed in Set Top Box, receive the data of the gravity sensor of Equations of The Second Kind equipment transmission, and in counterweight force sensor data X-axis data and Y-axis data change after by JNI interface (Java NativeInterface, JAVA local interface) send application layer to, thereby send application to, application is controlled.
Unit 300 is controlled in perpendicular screen application, if be applied as perpendicular screen application, if controlling equipment is Equations of The Second Kind equipment, directly send Equations of The Second Kind equipment gravity sensor data to application, if controlling equipment is first kind equipment, will in first kind equipment gravity sensor data, after X-axis data and Y-axis data swapping, send again application to.
If by the monitoring to application and controlling equipment, be applied as the perpendicular screen application that perpendicular screen display is shown, Set Top Box is when being pushed on operation control terminal by mirror image so, still with horizontal screen, be pushed on operation control terminal, this is just arranged on controlling equipment and shows and produce very big difference with perpendicular screen application, now for first kind equipment (being preferably mobile phone), when on to Set Top Box, application is controlled, the horizontal screen of Set Top Box is pushed on first kind equipment, but first kind equipment must erect screen application is controlled, only have and will in the gravity sensor data of first kind equipment, after X-axis and Y-axis data swapping, send to application, just can make first kind equipment is also that horizontal screen is controlled application.Therefore in this embodiment, if controlling equipment is first kind equipment, perpendicular screen application is controlled 300 of unit and will in first kind equipment gravity sensor data, after X-axis data and Y-axis data swapping, be sent application to again, thereby facilitates first kind equipment manipulation application, makes to apply better adaptive Set Top Box.
In further execution mode, perpendicular screen application is controlled unit 300 and is installed on the first equipment, in counterweight force sensor data, after X-axis data and Y-axis data swapping, sends application to; Or perpendicular screen application is controlled unit 300 and is installed in Set Top Box, in counterweight force sensor data, after X-axis data and Y-axis data swapping, sends application to.To the transposing of first kind equipment gravity sensor data, can be completed by first kind equipment, also can be completed by Set Top Box.Consider convenience, preferred, perpendicular screen application is controlled unit 300 and is installed in Set Top Box, and in counterweight force sensor data, X-axis data and Y-axis data are changed.Concrete, perpendicular screen application is controlled unit 300 and is installed in Set Top Box, receive the data of the gravity sensor of first kind equipment transmission, and in counterweight force sensor data X-axis data and Y-axis data change after by JNI interface (JavaNative Interface, JAVA local interface) send application layer to, thereby send application to, application is controlled.
For Equations of The Second Kind equipment (being preferably PAD), contrary due to the X-axis of Equations of The Second Kind equipment gravity sensor coordinate system and Y-axis and first kind equipment, now unit 300 is controlled in perpendicular screen application does not need Equations of The Second Kind equipment gravity sensor data to adjust, and directly sends to application.
, consider when perpendicular screen application is arranged in Set Top Box, if Set Top Box draws completely full frame meeting greatly to affect the resolution of application when propelling movement is applied on TV or controlling equipment, for keeping perpendicular screen application resolution, this system further comprises meanwhile:
Perpendicular screen application push unit 400, obtains the resolution of perpendicular screen application, when pushing according to the resolution of perpendicular screen application in proportion carry out convergent-divergent, perpendicular screen application is pushed.Further, when 400 pairs of perpendicular screen application of perpendicular screen application push unit push, make perpendicular screen using integral placed in the middle, and by maximum ratio convergent-divergent in proportion.So just make perpendicular screen application maximization demonstration and resolution unaffected, facilitate user to control.
The control system of applying in this Set Top Box, the type of monitoring unit 100 monitoring application and controlling equipment, unit 200 is controlled in horizontal screen application and perpendicular screen application is controlled unit 300 for the difference of horizontal screen application and perpendicular screen application, gravity sensor data to first kind equipment and Equations of The Second Kind equipment are adjusted, what make that various controlling equipments can both be simple and convenient controls horizontal screen application and perpendicular screen application, thereby make controlling equipment can be good at the various application in Set Top Box to control, various application can both adaptation be arranged in Set Top Box, have great convenience for the user to control, greatly improved the versatility of Set Top Box.
The inventive method and system, the type of monitoring application and controlling equipment, difference for horizontal screen application and perpendicular screen application, gravity sensor data to first kind equipment and Equations of The Second Kind equipment are adjusted, what make that various controlling equipments can both be simple and convenient controls horizontal screen application and perpendicular screen application, thereby make controlling equipment can be good at the various application in Set Top Box to control, various application can both adaptation be arranged in Set Top Box, have great convenience for the user to control, greatly improved the versatility of Set Top Box.
These are only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.
Claims (10)
1. a control method of applying in Set Top Box, is characterized in that, comprises the steps:
The controlling equipment that monitoring is arranged on the application in Set Top Box and is connected with Set Top Box;
If be applied as horizontal screen application, if controlling equipment is first kind equipment, directly send the gravity sensor data of first kind equipment to application; If controlling equipment is Equations of The Second Kind equipment, will in Equations of The Second Kind equipment gravity sensor data, after X-axis data and Y-axis data swapping, send application to; Wherein, described first kind equipment is other equipment that mobile phone or gravity sensor coordinate system are identical with mobile phone, and described Equations of The Second Kind equipment is the equipment that gravity sensor coordinate system is contrary with Y-axis with mobile phone gravity sensor coordinate system X-axis;
If be applied as perpendicular screen application, if controlling equipment is Equations of The Second Kind equipment, directly send Equations of The Second Kind equipment gravity sensor data to application; If controlling equipment is first kind equipment, will in first kind equipment gravity sensor data, after X-axis data and Y-axis data swapping, send application to.
2. the control method of applying in Set Top Box according to claim 1, is characterized in that, described the step that sends application after X-axis data and Y-axis data swapping in Equations of The Second Kind equipment gravity sensor data to is specially:
In Equations of The Second Kind equipment counterweight force sensor data, after X-axis data and Y-axis data swapping, send application to, or after X-axis data and Y-axis data swapping, send application in Set Top Box counterweight force sensor data;
Described the step that sends application after X-axis data and Y-axis data swapping in first kind equipment gravity sensor data to is specially:
In first kind equipment counterweight force sensor data, after X-axis data and Y-axis data swapping, send application to, or after X-axis data and Y-axis data swapping, send application in Set Top Box counterweight force sensor data.
3. the control method of applying in Set Top Box according to claim 2, is characterized in that, described the step that sends application after X-axis data and Y-axis data swapping in Equations of The Second Kind equipment gravity sensor data to is specially:
Set Top Box receives the gravity sensor data that described Equations of The Second Kind equipment transmits, and in counterweight force sensor data, X-axis data and Y-axis data send application layer to by JNI interface after changing;
Described the step that sends application after X-axis data and Y-axis data swapping in first kind equipment gravity sensor data to is specially:
Set Top Box receives the gravity sensor data that described first kind equipment transmits, and in counterweight force sensor data, X-axis data and Y-axis data send application layer to by JNI interface after changing.
4. the control method of applying in Set Top Box according to claim 1, is characterized in that, described method also comprises:
Set Top Box is obtained the resolution of perpendicular screen application, when pushing according to the resolution of perpendicular screen application in proportion carry out convergent-divergent, perpendicular screen application is pushed.
5. the control method of applying in Set Top Box according to claim 4, is characterized in that, described method also comprises:
When Set Top Box pushes erecting screen application, make perpendicular screen using integral placed in the middle, and press maximum ratio convergent-divergent in proportion.
6. a control system of applying in Set Top Box, is characterized in that, comprising:
Monitoring unit, the controlling equipment that monitoring is arranged on the application in Set Top Box and is connected with Set Top Box;
Unit is controlled in horizontal screen application, if be applied as horizontal screen application, if controlling equipment is first kind equipment, directly sends the gravity sensor data of first kind equipment to application; If controlling equipment is Equations of The Second Kind equipment, will in Equations of The Second Kind equipment gravity sensor data, after X-axis data and Y-axis data swapping, send application to; Wherein, described first kind equipment is other equipment that mobile phone or gravity sensor coordinate system are identical with mobile phone, and described Equations of The Second Kind equipment is the equipment that gravity sensor coordinate system is contrary with Y-axis with mobile phone gravity sensor coordinate system X-axis;
Unit is controlled in perpendicular screen application, if be applied as perpendicular screen application, if controlling equipment is Equations of The Second Kind equipment, directly sends Equations of The Second Kind equipment gravity sensor data to application; If controlling equipment is first kind equipment, will in first kind equipment gravity sensor data, after X-axis data and Y-axis data swapping, send application to.
7. the control system of applying in Set Top Box according to claim 6, is characterized in that, described horizontal screen application is controlled cellular installation on Equations of The Second Kind equipment or in Set Top Box; Described perpendicular screen application is controlled cellular installation on Equations of The Second Kind equipment or in Set Top Box.
8. the control system of applying in Set Top Box according to claim 7, it is characterized in that, described horizontal screen application is controlled cellular installation in Set Top Box, receive the data of the gravity sensor that Equations of The Second Kind equipment transmits, and in counterweight force sensor data, X-axis data and Y-axis data send application layer to by JNI interface after changing; Described perpendicular screen application is controlled cellular installation in Set Top Box, receives the data of the gravity sensor that first kind equipment transmits, and in counterweight force sensor data, X-axis data and Y-axis data send application layer to by JNI interface after changing.
9. the control system of applying in Set Top Box according to claim 6, is characterized in that, described system also comprises:
Perpendicular screen application push unit, obtains the resolution of perpendicular screen application, when pushing according to the resolution of perpendicular screen application in proportion carry out convergent-divergent, perpendicular screen application is pushed.
10. the control system of applying in Set Top Box according to claim 9, is characterized in that, when described perpendicular screen application push unit pushes erecting screen application, makes perpendicular screen using integral placed in the middle, and presses maximum ratio convergent-divergent in proportion.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410187078.9A CN103997670B (en) | 2014-05-05 | 2014-05-05 | The control method and control system applied on a kind of set top box |
PCT/CN2015/077313 WO2015169154A1 (en) | 2014-05-05 | 2015-04-23 | Method and system for controlling application in set-top box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410187078.9A CN103997670B (en) | 2014-05-05 | 2014-05-05 | The control method and control system applied on a kind of set top box |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103997670A true CN103997670A (en) | 2014-08-20 |
CN103997670B CN103997670B (en) | 2017-11-07 |
Family
ID=51311654
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410187078.9A Expired - Fee Related CN103997670B (en) | 2014-05-05 | 2014-05-05 | The control method and control system applied on a kind of set top box |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103997670B (en) |
WO (1) | WO2015169154A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015169154A1 (en) * | 2014-05-05 | 2015-11-12 | 深圳市九洲电器有限公司 | Method and system for controlling application in set-top box |
CN105187945A (en) * | 2015-09-18 | 2015-12-23 | 浪潮软件集团有限公司 | Method for realizing apk control of android set top box screen direction |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008282131A (en) * | 2007-05-09 | 2008-11-20 | Victor Co Of Japan Ltd | Controller for electronic equipment |
CN102841770A (en) * | 2012-08-14 | 2012-12-26 | 王斌 | Method for synchronizing gravity induction, large screen display device and mobile terminal |
CN203164890U (en) * | 2012-06-07 | 2013-08-28 | 歌尔声学股份有限公司 | Control system and control device |
CN104125327A (en) * | 2013-04-29 | 2014-10-29 | 深圳富泰宏精密工业有限公司 | Screen rotation control method and system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11087659B2 (en) * | 2011-03-11 | 2021-08-10 | Cox Communications, Inc. | System, method and device for presenting different functional displays when orientation of the device changes |
KR101352329B1 (en) * | 2011-11-23 | 2014-01-22 | 도시바삼성스토리지테크놀러지코리아 주식회사 | Apparatus and method for providing user interface by using remote controller |
CN103092640A (en) * | 2012-10-19 | 2013-05-08 | 张伟明 | Information processing system and processing method |
CN103997670B (en) * | 2014-05-05 | 2017-11-07 | 深圳市九洲电器有限公司 | The control method and control system applied on a kind of set top box |
-
2014
- 2014-05-05 CN CN201410187078.9A patent/CN103997670B/en not_active Expired - Fee Related
-
2015
- 2015-04-23 WO PCT/CN2015/077313 patent/WO2015169154A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008282131A (en) * | 2007-05-09 | 2008-11-20 | Victor Co Of Japan Ltd | Controller for electronic equipment |
CN203164890U (en) * | 2012-06-07 | 2013-08-28 | 歌尔声学股份有限公司 | Control system and control device |
CN102841770A (en) * | 2012-08-14 | 2012-12-26 | 王斌 | Method for synchronizing gravity induction, large screen display device and mobile terminal |
CN104125327A (en) * | 2013-04-29 | 2014-10-29 | 深圳富泰宏精密工业有限公司 | Screen rotation control method and system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015169154A1 (en) * | 2014-05-05 | 2015-11-12 | 深圳市九洲电器有限公司 | Method and system for controlling application in set-top box |
CN105187945A (en) * | 2015-09-18 | 2015-12-23 | 浪潮软件集团有限公司 | Method for realizing apk control of android set top box screen direction |
CN105187945B (en) * | 2015-09-18 | 2018-05-08 | 浪潮软件集团有限公司 | Method for realizing apk control of android set top box screen direction |
Also Published As
Publication number | Publication date |
---|---|
CN103997670B (en) | 2017-11-07 |
WO2015169154A1 (en) | 2015-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103226454B (en) | A kind of method and system realizing multihead display | |
EP2821915A2 (en) | Method and apparatus for controlling display of shared screen | |
JP6335738B2 (en) | Source terminal, display control system, display control method, display control program | |
CN110493756B (en) | Screen projection method and 5G terminal | |
CN102739800A (en) | System and method for remotely controlling browser Web page based on internet | |
CN104270662A (en) | System of terminal equipment for controlling intelligent television through browser | |
US20150304701A1 (en) | Play control method and device | |
CN103761735A (en) | Calibration device and method of vehicle-mounted around view system | |
CN103024582A (en) | Multi-screen display control method and multi-screen display device | |
CN102945591A (en) | Method for realizing wireless control of set top box peripheral by wifi | |
CN103516882A (en) | Method and system for playing pictures based on multi-screen interaction scene | |
CN103516418A (en) | Multi-media interaction communication system, method and receiving device | |
KR102105168B1 (en) | Display apparatus and control method of the same | |
CN103024457A (en) | Method and device for controlling server touch screen | |
CN106354462A (en) | Method, equipment and system for synchronously displaying document in multiple equipment | |
CN103997670A (en) | Control method and control system for application on set top box | |
CN104902199A (en) | Projection method, terminal and system | |
CN104978157A (en) | Display device and image display method of display device | |
CN104717555A (en) | Video stream acquiring method and device | |
CN103795949A (en) | Control terminal, device terminal and system for adjusting volume of device terminal | |
CN103313116A (en) | Multi-screen interaction-based image display method and system | |
CN103619051A (en) | System and method for dynamically controlling routing rule of gateway equipment | |
CN103338391A (en) | Method, device, and system for realizing connection of mobile terminal and television terminal | |
CN103905856B (en) | Terminal device and its information processing method | |
US20150055553A1 (en) | Wireless communication system and setup method therefor |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171107 Termination date: 20200505 |
|
CF01 | Termination of patent right due to non-payment of annual fee |