CN109960563A - Call the more extractions of root of hook application program and system - Google Patents

Call the more extractions of root of hook application program and system Download PDF

Info

Publication number
CN109960563A
CN109960563A CN201711405911.2A CN201711405911A CN109960563A CN 109960563 A CN109960563 A CN 109960563A CN 201711405911 A CN201711405911 A CN 201711405911A CN 109960563 A CN109960563 A CN 109960563A
Authority
CN
China
Prior art keywords
user
application program
space
open
calling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711405911.2A
Other languages
Chinese (zh)
Inventor
佟金龙
徐翰隆
王小丰
肖新光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ahtech Network Safe Technology Ltd
Original Assignee
Beijing Ahtech Network Safe Technology 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 Beijing Ahtech Network Safe Technology Ltd filed Critical Beijing Ahtech Network Safe Technology Ltd
Priority to CN201711405911.2A priority Critical patent/CN109960563A/en
Publication of CN109960563A publication Critical patent/CN109960563A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/545Interprogram communication where tasks reside in different layers, e.g. user- and kernel-space
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/543Local

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention proposes a kind of more extractions of root of calling hook application program and system, method includes the following steps: incubator process is hooked up by hook module, so that the app of identical packet under one's name is distributed to different processes;The first user's space and second user space are created on user's desktop;When detecting that packet erector has new task, judge whether user opens selection application program and open function more;If it is, opening quantity according to user's selection, fork method is called to replicate multiple davik processes, to load the app operation of multiple identical packet names more.The app that the present invention can load multiple identical packet names simultaneously is realized opens program more, the problem of logging in and run an app simultaneously is only capable of in the single mobile device of effective solution, the operation that user frequently exits and logs in is eliminated, reduces the operating time for user, increases convenience.

Description

