CN103488466B - Method and device for executing application program - Google Patents
Method and device for executing application program Download PDFInfo
- Publication number
- CN103488466B CN103488466B CN201210192104.8A CN201210192104A CN103488466B CN 103488466 B CN103488466 B CN 103488466B CN 201210192104 A CN201210192104 A CN 201210192104A CN 103488466 B CN103488466 B CN 103488466B
- Authority
- CN
- China
- Prior art keywords
- application program
- file format
- executor
- operating system
- execute
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The invention discloses a method and a device for executing an application program. The application program is provided with a document format, the document format at least comprises a first document format and a second document format, the first document format is suitable for being executed through a first executor in a first operation system, and the second document format is suitable for being executed by a second executor in a second operation system. The method is applied to an electronic device, and the first operation system is executed at present in the electronic device. The method comprises the following steps of determining the document format of the application program; calling the executor according to the document format of the application program; and executing the application program through the executor. By adopting the method and device, under the situation that the re-compiling is not needed, the application program which is developed in other operation systems can be operated in a specific operation system.
Description
Technical field
A kind of the present invention relates to field of computer technology, more particularly it relates to side for executing application program
Method and device.
Background technology
With the development of computer technology and network technology, in recent years, such as notebook, panel computer(PAD)、
Mobile phone, multimedia player, personal digital assistant(PDA)Etc electronic equipment popularize all the more.
In general, may be using different operating system, such as in mobile electricity between the electronic equipment of a certain species
The operating system using in words can include Fructus Mali pumilae(Apple)The iOS of company, Google(Google)The ARIXTRA of company
(Android), and Microsoft(Microsoft)The form phone of company(WP)Deng.
Due to inconsistent between operating system, so leading to the application program of exploitation in a certain specific operation system no
Method operates in other operating systems.For example, the application program developed for iOS or WP operating system cannot be in Android
Install in operating system and execute.
For this problem, existing solution is to recompilate to open under iOS or WP environment under Android environment
Then the new procedures being used for Android operation system of compiling are installed to Android phone by the code of this application program sent out
On.That is, must again to write code for same application for each operating system in the prior art
And debugged.
The shortcoming of this solution is:1)Need application developers again by a compiling of application Cheng Shi
In the application program running in various operating systems;2)This solution can only towards third party application developer,
Provide it kit, and corresponding application program is compiled according to this kit by it, but end user cannot complete
Above-mentioned recompility operation;3)Due to user interface(UI)The problem in storehouse, reality in Android operation system for this application program
Now it is difficult to accomplish the Consumer's Experience as in iOS operating system.
So, disadvantages mentioned above leads to be unfavorable for that this solution carries out issuing, promotes and popular etc..
Content of the invention
In order to solve above-mentioned technical problem, according to an aspect of the invention, it is provided one kind is used for executing application program
Method, described application program has a file format, and described file format at least includes the first file format and the second file
Form, described first file format is suitable to execute by the first executor in the first operating system, described second tray
Formula is suitable to execute by the second executor in the second operating system, and methods described is applied to electronic equipment, described
It is currently executing described first operating system it is characterised in that methods described includes in electronic equipment:Determine described application journey
The file format of sequence;File format according to described application program is calling executor;And executed by described executor
Described application program.
Additionally, according to a further aspect in the invention, there is provided a kind of device for executing application program, described application journey
Sequence has a file format, and described file format at least includes the first file format and the second file format, described first file
Form is suitable to execute by the first executor in the first operating system, and described second file format is suitable to operate by second
The second executor in system is executing, and described device is applied to electronic equipment, in described electronic equipment current
Execute described first operating system it is characterised in that described device includes:Determining unit, for determining described application program
File format;And call unit, call executor for the file format according to described application program, described will pass through
Executor is executing described application program.
Compared with prior art, using the method and apparatus for executing application program according to the present invention, can work as
In electronic equipment execute application program when, it is first determined the file format of this application program, then according to file format call with
Corresponding executor, finally execute this application program using this executor.Therefore in the present invention it is possible to need not enter
In a certain specific operation system, in the case that row recompilates, operate in the application program of exploitation in other operating systems.
Other features and advantages of the present invention will illustrate in the following description, and, partly become from description
Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by description, rights
In claim and accompanying drawing, specifically noted structure is realizing and to obtain.
Brief description
Accompanying drawing is used for providing a further understanding of the present invention, and constitutes a part for description, the reality with the present invention
Apply example and be used for explaining the present invention together, be not construed as limiting the invention.In the accompanying drawings:
Fig. 1 illustrates the method according to the present invention for executing application program.
Fig. 2 illustrates according to the present invention for executing the device of application program.
Fig. 3 illustrates the method for executing application program according to a first embodiment of the present invention.
Fig. 4 illustrates the device for executing application program according to a first embodiment of the present invention.
Fig. 5 illustrates the framework of electronic equipment according to a first embodiment of the present invention.
Fig. 6 illustrates the method for executing application program according to a second embodiment of the present invention.
Fig. 7 illustrates the device for executing application program according to a second embodiment of the present invention.
Fig. 8 illustrates the method for executing application program according to a third embodiment of the present invention.
Fig. 9 illustrates the device for executing application program according to a third embodiment of the present invention.
Specific embodiment
Will be described in detail with reference to the accompanying drawings each embodiment according to the present invention.Here it is to be noted that it in the accompanying drawings,
Identical reference is given the ingredient substantially with same or like 26S Proteasome Structure and Function, and will omit with regard to it
Repeated description.
Hereinafter, with reference to Fig. 1 and Fig. 2, the method and the dress that are used for executing application program according to the present invention will be described
Put.
Fig. 1 illustrates the method according to the present invention for executing application program.
In Fig. 1 method illustrated, described application program has a file format, and described file format at least includes
One file format and the second file format, described first file format be suitable to by the first executor in the first operating system Lai
Execution, described second file format is suitable to execute by the second executor in the second operating system.
Methods described is applied to electronic equipment, is currently executing described first operating system in described electronic equipment.
Specifically, as illustrated in figure 1, methods described includes:
In step s 110, determine the file format of described application program;
In the step s 120, the file format according to described application program is calling executor;And
In step s 130, execute described application program by described executor.
Fig. 2 illustrates according to the present invention for executing the device of application program.
Specifically, as illustrated in Figure 2, described device 200 includes:
Determining unit 210, for determining the file format of described application program;
Call unit 220, calls executor for the file format according to described application program, to hold described in will pass through
Row device is executing described application program.
As can be seen here, using the method and apparatus for executing application program according to the present invention, can work as and set in electronics
During standby middle execution application program, it is first determined the file format of this application program, then called correspondingly according to file format
Executor, finally execute this application program using this executor.Therefore in the present invention it is possible to need not carry out again
In a certain specific operation system, in the case of compiling, operate in the application program of exploitation in other operating systems.
Hereinafter, by describe referring to figs. 3 to Fig. 5 according to a first embodiment of the present invention be used for execute application program
Method and apparatus.
For the problems of the prior art, the inventor have observed that:Although may between same type of electronic equipment
Using different operating system, but in most of the cases, same type of electronic equipment is usually used identical and processes list
Unit is that is to say, that be directed to the instruction that used of application program of different operating system exploitation on same type of electronic equipment
Collection should be identical.
Still taking mobile phone as a example although the operating system using on a cellular telephone can include iOS, Android,
With WP etc., but under these operating system environments, the application program of exploitation is all to operate in advanced RISC machines machine
Device(ARM)On processor, i.e. the form of the binary code that these application programs are adopted is all identical, it is each
The file format of the execution file of operating system is different, and for example wherein iOS operating system adopts mach-o file format,
Android operation system adopts elf file format, and WP operating system adopts pe/coff file format.
Therefore, based on above-mentioned principle, in the first embodiment of the present invention, inventors have contemplated that going out:Same type of
On electronic equipment, except meeting this using the executor installing intrinsic in a certain operating system come execution in this operating system
Outside the application program of operating system file form, can also develop in this operating system one or more meet other behaviour
Make the executor of system file form, so as to execution meets answering of other operating system file forms in this operating system
Use program.
Fig. 3 illustrates the method for executing application program according to a first embodiment of the present invention, and Fig. 4 illustrates basis
The device for executing application program of first embodiment of the invention.
The method for executing application program according to a first embodiment of the present invention illustrated in Fig. 3 can apply to Fig. 4
Illustrated device 200.As illustrated in figure 4, this device 200 includes:Determining unit 210, call unit 220, second execution
Device realizes unit 230, the first executor 240 and the second executor 250.
As illustrated in fig. 3, the method for executing application program according to a first embodiment of the present invention includes:
In step S210, for determining the file format of described application program.
Specifically, the method and apparatus for executing application program according to a first embodiment of the present invention can apply to respectively
Plant electronic equipment(For example, mobile phone).For example it is provided with the mobile phone and be carrying out the first operating system(Example
As Android).When user is desirable for this mobile phone to execute certain application program, device 200 proceed by for
The method of execution application program.
First, in device 200, determining unit 210 judges that what the file format of this application program is.In other words, really
Order unit 210 judges that the file format of this application program is the first file format meeting the first operating system specification(For
The elf file format of Android operation system), still meet the second file format of the second operating system specification(For example, use
Mach-o file format in iOS operating system).
When the file format that determining unit 210 judges described application program is described first file format, the method
Proceed to step S220;Otherwise, the method proceeds to step S240.
In step S220, when the first file format, the first operating system is called the first executor.
Specifically, when the file format that determining unit 210 judges described application program in step S210 is described
During one file format, determining unit 210 notifies this judged result to call unit 220.Call unit 220 is according to this judged result
To call described first executor 240 in described first operating system, wherein said first executor 240 meets for execution
First file format of the first operating system specification, it is default installation in described first operating system, and with first
The startup of operating system and automatically actuated.
In step S230, application program is executed by the first executor.
Specifically, intrinsic in the first operating system the first executor 240 execution has the application of the first file format
Program.
For example, equally, in the first executor 240 for Android operation system, pass through according in prior art
First resolver(Not shown)To parse the elf file format in Android operation system, to obtain described application program
Head, instruction set and execute described application program needed for dynamic link library.Then, by the first linker(Not shown)Come
Access the first dynamic link library set of default installation in Android operation system, and load and execution institute from this set
State the dynamic link library needed for application program.Finally, pass through loaded dynamic link library, and executed according to described head
Described instruction set, thus run this application program.
In step S240, when the second file format, the first operating system is called the second executor.
Specifically, when the file format that determining unit 210 judges described application program in step S210 is described
During two file formats, call unit 220 calls described second execution in described first operating system according to this judged result
Device 250, wherein said second executor 250 is used for the second file format that execution meets the second operating system specification, and
In prior art it be not in described first operating system default installation but in described second operating system default installation
, and the startup with the second operating system and automatic.
In the first embodiment of the present invention, unit 230 is realized come in advance in the described first operation by the second executor
Realize described second executor 250 in system, and enable described second executor 250 opening with the first operating system
Move and automatic.
For example, in advance, this second executor realize unit 230 realize described second file format the second resolver and
Second linker, the second dynamic link library set related to the second operating system is copied in the first operating system, realizes
Each hardware unit with described electronic equipment in the second operating system(Such as, the display on mobile phone, speaker,
Contactor control device, camera, communication module)Associated driver, and these drivers in the second operating system are reflected
It is mapped in the first operating system.
In step s 250, application program is executed by the second executor.
Specifically, in the first operating system, preassembled second executor 250 execution has the second file format
Application program.
For example, in the second executor 250 for iOS operating system, by the second resolver(Not shown)To parse
Mach-o file format in iOS operating system, to obtain the head of described application program, instruction set and to execute described answering
With the dynamic link library needed for program.
Now, the second resolver parses the head of this application program meeting mach-o target executable file format further
Portion(header), to obtain the header information of correlation.Described header information includes:Magic number(magic), CPU type
(cputype), CPU subtype(cpusubtype), file type(filetype), number of commands(ncmds)、
Order size(sizeofcmds), and mark(flags)Etc. field.Meanwhile, the second resolver parses this application program further
Instruction set, to obtain the data segment of mach-o target executable file(data), code segment(text)Deng.Second resolver is also
The dynamic link library that mach-o target executes file can be parsed further(Dynamic dependency storehouse).Wherein, the dynamic link of this iOS
Storehouse is dylib file, and the dynamic link library of WP is dll file.
Then, this second resolver accordingly parses these dynamic link libraries according to the method described above, and links by second
Device(Not shown)To access the second dynamic link library set replicating in advance in Android operation system, and from this set
Dynamic link library needed for application program described in middle load and execution.Finally, pass through loaded dynamic link library, and according to each
Planting header information, executing the described instruction set including data segment and code segment, thus running this application program.
Especially, when in this application program of execution, carry out if necessary to certain hardware unit with described electronic equipment
Interaction, then the second executor 250 also obtains the driver being associated with described hardware unit, and passes through described driver
To run this application program, so as to accessing this hardware unit.
Although it should be noted that operating as the first operating system and by iOS here by using Android operation system
System to illustrate the present invention as the example of the second operating system, but, it will be appreciated to those of skill in the art that the present invention
Not limited to this.But, can be by Android, iOS, WP operating system and Nokia(Nokia)The Saipan of company(Symbian)
One of operating system etc. is embodied as the first operating system, and another operating system in remaining is embodied as the second operating system.
Additionally, be not limited in the device for executing application program only with two executors, but can be wherein
Realize meeting multiple executors of various operating systems, can run in the electronic device to meet various operating system files
The application program of form.
Fig. 5 illustrates the framework of electronic equipment according to a first embodiment of the present invention.
As illustrated in fig. 5, when want in the mobile phone of Android operation system run meet Android, iOS, WP
The application program of operating system file form and meet Java specification application program when, the framework of this electronic equipment includes
Three layers:Linux driver(Driver)Layer, linux kernel(Kernel)Layer, inclusion Java Virtual Machine(VM), Elf file format
Load linker, mach-o file format loads linker, pe/coff file format loads executor's layer of linker.Therefore,
Using this framework, user can be transported by Java Virtual Machine in the mobile phone being only mounted with Android operation system
The application program of row Android Java, loads linker by Elf file format and runs Android local application,
Linker is loaded by mach-o file format and runs iOS local application, link is loaded by pe/coff file format
Device is running WP local application.
As can be seen here, using the method and apparatus for executing application program according to a first embodiment of the present invention, permissible
ABI according to executable program(ABI)Standard, develops one or more meeting in a certain operating system
The executor of other operating system file forms, thus when executing application program in the electronic device, it is first determined this application
Whether the file format of program is the file format of current operation system acquiescence, if it is, calling the executor of acquiescence to hold
This application program of row;Otherwise the respective actuators installed in advance in this operating system and enable are invoked at according to this document form,
This application program is finally executed using this executor.Therefore, in the first embodiment of the present invention, user can be mounted with
The application program of exploitation in other various operating systems is operated in the electronic equipment of a certain specific operation system, it is achieved thereby that
Run application program across various operating system platforms, substantially increase Consumer's Experience.
Hereinafter, by with reference to Fig. 6 and Fig. 7 to describe according to a second embodiment of the present invention be used for execute application program
Method and apparatus.
Fig. 6 illustrates the method for executing application program according to a second embodiment of the present invention, and Fig. 7 illustrates basis
The device for executing application program of second embodiment of the invention.
The method for executing application program according to a second embodiment of the present invention illustrated in Fig. 6 can apply to Fig. 7
Illustrated device 200.As illustrated in figure 7, this device 200 includes:Determining unit 210, call unit 220, virtual machine open
Moving cell 260, the first executor 240 and the second executor 250.
As illustrated in FIG. 6, the method for executing application program according to a second embodiment of the present invention includes:
In step S310, for determining the file format of described application program.
In step s 320, when the first file format, the first operating system is called the first executor.
In step S330, application program is executed by the first executor.
Step S310-S330 is identical with step S210-S230 in first embodiment, and thus omits its detailed description.
In step S340, when the second file format, the first operating system is called the second executor.
Specifically, when the file format that determining unit 210 judges described application program in step S310 is described
During two file formats, call unit 220 notifies virtual machine start unit 260 according to this judged result.
This virtual machine start unit 260 runs virtual machine in described first operating system, executes in described virtual machine
Described second operating system corresponding with the second file format, and while described second os starting, described
Described second executor 250 automatic of default installation in second operating system.
In step S350, application program is executed by the second executor.
Specifically, have the starting intrinsic in the second operating system in virtual machine the second executor 250 execution
The application program of two file formats.
For example, according in prior art equally, in the second executor 250 for iOS operating system, by second
Resolver is parsing the elf file format in Android operation system, and is accessed by the second linker and operate system in iOS
Second dynamic link library set of default installation in system, and dynamic needed for application program described in load and execution from this set
Chained library.Finally, pass through loaded dynamic link library, and described instruction set is executed according to described head, thus running
This application program.
As can be seen here, using the method and apparatus for executing application program according to a second embodiment of the present invention, when
When executing application program in electronic equipment, it is first determined whether the file format of this application program is current operation system acquiescence
File format, if it is, call the executor of acquiescence to execute this application program;Otherwise start virtual machine, and in this void
Operating system corresponding with this document form is executed, thus calling the executor of acquiescence in this operating system, finally in plan machine
Execute this application program using this executor.Therefore, in the second embodiment of the present invention, user can be mounted with a certain
The application program of exploitation in other various operating systems is operated in the electronic equipment of specific operation system, and need not be specific at this
Add the executor of other operating systems in operating system, thus it is ensured that specific operation system while improving Consumer's Experience
The integrity of system, and solve due to user interface(UI)The problem in storehouse, reality in other operating systems for this application program
Now it is difficult to accomplish the Consumer's Experience as in the operating system of initial design.
It is apparent that in the second embodiment of the present invention, being not restricted to operate in this in a kind of electronic equipment
Each application program of exploitation in the different operating system of electronic equipment, but can run in a kind of electronic equipment and be directed to
The application program that the operating system of different another electronic equipments is developed entirely.For example, by way of virtual machine, Ke Yi
The application program of iOS operating system is run it might even be possible to by for virtual computing in the mobile phone of Android operation system
The virtual machine of machine environment is running windows xp(Windows XP), form 7(Windows 7), the various operation such as Linux, Unix
Application program in system.
Hereinafter, by with reference to Fig. 8 and Fig. 9 to describe according to a third embodiment of the present invention be used for execute application program
Method and apparatus.
Fig. 8 illustrates the method for executing application program according to a third embodiment of the present invention, and Fig. 9 illustrates basis
The device for executing application program of third embodiment of the invention.
The method for executing application program according to a third embodiment of the present invention illustrated in Fig. 8 can apply to Fig. 9
Illustrated device 200.As illustrated in fig. 9, this device 200 includes:Determining unit 210, call unit 220, operating system
Switch unit 270, the first executor 240 and the second executor 250.Now, the first operation is at least installed in the electronic device
System and the second operating system, and it is currently executing described first operating system.
As illustrated in Figure 8, the method for executing application program according to a third embodiment of the present invention includes:
In step S410, for determining the file format of described application program.
In the step s 420, when the first file format, the first operating system is called the first executor.
In step S430, application program is executed by the first executor.
Step S410-S430 is identical with step S210-S230 in first embodiment, and thus omits its detailed description.
In step S440, when the second file format, the first operating system is called the second executor.
Specifically, when the file format that determining unit 210 judges described application program in step S410 is described
During two file formats, call unit 220 notifies operating system switch unit 270 according to this judged result.
Described electronic equipment is switched to described second from described first operating system by this operating system switch unit 270
Operating system.For example, this operating system switch unit 270 executes power-off operation to the first current operating system, and is inciting somebody to action
After first operating system is closed, start second operating system corresponding with described second file format.In the described second operation
While system start-up, described second executor 250 automatic of default installation in described second operating system.
In step S450, application program is executed by the second executor.
Step S450 is identical with step S350 in second embodiment, and thus omits its detailed description.
Preferably, in step S440, this operating system switch unit 270 is executing pass to the first current operating system
Before machine operation, first the inventory of the application program being currently running in the electronic device is kept in memory.Then,
After this operating system switch unit 270 starts the second operating system, this operating system switch unit 270 is to the second executor
250 notify above-mentioned inventory so that the second executor 250 preferably opens this inventory in the second operating system, obtain in inventory
The identifier of each application program, and lookup is corresponding with above-mentioned identifier in memory, have the second file format
Each application program, and execute these application programs so that user can be able to obtain after being switched to the second operating system
Obtain and identical operation scenario before handover.
As can be seen here, using the method and apparatus for executing application program according to a third embodiment of the present invention, when
When executing application program in electronic equipment, it is first determined whether the file format of this application program is current operation system acquiescence
File format, if it is, call the executor of acquiescence to execute this application program;Otherwise by current operation system switch to
The corresponding operating system of file format of this application program, thus calling the executor of acquiescence in this operating system, finally profit
Execute this application program with this executor.Therefore, in the third embodiment of the present invention, it is being mounted with multiple operating systems
In electronic equipment, user can be automatically switched in these operating systems, execute in specific operation system to be directed to
The application program of this specific operation system exploitation, and need not be limited by the operating system for running a certain application program,
And as second embodiment, solve due to user interface(UI)The problem in storehouse, this application program is in other operation systems
Realization in system is difficult to accomplish the Consumer's Experience as in the operating system of initial design.
Although it should be noted that the present invention to be described here by using mobile phone as the example of electronic equipment,
It is, it will be appreciated to those of skill in the art that the invention is not restricted to this.But, the invention applies also to others
Electronic equipment, for example, notebook, panel computer, mobile phone, multimedia player, personal digital assistant etc..
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by
Mode in software plus necessary hardware platform to be realized naturally it is also possible to all be implemented by software or hardware.Based on this
The understanding of sample, what technical scheme contributed to background technology in whole or in part can be in the form of software product
Embody, this computer software product can be stored in storage medium, such as ROM/RAM, disk, CD etc., including some
Instruction is with so that a computer equipment(Can be personal computer, server, or network equipment etc.)The execution present invention
Each embodiment or some partly described methods of embodiment.
Each embodiment of the present invention has been described in detail above.However, it should be appreciated by those skilled in the art that not taking off
In the case of the principle and spirit of the present invention, these embodiments can be carried out with various modifications, combination or sub-portfolio, and so
Modification should fall within the scope of the present invention.
Claims (12)
1. a kind of method for executing application program, described application program has a file format, and described file format is at least
Including the first file format and the second file format, described first file format is suitable to hold by first in the first operating system
Executing, described second file format is suitable to execute by the second executor in the second operating system row device, and
Methods described is applied to electronic equipment, currently only installs and be carrying out described first operation in described electronic equipment
System is it is characterised in that methods described includes:
Determine the file format of described application program;
File format according to described application program is calling executor;And
Execute described application program by described executor.
2. method according to claim 1 is it is characterised in that call executor's according to the file format of described application program
Step includes:
When the file format determining described application program is described first file format, adjust in described first operating system
With described first executor;And
When the file format determining described application program is described second file format, adjust in described first operating system
With described second executor.
3. method according to claim 2 is it is characterised in that before calling the step of described second executor, methods described
Also include:
Described second executor is realized in advance in described first operating system.
4. method according to claim 3 is it is characterised in that the step realizing described second executor includes:
Realize the second resolver and second linker of described second file format;And
The second dynamic link library set related to the second operating system is copied in the first operating system.
5. method according to claim 4 it is characterised in that execute the step bag of described application program by described executor
Include:
When the file format determining described application program is described second file format, solved by described second resolver
Analysis has the described application program of described second file format, to obtain the head of described application program, instruction set and execution
Dynamic link library needed for described application program;
By described second linker come dynamic needed for application program described in load and execution from the second dynamic link library set
Chained library;And
Pass through loaded dynamic link library, and execute described instruction set according to described head.
6. method according to claim 1 is it is characterised in that call executor's according to the file format of described application program
Step includes:
When the file format determining described application program is described first file format, adjust in described first operating system
With described first executor;
When the file format determining described application program is described second file format, transport in described first operating system
Row virtual machine;
Described second operating system is executed in described virtual machine;And
Described second executor is called in described second operating system.
7. a kind of device for executing application program, described application program has a file format, and described file format is at least
Including the first file format and the second file format, described first file format is suitable to hold by first in the first operating system
Executing, described second file format is suitable to execute by the second executor in the second operating system row device, and
Described device is applied to electronic equipment, currently only installs and be carrying out described first operation in described electronic equipment
System is it is characterised in that described device includes:
Determining unit, for determining the file format of described application program;And
Call unit, calls executor for the file format according to described application program, will pass through described executor
Execute described application program.
8. device according to claim 7 it is characterised in that
When the file format that described determining unit determines described application program is described first file format, described call list
Unit calls described first executor in described first operating system;And
When the file format that described determining unit determines described application program is described second file format, described call list
Unit calls described second executor in described first operating system.
9. device according to claim 8 is it is characterised in that described device also includes:
Second executor realizes unit, for call described second executor in described call unit step before, exist in advance
Described second executor is realized in described first operating system.
10. device according to claim 9 realizes described second file it is characterised in that described second executor realizes unit
Second resolver of form and the second linker, and the second dynamic link library set related to the second operating system is replicated
To in the first operating system.
11. devices according to claim 10 it is characterised in that
When the file format that described determining unit determines described application program is described second file format, described call list
Described second executor calls in described first operating system in unit so that described second executor passes through described second resolver
To parse the described application program with described second file format, so as to obtain the head of described application program, instruction set and
Execute the dynamic link library needed for described application program, added from the second dynamic link library set by described second linker
Carry execute described application program needed for dynamic link library, pass through loaded dynamic link library, and according to described head Lai
Execute described instruction set.
12. devices according to claim 7 it is characterised in that
When the file format that described determining unit determines described application program is described first file format, described call list
Unit calls described first executor in described first operating system;And
When the file format that described determining unit determines described application program is described second file format, described call list
Unit runs virtual machine in described first operating system, executes described second operating system in described virtual machine, and in institute
State and in the second operating system, call described second executor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210192104.8A CN103488466B (en) | 2012-06-11 | 2012-06-11 | Method and device for executing application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210192104.8A CN103488466B (en) | 2012-06-11 | 2012-06-11 | Method and device for executing application program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103488466A CN103488466A (en) | 2014-01-01 |
CN103488466B true CN103488466B (en) | 2017-02-08 |
Family
ID=49828724
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210192104.8A Active CN103488466B (en) | 2012-06-11 | 2012-06-11 | Method and device for executing application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103488466B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11886222B1 (en) | 2020-01-31 | 2024-01-30 | Huawei Technologies Co., Ltd. | Dynamic link library loading method and apparatus |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103780952B (en) * | 2014-01-28 | 2018-01-26 | 广东欧珀移动通信有限公司 | Intelligent terminal method for sending information and system |
GB201516227D0 (en) * | 2015-09-14 | 2015-10-28 | Horne Stephen And Hemmer Fabian And Von Oven Peter | Running applications on a computer device |
CN107241651B (en) * | 2016-03-28 | 2021-02-26 | 斑马智行网络(香港)有限公司 | Media data playing method and device and intelligent terminal |
CN108304246A (en) * | 2016-09-29 | 2018-07-20 | 联芯科技有限公司 | Identify the method and apparatus of file destination |
CN108228273B (en) * | 2017-09-29 | 2021-07-16 | 珠海市魅族科技有限公司 | Method and equipment for executing executable file |
CN108170503B (en) * | 2018-01-24 | 2022-04-12 | 腾讯科技(深圳)有限公司 | Method, terminal and storage medium for cross-system android application running |
CN109344051B (en) * | 2018-08-28 | 2022-03-25 | 北京达佳互联信息技术有限公司 | Data processing method and device, electronic equipment and storage medium |
CN112823519B (en) * | 2018-11-26 | 2023-10-13 | 深圳市欢太科技有限公司 | Video decoding method, device, electronic equipment and computer readable storage medium |
CN112650383A (en) * | 2019-10-10 | 2021-04-13 | Oppo广东移动通信有限公司 | Application program control method and device, electronic equipment and storage medium |
CN111935061B (en) * | 2019-12-26 | 2021-06-11 | 长扬科技(北京)有限公司 | Industrial control host and network security protection implementation method thereof |
CN112953721B (en) * | 2021-01-28 | 2023-04-14 | 浪潮通用软件有限公司 | IPA file analysis method, IPA file analysis device, IPA file analysis equipment and storage medium |
CN113934559B (en) * | 2021-12-15 | 2022-06-03 | 北京鲸鲮信息系统技术有限公司 | Application program query method, device, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1945531A (en) * | 2006-11-16 | 2007-04-11 | 刘金刚 | Design method of inter-operation system |
CN101606128A (en) * | 2007-02-06 | 2009-12-16 | 微软公司 | In media device, support a plurality of operating systems |
CN101739284A (en) * | 2008-11-20 | 2010-06-16 | 联想(北京)有限公司 | Computer and information processing method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI258676B (en) * | 2004-05-28 | 2006-07-21 | Intervideo Digital Technology | Architecture of auto-playback for storage device and method thereof |
-
2012
- 2012-06-11 CN CN201210192104.8A patent/CN103488466B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1945531A (en) * | 2006-11-16 | 2007-04-11 | 刘金刚 | Design method of inter-operation system |
CN101606128A (en) * | 2007-02-06 | 2009-12-16 | 微软公司 | In media device, support a plurality of operating systems |
CN101739284A (en) * | 2008-11-20 | 2010-06-16 | 联想(北京)有限公司 | Computer and information processing method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11886222B1 (en) | 2020-01-31 | 2024-01-30 | Huawei Technologies Co., Ltd. | Dynamic link library loading method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN103488466A (en) | 2014-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103488466B (en) | Method and device for executing application program | |
CN107967139B (en) | Hot updating method and device for game | |
CN102915247B (en) | APK plug-in unit management method | |
WO2015021860A1 (en) | Method and apparatus for loading rendering engine | |
CN103443763B (en) | Comprise to connect the ISA Bridge of the support called rewriteeing virtual function | |
CN103885814B (en) | Simulator device and method for operating ARM APKs on x86 framework | |
EP2754043A1 (en) | Methods and systems for producing, evaluating and simulating executable applications | |
EP2864872B1 (en) | Automatic provisioning of a software platform to a device ecosystem | |
CN103902265A (en) | Application implementation method and application implementation device | |
CN114721719B (en) | Method and system for containerized deployment of heterogeneous applications in cluster | |
US20220405385A1 (en) | Secure container construction device and method executable by android application, and computer-readable recording medium on which program thereof is recorded | |
WO2018209843A1 (en) | Method, device and terminal for executing hotpatch | |
CN108089873A (en) | A kind of method and terminal of application component immediate updating | |
CN110113391B (en) | Client online method and device and client operation method and device | |
WO2021027772A1 (en) | Method for switching running of application and device | |
CN102214105B (en) | Parallelization quick start method and the electronic installation with multiplied unit | |
WO2022017242A1 (en) | Method and apparatus for running second system application in first system, device, and medium | |
WO2021097683A1 (en) | Android system starting method and apparatus, device, and storage medium | |
CN116401003A (en) | Android application running method, system and storage medium based on desktop operating system | |
Li et al. | Springbok: An App deployment accelerator for Android smart devices | |
CN112596751A (en) | Compiling method, terminal, server and storage medium of application program installation package | |
WO2019157891A1 (en) | Application installation method and application installer generating method | |
CN106775608A (en) | The implementation method and device of autonomous system process | |
KR20140039779A (en) | Method for improving bootup time of android operating system | |
CN114253615B (en) | Method and device for setting bootstrap program, 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 | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |