CN107247622A - A kind of collocation method and device for opening application more - Google Patents

A kind of collocation method and device for opening application more Download PDF

Info

Publication number
CN107247622A
CN107247622A CN201710397560.9A CN201710397560A CN107247622A CN 107247622 A CN107247622 A CN 107247622A CN 201710397560 A CN201710397560 A CN 201710397560A CN 107247622 A CN107247622 A CN 107247622A
Authority
CN
China
Prior art keywords
virtual engine
bag
engine source
application
opening
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
CN201710397560.9A
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.)
Hunan Friend Technology Co Ltd
Original Assignee
Hunan Friend Technology 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 Hunan Friend Technology Co Ltd filed Critical Hunan Friend Technology Co Ltd
Priority to CN201710397560.9A priority Critical patent/CN107247622A/en
Publication of CN107247622A publication Critical patent/CN107247622A/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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Abstract

The invention discloses a kind of collocation methods and device for opening application, the collocation method includes more:Clients of opening obtain virtual engine source bag more;Decompress the AndroidMainifest.xml configuration files in the virtual engine source bag;Replace the relevant information such as AndroidMainifest.xml bag name, application name in the virtual engine source bag;By the virtual engine source packet compression after replacement into apk files;The apk files are signed.The present invention realizes the applications such as wechat, QQ, game more and opened, user can install multiple identical applications on a mobile phone, and be independent space motion between each application, mutually not shadow noon, do not interfere with each other, comply fully with android reclaim mechanism, the performance of Android system is not interfered with, while situations such as being yet not in deadlock.

Description

