CN101593127A - A kind of cross-platform Jave virtual machine of Digital Television middleware system - Google Patents

A kind of cross-platform Jave virtual machine of Digital Television middleware system Download PDF

Info

Publication number
CN101593127A
CN101593127A CNA2008100381120A CN200810038112A CN101593127A CN 101593127 A CN101593127 A CN 101593127A CN A2008100381120 A CNA2008100381120 A CN A2008100381120A CN 200810038112 A CN200810038112 A CN 200810038112A CN 101593127 A CN101593127 A CN 101593127A
Authority
CN
China
Prior art keywords
java
platform
virtual machine
digital television
jave
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
Application number
CNA2008100381120A
Other languages
Chinese (zh)
Inventor
许海华
陈德环
王贤生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
3H INTERNATIONAL TECHNOLOGY Pte Ltd
Original Assignee
3H INTERNATIONAL TECHNOLOGY Pte Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 3H INTERNATIONAL TECHNOLOGY Pte Ltd filed Critical 3H INTERNATIONAL TECHNOLOGY Pte Ltd
Priority to CNA2008100381120A priority Critical patent/CN101593127A/en
Publication of CN101593127A publication Critical patent/CN101593127A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

A kind of cross-platform Jave virtual machine of Digital Television middleware system belongs to communication technical field.Comprise operating system and device driver based on hardware platform, it is provided with the platform adaptation layer on the basis of operating system and device driver; On the basis of this adaptation layer, utilization comprises the Java Virtual Machine installed in the middleware system and the core class libraries of set-top box device, make up one and load the Jave virtual machine that subsystem, security management subsystem, execution engine and local method call interface subsystem functional module are constituted by class at least, provide a Java to use and professional operation platform for giving the Digital Television middleware.It supports Chinese Industrial Standards (CIS), is easy to transplant to other standards, and is irrelevant with hardware platform, unified resource management, and the Jave number of threads of operation is not limited by OS, has compacter system architecture and the hardware resource and the restriction of hardware platform still less that take still less.

Description

