CN106909412A - A kind of root methods of terminal device, collocation method, terminal device and server - Google Patents

A kind of root methods of terminal device, collocation method, terminal device and server Download PDF

Info

Publication number
CN106909412A
CN106909412A CN201510982476.4A CN201510982476A CN106909412A CN 106909412 A CN106909412 A CN 106909412A CN 201510982476 A CN201510982476 A CN 201510982476A CN 106909412 A CN106909412 A CN 106909412A
Authority
CN
China
Prior art keywords
allocation plan
terminal device
root authority
server
characteristic information
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
CN201510982476.4A
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 Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510982476.4A priority Critical patent/CN106909412A/en
Publication of CN106909412A publication Critical patent/CN106909412A/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

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 invention discloses a kind of root methods of terminal device, the method includes:Obtain the characteristic information of terminal device;Obtained to server send configuration scheme based on the characteristic information and asked;The allocation plan matched with the characteristic information is obtained from server, the allocation plan includes the allocation plan for obtaining root authority;Terminal device performs the allocation plan, to obtain root authority.The present invention can directly obtain the allocation plan for obtaining Root authority, and the allocation plan is recommended on the basis of the historical data based on practical application, perform the allocation plan direct access root authority.

Description

A kind of root methods of terminal device, collocation method, terminal device and server
Technical field
The present invention relates to the System right management control technology of smart machine, it is directed not only to one kind and carries power configuration side Case feedback method and device, further relate to one kind and carry power allocation plan matching process and device.
Background technology
It is well known that Root authority refers to Unix type operating systems (including Linux, Android) being System administrator right, similar to Administrator (keeper) authority in Windows (form) system; Root authority can access and change almost all of file (android system text in the mobile device of user Part and user file, not including ROM).But, because current terminal device system is for Root authority Management be strict, most applications or program do not possess Root authority under normal circumstances, therefore Cannot just be performed for some operations for needing to have Root authority, for example, install or unload the operation such as application; 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 currently in use Root authority and carries out associative operation, then this calling process Root authority application just cannot succeed;What is more, if user is provided with disabling Root authority in systems Operation, then related calling process just cannot carry out associative operation.
User typically wants to obtain the wider control of itself terminal device, in view of this, provides in the industry The diversified power scheme that carries realizes that user right is carried for obtaining the Root authority of android system Rise, up to the purpose for causing comprehensive control operation system.These put forward power scheme, according to the life that authority after the power that carries is acted on From the point of view of cycle, including permanent Root authority and temporary Root authority, as the term suggests, permanent Root authority In the case of, application program is authorized once Root, can again be carried out Root later and be put forward power;And interim Root In the case of authority, the life cycle of authority effect is the process once from starting shooting to shutting down of operating system, Next time, start still needed to carry out Root.
No matter which kind of Root mode is used, the general principle for putting forward power is implanted into for receiving by system The su of authority request, man-machine interaction is realized in conjunction with SuperUser.apk application programs, by su with Effective rights management is realized in SuperUser.apk mutual cooperations operationally.But, due to end The difference of the information such as Android version numbers, kernel version number, CPU models, the type of end equipment equipment, Cause the reason for these are different to be probably, in system OTA or system upgrade, further to often lead to su moulds The block even code of SuperUser, parameter even principle etc. must also make adaptive change could be realized Root puies forward power, therefore, the mobile phone of same model because of its kernel version number or the difference of system version number,
It is likely to need different Root schemes.Such Root schemes, are actually to adapt to terminal to set The change of the above-mentioned parameter of standby equipment and customize for obtaining Root authority to attempt reality to the terminal device Now carry the allocation plan of power.These allocation plans can be on the basis of the file needed for Root schemes, The sensing for being configured further combined with related operational factor and obtaining, or directly include the plan document is believed Breath such as its URL or filename, regardless of the way of realization of allocation plan, as long as the allocation plan can Used correctly parsing and the use of its program.These allocation plans are made good use of, just can be more efficiently real Existing system puies forward power.
Various key Root application programs are released on the market at present, is generally mounted on PC, pass through USB line is set up with mobile phone and is connected, and the allocation plan being adapted with the mobile phone is downloaded from high in the clouds, namely accordingly For realize obtain Root authority scheme, by force to the mobile phone carry out obtain Root operation, with Phase succeeds.However, the mode of this traditional acquisition Root authority, its success rate is relatively low, very Poorly efficient, it is that its allocation plan for being obtained is recognized without technology to trace it to its cause, the configuration side that mobile phone terminal is obtained The match is successful that rate is relatively low for case.
The content of the invention
A kind of root methods of terminal device, the method are provided it is an object of the invention to solve the above problems Including:Obtain the characteristic information of terminal device;Obtained to server send configuration scheme based on the characteristic information Take request;The allocation plan matched with the characteristic information is obtained from server, the allocation plan is included Allocation plan for obtaining root authority;Terminal device performs the allocation plan, to obtain root authority.
Further, the step:The allocation plan matched with the characteristic information is obtained from server, Specially:Obtained from server and state multiple allocation plans that characteristic information matches, the multiple configuration side Case has recommendation order;The step:Terminal device performs the allocation plan, to obtain root authority, Specially:Terminal device performs allocation plan according to the recommendation order, to obtain root authority.
Further, the method also includes:After terminal device has often performed an allocation plan, it is determined whether Success obtains root authority;If successfully obtaining root authority, stop performing next allocation plan.
Further, the method also includes:Acquisition tables perform the allocation plan up to terminal device after whether into Work(obtains the feedback data of root authority, and the feedback data is reported into server.
Present invention also offers a kind of terminal device, the terminal device includes:Characteristic acquisition unit, uses In the characteristic information for obtaining terminal device;
Transmitting element, is asked for being obtained to server send configuration scheme based on the characteristic information;Receive Unit, for obtaining the allocation plan matched with the characteristic information, the allocation plan bag from server Containing the allocation plan for obtaining root authority;Execution unit, for performing the allocation plan, to obtain Take root authority.
Further, the receiving unit is used to be obtained from server and states multiple configurations that characteristic information matches Scheme, the multiple allocation plan has recommendation order, and the execution unit is performed according to the recommendation order The allocation plan, to obtain root authority.
Further, the terminal device includes:Root authority condescends to inquire unit, for performing a configuration side After case, inquire about whether the terminal device successfully obtains root authority, if successfully obtaining root authority, Notify that the execution unit stops performing next allocation plan.
Further, the terminal device includes:
Perform feedback unit, the Query Result for condescending to inquire unit according to the Root authority, record configuration The allocation plan of successful allocation plan and configuration failure, and by the letter of allocation plan configuration successful and failure Breath is sent to server.
Present invention also offers a kind of collocation method, including:Obtain asking for the characteristic information comprising terminal device Ask;Searched comprising the allocation plan for obtaining Root authority according to the characteristic information;Foundation is described The history that allocation plan is preserved is ranked up using data to the allocation plan for finding, and forms recommendation tables, The recommendation tables include the sequence of the content information and the allocation plan for finding of the allocation plan for finding Information;Response pushes the recommendation tables with the request.
Further, the history uses the implementing result that data are the terminal device execution allocation plan Historical record.
Present invention also offers a kind of server, including acquiring unit, for obtaining the spy comprising terminal device The request of reference breath;Searching unit, is configured as being searched comprising for obtaining Root according to the characteristic information The allocation plan of authority;Sequencing unit, be configured as according to for the history that preserves using data to finding Allocation plan is ranked up, and forms recommendation tables, and the recommendation tables include the content of the allocation plan for finding The sequencing information of information and the allocation plan for finding;Allocation plan push unit, be configured to respond to The request pushes the recommendation tables.
Further, the server includes the first memory cell, for storage configuration scheme;Second storage is single Unit, the history for storing each allocation plan uses data;Unit, according to each allocation plan History is that the allocation plan calculates weight using data, and the weight is arranged as the recommendation for forming allocation plan The factor of table.
To realize the purpose of the present invention, the present invention is adopted the following technical scheme that:
Compared to prior art, the present invention at least has the following advantages that:
1st, the present invention can directly obtain the allocation plan for obtaining Root authority, and the allocation plan is Recommended on the basis of the historical data based on practical application, performed the allocation plan direct access Root authority.
2nd, history of the invention uses data, is to be tested after Root to be formed based on every allocation plan, And it is associated with the characteristic information of terminal device, namely type, system version number, kernel version number, CPU types Number etc. data, therefore, when carrying out preferred to high in the clouds allocation plan using data using history, can obtain more It is accurate preferred effect, is especially carrying out the system about success rate and/or weight using data to history After meter, more efficiently statistics can be obtained, for the preferred of allocation plan, further improved special Determine the preferred effect of the allocation plan of terminal device.
3rd, the present invention realizes the preferred of allocation plan by way of database by constructing multiple tables of data Basis, sets up interrelated between table and table by characteristic information, allocation plan, and is then collected in table and used In the data for realizing optimization algorithm, this mode has the advantages that intelligence is expansible.Learning table therein, profit Counted from the initial data that requesting party sends with type record sheet, first succeed rate, then into On the basis of power, with reference to the General Implementing situation of each allocation plan of certain hour range statistics, and with this Further obtain the weight of the allocation plan, thus further enhance calculating effect, make database technology with The implicit algorithm of the present invention realizes perfect combination, the load of server can be reduced, so that the service of improving The operational efficiency of device.
4th, after allocation plan formation recommendation list of the invention is pushed to terminal device, by terminal device It is carried out one by one being attempted about the matching for obtaining terminal device Root authority, until successfully obtain terminal setting Standby Root authority, completes matching.Based on hit rate allocation plan by it is preferred the fact that, terminal Equipment carries out greatly improving for allocation plan matching to terminal device.And, attempt obtaining for every The allocation plan of Root authority, terminal device can also upload onto the server its data whether the match is successful, Therefore, it is possible to be provided with beneficial to the basic data for improving allocation plan effect of optimization for server.
5th, due to allocation plan of the invention, can flexibly be set to comprising plan document or comprising scheme The directional information of file, therefore, both can will be used for implement Root carry power plan document such as su, SuperUser.apk etc. is stored in cloud server, it is also possible to is stored in and initiates the terminal device asked (not Must be by the terminal device of Root), it is to realize embodiment party of the invention provides the art various thus Case, the flexibility with height, is easy to implement.Generally, implementing the present invention can more efficiently obtain The more effectively allocation plan of the Root authority of terminal device must be used to obtain, it is favourable using the allocation plan In the success rate for further improving the Root authority for obtaining terminal device.The present invention additional aspect and advantage To be set forth in part in the description, these will become apparent from the description below, or by the present invention Practice recognize.
Brief description of the drawings
The above-mentioned and/or additional aspect of the present invention and advantage are from the following description of the accompanying drawings of embodiments Will be apparent and be readily appreciated that, wherein:
Fig. 1 is the structure principle chart of the system constructed using general idea of the invention;
Fig. 2 is the structure principle chart of terminal installation of the invention;
Fig. 3 is the principle schematic that acquisition of the invention puies forward power allocation plan method;
Fig. 4 is the structure principle chart of the server of offer allocation plan of the invention;
Fig. 5 is the principle schematic for putting forward power allocation plan method of the invention.
Specific embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein certainly Beginning to same or similar label eventually represents same or similar element or the unit with same or like function Part.Embodiment below with reference to Description of Drawings is exemplary, is only used for explaining the present invention, and can not It is construed to limitation of the present invention.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " " used herein, " one ", " described " and " being somebody's turn to do " may also comprise plural form.It is to be further understood that theory of the invention Used in bright book wording " including " refer to exist the feature, integer, step, operation, element and/or Component, but it is not excluded that in the presence of or add one or more other features, integer, step, operation, units Part, component and/or their group.It should be understood that when we claim element to be " connected " or " coupled " to another During element, it can be directly connected or coupled to other elements, or can also there is intermediary element.Additionally, " connection " used herein or " coupling " can include wireless connection or wireless coupling.Wording used herein " and / or " include one or more associated wholes or any cell of listing item and all combine.
Those skilled in the art of the present technique are appreciated that unless otherwise defined all terms used herein (are wrapped Include technical term and scientific terminology), with art of the present invention in those of ordinary skill general reason Solution identical meaning.It should also be understood that those terms defined in such as general dictionary, it should managed Solution is with the consistent meaning of the meaning in the context with prior art and unless special as here Definition, will not otherwise be explained with idealization or excessively formal implication.
Those skilled in the art of the present technique are appreciated that " terminal " used herein above, " terminal device " both included The equipment of wireless signal receiver, the equipment of its wireless signal receiver for only possessing non-emissive ability is wrapped again The equipment for receiving and launching hardware is included, it has can perform connecing for two-way communication on bidirectional communication link The equipment received and launch hardware.This equipment can include:Honeycomb or other communication equipments, it has single line Road display or multi-line display or the honeycomb without multi-line display or other communication equipments; PCS (Personal Communications Service, PCS Personal Communications System), it can be with combine voice, data Treatment, fax and/or its communication ability;(Personal Digital Assistant, individual digital is helped PDA Reason), it can include radio frequency receiver, pager, the Internet/intranet access, web browser, note Thing sheet, calendar and/or GPS (Global Positioning System, global positioning system) receiver;Often Rule on knee and/or palmtop computer or other equipment, it has and/or including the normal of radio frequency receiver Rule on knee and/or palmtop computer or other equipment." terminal " used herein above, " terminal device " Can be portable, can transport, in the vehicles (aviation, sea-freight and/or land), or Person is suitable for and/or is configured in local runtime, and/or with distribution form, operates in the earth and/or sky Between any other position operation." terminal " used herein above, " terminal device " can also be
Communication terminal, access terminals, music/video playback terminal, for example, can be PDA, MID (Mobile Internet Device, mobile internet device) and/or mobile phone with music/video playing function, Can also be the equipment such as intelligent television, Set Top Box.
Those skilled in the art of the present technique are appreciated that server used herein above, high in the clouds, far-end network set The concept such as standby, with effects equivalent, it includes but is not limited to computer, network host, single network service The cloud that device, multiple webserver collection or multiple servers are constituted.Here, cloud is by based on cloud computing (Cloud Computing a large amount of computers or the webserver) are constituted, wherein, cloud computing is Distributed Calculation One kind, a super virtual computer being made up of the computer collection of a group loose couplings.Implementation of the invention In example, can be realized by any communication mode between remote network devices, terminal device and WNS servers Communication, including but not limited to, the mobile communication based on 3GPP, LTE, WIMAX, based on TCP/IP, The computer network communication of udp protocol and the low coverage side of being wirelessly transferred based on bluetooth, Infrared Transmission standard Formula.
It will be appreciated by those skilled in the art that " application ", " application program ", " application software " alleged by the present invention And the concept of similar statement, it is the same concept well known to those skilled in the art, refer to by series of computation Machine instruction and the computer software for being suitable to electronics operation of the organic construction of related data resource.Unless specified, Programming language species, rank are not received in this name in itself, the operating system or platform of operation of also not rely by it Limited.In the nature of things, this genus is not also limited by any type of terminal.
In order to illustrate implementation of the invention, the present invention attempts to combine static and two sides of dynamic of computer program Face is described, so-called static aspect, refers to that program installation kit, file, database are stored in medium Storage object;So-called dynamic aspect, refers to the dynamic object for being transferred and being performed in internal memory, including but do not limit to In process, thread, used data etc..In view of these features of computer software technology, should not be by this Each method, step, sub-step, device, unit, module that invention is addressed etc., is interpreted as in isolation Only static or only dynamic aspect, those skilled in the art should be known this.So, people in the art Member should be corresponded to dynamic Process Movement according to the present invention about static statement, Huo Zheyi Its static form of expression is corresponded to about dynamic Process Movement, it is established that static and dynamic two according to the present invention The certainty association of aspect, understands the present invention based on this.
The present invention will be related to carry the Root of android terminal device power operation, but also should not be limited to Android operation system, those skilled in the art can be with reasonable prediction, such as Ubuntu, Linux etc Operating system, as long as to crack mechanism identical with Android for its rights management, i.e. applicable hair in theory Bright contemplated all schemes, therefore, those skilled in the art should know this upper accommodation of application.
It is related to Root to put forward the know-why of power operation, also in background section introduction, the process of Root Be exactly in fact su files are put into/system/bin/ in, Superuser.apk is put under system/app Face, the former is used for the authority request of monitoring users and is communicated with the latter, and the latter is mainly and is communicating with the former On the basis of realize man-machine interaction, so as to allow user to make related instruction.In theory, if su can be real Now for that can give tacit consent to by all permissions request, then SuperUser.apk can even give up.Additionally need Set/system/bin/su can allow any user can to run, and make it have set uid and set gid's Authority, specifically can be by running order on android machines:adb shellchmod 4755/system/bin/su Just can realize.Certainly, also it is not excluded for change such as its redaction of those skilled in the art using operating system Or the factory setting through artificial modification etc., and cause that shredder system is varied from.However, no matter these break How solution mechanism changes, involved data during cracking, and by code file and runs these files nothing but Etc configuration parameter form the new scheme that cracks, those skilled in the art are appreciated that these are cracked completely Scheme can be integrated and be summarised as the plan document for obtaining Root authority of the invention.Therefore, it is right The understanding of the present invention program file, it is thus understood that cover and all can be used in obtaining with rights management function The code file and its configuration parameter that crack means correlation of the highest authority of operating system, and these codes The intergrant of file and configuration parameter, and be not limited solely to above-mentioned with " su ", " SuperUser.apk " name Or the permitted file realized.Any minimum explains that the attempt of the solution of the present invention file all should be considered as not surpassing Take off spirit of the invention.
As it was previously stated, the concept " allocation plan " that the present invention will be used, can only refer to and be previously used for obtaining The plan document of Root authority, or on the basis of Root plan documents, further combined with correlation Operational factor is configured and obtained, and can also be the directional information such as its URL or text only comprising the plan document The data of part name, regardless of the way of realization of allocation plan, as long as the allocation plan can be used it Program (process) correspondence that power operation is proposed for implementing Root correctly parses normal use.Should know Dawn, when the filename for being directed to information that allocation plan is included, corresponding scheme should be obtained from the machine File, when the link of the information that is directed to, should be suitable from remote download plan document using corresponding URL With it.That is, the form of allocation plan, completely can be by those skilled in the art in process software reality Now, specified according to certain agreement, as long as during use, being carried out just in accordance with same agreement To or reverse alignment processing.These allocation plans are made good use of, just can more efficiently realize that system puies forward power.
Be will be described below of the invention, the system that will be constructed based on a network environment is carried out, such as Shown in Fig. 1, the system includes terminal device (client) and server (high in the clouds), installing terminal equipment There is such as " 360 1 key Root " software, the software realizes the i.e. relevant matching process of one aspect of the present invention With the design of device, feedback method corresponding with the matching process of the invention and device are realized on server Design, and terminal device can be then will by the object of Root such as operation Android operation system Mobile phone.Terminal device can be set by standardized cable such as USB line or radio-link protocol with terminal Standby foundation communicates to connect, and in order to smoothly be communicated with the terminal device, will necessarily be configured in terminal device There is the correlation such as corresponding terminal device driver and adb (Android DebugBridge, Android debugging bridge) The program of instrumental.These implementing procedures can voluntarily detect by the software on terminal device, downloaded completely, Install, also can voluntarily be configured by user, certainly, according to the system principle of Android, mobile phone terminal may be needed Debugging mode is opened in advance, to ensure the proper communication between terminal device and terminal device.It is all such The priori of class, only proposes for the facility of follow-up explanation, is not belonging to influence the scope of implementation of the invention, Do not repeat for this reason.
The theory diagram that the acquisition of the invention shown in Fig. 2 carries the terminal installation of power allocation plan is referred to, Installing terminal equipment such as " 360 1 key Root " software, so that in realizing the recommendation list provided server Allocation plan more effective utilization.The terminal installation includes request unit 21, receiving unit 22, holds Row unit 23 and feedback unit 24.
Described request unit 21, the request for sending the characteristic information comprising the collection of self terminal equipment.Please It is that user is clicked on as schemed after terminal device and terminal device establish connection alleged above to seek unit 21 " a key ROOT " button in graphic user interface shown in 5, that is, trigger the execution of this request unit 21. After user key-press, the user interface is to be switched to shown effect, and whole implementation procedure is shown in lower section Status information.Request unit 21 from connected terminal device, can obtain the spy of the terminal device Reference ceases, and in the present embodiment, adapts to the implementation of above-mentioned server, preferably includes type, CPU types Number, the Event Characteristics information such as system version number, kernel version number, the software of terminal device 2 collects mail and the terminal After the characteristic information of the terminal device of equipment connection, the server is sent it to.
Described receiving unit 22, for obtaining in response to the request comprising for obtaining the terminal device Root authority allocation plan recommendation list 20.Server receives the request of the request unit 21 Afterwards, by according to foregoing implementation, recommendation list 20 is pushed to request unit 21.In recommendation list 20 Comprising the allocation plan being ranked up according to weight and/or success rate via server, receiving unit 22 Receive in the recommendation list 20, according to the agreement with server, allocation plan is parsed.For example, If what allocation plan was included is direct plan document and its runtime parameter, can directly be adjusted as parameter Processed with execution unit 23.And for example, if the URL that allocation plan contains plan document is pointed to Information, receiving unit 22 then first should download corresponding plan document according to the URL, if also comprising fortune Parameter during row, processes with reference to the previous case it.For another example, if allocation plan is contained has prestored or be buffered in this The directional information (such as filename) of terminal device, then can also accordingly parse it, call execution unit 23 straight Tap into capable treatment.In a word, by the treatment of execution unit 23, be possible to allow the allocation plan by Execution unit 23 is effectively utilized, so as to propose power operation for implementation.
Described execution unit 23, is configured to, with least one allocation plan to the terminal device reality Shi Tiquan is operated.Specifically, the execution unit 23 utilizes the plan document pointed by allocation plan, Also include related runtime configuration parameter if necessary, according to putting in order for recommendation list 20, successively pair with The terminal device of terminal device connection carries out examination Root.The process aspect that software is realized is shown, is obtained eventually The operating procedure of the Root authority of end equipment, is that the adb loaded by terminal device software goes refering to described Realize.Realize that the implementation for putting forward power is very universal using the instruction of adb shell, introduced above, Pardon herein and do not repeat.The once examination Root of allocation plan of execution unit 23 pair, no matter success or not, Terminal device software can obtain the result data of examination Root, and these result datas will be fed back to server. Execution unit 23 is based on matching somebody with somebody after each bar is parsed during Root is tried according to the order of recommendation list 20 Scheme is put to implement to propose power operation to the acquisition Root authority of the terminal device successively.Certainly, in order to simultaneous The implementation effect of terminal device is turned round and look at, if wherein one allocation plan can successfully obtain terminal device Root authority, realization puies forward power, then remaining follow-up allocation plan will no longer be carried out and propose power operation.
Described feedback unit 24, is configured to respond to the recommendation list 20 and postbacks the configuration having been carried out Whether scheme successfully puies forward the data of power.As it was previously stated, execution unit 23 has attempted to implement for each Whether carrying the allocation plan of power operation can obtain the result of its Root authority for successfully obtaining terminal device Data, this feedback unit 24 is further formatted to the result data, is processed into comprising the configuration Scheme, characteristic information, the form of success or not are sent to server, by server by utilizing by these number of results Be used with doing statistics in type record sheet according to be recorded.
Coalignment of the invention, it is clear that also imply the method that a kind of acquisition of the invention carries power allocation plan, Explained below in conjunction with to the matching process, to introduce the present invention in the way of being realized closer to program The relevant example for utilizing.
It is of the invention to carry power allocation plan matching process, comprise the following steps:
S21, the request for sending the characteristic information comprising the collection of self terminal equipment.
Implement the premise of this step, be that terminal device is connected with terminal device foundation, thus can obtain Terminal device including including type, CPU models, system version number, kernel version number it is various specially The characteristic information of item, request is packaged into according to the agreement with server by this this characteristic information, please by this Transmission is asked to cloud server, so that server receives the request from corresponding listening port.
S22, obtain in response to the request the configuration comprising the Root authority for obtaining the terminal device Scheme recommendation list 20.
With reference to understanding above, after server obtains the request, by using the framework of realizing of itself, look into first One or more allocation plans corresponding with those characteristic informations are found, when for multiple allocation plans, is entered One step utilizes its ordering rule, and these allocation plans are ranked up, and forms the allocation plan after sequence and recommends List 20.The recommendation list 20 is pushed to the requesting party's terminal device for sending the request.Thus, this step Suddenly this recommendation list 20 is received, the recommendation list 20 is parsed according to the agreement with server, Allocation plan therein and its sequencing information are obtained, allocation plan therein either directly includes plan document, Or the directional information comprising plan document, or even when being further used to perform examination Root comprising plan document Runtime parameter etc., can be parsed according to the agreement by this receiving unit 22, or follow-up step Suddenly allocation plan is directly utilized.
S23, using at least one allocation plan to the terminal device implement carry power operation.
The implementation of this step, is the sequence according to allocation plan in the recommendation list 20 under default situations Carry out.
By test one by one the allocation plan whether can successfully obtain the Root authority of terminal device come Realize the utilization to the configuration information.In this course, as long as there is the allocation plan can successfully to obtain The Root authority of terminal device is taken, that is, the examination Root for terminating follow-up remaining allocation plan is implemented.Meanwhile, Terminal device is implemented to put forward the process of power operation, refers to described previously, be omitted herein.
S24, postback the data whether allocation plan having been carried out successfully puies forward power in response to the recommendation list 20.
Every allocation plan is used for implementation and carries whether power operation can succeed, and can as previously described be formatted into knot Fruit data, cloud server is sent to by this result data again, can be carried out with secondary server relevant The history of allocation plan uses the collection of data, and the allocation plan such that it is able to improve cloud server is preferred Efficiency.As for determining whether allocation plan successfully obtains system Root authority, can be referred to by calling su Make realizing, those skilled in the art know this principle.
As can be seen that of the invention carry power allocation plan matching process and device, inherently to the present invention The corresponding utilization of power allocation plan feedback method and device in terminal device is proposed what server was realized. The Root that terminal device carries out attempting obtaining terminal device using the allocation plan in recommendation list one by one is weighed The trial of limit, until successfully obtaining.
Have been carried out carrying the allocation plan of power operation for every, terminal device will characterize whether it successfully obtains The data of weighting limit, the characteristic information together with terminal device is packaged into result data and is uploaded to the allocation plan Server, so as to critical datas such as further success rate, weights for optimizing server.It is of the invention this two Individual aspect is worked in coordination, it is possible to achieve one more efficiently for obtaining the Root authority of terminal device System.Hereinafter briefly explain how correlation technique and device of both the present invention cooperate and make the present invention again Described system give full play to its effect.
Specifically, the allocation plan in server data table on probation is matched somebody with somebody from what terminal device was provided The result data of scheme is put, the result data will be processed into the statistical number in the tables of data such as success rate, weight Value, can be from which further followed that comprising the allocation plan recommendation list 20 after sequence using those statistics, and The recommendation list 20 is supplied to terminal device to be utilized again.It is first for the user of terminal device First to the server request recommendation list 20, server lookup allocation plan table obtains allocation plan, then It is ranked up according to intrinsic rule, the allocation plan recommendation list 20 that formation is optimized is pushed to terminal device. Terminal device is implemented to propose power operation according to each bar allocation plan in the recommendation list 20 to terminal device, until Terminal device is carried to be weighed successfully, untill obtaining Root authority.Terminal device is for every examination of allocation plan Root results, the result data that being formatted into server can recognize feed back to server carry out it is foregoing Utilization.
The terminal device software realized using system of the invention, can be further coupled in other softwares, Or be incorporated therein the function of other softwares.For example, the present invention can obtain Root in terminal device After authority, the management of authority request is realized based on the service processes that Root authority is run by implantation Subsequent instructions after (similar to the function that described SuperUser.apk is realized) and rights management are performed. When the present invention realizes the authority request open system Root authority that the related service process of rights management is application Afterwards, you can sent to the service processes from user program process and instructed, for example:Perform preset application unloading, The installation or unloading that perform application program, the backup or reduction for performing application data, perform application program and open With or disabling etc., perform internal memory or cache cleaner function etc..Further it is configured to by service processes The function of these functions is performed, the instruction of consumer process just can be parsed by service processes, called and user's mesh The mark corresponding function of function, realizes corresponding function, so as to solve user's further need.
In sum, the present invention can provide the user more efficiently terminal device system highest authority acquiring Scheme.
Further, implementing for the cloud server in the system of the invention is disclosed, the present invention is thereby disclosed A kind of allocation plan provide method and apparatus embodiment.It is of the invention carry power allocation plan feedback method and Of the invention to carry power allocation plan device, with one-to-one corresponding property, the latter is the former modular implementation, because This, is the simplification for illustrating, the method has been merged in following segment word combination and device is illustrated.This area Technical staff should be understood this literal accommodation, should not be described as limiting method and apparatus depending on following Independence.
Refer to the theory diagram that the offer of the invention shown in Fig. 4 carries the server of power allocation plan, the figure Disclosing the device includes acquiring unit 11, searching unit 12, sequencing unit 13, push unit 14, collection Unit 15 and updating block 16.
Described acquiring unit 11, the request for obtaining the characteristic information comprising terminal device.Described end End equipment, refers to the terminal device where the characteristic information included in the request, and should not be construed as such as Fig. 1 Shown mobile phone terminal.Certainly, if if described one can be installed in mobile phone terminal in one embodiment Key Root installation softwares, the direct-connected relation set up between mobile phone terminal and cloud server, then in theory, Can deduce that the terminal device refers to mobile phone terminal.The present invention is to make the structure of narration more orderly, only with Fig. 1 Disclosed embodiment is defined and illustrates.
One in described characteristic information, including type, system version number, kernel version number, CPU models Plant or any various.Terminal device has all multicharacteristic informations, it is not limited to which listed here is several.This The standard of the selected characteristic information of embodiment, is with can be with identification terminal equipment for obtaining using these information The allocation plan of the Root authority of its system is defined.Therefore, characteristic information it is selected be it is very flexible, For example, pointed to when recognizing that it dispatches from the factory using No. SN of terminal device and IMEI number state (such as manufacturer, The place of production, sales region etc.), manufacturer and its specific series can be recognized using the type of terminal device, utilize System version number and kernel version number can recognize the software environment of the terminal device, and utilize CPU types Number can further judge correctness of type etc..The preferred type of emphasis of the present invention, system version number, kernel The special project such as version number and CPU models, mainly in view of one or more utilized in this several model, Just ROM that its terminal device used can be determined in the range of certain, and (i.e. it is whole in addition to bootstrap Individual systems soft ware environment), the corresponding plan document for being used to obtain Root authority can be selected accordingly.More than Special project would generally be documented in android system, and relevant information is can see from the setting page of system, Can be directly read with instruction by software of the invention.When implementing the present invention, the special number for being used is got over It is many, determine that the scope of the plan document is just smaller in theory, effect is just more accurate, and amount of calculation is also fewer. If for example, only carry out selection scheme file with the type of mobile phone, due to the mobile phone may by system upgrade, System version number and the kernel version number is caused all to there occurs change, the Root authority after just upgrading is cracked Mode is preceding with upgrading inconsistent, in this case, only goes out substantial amounts of plan document with Unit-type sclection, wherein absolutely Most or all are probably invalid, no matter for terminal device or cloud server, its calculating Amount is larger.If choosing three above (such as type, system version number and CPU) or four Special project, the then plan document that it is pointed to is just more accurate, and plan document quantity is fewer, then amount of calculation is also lower, Operational efficiency is just higher.Certainly, also software will be realized proposing more details requirement.
To the further announcement of searching unit of the invention 12 and sequencing unit 13, it is necessary to reference to the present invention Database constructed in server is carried out beyond the clouds, therefore below by way of an instantiation first to the present invention The structure of database 10 realized is illustrated.
The present invention is built with three tables of data in a database 10, is respectively allocation plan table, study Table, and type record sheet.The structure of the allocation plan table is referred to shown in the table 1 of lower section:
Type system version number CPU model kernel version allocation plans
The valiant imperial 800 3.0.3-abc URL 1 of the 4.0.4 of Note 3
The valiant imperial 800 3.1.0-xyz URL 2 of the 4.2.0 of Note 3
The valiant imperial 801 4 core 3.04-pert URL 3 of Xshot 710 4.3
The valiant imperial 800 3.1.0-xyz URL 3 of Note 3 4.3
Table 1 is mainly used in showing the table structure of allocation plan table, it is necessary to illustrate, though the allocation plan Its storage content is so shown in the form of URL, if it is to be understood by those skilled in the art that configuration side Case includes multiple data fields arranged side by side, or the field that it sets corresponding number comes configuration side extending transversely Case table.Such accommodation belongs to the known technology of database 10, does not repeat for this reason.Table 1 can also be according to reality Border need add other be conducive to raising program to realize the field of efficiency, without that should be limited by the present embodiment.
Lower section table 2 is learning table of the invention:
Allocation plan weight
URL 1 50
URL 2 70
URL 3 90
Two fields that the present invention pays close attention to the most, i.e. allocation plan and weight are only shown in learning table, similarly, Those skilled in the art can add other for this can optimize the relevant field of program efficiency.Weight therein, Numerical value is higher, and its importance is also higher, otherwise then lower.The basis of weight is derived from type note Record table.
Table 3 below discloses the table structure of the type record sheet of the present embodiment:
Allocation plan type number of success frequency of failure success rate
The Note 337 30% of URL 1
The Note 364 60% of URL 2
The Xshot 710 73 70% of URL 3
The Note 355 50% of URL 3
Type record sheet, mainly map out particular configuration scheme carried out Root trials on certain type Number of success and the frequency of failure, and these original history are gathered and recorded the table using numerical value, And every allocation plan of statistics is for the success rate of the history trial of certain type.Really, in other embodiment In, those skilled in the art in order to pursue precise effect, can also for the table increase such as CPU models, The fields such as system version number so that every described information of record is more refined, but, the present embodiment phase For other alternate embodiments, the more excellent counterbalance effect of system operations amount, terseness and accuracy is embodied.
As it was previously stated, the weight in learning table is drawn by the success rate of type record sheet, this is to statistics Application.The success rate in type record sheet is counted using the result data of terminal device, and is utilized Success rate data in type record sheet counts weighted value in learning table and corresponding renewal learning table The process of weighted value, can be realized by the additional updating block 16 of the present invention.As the first statistic, Success rate in type record sheet, can be foundation according to particular configuration scheme and specific model, directly calculate The number of success of the record where them draws relative to the percentage of total number of attempt.Type record sheet Data are that the data of the trial Root that user produces constantly are gathered by high in the clouds and generation is recorded,
Therefore, described weight, can be fixed according in such as one week in certain hour, using simple algorithm Phase is processed and draws to the data in described type record sheet, is used as the second statistic.Tool Disclosed in data in for example foregoing each table of body, allocation plan URL 3 due in type record sheet to not Produce 70%, 50% success rate respectively with machine, therefore, weight 90 higher is assigned, and URL 2 is only 60% success rate has been got on a kind of type, therefore, can assign its 70 weight, URL 1 due to Its success rate is minimum and assigns its 50 weight.According to type record sheet statistical learning table weight it is specific Algorithm, can flexibly be set by those skilled in the art, for example, can set when same allocation plan is applicable When a type, its weighted value is the product of radix 100 and its success rate, when simultaneously it is applied to second During individual type, then its weight lifts 20 units, by that analogy.Certainly, explanation example is these are only, Description data about algorithm are not required to corresponding with the data of foregoing each table, realize the specific algorithm of weight calculation not Should be construed as limiting the invention.
Believe by disclose allocation plan table, learning table that the present embodiment maintenance data storehouse 10 technology realizes with And type record sheet, just can have a taste of the general picture of realization approach of the invention.Enter in conjunction with each specific unit below Row more detailed description.
Described searching unit 12, is configured as being searched comprising for obtaining Root according to the characteristic information The allocation plan of authority.In this unit, after the characteristic information request received by acquiring unit 11 is resolved, Just specific special project therein can be obtained, such as with reference to table 1, can obtain type therein, CPU models, The special characteristic information such as system version number, kernel version number.Carried out in table 1 using these characteristic informations Database 10 is searched, and just can obtain corresponding allocation plan.It is the facility for illustrating, in the present embodiment, if If only one thus just can be retrieved for keyword is retrieved with the type " Note 3 " that is included in characteristic information Individual allocation plan list is as shown in table 4:
Sequence number allocation plan
1 URL 1
2 URL 2
3 URL 3
Note that wherein URL3 is not only suitable for type Note 3 and is also applied for type XShot 710, but In this search procedure, XShot 710 is originally will not relate to due to only being searched with type, therefore when searching Related record.In the present invention, by above-mentioned allocation plan list be sent to initiate request terminal device it Before, by ranked optimization.
Described sequencing unit 13, i.e., carried out for the allocation plan list drawn to foregoing searching unit 12 Sequence, the foundation of sequence is that foregoing history uses data, and being formed after sequence will be pushed to requesting party's Recommendation list comprising the allocation plan for finding.
The utilization of data is used history referred to herein, and comprising three levels, first level is type note Record table in initial data, i.e., trial and success of the every allocation plan on every kind of type whether gained it is relevant Number of success, the rough estimates data of the frequency of failure, these initial data can be single by collection of the invention Unit 15 gathers and obtains to terminal device, naturally it is also possible to artificial addition and modification, is particularly provided for the first time When table data need to assign part initial value or test, can provide part artificial initial data.Second Level is the utilization to the first foregoing statistic, that is to say, that by every allocation plan in phase Number of success in the case of same type machine and the frequency of failure are added up, with the percentage of number of success and total number of attempt As success rate, success rate is considered as history and uses one of data, be used as the basis of present invention sequence.3rd Individual level is the utilization to foregoing second statistic, specifically, be pass through in the range of certain hour into The described success rate of one step statistics obtains the weighted value of each scheme.The present invention depends on these three layers History on secondary uses data, but when specific procedure is realized sorting, then specifically with second, third level History is used based on data, i.e., with the signified success rate of first statistic and the second statistic institute It is ranked up based on the weight of finger.This thinking will be presented as three realities of sequencing unit of the invention 13 Example is applied, is referred to and is illustrated further below.
In the first embodiment of sequencing unit of the invention 13, the type record sheet can be depended directly on In success rate, each bar allocation plan in the allocation plan list obtained to searching unit 12 arranges Sequence, obtains such as table 5 below:
Sequence number allocation plan
1 URL 2
2 URL 3
3 URL 1
In the second embodiment of sequencing unit of the invention 13, the type record sheet can be depended directly on In weight, each bar allocation plan in the allocation plan list obtained to searching unit 12 is ranked up, Obtain such as table 6 below:
Sequence number allocation plan
1 URL 3
2 URL 2
3 URL 1
In the 3rd embodiment of sequencing unit of the invention 13, can enter according to weight and success rate simultaneously Row sequence, for example, the result shown in table 6 is first obtained with weight sequencing, if running into the numerical value that weight is mutually worth, Then two can be carried out to the allocation plan with equal weight further with the success rate in type record sheet Minor sort.Due to not providing weight identical allocation plan example in above-mentioned each table, thus implement the present embodiment and The allocation plan list of acquisition also will be as shown in table 6.
The result that the allocation plan list that sequencing unit 13 pairs finds is obtained after being ranked up, as this hair The bright allocation plan recommendation list for being sent to the terminal device for initiating request.
Described push unit 14, is configured to respond to the request and pushes comprising the allocation plan after sequence Recommendation list.The request for being responded designated herein, refers to initiate the request comprising characteristic information, therefore, In response to pushing away that the terminal device in the push that the request is carried out, namely the system of response example of the present invention is carried out Send, as the response for the request.The purpose of push unit 14 is to process sequencing unit 13 The final allocation plan recommendation list for obtaining is sent to terminal device, so that terminal device obtains recommendation row After table, the recommendation list can be parsed, be extracted the plan document of its allocation plan for being included, with The terminal device that this pair is connected with the terminal device implements Root and proposes power operation.What terminal device was obtained pushes away It is, by sequence, there is stronger specific aim to recommend list, therefore, obtain the successful rate theory of Root authority On will be improved.If additionally, searching unit of the invention 12 does not find effectively can be used for Root Allocation plan when, also can from the push unit 14 directly to initiate request terminal device return characterize nothing The response content of allocation plan.
Address above, the source mode of described type record sheet there are two kinds, one is can manually add, The second is the data of acquisition terminal equipment.To adapt to latter event, the present invention is further by providing collection Unit 15 is aided with realization.
Described collecting unit 15, for gathering and preserve characterize be pushed after the recommendation list included Allocation plan whether successfully obtain Root authority result data, using the result data as the history Use data.
Specifically, in the present embodiment, the key Root softwares on terminal device are obtaining recommendation list simultaneously During trying Root to connected terminal device 8 with allocation plan therein, if matched somebody with somebody with one The plan document (if necessary including related operational factor) pointed by scheme is put, it is right by calling adb to instruct Terminal device carry out obtain its Root authority trial, if successfully obtained, to for its provide described in The cloud server of recommendation list feeds back a result data, is removed comprising the allocation plan in the result data Outward, comprising characteristic information of the invention and can represent that Root is successful
Data;Similarly, if obtaining authority failure, a result data is fed back to the cloud server, In the result data in addition to comprising characteristic information, also comprising the data for representing Root failures.Spy therein Reference ceases, mainly in response to type record sheet the need for and to provide different characteristic informations special, also may be used certainly More features information special project is more at large provided to be used so that server improves each table data, but, adapt to The table structure of the type record sheet disclosed in table 3, it can be seen that allocation plan, type the two special projects exist It is crucial in disclosed previous embodiment.Collecting unit 15, calls a updating block 16, According to the result data for receiving, found in type record sheet and be consistent with the characteristic information in result data Record, the then number of success or the frequency of failure associated to its, and success rate does the renewal of adaptability. To corresponding number of success or the frequency of failure, carry out cumulative or regressive, to described success rate, then also in accordance with Corresponding number of success and the frequency of failure are calculated and obtained.Thus it can also be seen that relative to weight, it is described into Power is more real-time data.
By the effect of collecting unit 15, just can acquisition terminal equipment user's result data, and by those Result data uses data to be used as the history needed for implementing the present invention.
It is pointed out that the updating block 16 of the present embodiment, realizes both sides function, that is, utilize Success rate in terminal device result data statistics type record sheet, and using in type record sheet into The weight that power statistic goes out in learning table.In other embodiments, this two parts function can be subdivided into two Submodule, and independently realize.For example, can timing independent operating, use for the module of statistical weight In statistics success rate module can directly in the collecting unit 15 realization, it follows that it is described more New unit 16 is the summary to the statistical function to be realized of the invention, and it is understood, should not limit this The flexible realization of inventive embodiment.
The result data of the multiple users on internet can be in real time received due to cloud server, so, The data in database 10 on cloud server will be entered with big data advantage according to these result datas The numerical value such as formed weight, success rate are dug in capable foregoing deep-cutting, and contribute to further raising to be preferred for The intelligence degree of the allocation plan of terminal device.
In order to illustrate the operation for carrying power allocation plan feedback device of the invention, below by of the invention Power allocation plan feedback method is carried to be described further.
It is of the invention to carry power allocation plan feedback method, refer to shown in Fig. 5, comprise the following steps:
S11, the request for obtaining the characteristic information comprising terminal device.
Cloud server monitors the relevant acquisition configuration side that internet terminal equipment is initiated in its listening port The request of case recommendation list, these requests are obviously equipped with the software of such as described " 360 1 key Root " Initiate, the characteristic information in the request is that the terminal being connected with terminal device sets in the present embodiment Standby ownship information, comprising type, CPU models, system version number and kernel version number.
S12, searched comprising for obtaining the allocation plan of Root authority according to the characteristic information.
This step is mainly the allocation plan related to the characteristic information is retrieved in foregoing table 1.It is such as preceding It is described, needed according to the available accuracy of programming, the relevant special project in characteristic information extraction, such as type With system version number, retrieved in foregoing allocation plan with these special projects, the table 4 will be obtained Not ranked result.
S13, the allocation plan according to the history preserved by the allocation plan using data to finding enter After row sequence, the recommendation list comprising the allocation plan for finding is formed.
Refering to preceding description, it will be understood that this step includes numerous embodiments, specifically includes:By reading The weight in learning table is taken, the result of acquisition table 6 is ranked up to table 4 with weight;Learnt by reading Success rate in table, the result of acquisition table 5 is ranked up with success rate to table 4;And, by reading Weight in learning table is used as second as the first sort field by reading the success rate in type learning table Sort field, is ranked up to table 4 on this basis, for weight identical allocation plan, adapt to its into Power carries out two minor sorts, so as to obtain allocation plan recommendation list as shown in table 6.
S14, the recommendation list that the allocation plan after including sequence is pushed in response to the request.
This step as it was previously stated, for the recommendation list after the sequence to be sent into terminal device, for end End equipment carries out the trial of user's Root authority acquisition.
S15, gather and preserve characterize the allocation plan that is included of the recommendation list after being pushed whether into Work(obtains the result data of Root authority, and data are used using the result data as the history.
As it was previously stated, cloud server further tries out recommendation list in its listening port monitor terminal equipment In allocation plan after return result data, then the result data is applied in type record sheet. In the section Example of the disclosure above, what is included for every result data is relevant with an allocation plan Result data, can directly using the result data computer type record sheet number of success or the frequency of failure, And directly count its related success rate and update it.In the further embodiment of the disclosure above, system The calculating process of success rate is counted, can be realized by calling external function.Therefore, this step obviously also may be used Two sub-steps are separated on demand, are respectively the step of realizing to the collection of result data and in gathered data On the basis of statistics sub-step.
S16, the weight gone out in learning table using the successful rate statistics in type record sheet.
The step of this step and non real-time triggering, that is to say, that step S15 not necessarily causes S16's Operation.Specifically, can trigger the operation of this step by a timer, the timer be in order to Ensure that this step had been spaced operation with such as one day regular hour or one week, by running this step, should Relevant contract algorithm is used, the foregoing statistics about weight is realized, so as to realize the renewal of the learning table data.
It is appreciated that in some cases, in step S15 about success rate statistics sub-step and this step Rapid can be successive triggering.
Above-mentioned each step of this method is observed, the server realized by the present invention is substantially disclosed The operational process of program example, the operational process obviously, based on allocation plan, constitutes the letter of closed loop Whether breath flow relation, the effective data source of allocation plan, in terminal device, is also finally terminal device clothes Business, is based only on cloud principle, and the result may be not provided using the terminal device of the result data The terminal device of data.
The above is only some embodiments of the invention, it is noted that common for the art For technical staff, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, These improvements and modifications should also be within the scope of the present invention.
The present invention provides A1, a kind of root methods of terminal device, and the method includes:
Obtain the characteristic information of terminal device;
Obtained to server send configuration scheme based on the characteristic information and asked;
The allocation plan matched with the characteristic information is obtained from server, the allocation plan is included to be used for Obtain the configuration information of root authority;
Terminal device performs the allocation plan, to obtain root authority.
A2, the method according to A1,
The step:The allocation plan matched with the characteristic information is obtained from server, specially:From Server is obtained and states multiple allocation plans that characteristic information matches, and the multiple allocation plan has to be recommended Sequentially;
The step:Terminal device performs the allocation plan, to obtain root authority, specially:Terminal Equipment performs allocation plan according to the recommendation order, to obtain root authority.
A3, the method according to A2, the method also include:
After terminal device has often performed an allocation plan, it is determined whether successfully obtain root authority;
If successfully obtaining root authority, stop performing next allocation plan.
A4, the method according to A1 or A, the method also include:
Whether acquisition tables successfully obtain the feedback coefficient of root authority after performing the allocation plan up to terminal device According to, and the feedback data is reported into server.
B5, a kind of terminal device, the terminal device include:
Characteristic acquisition unit, the characteristic information for obtaining terminal device;
Transmitting element, is asked for being obtained to server send configuration scheme based on the characteristic information;
Receiving unit, it is described to match somebody with somebody for obtaining the allocation plan matched with the characteristic information from server Put scheme and include the configuration information for obtaining root authority;
Execution unit, for performing the allocation plan, to obtain root authority.
B6, the terminal device according to B5, are further characterized in that, the receiving unit is used to be obtained from server Multiple allocation plans that characteristic information matches are taken and state, the multiple allocation plan has recommendation order, institute State execution unit and perform the allocation plan according to the recommendation order, to obtain root authority.
B7, the terminal device according to B6, the terminal device include:
Whether Root authority condescends to inquire unit, for after an allocation plan is performed, inquiring about the terminal device Success obtains root authority, if successfully obtaining root authority, under notifying that the execution unit stops performing One allocation plan.
B8, the terminal device according to B7, the terminal device include:
Perform feedback unit, the Query Result for condescending to inquire unit according to the Root authority, record configuration The allocation plan of successful allocation plan and configuration failure, and by the letter of allocation plan configuration successful and failure Breath is sent to server.
C9, a kind of collocation method, including:
Obtain the request of the characteristic information comprising terminal device;
Searched comprising the allocation plan for obtaining Root authority according to the characteristic information;
Allocation plan according to the history preserved by the allocation plan using data to finding is arranged Sequence, and recommendation tables are formed, content information and find that the recommendation tables include the allocation plan for finding Allocation plan sequencing information;
Response pushes the recommendation tables with the request.
C10, the method according to C9, the history are that terminal device performs the configuration using data The historical record of the implementing result of scheme.
D11, a kind of server, including
Acquiring unit, the request for obtaining the characteristic information comprising terminal device;
Searching unit, is configured as being searched comprising for obtaining matching somebody with somebody for Root authority according to the characteristic information Put scheme;
Sequencing unit, being configured as the allocation plan according to the history for preservation using data to finding is carried out Sequence, and recommendation tables are formed, the recommendation tables include content information and the lookup of the allocation plan for finding The sequencing information of the allocation plan for arriving;
Allocation plan push unit, is configured to respond to push the recommendation tables with the request.
D12, the server according to D11, the server include
First memory cell, for storage configuration scheme;
Second memory cell, the history for storing each allocation plan uses data;
Unit, the history according to each allocation plan is that the allocation plan calculates weight using data, The weight as formed allocation plan recommendation list factor.

Claims (10)

1. a kind of root methods of terminal device, it is characterised in that the method includes:
Obtain the characteristic information of terminal device;
Obtained to server send configuration scheme based on the characteristic information and asked;
The allocation plan matched with the characteristic information is obtained from server, the allocation plan is included to be used for Obtain the configuration information of root authority;
Terminal device performs the allocation plan, to obtain root authority.
2. method according to claim 1, is further characterized in that,
The step:The allocation plan matched with the characteristic information is obtained from server, specially:From Server is obtained and states multiple allocation plans that characteristic information matches, and the multiple allocation plan has to be recommended Sequentially;
The step:Terminal device performs the allocation plan, to obtain root authority, specially:Terminal Equipment performs allocation plan according to the recommendation order, to obtain root authority.
3. method according to claim 2, is further characterized in that, the method also includes:
After terminal device has often performed an allocation plan, it is determined whether successfully obtain root authority;
If successfully obtaining root authority, stop performing next allocation plan.
4. method according to claim 1 and 2, is further characterized in that, the method also includes:
Whether acquisition tables successfully obtain the feedback coefficient of root authority after performing the allocation plan up to terminal device According to, and the feedback data is reported into server.
5. a kind of terminal device, it is characterised in that the terminal device includes:
Characteristic acquisition unit, the characteristic information for obtaining terminal device;
Transmitting element, is asked for being obtained to server send configuration scheme based on the characteristic information;
Receiving unit, it is described to match somebody with somebody for obtaining the allocation plan matched with the characteristic information from server Put scheme and include the configuration information for obtaining root authority;
Execution unit, for performing the allocation plan, to obtain root authority.
6. terminal device according to claim 5, is further characterized in that, the receiving unit be used for from Server is obtained and states multiple allocation plans that characteristic information matches, and the multiple allocation plan has to be recommended Sequentially, the execution unit performs the allocation plan according to the recommendation order, to obtain root authority.
7. terminal device according to claim 6, is further characterized in that, the terminal device includes:
Whether Root authority condescends to inquire unit, for after an allocation plan is performed, inquiring about the terminal device Success obtains root authority, if successfully obtaining root authority, under notifying that the execution unit stops performing One allocation plan.
8. terminal device according to claim 7, is further characterized in that, the terminal device includes:
Perform feedback unit, the Query Result for condescending to inquire unit according to the Root authority, record configuration The allocation plan of successful allocation plan and configuration failure, and by the letter of allocation plan configuration successful and failure Breath is sent to server.
9. a kind of collocation method, it is characterised in that including:
Obtain the request of the characteristic information comprising terminal device;
Searched comprising the allocation plan for obtaining Root authority according to the characteristic information;
Allocation plan according to the history preserved by the allocation plan using data to finding is arranged Sequence, and recommendation tables are formed, content information and find that the recommendation tables include the allocation plan for finding Allocation plan sequencing information;
Response pushes the recommendation tables with the request.
10. the method according to right wants 9, the history is to match somebody with somebody described in terminal device is performed using data Put the historical record of the implementing result of scheme.
CN201510982476.4A 2015-12-23 2015-12-23 A kind of root methods of terminal device, collocation method, terminal device and server Pending CN106909412A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510982476.4A CN106909412A (en) 2015-12-23 2015-12-23 A kind of root methods of terminal device, collocation method, terminal device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510982476.4A CN106909412A (en) 2015-12-23 2015-12-23 A kind of root methods of terminal device, collocation method, terminal device and server

Publications (1)

Publication Number Publication Date
CN106909412A true CN106909412A (en) 2017-06-30

Family

ID=59206173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510982476.4A Pending CN106909412A (en) 2015-12-23 2015-12-23 A kind of root methods of terminal device, collocation method, terminal device and server

Country Status (1)

Country Link
CN (1) CN106909412A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107728888A (en) * 2017-10-26 2018-02-23 竞技世界(北京)网络技术有限公司 A kind of android terminal virtual key implementation method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102810066A (en) * 2011-06-03 2012-12-05 北京千橡网景科技发展有限公司 Terminal adapting method and terminal and server based on terminal characteristic configuration program
CN103324482A (en) * 2013-06-27 2013-09-25 苏州创智宏云信息科技有限公司 Android one-key root permission software
CN104346576A (en) * 2014-12-01 2015-02-11 北京奇虎科技有限公司 Methods for feedback and matching of privilege escalation configuration information as well as corresponding devices
CN104348628A (en) * 2014-12-01 2015-02-11 北京奇虎科技有限公司 Method and device for obtaining local Root authority
EP2902923A1 (en) * 2013-12-18 2015-08-05 Sun, Yanqun Search engine ranking method based on user participation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102810066A (en) * 2011-06-03 2012-12-05 北京千橡网景科技发展有限公司 Terminal adapting method and terminal and server based on terminal characteristic configuration program
CN103324482A (en) * 2013-06-27 2013-09-25 苏州创智宏云信息科技有限公司 Android one-key root permission software
EP2902923A1 (en) * 2013-12-18 2015-08-05 Sun, Yanqun Search engine ranking method based on user participation
CN104346576A (en) * 2014-12-01 2015-02-11 北京奇虎科技有限公司 Methods for feedback and matching of privilege escalation configuration information as well as corresponding devices
CN104348628A (en) * 2014-12-01 2015-02-11 北京奇虎科技有限公司 Method and device for obtaining local Root authority

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107728888A (en) * 2017-10-26 2018-02-23 竞技世界(北京)网络技术有限公司 A kind of android terminal virtual key implementation method
CN107728888B (en) * 2017-10-26 2020-02-18 竞技世界(北京)网络技术有限公司 Virtual key implementation method for android terminal

Similar Documents

Publication Publication Date Title
CN101334792B (en) Personalized service recommendation system and method
CN104346559B (en) Authority request response method and corresponding device
CN104462879A (en) Root-free running control method and device of application program
CN104348628A (en) Method and device for obtaining local Root authority
CN104408367A (en) Application program configuration method and device
CN102880501A (en) Realizing method, device and system for recommending applications
CN104376255A (en) Application program running control method and device
CN104346576A (en) Methods for feedback and matching of privilege escalation configuration information as well as corresponding devices
CN104462880A (en) Application program packing configuration method and device
CN104580203A (en) Website malicious program detection method and device
CN105373293A (en) Data acquisition method and apparatus
CN112989157A (en) Method and device for detecting crawler request
CN105427179A (en) Internet agricultural technology service method and system based on WeChat platform
CN110502692A (en) Information retrieval method, device, equipment and storage medium based on search engine
GB2581105A (en) Page accessing method and system for terminal
CN112800197A (en) Method and device for determining target fault information
CN114580794B (en) Data processing method, apparatus, program product, computer device and medium
CN108762846A (en) Plug-in unit real-time recommendation method, server and computer readable storage medium
CN105553770A (en) Data acquisition control method and device
CN105653580A (en) Feature information determination and judgment methods and devices as well as application method and system thereof
CN107294905A (en) A kind of method and device for recognizing user
JP7383176B2 (en) Video data acquisition methods, equipment, electronic devices and storage media
CN106909412A (en) A kind of root methods of terminal device, collocation method, terminal device and server
CN109829821A (en) A kind of abnormal processing method of digital asset address transfer, apparatus and system
CN109905366A (en) Terminal device safe verification method, device, readable storage medium storing program for executing and terminal device

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: 20170630

RJ01 Rejection of invention patent application after publication