Permission management method and device for operating system and terminal
An operating system and rights management technology, applied in the field of operating systems, can solve problems such as analysis and maintenance, inability to
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0019] figure 1 The implementation flow of an operating system rights management method provided by an embodiment of the present invention is shown, and the details are as follows:
[0020] In step S101, a system service with both root authority and kernel authority is created.
[0021] In the embodiment of the present invention, a system service having both root authority and kernel authority is created. Wherein, the root authority is the highest authority of the operating system, and the user can perform various operations on any file in the operating system after obtaining the root authority; the kernel authority is the authority capable of reading the kernel file of the operating system. Since accessing a system file on the operating system is restricted not only by root privileges, but also by kernel privileges, it is necessary to create a system service with both root privileges and kernel privileges to access system files. Specifically, taking the Android system as an...
Embodiment 2
[0038] image 3 It shows an operating system rights management device 100 provided by Embodiment 2 of the present invention, including a preset unit 110 , a detection unit 120 , a generation unit 130 and an execution unit 140 .
[0039] The preset unit 110 is used to create a system service with both root authority and kernel authority;
[0040] The detection unit 120 is configured to determine the system task corresponding to the click event and start the system service at the same time if a click event is detected in the system setting application;
[0041] A generating unit 130, configured to generate a response command corresponding to the system task, where the response command is used to execute the system task;
[0042] The execution unit 140 is configured to execute the response command through the system service.
[0043] The embodiment of the present invention provides a permission management device for an operating system. Since accessing a system file on the oper...
Embodiment 3
[0050] Figure 4 It is a schematic diagram of a terminal provided in Embodiment 3 of the present invention. Such as Figure 4 As shown, the terminal 200 in this embodiment includes: a processor 230 , a memory 210 , and a computer program 220 stored in the memory 210 and operable on the processor 200 . When the processor 230 executes the computer program 220, it realizes the steps in the embodiment of the rights management method of the above-mentioned operating system, for example figure 1 Steps S101 to S104 shown, or, when the processor 230 executes the computer program 220, the functions of the units in the above-mentioned embodiments of the device 100 are realized, for example image 3 Functions of units 110 to 140 shown.
[0051] Exemplarily, the computer program 220 can be divided into one or more units, and the one or more units are stored in the memory 210 and executed by the processor 230 to implement the present invention. The one or more units may be a series of ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


