WO2017185455A1 - 一种Root检测处理的方法、装置以及终端 - Google Patents

一种Root检测处理的方法、装置以及终端 Download PDF

Info

Publication number
WO2017185455A1
WO2017185455A1 PCT/CN2016/084064 CN2016084064W WO2017185455A1 WO 2017185455 A1 WO2017185455 A1 WO 2017185455A1 CN 2016084064 W CN2016084064 W CN 2016084064W WO 2017185455 A1 WO2017185455 A1 WO 2017185455A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
partition information
system partition
terminal
root
Prior art date
Application number
PCT/CN2016/084064
Other languages
English (en)
French (fr)
Inventor
朱蕊
陈龙
Original Assignee
宇龙计算机通信科技(深圳)有限公司
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 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Publication of WO2017185455A1 publication Critical patent/WO2017185455A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • G06F21/577Assessing vulnerabilities and evaluating computer system security
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/03Indexing scheme relating to G06F21/50, monitoring users, programs or devices to maintain the integrity of platforms
    • G06F2221/034Test or assess a computer or a system

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to a method, an apparatus, and a terminal for root detection processing.
  • root tools such as root master and brush wizard to get the root permission of the communication terminal and install some things they want.
  • the user does not know to use the market. Whether the generated root tool succeeds in rooting the communication terminal; on the other hand, after the communication terminal is successfully rooted, the user can modify any file including the system file in the communication terminal, if the user Inadvertently deleting the system file may cause the communication terminal to fail to boot, causing unnecessary trouble to the manufacturer, or even causing the return, affecting the sales of the communication terminal.
  • the technical problem to be solved by the embodiments of the present invention is to provide a method, a device, and a terminal for the root detection processing, which can conveniently and quickly detect whether the terminal has performed a root, and also improve the practicability of the root detection processing to a certain extent.
  • an embodiment of the present invention provides a method for root detection processing, where the method includes:
  • the method further includes:
  • Each terminal has unique identification information, and the verification system partition information of each terminal corresponds to the unique identification information.
  • the determining whether the acquired target system partition information is the same as the preset target verification system partition information including:
  • the method further includes:
  • the determined system partition information of the determined target terminal is recorded.
  • the method further includes:
  • the embodiment of the present invention provides another method for root detection processing, where the method includes:
  • the sending, to the server, the obtained target system partition information includes:
  • the obtained target system partition information breakpoint is continuously transmitted to the server.
  • the method further includes:
  • the target terminal is restored or upgraded according to the obtained system differential data packet.
  • an embodiment of the present invention provides an apparatus for root detection processing, where the apparatus includes:
  • An obtaining module configured to acquire target system partition information stored in the target terminal for performing root detection processing
  • a determining module configured to determine whether the target system partition information acquired by the acquiring module is the same as the preset target verification system partition information
  • the first processing module is configured to: if the determining module determines that the target system partition information is different from the target verification system partition information, the target terminal is detected to have performed a root.
  • the device further includes:
  • a preset module configured to preset at least one verification system partition information for detecting whether the terminal has performed Root;
  • Each terminal has unique identification information, and the verification system partition information of each terminal corresponds to the unique identification information.
  • the determining module includes:
  • a searching unit configured to search for, according to the unique identifier information corresponding to the target terminal, at least one verification system partition information, which is preset in the preset module, for detecting whether the terminal has performed the root, and searching for the target terminal Target verification system partition information;
  • the determining unit is configured to determine whether the target system partition information is the same as the target verification system partition information found by the searching unit.
  • the device further includes:
  • a determining module configured to compare the target system partition information acquired by the acquiring module with the target verification system partition information, and determine system partition information that is different in the target terminal;
  • a recording module configured to record system partition information that is different in the target terminal determined by the determining module.
  • the device further includes:
  • a second processing module configured to generate a system differential data packet according to the recorded system partition information in the target terminal, or to obtain system differential data generated according to system partition information that is different in the target terminal package;
  • a sending module configured to send the system differential data packet to the target terminal, so that the target terminal performs corresponding recovery or upgrade according to the system differential data packet.
  • an embodiment of the present invention provides an apparatus for performing another root detection process, where the apparatus includes:
  • a first acquiring module configured to detect and acquire target system partition information stored in the target terminal for performing root detection processing
  • a sending module configured to send the target system partition information acquired by the first acquiring module to the server, so that the server detects, according to the target system partition information, whether the target terminal has performed a root.
  • the sending module is configured to: send the acquired target system partition information to the server in a state where the target terminal screen is off; and/or disconnect the acquired target system partition information. Continue to the server.
  • the device further includes:
  • the second obtaining module is further configured to acquire a system differential data packet generated by the system partition information according to the difference in the target terminal in the server;
  • a processing module configured to restore or upgrade the target terminal according to the system differential data packet acquired by the second acquiring module.
  • an embodiment of the present invention further provides a server, where the server includes a processor and a memory, where the memory stores a set of program codes, and the processor is used to invoke The program code stored in the memory is used to perform the following operations:
  • the processor further performs:
  • Each terminal has unique identification information, and the verification system partition information of each terminal corresponds to the unique identification information.
  • the processor determines whether the acquired target system partition information is the same as the preset target verification system partition information, specifically:
  • the processor further performs:
  • the determined system partition information of the determined target terminal is recorded.
  • the processor further performs:
  • an embodiment of the present invention further provides a terminal, where the terminal includes a processor and a memory, where the memory stores a set of program codes, and the processor is configured to invoke the storage in the memory.
  • Program code to do the following:
  • the processor sends the acquired target system partition information to the server, specifically:
  • the obtained target system partition information breakpoint is continuously transmitted to the server.
  • the processor further performs:
  • the target terminal is restored or upgraded according to the obtained system differential data packet.
  • the embodiment of the present invention further provides a system for root detection processing, where the system includes a server and a terminal, wherein the server is a server disclosed in the fifth aspect, and the terminal is as above.
  • the server is a server disclosed in the fifth aspect, and the terminal is as above.
  • the embodiment of the present invention may obtain the target system partition information for performing root detection processing stored in the target terminal, and then determine whether the acquired target system partition information is the same as the preset target verification system partition information, and if not, Then, the target terminal is detected to be Root, so that it is convenient and quick to detect whether the terminal has performed Root, and the utility of the Root detection processing is also improved to some extent.
  • FIG. 1 is a schematic flow chart of a root detection processing method according to an embodiment of the present invention.
  • FIG. 2 is a schematic flow chart of another Root detection processing method according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart diagram of another Root detection processing method according to an embodiment of the present invention.
  • FIG. 4 is a schematic flow chart of another Root detection processing method according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart diagram of another Root detection processing method according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a Root detection processing apparatus according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of another Root detection processing apparatus according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of another Root detection processing apparatus according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of another Root detection processing apparatus according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of a root detection processing system according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a root detection processing method according to an embodiment of the present invention.
  • the method in the embodiment of the present invention may include the following steps.
  • the target communication terminal may use, for example, a communication terminal model, a software version number (such as a system version software number, an application software version number, and the like) and an IMEI (International Mobile Equipment Identity) in the target communication terminal through the network.
  • Device identification a software version number (such as a system version software number, an application software version number, and the like) and an IMEI (International Mobile Equipment Identity) in the target communication terminal through the network.
  • Device identification system partition Content information (such as directory, file size, authority, time) included in the (system partition), that is, target system partition information, and the like is sent to the server, and the server may receive the above-mentioned one sent by the target communication terminal.
  • Series information including the target system partition information.
  • the target communication terminal may select to collect the above-mentioned such as the target communication terminal model, the software version number, the IMEI, the target system partition, such as at 3 am, when the user does not use the communication terminal.
  • Information such as information, can also be saved to the same file.
  • the target communication terminal may further select, when the screen is off, send all or part of the information in the file to the server through a network (such as 2G/3G/Wifi, etc.), when the target communication terminal is on the screen Stopping the transmission of the information, and continuing to send the above information when the target communication terminal screen is off; and/or, when the target communication terminal disconnects the network (that is, disconnects the data service), the target The communication terminal suspends the transmission of the above information, and when the target communication terminal is connected to the network again, the target communication terminal continues to transmit the above information until the information is transmitted to the server.
  • a network such as 2G/3G/Wifi, etc.
  • the method further includes:
  • Each terminal has unique identification information, and the verification system partition information of each terminal corresponds to the unique identification information.
  • the user or the system may pre-set some content information (such as directory information, file size, permissions, time) of the system partition (system partition) corresponding to any vendor model, any software version number, and any software version in the server. That is, the verification system partition information, or other verification information for detecting whether the communication terminal has performed the root, is not limited in the embodiment of the present invention.
  • each communication terminal correspondingly has a unique identification information (such as an ID number), and the verification system partition information of each communication terminal corresponds to the unique identification information of the communication terminal.
  • a unique identification information such as an ID number
  • the target communication terminal may include an Internet device such as a smart phone (such as an Android mobile phone, an IOS mobile phone, etc.), a personal computer, a tablet computer, a palmtop computer, a mobile Internet device (MID), or a wearable smart device, and the present invention is implemented.
  • a smart phone such as an Android mobile phone, an IOS mobile phone, etc.
  • a personal computer such as an Android mobile phone, an IOS mobile phone, etc.
  • a tablet computer such as a tablet computer, a palmtop computer, a mobile Internet device (MID), or a wearable smart device
  • MID mobile Internet device
  • the server may receive the model of the target communication terminal, such as the target communication terminal, received in S101.
  • the software version number, IMEI, target system partition information and other information are compared with the verification information such as any vendor model, any software version number, and verification system partition information set by the user/system in the server.
  • the server mainly compares Whether the target system partition information received/acquired in S101 is related to the target verification system partition information set by the user/system in the server, and determining whether the target system partition information is the same as the target verification system partition information. If yes, the server may consider/determine that the target communication terminal does not perform the root, and end the process; otherwise, proceed to step S103.
  • the determining whether the acquired target system partition information is the same as the preset target verification system partition information including:
  • the server may first find, according to the unique identification information corresponding to the target communication terminal, the verification system partition information corresponding to any software version set by the user/system in the server in advance, and find the corresponding corresponding to the target communication terminal.
  • the target verification system partition information the server further determines whether the target system partition information acquired in S101 is the same as the target verification system partition information found above, and if the same, the server may consider/determine The target communication terminal does not perform Root, and the process ends; otherwise, step S103 is continued.
  • the target terminal is detected to have performed Root.
  • the server may consider/determine that the target terminal is rooted. That is, the target terminal is detected to have performed Root.
  • the method further includes:
  • the determined system partition information of the determined target terminal is recorded.
  • the server may further obtain the target system partition information and the user/system acquired in S101. Compare and analyze the target verification system partition information set in the server in advance to see whether the target system partition information has new, deleted, modified, or other changed system partition information (such as file size, directory information, time, etc.). And determining the system partition information that is different in the target terminal; the target communication terminal may further record, to the server, the system partition information of the target terminal that is determined to be different.
  • the server may also store/record information such as some target communication terminal model, IMEI number, software version number, and system partition information in the target terminal to the server for query by the vendor after-sales personnel; For the developer, it is convenient for the R&D personnel to directly query the server for the information of the target communication terminal model, the software version number, and the system partition information of the target terminal, and analyze the specific situation of the Root.
  • the developer proposes corresponding remedial measures, such as deploying a differential packet to allow the user to upgrade the target communication terminal to resume normal operation.
  • the server may determine that the target communication terminal is not Root; if the server compares and drops If there is new, deleted, modified, or other changed system partition information in the target system partition information, the server may determine that the target communication terminal is rooted.
  • the target communication terminal that has just been shipped from the factory is not Root, that is, the target communication terminal does not have Root authority, and the system partition is read-only. Under normal circumstances, the user does not have the right to modify the content information in the system partition unless the user uses something such as The Root tool on the website will be the target communication terminal Root.
  • the method further includes:
  • the server may also automatically generate or detect a touch screen operation of the R&D personnel to generate a corresponding system differential data packet according to the system partition information that is different in the target terminal recorded in the server; or, the server may Obtaining the server in a server or communication terminal/ The communication terminal generates a corresponding system differential data packet according to the system partition information that is different in the target terminal.
  • the user may download/acquire the system differential data packet in the server by using the target communication terminal, and the target communication terminal automatically generates a request for acquiring the system differential data when detecting a download/acquisition operation of the user.
  • the request of the packet the target communication terminal may send the request to the server; after receiving the request, the server may send the system differential data packet to the target terminal in response to the request, So that the target terminal performs corresponding recovery or upgrade according to the system differential data packet.
  • the researcher can directly view several files of the system partition data in the communication terminal from the server, and create a file from the previous version to the latter.
  • a version of the differential package that is: before the upgrade, delete the redundant and abnormal files in the system partition: /system/usr/ikm/ikmsu, /system/usr/attrch, /system/etc/install-recovery. Sh-ku.bak, /system/etc/install-recovery.sh, and then perform the normal upgrade function; the communication terminal can acquire and install the above-mentioned targeted specific package to complete the communication terminal.
  • the upgrade so that after the successful upgrade of the communication terminal, the original unrecognized SIM card and the third-party application error will not occur, that is, after the communication terminal is successfully upgraded, the communication terminal can be restored normally. Item function.
  • the embodiment of the invention can conveniently and quickly detect whether the target communication terminal is rooted, if the target The terminal is detected to have performed the root, and the server may also acquire/generate the corresponding system differential data packet to restore the normal operation of the target communication terminal, so as to avoid the phenomenon that the target communication terminal is caused by the root or the return of the target communication terminal.
  • the after-sales service of the target communication terminal is guaranteed to a certain extent, and the practicability of the root detection process is improved.
  • FIG. 2 is a schematic flowchart of another root detection processing method according to an embodiment of the present invention.
  • the method in the embodiment of the present invention may include the following steps.
  • S201 Pre-set at least one verification system partition information for detecting whether the terminal has performed Root; wherein each terminal has unique identification information, and the verification system partition information of each terminal corresponds to the unique identification information.
  • step S205 is continued.
  • the target terminal is detected to have performed Root.
  • the embodiment of the present invention can conveniently and quickly detect whether the target communication terminal is Root. If the target terminal is detected to have performed Root, the server can also acquire/generate a corresponding system differential data packet to restore the normal operation of the target communication terminal. In this way, the phenomenon that the target communication terminal is caused by the customer or the return of the target is avoided, and the after-sales service of the target communication terminal is ensured to a certain extent, and the practicability of the root detection processing is improved.
  • FIG. 3 it is a schematic flowchart of another root detection processing method according to an embodiment of the present invention.
  • the method in the embodiment of the present invention may include steps S101 to S103 or steps S201 to S205 as described above. The following steps can be included.
  • S302. Record system partition information that is determined to be different in the target terminal.
  • step S304 is another alternative embodiment of step S303.
  • the embodiment of the present invention can conveniently and quickly detect whether the target communication terminal is Root. If the target terminal is detected to have performed Root, the server can also acquire/generate a corresponding system differential data packet to restore the normal operation of the target communication terminal. In this way, the phenomenon that the target communication terminal is caused by the customer or the return of the target is avoided, and the after-sales service of the target communication terminal is ensured to a certain extent, and the practicability of the root detection processing is improved.
  • FIG. 4 is a schematic flowchart of another root detection processing method according to an embodiment of the present invention.
  • the method in the embodiment of the present invention can be applied to a communication network function such as a smart phone, a tablet computer, or a smart wearable device.
  • the terminals may be specifically implemented by processors of the communication terminals.
  • the method of the embodiment of the invention further includes the following steps.
  • the target communication terminal can detect and acquire, for example, the communication terminal model, the software version number (such as the system version software number, the application software version number, and the like) and the IMEI (International Mobile Equipment Identity) in the target communication terminal.
  • Device information such as the system version software number, the application software version number, and the like
  • content information such as directory, file size, permissions, time
  • system partition that is, target system partition information, or other information for performing root detection processing
  • the target communication terminal may include an Internet device such as a smart phone (such as an Android mobile phone, an IOS mobile phone, etc.), a personal computer, a tablet computer, a palmtop computer, a mobile Internet device (MID), or a wearable smart device, and the present invention is implemented.
  • a smart phone such as an Android mobile phone, an IOS mobile phone, etc.
  • a personal computer such as an Android mobile phone, an IOS mobile phone, etc.
  • a tablet computer such as a tablet computer, a palmtop computer, a mobile Internet device (MID), or a wearable smart device
  • MID mobile Internet device
  • S402. Send the obtained target system partition information to a corresponding server, so that the server detects, according to the target system partition information, whether the target terminal has performed a root.
  • the target communication terminal may send information, such as the target communication terminal model, the software version number, the IMEI, the target system partition information, and the like used for performing the root detection processing, to the server, so that the server is configured according to the server.
  • the information sent by the target communication terminal for performing root detection processing includes the target system partition information to detect/determine whether the target communication terminal has performed a Root.
  • the sending the obtained target system partition information to the corresponding server including:
  • the obtained target system partition information breakpoint is continuously transmitted to the corresponding server.
  • the target communication terminal may select, for example, a target communication terminal model, a software version number, an IMEI, a target system partition information, and the like acquired by using a network (eg, 2G/3G/Wifi, etc.) in a case where the screen is off.
  • the information of the root detection processing is sent to the server, and the transmission of the above information is stopped when the target communication terminal is on the screen, and the information is continuously sent when the target communication terminal screen is extinguished; and/or, at the target
  • the communication terminal disconnects the network (that is, disconnects the data service)
  • the target communication terminal suspends the transmission of the information, and when the target communication terminal is connected to the network again, the target communication terminal continues to transmit the information. Until the above information is sent to the server.
  • the method further includes:
  • the target terminal is restored or upgraded according to the obtained system differential data packet.
  • the user can use the target communication terminal to download/acquire the system differential data packet in the server; when the target communication terminal detects a download/acquisition operation of the user, the target communication terminal automatically generates a request for acquiring the system differential data.
  • the request of the packet the target communication terminal may send the request to the server; after receiving the request, the server may send the system differential data packet to the target communication terminal in response to the request.
  • the target communication terminal receives the server
  • the system differential data packet sent by the target communication terminal may also perform corresponding recovery or upgrade according to the system differential data packet.
  • the embodiment of the present invention may send the target system partition information that is stored in the target terminal for performing root detection processing, and send the obtained target system partition information to a corresponding server, so that the server is configured according to the
  • the target system partition information detects whether the target terminal is rooted, which can help the server to quickly and conveniently detect whether the terminal has performed the root, and also improves the practicability of the root detection processing to some extent.
  • FIG. 5 is a schematic flowchart of another root detection processing method according to an embodiment of the present invention.
  • the method in the embodiment of the present invention may include the following steps:
  • S502 Send the acquired target system partition information to a corresponding server in a state where the target terminal screen is off, so that the server detects, according to the target system partition information, whether the target terminal has performed Root. .
  • the obtained target system partition information is continuously transmitted to the corresponding server, so that the server detects whether the target terminal has performed the root according to the target system partition information.
  • step S502 and step S503 are specific implementation manners in which the target communication terminal sends the acquired target system partition information to the corresponding server, where step S502 and step S503 may be juxtaposed, that is, The target communication terminal may perform any one of S502 and S503 to perform, or both S502 and S503 may be performed, and the order of S502 and S503 is variable, that is, the target communication terminal may perform S503 and then execute S502, which is an embodiment of the present invention. Not limited.
  • the embodiment of the present invention may send the target system partition information that is stored in the target terminal for performing root detection processing, and send the obtained target system partition information to a corresponding server, so that the server is configured according to the
  • the target system partition information detects whether the target terminal is rooted, which helps the server to quickly and conveniently detect whether the terminal has performed Root, and is still certain To a certain extent, the practicality of Root detection processing is improved.
  • FIG. 6 is a schematic structural diagram of a root detection processing apparatus according to an embodiment of the present invention.
  • the apparatus 6 of the embodiment of the present invention may include:
  • the obtaining module 60 is configured to acquire target system partition information stored in the target terminal for performing root detection processing
  • the determining module 61 is configured to determine whether the target system partition information acquired by the obtaining module 60 is the same as the preset target verification system partition information;
  • the first processing module 62 is configured to: if the determining module 61 determines that the target system partition information is different from the target verification system partition information, the target terminal is detected to have performed Root.
  • the embodiment of the present invention can conveniently and quickly detect whether the target communication terminal is Root. If the target terminal is detected to have performed Root, the server can also acquire/generate a corresponding system differential data packet to restore the normal operation of the target communication terminal. In this way, the phenomenon that the target communication terminal is caused by the customer or the return of the target is avoided, and the after-sales service of the target communication terminal is ensured to a certain extent, and the practicability of the root detection processing is improved.
  • FIG. 7 is a schematic structural diagram of another Root detection processing apparatus according to an embodiment of the present invention.
  • the apparatus 7 of the embodiment of the present invention may include: the foregoing obtaining module 60, the determining module 61, and the first processing module. 62, can also include:
  • a preset module 63 configured to preset at least one verification system partition information for detecting whether the terminal has performed Root;
  • Each terminal has unique identification information, and the verification system partition information of each terminal corresponds to the unique identification information.
  • the determining module 61 includes:
  • the searching unit 610 is configured to search for the target from the at least one verification system partition information used by the preset module 63 to detect whether the terminal has performed the root according to the unique identifier information corresponding to the target terminal.
  • the determining unit 611 is configured to determine whether the target system partition information is the same as the target verification system partition information found by the searching unit 610.
  • the device further includes:
  • a determining module 64 configured to compare the target system partition information acquired by the obtaining module 60 with the target verification system partition information, and determine system partition information that is different in the target terminal;
  • the recording module 65 is configured to record system partition information that is different in the target terminal determined by the determining module 64.
  • the device further includes:
  • a second processing module 66 configured to generate a system differential data packet according to the recorded system partition information in the target terminal; or to obtain a system difference generated according to system partition information in the target terminal data pack;
  • the sending module 67 is configured to send the system differential data packet to the target terminal, so that the target terminal performs corresponding recovery or upgrade according to the system differential data packet.
  • the embodiment of the present invention can conveniently and quickly detect whether the target communication terminal is Root. If the target terminal is detected to have performed Root, the server can also acquire/generate a corresponding system differential data packet to restore the normal operation of the target communication terminal. In this way, the phenomenon that the target communication terminal is caused by the customer or the return of the target is avoided, and the after-sales service of the target communication terminal is ensured to a certain extent, and the practicability of the root detection processing is improved.
  • FIG. 8 is a schematic structural diagram of another Root detection processing apparatus according to an embodiment of the present invention.
  • the apparatus according to the embodiment of the present invention may be disposed on a communication network function such as a smart phone, a tablet computer, or a smart wearable device.
  • the device 8 includes:
  • the first obtaining module 80 is configured to detect and acquire target system partition information stored in the target terminal for performing root detection processing;
  • the sending module 81 is configured to send the target system partition information acquired by the first acquiring module 80 to a corresponding server, so that the server detects, according to the target system partition information, whether the target terminal has performed Root. .
  • the embodiment of the present invention can detect and acquire target system partition information for performing root detection processing stored in the target terminal, and send the obtained target system partition information to the corresponding service.
  • target system partition information for performing root detection processing stored in the target terminal
  • the embodiment of the present invention can detect and acquire target system partition information for performing root detection processing stored in the target terminal, and send the obtained target system partition information to the corresponding service.
  • the server In order to enable the server to detect whether the target terminal is rooted according to the target system partition information, which can help the server to quickly and conveniently detect whether the terminal has performed a root, and also improve the root detection processing to a certain extent. Practicality.
  • FIG. 9 is a schematic structural diagram of another Root detection processing apparatus according to an embodiment of the present invention.
  • the apparatus 9 of the embodiment of the present invention may include: the foregoing first obtaining module 80, the sending module 81, and include:
  • the sending module 81 is specifically configured to: send the acquired target system partition information to a corresponding server in a state where the target terminal screen is extinguished; and/or, the acquired target system partition information The breakpoint is passed to the corresponding server.
  • the device further includes:
  • the second obtaining module 82 is further configured to acquire a system differential data packet generated by the system partition information according to the difference in the target terminal in the server;
  • the processing module 83 is configured to restore or upgrade the target terminal according to the system differential data packet acquired by the second obtaining module 82.
  • the embodiment of the present invention may send the target system partition information that is stored in the target terminal for performing root detection processing, and send the obtained target system partition information to a corresponding server, so that the server is configured according to the
  • the target system partition information detects whether the target terminal is rooted, which can help the server to quickly and conveniently detect whether the terminal has performed the root, and also improves the practicability of the root detection processing to some extent.
  • FIG. 10 is a schematic structural diagram of a server according to the present invention. As shown in FIG. 10, the server 10 can include:
  • the input device 201, the output device 202, the memory 203, and the processor 204 (the number of processors 204 in the network device may be one or more, and one processor in FIG. 10 is taken as an example).
  • input device 201, output device 202, memory 203, and processor 204 may pass A bus or other connection is used, wherein the connection through the bus is taken as an example in FIG.
  • the memory 203 is configured to store program code
  • the processor 204 is configured to invoke the program code stored in the memory to perform the following steps:
  • processor 204 is further configured to:
  • Each terminal has unique identification information, and the verification system partition information of each terminal corresponds to the unique identification information.
  • processor 204 is further configured to:
  • processor 204 is further configured to:
  • the determined system partition information of the determined target terminal is recorded.
  • processor 204 is further configured to:
  • the embodiment of the invention can conveniently and quickly detect whether the target communication terminal is Root. If the target terminal is detected to have performed Root, the server can also acquire/generate the corresponding system differential data packet. The normal operation of the target communication terminal is resumed, so that the phenomenon that the target communication terminal is caused by the customer or the return of the target is avoided, and the after-sales service of the target communication terminal is ensured to a certain extent, and the root detection processing is improved. Practicality.
  • FIG. 11 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal may be a device with a communication network function, such as a smart phone, a tablet computer, or a smart wearable device.
  • the terminal in the embodiment of the present invention may include a display screen, a button, a speaker, a pickup, and the like. And further comprising: at least one bus 501, at least one processor 502 connected to the bus 501, and at least one memory 503 connected to the bus 501, a communication device 505 implementing a communication function, and a power supply device 504 for powering each power consumption module of the communication terminal. .
  • the processor 502 can call the code stored in the memory 503 via the bus 501 to perform related functions.
  • the processor 502 is configured to detect and acquire target system partition information stored in the target terminal for performing root detection processing, and send the obtained target system partition information to a corresponding server, so that the server is configured according to the server.
  • the target system partition information detects whether the target terminal has performed a Root.
  • the processor 502 is further configured to: send the acquired target system partition information to a corresponding server in a state where the target terminal screen is off; and/or, the acquired The target system partition information breakpoint is transmitted to the corresponding server.
  • the processor 502 is further configured to acquire a system differential data packet generated by the system partition information according to the difference in the target terminal in the server, and according to the obtained system differential data packet.
  • the target terminal performs recovery or upgrade.
  • the embodiment of the present invention may send the target system partition information that is stored in the target terminal for performing root detection processing, and send the obtained target system partition information to a corresponding server, so that the server is configured according to the
  • the target system partition information detects whether the target terminal is rooted, which can help the server to quickly and conveniently detect whether the terminal has performed the root, and also improves the practicability of the root detection processing to some extent.
  • FIG. 12 is a schematic structural diagram of a Root detection processing system according to the present invention.
  • the system 12 can include: a server 10 and a terminal 11; wherein the service
  • the relevant function modules in the server provided in the corresponding disclosure in FIG. 10 may be specifically referred to, and details are not described herein; the terminal 11 may refer to related functions in the terminal provided in the corresponding disclosure in FIG. 11 as described above. Modules are not described here.
  • the embodiment of the present invention can conveniently and quickly detect whether the target communication terminal is Root. If the target terminal is detected to have performed Root, the server can also acquire/generate a corresponding system differential data packet to restore the normal operation of the target communication terminal. In this way, the phenomenon that the target communication terminal is caused by the customer or the return of the target is avoided, and the after-sales service of the target communication terminal is ensured to a certain extent, and the practicability of the root detection processing is improved.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of the operation method of any of the audio playback applications described in the foregoing method embodiments.
  • the disclosed apparatus may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