Call the more extractions of root of hook application program and system
Technical field
The present invention relates to mobile security technical field, in particular to the more extractions of root of a kind of calling hook application program and it is System.
Background technique
With the rapid development of mobile Internet, the user of android app public users life.Make people Life it is more convenient, Novel Internet app such as wechat, it is too busy to get away daily that the application such as Alipay has become people Tool, but traditional wechat, the application such as Alipay can only log in an account simultaneously, cannot open program, this just gives use more Family causes many inconvenience, and the operation that user needs frequently to exit and log in when switch accounts is also easy to forget user password, To bring many inconvenience to user.
Summary of the invention
The present invention is directed at least solve one of above-mentioned technical problem.
For this purpose, this method can an object of the present invention is to provide a kind of calling hook application program more extractions of root Load simultaneously multiple identical packet names app realize opens program, be only capable of logging in simultaneously in the single mobile device of effective solution And the problem of running an app, the operation that user frequently exits and logs in is eliminated, reduces the operating time for user, increases Convenience.
It is another object of the present invention to propose a kind of more open systems of calling hook application program.
To achieve the goals above, the embodiment of first aspect present invention proposes a kind of calling hook application program and opens more Method, comprising the following steps: incubator process is hooked up by hook module, so that the app of identical packet under one's name is distributed to difference Process;The first user's space and second user space are created on user's desktop;When detecting that packet erector has new task, Judge whether user opens selection application program and open function more;If it is, opening quantity according to user's selection, call fork more Method replicates multiple davik processes, to load the app operation of multiple identical packet names.
The more extractions of root of calling hook application program according to an embodiment of the present invention, catch on incubator process by hook technology And then it obtains multiple davik virtual machine processes and simulates multiple running spaces, and then multiple identical packet names can be loaded simultaneously App, realize open program, be only capable of the problem of logging in and run an app simultaneously in the single mobile device of effective solution, save But the operation that user frequently exits and logs in reduces the operating time for user, increases convenience.
In addition, the more extractions of root of calling hook application program according to the above embodiment of the present invention can also have following add Technical characteristic:
In some instances, first user's space is normal application space, and the second user space is more Open application space.
In some instances, the multiple davik process is stored in described open in application space more
In some instances, further includes: if it is determined that user does not open selection application program opens function more, then according to common Application program removes installation apk, and apk is put into the normal application space after installation.
In some instances, after the app of identical packet under one's name to be distributed to different processes, further includes: pass through calling Process manager module is managed the creation of the process, operation, scheduling, Destruction.
To achieve the goals above, the embodiment of second aspect of the present invention proposes a kind of calling hook application program and opens more System, comprising: calling module, for hooking up incubator process by hook module, so that the app of identical packet under one's name is distributed to Different processes;Creation module, for creating the first user's space and second user space on user's desktop;Judgment module, Open function for when detecting that packet erector has new task, judging whether user opens selection application program more;Processing module, For when judging that user's unlatching selection application program opens function more, according to user's selection to open quantity more, call fork method Multiple davik processes are replicated, to load the app operation of multiple identical packet names.
The more open systems of calling hook application program according to an embodiment of the present invention, catch on incubator process by hook technology And then it obtains multiple davik virtual machine processes and simulates multiple running spaces, and then multiple identical packet names can be loaded simultaneously App, realize open program, be only capable of the problem of logging in and run an app simultaneously in the single mobile device of effective solution, save But the operation that user frequently exits and logs in reduces the operating time for user, increases convenience.
In addition, the more open systems of calling hook application program according to the above embodiment of the present invention can also have following add Technical characteristic:
In some instances, first user's space is normal application space, and the second user space is more Open application space.
In some instances, the multiple davik process is stored in described open in application space more.
In some instances, the processing module, which is also used to work as, judges that user does not open selection application program and opens function more When, installation apk is removed according to common applications, and apk is put into the normal application space after installation.
In some instances, after the app of identical packet under one's name is distributed to different processes, the calling module is also used In being managed by calling process management module to the creation of the process, operation, scheduling, Destruction.
Additional aspect and advantage of the invention will be set forth in part in the description, and will partially become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect of the invention and advantage will become from the description of the embodiment in conjunction with the following figures Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow chart according to an embodiment of the invention for calling the more extractions of root of hook application program;
Fig. 2 is the detailed process signal of the calling more extractions of root of hook application program accord to a specific embodiment of that present invention Figure;
Fig. 3 is the structural block diagram according to an embodiment of the invention for calling the more open systems of hook application program.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and for explaining only the invention, and is not considered as limiting the invention.
In the description of the present invention, it is to be understood that, term " center ", " longitudinal direction ", " transverse direction ", "upper", "lower", The orientation or positional relationship of the instructions such as "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outside" is It is based on the orientation or positional relationship shown in the drawings, is merely for convenience of description of the present invention and simplification of the description, rather than instruction or dark Show that signified device or element must have a particular orientation, be constructed and operated in a specific orientation, therefore should not be understood as pair Limitation of the invention.In addition, term " first ", " second " are used for description purposes only, it is not understood to indicate or imply opposite Importance.
In the description of the present invention, it should be noted that unless otherwise clearly defined and limited, term " installation ", " phase Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can To be mechanical connection, it is also possible to be electrically connected;It can be directly connected, can also can be indirectly connected through an intermediary Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete condition Concrete meaning in invention.
The more extractions of root of calling hook application program according to an embodiment of the present invention and system are described below in conjunction with attached drawing.
Fig. 1 is the flow chart according to an embodiment of the invention for calling the more extractions of root of hook application program.Fig. 2 is basis The detailed process schematic diagram of the calling more extractions of root of hook application program of one specific embodiment of the present invention.As shown in Figure 1, and tying Fig. 2 is closed, method includes the following steps:
Step S1: hooking up incubator process by hook module, so as to by identical packet app under one's name distribute to it is different into Journey.
Further, after the app of identical packet under one's name to be distributed to different processes, further includes: pass through calling process Management module is managed the creation of process, operation, scheduling, Destruction.
In other words, under based on Android system, process manager module is hooked to identical packet using kernel hook module App under one's name distributes to different processes, and the creation to process, runs, and scheduling, destruction is managed.
Step S2: the first user's space and second user space are created on user's desktop.
Specifically, the first user's space is normal application space, and second user space is to open application space more.
In other words, two spaces are created on user's desktop, one is normal application space, the other is opening more Application space.
Step S3: when detecting that packet erector has new task, judge whether user opens selection application program and open function more Energy.
Step S4: if it is, opening quantity according to user's selection, calling fork method to replicate multiple davik processes more, To load the app operation of multiple identical packet names.
Wherein, multiple davik processes are stored in open in application space more.
Further, in one embodiment of the invention, this method further include: answered if it is determined that user does not open selection Opening function with program more, i.e. user selects common applications installation function, then installation apk is removed according to common applications, and Apk is put into normal application space after installation.
In other words, after user has downloaded apk program, installation is clicked, at this moment hook module hook has newly to packet erector Task, prompt the user whether that open selection application program opens function more.If user is unselected just according to common application Program goes to install, and normal application space is put into after installation.If user's selection opens function more, opened according to setting Quantity, system can hook hook zygote process and then fork goes out multiple davik processes and make a return journey to load multiple identical packet names App operation, realizes and opens program more.
In other words, the method for the embodiment of the present invention hooks up incubator process (zygote) fork by hook layers Multiple davik virtual machine processes simulate multiple running spaces out, while the app for loading multiple identical packet names is realized and opened program more, Wechat can thus be opened more and open the application such as Alipay more, reduce the behavior of user's frequent switching account, increase for user Convenience is added.
To sum up, the more extractions of root of calling hook application program according to an embodiment of the present invention catch on hatching by hook technology Device process obtains multiple davik virtual machine processes in turn and simulates multiple running spaces, and then can load multiple identical packets simultaneously The app of name, realize open program, be only capable of logging in and running asking for an app simultaneously in the single mobile device of effective solution Topic, eliminates the operation that user frequently exits and logs in, and reduces the operating time for user, increases convenience.
Further embodiment of the present invention also proposed a kind of more open systems of calling hook application program.
Fig. 3 is the structural block diagram according to an embodiment of the invention for calling the more open systems of hook application program.Such as Fig. 3 institute Show, the more open systems 100 of calling hook application program include: calling module 110, creation module 120, judgment module 130 and place Manage module 140.
Wherein, calling module 110 is used for by calling hook module to hook up incubator process, to wrap identical under one's name App distributes to different processes.
Further, after the app of identical packet under one's name is distributed to different processes, calling module 110 is also used to lead to It crosses and process manager module is called to be managed the creation of process, operation, scheduling, Destruction.
In other words, under based on Android system, process manager module is hooked to identical packet using kernel hook module App under one's name distributes to different processes, and the creation to process, runs, and scheduling, destruction is managed.
Creation module 120 on user's desktop for creating the first user's space and second user space.
Specifically, the first user's space is normal application space, and second user space is to open application space more.
In other words, two spaces are created on user's desktop, one is normal application space, the other is opening more Application space.
Judgment module 130 is used for when detecting that packet erector has new task, judges whether user opens selection using journey Sequence opens function more.
Processing module 140 is used for when judging that user's unlatching selection application program opens function more, according to the more of user's selection Quantity is opened, fork method is called to replicate multiple davik processes, to load the app operation of multiple identical packet names.
Wherein, multiple davik processes are stored in open in application space more.
Further, in one embodiment of the invention, processing module 140, which is also used to work as, judges that user does not open selection When application program opens function more, installation apk is removed according to common applications, and apk is put into normal application space after installation.
In other words, after user has downloaded apk program, installation is clicked, at this moment hook module hook has newly to packet erector Task, prompt the user whether that open selection application program opens function more.If user is unselected just according to common application Program goes to install, and normal application space is put into after installation.If user's selection opens function more, opened according to setting Quantity, system can hook hook zygote process and then fork goes out multiple davik processes and make a return journey to load multiple identical packet names App operation, realizes and opens program more.
In other words, the system of the embodiment of the present invention hooks up incubator process (zygote) fork by hook layers Multiple davik virtual machine processes simulate multiple running spaces out, while the app for loading multiple identical packet names is realized and opened program more, Wechat can thus be opened more and open the application such as Alipay more, reduce the behavior of user's frequent switching account, increase for user Convenience is added.
It should be noted that the embodiment of the present invention calls the specific implementation of the more open systems of hook application program and this The specific implementation of the calling more extractions of root of hook application program of inventive embodiments is similar, specifically refers to retouching for method part It states, in order to reduce redundancy, details are not described herein again.
The more open systems of calling hook application program according to an embodiment of the present invention, catch on incubator process by hook technology And then it obtains multiple davik virtual machine processes and simulates multiple running spaces, and then multiple identical packet names can be loaded simultaneously App, realize open program, be only capable of the problem of logging in and run an app simultaneously in the single mobile device of effective solution, save But the operation that user frequently exits and logs in reduces the operating time for user, increases convenience.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiment or examples in can be combined in any suitable manner.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that: not A variety of change, modification, replacement and modification can be carried out to these embodiments in the case where being detached from the principle of the present invention and objective, this The range of invention is by claim and its equivalent limits.

