CN101304496A - Method for implementing mobile phone television based on JAVA - Google Patents
Method for implementing mobile phone television based on JAVA Download PDFInfo
- Publication number
- CN101304496A CN101304496A CNA2008100391921A CN200810039192A CN101304496A CN 101304496 A CN101304496 A CN 101304496A CN A2008100391921 A CNA2008100391921 A CN A2008100391921A CN 200810039192 A CN200810039192 A CN 200810039192A CN 101304496 A CN101304496 A CN 101304496A
- Authority
- CN
- China
- Prior art keywords
- java
- virtual machine
- interface
- operating system
- mobile
- 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.)
- Pending
Links
Images
Landscapes
- Telephone Function (AREA)
Abstract
The invention relates to a method for realizing a cross platform terminal for a mobile television in the field of information technology, specifically, the invention provides an accordant port for different operation systems by separating different television receiving modules through a hardware abstract layer. Through the separation of different operation systems by a JAVA virtual machine, completely accordant operation ambient is provided for application programs. By reusing an MMAPI, the decryption of audio and video is realized, and cross platform customization of user interface can be realized through a GUI based on JAVA. The invention provides the accordant port for receiving and broadcasting of the digital television in various cell phones and can be directly operated in all cell phones supporting JAVA, thus completely realizing the cross platform operation.
Description
Technical field
The present invention relates to a kind of mobile phone TV terminal implementation method of areas of information technology, particularly a kind of mobile TV implementation method based on JAVA.
Background technology
Mobile TV is meant with the mobile phone to be terminal equipment, realizes a technology of television content transmission.The realization of mobile TV at present mainly is divided into by receive mode: based on existing radio data network, comprise the Wi-Fi network based on GPRS (GPRS) network, code division multiple access (CDMA) network and IEEE (institute of electrical and electronic engineers) 802.11b 1..2. based on the mobile digital TV network.3. based on traditional simulated television network.Receiver module and different data-interfaces that different receive modes is corresponding different.Existing method is that each receive mode is realized by different mobile phone terminal software, and the difficulty that has increased system development also is unfavorable for client's use.
Mobile phone on the market has different separately hardware platforms and software platform at present.Aspect hardware platform, different processors needs different instruction set, and different mobile phones also provides different read-write memory (RAM) and read-only memory (ROM) resource.Aspect software platform, mobile phone on the market has supports operating system and two big classes no operating system.Though support the mobile phone of operating system that the resource environment of comparison unanimity can be provided, operating system on the market is multifarious, wherein having just has WindowsMobile, Symbian, Linux, Palm, 4 kinds more than than higher occupation rate.Each operating system can't be passed through unified operation-interface, and letting alone has not had mobile phone that operating system is supported, and above characteristics have all increased the complexity of exploitation greatly.
Find through literature search prior art, Xu Dazhao etc. are at " Foreign ElectronicMeasurement Technology " (external electronic measurement technique, 2008 27 1 phases of volume) " based on the research and development of the DAB mobile TV of binary runtime environment for wireless " delivered on, mobile TV implementation method based on binary runtime environment for wireless is proposed in this article, concrete grammar is: development and testing mobile phone television software under binary runtime environment for wireless is that different mobile phones are provided different compiled version at last.Its deficiency is: need different compiled version for different mobile phones, each operating system can't be passed through unified operation-interface.
Summary of the invention
The present invention is directed to the above defective that prior art exists, a kind of mobile TV implementation method based on JAVA is provided, be various mobile phones and realize that the reception and the broadcast of Digital Television provide unified interface, can directly run on all cell phone platforms of supporting JAVA, realize cross-platform operation fully.
The present invention is achieved by the following technical solutions, the present invention includes following steps:
The first step: TV signal is received by different radiovisors, by hardware abstraction layer various TV receiving apparatus and data flow are isolated, for the operating system and the driver of last layer provides consistent TV receiving apparatus control interface and unified data-interface.
Second step: operation is isolated different operating system with the JAVA virtual machine on the operating system, for application program provides monolithic running environment.
The 3rd step: the mobile media application programming interfaces (MMAPI) that run on the JAVA virtual machine carry out the processing of audio frequency and video to different TV signal datas.
The 4th step: run on the cross-platform customization that user graphical interface on the JAVA virtual machine (GUI) realizes user interface, realization is mutual with the user's.
Described hardware abstraction layer is that different receiver modules is isolated, and for operating system or JAVA virtual machine provide accordant interface, is convenient to the transplanting that receiver module drives and the software interface that calls of upper system.
Described receiver module is accepted simulation or digital television signal from the outside, comprise the modulator-demodulator of mobile phone or external special-purpose receiver module.
Described driver calls for operating system, the software interface of control radiovisor.By the HAL function calls being finished the registration of receiving equipment in operating system and the application of resource, operating system can be finished visit and control to receiving equipment by driver.
The scheduling that described operating system is responsible for finishing the work and the work such as distribution of resource, the running status of management JAVA virtual machine.The real-time oss JAVA virtual machine effect in the present invention of unifying has certain common factor, so can be embedded into the JAVA virtual machine in the real time operating system or make the JAVA virtual machine realize the function of task scheduling, finish to the scheduling of JAVA application program and the allocation manager work of resource.
Described JAVA virtual machine is responsible for finishing the isolation to different operating system, makes the present invention can cross over different operating system.The JAVA virtual machine also can be directly finished visit and control to receiver module by JNI (JAVA local interface) pattern to directly calling of function in the hardware abstraction layer.The JAVA virtual machine also provides unified running environment for the JAVA program, finishes the work such as visit application to resource of the scheduling of JAVA program state and JAVA program.
Described JAVA mobile media application programming interfaces, this framework provides multimedia support, mainly realizes the decoding of data and plays work such as management.For the file formats such as MPEG2 that MMAPI provides support, directly use MMAPI to decode.Coded format for MMAPI does not provide support as yet realizes by the unified expansion interface of MMAPI.
Described user graphical interface, this interface provides unified interface function for user's input-output equipment, finishes to the management of output display unit with to the response of input equipment incident, and the GUI storehouse based on JAVA can provide cross-platform operation simultaneously.
In sum, utilize method of the present invention can realize a mobile TV client software, this software is by finishing selection and the Play Control to TV programme to calling of MMAPI class libraries.By to the calling of GUI class libraries, finish user's event request, realize man-machine interactive operation.
The present invention can realize the mobile TV client can cross-platform operation.Can support direct operation on the mobile phone of JAVA at all, and need not from newly compiling.Compare with traditional mobile TV client, simplified development difficulty greatly, reduced the complexity of software issue.Improved the ease for use of software.
Description of drawings
Fig. 1 is an embodiment of the invention framework map
Embodiment
Below embodiments of the invention are elaborated: present embodiment is being to implement under the prerequisite with the technical solution of the present invention, provided detailed execution mode and concrete operating process, but protection scope of the present invention is not limited to following embodiment.
As shown in Figure 1, the step framework of present embodiment is as follows:
The first step: TV signal is received by different radiovisor, by hardware abstraction layer various TV receiving apparatus and data flow is isolated, for the operating system of last layer provides consistent TV receiving apparatus control interface and unified data-interface.
Second step: operation is isolated different operating system with the JAVA virtual machine on the operating system, for application program provides monolithic running environment.
The 3rd step: run on the mobile media application programming interfaces on the JAVA virtual machine) different TV signal datas is carried out the processing of audio frequency and video.
The 4th step: run on the cross-platform customization of user graphical interface realization user interface on the JAVA virtual machine, realization is mutual with the user's.
Concrete application operating step:
By NetBean development platform exploitation mobile phone player (TV Player) application program, this application program is monitored various incoming events by the GUI class libraries, calls the sequence of operations such as opening, close, play, stop that the MMAPI class libraries is realized files in stream media.
The first step: open TV Player application program.After RTOS detects this JAVA program of needs operation TV Player, use the JAVA virtual machine to load TV Player, TV Player calls the GUI class libraries and show the initialization interface on display device.
Second step: click " receive mode is set " tab of TV Player, TV Player detection of handset list of devices, the connected mode that inquiry is supported, unsupported equipment then its respective selection is denoted as not optional.Hypothesis is supported following three kinds of pattern: GPRS, Wi-Fi, local digital TV-set receiving module in this example.The GPRS pattern is chosen in click.
The 3rd step: after the acquisition user confirmed to use GPRS pattern connection event, the api function registration GPRS that TV Player calls among the Wireless Tool Kit connected.Read the server end playlist, return to TV Player, choose for the user.
The 4th step: the user chooses the channel program that need watch by playlist, and TV Player accepts user's selection, sets up Streaming Media with corresponding channel program server and is connected.Calling MMAPI plays the data flow that sends by GPRS and uses the GUI class libraries to show on display device.
The 5th step: the user clicks and suspends or stop button, then realizes the time-out of playing or stops by calling the MMAPI class libraries.
The 6th step: the user closes TV Player application program.TV Player closes the connection device opened and sends Destroy message to JVM, and JVM discharges the resource that TV Player takies, and nullifies application program.
Further in second step, if what select for use is the local digital TV-set receiving module, what TV Player opened then is a device file, and this device file is provided by JVM, and JVM is by finishing opening, reading and shutoff operation this equipment to the visit of API among the HAL.
Claims (6)
1, a kind of mobile TV implementation method based on JAVA is characterized in that, comprises the steps:
The first step: TV signal is received by each radiovisor, by hardware abstraction layer various TV receiving apparatus and data flow is isolated, for the operating system of last layer provides consistent TV receiving apparatus control interface and unified data-interface;
Second step: operation is isolated each operating system with the JAVA virtual machine on the operating system, for application program provides monolithic running environment;
The 3rd step: the mobile media application programming interfaces that run on the JAVA virtual machine carry out the processing of audio frequency and video to each TV signal data;
The 4th step: run on the cross-platform customization of user graphical interface realization user interface on the JAVA virtual machine, realization is mutual with the user's.
2, the mobile TV implementation method based on JAVA according to claim 1 is characterized in that described driver calls for operating system, the software interface of control radiovisor.By the HAL function calls being finished the registration of receiving equipment in operating system and the application of resource, operating system can be finished visit and control to receiving equipment by driver.
3, the mobile TV implementation method based on JAVA according to claim 1, it is characterized in that, the scheduling that described operating system is responsible for finishing the work and the work such as distribution of resource, the running status of management JAVA virtual machine, the real-time oss JAVA virtual machine effect of unifying has certain common factor, can be embedded into the JAVA virtual machine in the real time operating system or make the JAVA virtual machine realize the function of task scheduling, finish the scheduling of JAVA application program and the allocation manager work of resource.
4, the mobile TV implementation method based on JAVA according to claim 1, it is characterized in that, described JAVA virtual machine also can be directly finished visit and control to receiver module by JAVA local interface pattern to directly calling of function in the hardware abstraction layer, the JAVA virtual machine also provides unified running environment for the JAVA program, finishes the visit application work to resource of the scheduling of JAVA program state and JAVA program.
5, the mobile TV implementation method based on JAVA according to claim 1, it is characterized in that, described JAVA mobile media application programming interfaces provide multimedia support, main decoding and the broadcast management work that realizes data, the file format that provides support for MMAPI, directly use MMAPI to decode, the coded format for MMAPI does not provide support as yet realizes by the unified expansion interface of MMAPI.
6, the mobile TV implementation method based on JAVA according to claim 1, it is characterized in that, described user graphical interface, this interface provides unified interface function for user's input-output equipment, finish to the management of output display unit with to the response of input equipment incident, the GUI storehouse based on JAVA can provide cross-platform operation simultaneously.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008100391921A CN101304496A (en) | 2008-06-19 | 2008-06-19 | Method for implementing mobile phone television based on JAVA |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008100391921A CN101304496A (en) | 2008-06-19 | 2008-06-19 | Method for implementing mobile phone television based on JAVA |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101304496A true CN101304496A (en) | 2008-11-12 |
Family
ID=40114177
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2008100391921A Pending CN101304496A (en) | 2008-06-19 | 2008-06-19 | Method for implementing mobile phone television based on JAVA |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101304496A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101986273A (en) * | 2010-11-15 | 2011-03-16 | 中国电信股份有限公司 | Multi-media player and transplant processing method thereof |
CN102169708A (en) * | 2011-03-03 | 2011-08-31 | 深圳市融创天下科技发展有限公司 | Audio and video play system, method, mobile terminal and player |
CN102185970A (en) * | 2011-04-22 | 2011-09-14 | 上海网达软件有限公司 | Method for establishing standard for handset video player component model object interface |
CN103106117A (en) * | 2012-12-25 | 2013-05-15 | 青岛海信电器股份有限公司 | Resource allocation method and electronic equipment |
CN104050021A (en) * | 2013-03-15 | 2014-09-17 | 联想(北京)有限公司 | Multimedia file processing method and electronic equipment |
CN104427368A (en) * | 2013-08-26 | 2015-03-18 | 中国移动通信集团公司 | Television set remote control method and apparatus |
CN105867581A (en) * | 2015-12-16 | 2016-08-17 | 乐视移动智能信息技术(北京)有限公司 | Power optimization method and device and mobile terminal |
CN110419226A (en) * | 2017-11-10 | 2019-11-05 | 华为技术有限公司 | The method and apparatus for playing TV programme |
CN110737468A (en) * | 2018-07-19 | 2020-01-31 | 北京路上创客技术服务有限责任公司 | executable program cross-platform implementing method |
-
2008
- 2008-06-19 CN CNA2008100391921A patent/CN101304496A/en active Pending
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101986273A (en) * | 2010-11-15 | 2011-03-16 | 中国电信股份有限公司 | Multi-media player and transplant processing method thereof |
CN102169708A (en) * | 2011-03-03 | 2011-08-31 | 深圳市融创天下科技发展有限公司 | Audio and video play system, method, mobile terminal and player |
CN102185970A (en) * | 2011-04-22 | 2011-09-14 | 上海网达软件有限公司 | Method for establishing standard for handset video player component model object interface |
CN103106117A (en) * | 2012-12-25 | 2013-05-15 | 青岛海信电器股份有限公司 | Resource allocation method and electronic equipment |
CN104050021A (en) * | 2013-03-15 | 2014-09-17 | 联想(北京)有限公司 | Multimedia file processing method and electronic equipment |
CN104050021B (en) * | 2013-03-15 | 2018-12-14 | 联想(北京)有限公司 | Multimedia file processing method and electronic equipment |
CN104427368A (en) * | 2013-08-26 | 2015-03-18 | 中国移动通信集团公司 | Television set remote control method and apparatus |
CN105867581A (en) * | 2015-12-16 | 2016-08-17 | 乐视移动智能信息技术(北京)有限公司 | Power optimization method and device and mobile terminal |
CN110419226A (en) * | 2017-11-10 | 2019-11-05 | 华为技术有限公司 | The method and apparatus for playing TV programme |
CN110419226B (en) * | 2017-11-10 | 2021-01-08 | 华为技术有限公司 | Method and device for playing television program |
US11153631B2 (en) | 2017-11-10 | 2021-10-19 | Huawei Technologies Co., Ltd. | Method and apparatus for playing television program |
CN110737468A (en) * | 2018-07-19 | 2020-01-31 | 北京路上创客技术服务有限责任公司 | executable program cross-platform implementing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101304496A (en) | Method for implementing mobile phone television based on JAVA | |
CN102662665B (en) | Input subsystem enabling Android to support various sensors | |
WO2015035908A1 (en) | Smart television operation system | |
CN102572606A (en) | Streaming digital content with flexible remote playback | |
CN102665137A (en) | Method for controlling media player and terminal thereof | |
CN102685601A (en) | Method and device for accessing multi-media resources of smart television and smart television | |
US10289428B2 (en) | Digital device and method of processing screensaver thereof | |
EP2782335B1 (en) | Terminal device, server device, information processing method, program, and collaborative application supply system | |
CN103516882B (en) | A kind of based on multi-screen interaction scene picture playing method and system | |
CN103516418B (en) | A kind of multimedia interaction communication system, method and the equipment of reception | |
CN102333246A (en) | User interface system based on Flash middleware of set top box | |
CN101409777A (en) | Set-top box platform for separating digital television application software and hardware, and download method | |
WO2005109865A1 (en) | A method for realizing embedded digital television service platform | |
CN106412466A (en) | Smart television system | |
CN102780933A (en) | Method and television for acquiring user information | |
CN102196308B (en) | Digital-television-based multi-hardware interface compatible driving system | |
CN101287065A (en) | Display terminal for set-top box | |
CN101169744A (en) | Embedded type system and its resource control and management method | |
CN101753793A (en) | Method for realizing interactive interface in embedded set top box system | |
CN103888828A (en) | Digital TV multi-hardware interface compatible driving system based on 3C fusion | |
CN101483694B (en) | Playing control method and apparatus for vector animation | |
CN111385593A (en) | Cross-platform live content synchronization method and device, storage medium and server | |
CN101009836A (en) | Embedded video playing device based on the dual processor | |
CN104703032A (en) | Smart television media player, play message processing method thereof and smart television | |
CN104269185B (en) | Method and system for realizing sound mixing play in Java virtual machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20081112 |