CN108399331A - Application process trial method and system - Google Patents

Application process trial method and system Download PDF

Info

Publication number
CN108399331A
CN108399331A CN201710065906.5A CN201710065906A CN108399331A CN 108399331 A CN108399331 A CN 108399331A CN 201710065906 A CN201710065906 A CN 201710065906A CN 108399331 A CN108399331 A CN 108399331A
Authority
CN
China
Prior art keywords
virtual
application
operation area
application process
trial
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
CN201710065906.5A
Other languages
Chinese (zh)
Other versions
CN108399331B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710065906.5A priority Critical patent/CN108399331B/en
Publication of CN108399331A publication Critical patent/CN108399331A/en
Application granted granted Critical
Publication of CN108399331B publication Critical patent/CN108399331B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/52Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
    • G06F21/53Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow by executing in a restricted environment, e.g. sandbox or secure virtual machine

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

A kind of application process trial method, including:It obtains and is instructed using trial operation;Code and the resource deposit virtual operation area of the application are loaded according to trial operation instruction, and the information for parsing the application describes the startup information applied described in file acquisition;The startup information is transmitted to system service by the virtual operation area, start the application in the virtual operation area and is run.The application also provides a kind of application process trial system.The installation kit for downloading application is used in virtual operation area, since virtual operation area is isolated with the process running environment of the system service of terminal, not will produce security risk;Application process need not be really installed before process is on probation, but can be improved and effectively distribute, and reduce security risk by deciding whether the application after actual experience on probation again and really installing the application process for contributing to user's selection really to want.

Description