A kind of collocation method and device for opening application more
Technical field
The invention belongs to electronic apparatus application technical field, specifically a kind of collocation method and device for opening application more.
Background technology
Mobile phone and mobile intelligent terminal application (app) have turned into the thing being familiar with again during we live only, such as micro- Rich and wechat, has permeated the every nook and cranny of our lives, in this micro- epoch, and step by step affects us and given birth to us This society living.On their various discussion sound constantly, as they have not been the wars of Sina and Tengxun, into The war of the whole people.In these discussion sound, what the author compared approval is such a viewpoint, and microblogging is even more that a media are put down Platform, and wechat is then a social platform purely.Simply it will also be readily appreciated that microblogging is maximum at the beginning of rise Advantage is that most abundant information is propagated with most fast speed, up to now, judges popular microblogging still by two data, maximum turns Hair and highest comment.
For wechat so huge colony, it is believed that many machines friends have wechat, QQ of two or the above etc. social soft The account of part, a job number, a private life number.However, many people use two to log in two accounts simultaneously Portion's mobile phone is particularly bothered, and toggles account nor easily, especially for many difference quotient users, some do difference quotient User might have 10 or up to a hundred accounts, for such case need 10 or up to a hundred mobile phones, return switching Account is just more troublesome.
The content of the invention
In order to overcome the deficiencies in the prior art, the present invention proposes a kind of collocation method and device for opening application more, solved User can not install multiple identical applications to realize the problem of application such as wechat, QQ, game is opened more on same mobile phone, together When, moreover it is possible to operation influences each other, disturbed between solving each application, and then influences the performance of Android system to even result in extremely The problem of machine.
The present invention to achieve the above object, is realized using following technical scheme:
A kind of collocation method for opening application, comprises the following steps more:
Clients of opening obtain virtual engine source bag more;
Decompress the AndroidMainifest.xml configuration files in the virtual engine source bag;
Replace the relevant information such as AndroidMainifest.xml bag name, application name in the virtual engine source bag;
By the virtual engine source packet compression after replacement into apk files;
The apk files are signed.
Further, as optimal technical scheme, open client before virtual engine source bag is obtained more, first will virtually draw Hold up source bag and be set as template.
Further, as optimal technical scheme, replaced according to local algorithm in the virtual engine source bag The relevant informations such as AndroidMainifest.xml bag name, application name.
Further, as optimal technical scheme, in the virtual engine source packet compression after by replacement into before apk files, First configure to specify to attend to anything else and exempt from the application message of installation and operation.
A kind of configuration device for opening application more, including
Acquisition module, for making clients of opening obtain virtual engine source bag more;
Decompression module, for decompressing the AndroidMainifest.xml configuration files in the virtual engine source bag;
Replacement module, bag name, application name for replacing AndroidMainifest.xml in the virtual engine source bag Etc. relevant information;
Compression module, for by the virtual engine source packet compression after replacement into apk files;
Signature blocks, for being signed to the apk files.
Further, as optimal technical scheme, in addition to setting module, obtaining virtual engine for clients of opening more Before the bag of source, virtual engine source bag is first set as template.
Further, as optimal technical scheme, in addition to local algoritic module, for replacing the virtual engine source bag The relevant informations such as middle AndroidMainifest.xml bag name, application name.
Further, as optimal technical scheme, in addition to configuration module, for the virtual engine source bag after by replacement It is compressed into before apk files, first configures to specify to attend to anything else and exempt from the application message of installation and operation.
The present invention compared with prior art, with advantages below and beneficial effect:
The present invention by providing a kind of collocation method and device for opening application more, based on Android virtual system engine technique, Realize the applications such as wechat, QQ, game to open, user can install multiple identical applications on a mobile phone more, and each All be independent space motion between, mutually not shadow noon, do not interfere with each other, comply fully with android reclaim mechanism, Bu Huiying The performance of Android system is rung, while situations such as being also not in deadlock;This is based on, the present invention is with mobile Internet Form is the problem of user solves many accounts, substantially increases adventure in daily life comfort level, is conducive to popularizing and promotes.
Brief description of the drawings
Fig. 1 is flow chart of the method for the present invention.
Embodiment
The present invention is described in further detail with reference to embodiment, but the implementation of the present invention is not limited to this.
Embodiment:
As shown in figure 1, a kind of collocation methods for opening application described in the present embodiment, comprise the following steps more:
Clients of opening obtain virtual engine source bag more;
Decompress the AndroidMainifest.xml configuration files in the virtual engine source bag;
Replace the relevant information such as AndroidMainifest.xml bag name, application name in the virtual engine source bag;
Configuration, which specifies to attend to anything else, exempts from the application message of installation and operation;
By the virtual engine source packet compression after replacement into apk files;
The apk files are signed.
It is preferred that, open client before virtual engine source bag is obtained more, virtual engine source bag is first set as template.
It is preferred that, according to local algorithm replace AndroidMainifest.xml in the bag of the virtual engine source bag name, The relevant informations such as application name.
A kind of configuration device for opening application more, including
Acquisition module, for making clients of opening obtain virtual engine source bag more;
Decompression module, for decompressing the AndroidMainifest.xml configuration files in the virtual engine source bag;
Replacement module, bag name, application name for replacing AndroidMainifest.xml in the virtual engine source bag Etc. relevant information;
Compression module, for by the virtual engine source packet compression after replacement into apk files;
Signature blocks, for being signed to the apk files.
It is preferred that, in addition to setting module, for clients of opening before virtual engine source bag is obtained, first will virtually it draw more Hold up source bag and be set as template.
It is preferred that, in addition to local algoritic module, for replacing in the virtual engine source bag The relevant informations such as AndroidMainifest.xml bag name, application name.
It is preferred that, in addition to configuration module, in the virtual engine source packet compression after by replacement into before apk files, First configure to specify to attend to anything else and exempt from the application message of installation and operation.
In the present embodiment, for as Android mobile phone, android system naturally inherits linux kernel Security mechanism, in combination with the concrete application feature of mobile terminal, the present invention has carried out many beneficial improvement and lifting.
The legacy operating system customer-centric such as window and unix/linux, it is assumed that be between user it is incredible, It is more to consider how isolation different user to resource (storage region and user file, region of memory and consumer process, underlying device Deng) access.In android system, it is assumed that be incredible, or even the application journey that user voluntarily installs between application software Sequence be also it is incredible, therefore, it is necessary first to limit the function of application program, that is, by application program be placed in " sandbox " it It is interior, the isolation between application program is realized, and the authority for allowing or refusing API Calls is set, control application program is to resource Access, such as access file, catalogue, network, sensor etc..
Android extends user and the authority mechanism of linux kernel security model, by the user of multi-user operating system Isolation mech isolation test is dexterously transplanted isolates for application program.In linux, user's mark (UID) recognizes a given user; On Android, a UID then recognizes an application program, distributes UID to it when the application is installed.Application program exists In equipment in the duration, its UID keeps constant, only limits the use of in permission or limitation application program (and non-user) to device resource Access.In this way, Android security mechanism is connected with the security model perfection of linux kernel, different application program difference Belong to different users, therefore, application program runs on oneself independent process space, and the application program different from UID is natural Resource isolation is formed, an other application program of operating system grade " sandbox " is so just formd.
In addition, between program process, the security between application program and operating system is by (SuSE) Linux OS Standard process level security mechanism is realized.By default, it can not be interacted between application program, operate in answering in process sandbox Authority is not previously allocated with program, it is impossible to access system or resource.Therefore, answering on operating system is either directly run on With program, the application program for being also operate in Dalvik virtual machine all obtains same security isolation and protection, is limited in each It is not interfere with each other from the application program in " sandbox ", the infringement to system and other applications can be minimized.Android is applied The application program that the program of the sandbox of program does not possess mutually trusting relationship is mutually isolated, runs alone, is to pass through " sandbox " Mechanism realize mobile phone and make multiple applications and attend to anything else, do not interfere with each other, being independent of each other uses.
Under many circumstances, the application program from same developer or same Development institution, exists to trust each other and closes System.Android system provides a kind of so-called shared UID (SharedUserID) mechanism, makes the application program for possessing trusting relationship The same process space can be run on.Generally, this trusting relationship is determined by the digital signature of application program, and needs application Program uses identical UID in manifest files.
The present embodiment is based especially on Android virtual system engine technique, realized by using the above method and device The applications such as wechat, QQ, game open more, and user can install multiple identical applications on a mobile phone, and each apply it Between be all independent space motion, mutually not shadow noon, do not interfere with each other, comply fully with android reclaim mechanism, do not interfere with The performance of Android system, while situations such as being also not in deadlock;This is based on, the present invention is with the shape of mobile Internet Formula is the problem of user solves many accounts, substantially increases adventure in daily life comfort level, is conducive to popularizing and promotes.
It is described above, be only presently preferred embodiments of the present invention, any formal limitation not done to the present invention, it is every according to According to the present invention technical spirit above example is made any simple modification, equivalent variations, each fall within the present invention protection Within the scope of.

