CN105138911B - The method and apparatus of more portable terminals of ROOT simultaneously - Google Patents
The method and apparatus of more portable terminals of ROOT simultaneously Download PDFInfo
- Publication number
- CN105138911B CN105138911B CN201510567797.8A CN201510567797A CN105138911B CN 105138911 B CN105138911 B CN 105138911B CN 201510567797 A CN201510567797 A CN 201510567797A CN 105138911 B CN105138911 B CN 105138911B
- Authority
- CN
- China
- Prior art keywords
- root
- portable terminal
- portable
- portable terminals
- schemes
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 230000008569 process Effects 0.000 claims description 31
- 238000012795 verification Methods 0.000 claims description 10
- 238000012423 maintenance Methods 0.000 claims description 2
- 230000004069 differentiation Effects 0.000 claims 2
- 230000008878 coupling Effects 0.000 claims 1
- 238000010168 coupling process Methods 0.000 claims 1
- 238000005859 coupling reaction Methods 0.000 claims 1
- 238000005516 engineering process Methods 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004308 accommodation Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/55—Detecting local intrusion or implementing counter-measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/57—Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/03—Indexing scheme relating to G06F21/50, monitoring users, programs or devices to maintain the integrity of platforms
- G06F2221/033—Test or assess software
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of method and apparatus of more portable terminals of while ROOT.This method includes:Obtain the sequence number of every portable terminal in the more portable terminals;Obtain the identification code of the interface corresponding with every portable terminal;It is that every portable terminal generates identification code according to the identification code of the sequence number of every portable terminal and its corresponding interface;And using the respective identification code of the more portable terminals be respectively that the more portable terminals send corresponding instruction, with more portable terminals described in ROOT simultaneously.Method provided by the present invention is by using every portable terminal sequence number of itself, and the EIC equipment identification code of the corresponding interface is used in combination to form respective unique identification code for distinguishing different portable terminals in operation, so as to send corresponding instruction respectively to more portable terminals, to reach while the purpose of more portable terminals of ROOT.
Description
Technical field
The present invention relates to portable terminal, and in particular to a kind of method and apparatus of more portable terminals of while ROOT.
Background technology
Currently, portable terminal is applied in daily life more and more widely, the work of people, study,
Life also increasingly be unable to do without portable terminal, for example, mobile phone, tablet personal computer etc. have the intelligent portable of operating system whole
End.
It is also more and more extensive for the ROOT demands of portable terminal due to the different individual demand of people.Generally,
Mono- portable terminal of ROOT needs the regular hour.For businessman even certain user, batch ROOT is such as needed just
Formula terminal is taken, if per the independent ROOT of station terminal equipment, then needing the processing time grown very much.
Therefore, how mass simultaneous ground more portable terminals of ROOT, become this area urgent problem to be solved.
The content of the invention
In view of this, the method and apparatus that the present invention proposes a kind of more portable terminals of while ROOT.
According to an aspect of the invention, there is provided a kind of method of more portable terminals of while ROOT, including:Obtain
The sequence number of every portable terminal in the more portable terminals;Obtain the interface corresponding with every portable terminal
Identification code;It is that every portable terminal is given birth to according to the identification code of the sequence number of every portable terminal and its corresponding interface
Into identification code;And using the respective identification code of the more portable terminals it is respectively that the more portable terminals send phase
The instruction answered, with more portable terminals described in ROOT simultaneously.
According to an embodiment, this method also includes:According to the sequence number of every portable terminal, in locally lookup
The ROOT schemes matched somebody with somebody;And according to lookup result come every portable terminal of ROOT.
According to an embodiment, included according to lookup result come every portable terminal of ROOT:It is portable for every
Terminal, if not finding the ROOT schemes of matching, download the ROOT schemes of matching, and utilize downloaded scheme ROOT this just
Take formula terminal.
According to an embodiment, also included come every portable terminal of ROOT according to lookup result:It is portable for every
Formula terminal, if finding the ROOT schemes of matching, the check code of the matching scheme to finding verifies, for passing through school
The matching scheme tested, using its ROOT portable terminals, for not validated matching scheme, download the ROOT side of matching
Case, and utilize downloaded scheme ROOT portable terminals.
According to an embodiment, every portable terminal carries out ROOT using independent process.
According to an embodiment, when an independent process downloads ROOT schemes for its corresponding portable terminal,
The process corresponding with other portable terminals in the more portable terminals, which is denied access and/or changed, to be downloaded
ROOT schemes.
According to an embodiment, the instruction is adb orders.
According to an embodiment, the check code is MD5 codes.
According to another aspect of the present invention, there is provided a kind of equipment of more portable terminals of while ROOT, including:Obtain
Unit, for obtain in the more portable terminals every portable terminal sequence number and with every portable terminal phase
The identification code of corresponding interface;Generation unit, according to the acquiring unit obtain every portable terminal sequence number and its
The identification code of corresponding interface, it is that every portable terminal generates identification code;Transmitting element, generated using the generation unit
Identification code be respectively that the more portable terminals send corresponding instruction;And ROOT units, according to the instruction simultaneously
More portable terminals described in ROOT.
According to an embodiment, the equipment also includes:Memory cell, for storing ROOT schemes;And searching unit,
The sequence number of the every portable terminal obtained according to the acquiring unit, the ROOT side of matching is searched from the memory cell
Case, ROOT is carried out to portable terminal for the ROOT units.
According to an embodiment, the equipment also includes:Download unit, for downloading ROOT schemes, if described search list
Member does not find the ROOT schemes matched with portable terminal from the memory cell, then the download unit downloads matching
ROOT schemes, and be stored in the memory cell, ROOT is carried out to portable terminal for the ROOT units.
According to an embodiment, the equipment also includes:Verification unit, for the ROOT found to the searching unit
Scheme is verified.
According to an embodiment, the ROOT units utilize independent every portable terminal of process ROOT.
According to an embodiment, when the ROOT units using an independent process are its corresponding portable terminal
When downloading ROOT schemes, the ROOT units are forbidden corresponding with other portable terminals in the more portable terminals
The ROOT schemes that process is accessed and/or modification is being downloaded.
According to an embodiment, the instruction is adb orders.
According to an embodiment, ROOT schemes that the verification unit is found using MD5 codes to the searching unit
Verified.
According to technical scheme provided by the present invention, by using every portable terminal sequence number of itself, and combine
Respective unique identification for distinguishing different portable terminals in operation is formed using the EIC equipment identification code of the corresponding interface
Code, so as to send corresponding instruction respectively to more portable terminals, to reach while the mesh of more portable terminals of ROOT
's.
Brief description of the drawings
The embodiments of the present invention are read with reference to the drawings, other features and advantages of the present invention will be better understood,
Accompanying drawing described here is intended merely to the purpose schematically illustrated to embodiments of the present invention, and not all possible reality
Apply, and be not intended to limitation the scope of the present invention.In the accompanying drawings:
Fig. 1 shows according to one exemplary embodiment the stream of the method for more portable terminals of ROOT simultaneously
Cheng Tu;
Fig. 2 shows the stream of the method according to another exemplary embodiment of the present invention while more portable terminals of ROOT
Cheng Tu;
Fig. 3 shows according to one exemplary embodiment the frame of the equipment of more portable terminals of ROOT simultaneously
Figure;
Fig. 4 shows the frame of the equipment according to another exemplary embodiment of the present invention while more portable terminals of ROOT
Figure;
Fig. 5 shows the frame of the equipment according to another exemplary embodiment of the present invention while more portable terminals of ROOT
Figure;And
Fig. 6 shows the frame of the equipment according to another exemplary embodiment of the present invention while more portable terminals of ROOT
Figure.
Embodiment
Embodiments of the present invention are described in detail referring now to accompanying drawing.It should be noted that following description is merely exemplary
, and the present invention is not intended to limit, and for the sake of brevity, same as the prior art one is eliminated in the following description
The specific descriptions of a little parts.In addition, in the following description, will adopt be indicated with like reference numerals identical in different accompanying drawings or
Similar part.Different characteristic in different embodiments described below, it can be bonded to each other, to be formed in the scope of the invention
Other embodiment.
It is well known that Root authority refers to system manager's power of Unix type operating systems (including Linux, Android)
Limit, similar to Administrator (keeper) authority in Windows (form) system;Root authority can be accessed and repaiied
Use almost all of file (android system file and user file, not including ROM) in the mobile device at family instead.But by
It is strict in management of the current mobile terminal system for Root authority, most applications or program be not under normal circumstances
Possess Root authority, therefore can not just be performed for some operations for needing to have Root authority, such as installation or unloading application
Deng operation;Meanwhile such operation calls process is required for system application Root authority when performing corresponding operating every time, but if
Now other application process is used Root authority and carries out associative operation, then the Root authority application of this calling process just can not
Success;What is more, if user is provided with the operation of disabling Root authority in systems, related calling process just can not be carried out
Associative operation.Based on this, the present invention proposes only to need to send a Root authority acquisition request to system, can specifically pass through calling
SU (SuperUser, power user) orders built in system obtain Root authority, or by obtaining with Root authority
Shell obtains Root authority and the launching process in shell, then after the Root authority mandate of the system is obtained, you can
Without repeating application Root authority when making other follow-up calling process to perform associative operation;Specific Root authority acquisition process can
With reference to the Root authority call function of prior art.
Fig. 1 shows according to one exemplary embodiment the stream of the method for more portable terminals of ROOT simultaneously
Cheng Tu.As shown in figure 1, this method 100 may include step S110 to S140.In step s 110, more portable terminals are obtained
In every portable terminal sequence number.Generally, every portable terminal is respectively provided with the sequence number of its own when dispatching from the factory.But
That the portable terminal of same model of some manufacturers production has identical sequence number, so cause send instruct when without
Method distinguishes different portable terminals.Therefore, according to present embodiment, in the step s 120, obtain and every portable terminal
The identification code of corresponding interface.In ROOT portable terminals, every portable terminal is both needed to by interface (for example, USB
Mouthful) connection.And in practical operation, each interface is respectively provided with its unique identification code, i.e. interface equipment identification code.Thus, may be used
Different portable terminals is distinguished using the uniqueness of the identification code.Therefore, in step s 130, according to every portable terminal
The identification code of the sequence number at end and its corresponding interface, it is that every portable terminal generates identification code.This is used for portable terminal
The identification code at end is combined by the identification code of its corresponding interface of sequence number of portable terminal, and it can be used as unique knowledge
Other code, to distinguish different portable terminals in operation.Then, in step S140, more portable terminals are utilized
It is respectively that more portable terminals send corresponding instruction (for example, adb orders) to hold respective identification code, with more of ROOT simultaneously
Portable terminal.
Thus, by using every portable terminal sequence number of itself, and the equipment identification of the corresponding interface is used in combination
Code forms respective unique identification code for distinguishing different portable terminals in operation, so as to more portable terminals
End sends corresponding instruction respectively, to reach while the purpose of more portable terminals of ROOT.
Fig. 2 shows the stream of the method according to another exemplary embodiment of the present invention while more portable terminals of ROOT
Cheng Tu.As shown in Fig. 2 in addition to step S110 to S140, this method 100 ' may also include step S150 and S160.For letter
For the sake of wanting, it is described in detail below only for the difference of Fig. 2 illustrated embodiments and Fig. 1, its something in common will no longer
Repeat.
As shown in Fig. 2 in step S150, according to the sequence number of every portable terminal, matching is locally being searched
ROOT schemes.Then, in step S160, according to lookup result come every portable terminal of ROOT.
In the prior art, per mono- portable terminal of ROOT, it is necessary to download matched ROOT schemes from network.
Such operation can waste network traffics than relatively time-consuming, take Internet resources.And according to present embodiment, at the same time
During more portable terminals of ROOT, because model identical portable terminal can use identical ROOT schemes to carry out ROOT, because
This, can be locally stored a variety of ROOT schemes in advance, and often download a kind of new ROOT schemes, and it can all be stored in this
Ground, in case other follow-up portable terminals use.In practical operation, it can locally search now and be suitable for portable terminal
ROOT schemes, and according to lookup result come ROOT portable terminals.So, time and flow can be saved.
According to an embodiment of the invention, in above-mentioned steps S160, for every portable terminal, if not searching
To the ROOT schemes of matching, then the ROOT schemes of matching are downloaded, and utilize downloaded scheme ROOT portable terminals.
Specifically, for example, user is in mono- portable terminal of ROOT, it can perform procedure below.First, this can be obtained just
Take type, its CPU model and operating system (e.g., Andriod) version of formula terminal.Then, by the information package got into
Request URL, submit to server.Server inquires about database after request is received, and supports that this is portable to determine whether to have
The ROOT schemes of formula terminal.If it has, then returning to the apk files of the ROOT schemes, and apk texts are performed in portable terminal
The scheme carried in part.If without the ROOT schemes for supporting the portable terminal on server, networking is gone to download and matched
Scheme, then perform the scheme downloaded to.After running succeeded, ROOT authorities can be obtained, and are recorded successfully and to server report
Accuse.
A common authentication list can be safeguarded in local/high in the clouds, is entered by the master for being provided with program with the inventive method
Journey upload user allows authority whether data obtained for what each program UID was made, then according to statistical method to each
UID is counted, and when most users (such as 60%) allow some UID to obtain Root authority, is marked corresponding to the UID
Status indicator word is " Y ", otherwise, labeled as " N ".Local host process is downloaded in the common authentication list by remote interface, with
Local authentication list is compared, and on the basis of the subjective instruction of user is respected, adds the newly-increased note in common authentication list
Record in local authentication list.Certainly, for the sake of security, can be directed in two tables, UID is identical and record that state is different
Pop-up inquiry is carried out, sees whether user uses the data of common authentication list, if user's selection is, by common authentication list
The related records of the UID replace the respective record of local authentication list, if it is not, then abandoning subsequent operation.As can be seen that
The Dynamic Maintenance to authentication list can be realized in this way, the angle that authentication list is realized in technology is played significantly
Its safety effect.
Database is built to carry out, therefore below by way of an instantiation to institute of the present invention in server beyond the clouds of the invention
The database structure of realization illustrates.
The present invention is built with three tables of data in a database, is configuration information table, learning table, and type respectively
Record sheet.
The structure of the configuration information table is referred to shown in the table 1 of lower section:
Type | System version number | CPU models | Kernel version number | Configuration information |
Note 3 | 4.0.4 | Valiant imperial 800 | 3.0.3-abc | URL 1 |
Note 3 | 4.2.0 | Valiant imperial 800 | 3.1.0-xyz | URL 2 |
Xshot 710 | 4.3 | Valiant imperial 801 4 core | 3.04-pert | URL 3 |
Note 3 | 4.3 | Valiant imperial 800 | 3.1.0-xyz | URL 3 |
Table 1 is mainly used in showing the table structure of configuration information table, it is necessary to illustrate, although the configuration information is with URL
Form its storage content is shown, if it is to be understood by those skilled in the art that configuration information includes multiple data arranged side by side
Domain, or it sets the field of corresponding number to carry out configuration information table extending transversely.Such accommodation belongs to database 10
Known technology, do not repeat for this reason.Table 1 can also according to be actually needed it is additional it is other be advantageous to improve program realize the field of efficiency,
Without should be limited by the present embodiment.
Lower section table 2 is the learning table of the present invention:
Configuration information | Weight |
URL 1 | 50 |
URL 2 | 70 |
URL 3 | 90 |
Two fields that the present invention is paid close attention to the most, i.e. configuration information and weight, similarly, this area are only shown in learning table
Technical staff can add other relevant fields that can optimize program efficiency for this.Weight therein, numerical value is higher, and its is important
Property is also higher, on the contrary then lower.The calculation basis of weight is derived from type record sheet.
Table 3 below discloses the table structure of the type record sheet of the present embodiment:
Configuration information | Type | Number of success | The frequency of failure | Success rate |
URL 1 | Note 3 | 3 | 7 | 30% |
URL 2 | Note 3 | 6 | 4 | 60% |
URL 3 | Xshot 710 | 7 | 3 | 70% |
URL 3 | Note 3 | 5 | 5 | 50% |
Type record sheet, mainly map out the success time that specific configuration information carried out Root trials on certain type
Number and the frequency of failure, and these original history are gathered and recorded in the table using numerical value, and count every configuration information
The success rate attempted for the history of some type.Really, in other embodiments, those skilled in the art are accurate in order to pursue
Effect, can also be the fields such as table increase CPU models, system version number so that the described information of every record is more
Refinement, still, the present embodiment embody system operations amount, terseness and accuracy more relative to other alternate embodiments
Excellent counterbalance effect.
As it was previously stated, the weight in learning table is drawn by the success rate of type record sheet, this is answered statistical
With.The success rate in type record sheet is counted using the result data of client, and utilizes the success in type record sheet
The weighted value and the process of the weighted value of corresponding renewal learning table that rate data statistics goes out in learning table.As the first statistical number
It is worth, the success rate in type record sheet, can is foundation according to specific configuration information and specific model, directly calculate their places
The number of success of record drawn relative to the percentage of total number of attempt.The data of type record sheet are constantly adopted by high in the clouds
Root result data is attempted caused by collection user and records generation, therefore, described weight can be according in certain time
Such as in one week, using simple algorithm, periodically the data in described type record sheet are processed and drawn, as second
Statistic uses.Disclosed in data in specific for example foregoing each table, configuration information URL 3 is due to right in type record sheet
Different machines produce 70%, 50% success rate respectively, therefore, assign higher weight 90, and URL 2 is only on a kind of type
60% success rate has been got, therefore, its 70 weight can have been assigned, URL 1 assigns its 50 power because its success rate is minimum
Weight.According to the specific algorithm of the weight of type record sheet statistical learning table, can flexibly be set by those skilled in the art, example
Such as, can set when same configuration information is applied to a type, its weighted value is the product of radix 100 and its success rate,
When it is applied to second type simultaneously, then its weight lifts 20 units, by that analogy.
According to an embodiment of the invention, in above-mentioned steps S160, for every portable terminal, if finding
The ROOT schemes of matching, then the check code of the matching scheme to finding verify.The check code can be such as MD5 codes
Form.For the matching scheme by verification, its ROOT portable terminals are utilized.And for not validated match party
Case, downloads the ROOT schemes of matching, and utilizes downloaded scheme ROOT portable terminals.
According to an embodiment of the invention, every portable terminal carries out ROOT using independent process.Also
It is to say, present embodiment make use of multithreading to realize while more portable terminals of ROOT, different portable terminals
Process will not be shared.
Further, it is portable with other when an independent process downloads ROOT schemes for its corresponding portable terminal
The corresponding process of formula terminal is denied access and/or changed the ROOT schemes downloaded.So, it is ensured that ROOT is being downloaded
Shi Buhui is disturbed by other processes, so that it is guaranteed that the integrality and correctness of the ROOT schemes each downloaded.
Fig. 3 shows according to one exemplary embodiment the frame of the equipment of more portable terminals of ROOT simultaneously
Figure.As shown in figure 3, the equipment 300 may include acquiring unit 310, generation unit 320, transmitting element 330 and ROOT units 340.
Acquiring unit 310 can obtain in more portable terminals every portable terminal sequence number and with every portable terminal phase
The identification code of corresponding interface.Generation unit 320 can according to acquiring unit 310 obtain every portable terminal sequence number and
The identification code of its corresponding interface, it is that every portable terminal generates identification code.Transmitting element 330 can utilize generation unit
The identification code of 320 generations is respectively that more portable terminals send corresponding instruction (for example, adb orders).ROOT units 340 can
According to the instruction while more portable terminals of ROOT.
Fig. 4 shows the frame of the equipment according to another exemplary embodiment of the present invention while more portable terminals of ROOT
Figure.As shown in figure 4, in addition to acquiring unit 310, generation unit 320, transmitting element 330 and ROOT units 340, equipment
300 ' may also include memory cell 350 and searching unit 360.For the sake of brevity, below only for Fig. 4 illustrated embodiments with
Fig. 3 difference is described in detail, and its something in common will not be described in great detail.
As shown in figure 4, memory cell 350 can store ROOT schemes.Searching unit 360 can obtain according to acquiring unit 310
Every portable terminal sequence number, the ROOT schemes of matching are searched from memory cell 350, for ROOT units 340
ROOT is carried out to portable terminal.
Fig. 5 shows the frame of the equipment according to another exemplary embodiment of the present invention while more portable terminals of ROOT
Figure.As shown in figure 5, except acquiring unit 310, generation unit 320, transmitting element 330, ROOT units 340, memory cell 350
Outside searching unit 360, equipment 300 " may also include download unit 370.For the sake of brevity, below only for shown in Fig. 5
Embodiment and Fig. 4 difference are described in detail, and its something in common will not be described in great detail.
As shown in figure 5, download unit 370 can be used for downloading ROOT schemes.If searching unit 360 is not from memory cell 350
In find the ROOT schemes matched with portable terminal, then download unit 370 downloads the ROOT schemes of matching, and is stored in
In storage unit 350, ROOT is carried out to portable terminal for ROOT units 340.
Fig. 6 shows the frame of the equipment according to another exemplary embodiment of the present invention while more portable terminals of ROOT
Figure.As shown in fig. 6, except acquiring unit 310, generation unit 320, transmitting element 330, ROOT units 340, memory cell 350,
Outside searching unit 360 and download unit 370, equipment 300 " ' it may also include verification unit 380.For the sake of brevity, below only
It is described in detail for the difference of Fig. 6 illustrated embodiments and Fig. 5, its something in common will not be described in great detail.
As shown in fig. 6, the ROOT schemes that verification unit 380 can be found to searching unit 360 verify.According to one
Embodiment, verification unit 380 can be verified using MD5 codes to the ROOT schemes that searching unit 360 is found.
According to an embodiment of the invention, ROOT units 340 can utilize independent every portable terminal of process ROOT
End.
According to an embodiment of the invention, when ROOT units 340 are corresponding just for it using an independent process
When taking formula terminal downloads ROOT schemes, ROOT units 340 forbid the process corresponding with other portable terminals to access and/or repair
Correct the ROOT schemes in download.
Above the description to each embodiment of the present invention be for a better understanding of the present invention, what it was merely exemplary,
And it is not intended to carry out the present invention.It should be noted that in the above description, the feature for describing and/or showing for a kind of embodiment
It can be used in a manner of same or similar in one or more other embodiments, with the feature in other embodiment
It is combined, or substitute the feature in other embodiment.It will be understood by those skilled in the art that the design of the present invention is not being departed from
In the case of, for the variations and modifications of embodiment progress described above, belong in the scope of the present invention.
Claims (12)
1. a kind of method of more portable terminals of while ROOT, including:
Common authentication list is safeguarded in local and/or high in the clouds, is directed to by being provided with the host process upload user of program of methods described
What each program UID was made allows authority whether data obtained;
When needing more portable terminals of ROOT simultaneously, the sequence of every portable terminal in the more portable terminals is obtained
Row number;
Obtain the identification code of the interface corresponding with every portable terminal;
It is that every portable terminal generation is known according to the identification code of the sequence number of every portable terminal and its corresponding interface
Other code;And
Distinguish different portable terminals using the respective identification code of the more portable terminals, and to described more after differentiation
Platform portable terminal sends corresponding instruction respectively, so that more portable with reference to described in common authentication list ROOT simultaneously
Terminal, specifically include:Every portable terminal carries out ROOT using independent process, when an independent process is corresponding for its
Portable terminal download ROOT schemes when, the process corresponding with other portable terminals in the more portable terminals
It is denied access and/or changes the ROOT schemes downloaded.
2. the method as described in claim 1, in addition to:
According to the sequence number of every portable terminal, the ROOT schemes of matching are locally being searched;And
According to lookup result come every portable terminal of ROOT.
3. method as claimed in claim 2, wherein being included according to lookup result come every portable terminal of ROOT:
For every portable terminal, if not finding the ROOT schemes of matching, the ROOT schemes of matching are downloaded, and utilize institute
The scheme ROOT of the download portable terminals.
4. method as claimed in claim 3, wherein also being included come every portable terminal of ROOT according to lookup result:
For every portable terminal, if finding the ROOT schemes of matching, the check code of the matching scheme to finding enters
Row verification, for the matching scheme by verification, using its ROOT portable terminals, for not validated match party
Case, downloads the ROOT schemes of matching, and utilizes downloaded scheme ROOT portable terminals.
5. the method as described in claim 1, wherein the instruction is adb orders.
6. method as claimed in claim 4, wherein the check code is MD5 codes.
7. a kind of equipment of more portable terminals of while ROOT, including:
Maintenance unit, common authentication list is safeguarded for local and/or high in the clouds, by being provided with while more portable terminals of ROOT
The host process upload user of the program of method allows authority whether data obtained for what each program UID was made;
Acquiring unit, for when needing more portable terminals of ROOT simultaneously, obtaining in the more portable terminals every
The identification code of the sequence number of portable terminal and the interface corresponding with every portable terminal;
Generation unit, the knowledge of the sequence number and its corresponding interface of the every portable terminal obtained according to the acquiring unit
Other code, it is that every portable terminal generates identification code;
Transmitting element, different portable terminal is distinguished using the identification code of generation unit generation, and to the institute after differentiation
State more portable terminals and send corresponding instruction respectively;And
ROOT units, according to the instruction, the more portable terminals with reference to described in common authentication list ROOT simultaneously, specifically
Including:Every portable terminal carries out ROOT using independent process, when an independent process is corresponding portable for it
During terminal downloads ROOT schemes, the process corresponding with other portable terminals in the more portable terminals is prohibited to visit
Ask and/or change the ROOT schemes downloaded.
8. equipment as claimed in claim 7, in addition to:
Memory cell, for storing ROOT schemes;And
Searching unit, the sequence number of the every portable terminal obtained according to the acquiring unit, is looked into from the memory cell
The ROOT schemes of matching are looked for, ROOT is carried out to portable terminal for the ROOT units.
9. equipment as claimed in claim 8, in addition to:
Download unit, for downloading ROOT schemes, if the searching unit do not found from the memory cell with it is portable
The ROOT schemes of terminal coupling, then the download unit downloads the ROOT schemes of matching, and is stored in the memory cell, with
ROOT is carried out to portable terminal for the ROOT units.
10. equipment as claimed in claim 8, in addition to:
Verification unit, the ROOT schemes for being found to the searching unit verify.
11. equipment as claimed in claim 7, wherein the instruction is adb orders.
12. equipment as claimed in claim 10, wherein what the verification unit was found using MD5 codes to the searching unit
ROOT schemes are verified.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510567797.8A CN105138911B (en) | 2015-09-08 | 2015-09-08 | The method and apparatus of more portable terminals of ROOT simultaneously |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510567797.8A CN105138911B (en) | 2015-09-08 | 2015-09-08 | The method and apparatus of more portable terminals of ROOT simultaneously |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105138911A CN105138911A (en) | 2015-12-09 |
CN105138911B true CN105138911B (en) | 2017-12-01 |
Family
ID=54724256
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510567797.8A Active CN105138911B (en) | 2015-09-08 | 2015-09-08 | The method and apparatus of more portable terminals of ROOT simultaneously |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105138911B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106201798A (en) * | 2016-07-14 | 2016-12-07 | 努比亚技术有限公司 | Product ID processing means and method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103324482A (en) * | 2013-06-27 | 2013-09-25 | 苏州创智宏云信息科技有限公司 | Android one-key root permission software |
CN103826215A (en) * | 2014-02-11 | 2014-05-28 | 北京奇虎科技有限公司 | Method and apparatus for carrying out root authority management at terminal equipment |
CN104346576A (en) * | 2014-12-01 | 2015-02-11 | 北京奇虎科技有限公司 | Methods for feedback and matching of privilege escalation configuration information as well as corresponding devices |
CN104503760A (en) * | 2014-12-29 | 2015-04-08 | 北京奇虎科技有限公司 | Method and device for getting highest permission of system |
-
2015
- 2015-09-08 CN CN201510567797.8A patent/CN105138911B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103324482A (en) * | 2013-06-27 | 2013-09-25 | 苏州创智宏云信息科技有限公司 | Android one-key root permission software |
CN103826215A (en) * | 2014-02-11 | 2014-05-28 | 北京奇虎科技有限公司 | Method and apparatus for carrying out root authority management at terminal equipment |
CN104346576A (en) * | 2014-12-01 | 2015-02-11 | 北京奇虎科技有限公司 | Methods for feedback and matching of privilege escalation configuration information as well as corresponding devices |
CN104503760A (en) * | 2014-12-29 | 2015-04-08 | 北京奇虎科技有限公司 | Method and device for getting highest permission of system |
Also Published As
Publication number | Publication date |
---|---|
CN105138911A (en) | 2015-12-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110147967B (en) | Risk prevention and control method and device | |
CN109543373B (en) | Information identification method and device based on user behaviors | |
CN106202117A (en) | Data processing method, device and server | |
CN106997431B (en) | Data processing method and device | |
CN105224606A (en) | A kind of disposal route of user ID and device | |
CN106603469A (en) | Registration application method and apparatus | |
CN104133765B (en) | The test case sending method of network activity and test case server | |
CN106156151A (en) | The Risk Identification Method of internetwork operation event and device | |
CN105187392A (en) | Mobile terminal malicious software detection method based on network access point and system thereof | |
CN111552680A (en) | Construction method and device of business fraud identification database and computer equipment | |
CN104750872A (en) | Method and device for searching service object | |
CN105989457A (en) | Information query method and apparatus thereof | |
CN108038655A (en) | Recommendation method, application server and the computer-readable recording medium of department's demand | |
CN105099983A (en) | Authorization method, authority setting method and devices | |
CN105022939A (en) | Information verification method and device | |
CN113240336A (en) | Task management system based on label | |
CN110213290A (en) | Data capture method, API gateway and storage medium | |
CN111612085A (en) | Method and device for detecting abnormal point in peer-to-peer group | |
CN105138911B (en) | The method and apparatus of more portable terminals of ROOT simultaneously | |
CN107294905A (en) | A kind of method and device for recognizing user | |
CN111831817A (en) | Questionnaire generation and analysis method and device, computer equipment and readable storage medium | |
US20030120614A1 (en) | Automated e-commerce authentication method and system | |
CN116302889A (en) | Performance test method and device for functional module and server | |
CN108964990A (en) | Implementor name display methods and device in a kind of multiple equipment management system | |
CN112073454B (en) | Resource distribution method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220721 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |