CN102087592A - Terminal device for executing android applications - Google Patents

Terminal device for executing android applications Download PDF

Info

Publication number
CN102087592A
CN102087592A CN2010105772077A CN201010577207A CN102087592A CN 102087592 A CN102087592 A CN 102087592A CN 2010105772077 A CN2010105772077 A CN 2010105772077A CN 201010577207 A CN201010577207 A CN 201010577207A CN 102087592 A CN102087592 A CN 102087592A
Authority
CN
China
Prior art keywords
module
application program
layer
virtual machine
library
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010105772077A
Other languages
Chinese (zh)
Other versions
CN102087592B (en
Inventor
郭玟澈
柳赫坤
林桐永
申光澈
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
J MOBILE CO Ltd
Original Assignee
J MOBILE CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from KR1020090121002A external-priority patent/KR100989613B1/en
Priority claimed from KR1020100073395A external-priority patent/KR101015573B1/en
Application filed by J MOBILE CO Ltd filed Critical J MOBILE CO Ltd
Publication of CN102087592A publication Critical patent/CN102087592A/en
Application granted granted Critical
Publication of CN102087592B publication Critical patent/CN102087592B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to a terminal device for executing android applications, and more specifically, to a terminal device in which an android framework is optimized in a low-end device in order to execute an android application in terminals that operate with RTOS platform. Connection with the RTOS of a terminal device can be realized through aporting layer, and a Dalvik virtual machine is reconfigured to be executed on a single task of RTOS. According to the present invention, since the Google android application may be carried out even in terminals which operate in other operating systems as well as in Google android platform terminals, the android application creates various value-added effects. Further, the android platform is designed to be light, whereby the android application can be serviced through general featured low-end phones.

Description

Be used to carry out the end device of robot application program
Technical field
The present invention has disclosed has the end device that is used to carry out robot application program (Android applications, robot application program).Especially, the present invention has disclosed a kind of end device, it is in order to pass through other RTOS (Real-Time Operating System, real time operating system) carries out the robot application program on Gong Zuo the terminal, robot frame is optimized to low-performance equipment (low-performance device), and realize being connected between the RTOS with end device by graft layers, and Da Erweike (dalvik) virtual machine is reconstructed, it can be carried out in the single task of RTOS.
Background technology
Google's robot platform is a disclosed software stack among the leading OHA (Open Handset Alliance) of company of Google (google), means to comprise linux kernel, virtual machine (VM:virtual machine), framework (framework), the whole software package of application program (application).
It is 800 * 480 WVGA (wide VGA) grade big view display and the intelligent mobile phone terminal that the high standard of touch-screen input is provided that Google's robot platform mainly is only applicable to resolution.
In order to carry out the application program of robot of Google, need on end device, be suitable for the whole software stack of robot.Robot software's stack comprises linux kernel, and comprises multiple service (system process etc.) as pacing items, therefore is suitable for the smart mobile phone of high-performance (high-performance).
Therefore, the functional mobile phone (feature phone) of low specification can only be with other platform work, and can not be with robot platform work.On such functional mobile phone, can not carry out the application program of robot.
Summary of the invention
The objective of the invention is to, provide a kind of, also can carry out the technology of robot application program with on the low specification end device of working with the RTOS that Google's robot platform is not set.That is,, can in the functional mobile phone of low specification, also can carry out the robot application program thus carrying out the robot application program on the RTOS of the end device that does not possess linux kernel or on the platform that offers RTOS by chip maker according to the present invention.
End device of the present invention comprises: application layer module 10, and it comprises the robot application program; RTOS layer module 30, it comprises the operating system that is connected with terminal handler; And middleware module 20, it is used to connect RTOS layer module and robot application program.Middleware module 20 comprises: class libraries layer module 21, and it comprises application framework module with the required class libraries of execution robot application program and the core classes library module that Java API is provided; Graft layers module 23, the more than one hardware management module in its include file system, memory allocation module, mixed-media network modules mixed-media, base library, timer, the device control module is with the function of the hardware that is provided for the office terminal; And local library layer module 22, it comprises virtual machine that possesses platform self module and the local library that becomes the basis when making up the storehouse of described application framework module, this virtual machine starts described robot application program by described class libraries and described Java API, this platform self module is made of thread management module, dynamic base administration module, external function interface, synchronization module and memory management module, and makes described robot application program by not being the RTOS layer module execution of the Linux of robot with described graft layers module 23 interlocks.
In the end device of the present invention, virtual machine is Da Erweike (Dalvik) virtual machine, comes work by the graft layers module according to the single task of RTOS.
In the end device of the present invention, more than one hardware management module in graft layers module 23 include file systems, memory allocation module, mixed-media network modules mixed-media, base library, timer, the device control module, and contact with the hardware of end device, manage, control.
In the end device of the present invention, local library layer module 22 possesses the more than one local library of working with the hardware management module interlock of graft layers module.
In the end device of the present invention, the application framework module comprises the module of the more than one service in telephone service, location-based service, bluetooth service, WIFI service, USB service, the sensor service, and, carry out respective service according to the backstage according to the robot application program implementation.
According to the present invention, can in end device, also can carry out Google's robot application program with other operating systems (OS) work, therefore have the effect of the value (value) that can improve the robot application program.
In addition, according to the present invention, owing to make the robot platform lightweight, thus have the advantage that the robot application procedure service also can be provided by the general utility functions mobile phone of low specification.
Description of drawings
Fig. 1 roughly illustrates the integrally-built block diagram that is used to carry out the end device 100 of robot application program of the present invention.
Fig. 2 is the figure that is shown specifically the structure of middleware module 20.
Fig. 3 is the block diagram that amplifies the left side structure of the class libraries layer module 21 of presentation graphs 2 and local library layer module 22.
Fig. 4 is the block diagram that amplifies the right side structure of class libraries layer module 21 in the presentation graphs 2 and local library layer module 22.
Fig. 5 shows and replaces RTOS shown in Figure 2 and use block diagram as the structure of the WISE platform of an embodiment of local platform.
Fig. 6 shows the block diagram of another embodiment of the virtual machine of Fig. 3.
Embodiment
Below, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Fig. 1 is the integrally-built block diagram based on the end device 100 of the layer structure of virtual machine that the application program that is used to carry out robot of the present invention roughly is shown.
End device 100 comprises application layer module 10, middleware module 20, RTOS layer module 30, terminal handler 40, terminal hardware 50.At this moment, end device 100 generally is meant the mobile device of mobile phone, MP3 etc., but in addition, can also comprise by terminal handler 40 based on the general end device of RTOS work.
Application program in the application layer module 10 is the robot application program of carrying out by the middleware with graft layers and virtual machine.
Middleware module 20 is between RTOS layer module 30 and application layer module 10, thus the robot application program that connection application layer module 10 is possessed.At this moment, middleware module 20 possesses virtual machine and storehouse, can carry out the robot application program, also has graft layers simultaneously, being connected with the RTOS layer.Concrete details item for middleware module 20 will be elaborated with reference to Fig. 2 to Fig. 6 in the back.
Terminal handler 40 is central processing units, when being portable terminal, can handle various multimedia and communication function, and can use the mobile application specific processor of lightweight (light-weight).
Terminal hardware 50 comprises the picture efferent that constitutes end device, audio output part, user's input part etc.
Fig. 2 is the figure that is shown specifically middleware module 20.
Middleware module 20 is divided into class libraries layer 21, local library layer 22, graft layers 23 according to each layer.Each layer more the convergence downside more near Physical layer.Graft layers 23 closely is connected with RTOS layer module 30, and class libraries layer 21 closely is connected with application layer module 10.
Class libraries layer module 21 comprises application framework module 21-2 and core classes library module 21-1.Application framework module 21-2 provides and carries out the required class libraries of robot application program, and the core classes library module 21-1 provide JavaAPI.
In concrete example, application framework module 21-2 application programs ccf layer on Google's robot platform is revised and is used or re-use.Possess required class libraries of robot application program and the service etc. carried out on Google's robot application process block rack-layer.At this moment, for the part of service that the compatibility with application program has nothing to do, therefore can delete for lightweight.Core classes library module 21-1 core library to working time of belonging to robot on Google's robot platform re-uses.Possess in the core library of robot and be used for the basic JavaAPI that programmes with Java language.
Local library layer module 22 comprises virtual machine 22-1, and the JavaAPI that class libraries that virtual machine 22-1 is possessed by application framework module 21-2 and core classes library module 21-1 are possessed starts the robot application program that is positioned at application layer module 10.And local library layer module 22 possesses local library 22-2, and this local library 22-2 becomes the basis in the storehouse that makes up application framework module 21-2.
As concrete example, virtual machine 22-1 uses Da Erweike (Dalvik) the virtual machine correction of Google's robot platform.Promptly, depend on the module of Linux, increase the function that other platforms do not provide, and reconstruct virtual machine with the structure that also can carry out according to single task and use from the deletion of existing Da Erweike virtual machine.Local library 22-2 re-uses the storehouse of the application framework layer below that is positioned at robot platform.At this moment, the general software that uses based on open source code (open source) of local library 22-2, and revise as required, transplant and be configured on the local library layer module 22.
Graft layers module 23 connects local library layer module 22 and RTOS layer module 30, and the function by the hardware of RTOS layer module 30 office terminals is provided.Promptly, graft layers module 23 is that the code that depends on operating system is put in order, with the layer of the operating system that can easily be transplanted to other, and comprise the hardware management module of file system, memory allocation, network, base library (stdio, stdlib, math etc.), timer, device control (display, medium, input media, 3D etc.), other utilities etc.And graft layers module 23 manages and controls by the hardware of hardware management module near end device 100.
For example, possesses Kernel (DLL in the graft layers module 23, pthread, etc), System (file, memory, socket, stdio, stdlib, string, math, time), Device (framebuffer, media, input, 3D, etc), Utils (log, debug, etc) etc.
Fig. 2 shows the example that uses the RTOS that the robot of Google is not set as operating system, and Fig. 5 shows and is provided with the platform (example: the example WISE platform) that is offered RTOS by chip maker.The smart mobile phone of common low specification has structure shown in Figure 5.
Fig. 3 is the block diagram that amplifies the left side structure of the class libraries layer module 21 of presentation graphs 2 and local library layer module 22.
Virtual machine 22-1 revises the Da Erweike virtual machine and obtains.The Da Erweike virtual machine is the virtual machine that Google's robot platform provides, and it is compared under littler memory environments with Java Virtual Machine work.Virtual machine 22-1 comprises thread management module (pthread), dynamic base administration module (shared object, DLL), external function interface (FFI:foreign function interface), synchronization module, memory management module.
The module that is included in virtual machine 22-1 is what is called " platform self " module that is not subjected to the influence of platform kind.Virtual machine 22-1 works linkedly by graft layers module 23 and RTOS layer module 30.And virtual machine 22-1 revises existing Da Erweike virtual machine and constitutes, to realize memory management corresponding to end device 100.
In addition,, preferably existing Da Erweike virtual machine is revised, it also can be worked in the end device 100 of single task work not supporting multitask for virtual machine 22-1, thus can be with single task work.Promptly, virtual machine 22-1 by graft layers module 23 and RTOS layer module 30 linkedly with single task work.
Core class libraries 21-1 is provided for the basic Java API with the Java language programming.
Local library 22-2 becomes the basis in the storehouse that makes up upper layer, and transplanted in the mode that meets other platforms except that Linux.For example, transplanted in the mode that meets RTOS, or offer the platform of RTOS by chip maker (example: the mode WISE platform) is transplanted to meet.
Fig. 6 shows another embodiment of local library layer module 22, especially is another embodiment of Da Erweike virtual machine.Virtual machine 22-1 ' comprises shared object or this class dynamic base administration module of DLL, external function interface, synchronization module etc.
Fig. 4 is the block diagram that amplifies the right side structure of class libraries layer module 21 in the presentation graphs 2 and local library layer module 22.
Then Fig. 3 possesses the various local library 22-2 that works linkedly with the hardware management module of graft layers module 23 in the local library layer module 22.
The module that comprises various service of telephone service, location-based service, bluetooth service, WIFI service, USB service, sensor service etc. among the application framework module 21-2.At this moment, the effect as server or background program is played in the service that service module provides in total system, and according to the robot application program implementation, carries out respective service with the backstage.
Each service module is to revise as required, and deletes service module unnecessary for lightweight.The module that preferably the deletion host platform provides from PAF (Portable Android Platform, portable robot platform) promptly.

Claims (7)

1. end device that is used to carry out the robot application program, it comprises:
Application layer module (10), it comprises the robot application program; RTOS layer module (30), it comprises the operating system that is connected with terminal handler; And middleware module (20), it is used to connect described RTOS layer module and described robot application program,
Described middleware module (20) comprising:
Class libraries layer module (21), it comprises: have the application framework module of carrying out the required class libraries of described robot application program; And the core classes library module that Java API is provided;
Graft layers module (23), the more than one hardware management module that it comprises in file system, memory allocation module, mixed-media network modules mixed-media, base library, timer, the device control module provides the function by the hardware of described RTOS layer module management terminal; And
Local library layer module (22), it comprises virtual machine that possesses platform self module and the local library that becomes the basis when making up the storehouse of described application framework module, this virtual machine starts described robot application program by described class libraries and described Java API, this platform self module is made of thread management module, dynamic base administration module, external function interface, synchronization module and memory management module, and makes described robot application program by not being the RTOS layer module execution of the Linux of robot with described graft layers module (23) interlock.
2. end device, it comprises:
Application layer module (10), it comprises the robot application program;
Local podium level module (30 '), it is connected with terminal handler; And
Middleware module (20), it connects described local podium level module and described application layer module, and comprises class libraries layer module (21), local library layer module (22) and graft layers module (23),
Described middleware module (20) comprising:
Class libraries layer module (21), it comprises: have the application framework module of carrying out the required class libraries of described robot application program; And the core classes library module that Java API is provided;
Graft layers module (23), it connects described local library layer module (22) and described local podium level module (30 '), and comprise more than one hardware management module in file system, memory allocation module, mixed-media network modules mixed-media, base library, timer, the device control module, and described hardware management module provides application-dependent to come the Linux standard A PI of the hardware of office terminal in the code of operating system; And
Local library layer module (22), the local library that it comprises virtual machine and become the basis when making up the storehouse of described application framework module, this virtual machine is when starting described robot application program by described class libraries and described Java API, use hardware resource by the described Linux standard A PI that provides from described graft layers module, utilize platform self module, by not being that the local podium level module of Linux is carried out described robot application program, this platform self module is by thread management module, the dynamic base administration module, the external function interface, synchronization module, and memory management module constitutes.
3. end device according to claim 1 and 2 is characterized in that,
Described virtual machine is the Da Erweike virtual machine.
4. end device according to claim 3 is characterized in that,
Described virtual machine carries out work by described graft layers module in the single task mode.
5. end device according to claim 4 is characterized in that,
Described graft layers module (23) comprises the more than one hardware management module in file system, memory allocation module, mixed-media network modules mixed-media, base library, timer, the device control module, manages and controls thereby contact with the corresponding hardware of described end device.
6. end device according to claim 5 is characterized in that,
Described local library layer module (22) possesses the more than one local library that carries out work with the hardware management module interlock of described graft layers module (23).
7. end device according to claim 6 is characterized in that,
Described application framework module comprises the module of the more than one service in telephone service, location-based service, bluetooth service, WIFI service, USB service, the sensor service, thereby, carry out respective service in back way according to described robot application program implementation.
CN201010577207.7A 2009-12-08 2010-12-07 Terminal device for executing android applications Expired - Fee Related CN102087592B (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR1020090121002A KR100989613B1 (en) 2009-12-08 2009-12-08 Terminal device for executing android application based non-android flatform
KR10-2009-0121002 2009-12-08
KR10-2010-0073395 2010-07-29
KR1020100073395A KR101015573B1 (en) 2010-07-29 2010-07-29 Device for executing android application based on rtos

Publications (2)

Publication Number Publication Date
CN102087592A true CN102087592A (en) 2011-06-08
CN102087592B CN102087592B (en) 2014-03-19

Family

ID=44099412

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010577207.7A Expired - Fee Related CN102087592B (en) 2009-12-08 2010-12-07 Terminal device for executing android applications

Country Status (2)

Country Link
CN (1) CN102087592B (en)
TW (1) TWI447647B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107294951A (en) * 2017-05-04 2017-10-24 宁波伟立机器人科技股份有限公司 robot industry management system data transmission method based on cloud service
CN107942753A (en) * 2017-12-07 2018-04-20 惠州市德赛西威汽车电子股份有限公司 The communication frame and the means of communication of the software of robot and terminal device
CN110774282A (en) * 2019-10-15 2020-02-11 哈尔滨工程大学 Spherical tensioning integral robot control system and control method based on mobile phone Bluetooth APP software

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030181193A1 (en) * 2002-02-15 2003-09-25 Lars Wilhelmsson Middleware services layer for platform system for mobile terminals
US20070240171A1 (en) * 2006-03-29 2007-10-11 Nokia Corporation Device, Method, And Computer Program Product For Accessing A Non-Native Application Executing In Virtual Machine Environment
CN101253748A (en) * 2005-08-25 2008-08-27 诺基亚公司 IP datacasting middleware

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200400765A (en) * 2002-05-27 2004-01-01 Koninkl Philips Electronics Nv DVD virtual machine

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030181193A1 (en) * 2002-02-15 2003-09-25 Lars Wilhelmsson Middleware services layer for platform system for mobile terminals
CN101253748A (en) * 2005-08-25 2008-08-27 诺基亚公司 IP datacasting middleware
US20070240171A1 (en) * 2006-03-29 2007-10-11 Nokia Corporation Device, Method, And Computer Program Product For Accessing A Non-Native Application Executing In Virtual Machine Environment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107294951A (en) * 2017-05-04 2017-10-24 宁波伟立机器人科技股份有限公司 robot industry management system data transmission method based on cloud service
CN107942753A (en) * 2017-12-07 2018-04-20 惠州市德赛西威汽车电子股份有限公司 The communication frame and the means of communication of the software of robot and terminal device
CN107942753B (en) * 2017-12-07 2020-08-25 惠州市德赛西威汽车电子股份有限公司 Communication framework and communication method for software of robot and terminal equipment
CN110774282A (en) * 2019-10-15 2020-02-11 哈尔滨工程大学 Spherical tensioning integral robot control system and control method based on mobile phone Bluetooth APP software
CN110774282B (en) * 2019-10-15 2022-07-15 哈尔滨工程大学 Spherical tensioning integral robot control system and control method based on mobile phone Bluetooth APP software

Also Published As

Publication number Publication date
CN102087592B (en) 2014-03-19
TWI447647B (en) 2014-08-01
TW201131474A (en) 2011-09-16

Similar Documents

Publication Publication Date Title
KR100989613B1 (en) Terminal device for executing android application based non-android flatform
CN108830720B (en) Intelligent contract running method, device, system and computer readable storage medium
KR101015573B1 (en) Device for executing android application based on rtos
US9386264B2 (en) Augmenting capabilities of a host device
CN101931603A (en) Method for realizing remote call on hand-held intelligent terminal
CN104516709A (en) Software operation scene and voice assistant based voice aiding method and system
CN110955499A (en) Processor core configuration method, device, terminal and storage medium
CN102087592B (en) Terminal device for executing android applications
CN102200909A (en) Mobile terminal uniform interface method and system
CN102262555A (en) Method and device for loading different versions of JAVA three-party library
CN103577226A (en) Component type game construction method on IOS and Android platforms
CN104035768A (en) System and method for Android platform to be compatible with local code OpenGL program
CN107092507A (en) Skin change method, the apparatus and system of application program
CN113448650A (en) Live broadcast function plug-in loading method, device, equipment and storage medium
CN104090747A (en) Method for optimizing Linux intelligent terminal through real-time scheduling optimizer
EP2966565A1 (en) Method for automatically converting android application to tizen installable package
CN107301089B (en) APP deployment and calling method and terminal
CN114840194A (en) Code and operating system generation method and device, server and electronic equipment
CN105323615A (en) Operation method of application and processing apparatus used for set top box or television
KR101475472B1 (en) Apparatus for controlling connection between devices
CN116661955B (en) Hardware access method, device, electronic equipment and storage medium
US8572561B1 (en) Multiple java ME MIDlet execution in single-instance CLDC JVM
CN101754356A (en) Mobile terminal and dynamic application management method thereof
CN102364435A (en) Method for realizing application program interface (API) of WinCE
CN114064148A (en) Data processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: Seoul, South Kerean

Applicant after: INFRAWARE TECHNOLOGY INC.

Address before: Seoul, South Kerean

Applicant before: J Mobile Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: J. MOBILITY CO. TO: YINFU WEI'ER TECHNOLOGY CO., LTD.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140319

Termination date: 20161207

CF01 Termination of patent right due to non-payment of annual fee