Claims (8)

1. a kind of collocation method for opening application, it is characterised in that comprise the following steps more:
Clients of opening obtain virtual engine source bag more;
Decompress the AndroidMainifest.xml configuration files in the virtual engine source bag;
Replace the relevant information such as AndroidMainifest.xml bag name, application name in the virtual engine source bag;
By the virtual engine source packet compression after replacement into apk files;
The apk files are signed.
2. a kind of collocation methods for opening application according to claim 1, it is characterised in that clients of opening are obtaining empty more more Intend before the bag of engine source, virtual engine source bag is first set as template.
3. a kind of collocation methods for opening application according to claim 1, it is characterised in that institute is replaced according to local algorithm more State the relevant information such as AndroidMainifest.xml bag name, application name in the bag of virtual engine source.
4. a kind of collocation methods for opening application according to claim 3, it is characterised in that virtually drawing after by replacement more Hold up source packet compression and exempts from the application message of installation and operation into before apk files, first configuring to specify to attend to anything else.
5. a kind of configuration device for opening application more, it is characterised in that including
Acquisition module, for making clients of opening obtain virtual engine source bag more;
Decompression module, for decompressing the AndroidMainifest.xml configuration files in the virtual engine source bag;
Replacement module, for replacing the phase such as AndroidMainifest.xml bag name, application name in the virtual engine source bag Close information;
Compression module, for by the virtual engine source packet compression after replacement into apk files;
Signature blocks, for being signed to the apk files.
6. a kind of configuration devices for opening application according to claim 5, it is characterised in that also including setting module, use more In clients of opening before virtual engine source bag is obtained, virtual engine source bag is first set as template more.
7. a kind of configuration devices for opening application according to claim 5, it is characterised in that also including local algorithm mould more Block, for replacing the relevant information such as AndroidMainifest.xml bag name, application name in the virtual engine source bag.
8. a kind of configuration devices for opening application according to claim 5, it is characterised in that also including configuration module, use more In exempting from the application letter of installation and operation into before apk files, first configuring to specify to attend to anything else in the virtual engine source packet compression after by replacement Breath.
CN201710397560.9A 2017-05-31 2017-05-31 A kind of collocation method and device for opening application more Pending CN107247622A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710397560.9A CN107247622A (en) 2017-05-31 2017-05-31 A kind of collocation method and device for opening application more

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710397560.9A CN107247622A (en) 2017-05-31 2017-05-31 A kind of collocation method and device for opening application more

Publications (1)

Publication Number Publication Date
CN107247622A true CN107247622A (en) 2017-10-13

Family

ID=60018964

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710397560.9A Pending CN107247622A (en) 2017-05-31 2017-05-31 A kind of collocation method and device for opening application more

Country Status (1)