A kind of cross-platform Jave virtual machine of Digital Television middleware system
Technical field
The invention belongs to technical field of telecommunications, relate in particular to a kind of IIPS that is used for digital television broadcasting system.
Background technology
Digital Television is the focus of current I T industry, and as an information service of soon starting broadcasting in China, it has merged numerous technology such as computing machine, multimedia, communication network.First generation digital TV products mainly shows the design and the production of top box of digital machine, and some simple interactive application realizations in set-top box.The deep development of first generation product makes people more and more higher to the requirement of interactive television, and digital-TV operator is also recognized the importance of appreciation service one after another simultaneously.Because diversified appreciation service can not only attract more new user for them, under the more and more fierce environment of competition, the appreciation service also becomes the key character that operator is different from other rivals simultaneously.
Digital television techniques has entered second generation developing stage at present.Digital television techniques second generation set-top box product is integrated as its principal character with TV and internet.Interactive application more and more widely, the principal feature of information service, ecommerce, instant play-on-demand program value-added services such as (TVAnytime) also becoming development.
By the end of the year 2005, global digital cable customers sum surpasses 2.2 hundred million, and global Digital Television permeability (digital cable customers/TV user number) has reached 16%, and in 2006, there were 7,000 ten thousand top box of digital machine shipment amounts in the whole world.The coming five years, global digital cable customers quantity average growth rate per annum will be about 30%.The service that whole world Digital Television is relevant (interaction etc. are paid in program request) will reach 15,000 hundred million dollars-Dataquest.
In Europe, other countries are in the world led in the development of interactive digital TV.Particularly a kind of favourable atmosphere has been created in the generation of MHP (medium home platform), and Europe outclass north America region to the attention of interactive application simultaneously.
The U.S. substitutes simulated television with Digital Television, and along with the consumer prepares to turn to Digital Television from simulated television, they are the set-top box business of expanding digital broadcasting forwardly.It is predicted that by 2011, the usage quantity of digital broadcasting set-top box will be above 4,700 ten thousand.
Japan forms in the creation of digital TV contents, and carries the whole world as industrial chain.
In China, Digital Television replaces the certainty that simulated television is the TV tech development, also is the fact that is taking place silently at present.
The digital television standard of China is different from other places, the world (as Europe, the U.S. and Japan), the especially standard of middleware platform, makes the middleware system that Digital Television provider wants independent research to have autonomous property right, promotes more appreciation application.Value-added service, content intention will be the focus of global competition.
At present, digital TV set-top box is based on the simulated television receiving digital television program of cable TV network transmission and the main access platform of numerical information.Realize the function of interactive television, the Digital Television middleware Technology condition that is absolutely necessary, it has become the core technology of interactive television.China has formulated the Digital Television middleware standard, and the middleware system that utilizes this standard development to have independent intellectual property right is very important.
Middleware is a middle layer that embeds between application program and operating system, hardware platform, is defined as one group of application programming interfaces comparatively complete, standard usually.The exploitation that it is mainly application software provides cross operating system, strides platform and stratification, modularization and the extendible interface of hardware, simultaneously, provides the programming tool of necessity according to the programming feature of Embedded Application.
By middleware, application program can be independent of operating system and hardware platform, makes the opening of product and portability stronger.Middleware has been arranged, application program not only can run on different hardware platforms, also can on different operating system, move, thereby improving development efficiency, reducing the development that to catch up with technology in the cost of development, make the exploitation of application become simpler and more direct, also provide a metastable higher layer applications environment for application program.
Interactive television is integrated as its principal character with TV and internet, can provide abundant interaction function for the user, comprises electronic program guides, video request program, stock information, interactive game etc.These interaction functions need set-top box and Internet connection, the information that can upgrade in time, and the network enabled browser provides the ability of user and TV station's interaction.Middleware system must have a Java Virtual Machine (JVM) so, and it provides the analysis to the JAVA code, supports internet browsing.It is the indispensable function of middleware system that the Jave virtual machine is provided.
Java Virtual Machine (JVM) is the hypothetical computer that can move the Java code.As long as interpreter is transplanted on the specific hardware platform (based on NEC EMA2 master chip top box of digital machine platform), just can guarantee that any Java code through compiling of its support can move in this system according to the JVM specification representation.
Java Virtual Machine is a machine in the imagination, is to realize by software simulation in the realization of reality.The virtual hardware that has in oneself imagining of Java as processor, storehouse, register etc., also has the corresponding instruction system.
The defective that existing JVM exists:
1. the huge embedded device that is not suitable for of structure is such as our digital television receiver equipment;
2. be difficult for reducing and transplanting;
3. operation needs a large amount of system resource such as internal memory.
Summary of the invention
Technical matters to be solved by this invention provides a kind of cross-platform Jave virtual machine of Digital Television middleware system, it supports Chinese Industrial Standards (CIS) (DTVM), be easy to other standards (MHP, OCAP) transplant, irrelevant with hardware platform, unified resource management, the JAVA number of threads of operation is not limited by OS, has compacter system architecture and the hardware resource and the restriction of hardware platform still less that take still less.
Technical scheme of the present invention is: the cross-platform Jave virtual machine that a kind of Digital Television middleware system is provided, comprise operating system and device driver, it is characterized in that: the platform adaptation layer is set on the basis of operating system and device driver based on hardware platform; On the basis of this adaptation layer, utilization comprises the Java Virtual Machine installed in the middleware system and the core class libraries of set-top box device, make up one and load the Jave virtual machine that subsystem, security management subsystem, execution engine and local method call interface subsystem functional module are constituted by class at least, for providing a Java to use and professional operation platform for the Digital Television middleware, support local file system and access to netwoks simultaneously.
Further, described Jave virtual machine also comprises garbage reclamation subsystem function module.
Concrete, the platform adaptation layer provides the interface of operating system and/or device driver system and each module of upper strata, adopt JAVA thread and the OS of lower floor platform thread management isolation technics, the thread that runs on the Jave virtual machine like this is transparent for OS, with concrete OS platform independence, convenient whole Digital Television middleware is transplanted to different platforms, supports different original device suppliers.
Class is loaded subsystem and is loaded the JAVA class, and the type fully-qualified name of the class by appointment produces a binary data stream of representing the type.These binary data streams are resolved in the data structure in corresponding method district, create the class example of the Java.Lang.Class of an expression the type, verify the semanteme of the JAVA grammer that such meets then, then initialization such, be connected to the zone of this JAVA of practical application at last.
Security management subsystem is realized class java.lang.SecurityManager earlier; such has an access controller (AccessController) object; when the code in operating in the Jave virtual machine need be visited certain resource of Jave dummy machine system outside; the inspection that this code is conducted interviews; security manager can go the checkPermission () method that the Permission object of the java code establishing of each current operation passes to the AccessController object; because each invoked Java code all has the Java frame of oneself; each java frame belongs to the method for concrete certain Java thread dispatching again; and each Java method is defined in corresponding java class; each java class all belongs to certain protected field; each protected field has all defined corresponding system access right, judges according to these authorities whether the system resource of the code access of moving in the present java frame is licensed.
Carrying out engine is responsible for the virtual machine machine instruction (bytecode) from the class file being translated as the actual assembly code of nation method and local platform and carrying out by local cpu, adopt the scheme of disposable explanation bytecode and combining adaptive optimisation technique, count and call the most frequent partial code and compile.
The local method call interface subsystem is converted to the C stack with compilation with the Java stack, on the C storehouse, realize function calls then, the form that embeds compilation in the C the inside realizes function C VMjniInvokeNative (), the partial data that will be come by real ginseng transmission obtains the parameter of nation method after by direct or computing, be pressed into local stack then, realize local C function call by collecting.
The garbage reclamation subsystem adopts gradual collection rubbish, and the progressive collection of limiting time is provided in ripe object space, and all resources can be removed and distributed by same Garbage Collector; It uses the Virtual table technology, and the performance in internal memory is divided into three parts: handle pool to the Java object one, object pool, data pool, wherein handle pool and object pool deposit in heap, data pool deposits in the method district, only need revise the pointer to object that this object leaves among the handle pool and get final product when the garbage reclamation subsystem removes a Java object instance.
Compared with the prior art, advantage of the present invention is:
1. support Chinese Industrial Standards (CIS) (DTVM), meet Digital Television middleware GEM standard, so 80% consistent with the Digital Television middleware standard in other countries areas on function and interface, the workload of transplanting will be very little, be easy to other standards (MHP, OCAP) transplanting.
2. only need be with simple JAVA language based on Application and Development on the middleware platform of virtual machine technique, because the simple and cross-platform characteristics of JAVA, not only improved the development efficiency of digital television application, used simultaneously and can operation need not do transplanting work again on based on the different hardware platforms of our Jave virtual machine middleware.
3. adopted the pattern of unified resource management, all resources can be removed and distributed (even comprise compiled bytecode) by same Garbage Collector, garbage reclamation mode managing internal memory resource that can usage flag-removing-deflation has so just avoided general JVM that the problem of fractionlet is arranged.
4. adopt JAVA thread and the OS of lower floor platform thread management isolation technics, the thread that runs on the Jave virtual machine like this is transparent for OS, with concrete OS platform independence, therefore runs many JAVA application at our 3H-JM and will no longer be limited by certain OS platform
5. owing to whenever calling a method, thread will distribute corresponding Java stack for this method, therefore need not consider method built-in variable multithreading stationary problem, owing to do not use the stockpile device of true CPU, saved valuable hardware resource, be easy to simultaneously the Jave virtual machine is transplanted on the hardware platform that has only register seldom.
Description of drawings
Fig. 1 is the internal architecture synoptic diagram of Jave virtual machine of the present invention;
Fig. 2 is the structural representation of Jave virtual machine at the middleware software level;
Fig. 3 is the inner function module structural representation of Jave virtual machine;
Fig. 4 is the module process flow diagram that class is loaded subsystem;
Fig. 5 is the process flow diagram that concerns of system security management device;
Fig. 6 is the synoptic diagram that concerns of Java stack, Java frame and Java method call state.
Embodiment
The present invention will be further described below in conjunction with accompanying drawing.
Among Fig. 1, the present invention includes operating system and device driver, it is characterized in that: the platform adaptation layer is set on the basis of operating system and device driver based on hardware platform; On the basis of this adaptation layer, utilization comprises the Java Virtual Machine installed in the middleware system and the core class libraries of set-top box device, make up one and load the Jave virtual machine that subsystem, security management subsystem, execution engine and local method call interface subsystem functional module are constituted by class at least, for providing a Java to use and professional operation platform for the Digital Television middleware, support local file system and access to netwoks simultaneously.
The present invention has defined running environment and the development environment of a cover Java, and it has comprised Java Virtual Machine and the special core class libraries of installing in the middleware system for set-top box device.
Jave virtual machine of the present invention also can comprise garbage reclamation subsystem function module.
Digital Television supports JAVA to use, and can combine with the internet, and interactive television is provided, and middleware system must have a Java Virtual Machine (JVM), and it provides the analysis to the JAVA code, supports HTML/XML, supports internet browsing.It is the indispensable function of middleware system that the Jave virtual machine is provided.
Among Fig. 2, provided the general structure of middleware at the software level, wherein, application manager is responsible for the download of third party's java application (such as stock query analysis/car plate inquiry/ballot violating the regulations/recreation or the like), operation and destruction, and the management of using the using system resource.
The SI engine receives the TS data that send from modulation equipment (tuner), according to SI agreement (digital television broadcasting Chinese business information standard/DVB-SI) obtain corresponding table information (NIT/PAT/AIT/PMT) from these TS data to offer the upper layer application service.
The OC/DC engine is according to digital media storage and order (DSMCC), and the data of protocol analysis from TS or network are reduced into corresponding file and data object.
The Jave virtual machine provides Digital Television Java to use and professional operation and management platform, and include file system and network and safety are the technological cores of value added service of digital television.
The platform adaptation layer provides the interface of (operating system/device drives) system of lower floor and each module of upper strata, and convenient whole Digital Television middleware is transplanted to different platforms, supports different original device suppliers.
Among Fig. 3, this Jave virtual machine loads subsystem, security management subsystem, execution engine and local method call interface subsystem functional module by class at least and is constituted, and the Jave virtual machine also can comprise garbage reclamation subsystem function module.
Wherein, the platform adaptation layer provides the interface of operating system and/or device driver system and each module of upper strata, adopt JAVA thread and the OS of lower floor platform thread management isolation technics, the thread that runs on the Jave virtual machine like this is transparent for OS, with concrete OS platform independence, convenient whole Digital Television middleware is transplanted to different platforms, supports different original device suppliers.
Class is loaded subsystem and is loaded the JAVA class, and the type fully-qualified name of the class by appointment produces a binary data stream of representing the type.These binary data streams are resolved in the data structure in corresponding method district, create the class example of the Java.Lang.Class of an expression the type, verify the semanteme of the JAVA grammer that such meets then, then initialization such, be connected to the zone of this JAVA of practical application at last.
Security management subsystem is realized class java.lang.SecurityManager earlier; such has an access controller (AccessController) object; when the code in operating in the Jave virtual machine need be visited certain resource of Jave dummy machine system outside; the inspection that this code is conducted interviews; security manager can go the checkPermission () method that the Permission object of the java code establishing of each current operation passes to the AccessController object; because each invoked Java code all has the Java frame of oneself; each java frame belongs to the method for concrete certain Java thread dispatching again; and each Java method is defined in corresponding java class; each java class all belongs to certain protected field; each protected field has all defined corresponding system access right, judges according to these authorities whether the system resource of the code access of moving in the present java frame is licensed.
Carrying out engine is responsible for the virtual machine machine instruction (bytecode) from the class file being translated as the actual assembly code of nation method and local platform and carrying out by local cpu, adopt the scheme of disposable explanation bytecode and combining adaptive optimisation technique, count and call the most frequent partial code and compile.
Concrete, virtual machine code resolver subsystem mainly is responsible for the virtual machine machine instruction (bytecode) from the class file being translated as the actual assembly code of nation method and local platform and carrying out by local cpu.Carry out the core position that engine is in Java Virtual Machine, its behavior is determined that by instruction set it mainly acts on is exactly to explain bytecode (i.e. operation is through the class file of the java applet after compiling), and different execution engines is realized may be very different.Carry out the scheme realization of adopting disposable explanation bytecode and combining adaptive optimisation technique in the engine at the virtual machine that we 3H-JVM realizes.
Its specific design thinking is as follows: because the frequency that the code that moves in JVM is performed is different, we count call the most frequent partial code compile (ratio of this part at present in realization for total operation code 20%, can be provided with), (all bigger owing to internal memory in the JVM of present PC version when saving memory headroom like this, in the realization of carrying out engine, all adopt the JIT technology, and the code of all operations is all compiled, and in our digital TV set-top box because so JIT is adopted in the restriction of internal memory is unpractical, therefore we use adaptive optimization only need compile wherein partial code (being approximately 20% ratio)), can be a little slower except when java application starts for the first time (since the duration long generally very the user be difficult to feel), the back is carried out just very fast.
The local method call interface subsystem is converted to the C stack with compilation with the Java stack, on the C storehouse, realize function calls then, the form that embeds compilation in the C the inside realizes function C VMjniInvokeNative (), the shape ginseng of this function has 7, the major function of finishing is the parameter that the partial data that will be come by real ginseng transmission obtains nation method after by direct or computing, be pressed into local stack then, realize local C function call by collecting.7 data that real ginseng passes over comprise function pointer (native code), the Java stack pointer (args) of JNI environment pointer (env), nation method, the descriptor (terse sig) of nation method, the parameter sum of Java stack (args size) is represented the class object sign (class object) of static or non-static method and is used to store a pointer variable (retum value) of rreturn value, wherein env will be as the parameter transmission of first nation method, and native code also will be delivered to nation method and realizes correctly calling of nation method.
The garbage reclamation subsystem adopts gradual collection rubbish, and the progressive collection of limiting time is provided in ripe object space, and all resources can be removed and distributed by same Garbage Collector; It uses the Virtual table technology, and the performance in internal memory is divided into three parts: handle pool to the Java object one, object pool, data pool, wherein handle pool and object pool deposit in heap, data pool deposits in the method district, only need revise the pointer to object that this object leaves among the handle pool and get final product when the garbage reclamation subsystem removes a Java object instance.
The quality of garbage reclamation subsystem design directly influences execution performance and the memory consumption of JVM.The function of garbage reclamation subsystem is to reclaim the memory object that does not re-use simultaneously discontinuous heap fragment to be put in order, operation java program on set-top box, performance is very important, we do not wish that our garbage reclamation subsystem takies the oversize time so that allow the java applet operation slowly in the time of the operation java applet, so we can not surpass a maximum time in the time of must guaranteeing the operation of garbage reclamation subsystem, realize that in the present invention the garbage reclamation subsystem has adopted gradual collection rubbish, be not once to collect all rubbish, the progressive collection of limiting time is provided in ripe object space, has guaranteed that like this acquisition time can be not oversize.
Among Fig. 4, provide class and loaded associated diagram between subsystem Dare system composition and functional module, its major function is: load the JAVA class, the type fully-qualified name (the loading domain unique identification title of being somebody's turn to do) of the class by appointment produces a binary data stream of representing the type.These binary data streams are resolved in the data structure in corresponding 3H-JVM method district.Create the class example of the Java.Lang.Class of an expression the type.Verify the semanteme of the JAVA grammer that such meets then, then initialization such, be connected to the zone of this JAVA of practical application at last.
Implementation that it is concrete and specification:
Realize the loading of Java Class file is resolved checking and initialization with standard C language, meet the JVM standard, support the source of JDK1.1~JDK1.3 standard .Class file to support to have following several approach: local file system loading, network download, from condensed document (JAR, ZIP extracts in CBA), extracts, extracts from Java source program regeneration Class file in the proprietary database etc.
Among Fig. 5; the system security management device mainly is that protection destroys in the leaky or malice codes that the system resource outside we 3H-JVM is not running in 3H-JVM inside. in the java application program launching; it does not also have security manager; but; application program is by giving setSecurityManger () with a sensing java.lang.SecurityManager or the example of its subclass; with this security manager is installed; therefore we 3H-JVM will realize system security management device realization class java.lang.SecurityManager earlier; such has an access controller (AccessController) object; when the code of the effect of this object in operating in 3H-JVM need be visited certain resource of 3H-JVM system outside, the inspection that this code is conducted interviews.Its specific implementation is that security manager can go the checkPermission () method that the Permission object of the java code establishing of each current operation passes to the AccessController object; because each invoked Java code all has the Java frame of oneself; each java frame belongs to the method for concrete certain Java thread dispatching again; and each Java method is defined in corresponding java class; each java class all belongs to certain protected field; each protected field has all defined corresponding system access right, and we just can judge whether the system resource of the code access of moving in the present java frame is licensed according to these authorities like this.
Among Fig. 6, in the realization of the technical program, do not use the register of real hardware platform to preserve intermediate data, (each Java thread is when creating and adopt the Java stack, all can distribute an exclusive stack to it, be used for depositing the intermediate data of this thread), each Java stack is made up of a plurality of Java frames again, in each Java frame, preserved the state that calls of a Java method, hardware system structure involved in the present invention like this can be compacter, owing to whenever calling a method, thread will distribute corresponding Java stack simultaneously for this method, therefore need not consider method built-in variable multithreading stationary problem, owing to do not use the register of true CPU, saved valuable hardware resource, be easy to simultaneously the present invention is transplanted on the hardware platform that has only register seldom.
Because technical scheme of the present invention meets Digital Television middleware GEM standard, support Chinese Industrial Standards (CIS) (DTVM), so 80% is consistent with the Digital Television middleware standard in other countries areas on function and interface, be easy to other standards (MHP, OCAP) transplant, the workload of transplanting will be very little.
In addition, in the former digital television application exploitation, the general C/C++ that adopts is as its development language, its application of developing on a hardware platform just can not directly move on the another one platform, need do the transplanting work of once using for each platform if purchased the different editions of the digital TV set-top box product of how tame producer or same company set-top box once tame wired operator, not only waste application and development and maintenance cost and also reduced efficiency of operation simultaneously. also limited the development of Digital Television industry, and in the present invention, only need be with simple JAVA language based on Application and Development on the middleware platform of Jave virtual machine technique, because the simple and cross-platform characteristics of JAVA, not only improved the development efficiency of digital television application, used simultaneously and can operation need not do transplanting work again on based on the different hardware platforms of JVM middleware.
Simultaneously, very big advantage of the present invention is the pattern that has adopted unified resource management, and the data of distributing in this Jave virtual machine are placed to the object stack entirely, and these data comprise:
The Java object.
Reflective object is such as method and class.
Bytecode.
The virtual machine internal data structure.
Very important advantage is that all resource can be removed and distributed (very by same Garbage Collector To the bytecode that comprises compiled), however other general Java Virtual Machine all adopts the zone of appointment to deposit phase The resource of answering is such as user object, reflectance data, and ephemeral data and bytecode, and be easy to like this form fractionlet, Adopt the garbage reclamation mode managing internal memory resource that the mode of unified resource management can usage flag-removing-deflation, this Sample has just avoided general JVM that the problem of fractionlet is arranged.
The present invention can be widely used in the digital television system field.

Claims (8)

1. the cross-platform Jave virtual machine of a Digital Television middleware system comprises operating system and device driver based on hardware platform, it is characterized in that:
The platform adaptation layer is set on the basis of operating system and device driver;
On the basis of this adaptation layer, utilization comprises the Java Virtual Machine installed in the middleware system and the core class libraries of set-top box device, make up one and load the Jave virtual machine that subsystem, security management subsystem, execution engine and local method call interface subsystem functional module are constituted by class at least, for providing a Java to use and professional operation platform for the Digital Television middleware, support local file system and access to netwoks simultaneously.
2. according to the cross-platform Jave virtual machine of the described Digital Television middleware system of claim 1, it is characterized in that described Jave virtual machine also comprises garbage reclamation subsystem function module.
3. according to the cross-platform Jave virtual machine of the described Digital Television middleware system of claim 1, it is characterized in that described platform adaptation layer provides the interface of operating system and/or device driver system and each module of upper strata, adopt JAVA thread and the OS of lower floor platform thread management isolation technics, the thread that runs on the Jave virtual machine like this is transparent for OS, with concrete OS platform independence, convenient whole Digital Television middleware is transplanted to different platforms, supports different original device suppliers.
4. according to the cross-platform Jave virtual machine of the described Digital Television middleware system of claim 1, it is characterized in that described class loads subsystem and load the JAVA class, the type fully-qualified name of the class by appointment produces a binary data stream of representing the type.These binary data streams are resolved in the data structure in corresponding method district, create the class example of the Java.Lang.Class of an expression the type, verify the semanteme of the JAVA grammer that such meets then, then initialization such, be connected to the zone of this JAVA of practical application at last.
5. according to the cross-platform Jave virtual machine of the described Digital Television middleware system of claim 1; it is characterized in that described security management subsystem realization class java.lang.SecurityManager earlier; such has an access controller object; when the code in operating in the Jave virtual machine need be visited certain resource of Jave dummy machine system outside; the inspection that this code is conducted interviews; security manager can go the checkPermission () method that the Permission object of the java code establishing of each current operation passes to the AccessController object; because each invoked Java code all has the Java frame of oneself; each java frame belongs to the method for concrete certain Java thread dispatching again; and each Java method is defined in corresponding java class; each java class all belongs to certain protected field; each protected field has all defined corresponding system access right, judges according to these authorities whether the system resource of the code access of moving in the present java frame is licensed.
6. according to the cross-platform Jave virtual machine of the described Digital Television middleware system of claim 1, it is characterized in that described execution engine is responsible for virtual machine machine instruction from the class file being translated as the actual assembly code of nation method and local platform and carrying out by local cpu, adopt the scheme of disposable explanation bytecode and combining adaptive optimisation technique, count and call the most frequent partial code and compile.
7. according to the cross-platform Jave virtual machine of the described Digital Television middleware system of claim 1, it is characterized in that described local method call interface subsystem is converted to the C stack with compilation with the Java stack, on the C storehouse, realize function calls then, the form that embeds compilation in the C the inside realizes function C VMjniInvokeNative (), the partial data that will be come by real ginseng transmission obtains the parameter of nation method after by direct or computing, be pressed into local stack then, realize local C function call by collecting.
8. according to the cross-platform Jave virtual machine of the described Digital Television middleware system of claim 1, it is characterized in that described garbage reclamation subsystem adopts gradual collection rubbish, the progressive collection of limiting time is provided in ripe object space, and all resources can be removed and distributed by same Garbage Collector; It uses the Virtual table technology, and the performance in internal memory is divided into three parts: handle pool to the Java object one, object pool, data pool, wherein handle pool and object pool deposit in heap, data pool deposits in the method district, only need revise the pointer to object that this object leaves among the handle pool and get final product when the garbage reclamation subsystem removes a Java object instance.
CNA2008100381120A 2008-05-27 2008-05-27 A kind of cross-platform Jave virtual machine of Digital Television middleware system Pending CN101593127A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008100381120A CN101593127A (en) 2008-05-27 2008-05-27 A kind of cross-platform Jave virtual machine of Digital Television middleware system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008100381120A CN101593127A (en) 2008-05-27 2008-05-27 A kind of cross-platform Jave virtual machine of Digital Television middleware system

Publications (1)

Publication Number Publication Date
CN101593127A true CN101593127A (en) 2009-12-02

Family

ID=41407796

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008100381120A Pending CN101593127A (en) 2008-05-27 2008-05-27 A kind of cross-platform Jave virtual machine of Digital Television middleware system

Country Status (1)

Country Link
CN (1) CN101593127A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102096598A (en) * 2010-12-30 2011-06-15 广州市聚晖电子科技有限公司 Virtual machine system and implementing method thereof
CN102193799A (en) * 2011-03-25 2011-09-21 上海磁浮交通发展有限公司 Safety intermediate system for safety computer communication
CN102196307A (en) * 2010-03-18 2011-09-21 北京国微集成技术有限公司 DTVM (digital television middleware), playback device and object transmission method
CN102622263A (en) * 2012-02-20 2012-08-01 烽火通信科技股份有限公司 Method for implementing embedded system based virtual machine on set-top box
CN102955915A (en) * 2011-08-23 2013-03-06 中国移动通信集团公司 Method and device for controlling safety access to Java applications
CN103414937A (en) * 2013-08-14 2013-11-27 内蒙古中大传媒发展有限公司 Service information data sharing method based on digital television middleware
CN103530165A (en) * 2013-09-06 2014-01-22 北京雅鲁藏布科技有限公司 Java solution applied to internet of things
CN103905902A (en) * 2014-04-10 2014-07-02 内蒙古中大传媒发展有限公司 Method for downloading XML and starting java application through middleware technology
CN103942100A (en) * 2014-05-09 2014-07-23 内蒙古中大传媒发展有限公司 Method for obtaining multiple threads of java stacks based on middleware framework
CN104244034A (en) * 2014-09-12 2014-12-24 无锡商埃曲信息科技有限公司 Electronic program guide (EPG) calling management method based on digital television middleware
WO2015010479A1 (en) * 2013-07-25 2015-01-29 成都品果科技有限公司 Application program transplantation method based on virtual instructions
CN104540023A (en) * 2014-11-28 2015-04-22 江苏银河电子股份有限公司 Method for running Linux system Web application in TVOS (Television Operating System)
CN104951323A (en) * 2014-03-27 2015-09-30 中国移动通信集团公司 Java middleware and driving, calling and loading method thereof and conversion device
CN105446735A (en) * 2015-11-11 2016-03-30 上海斐讯数据通信技术有限公司 Java and Windows message passing method and system
CN107133034A (en) * 2017-04-17 2017-09-05 王成 The platform software implementation method and system of cross operating system
CN108959294A (en) * 2017-05-19 2018-12-07 北京京东尚科信息技术有限公司 A kind of method and apparatus accessing search engine
CN110795200A (en) * 2018-08-01 2020-02-14 北京钛云物联科技有限公司 Device suitable for Java running environment and implementation method thereof
CN111045646A (en) * 2019-11-13 2020-04-21 北京中电万联科技股份有限公司 Vehicle-mounted application cross-hardware platform based on virtualization technology

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020161996A1 (en) * 2001-02-23 2002-10-31 Lawrence Koved System and method for supporting digital rights management in an enhanced javaTM2 runtime environment
CN1863212A (en) * 2006-04-14 2006-11-15 梅红兵 Implementing method of distributed middleware system based on IP data network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020161996A1 (en) * 2001-02-23 2002-10-31 Lawrence Koved System and method for supporting digital rights management in an enhanced javaTM2 runtime environment
CN1863212A (en) * 2006-04-14 2006-11-15 梅红兵 Implementing method of distributed middleware system based on IP data network

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
乐园园: "基于数字电视机顶盒的Java平台研究与实现", 《中国优秀硕士学位论文全文数据库》 *
蒲睿: "基于网络的Java安全体系的基本构成", 《中国西部科技》 *
谌宁,覃征: "基于嵌入式Java虚拟机的垃圾回收算法", 《计算机应用》 *

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196307A (en) * 2010-03-18 2011-09-21 北京国微集成技术有限公司 DTVM (digital television middleware), playback device and object transmission method
CN102196307B (en) * 2010-03-18 2013-01-23 北京国微集成技术有限公司 Object transmission method and device
CN102096598A (en) * 2010-12-30 2011-06-15 广州市聚晖电子科技有限公司 Virtual machine system and implementing method thereof
CN102193799A (en) * 2011-03-25 2011-09-21 上海磁浮交通发展有限公司 Safety intermediate system for safety computer communication
CN102955915A (en) * 2011-08-23 2013-03-06 中国移动通信集团公司 Method and device for controlling safety access to Java applications
CN102955915B (en) * 2011-08-23 2015-08-19 中国移动通信集团公司 A kind of Java application safety access control method and device thereof
CN102622263A (en) * 2012-02-20 2012-08-01 烽火通信科技股份有限公司 Method for implementing embedded system based virtual machine on set-top box
WO2015010479A1 (en) * 2013-07-25 2015-01-29 成都品果科技有限公司 Application program transplantation method based on virtual instructions
CN103414937A (en) * 2013-08-14 2013-11-27 内蒙古中大传媒发展有限公司 Service information data sharing method based on digital television middleware
CN103530165A (en) * 2013-09-06 2014-01-22 北京雅鲁藏布科技有限公司 Java solution applied to internet of things
CN103530165B (en) * 2013-09-06 2016-06-15 北京雅鲁藏布科技有限公司 A kind of java solution that is applied to Internet of Things industry
CN104951323B (en) * 2014-03-27 2018-06-19 中国移动通信集团公司 Java middlewares and its driving calling, loading method and conversion equipment
CN104951323A (en) * 2014-03-27 2015-09-30 中国移动通信集团公司 Java middleware and driving, calling and loading method thereof and conversion device
CN103905902A (en) * 2014-04-10 2014-07-02 内蒙古中大传媒发展有限公司 Method for downloading XML and starting java application through middleware technology
CN103942100A (en) * 2014-05-09 2014-07-23 内蒙古中大传媒发展有限公司 Method for obtaining multiple threads of java stacks based on middleware framework
CN104244034A (en) * 2014-09-12 2014-12-24 无锡商埃曲信息科技有限公司 Electronic program guide (EPG) calling management method based on digital television middleware
CN104540023A (en) * 2014-11-28 2015-04-22 江苏银河电子股份有限公司 Method for running Linux system Web application in TVOS (Television Operating System)
CN105446735A (en) * 2015-11-11 2016-03-30 上海斐讯数据通信技术有限公司 Java and Windows message passing method and system
CN107133034A (en) * 2017-04-17 2017-09-05 王成 The platform software implementation method and system of cross operating system
CN108959294A (en) * 2017-05-19 2018-12-07 北京京东尚科信息技术有限公司 A kind of method and apparatus accessing search engine
CN110795200A (en) * 2018-08-01 2020-02-14 北京钛云物联科技有限公司 Device suitable for Java running environment and implementation method thereof
CN111045646A (en) * 2019-11-13 2020-04-21 北京中电万联科技股份有限公司 Vehicle-mounted application cross-hardware platform based on virtualization technology
CN111045646B (en) * 2019-11-13 2023-03-21 北京中电万联科技股份有限公司 Vehicle-mounted application cross-hardware platform based on virtualization technology

Similar Documents

Publication Publication Date Title
CN101593127A (en) A kind of cross-platform Jave virtual machine of Digital Television middleware system
US10481877B2 (en) Producer graph oriented programming and execution
CN103135979B (en) The generation method of terminal applies, Apparatus and system
Koshy et al. VMSTAR: synthesizing scalable runtime environments for sensor networks
CN110020307B (en) Drawing method and device for client end view
CN100498711C (en) Automatic translation program and program translation server
CN102819452B (en) Method for acquiring data from android system
CN102455931B (en) Method and system for developing Android platform engineering
CN102693121A (en) Automatic developing and manufacturing system of cross-platform mobile phone application and implementation method for cross-platform mobile phone application
WO2008064899A2 (en) Parallelization and instrumentation in a producer graph oriented programming framework
CN101221556A (en) Method and device for XML document analysis
CN102810070A (en) High-performance professional ability packaging process engine and process control method thereof
CN102221998A (en) Method for extending EJB container in component running support platform
CN102622263A (en) Method for implementing embedded system based virtual machine on set-top box
CN103399735A (en) Method for developing intermediate layer of remote function call interface
CN102693238A (en) Widget application method and system and multimedia terminal
CN102103494A (en) Method and device for changing software resource
CN101196812A (en) Method for script language calling multiple output parameter interface by component software system
CN103631645A (en) Digital family middleware system based on digital medical treatment
CN101894317B (en) System and method for driving business logic through data changes
CN102736905A (en) Method for dynamically replacing field in classes
AU2014338988A1 (en) Facilitating communication between software components that use middleware
EP3072043A1 (en) Facilitating communication between software components that use middleware
CN104063229A (en) Digital family middleware system
CN102006512B (en) Digital television HSML (Hypertext Service Markup Language) analysis method and system applying SAX (The Simple API for XML) analysis engine

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

Application publication date: 20091202