Application process trial method and system
Technical field
The present invention relates to software application technology fields, more particularly to a kind of application process trial method and system.
Background technology
The development of internet brings panoramic software application process, such as the application of instant messaging class, social class are answered With the application of, game class, translation class application etc..These applications can usually concentrate in application market being presented to mobile terminal use Family browses for mobile terminal user and downloads use.Mobile terminal user is downloading in application, especially in face of a large amount of application The application of same type does not know how usually to select, and needs first to install to rerun after application and be tried out.
However, with upper type need by installation in advance carry out it is on probation after just will appreciate that whether the application is oneself required for , cumbersome threshold on probation is high, and also has the malicious application much pretended that can not be distinguished before use at present, once installation meeting Bring security risk.
In the related technology, for the above problem, it there is no effective solution.
Invention content
Based on this, it is necessary to provide a kind of application process trial method easy to operate, safe and system.
A kind of application process trial method, including:
It obtains and is instructed using trial operation;
Code and the resource deposit virtual operation area of the application are loaded according to trial operation instruction, and are answered described in parsing Information describes the startup information applied described in file acquisition;
The startup information is transmitted to system service by the virtual operation area, is started in the virtual operation area The application is simultaneously run.
A kind of application process trial system, including:
Acquisition module is instructed for obtaining using trial operation;
Parsing module, the code for loading the application according to trial operation instruction and resource deposit virtual operation Area, and the information for parsing the application describes the startup information applied described in file acquisition;
Module is run, for the startup information to be transmitted to system service by the virtual operation area, in the void Start the application in quasi- Operational Zone and runs.
Above application process trial method and system, by virtual operation area simulation application when being run in mobile terminal Running environment uses the installation kit for downloading application, due to the system service in virtual operation area and terminal in virtual operation area Process running environment be isolation, not will produce security risk;Application process need not be really installed before process is on probation, but User's selection can be contributed to really to think by deciding whether the application after actual experience on probation again and really installing The application process wanted improves effectively distribution, easy to operate and reduction security risk.
Description of the drawings
Fig. 1 is the system architecture diagram of application process trial operation method in an embodiment;
Fig. 2 is the internal structure schematic diagram of mobile terminal in an embodiment;
Fig. 3 is the flow chart of application process trial operation method in an embodiment;
Fig. 4 is the flow chart of application process trial operation method in another embodiment;
Fig. 5 is the flow chart of application process trial operation method in another embodiment;
Fig. 6 is the flow chart of application process trial operation method in another embodiment;
Fig. 7 is the flow chart of application process trial operation method in another embodiment;
Fig. 8 is the flow chart of application process trial operation method in another embodiment;
Fig. 9 is the flow chart of application process trial operation method in another embodiment;
Figure 10 is that a storage class applies the schematic diagram for entering test run line program;
Figure 11 stores the schematic diagram installed again after class application trial operation EP (end of program) for one;
Figure 12 is the structural schematic diagram of application process trial operation system in an embodiment;
Figure 13 is the structural schematic diagram of application process trial operation system in another embodiment;
Figure 14 is the structural schematic diagram of application process trial operation system in another embodiment;
Figure 15 is the structural schematic diagram of application process trial operation system in another embodiment;
Figure 16 is the structural schematic diagram of application process trial operation system in another embodiment.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not For limiting the present invention.
Unless otherwise defined, all of technologies and scientific terms used here by the article and belong to the technical field of the present invention The normally understood meaning of technical staff is identical.Used term is intended merely to description tool in the description of the invention herein The purpose of the embodiment of body, it is not intended that in the limitation present invention.Term " and or " used herein includes one or more phases Any and all combinations of the Listed Items of pass.
User classification method provided in an embodiment of the present invention can be applied in system shown in FIG. 1, as shown in Figure 1, terminal 100 are communicated by network with server 200, and terminal 100 obtains the application process that server is pushed, such as cloud by network Class application, the application of instant messaging class, social class application, game class application, translation class application etc. are stored, and obtains terminal user Being instructed to the trial operation instruction of corresponding application process or end of run for input, instructs or is run according to the application trial operation Respective application process is tried out in END instruction completion.Terminal 100 is usually mobile terminal, such as smart mobile phone, tablet computer, a Personal digital assistant (PDA) etc..Server 200 can be independent physical server or physical server cluster.
Application process trial method provided in an embodiment of the present invention can be applied in terminal shown in Fig. 2.As shown in Fig. 2, Mobile terminal 100 include the processor connected by system bus, non-volatile memory medium, built-in storage, network interface with And display screen.Processor has the function of that computing function and control mobile terminal work, the processor are configured as executing one kind Application process trial method.Non-volatile memory medium includes in magnetic storage medium, optical storage media and flash memory type storage medium At least one, non-volatile memory medium is stored with operating system and application process trial system.Application process system on probation It unites for realizing the method for application processes progress trial operation.Network interface for being connected to server, for server into Row communication, receives the resource for carrying out automatic network.
As shown in figure 3, for a kind of application process trial method that one embodiment of the application provides, this method can be applied to figure In mobile terminal shown in 2, specifically comprise the following steps.
Step 101, it obtains and is instructed using trial operation.
Application process includes the various programming languages that user can use, and is worked out with various programming languages Application program set.Application process be usually meet user's different field, the application demand of different problem and provide soft Part program, common application process include instant messaging class application process, social class application process, game class application process, turn over Translate class application process etc..Can be the operation clicked trial operation application process or open application process using trial operation instruction Instruction.Can be the operation of preset rules, such as operation by touching or clicking preset control using trial operation instruction.It is preferred that , further include obtaining to download application instruction, according under the download application instruction the step of obtaining using trial operation instruction before Carry the installation kit of application.
Step 103, code and the resource deposit virtual operation area of load application are instructed according to trial operation, and parse application Information describes the startup information of file acquisition application.
Each application process is realized that the operation of application process is required for using resource by code.Resource be logically by Any non-executable data of application process deployment.Resource can be shown as wrong data in application process or conduct The part display of user interface.Resource can include the data of diversified forms, including character string, image and lasting object. Virtual operation area refers to corresponding virtual execution environment when being run with system standard application process of simulation, with terminal system Real running environment is mutually isolated.The code that application is loaded out of application process installation kit and resource are instructed according to trial operation simultaneously It is stored in virtual operation area, the information for parsing application describes the startup information of file acquisition application.In a specific embodiment, move Dynamic terminal is common Android system terminal, and it is AndroidManifest.xml files that information, which describes file,.
Step 105, system service is transmitted to by information is started by virtual operation area, starts application in virtual operation area And it runs.
System service refers to executing the program or process of appointing system function, to support other programs.It is answered for pending trial It is transmitted to system service with the startup information of process, is tried so as to be realized by virtual operation area under the support of system service Operation.
Above application process trial method passes through operation ring of virtual operation area simulation application when being run in mobile terminal Border uses the installation kit for downloading application, due to the process of the system service of virtual operation area and terminal in virtual operation area Running environment is isolation, not will produce security risk;Application process need not be really installed before process is on probation, but can be led to The application is decided whether again after crossing actual experience on probation and really installing contributes to user to select that really wants to answer With process, effectively distribution is improved, and reduce security risk.
As shown in figure 4, in another embodiment, step 103, the code and resource of load application are instructed according to trial operation It is stored in virtual operation area, and before the step of information for parsing application describes the startup information of file acquisition application, further includes:
Step 102, virtual execution environment corresponding with the standard application process runtime environment of android system is simulated to make For virtual container, start virtual container as virtual operation area.
In a specific embodiment, mobile terminal is common Android system terminal, and virtual operation area is simulation The corresponding virtual execution environment of standard application process runtime environment of android system, i.e. virtual container.Container is a clothes Program of being engaged in is handled by the service routine from visitor in the service routine of one offer respective service of server a port correspondence The request that family end is sent out provides an environment by the setting of virtual container to the application component in virtual container, So that application component is isolated directly with the service interface interaction in container with the real running environment of android system. Android system is common mobile phone operating system, current Android system terminal nothing before really installation application process Method is tried out to understand process function and performance, and brings safety hidden terminal to being tried out again after all true installation of each application Suffer from problem, so as to by simulating virtual execution environment corresponding with the standard application process runtime environment of android system Virtual operation area is formed, to realize the function of installing again after the application of android system is on probation.
As shown in figure 5, in another embodiment, step 102, simulation and the standard application process of android system are transported As virtual container, start virtual container includes the corresponding virtual execution environment of environment as the step of virtual operation area when row:
Step 1021, corresponding with the standard application process runtime environment of android system by hook technical modellings Virtual execution environment starts virtual container as virtual operation area as virtual container.
Hook technologies refer to the technology kidnapped in computer program to some function call.Hook technologies generally include got Hook and inline hook, got hook, which refer to, changes ELF (Electronic Location Finder, electricity in function operation Sub- locator) got tables in relocatable file function hook modes;It is called that inline hook refer to modification at runtime Function initial position instruction function hook modes.Standard application process by hook technologies in android system is run The local Binder agent objects of Shi Xiugai itself and android system service interaction, to simulate the AMS of android system (Activity Manager Service) system service/PMS (Package Manager Service) system service, provides Virtual execution environment corresponding with the standard application process runtime environment of android system.Wherein, it is realized by hook technologies The establishment of virtual container, to provide the running environment of trial operation before support application process is exempted from really to install.
As shown in fig. 6, in another embodiment, step 1021, passing through the mark of hook technical modellings and android system The corresponding virtual execution environment of quasi- application process runtime environment starts virtual container as virtual operation area as virtual container The step of include:
Step 1023, start the standard application process of Andriod systems;
Step 1025, by Java reflex mechanisms, the local Binder agencies couple interacted with Andriod system services are replaced As, the remote invocation method of proxied object is redirected to by customized virtual system service by dynamic proxy technology, with Virtual execution environment corresponding with the standard application process runtime environment of android system is simulated as virtual container;
Step 1027, start virtual container as virtual operation area.
Java reflex mechanisms refer to that all properties and the side of this class are both known about for any one class in operating status Method can call any one object its any means and attribute, this dynamic access information and calling object The function of method is known as Java reflex mechanisms.The standard application process for starting Andriod systems, will be by by dynamic proxy technology The remote invocation method of agent object is redirected to customized virtual system service, to simulate the mark with android system The corresponding virtual execution environment of quasi- application process runtime environment is as virtual container, so as to not obtain system root authority Under establishment virtual container can be realized.
As shown in fig. 7, in another embodiment, step 103, the standard application process pair of simulation and android system The virtual execution environment answered further includes before starting the virtual container as virtual operation area step as virtual container:
Step 1020, system permission is obtained, independent virtual memory space is configured by system permission, is virtually deposited described Space is stored up as virtual operation area.
By obtaining the foundation of independent virtual memory space under system permission, as the true operation ring with terminal system The mutually isolated virtual operation area in border, so as to which application process to be installed is realized test run mounted on the virtual memory space Row.Since virtual operation area is isolated with the process running environment of the system service of terminal, security risk not will produce;Process Application process need not be really installed before on probation, but can be by deciding whether the application again after actual experience on probation And really installation contributes to the application process that user's selection is really wanted.
As shown in figure 8, in another embodiment, step 103, the code and resource of load application are instructed according to trial operation It is stored in virtual operation area, and the step of information for parsing application describes the startup information of file acquisition application includes:
Step 1031, the code by class loaders load application is instructed according to trial operation, by creating application program money Source manager loads resource, and by the code of application and resource deposit virtual operation area, and the information for parsing application describes file Obtain the startup information of application.
In a specific embodiment, mobile terminal is common Android system terminal, passes through android system Class loaders (DexClassLoader) load application code, pass through create application resource manager (AssetManager) resource is loaded.Code and resource are loaded into virtual operation area to be formed by insulating space.Start letter Breath is specially that the page of application starts information, includes the packet name and class name of the entrance Activity of application.It is answered by obtaining parsing The page that information describes file acquisition application starts information to which realization is formed by virtual operation area in insulating space Start application process.
Preferably, step 105, Andriod system services are transmitted to by information is started by virtual operation area, virtually transported Start in row area and applies and include the step of operation:
Step 1051, converting startup information progress parameter processing to android system by virtual operation area can know Other mounting assembly is simultaneously transmitted to android system service, starts in virtual operation area and applies and run.
It will start information progress parameter processing by virtual operation area and be converted into the installation that android system can identify Component is simultaneously transmitted to android system service, namely application process startup information is transmitted to Android systems by agent way System service, completes the life cycle management of application process page startup and component.
Preferably, step 105, Andriod system services are transmitted to by information is started by virtual operation area, virtually transported After starting the step of applying and running in row area, further include:
Step 107, end of run instruction is obtained, is instructed according to end of run and terminates operation and by the code and resource of application It is deleted from virtual operation area.
After application process trial operation terminates, the code of application and resource are automatically deleted from virtual operation area, clearly The memory headroom that sky occupies.Preferably, the code of application and resource are deleted simultaneously from virtual operation area, is deleted slow when load It is stored to the temporary file of disk.
Referring to Fig. 9, in another embodiment, step 105, being transmitted to by virtual operation area by information is started After the step of Andriod system services, startup is applied and run in virtual operation area, further include:
Step 1081, end of run instruction is obtained, is instructed according to end of run and is terminated to run and show that result of trial operation is true Recognize the page;
Step 1083, confirm that the page obtains result of trial operation confirmation message by result of trial operation;
Step 1084, it when result of trial operation is confirmed as being, obtains and confirms installation instruction and according to confirmation installation instruction peace Dress application;
Step 1086, when result of trial operation be confirmed as it is no or have not been obtained confirm installation instruction when, and by the code of application and Resource is deleted from virtual operation area.
Wherein, result of trial operation confirm the page provide experience on probation that user applies trial operation whether good evaluation, with And the input information frame etc. of Improving advice.After application process trial operation terminates, according to the experience result of trial operation, determination is again Corresponding application process is installed in no download, thus apply before true installation be based on actual experience after decision, help In the application process that user's selection is really wanted, effective distribution of application process is improved, also avoids mistake installation malicious application Risk, improve safety.After application process trial operation terminates, by the code of application and resource from virtual operation area It is automatically deleted, empties the memory headroom of occupancy.Preferably, the code of application and resource are deleted simultaneously from virtual operation area, Delete the temporary file that disk is cached to when load.
Referring to Fig. 10, by taking application process is the application of certain cloud storage class as an example, cloud storage class application specifically can be such as hundred Dropbox is spent, the performance on probation for understanding and grasping cloud storage application is first passed through before cloud storage class application is really installed in selection, The trial method of cloud storage application includes the following steps:Examination object for appreciation operation button, which is clicked, by application interface obtains the cloud storage class The trial operation of application instructs;Start virtual container, the systems such as the AMS/PMS of android system clothes are gone out by hook virtual technologies Business, the basic principle of wherein virtual container is the standard application process by starting an android system first, passes through java Reflection technology replace with the local Binder agent objects of android system service interaction, then will be by by dynamic proxy technology The remote invocation method of agent object is redirected to customized virtual system service, is taken with system standard to simulate one The virtual execution environment of the corresponding standard application process of being engaged in operation is as the virtual container;It is instructed according to the trial operation and loads the cloud The code and resource for storing application are stored in the virtual container;The information for parsing cloud storage application describes the file acquisition cloud storage The page of application starts information, wherein it is specially AndroidManifest.xml files that information, which describes file, and the page starts letter Breath specifically includes the packet name and class name of the entrance Activity of cloud storage application;Virtual container is opened the page by agent way Dynamic information passes to android system service to complete to start, and program is played hence into examination.By being transported in virtual operation area Row is on probation to know the function and mode of operation of cloud storage class application, by accurately judging this after examination object for appreciation Store whether class application is that oneself is required, playing result according to examination determines install or do not install again, and deletes the void The code and resource of cloud storage application in quasi- container, are cached to when emptying the memory headroom of occupancy, and deleting load simultaneously The temporary file of disk.1 is please referred to Fig.1, end of run instruction is obtained and can be obtained simultaneously with confirmation installation instruction is obtained, work as examination It plays and experiences preferably, then can click end examination by application interface and answer simultaneously installation operation button, to after trial operation terminates Installation procedure is entered directly into, and the code of the cloud storage application in the virtual container and resource are deleted.Other In embodiment, trial operation END instruction with obtain confirm installation instruction can also a point different step obtain, obtain trial operation first END instruction terminates examination and plays, and playing experience to examination further according to user evaluates whether obtain whether confirm that installation refers to after good instruction It enables.
2 are please referred to Fig.1, in another embodiment, provides a kind of application process trial operation system, including acquisition module 10, Parsing module 13 and operation module 15.Acquisition module 10 is instructed for obtaining using trial operation.Parsing module 13 is used for according to examination Operating instruction loads the code of the application and resource deposit virtual operation area, the information for parsing application describe file acquisition application Startup information.Operation module 15 is used to be transmitted to system service by information is started by virtual operation area, in virtual operation area Interior startup is applied and is run.
In another embodiment, 3 are please referred to Fig.1, further includes container module 12.Container module 12 for simulate with The corresponding virtual execution environment of standard application process runtime environment of android system starts virtual hold as virtual container Device is as virtual operation area.
Preferably, the container module 12 is specifically used for the standard application by hook technical modellings and android system The corresponding virtual execution environment of process runtime environment starts virtual container as virtual operation area as virtual container.
4 are please referred to Fig.1, in another embodiment, container module 12 includes process unit 121, agent unit 123 and opens Moving cell 125.Process unit 121 is used to start the standard application process of Andriod systems.Agent unit 123 is for passing through Java reflex mechanisms replace the local Binder agent objects interacted with Andriod system services, will by dynamic proxy technology The remote invocation method of proxied object is redirected to customized virtual system service, to simulate and android system The corresponding virtual execution environment of standard application process runtime environment is as virtual container.Start unit 125 is virtual for starting Container is as virtual operation area.
5 are please referred to Fig.1, further includes configuration module 120 in another embodiment.Configuration module 120 is for passing through system The independent virtual memory space of authority configuration, using the virtual memory space as virtual operation area.
Preferably, parsing module 13 is specifically used for the code by class loaders load application according to trial operation instruction, leads to Establishment application resource manager load resource is crossed, and by the code of application and resource deposit virtual operation area, and parses and answer Information describes the startup information applied described in file acquisition.
Preferably, operation module 15 is specifically used for converting startup information progress parameter processing to by virtual operation area Mounting assembly that android system can identify simultaneously is transmitted to android system service, start in virtual operation area described in answer With and run.
6 are please referred to Fig.1, further includes removing module 17 in another embodiment.Removing module 17 is for obtaining operation knot Shu Zhiling is instructed according to end of run and is terminated to run and delete the code of application and resource from virtual operation area.
Above application process trial system passes through operation ring of virtual operation area simulation application when being run in mobile terminal Border uses the installation kit for downloading application, due to the process of the system service of virtual operation area and terminal in virtual operation area Running environment is isolation, not will produce security risk;Application process need not be really installed before process is on probation, but can be led to The application is decided whether again after crossing actual experience on probation and really installing contributes to user to select that really wants to answer With process, effectively distribution is improved, and reduce security risk.
Preferably, further include terminate module, confirmation module, installation module and cleaning modul.Terminate module is transported for obtaining Row END instruction instructs according to end of run and terminates to run and show that result of trial operation confirms the page.Confirmation module is for passing through Result of trial operation confirms that the page obtains result of trial operation confirmation message.Module is installed to be used for when result of trial operation is confirmed as being, It further obtains and confirms installation instruction and according to confirmation installation instruction installation application.Cleaning modul is used to confirm when result of trial operation For it is no or have not been obtained confirm installation instruction when, and the code of application and resource are deleted from virtual operation area.
After application process trial operation terminates, determine whether that download installation answers accordingly again according to the experience result of trial operation With process, thus apply before true installation be based on actual experience after decision, contribute to user's selection really to want Application process, improve effective distribution of application process, also avoid mistake installation malicious application risk, improve safety Property.After application process trial operation terminates, the code of application and resource are automatically deleted from virtual operation area, empty occupancy Memory headroom.Preferably, when the code of application and resource being deleted from virtual operation area, cleaning modul is additionally operable to delete simultaneously The temporary file of disk is cached to when except load.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Embodiment described above only library has reached the several embodiments of the present invention, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention Range.

Claims (16)

1. a kind of application process trial method, including:
It obtains and is instructed using trial operation;
Code and the resource deposit virtual operation area of the application are loaded according to trial operation instruction, and parse the application Information describes the startup information applied described in file acquisition;
The startup information is transmitted to system service by the virtual operation area, in the virtual operation area described in startup Using and run.
2. application process trial method as described in claim 1, it is characterised in that:It is described that load institute is instructed according to the trial operation State code and the resource deposit virtual operation area of application, and the information for parsing the application opening of describing to apply described in file acquisition Before the step of dynamic information, further include:
Corresponding with the standard application process runtime environment of the Androi d systems virtual execution environment of simulation as virtual container, Start the virtual container as virtual operation area.
3. application process trial method as claimed in claim 2, it is characterised in that:The standard of the simulation and Androi d systems The corresponding virtual execution environment of application process runtime environment starts the virtual container as virtual operation as virtual container Area's step includes:
Pass through hook technical modellings virtual execution environment corresponding with the standard application process runtime environment of Androi d systems As virtual container, start the virtual container as virtual operation area.
4. application process trial method as claimed in claim 3, it is characterised in that:It is described to pass through hook technical modellings and Androi The corresponding virtual execution environment of standard application process runtime environment of d systems starts the virtual container as virtual container Include as the step of virtual operation area:
Start the standard application process of Andr i od systems;
By Java reflex mechanisms, the local Bi nder agent objects interacted with Andr i od system services are replaced, by dynamic The remote invocation method of proxied object is redirected to customized virtual system service by state agent skill group, with simulate with The corresponding virtual execution environment of standard application process runtime environment of Androi d systems is as virtual container;
Start the virtual container as virtual operation area.
5. application process trial method as described in claim 1, it is characterised in that:It is described that load institute is instructed according to the trial operation State code and the resource deposit virtual operation area of application, and the information for parsing the application opening of describing to apply described in file acquisition Before the step of dynamic information, further include:
Independent virtual memory space is configured by system permission, using the virtual memory space as virtual operation area.
6. the application process trial method as described in any one of claim 1-5, it is characterised in that:It is described according to the test run Row instruction loads code and the resource deposit virtual operation area of the application, and the information for parsing the application describes file acquisition The step of startup information of the application includes:
According to trial operation instruction by the code of class loaders load application, added by creating application resource manager Resource is carried, and by the code of the application and resource deposit virtual operation area, and the information for parsing the application describes file and obtains Take the startup information of the application.
7. the application process trial method as described in any one of claim 1-5, it is characterised in that:It is described by described virtual The startup information is transmitted to system service by Operational Zone, the step of starting the application in the virtual operation area and run Including:
Startup information progress parameter processing is converted into what Androi d systems can identify by the virtual operation area Mounting assembly and Androi d system services are transmitted to, start the application in the virtual operation area and run.
8. the application process trial method as described in any one of claim 1-5, it is characterised in that:It is described by described virtual The startup information is transmitted to system service by Operational Zone, the step of starting the application in the virtual operation area and run Later, further include:
End of run instruction is obtained, is instructed according to the end of run and terminates operation and by the code of the application and resource from institute It states and is deleted in virtual operation area.
9. a kind of application process trial system, including:
Acquisition module is instructed for obtaining using trial operation;
Parsing module, the code for loading the application according to trial operation instruction and resource deposit virtual operation area, and The information for parsing the application describes the startup information applied described in file acquisition;
Module is run, for the startup information to be transmitted to system service by the virtual operation area, in the virtual fortune Start the application in row area and runs.
10. application process trial system as claimed in claim 9, it is characterised in that:Further include container module, for simulate with The corresponding virtual execution environment of standard application process runtime environment of Andro i d systems is as virtual container, described in startup Virtual container is as virtual operation area.
11. application process trial system as claimed in claim 10, it is characterised in that:The container module is specifically used for passing through Hook technical modellings virtual execution environment corresponding with the standard application process runtime environment of android system holds as virtual Device starts the virtual container as virtual operation area.
12. application process trial system as claimed in claim 11, it is characterised in that:The container module includes:
Process unit, the standard application process for starting Andr iod systems;
Agent unit, for by Java reflex mechanisms, replacing the local Bi nder agencies interacted with Andr iod system services The remote invocation method of proxied object is redirected to customized virtual system service by object by dynamic proxy technology, To simulate virtual execution environment corresponding with the standard application process runtime environment of android system as virtual container;
Start unit, for starting the virtual container as virtual operation area.
13. application process trial system as claimed in claim 9, it is characterised in that:Further include configuration module, for passing through system The independent virtual memory space of authority configuration, using the virtual memory space as virtual operation area.
14. the application process trial system as described in any one of claim 9-13, it is characterised in that:The parsing module tool Body is used for the code by class loaders load application according to trial operation instruction, by creating application resource manager Resource is loaded, and by the code of the application and resource deposit virtual operation area, and the information for parsing the application describes file Obtain the startup information of the application.
15. the application process trial system as described in any one of claim 9-13, it is characterised in that:The operation module tool Body is used to that startup information progress parameter processing to be converted into what android system can identify by the virtual operation area Mounting assembly and it is transmitted to android system service, starts the application in the virtual operation area and run.
16. the application process trial system as described in any one of claim 9-13, it is characterised in that:Further include deleting mould Block instructs according to the end of run for obtaining end of run instruction and terminates operation and by the code and resource of the application It is deleted from the virtual operation area.
CN201710065906.5A 2017-02-06 2017-02-06 Application process trial method and system Active CN108399331B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710065906.5A CN108399331B (en) 2017-02-06 2017-02-06 Application process trial method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710065906.5A CN108399331B (en) 2017-02-06 2017-02-06 Application process trial method and system