Claims (10)

1. a kind of more extractions of root of calling hook application program, which comprises the following steps:
Incubator process is hooked up by hook module, so that the app of identical packet under one's name is distributed to different processes;
The first user's space and second user space are created on user's desktop;
When detecting that packet erector has new task, judge whether user opens selection application program and open function more;
If it is, opening quantity according to user's selection, fork method is called to replicate multiple davik processes more, it is more to load The app of a identical packet name is run.
2. the more extractions of root of calling hook application program according to claim 1, which is characterized in that first user's space For normal application space, the second user space is to open application space more.
3. the more extractions of root of calling hook application program according to claim 2, which is characterized in that wherein, the multiple Davik process is stored in described open in application space more.
4. the more extractions of root of calling hook application program according to claim 2, which is characterized in that further include:
If it is determined that user does not open selection application program opens function more, then installation apk is removed according to common applications, and install Apk is put into the normal application space afterwards.
5. the more extractions of root of calling hook application program according to claim 1, which is characterized in that wrapped under one's name by identical App is distributed to after different processes, further includes:
The creation of the process, operation, scheduling, Destruction are managed by calling process management module.
6. a kind of more open systems of calling hook application program characterized by comprising
Calling module, it is different to distribute to the app of identical packet under one's name for hooking up incubator process by hook module Process;
Creation module, for creating the first user's space and second user space on user's desktop;
Judgment module is opened more for when detecting that packet erector has new task, judging whether user opens selection application program Function;
Processing module, for when judge user open selection application program more open function when, according to user selection open quantity, Fork method is called to replicate multiple davik processes, to load the app operation of multiple identical packet names.
7. the more open systems of calling hook application program according to claim 6, which is characterized in that first user's space For normal application space, the second user space is to open application space more.
8. the more open systems of calling hook application program according to claim 6, which is characterized in that the multiple davik into Journey is stored in described open in application space more.
9. the more open systems of calling hook application program according to claim 6, which is characterized in that the processing module is also used In when judge user do not open selection application program more open function when, according to common applications go installation apk, and install after Apk is put into the normal application space.
10. the more open systems of calling hook application program according to claim 6, which is characterized in that wrapped under one's name by identical App distribute to different processes after, the calling module is also used to through calling process management module to the process Creation, operation, scheduling, Destruction are managed.
CN201711405911.2A 2017-12-22 2017-12-22 Call the more extractions of root of hook application program and system Pending CN109960563A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711405911.2A CN109960563A (en) 2017-12-22 2017-12-22 Call the more extractions of root of hook application program and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711405911.2A CN109960563A (en) 2017-12-22 2017-12-22 Call the more extractions of root of hook application program and system

Publications (1)

Publication Number Publication Date
CN109960563A true CN109960563A (en) 2019-07-02

Family

ID=67019491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711405911.2A Pending CN109960563A (en) 2017-12-22 2017-12-22 Call the more extractions of root of hook application program and system

Country Status (1)

Country Link
CN (1) CN109960563A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148313A (en) * 2020-09-21 2020-12-29 厦门芯鸽信息科技有限公司 Method, storage medium and equipment for simultaneously running multiple same-name applications in sandbox

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8904081B1 (en) * 2012-05-08 2014-12-02 Vmware, Inc. Composing a virtual disk using application delta disk images
CN105224322A (en) * 2015-09-25 2016-01-06 维沃移动通信有限公司 A kind of attend to anything else method and terminal of application program
CN106095603A (en) * 2016-06-23 2016-11-09 厦门芯鸽信息科技有限公司 The application program that a kind of android system is identical can open multiple methods simultaneously
CN106201620A (en) * 2016-07-15 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of application is opened more and is realized device, terminal and apply and open implementation method more
CN106357921A (en) * 2016-10-10 2017-01-25 广东欧珀移动通信有限公司 Application data sharing method, application data sharing device and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8904081B1 (en) * 2012-05-08 2014-12-02 Vmware, Inc. Composing a virtual disk using application delta disk images
CN105224322A (en) * 2015-09-25 2016-01-06 维沃移动通信有限公司 A kind of attend to anything else method and terminal of application program
CN106095603A (en) * 2016-06-23 2016-11-09 厦门芯鸽信息科技有限公司 The application program that a kind of android system is identical can open multiple methods simultaneously
CN106201620A (en) * 2016-07-15 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of application is opened more and is realized device, terminal and apply and open implementation method more
CN106357921A (en) * 2016-10-10 2017-01-25 广东欧珀移动通信有限公司 Application data sharing method, application data sharing device and mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148313A (en) * 2020-09-21 2020-12-29 厦门芯鸽信息科技有限公司 Method, storage medium and equipment for simultaneously running multiple same-name applications in sandbox
CN112148313B (en) * 2020-09-21 2022-05-20 厦门芯鸽信息科技有限公司 Method, medium and equipment for simultaneously running multiple same-name applications in sandbox