Country Link
CN (1) CN107247622A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109117208A (en) * 2018-07-20 2019-01-01 北京奇虎科技有限公司 Information sharing method, device, user terminal and readable storage medium storing program for executing
CN111027054A (en) * 2019-11-15 2020-04-17 武汉极意网络科技有限公司 Method and system for judging running of application program in multi-open environment based on android system
CN115001786A (en) * 2022-05-26 2022-09-02 浙江零跑科技股份有限公司 Method for realizing intelligent cabin face associated individual application account
CN117234543A (en) * 2023-11-10 2023-12-15 亿咖通(湖北)技术有限公司 Application installation method, device and equipment based on multi-application running

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7398332B2 (en) * 2001-06-12 2008-07-08 International Business Machines Corporation Apparatus and method for managing configuration of computer systems on a computer network
CN104866342A (en) * 2015-05-07 2015-08-26 北京数字天域科技有限责任公司 Method and device for simultaneously starting multiple same applications on intelligent terminal
CN105843668A (en) * 2016-03-11 2016-08-10 北京奇虎科技有限公司 Derived process staying-resident method, derived program generating method and corresponding device
CN106446632A (en) * 2016-09-22 2017-02-22 北京奇虎科技有限公司 Hide display starting device and hide display starting method for application programs

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7398332B2 (en) * 2001-06-12 2008-07-08 International Business Machines Corporation Apparatus and method for managing configuration of computer systems on a computer network
CN104866342A (en) * 2015-05-07 2015-08-26 北京数字天域科技有限责任公司 Method and device for simultaneously starting multiple same applications on intelligent terminal
CN105843668A (en) * 2016-03-11 2016-08-10 北京奇虎科技有限公司 Derived process staying-resident method, derived program generating method and corresponding device
CN106446632A (en) * 2016-09-22 2017-02-22 北京奇虎科技有限公司 Hide display starting device and hide display starting method for application programs

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
凸—-—凸: "APK多开原理", 《SEGMENTFAULT.COM》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109117208A (en) * 2018-07-20 2019-01-01 北京奇虎科技有限公司 Information sharing method, device, user terminal and readable storage medium storing program for executing
CN109117208B (en) * 2018-07-20 2022-12-02 北京奇虎科技有限公司 Information sharing method and device, user terminal and readable storage medium
CN111027054A (en) * 2019-11-15 2020-04-17 武汉极意网络科技有限公司 Method and system for judging running of application program in multi-open environment based on android system
CN115001786A (en) * 2022-05-26 2022-09-02 浙江零跑科技股份有限公司 Method for realizing intelligent cabin face associated individual application account
CN115001786B (en) * 2022-05-26 2024-01-12 浙江零跑科技股份有限公司 Implementation method of intelligent cabin face-associated individual application account
CN117234543A (en) * 2023-11-10 2023-12-15 亿咖通(湖北)技术有限公司 Application installation method, device and equipment based on multi-application running
CN117234543B (en) * 2023-11-10 2024-02-13 亿咖通(湖北)技术有限公司 Application installation method, device and equipment based on multi-application running

Similar Documents

Publication Publication Date Title
CN107247622A (en) A kind of collocation method and device for opening application more
US11755760B2 (en) Systems and methods for secure policies-based information governance
CN105791284B (en) A kind of data security transmission device and method
US9544400B2 (en) Manipulating binary large objects
AU2014240260B2 (en) User interface management method and system
US8812868B2 (en) Secure execution of unsecured apps on a device
US9246914B2 (en) Method and apparatus for processing biometric information using distributed computation
CN106471466A (en) Brief application
DE112012001389T5 (en) Secure execution of an unsecured app on a device
DE112012000750T5 (en) Backup and manage apps in one device
CN103473346A (en) Android re-packed application detection method based on application programming interface
CN106778208A (en) The access processing method and device of application program
CN106528269A (en) Light weight virtual machine access control system and method
CN109635225A (en) Track method, apparatus, server and the storage medium of browser information
CN108090361B (en) Security policy updating method and device
US20110107395A1 (en) Method and apparatus for providing a fast and secure boot process
CN110825373B (en) Mobile terminal dynamic method and device
CN103034811A (en) File processing method and system and device
US8353009B2 (en) Method and apparatus for providing context access with property and interface obfuscation
Salles-Loustau et al. Don't just BYOD, bring-your-own-app too! Protection via virtual micro security perimeters
Ayed A literature review on Android permission system
CN116049820A (en) Rogue application detection method, electronic equipment and communication system
CN105808989B (en) A kind of permission auditing method and device
CN104424260A (en) Browser information sharing method and device
CN112528333A (en) User privacy protection method, MEC server, terminal, device and medium

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

Application publication date: 20171013