提供了一种Root检测处理的方法、装置(6,7,8,9)以及终端(11),其中,所述Root检测处理的方法包括:获取目标终端中存储的用于进行Root检测处理的目标系统分区信息(S101,S202);判断获取到的所述目标系统分区信息是否和预置的目标验证系统分区信息相同(S102,S204);若否,则所述目标终端被检测到进行了Root(S103,S205)。可提升Root检测处理的实用性和方便快捷性。

Description

一种Root检测处理的方法、装置以及终端
本申请要求于2016年4月28日提交中国专利局,申请号为201610272158.3、发明名称为“一种Root检测处理的方法、装置以及终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及终端技术领域,尤其涉及一种Root检测处理的方法、装置以及终端。
背景技术
随着终端技术的不断发展和进步,研发人员开发出诸如linux、unix、android等越来越多的操作系统应用于通信终端中。然而,在上述的诸如linux、unix、android这些操作系统中存在唯一的超级用户root,它具有操作系统中所有的权限,也即是,在root权限下,用户可以对通信终端中的任何文件(包括系统文件)进行增加、删除、修改、查询等操作。
在实践中发现,用户可以使用市面上出现的诸如root大师、刷机精灵等root工具尝试获取通信终端的root权限,安装添加一些自己想要的东西;然而,一方面,用户并不知道使用市面上出现的root工具是否成功对所述通信终端进行了root;另一方面,在所述通信终端成功被root之后,用户可以对所述通信终端中包括系统文件在内的任何文件进行修改,如果用户不小心误删了系统文件可能导致通信终端不能开机,给厂商带来不必要的麻烦,甚至导致退货,影响通信终端的销售。
发明内容
本发明实施例所要解决的技术问题在于,提供一种Root检测处理的方法、装置以及终端,可方便快捷地检测出终端是否进行了Root,还在一定程度上提升了Root检测处理的实用性。
第一方面,本发明实施例公开提供了一种Root检测处理的方法,所述方法包括:
获取目标终端中存储的用于进行Root检测处理的目标系统分区信息;
判断获取到的所述目标系统分区信息是否和预置的目标验证系统分区信息相同;
若否,则所述目标终端被检测到进行了Root。
其中可选地,所述方法还包括:
预先设置至少一个用于检测终端是否进行了Root的验证系统分区信息;
其中,每个终端对应有唯一标识信息,且所述每个终端的验证系统分区信息与所述唯一标识信息对应。
其中可选地,所述判断获取到的所述目标系统分区信息是否和预置的目标验证系统分区信息相同,包括:
根据所述目标终端对应的唯一标识信息,从预先设置的所述至少一个用于检测终端是否进行了Root的验证系统分区信息中,查找与所述目标终端对应的目标验证系统分区信息;
判断所述目标系统分区信息是否和查找到的所述目标验证系统分区信息相同。
其中可选地,所述方法还包括:
将获取到的所述目标系统分区信息和所述目标验证系统分区信息进行对比,确定所述目标终端中存在差异的系统分区信息;
记录确定到的所述目标终端中存在差异的系统分区信息。
其中可选地,所述方法还包括:
根据记录的所述目标终端中存在差异的系统分区信息,生成系统差分数据包;或者,获取根据所述目标终端中存在差异的系统分区信息生成的系统差分数据包;
将所述系统差分数据包发送给所述目标终端,以使所述目标终端根据所述系统差分数据包进行对应的恢复或者升级。
第二方面,本发明实施例公开提供了另一种Root检测处理的方法,所述方法包括:
检测并获取目标终端中存储的用于进行Root检测处理的目标系统分区信息;
将获取到的所述目标系统分区信息发送给服务器,以使所述服务器根据所 述目标系统分区信息检测所述目标终端是否进行了Root。
其中可选地,所述将获取到的所述目标系统分区信息发送给服务器,包括:
在所述目标终端屏幕熄灭的状态下,将获取到的所述目标系统分区信息发送给所述服务器;和/或,
将获取到的所述目标系统分区信息断点续传到所述服务器。
其中可选地,所述方法还包括:
获取所述服务器中的根据所述目标终端中存在差异的系统分区信息生成的系统差分数据包;
根据获取到的所述系统差分数据包来对所述目标终端进行恢复或者升级。
第三方面,本发明实施例公开提供了一种Root检测处理的装置,所述装置包括:
获取模块,用于获取目标终端中存储的用于进行Root检测处理的目标系统分区信息;
判断模块,用于判断所述获取模块获取到的所述目标系统分区信息是否和预置的目标验证系统分区信息相同;
第一处理模块,用于若所述判断模块判断到所述目标系统分区信息与所述目标验证系统分区信息不相同,则所述目标终端被检测到进行了Root。
其中可选地,所述装置还包括:
预置模块,用于预先设置至少一个用于检测终端是否进行了Root的验证系统分区信息;
其中,每个终端对应有唯一标识信息,且所述每个终端的验证系统分区信息与所述唯一标识信息对应。
其中可选地,所述判断模块包括:
查找单元,用于根据所述目标终端对应的唯一标识信息,从所述预置模块中预先设置的至少一个用于检测终端是否进行了Root的验证系统分区信息中,查找与所述目标终端对应的目标验证系统分区信息;
判断单元,用于判断所述目标系统分区信息是否和所述查找单元查找到的所述目标验证系统分区信息相同。
其中可选地,所述装置还包括:
确定模块,用于将所述获取模块获取到的所述目标系统分区信息和所述目标验证系统分区信息进行对比,确定所述目标终端中存在差异的系统分区信息;
记录模块,用于记录所述确定模块确定到的所述目标终端中存在差异的系统分区信息。
其中可选地,所述装置还包括:
第二处理模块,用于根据记录的所述目标终端中存在差异的系统分区信息,生成系统差分数据包,或者,用于获取根据所述目标终端中存在差异的系统分区信息生成的系统差分数据包;
发送模块,用于将所述系统差分数据包发送给所述目标终端,以使所述目标终端根据所述系统差分数据包进行对应的恢复或者升级。
第四方面,本发明实施例公开提供了另一种Root检测处理的装置,所述装置包括:
第一获取模块,用于检测并获取目标终端中存储的用于进行Root检测处理的目标系统分区信息;
发送模块,用于将所述第一获取模块获取到的所述目标系统分区信息发送给服务器,以使所述服务器根据所述目标系统分区信息检测所述目标终端是否进行了Root。
其中可选地,
所述发送模块,具体用于在所述目标终端屏幕熄灭的状态下,将获取到的所述目标系统分区信息发送给所述服务器;和/或,将获取到的所述目标系统分区信息断点续传到所述服务器。
其中可选地,所述装置还包括:
第二获取模块,还用于获取所述服务器中的根据所述目标终端中存在差异的系统分区信息生成的系统差分数据包;
处理模块,用于根据所述第二获取模块获取到的所述系统差分数据包来对所述目标终端进行恢复或者升级。
第五方面,本发明实施例还公开提供了一种服务器,所述服务器包括处理器和存储器,其中,所述存储器中存储一组程序代码,且所述处理器用于调用 所述存储器中存储的程序代码,用于执行以下操作:
获取目标终端中存储的用于进行Root检测处理的目标系统分区信息;
判断获取到的所述目标系统分区信息是否和预置的目标验证系统分区信息相同;
若否,则所述目标终端被检测到进行了Root。
其中可选地,所述处理器还执行:
预先设置至少一个用于检测终端是否进行了Root的验证系统分区信息;
其中,每个终端对应有唯一标识信息,且所述每个终端的验证系统分区信息与所述唯一标识信息对应。
其中可选地,所述处理器判断获取到的所述目标系统分区信息是否和预置的目标验证系统分区信息相同时,具体执行:
根据所述目标终端对应的唯一标识信息,从预先设置的所述至少一个用于检测终端是否进行了Root的验证系统分区信息中,查找与所述目标终端对应的目标验证系统分区信息;
判断所述目标系统分区信息是否和查找到的所述目标验证系统分区信息相同。
其中可选地,所述处理器还执行:
将获取到的所述目标系统分区信息和所述目标验证系统分区信息进行对比,确定所述目标终端中存在差异的系统分区信息;
记录确定到的所述目标终端中存在差异的系统分区信息。
其中可选地,所述处理器还执行:
根据记录的所述目标终端中存在差异的系统分区信息,生成系统差分数据包,或者,获取根据所述目标终端中存在差异的系统分区信息生成的系统差分数据包;
将所述系统差分数据包发送给所述目标终端,以使所述目标终端根据所述系统差分数据包进行对应的恢复或者升级。
第六方面,本发明实施例还公开提供了一种终端,所述终端包括处理器和存储器,其中,所述存储器中存储一组程序代码,且所述处理器用于调用所述存储器中存储的程序代码,用于执行以下操作:
检测并获取目标终端中存储的用于进行Root检测处理的目标系统分区信 息;
将获取到的所述目标系统分区信息发送给服务器,以使所述服务器根据所述目标系统分区信息检测所述目标终端是否进行了Root。
其中可选地,所述处理器将获取到的所述目标系统分区信息发送给服务器时,具体执行:
在所述目标终端屏幕熄灭的状态下,将获取到的所述目标系统分区信息发送给所述服务器;和/或,
将获取到的所述目标系统分区信息断点续传到所述服务器。
其中可选地,所述处理器还执行:
获取所述服务器中的根据所述目标终端中存在差异的系统分区信息生成的系统差分数据包;
根据获取到的所述系统差分数据包来对所述目标终端进行恢复或者升级。
第七方面,本发明实施例还公开提供了一种Root检测处理的系统,所述系统包括服务器和终端,其中,所述服务器为如上第五方面公开提供的服务器,所述终端为如上第六方面公开提供的终端。
本发明实施例可通过获取目标终端中存储的用于进行Root检测处理的目标系统分区信息,接着判断获取到的所述目标系统分区信息是否和预置的目标验证系统分区信息相同,若否,则所述目标终端被检测到进行了Root,这样可方便快捷地检测出终端是否进行了Root,还在一定程度上提升了Root检测处理的实用性。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例的一种Root检测处理方法的流程示意图;
图2是本发明实施例的另一种Root检测处理方法的流程示意图;
图3是本发明实施例的另一种Root检测处理方法的流程示意图;
图4是本发明实施例的另一种Root检测处理方法的流程示意图;
图5是本发明实施例的另一种Root检测处理方法的流程示意图;
图6是本发明实施例的一种Root检测处理装置的结构示意图;
图7是本发明实施例的另一种Root检测处理装置的结构示意图;
图8是本发明实施例的另一种Root检测处理装置的结构示意图;
图9是本发明实施例的另一种Root检测处理装置的结构示意图;
图10是本发明实施例的一种服务器的结构示意图;
图11是本发明实施例的一种终端的结构示意图;
图12是本发明实施例的一种Root检测处理系统的结构示意图。
具体实施方式
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”和“第三”等是用于区别不同对象,而非用于描述特定顺序。此外,术语“包括”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
请参见图1,是本发明实施例的一种Root检测处理方法的流程示意图,本发明实施例的所述方法可以包括如下步骤。
S101、获取目标终端中存储的用于进行Root检测处理的目标系统分区信息。
本发明实施例中,目标通信终端可以通过网络将本目标通信终端中的诸如通信终端型号、软件版本号(如系统版本软件号、应用软件版本号等)、IMEI(International Mobile Equipment Identity,国际移动设备标识)、系统分区 (system分区)中包括的内容信息(如目录、文件大小、权限、时间),也即是目标系统分区信息,等信息发送给服务器,所述服务器可以接收所述目标通信终端发送来的上述一系列信息,其中包括有所述目标系统分区信息。
可以理解的是,考虑到用户体验,所述目标通信终端可以选择在用户不使用本通信终端的时候,诸如凌晨3点开始收集上述的诸如目标通信终端型号、软件版本号、IMEI、目标系统分区信息等信息,还可以将这些信息保存到同一个文件中。所述目标通信终端还可以选择在屏幕熄灭的情况下,通过网络(如2G/3G/Wifi等)将上述文件中的所有或者部分信息发送给服务器,在所述目标通信终端亮屏的时候就停止所述信息的发送,等到所述目标通信终端屏幕熄灭的时候继续接着发送上述信息;和/或,在所述目标通信终端断开网络(也即是断开数据业务)时,所述目标通信终端暂停上述信息的发送,等到所述目标通信终端再次连接到网络时,所述目标通信终端接着继续发送上述信息,直至上述信息发送完毕至服务器。
其中可选地,所述方法还包括:
预先设置至少一个用于检测终端是否进行了Root的验证系统分区信息;
其中,每个终端对应有唯一标识信息,且每个终端的验证系统分区信息与所述唯一标识信息对应。
用户或者系统可以预先在所述服务器中设置一些诸如任意厂商型号、任意软件版本号、以及任意软件版本下对应的系统分区(system分区)的内容信息(如目录信息、文件大小、权限、时间),也即是验证系统分区信息,或者其他的用于检测通信终端是否进行了Root的验证信息,本发明实施例不作限定。
需要说明的是,每一个通信终端对应拥有一个唯一标识信息(如ID号),每一个通信终端的验证系统分区信息与该通信终端的唯一标识信息相对应。
所述目标通信终端可以包括智能手机(如Android手机、IOS手机等)、个人电脑、平板电脑、掌上电脑、移动互联网设备(MID,Mobile Internet Devices)或穿戴式智能设备等互联网设备,本发明实施例不作限定。
S102、判断获取到的所述目标系统分区信息是否和预置的目标验证系统分区信息相同。
本发明实施例中,服务器可以将S101中接收到的诸如目标通信终端型号、 软件版本号、IMEI、目标系统分区信息等信息与用户/系统预先在本服务器中设置的诸如任意厂商型号、任意软件版本号、验证系统分区信息等验证信息进行对比,这里,所述服务器主要比较S101中接收/获取到的所述目标系统分区信息是否与用户/系统预先在该服务器中设置的目标验证系统分区信息,判断所述目标系统分区信息是否和所述目标验证系统分区信息相同,若相同,则所述服务器可以认为/确定所述目标通信终端没有进行Root,结束流程;否则,继续执行步骤S103。
其中可选地,所述判断获取到的所述目标系统分区信息是否和预置的目标验证系统分区信息相同,包括:
根据所述目标终端对应的唯一标识信息,从预先设置的所述至少一个用于检测终端是否进行了Root的验证系统分区信息中,查找与所述目标终端对应的目标验证系统分区信息;
判断所述目标系统分区信息是否和查找到的所述目标验证系统分区信息相同。
所述服务器可以先根据与所述目标通信终端对应的唯一标识信息,在用户/系统预先在该服务器中设置的任意软件版本对应的验证系统分区信息中,查找出与所述目标通信终端对应的目标验证系统分区信息;所述服务器进一步在判断S101中获取到的所述目标系统分区信息是否和上述查找到的所述目标验证系统分区信息相同,若相同,则所述服务器可以认为/确定所述目标通信终端没有进行Root,结束流程;否则,继续执行步骤S103。
S103、所述目标终端被检测到进行了Root。
本发明实施例中,如果服务器在S102中判断到获取到的所述目标系统分区信息和预置的目标验证系统分区信息不相同,那么所述服务器可以认为/确定所述目标终端进行了Root,也即是所述目标终端被检测到进行了Root。
其中可选地,所述方法还包括:
将获取到的所述目标系统分区信息和所述目标验证系统分区信息进行对比,确定所述目标终端中存在差异的系统分区信息;
记录确定到的所述目标终端中存在差异的系统分区信息。
所述服务器还可以将S101中获取到的所述目标系统分区信息和用户/系统 预先在该服务器中设置的目标验证系统分区信息进行对比分析,看所述目标系统分区信息是否存在新增、删除、修改、或者其他有变动的系统分区信息(如文件大小、目录信息、时间等),从而确定出所述目标终端中存在差异的系统分区信息;所述目标通信终端还可以将其确定到的所述目标终端中存在差异的系统分区信息记录到所述服务器中。
所述服务器还可以将诸如一些诸如目标通信终端型号、IMEI号、软件版本号、以及所述目标终端中存在差异的系统分区信息等信息存储/记录到所述服务器中,以便厂商售后人员查询;对于开发人员而言,方便研发人员直接从所述服务器中查询被Root的目标通信终端型号、软件版本号、所述目标终端中存在差异的系统分区信息等信息来分析Root的具体情景,以便于所述开发人员对此提出相应的补救措施,如部署差分包让用户对所述目标通信终端进行升级以恢复正常的运行状态。
可以理解的是,如果所述服务器对比分析出所述目标系统分区信息与所述目标验证系统分区信息相同,那么所述服务器可以确定所述目标通信终端没有被Root;如果所述服务器对比分出所述目标系统分区信息中存在新增、删除、修改、或者其他有变动的系统分区信息,那么所述服务器可以确定所述目标通信终端被Root了。一般刚出厂的目标通信终端没有被Root,也即是所述目标通信终端没有Root权限,system分区是只读的,正常情况下用户没有权限去修改system分区中的内容信息,除非用户使用一些诸如网站上的Root工具将所述目标通信终端Root了。
其中可选地,所述方法还包括:
根据记录的所述目标终端中存在差异的系统分区信息,生成系统差分数据包;或者,获取根据所述目标终端中存在差异的系统分区信息生成的系统差分数据包;
将所述系统差分数据包发送给所述目标终端,以使所述目标终端根据所述系统差分数据包进行对应的恢复或者升级。
所述服务器还可以根据本服务器中记录到的所述目标终端中存在差异的系统分区信息,自动生成或者检测研发人员的触屏操作生成相应地系统差分数据包;或者,所述服务器可以从其他服务器或者通信终端中获取所述服务器/ 通信终端根据所述目标终端中存在差异的系统分区信息生成的对应的系统差分数据包。用户可以使用所述目标通信终端在所述服务器中下载/获取所述系统差分数据包,所述目标通信终端在检测到用户的下载/获取操作时,自动生成用于请求获取所述系统差分数据包的请求,所述目标通信终端可以将所述请求发送给所述服务器;所述服务器在接收到所述请求之后,可以响应所述请求将所述系统差分数据包发送给所述目标终端,以使所述目标终端根据所述系统差分数据包进行对应的恢复或者升级。
为了帮助对上述实施例的理解,下面通过一个例子进行详细的阐述。假设部分用户OTA(Over-the-Air Technology,空间下载技术)升级到某版本后,出现无法识别SIM卡和第三方应用报错的问题,服务器通过分析发现到出现这种问题的通信终端的system分区数据有以下几部分存在异常:(1)存在多余的文件/system/usr/ikm/ikmsu、/system/usr/attrch、/system/etc/install-recovery.sh-ku.bak;而且/system/etc/install-re covery.sh这个文件的大小也存在异常;其中,存在多余的文件就是使用网上的root工具KingRoot root之后的残留文件,由此可以怀疑用户在进行OTA升级之前通信终端已经被root了,由于通信终端在开机时执行了上述存在多余的文件或者文件大小存在异常的文件才会导致OTA升级之后,出现无法识别SIM卡和第三方应用报错的问题。
根据上述通信终端中的system分区数据出现异常的现象,研发人员可以直接从所述服务器中查看所述通信终端中的system分区数据存在异常的几个文件,并制作出一种从前一版本到后一版本的差分包,也即是:升级之前先删掉system分区里面这些多余和异常的文件:/system/usr/ikm/ikmsu、/system/usr/attrch、/system/etc/install-recovery.sh-ku.bak、/system/etc/install-recovery.sh,然后再执行正常的升级功能;所述通信终端可以获取并安装了上述有针对性地制作特定的差分包来完成所述通信终端的升级,这样在所述通信终端升级成功之后就不会出现原来的无法识别SIM卡和第三方应用报错的问题,也即是在所述通信终端升级成功之后,能够正常恢复该通信终端的各项功能。
本发明实施例可方便快捷的检测目标通信终端是否被Root,若所述目标 终端被检测到进行了Root,服务器还可以获取/生成对应的系统差分数据包来恢复所述目标通信终端的正常运行,这样可避免所述目标通信终端被Root引起的客投或退货等现象,在一定程度上保证了所述目标通信终端的售后服务,提升了Root检测处理的实用性。
请参见图2,是本发明实施例的另一种Root检测处理方法的流程示意图,本发明实施例的所述方法可以包括如下步骤。
S201、预先设置至少一个用于检测终端是否进行了Root的验证系统分区信息;其中,每个终端对应有唯一标识信息,且每个终端的验证系统分区信息与所述唯一标识信息对应。
S202、获取目标终端中存储的用于进行Root检测处理的目标系统分区信息。
S203、根据所述目标终端对应的唯一标识信息,从预先设置的所述至少一个用于检测终端是否进行了Root的验证系统分区信息中,查找与所述目标终端对应的目标验证系统分区信息。
S204、判断所述目标系统分区信息是否和查找到的所述目标验证系统分区信息相同。
本发明实施例中,如果服务器判断到S202中获取到的所述目标系统分区信息与S203中查找到的所述目标验证系统分区信息相同,则确定所述目标通信终端没有进行Root,结束流程;否则,继续执行步骤S205。
S205、所述目标终端被检测到进行了Root。
本发明实施例可方便快捷的检测目标通信终端是否被Root,若所述目标终端被检测到进行了Root,服务器还可以获取/生成对应的系统差分数据包来恢复所述目标通信终端的正常运行,这样可避免所述目标通信终端被Root引起的客投或退货等现象,在一定程度上保证了所述目标通信终端的售后服务,提升了Root检测处理的实用性。
请一并参阅图3,是本发明实施例的另一种Root检测处理方法的流程示意图,本发明实施例的所述方法可以包括如上所述的步骤S101至S103或者步骤S201至步骤S205,还可以包括如下步骤。
S301、将获取到的所述目标系统分区信息和所述目标验证系统分区信息进 行对比,确定所述目标终端中存在差异的系统分区信息。
S302、记录确定到的所述目标终端中存在差异的系统分区信息。
S303、根据记录的所述目标终端中存在差异的系统分区信息,生成系统差分数据包。
S304、获取根据所述目标终端中存在差异的系统分区信息生成的系统差分数据包。
需要说明的是,步骤S304是步骤S303的另一种替换实施方式。
S305、将所述系统差分数据包发送给所述目标终端,以使所述目标终端根据所述系统差分数据包进行对应的恢复或者升级。
本发明实施例可方便快捷的检测目标通信终端是否被Root,若所述目标终端被检测到进行了Root,服务器还可以获取/生成对应的系统差分数据包来恢复所述目标通信终端的正常运行,这样可避免所述目标通信终端被Root引起的客投或退货等现象,在一定程度上保证了所述目标通信终端的售后服务,提升了Root检测处理的实用性。
请参见图4,是本发明实施例的另一种Root检测处理方法的流程示意图,本发明实施例的所述方法可以应用在诸如智能手机、平板电脑、智能可穿戴设备等带通信网络功能的终端中,具体可由这些通信终端的处理器来实现。本发明实施例的所述方法还包括如下步骤。
S401、检测并获取目标终端中存储的用于进行Root检测处理的目标系统分区信息。
本发明实施例中,目标通信终端可以检测并获取本目标通信终端中的诸如通信终端型号、软件版本号(如系统版本软件号、应用软件版本号等)、IMEI(International Mobile Equipment Identity,国际移动设备标识)、系统分区(system分区)中包括的内容信息(如目录、文件大小、权限、时间),也即是目标系统分区信息,或者其他的用于进行Root检测处理的信息,本发明实施例不作限制。
所述目标通信终端可以包括智能手机(如Android手机、IOS手机等)、个人电脑、平板电脑、掌上电脑、移动互联网设备(MID,Mobile Internet Devices)或穿戴式智能设备等互联网设备,本发明实施例不作限定。
S402、将获取到的所述目标系统分区信息发送给对应的服务器,以使所述服务器根据所述目标系统分区信息检测所述目标终端是否进行了Root。
本发明实施例中,目标通信终端可以将S401中获取到的诸如目标通信终端型号、软件版本号、IMEI、目标系统分区信息等用于进行Root检测处理的信息发送给服务器,以便所述服务器根据所述目标通信终端发送的用于进行Root检测处理的信息,包括所述目标系统分区信息来检测/确定所述目标通信终端是否进行了Root。
其中可选地,所述将获取到的所述目标系统分区信息发送给对应的服务器,包括:
在所述目标终端屏幕熄灭的状态下,将获取到的所述目标系统分区信息发送给对应的服务器;和/或,
将获取到的所述目标系统分区信息断点续传到对应的服务器。
所述目标通信终端可以选择在屏幕熄灭的情况下,通过网络(如2G/3G/Wifi等)将上述获取到的诸如目标通信终端型号、软件版本号、IMEI、目标系统分区信息等用于进行Root检测处理的信息发送给服务器,在所述目标通信终端亮屏的时候就停止上述信息的发送,等到所述目标通信终端屏幕熄灭的时候继续接着发送上述信息;和/或,在所述目标通信终端断开网络(也即是断开数据业务)时,所述目标通信终端暂停上述信息的发送,等到所述目标通信终端再次连接到网络时,所述目标通信终端接着继续发送上述信息,直至上述信息发送完毕至服务器。
其中可选地,所述方法还包括:
获取所述服务器中的根据所述目标终端中存在差异的系统分区信息生成的系统差分数据包;
根据获取到的所述系统差分数据包来对所述目标终端进行恢复或者升级。
用户可以使用所述目标通信终端下载/获取所述服务器中的所述系统差分数据包;所述目标通信终端在检测到用户的下载/获取操作时,自动生成用于请求获取所述系统差分数据包的请求,所述目标通信终端可以将所述请求发送给所述服务器;所述服务器在接收到所述请求之后,可以响应所述请求将所述系统差分数据包发送给所述目标通信终端,所述目标通信终端接收所述服务器 发送过来的所述系统差分数据包,所述目标通信终端还可以根据所述系统差分数据包来进行相应的恢复或者升级。
本发明实施例可通过检测并获取目标终端中存储的用于进行Root检测处理的目标系统分区信息,将获取到的所述目标系统分区信息发送给对应的服务器,以使所述服务器根据所述目标系统分区信息检测所述目标终端是否进行了Root,这样可帮助服务器方便快捷地检测出终端是否进行了Root,还在一定程度上提升了Root检测处理的实用性。
请参见图5,是本发明实施例的另一种Root检测处理方法的流程示意图,本发明实施例的所述方法可以包括如下步骤:
S501、检测并获取目标终端中存储的用于进行Root检测处理的目标系统分区信息。
S502、在所述目标终端屏幕熄灭的状态下,将获取到的所述目标系统分区信息发送给对应的服务器,以使所述服务器根据所述目标系统分区信息检测所述目标终端是否进行了Root。
S503、将获取到的所述目标系统分区信息断点续传到对应的服务器,以使所述服务器根据所述目标系统分区信息检测所述目标终端是否进行了Root。
需要说明的是,步骤S502和步骤S503均是目标通信终端将获取到的所述目标系统分区信息发送给对应的服务器的具体实现方式,其中,步骤S502和步骤S503可以是并列的,也即是目标通信终端可以选择S502和S503中任意一步骤进行执行,也可以S502和S503都执行,且S502和S503的顺序是可变的,即目标通信终端可以先执行S503后执行S502,本发明实施例不作限定。
S504、获取所述服务器中的根据所述目标终端中存在差异的系统分区信息生成的系统差分数据包。
S505、根据获取到的所述系统差分数据包来对所述目标终端进行恢复或者升级。
本发明实施例可通过检测并获取目标终端中存储的用于进行Root检测处理的目标系统分区信息,将获取到的所述目标系统分区信息发送给对应的服务器,以使所述服务器根据所述目标系统分区信息检测所述目标终端是否进行了Root,这样可帮助服务器方便快捷地检测出终端是否进行了Root,还在一定 程度上提升了Root检测处理的实用性。
请参见图6,是本发明实施例的一种Root检测处理装置的结构示意图,本发明实施例的所述装置6可以包括:
获取模块60,用于获取目标终端中存储的用于进行Root检测处理的目标系统分区信息;
判断模块61,用于判断所述获取模块60获取到的所述目标系统分区信息是否和预置的目标验证系统分区信息相同;
第一处理模块62,用于若所述判断模块61判断到所述目标系统分区信息与所述目标验证系统分区信息不相同,则所述目标终端被检测到进行了Root。
本发明实施例可方便快捷的检测目标通信终端是否被Root,若所述目标终端被检测到进行了Root,服务器还可以获取/生成对应的系统差分数据包来恢复所述目标通信终端的正常运行,这样可避免所述目标通信终端被Root引起的客投或退货等现象,在一定程度上保证了所述目标通信终端的售后服务,提升了Root检测处理的实用性。
本发明实施例中涉及的各个模块的具体实现可参考图1至图5对应实施例中相关功能模块或者实施步骤的描述,在此不赘述。
请一并参阅图7,是本发明实施例的另一种Root检测处理装置的结构示意图,本发明实施例的所述装置7可以包括:上述的获取模块60、判断模块61、第一处理模块62,还可以包括:
预置模块63,用于预先设置至少一个用于检测终端是否进行了Root的验证系统分区信息;
其中,每个终端对应有唯一标识信息,且每个终端的验证系统分区信息与所述唯一标识信息对应。
其中可选地,在本发明实施例中,所述判断模块61包括:
查找单元610,用于根据所述目标终端对应的唯一标识信息,从所述预置模块63中预先设置的至少一个用于检测终端是否进行了Root的验证系统分区信息中,查找与所述目标终端对应的目标验证系统分区信息;
判断单元611,用于判断所述目标系统分区信息是否和所述查找单元610查找到的所述目标验证系统分区信息相同。
其中可选地,在本发明实施例中,所述装置还包括:
确定模块64,用于将所述获取模块60获取到的所述目标系统分区信息和所述目标验证系统分区信息进行对比,确定所述目标终端中存在差异的系统分区信息;
记录模块65,用于记录所述确定模块64确定到的所述目标终端中存在差异的系统分区信息。
其中可选地,在本发明实施例中,所述装置还包括:
第二处理模块66,用于根据记录的所述目标终端中存在差异的系统分区信息,生成系统差分数据包;或者,用于获取根据所述目标终端中存在差异的系统分区信息生成的系统差分数据包;
发送模块67,用于将所述系统差分数据包发送给所述目标终端,以使所述目标终端根据所述系统差分数据包进行对应的恢复或者升级。
本发明实施例可方便快捷的检测目标通信终端是否被Root,若所述目标终端被检测到进行了Root,服务器还可以获取/生成对应的系统差分数据包来恢复所述目标通信终端的正常运行,这样可避免所述目标通信终端被Root引起的客投或退货等现象,在一定程度上保证了所述目标通信终端的售后服务,提升了Root检测处理的实用性。
本发明实施例中涉及的各个模块的具体实现可参考图1至图5对应实施例中相关功能模块或者实施步骤的描述,在此不赘述。
请参见图8,是本发明实施例的另一种Root检测处理装置的结构示意图,本发明实施例的所述装置可以可设置在诸如智能手机、平板电脑、智能可穿戴设备等带通信网络功能的终端中,所述装置8包括:
第一获取模块80,用于检测并获取目标终端中存储的用于进行Root检测处理的目标系统分区信息;
发送模块81,用于将所述第一获取模块80获取到的所述目标系统分区信息发送给对应的服务器,以使所述服务器根据所述目标系统分区信息检测所述目标终端是否进行了Root。
本发明实施例可通过检测并获取目标终端中存储的用于进行Root检测处理的目标系统分区信息,将获取到的所述目标系统分区信息发送给对应的服务 器,以使所述服务器根据所述目标系统分区信息检测所述目标终端是否进行了Root,这样可帮助服务器方便快捷地检测出终端是否进行了Root,还在一定程度上提升了Root检测处理的实用性。
本发明实施例中涉及的各个模块的具体实现可参考图1至图5对应实施例中相关功能模块或者实施步骤的描述,在此不赘述。
请一并参阅图9,是本发明实施例的另一种Root检测处理装置的结构示意图,本发明实施例的所述装置9可以包括:上述的第一获取模块80、发送模块81,还可以包括:
所述发送模块81,具体用于在所述目标终端屏幕熄灭的状态下,将获取到的所述目标系统分区信息发送给对应的服务器;和/或,将获取到的所述目标系统分区信息断点续传到对应的服务器。
其中可选地,本发明实施例中,所述装置还包括:
第二获取模块82,还用于获取所述服务器中的根据所述目标终端中存在差异的系统分区信息生成的系统差分数据包;
处理模块83,用于根据所述第二获取模块82获取到的所述系统差分数据包来对所述目标终端进行恢复或者升级。
本发明实施例可通过检测并获取目标终端中存储的用于进行Root检测处理的目标系统分区信息,将获取到的所述目标系统分区信息发送给对应的服务器,以使所述服务器根据所述目标系统分区信息检测所述目标终端是否进行了Root,这样可帮助服务器方便快捷地检测出终端是否进行了Root,还在一定程度上提升了Root检测处理的实用性。
本发明实施例中涉及的各个模块的具体实现可参考图1至图5对应实施例中相关功能模块或者实施步骤的描述,在此不赘述。
为了便于更好地实施本发明实施例的上述方案,本发明还提供了用于配合实施上述方案的相关设备。图10为本发明一种服务器的结构示意图。如图10所示,该服务器10可包括:
输入装置201、输出装置202、存储器203和处理器204(网络设备中的处理器204的数量可以一个或多个,图10中以一个处理器为例)。在本发明的一些实施例中,输入装置201、输出装置202、存储器203和处理器204可通过 总线或其它方式连接,其中,图10中以通过总线连接为例。
其中,存储器203用于存储程序代码,处理器204用于调用该存储器存储的程序代码执行如下步骤:
获取目标终端中存储的用于进行Root检测处理的目标系统分区信息;
判断获取到的所述目标系统分区信息是否和预置的目标验证系统分区信息相同;
若否,则所述目标终端被检测到进行了Root。
进一步地,处理器204还用于:
预先设置至少一个用于检测终端是否进行了Root的验证系统分区信息;
其中,每个终端对应有唯一标识信息,且每个终端的验证系统分区信息与所述唯一标识信息对应。
进一步地,处理器204还用于:
根据所述目标终端对应的唯一标识信息,从预先设置的所述至少一个用于检测终端是否进行了Root的验证系统分区信息中,查找与所述目标终端对应的目标验证系统分区信息;
判断所述目标系统分区信息是否和查找到的所述目标验证系统分区信息相同。
进一步地,处理器204还用于:
将获取到的所述目标系统分区信息和所述目标验证系统分区信息进行对比,确定所述目标终端中存在差异的系统分区信息;
记录确定到的所述目标终端中存在差异的系统分区信息。
进一步地,处理器204还用于:
根据记录的所述目标终端中存在差异的系统分区信息,生成系统差分数据包;或者,获取根据所述目标终端中存在差异的系统分区信息生成的系统差分数据包;
将所述系统差分数据包发送给所述目标终端,以使所述目标终端根据所述系统差分数据包进行对应的恢复或者升级。
本发明实施例可方便快捷的检测目标通信终端是否被Root,若所述目标终端被检测到进行了Root,服务器还可以获取/生成对应的系统差分数据包来 恢复所述目标通信终端的正常运行,这样可避免所述目标通信终端被Root引起的客投或退货等现象,在一定程度上保证了所述目标通信终端的售后服务,提升了Root检测处理的实用性。
再请参见图11,是本发明实施例的一种终端的结构示意图。所述终端可以为智能手机、平板电脑、智能可穿戴设备等带通信网络功能的设备,如图11所示,本发明实施例的所述终端可以包括显示屏、按键、扬声器、拾音器等模块,并且还包括:至少一个总线501、与总线501相连的至少一个处理器502以及与总线501相连的至少一个存储器503,实现通信功能的通信装置505,为通信终端各耗电模块供电的电源装置504。
所述处理器502可通过总线501,调用存储器503中存储的代码以执行相关的功能。
所述处理器502,用于检测并获取目标终端中存储的用于进行Root检测处理的目标系统分区信息;将获取到的所述目标系统分区信息发送给对应的服务器,以使所述服务器根据所述目标系统分区信息检测所述目标终端是否进行了Root。
进一步可选地,所述处理器502还用于在所述目标终端屏幕熄灭的状态下,将获取到的所述目标系统分区信息发送给对应的服务器;和/或,将获取到的所述目标系统分区信息断点续传到对应的服务器。
进一步可选地,所述处理器502还用于获取所述服务器中的根据所述目标终端中存在差异的系统分区信息生成的系统差分数据包;根据获取到的所述系统差分数据包来对所述目标终端进行恢复或者升级。
本发明实施例可通过检测并获取目标终端中存储的用于进行Root检测处理的目标系统分区信息,将获取到的所述目标系统分区信息发送给对应的服务器,以使所述服务器根据所述目标系统分区信息检测所述目标终端是否进行了Root,这样可帮助服务器方便快捷地检测出终端是否进行了Root,还在一定程度上提升了Root检测处理的实用性。
为了便于更好地实施本发明实施例的上述方案,本发明还提供了用于配合实施上述方案的相关系统。图12为本发明一种Root检测处理系统的结构示意图。如图12所示,该系统12可包括:服务器10和终端11;其中,所述服务 器10可以具体可参考如上述图10中对应公开提供的服务器中的相关功能模块,在此不再赘述;所述终端11可以具体可参考如上述图11中对应公开提供的终端中的相关功能模块,在此不再赘述。
本发明实施例可方便快捷的检测目标通信终端是否被Root,若所述目标终端被检测到进行了Root,服务器还可以获取/生成对应的系统差分数据包来恢复所述目标通信终端的正常运行,这样可避免所述目标通信终端被Root引起的客投或退货等现象,在一定程度上保证了所述目标通信终端的售后服务,提升了Root检测处理的实用性。
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何音频播放应用的操作方法的部分或全部步骤。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明的各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (24)

  1. 一种Root检测处理的方法,其特征在于,所述方法包括:
    获取目标终端中存储的用于进行Root检测处理的目标系统分区信息;
    判断获取到的所述目标系统分区信息是否和预置的目标验证系统分区信息相同;
    若否,则所述目标终端被检测到进行了Root。
  2. 如权利要求1所述的Root检测处理的方法,其特征在于,还包括:
    预先设置至少一个用于检测终端是否进行了Root的验证系统分区信息;
    其中,每个终端对应有唯一标识信息,且所述每个终端的验证系统分区信息与所述唯一标识信息对应。
  3. 如权利要求2所述的Root检测处理的方法,其特征在于,所述判断获取到的所述目标系统分区信息是否和预置的目标验证系统分区信息相同,包括:
    根据所述目标终端对应的唯一标识信息,从预先设置的所述至少一个用于检测终端是否进行了Root的验证系统分区信息中,查找与所述目标终端对应的目标验证系统分区信息;
    判断所述目标系统分区信息是否和查找到的所述目标验证系统分区信息相同。
  4. 如权利要求1-3中任意一项所述的Root检测处理的方法,其特征在于,还包括:
    将获取到的所述目标系统分区信息和所述目标验证系统分区信息进行对比,确定所述目标终端中存在差异的系统分区信息;
    记录确定到的所述目标终端中存在差异的系统分区信息。
  5. 如权利要4所述的Root检测处理的方法,其特征在于,还包括:
    根据记录的所述目标终端中存在差异的系统分区信息,生成系统差分数据包,或者,获取根据所述目标终端中存在差异的系统分区信息生成的系统差分数据包;
    将所述系统差分数据包发送给所述目标终端,以使所述目标终端根据所述系统差分数据包进行对应的恢复或者升级。
  6. 一种Root检测处理的方法,其特征在于,所述方法包括:
    检测并获取目标终端中存储的用于进行Root检测处理的目标系统分区信息;
    将获取到的所述目标系统分区信息发送给服务器,以使所述服务器根据所述目标系统分区信息检测所述目标终端是否进行了Root。
  7. 如权利要求6所述的Root检测处理的方法,其特征在于,所述将获取到的所述目标系统分区信息发送给服务器,包括:
    在所述目标终端屏幕熄灭的状态下,将获取到的所述目标系统分区信息发送给所述服务器;和/或,
    将获取到的所述目标系统分区信息断点续传到所述服务器。
  8. 如权利要求6或7所述的Root检测处理的方法,其特征在于,还包括:
    获取所述服务器中的根据所述目标终端中存在差异的系统分区信息生成的系统差分数据包;
    根据获取到的所述系统差分数据包来对所述目标终端进行恢复或者升级。
  9. 一种Root检测处理的装置,其特征在于,所述装置包括:
    获取模块,用于获取目标终端中存储的用于进行Root检测处理的目标系统分区信息;
    判断模块,用于判断所述获取模块获取到的所述目标系统分区信息是否和预置的目标验证系统分区信息相同;
    第一处理模块,用于若所述判断模块判断到所述目标系统分区信息与所述目标验证系统分区信息不相同,则所述目标终端被检测到进行了Root。
  10. 如权利要求9所述的Root检测处理的装置,其特征在于,所述装置还包括:
    预置模块,用于预先设置至少一个用于检测终端是否进行了Root的验证系统分区信息;
    其中,每个终端对应有唯一标识信息,且所述每个终端的验证系统分区信息与所述唯一标识信息对应。
  11. 如权利要求10所述的Root检测处理的装置,其特征在于,所述判断模块包括:
    查找单元,用于根据所述目标终端对应的唯一标识信息,从所述预置模块 中预先设置的至少一个用于检测终端是否进行了Root的验证系统分区信息中,查找与所述目标终端对应的目标验证系统分区信息;
    判断单元,用于判断所述目标系统分区信息是否和所述查找单元查找到的所述目标验证系统分区信息相同。
  12. 如权利要求9-11中任意一项所述的Root检测处理的装置,其特征在于,所述装置还包括:
    确定模块,用于将所述获取模块获取到的所述目标系统分区信息和所述目标验证系统分区信息进行对比,确定所述目标终端中存在差异的系统分区信息;
    记录模块,用于记录所述确定模块确定到的所述目标终端中存在差异的系统分区信息。
  13. 如权利要求12所述的Root检测处理的装置,其特征在于,所述装置还包括:
    第二处理模块,用于根据记录的所述目标终端中存在差异的系统分区信息,生成系统差分数据包,或者,用于获取根据所述目标终端中存在差异的系统分区信息生成的系统差分数据包;
    发送模块,用于将所述系统差分数据包发送给所述目标终端,以使所述目标终端根据所述系统差分数据包进行对应的恢复或者升级。
  14. 一种Root检测处理的装置,其特征在于,所述装置包括:
    第一获取模块,用于检测并获取目标终端中存储的用于进行Root检测处理的目标系统分区信息;
    发送模块,用于将所述第一获取模块获取到的所述目标系统分区信息发送给服务器,以使所述服务器根据所述目标系统分区信息检测所述目标终端是否进行了Root。
  15. 如权利要求14所述的Root检测处理的装置,其特征在于,
    所述发送模块,具体用于在所述目标终端屏幕熄灭的状态下,将获取到的所述目标系统分区信息发送给所述服务器,和/或,将获取到的所述目标系统分区信息断点续传到所述服务器。
  16. 如权利要求14或15所述的Root检测处理的装置,其特征在于,所述装置还包括:
    第二获取模块,还用于获取所述服务器中的根据所述目标终端中存在差异的系统分区信息生成的系统差分数据包;
    处理模块,用于根据所述第二获取模块获取到的所述系统差分数据包来对所述目标终端进行恢复或者升级。
  17. 一种服务器,其特征在于,所述服务器包括处理器和存储器,其中,所述存储器中存储一组程序代码,且所述处理器用于调用所述存储器中存储的程序代码,用于执行以下操作:
    获取目标终端中存储的用于进行Root检测处理的目标系统分区信息;
    判断获取到的所述目标系统分区信息是否和预置的目标验证系统分区信息相同;
    若否,则所述目标终端被检测到进行了Root。
  18. 如权利要求17所述的服务器,其特征在于,所述处理器还执行:
    预先设置至少一个用于检测终端是否进行了Root的验证系统分区信息;
    其中,每个终端对应有唯一标识信息,且所述每个终端的验证系统分区信息与所述唯一标识信息对应。
  19. 如权利要求18所述的服务器,其特征在于,所述处理器判断获取到的所述目标系统分区信息是否和预置的目标验证系统分区信息相同时,具体执行:
    根据所述目标终端对应的唯一标识信息,从预先设置的所述至少一个用于检测终端是否进行了Root的验证系统分区信息中,查找与所述目标终端对应的目标验证系统分区信息;
    判断所述目标系统分区信息是否和查找到的所述目标验证系统分区信息相同。
  20. 如权利要求17-19中任意一项所述的服务器,其特征在于,所述处理器还执行:
    将获取到的所述目标系统分区信息和所述目标验证系统分区信息进行对比,确定所述目标终端中存在差异的系统分区信息;
    记录确定到的所述目标终端中存在差异的系统分区信息。
  21. 如权利要20所述的服务器,其特征在于,所述处理器还执行:
    根据记录的所述目标终端中存在差异的系统分区信息,生成系统差分数据 包,或者,获取根据所述目标终端中存在差异的系统分区信息生成的系统差分数据包;
    将所述系统差分数据包发送给所述目标终端,以使所述目标终端根据所述系统差分数据包进行对应的恢复或者升级。
  22. 一种终端,其特征在于,所述终端包括处理器和存储器,其中,所述存储器中存储一组程序代码,且所述处理器用于调用所述存储器中存储的程序代码,用于执行以下操作:
    检测并获取目标终端中存储的用于进行Root检测处理的目标系统分区信息;
    将获取到的所述目标系统分区信息发送给服务器,以使所述服务器根据所述目标系统分区信息检测所述目标终端是否进行了Root。
  23. 如权利要求22所述的终端,其特征在于,所述处理器将获取到的所述目标系统分区信息发送给服务器时,具体执行:
    在所述目标终端屏幕熄灭的状态下,将获取到的所述目标系统分区信息发送给所述服务器;和/或,
    将获取到的所述目标系统分区信息断点续传到所述服务器。
  24. 如权利要求22或23所述的终端,其特征在于,所述处理器还执行:
    获取所述服务器中的根据所述目标终端中存在差异的系统分区信息生成的系统差分数据包;
    根据获取到的所述系统差分数据包来对所述目标终端进行恢复或者升级。