Similar Documents

Publication Publication Date Title
CN105208127B (en) A kind of web cache processing method and system and intelligent terminal
CN103176789B (en) A kind of method and system for realizing open platform Function Extension
CN103631664B (en) Communication means between a kind of process and device
CN102347941B (en) A kind of safety applications control method based on open platform
CN104484223B (en) A kind of Android system application method for closing and device
CN106484509A (en) A kind of output intent of pop-up, device and terminal
CN105117320B (en) Electric terminal middle pipe ought to method and its electric terminal
CN104536981A (en) Browser safety achieving method, browser client-side and device
CN104199691B (en) A kind of method and terminal of the start self-starting APK based on Android platform
US20160217058A1 (en) Legacy system
CN108399331A (en) Application process trial method and system
CN103634935B (en) WPS (Wi-Fi protected setup) or QSS (quick secure setup)-based network accessing method and device
CN109522321A (en) A kind of data base query method, device, server and storage medium
CN102902911A (en) Method for running third-party codes safely in Java virtual computer
CN104182704A (en) Safety strategy setting method, safety strategy setting device and terminal
CN106559267A (en) The master-slave switching method of Redis, device and redis systems
CN106844678A (en) A kind of exchange method of Mybatis data sources and connection pool
CN106997313A (en) A kind of signal processing method of application program, system and terminal device
CN109960563A (en) Call the more extractions of root of hook application program and system
CN105701409A (en) Method and device for realizing file virtualization
CN107066255A (en) A kind of the Internet of Things apparatus control method and device of shared Internet of Things apparatus logic
CN105740018B (en) The awakening method and device of application
CN106201182A (en) The method and device that application subfield is shown
CN107463428B (en) Patch management method and device used in virtualization environment
CN108229147A (en) A kind of memory detection device and method based on Android virtual containers

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190702

RJ01 Rejection of invention patent application after publication