Publications (2)

Publication Number Publication Date
CN108399331A true CN108399331A (en) 2018-08-14
CN108399331B CN108399331B (en) 2023-05-05

Family

ID=63093898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710065906.5A Active CN108399331B (en) 2017-02-06 2017-02-06 Application process trial method and system

Country Status (1)

Country Link
CN (1) CN108399331B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109002707A (en) * 2018-08-31 2018-12-14 国鼎网络空间安全技术有限公司 The device and method of Android application configuration and data sharing based on virtual container
CN109669738A (en) * 2018-12-29 2019-04-23 北京明朝万达科技股份有限公司 A kind of starting method and device of application program
CN110045998A (en) * 2019-04-22 2019-07-23 腾讯科技(深圳)有限公司 Load the method and device of dynamic base
CN112199151A (en) * 2020-09-07 2021-01-08 成都安易迅科技有限公司 Application program running method and device
CN112473147A (en) * 2019-09-12 2021-03-12 厦门雅基软件有限公司 Game trial playing method, cloud device, terminal device and storage medium
CN112953721A (en) * 2021-01-28 2021-06-11 山东浪潮通软信息科技有限公司 IPA file analysis method, device, equipment and storage medium
CN113886022A (en) * 2021-10-21 2022-01-04 深圳三基同创电子有限公司 Data processing method, data processing apparatus, computer device, and storage medium
CN114579254A (en) * 2022-03-02 2022-06-03 科东(广州)软件科技有限公司 System calling method and device of microkernel virtualization operating system
WO2024193231A1 (en) * 2023-03-23 2024-09-26 华为技术有限公司 Application processing method and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102331946A (en) * 2011-09-28 2012-01-25 宇龙计算机通信科技(深圳)有限公司 Method and system for installing application program
WO2012044829A2 (en) * 2010-10-01 2012-04-05 Imerj, Llc User interaction across cross-environment applications through an extended graphics context
CN104375861A (en) * 2014-11-04 2015-02-25 北京奇虎科技有限公司 Installation-free operation method and device for application programs based on Android platform and terminal
CN105094922A (en) * 2015-08-17 2015-11-25 北京奇虎科技有限公司 Application installation-free operation control method and device
CN105427096A (en) * 2015-12-25 2016-03-23 北京奇虎科技有限公司 Payment security sandbox realization method and system and application program monitoring method and system
CN106096395A (en) * 2016-06-16 2016-11-09 北京奇虎科技有限公司 A kind of protection treating method and apparatus of Android application

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012044829A2 (en) * 2010-10-01 2012-04-05 Imerj, Llc User interaction across cross-environment applications through an extended graphics context
CN102331946A (en) * 2011-09-28 2012-01-25 宇龙计算机通信科技(深圳)有限公司 Method and system for installing application program
CN104375861A (en) * 2014-11-04 2015-02-25 北京奇虎科技有限公司 Installation-free operation method and device for application programs based on Android platform and terminal
CN105094922A (en) * 2015-08-17 2015-11-25 北京奇虎科技有限公司 Application installation-free operation control method and device
CN105427096A (en) * 2015-12-25 2016-03-23 北京奇虎科技有限公司 Payment security sandbox realization method and system and application program monitoring method and system
CN106096395A (en) * 2016-06-16 2016-11-09 北京奇虎科技有限公司 A kind of protection treating method and apparatus of Android application

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈莉君等: "Android进程间通信Binder扩展模型的设计与实现", 《西安邮电大学学报》, no. 03, 10 May 2013 (2013-05-10) *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109002707A (en) * 2018-08-31 2018-12-14 国鼎网络空间安全技术有限公司 The device and method of Android application configuration and data sharing based on virtual container
CN109669738A (en) * 2018-12-29 2019-04-23 北京明朝万达科技股份有限公司 A kind of starting method and device of application program
CN110045998A (en) * 2019-04-22 2019-07-23 腾讯科技(深圳)有限公司 Load the method and device of dynamic base
CN112473147A (en) * 2019-09-12 2021-03-12 厦门雅基软件有限公司 Game trial playing method, cloud device, terminal device and storage medium
CN112199151A (en) * 2020-09-07 2021-01-08 成都安易迅科技有限公司 Application program running method and device
CN112199151B (en) * 2020-09-07 2023-10-24 成都安易迅科技有限公司 Application program running method and device
CN112953721A (en) * 2021-01-28 2021-06-11 山东浪潮通软信息科技有限公司 IPA file analysis method, device, equipment and storage medium
CN112953721B (en) * 2021-01-28 2023-04-14 浪潮通用软件有限公司 IPA file analysis method, IPA file analysis device, IPA file analysis equipment and storage medium
CN113886022A (en) * 2021-10-21 2022-01-04 深圳三基同创电子有限公司 Data processing method, data processing apparatus, computer device, and storage medium
CN114579254A (en) * 2022-03-02 2022-06-03 科东(广州)软件科技有限公司 System calling method and device of microkernel virtualization operating system
WO2024193231A1 (en) * 2023-03-23 2024-09-26 华为技术有限公司 Application processing method and electronic device