PCT/CN2016/084064 2016-04-28 2016-05-31 一种Root检测处理的方法、装置以及终端 WO2017185455A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610272158.3 2016-04-28
CN201610272158.3A CN105912937A (zh) 2016-04-28 2016-04-28 一种Root检测处理的方法、装置以及终端

Publications (1)

Publication Number Publication Date
WO2017185455A1 true WO2017185455A1 (zh) 2017-11-02

Family

ID=56752984

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084064 WO2017185455A1 (zh) 2016-04-28 2016-05-31 一种Root检测处理的方法、装置以及终端

Country Status (2)

Country Link
CN (1) CN105912937A (zh)
WO (1) WO2017185455A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114827128A (zh) * 2022-03-30 2022-07-29 厦门紫光展锐科技有限公司 一种断点续传方法及相关设备

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106650413A (zh) * 2016-12-23 2017-05-10 努比亚技术有限公司 确定Root权限的方法及移动终端
CN109474924A (zh) * 2017-09-07 2019-03-15 中兴通讯股份有限公司 一种锁网文件的恢复方法、装置、计算机设备及存储介质
CN107844318B (zh) * 2017-12-11 2021-08-24 维沃移动通信有限公司 一种操作系统的升级方法及移动终端和服务器
CN109151809B (zh) * 2018-07-12 2021-12-03 维沃移动通信有限公司 一种移动终端检测方法及移动终端
CN109144594B (zh) * 2018-11-07 2022-03-01 上海商米科技集团股份有限公司 检测及警示未经许可的刷机的方法和系统
CN113434161A (zh) * 2020-03-23 2021-09-24 成都鼎桥通信技术有限公司 软件版本的更新控制方法和装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110252240A1 (en) * 2010-04-07 2011-10-13 Gordie Freedman Mobile Device Management
CN103729597A (zh) * 2014-01-16 2014-04-16 宇龙计算机通信科技(深圳)有限公司 系统启动校验方法、系统启动校验装置和终端
CN104125276A (zh) * 2014-07-21 2014-10-29 中兴通讯股份有限公司 升级方法及装置
CN105068895A (zh) * 2015-09-18 2015-11-18 四川效率源信息安全技术股份有限公司 一种针对Android设备的数据还原方法
CN105095742A (zh) * 2014-05-15 2015-11-25 宇龙计算机通信科技(深圳)有限公司 移动终端的root检测及恢复方法及移动终端
CN105357231A (zh) * 2014-07-24 2016-02-24 中兴通讯股份有限公司 一种差分升级方法、服务端及终端

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006059639A1 (ja) * 2004-11-30 2006-06-08 Nec Corporation 情報共有システム、情報共有方法、グループ管理プログラム及びコンパートメント管理プログラム
JP5557623B2 (ja) * 2010-06-30 2014-07-23 三菱電機株式会社 感染検査システム及び感染検査方法及び記録媒体及びプログラム
CN103646198A (zh) * 2013-12-24 2014-03-19 北京奇虎科技有限公司 一种锁定移动终端工作区的方法、系统及装置
CN103714287B (zh) * 2013-12-25 2015-07-01 北京奇虎科技有限公司 一种获取临时Root权限的方法及装置
CN104217137B (zh) * 2014-08-29 2017-09-29 广东欧珀移动通信有限公司 一种识别智能终端系统是否被更改的方法及装置
CN105045671B (zh) * 2015-08-17 2018-04-03 广东欧珀移动通信有限公司 一种智能终端的系统升级方法及装置
CN105404532A (zh) * 2015-11-05 2016-03-16 广东欧珀移动通信有限公司 终端设备中软件的恢复方法、装置和终端设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110252240A1 (en) * 2010-04-07 2011-10-13 Gordie Freedman Mobile Device Management
CN103729597A (zh) * 2014-01-16 2014-04-16 宇龙计算机通信科技(深圳)有限公司 系统启动校验方法、系统启动校验装置和终端
CN105095742A (zh) * 2014-05-15 2015-11-25 宇龙计算机通信科技(深圳)有限公司 移动终端的root检测及恢复方法及移动终端
CN104125276A (zh) * 2014-07-21 2014-10-29 中兴通讯股份有限公司 升级方法及装置
CN105357231A (zh) * 2014-07-24 2016-02-24 中兴通讯股份有限公司 一种差分升级方法、服务端及终端
CN105068895A (zh) * 2015-09-18 2015-11-18 四川效率源信息安全技术股份有限公司 一种针对Android设备的数据还原方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114827128A (zh) * 2022-03-30 2022-07-29 厦门紫光展锐科技有限公司 一种断点续传方法及相关设备