Also Published As

Publication number Publication date
CN108399331B (en) 2023-05-05

Similar Documents

Publication Publication Date Title
CN108399331A (en) Application process trial method and system
US8078553B2 (en) Automatic translation of contracts to policies in policy-based networks
CN111625452A (en) Flow playback method and system
CN109542506B (en) System capable of flexibly configuring interface and rapidly delivering service
CN108170503A (en) A kind of method, terminal and the storage medium of cross-system operation Android application
CN109308241B (en) Method and device for monitoring starting process of application program, terminal equipment and storage medium
CN102073507B (en) Method, device and system for calling widget
CN103970563B (en) The method of dynamic load Android class
KR20110099310A (en) Method and apparatus for installing programs on a computer platform
CN112767133B (en) Service decision method and device, storage medium and computer equipment
CN112767135B (en) Configuration method and device of rule engine, storage medium and computer equipment
US10908948B2 (en) Multiple application instances in operating systems that utilize a single process for application execution
US20220334828A1 (en) Software upgrading using dynamic link library injection
CN105955833A (en) Engine calling method and device
CN111339529B (en) Management system, method and computing device for running low-code business arrangement component
CN109359092A (en) File management method, desktop display method, device, terminal and medium
CN110045998A (en) Load the method and device of dynamic base
CN103530180B (en) Method and device for switching storage space of application programs
CN109905258A (en) Management method, device and the storage medium of PaaS
CN116755719A (en) Data processing method, device and data processing system of application component
CN110311935A (en) A kind of sharing method shares deployment system and client
CN114422358A (en) API gateway configuration updating method and equipment
US11520866B2 (en) Controlling processor instruction execution
CN114356520A (en) Running method, device, equipment, storage medium and program product of micro application
CN113282363A (en) Method and device for optimizing hybrid APP

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TG01 Patent term adjustment