Also Published As

Publication number Publication date
CN105912937A (zh) 2016-08-31

Similar Documents

Publication Publication Date Title
WO2017185455A1 (zh) 一种Root检测处理的方法、装置以及终端
US11206451B2 (en) Information interception processing method, terminal, and computer storage medium
US8713265B1 (en) Visual indicator of online backup
US10152579B2 (en) Network information system with license registration and method of operation thereof
US20180268115A1 (en) Container License Management Method, and Apparatus
US9367403B2 (en) Terminal and application restoring method
US20190332765A1 (en) File processing method and system, and data processing method
US8914893B2 (en) Method and system for mobile information security protection
WO2019072133A1 (zh) 人脸识别方法及相关产品
US10789372B2 (en) Primary device, an accessory device, and methods for processing operations on the primary device and the accessory device
EP2901660A1 (en) Termininal interaction methods and related devices and systems
US10122739B2 (en) Rootkit detection system and method
JP6196740B2 (ja) ダウンロードに利用可能なアプリケーションについてユーザに知らせるためのシステム及び方法
CN104461594A (zh) 嵌入式操作系统的升级方法及装置
US20160292444A1 (en) Data accessibility control
CN107918564B (zh) 数据传输异常处理方法、装置、电子设备及存储介质
CN111756618B (zh) 群聊的处理方法及装置、电子设备、可读存储介质
WO2017197727A1 (zh) 数据备份的方法及移动终端
EP4284006A1 (en) Abnormal state processing method, server, and electronic device
US10833939B2 (en) Providing positive confirmation of a mobile or portable computer wipe
CN107509195B (zh) 数据传输方法和装置、终端及可读存储介质
CN114285839A (zh) 一种文件传输方法、装置、计算机存储介质和电子设备
WO2017197976A1 (zh) 隐藏/显示应用程序的方法及终端设备
US9734312B1 (en) Systems and methods for detecting when users are uninstalling applications
CN114900332B (zh) 虚拟环境的数据传输方法、装置、设备及存储介质

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16899965

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16899965

Country of ref document: EP

Kind code of ref document: A1