WO2015070633A1 - 隐私权限管理方法和装置 - Google Patents
隐私权限管理方法和装置 Download PDFInfo
- Publication number
- WO2015070633A1 WO2015070633A1 PCT/CN2014/082432 CN2014082432W WO2015070633A1 WO 2015070633 A1 WO2015070633 A1 WO 2015070633A1 CN 2014082432 W CN2014082432 W CN 2014082432W WO 2015070633 A1 WO2015070633 A1 WO 2015070633A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- service
- operating system
- information
- application
- framework layer
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/12—Protecting executable software
- G06F21/121—Restricting unauthorised execution of programs
- G06F21/125—Restricting unauthorised execution of programs by manipulating the program code, e.g. source code, compiled code, interpreted code, machine code
- G06F21/126—Interacting with the operating system
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/52—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
- G06F21/53—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow by executing in a restricted environment, e.g. sandbox or secure virtual machine
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/55—Detecting local intrusion or implementing counter-measures
- G06F21/554—Detecting local intrusion or implementing counter-measures involving event detection and direct action
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6281—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database at program execution time, where the protection is within the operating system
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/629—Protecting access to data via a platform, e.g. using keys or access control rules to features or functions of an application
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/02—Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/16—Communication-related supplementary services, e.g. call-transfer or call-hold
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2141—Access rights, e.g. capability lists, access control lists, access tables, access matrices
Definitions
- the present invention relates to the field of information processing technologies, and in particular, to a privacy rights management method and apparatus. Background technique
- SMS send a text message, make a call, open the camera.
- the existing security software implements privacy rights management through process injection.
- process injection By injecting its own dynamic library file into the systemmanager, phone and other system processes of andro id, add a hook to the interface that reads the key data, call the callback interface of the security software, and return the corresponding result according to the user's setting to determine whether To authorize. Only when authorized, the private data access interface will continue the original process, otherwise it will be ignored.
- a limitation of the prior art is that the process injection of the security software requires the user to crack the mobile device to obtain the root authority, but this is very difficult for the ordinary user, and once the device is rooted, the malicious application obtains a high authority violation. Systematic risk.
- the current after-sales service of smart mobile device manufacturers in China does not include the exclusion of devices that have been cracked to obtain r 001. Therefore, the after-sales service of the mobile device becomes a problem after obtaining root authority.
- the present invention has been made in order to provide a privacy rights management method and apparatus that overcomes the above problems or at least partially solves or alleviates the above problems.
- a privacy rights management method including: when a service that needs to utilize privacy rights is triggered in an operating system, checking an information of the service at an application framework layer of an operating system, and notifying an operation
- the system application layer listens to the above information; after the operating system application layer listens to obtain the above information acquired by the application framework layer of the operating system, generates an instruction for managing the service according to the information, and transmits the instruction to the An application framework layer of the operating system to command the operating system to manage the service in accordance with the instructions at the application framework layer.
- a privacy rights management apparatus including: a privacy service checking unit, configured to: when an service in the operating system that needs to utilize the privacy right is triggered, check the acquisition site at an application framework layer of the operating system. Describe the service information and notify the operating system application layer to listen
- the security software unit is adapted to, after the operating system application layer listens to the obtained information obtained by the application framework layer of the operating system, generate an instruction for managing the service according to the information, and transmit the instruction to the An application framework layer of an operating system to command the operating system to manage the service in accordance with the instructions at the application framework layer.
- an application that obtains the service information at a process framework layer of an operating system and transmits the information to a system application layer is used, since the application framework layer of the operating system itself With the highest authority of the operating system, the information of the service utilizing the privacy of the system can be obtained at the application framework layer of the operating system without cracking the system.
- the communication between the information application and the security software instructions in the operating system application layer and the application framework layer of the operating system is realized by means of notification and monitoring, so that the application of the system application layer can also obtain information by using normal authority to make security.
- Strategy Therefore, the problem that the user does not need to crack the user terminal operating system to obtain the highest authority of the operating system and can use the third-party security software to manage the privacy permission of the operating system is solved, and the beneficial effect of improving the security of the system is obtained.
- FIG. 1 is a flow chart showing the steps of a privacy rights management method according to the present invention.
- FIG. 2 is a block diagram showing the structure of a privacy right management apparatus according to the present invention.
- Figure 3 shows a block diagram of an intelligent electronic device for performing the method according to the invention
- Figure 4 shows a schematic diagram of a memory unit for holding or carrying program code implementing a method in accordance with the present invention. detailed description
- FIG. 1 a flow chart of a method for implementing a privacy rights management method according to an embodiment of the present invention is shown.
- an intelligent terminal with an Android system is taken as an example to perform the principle of the present invention.
- the description is merely exemplary, but the scope of the present invention is not limited thereto, and the principles of the present invention are also applicable to smart devices installed with other operating systems (eg, Linux, iOS, Windows Phone, Symbian, etc.). terminal,
- Step 101 When there is a service in the operating system that needs to use the privacy right to be triggered, the application framework layer of the operating system checks the information of the obtained service, and notifies the system application layer to listen to the above information.
- the operating system of a smart terminal its application is usually divided into an application framework layer and an application layer, as shown in Figure 2.
- some information of the system framework layer cannot be obtained by the application layer under the prior art.
- information about services using privacy rights in the system framework layer cannot be obtained by software at the application level, that is, cannot be obtained by third party software such as third party security software. Therefore, when a service in the system is triggered, the third-party software cannot manage the information transmission process without lifting the right. The way to lift the right is root. "Jailbreak,, etc.
- the service process that needs to utilize the privacy right is improved, and when the service in the operating system that needs to utilize the privacy right is triggered, the application framework layer of the operating system is triggered.
- the service checks and gets information about the service.
- the application framework layer of the existing operating system obtains the information of the short message service in the system sendText () and sendMul t ipar tText () methods.
- sendText sendText
- sendMul t ipar tText sendMul t ipar tText
- the present invention implements reading and transmitting information of the service to the application layer of the operating system by setting an inspection program at the application framework layer of the operating system. Since the check program is located in the process of the application framework layer of the operating system, it has the privilege of acquiring the information of the service framework layer of the operating system that needs to utilize the service of the privacy privilege.
- a service that requires privacy rights when triggered in the application framework layer of the system, it does not directly enter the step of providing the service or providing the service, but is first set by the application framework layer of the operating system.
- the inspection program checks the service and obtains information about the service.
- the inspection program can perform privacy management of the actual system by adding a system called Secur Internet Server in the andro id system, which can be used in the Secur Internet Service.
- the method of checkPr ivi litis O implements the above functions.
- the privacy rights management of the actual system can also be performed by the system service of the Secur Internet Service in the andro id system, the Secur i The tyService service can check the information about the call service by using the checkPr ivi lege () method.
- the information preferably includes information requesting an application of the service requiring the use of privacy rights and specific content of the service. It can of course be understood that the check program can also obtain all the content related to the service in the application framework layer of the operating system. Obtaining different content provides the basis for security software to set specific processing rules.
- check program Since the check program is located in the application framework layer of the system, as shown in Figure 2, it has the authority to obtain the application framework layer information of the operating system, so it does not require the user to obtain the service in the system about the need to use the privacy right by lifting the right. Information.
- the check program checks all triggered services in the system that require privacy rights, including but not limited to: making a call, sending a text message, obtaining a mobile phone number, reading a call log, reading a text message, writing a call Recording, writing contacts, reading precise locations, reading rough locations, recording, turning on the camera, turning on the wif switch, turning on the Bluetooth switch, reading the list of installed apps, getting the device ID, and others may be involved Interface for privacy data. This allows for monitoring of all privacy-related services in the system, which increases security.
- the checking program After checking the triggered service and obtaining the information of the service, the checking program notifies the operating system application layer to receive the information.
- the manner of notification can be implemented by a notification function. That is, the listening unit is set, and a notification function is set in the listening unit, when the checking program checks After obtaining the information of the service, the checking program calls the notification function to notify the application layer of the system to listen to obtain the above information.
- the notification function is located at the system application layer, see FIG. 2, such that the information of the service checked by the inspection program is transmitted out of the application framework layer of the operating system.
- the operating system application layer listens to the above information obtained at the system application framework layer, generates an instruction for managing the service according to the information, and transmits the instruction to the application framework layer of the operating system. In order to command the operating system to manage the service according to the instructions at the application framework layer.
- the monitoring process can be performed by setting an interface of the QihooPr ivi legeLi s tener in the operating system application layer, and the interface uses the boolean CheckPr ivi lege (Str ing packageName, int uid, int pid, int pr iv i lege, Bundle info) method. , to achieve information about the above services will be obtained in the operating system application layer. After the check program checks the above information of the service that needs to utilize the privacy right, the above function in the listener is called to transfer the information to the security software of the system application layer.
- the above listener can be set by registering a privacy rights service listener to the system.
- you can set a privacy rights service control class, such as the QihooAppManager class, to use in the class:
- the setPr ivi legeL i s tener (QihooPr ivi legeLi s tener l i s tener) method is implemented to register a privacy rights service listener to the system.
- the above-mentioned listener includes a notification function. After the security software of the operating system application layer registers the above-mentioned privacy rights service listener with the operating system, the application framework layer check program of the operating system can automatically call after obtaining the information of the privacy rights service.
- the notification function notifies the security software to instruct the operating system application layer to listen to the information.
- the information of the application framework layer of the operating system can be transmitted to the system application layer, so that the security software at the operating system application layer does not need to raise the right and can listen to the operation.
- the above information of the application framework layer of the system can be transmitted to the system application layer, so that the security software at the operating system application layer does not need to raise the right and can listen to the operation.
- the data can be transmitted to the security software conveniently and quickly.
- the monitoring does not need to be started, so that the system resources are not occupied, and when the system needs to use the privacy permission service is triggered. At that time, it is possible to listen to the information that obtains the privacy rights service.
- the application program layer checking program of the operating system only communicate through a specific listener, thus avoiding the leakage of the application framework layer information of the operating system and improving the security of the information.
- Other malware cannot use the information of the privacy rights service to pose a threat to users.
- the communication rule between the security software and the listener program can also be set such that the listener program only communicates with the preset security software, so that the malware can be prevented from being disguised as security software to utilize the privacy rights service information to cause Information disclosure.
- the security software When the security software receives the information of the privacy rights service, it can perform related security processing according to the information.
- the security software in the smart terminal may analyze the application in the information about triggering the privacy rights service, and when detecting that the malicious application triggers the service, reject the service and send A reminder message alerts the user.
- the service is automatically allowed, since the above function is The function that the user uses very much, and usually triggers the above service to have no malicious features through the application that is provided by the system. Therefore, the above-mentioned means can reduce the interruption of the normal use of the mobile terminal device by the user, and improve the user experience.
- the security software may pop up a dialog bar to notify the user whether to allow the service to be provided.
- a selection is made to generate a command to manage the privacy rights service based on the user's selection.
- the user can actively select the authorization to access the private data, and the privacy information is prevented from being stolen by the software or the automatic retrieval of the service in the background causes the leakage of privacy and/or the loss of the tariff.
- the security software may not judge whether it is issued by a malicious program, but present the above information to the user, thereby guiding the user to manage the privacy rights service. It is proposed by pop-up window, and it can also be selected according to the user's selection when the user invokes the security rights management function of the security software.
- the security software After the user makes an indication of whether to allow the privacy rights service according to the information of the service, the security software generates, according to the above instruction of the user, whether to allow the application framework layer of the operating system to provide the foregoing service.
- the instruction After generating the instruction, the instruction is transmitted to an application framework layer of the operating system to command the operating system to manage a service requiring privacy rights in accordance with the instruction at the application framework layer.
- the manner in which the instructions are transmitted to the operating system includes a variety of ways, i.e., any means suitable for transmitting information within the operating system.
- the transmission mode is as follows. After the instruction is generated, the content of the instruction is returned to the inspection program by the notification function of the listener.
- the instruction may be received by the check program instead of being received by another judging module, and the judging module controls the operating system after receiving the instruction.
- Application framework layer to allow or prohibit the service that requires privacy rights.
- the instructions are executed at the application framework layer of the operating system.
- the system executes the instruction to provide the service.
- the instruction issued by the security software does not provide the service, the system executes the instruction to prohibit the service. See Figure 2.
- the security software returns the above instruction in the form of a return value, that is, true indicates that the operation of the service is permitted, and fa lse indicates the operation of rejecting the service, and the instruction is transmitted to the service execution unit through the check program.
- the service execution unit executes the service, and when the instruction is fa l se, the instruction service unit does not start, and the above service is not executed.
- modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
- the modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
- All of the features disclosed in this specification, including the accompanying claims, the abstract and the drawings, and all the processes or elements of any of the methods or devices disclosed herein may be combined in any combination.
- Each feature disclosed in the specification including the accompanying claims, the abstract, and the drawings) may be replaced by alternative features that provide the same, equivalent, or similar purpose.
- the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
- a microprocessor or digital signal processor may be used in practice to implement some or all of the functionality of some or all of the components of the privacy rights management device in accordance with embodiments of the present invention.
- the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
- a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
- FIG. 3 illustrates an intelligent electronic device that can implement the privacy rights management method in accordance with the present invention.
- the intelligent electronic device conventionally includes a processor 41 0 and a computer program product or computer readable medium in the form of a memory 420.
- the memory 420 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM.
- Memory 420 has a memory space 430 for program code 431 for performing any of the method steps described above. For example, a program code 431. These procedures; the code can be read from a computer program Write to one or more computer program products.
- Such computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
- Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG.
- the storage unit may have a storage section or a storage space or the like arranged similarly to the storage 420 in the intelligent electronic device of FIG.
- the program code can be compressed, for example, in an appropriate form.
- the storage unit comprises a program 43 for performing the steps of the method according to the invention, ie a code readable by a processor, such as for example 41 0, which, when run by the intelligent electronic device, causes the intelligent electronic The device performs the various steps in the methods described above.
- a privacy rights management method which comprises:
- the application framework layer of the operating system checks the information of the service, and notifies the operating system application layer to listen to the above information; After obtaining the above information obtained by the application framework layer of the operating system, generating an instruction for managing the service according to the information, and transmitting the instruction to an application framework layer of the operating system, so as to command the application framework layer
- the operating system manages the service in accordance with the instructions.
- checking the service at an application framework layer of the operating system comprises: checking all triggered services in the system that require privacy rights.
- A3 The method according to A1, wherein the service that needs to utilize privacy rights comprises: making a call, sending a short message, obtaining a mobile phone number, reading a call record, reading a short message, writing a call record, writing a communication book, Read one or more of the exact position, read the rough position, record, turn on the camera, turn on the wif switch, turn on the Bluetooth switch, read the list of installed apps, and get the device ID.
- A4 The method of any of A1-A3, characterized in that in an operating system application layer Listening to the above information obtained at the application framework layer of the operating system includes: causing the application framework layer of the operating system to communicate with the operating system application layer by calling a notification function at the operating system application layer to the operating system application layer Listening to the information;
- Transmitting the instructions to an application framework layer of the operating system includes, by invoking the notification function, causing an operating system application layer to communicate with an application framework layer of an operating system to return the intercepted instructions to an operating system Application framework layer.
- A5. The method of A1, wherein the information comprises information that triggers an application of the service that requires privacy rights and/or content of the service itself.
- A6 The method of A1 or A5, wherein generating an instruction to manage the service according to the information comprises: analyzing the related content by a preset rule, and automatically generating an instruction to allow permission to provide the service. , wherein the rules can be set and/or updated by a user.
- the method of A1 or A5, generating an instruction to manage the service according to the information comprises: analyzing information of an application that triggers the service that needs to utilize privacy rights, when detecting a malicious application triggering of the service The service is prohibited from being provided; when the above service triggered by the application of the credit is detected, the service is allowed to be provided.
- A8 The method of A1 or A5, wherein generating an instruction to manage the service according to the information comprises: presenting the information to a user, allowing the user to make a selection according to the information content, whether to provide the service, and An instruction to provide the service is generated according to the user's selection.
- a privacy rights management device including:
- the privacy service checking unit is adapted to: when the service in the operating system needs to use the privacy permission is triggered, check the information of the service at the application framework layer of the operating system, and notify the operating system application layer to listen to the information;
- a security software unit adapted to, after the operating system application layer listens to the above information obtained by the application framework layer of the operating system, generate an instruction for managing the service according to the information, and transmit the instruction to the operating system An application framework layer to command the operating system to manage the service in accordance with the instructions at the application framework layer.
- checking of the service at an application framework layer of the operating system comprises: checking all triggered services in the system that require privacy rights.
- the device according to B9 characterized in that the service requiring privacy permission comprises: making a call, sending a short message, obtaining a mobile phone number, reading a call record, reading a short message, writing a call record, writing a communication book, reading Accurately position, read coarse position, record, turn on the camera, turn on the wif i switch, turn on the bluetooth switch, read the list of installed apps, and get one or more of the device IDs.
- B12 The device of any of B9-B11, wherein the operating system application layer listens to obtain the above information obtained at an application framework layer of the operating system, including by calling in the operating system
- the notification function of the application layer causes the application framework layer of the operating system to communicate with the operating system application layer to listen to the relevant information at the operating system application layer.
- Transmitting the instructions to an application framework layer of the operating system includes, by invoking the notification function, causing an operating system application layer to communicate with an application framework layer of an operating system to return the intercepted instructions to an operating system Application framework layer.
- generating an instruction to manage the service according to the information comprises: presenting the information to a user, allowing the user to make a selection according to the content of the information, whether to provide the service, And generating an instruction for providing the service according to the user's selection.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Medical Informatics (AREA)
- Multimedia (AREA)
- Technology Law (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
- Storage Device Security (AREA)
Abstract
一种隐私权限管理方法,包括:当操作系统中有需要利用隐私权限的服务被触发时,在操作系统的应用框架层检査获取所述服务的信息,并通知操作系统应用程序层监听上述信息;在操作系统应用程序层监听得到在操作系统的应用框架层获取的上述信息后,根据所述信息生成管理所述服务的指令,并将所述指令传送给所述操作系统的应用框架层,以便在所述应用框架层命令所述操作系统依据所述指令管理所述服务。通过上述方法解决了不需要用户破解用户终端操作系统获取操作系统最高权限也能够使用第三方安全软件来管理操作系统的隐私权限的技术方案的问题,取得了提高系统安全性的有益效果。
Description
隐私权限管理方法和装置 技术领域
本发明涉及信息处理技术领域, 特别涉及一种隐私权限管理方法及装置。 背景技术
移动设备上的安全软件很多都有隐私权限管理功能,用户可以通过安全软 件来控制设备上的其他应用访问系统中关键数据和实现某些行为权限,从而保 护用户的隐私, 比如读取通话记录、短信、发送短信、拨出电话, 打开摄像头。
以 android系统为例, 现有的安全软件是通过进程注入的方式来实现隐私 权限管理的。通过向 andro id的 servicemanager , phone等系统进程注入自己的 动态库文件,在系统读取关键数据的接口中加入 hook,调用安全软件的回调接 口,根据用户的设置情况返回相应的结果,以决定是否要授权。只有获得授权, 隐私数据访问接口才会继续原来的流程, 否则直接忽略。
现有技术一个制约点就是安全软件的进程注入需要用户破解移动设备以 获取 root权限, 但这对普通的用户是非常困难的, 而且设备一旦被 root , 就增 加了被恶意应用获取到高权限侵害系统的风险。另外目前国内的智能移动设备 产商的售后服务都是不包含把已经破解获取到 r 001的设备排除在外的,因此获 取 root权限之后该移动设备的售后服务也成为一个问题。
另外 andro id设备产商众多, 各家多少都会对系统本身有修改, 所以现有 技术方式在某些设备上存在适配的问题。 发明内容
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地 解决或者减緩上述问题的隐私权限管理方法及装置。
依据本发明的一个方面, 提供一种隐私权限管理方法, 包括: 当操作系统 中有需要利用隐私权限的服务被触发时,在操作系统的应用框架层检查获取所 述服务的信息, 并通知操作系统应用程序层监听上述信息; 在操作系统应用程 序层监听得到在操作系统的应用框架层获取的上述信息后,根据所述信息生成 管理所述服务的指令, 并将所述指令传送给所述操作系统的应用框架层, 以便 在所述应用框架层命令所述操作系统依据所述指令管理所述服务。
根据本发明的另一个方面, 提供一种隐私权限管理装置, 包括: 隐私服务 检查单元,适于当操作系统中有需要利用隐私权限的服务被触发时,在操作系 统的应用框架层检查获取所述服务的信息,并通知操作系统应用程序层监听上
述信息; 安全软件单元,适于在操作系统应用程序层监听得到在操作系统的应 用框架层获取的上述信息后,根据所述信息生成管理所述服务的指令, 并将所 述指令传送给所述操作系统的应用框架层,以便在所述应用框架层命令所述操 作系统依据所述指令管理所述服务。
根据本发明的方法和装置,利用在操作系统的应用框架层的进程获得所述 服务信息并将所述信息传送给系统应用程序层的应用,由于所述操作系统的应 用框架层的应用本身就具备操作系统最高权限,因而不需要破解系统就能够在 操作系统的应用框架层获取所述利用系统隐私的服务的信息。通过通知和监听 的方式实现信息和安全软件指令在操作系统应用程序层和操作系统的应用框 架层之间的通信,从而使得系统应用程序层的应用也可以利用正常权限来获取 信息从而做出安全策略。由此解决了不需要用户破解用户终端操作系统获取操 作系统最高权限也能够使用第三方安全软件来管理操作系统的隐私权限的技 术方案的问题, 取得了提高系统安全性的有益效果。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术 手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、 特征和优点能够更明显易懂, 以下特举本发明的具体实施方式。 附图说明
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领 域普通技术人员将变得清楚明了。 附图仅用于示出优选实施方式的目的, 而并 不认为是对本发明的限制。 而且在整个附图中, 用相同的参考符号表示相同的 部件。 在附图中:
图 1示出了根据本发明隐私权限管理方法的步骤流程图;
图 2示出了根据本发明隐私权限管理装置的结构图
图 3示出了用于执行根据本发明的方法的智能电子设备的框图;
以及,
图 4示出了用于保持或者携带实现根据本发明的方法的程序代码的存储单 元示意图。 具体实施方式
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了 本公开的示例性实施例, 然而应当理解, 可以以各种形式实现本公开而不应被 这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本 公开, 并且能够将本公开的范围完整的传达给本领域的技术人员。
参照图 1,示出了根据本发明一个实施例的一种隐私权限管理方法实施例 1 的步骤流程图, 在本实施例中, 以安装有 Android 系统的智能终端为例, 对本 发明的原理进行示例性描述, 然而此描述仅仅是示例性的, 本发明的范围并不 限于此, 本发明的原理也可以适用于安装有其它操作系统(例如 Linux、 iOS、 Windows Phone , Symb ian 等) 的智能终端,
本实施例的方法具体可以包括以下步骤:
步骤 101 : 当操作系统中有需要利用隐私权限的服务被触发时,在操作系 统的应用框架层检查获取所述服务的信息,并通知系统应用程序层监听上述信 息。
对于智能终端的操作系统而言,其应用程序通常分为应用框架层和应用程 序层, 参见图 2。 以 android系统为例, 系统框架层的某些信息在现有技术情况 下不能被应用程序层得到。 例如, 现有技术中的 android系统, 其系统框架层 中关于利用隐私权限的服务的信息不能被应用程序层面的软件获取,即不能被 第三方软件比如第三方安全软件获取。因此当系统中有服务被触发时第三方软 件不通过提权的方式不能够对该信息发送过程进行管理。 提权的方式例如 root . "越狱,, 等。
本发明中对操作系统的应用框架层中对需要利用隐私权限的服务过程进 行改进, 当操作系统中有需要利用隐私权限的服务被触发时,在操作系统的应 用框架层对所述被触发的服务进行检查并获取该服务的信息。
以系统中有短信要发送时为例,现有的操作操作系统的应用框架层在系统 sendText ()和 sendMul t ipar tText ()方法获得所述发送短信服务的信息。 、 然而 IccSms Interf acemanager类中并没有方法将上述内容传输给系统应 用程序层, 因而并不能通过现有的 android操作系统的应用框架层的程序来讲 所述发短信服务的内容传送给系统应用程序层。
本发明通过在操作系统的应用框架层设置检查程序来实现读取并向操作 系统的应用程序层传输所述服务的信息。由于该检查程序就位于操作系统的应 用框架层的进程中, 因而本身就具有该权限, 即获取操作系统的应用框架层的 需要利用隐私权限的服务的信息的权限。
在本发明中, 当系统的应用框架层中有需要隐私权限的服务被触发时, 并 不直接进入到提供该服务或者不提供该服务的步骤,而是首先由在操作系统的 应用框架层设置的检查程序对所述服务进行检查并获取该服务的信息。检查程 序可以通过在 andro id 系统中添力口一个名为 Secur i tyServ ice的系统月良务, 来 进行实际系统的隐私权限管理,所述的 Secur i tyServi ce服务中可以釆用
checkPr ivi lege O的方法实现上述功能。
同时由于 a n d r 0 i d系统中在有需要利用隐私权限的服务被触发时, IccSms Interf acemanager类中的 sendText ()和 sendMul t ipar tText ()方法已经 获得 了 所述服务的信 息 , 因 此上述检查程序仅仅需要从 IccSms Interf acemanager类中读取上述信息即可。
根据本发明的另一个示例, 当系统中有打电话的服务被触发时, 同样可以 通过在 andro id 系统中的 Secur i tyService的系统服务, 来进行实际系统的隐 私权限管理,所述的 Secur i tyService服务中可以釆用 checkPr ivi lege ()的方 法检查所述打电话服务的相关信息。
除了本发明上述列举的发短信、打电话服务之外, 系统中的其他服务例如 获取手机号、 读取通话记录、 读取短信、 写通话记录、 写通信录、 读取精确地 里位置、 读取粗略地里位置、 录音、 打开摄像头、 打开 wi f i开关、 打开蓝牙开 关、 读取已安装应用列表、 获取设备 ID、 以及其他可能涉及到隐私数据的服务 都是可以通过设置上述检查程序的方式检查读取上述服务的信息。
该信息优选地包括请求所述需要利用隐私权限的服务的应用的信息以及 所述服务的具体内容。 当然可以理解的是, 所述检查程序也可以获取操作操作 系统的应用框架层中所有与该服务相关的内容。获取不同的内容为安全软件设 置具体的处理规则提供了基础。
由于该检查程序位于系统的应用框架层, 参见图 2, 本身就具备了获取操 作系统的应用框架层信息的权限,因此它不需要用户通过提权就可以获取系统 中关于需要利用隐私权限的服务的信息。
优选地,该检查程序对系统中所有触发的需要利用隐私权限的服务都进行 检查, 这些服务包括但不仅限于: 拨打电话、 发送短信、 获取手机号、 读取通 话记录、 读取短信、 写通话记录、 写通信录、 读取精确地里位置、 读取粗略地 里位置、 录音、 打开摄像头、 打开 wif i开关、 打开蓝牙开关、 读取已安装应用 列表、 获取设备 ID、 以及其他可能涉及到隐私数据的接口。 这样对于系统中所 有涉及隐私权限的服务都可以进行监控, 这样提高了安全性。
当然,也可以设置一些检查规则,仅仅对该规则范围内的某些应用进行检 查。 比如, 对于精确地理位置进行检查而对粗略地理位置不进行检查。 即, 对 于隐私层级高的服务进行检查而不对隐私层级低的服务进行检查。这样可以在 保证用户隐私安全的前提下对提升检查效率和用户体验。
所述检查程序检查被触发的所述服务并获取该服务的信息后,通知操作系 统应用程序层接收所述信息。具体而言,通知的方式可以通过通知函数来实现。 即, 设置监听单元, 并在监听单元中设置一个通知函数, 当所述检查程序检查
并获取所述服务的信息后, 所述检查程序就会调用该通知函数,通知系统的应 用程序层进行监听以获得上述信息。通知函数位于系统应用程序层, 参见图 2, 如此来实现将所述检查程序检查到的所述服务的信息传送出操作系统的应用 框架层。
接着进入步骤 102, 在操作系统应用程序层监听得到在系统应用框架层获 取的上述信息,根据所述信息生成管理所述服务的指令, 并将所述指令传送给 所述操作系统的应用框架层,以便在所述应用框架层命令所述操作系统依据所 述指令管理所述服务。
监听 过程可 以 通过在操作 系 统应 用 程序 层设置 一个 QihooPr ivi legeLi s tener 的 接 口 , 所 述 接 口 釆 用 boolean CheckPr ivi lege (Str ing packageName, int uid, int pid, int pr iv i lege, Bundle info) 方法, 来实现将在操作系统应用程序层中获取上述服务的相关 信息。在检查程序检查读取需要利用隐私权限的服务的上述信息后,调用监听 器中的上述函数, 以将所述信息传送给系统应用程序层的安全软件。
可以通过向系统中注册隐私权限服务监听器的方式来设置上述监听器。 具体而言, 可以设置一个隐私权限服务控制类, 如 QihooAppManager类, 在所述类中釆用:
setPr ivi legeL i s tener (QihooPr ivi legeLi s tener l i s tener)方法 来实现向系统中注册隐私权限服务监听器。上述监听器包括通知函数,操 作系统应用程序层的安全软件向操作系统注册了上述隐私权限服务监听器之 后,操作系统的应用框架层的检查程序就能够在获取该隐私权限服务的信息后 自动调用所述通知函数通知安全软件,进而通知操作系统应用程序层监听所述 信息。
由此可见,通过设置上述监听程序的方式就能够实现将操作系统的应用框 架层的信息传送至系统应用程序层,因而在操作系统应用程序层的安全软件就 不需要提权也能够监听到操作系统的应用框架层的上述信息。
通过上述方式的设置还能够方便快捷地将数据传送给安全软件,当系统没 有隐私权限服务被触发时,监听不必启动从而不会占用系统资源, 而当系统中 有需要利用隐私权限的服务被触发时, 即能够监听获取该隐私权限服务的信 息。
同时,釆用这种调用和监听的方式使得操作系统的应用框架层的检查程序 只能通过特定的监听器通信, 这样避免了操作系统的应用框架层信息的泄露, 提高了信息的安全性,其它恶意软件就不能够利用隐私权限服务的信息从而对 用户造成威胁。
进一步地,安全软件和监听程序之间的通信规则也可以被设定成监听程序 仅仅与预先设定的安全软件进行通信,这样就可以避免恶意软件伪装成安全软 件来利用隐私权限服务信息从而造成信息泄露。
当安全软件接收到所隐私权限服务的信息后即可根据所述信息进行相关 的安全处理。
例如, 本发明的一个优选的实施例中, 智能终端中的安全软件可以分析所 述信息中关于触发该隐私权限服务的应用, 当检测到恶意应用触发上述服务 时, 拒绝所述服务, 并发送提示消息提醒用户。
另一方面, 对于 android系统自带的系统应用触发的系统隐私权限服务, 例如 andro id系统触发的打电话、 发短信、 开启 wif i开关等应用, 则自动允许 提供所述服务, 由于上述功能是用户非常用的功能, 并且通常通过系统自带的 应用触发上述服务不具有恶意特征,因此通过上述手段能够减少对用户的正常 使用移动终端设备的打扰, 提高用户体验。
根据本发明的另一个方面,当所述服务既不是安全软件识别的恶意应用发 出的,也不是系统自带应用发出的情况下, 安全软件可以弹出对话框栏通知用 户对是否允许提供所述服务进行选择,根据用户的选择来生成管理该隐私权限 服务的命令。
通过这种方式, 用户可以主动选择对隐私数据进行访问的授权,避免隐私 信息被而已软件窃取或者后台自动调取该服务造成隐私的泄露和 /或资费的损 失。
当然, 安全软件可以在接收到上述服务的信息后, 不判断其是否是恶意程 序发出的, 而是将上述信息呈现给用户, 进而引导用户进行隐私权限服务的管 理, 这种提示的方式可以釆用弹窗的方式提出,也可以选择在用户调取安全软 件的隐私权限管理功能时根据用户的选择弹出。用户根据所述服务的信息做出 是否允许所述隐私权限服务的指示后,安全软件根据用户的上述指示生成是否 允许操作系统的应用框架层提供上述服务。
生成所述指令之后,将所述指令传送给所述操作系统的应用框架层, 以便 在所述应用框架层命令所述操作系统依据所述指令管理需要使用隐私权限的 服务。 所述指令传送至操作系统的方式包括多种, 即釆用任何适于在操作系统 内传输信息的方式均可。
本发明优选的实施例中釆用的传输方式如下, 当所述指令生成后,通过监 听器的通知函数将所述指令的内容返回给所述检查程序。
如前文所述,通过设置上述监听器的方式能够方便快捷地将数据回传至检 查程序, 同时, 可以设置所述监听器仅与特定的安全软件通信。 这样其它恶意
应用就不能够伪造指令以对用户造成威胁。
需要说明的是, 上述指令返回给操作系统的应用框架层的步骤中, 可以不 设置由检查程序来接收上述指令,替代的是通过另外的判断模块来接收, 判断 模块接收上述指令之后控制操作系统的应用框架层来允许或禁止所述需要隐 私权限的服务。
在完成上述操作后,在操作系统的应用框架层执行所述指令。 当所述安全 软件所发出的指令为允许该服务时, 系统执行该指令提供上述服务, 当所述安 全软件所发出的指令为不提供上述服务时, 系统执行述指令禁止该服务。参见 图 2。
一种优选的方式是, 安全软件通过返回值的形式返回上述指令, 即 true 表示允许上述服务的操作, fa l se表示拒绝上述服务的操作, 所述指令通过检 查程序传送至服务执行单元,当时所述指令为 true时所述服务执行单元即执行 所述服务, 当时所述指令为 fa l se时所述指令服务单元不启动, 从而不执行上 述服务。
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有 相关。 各种通用系统也可以与基于在此的示教一起使用。 根据上面的描述, 构 造这类系统所要求的结构是显而易见的。此外, 本发明也不针对任何特定编程 语言。 应当明白, 可以利用各种编程语言实现在此描述的本发明的内容, 并且 上面对特定语言所做的描述是为了披露本发明的最佳实施方式。
在此处所提供的说明书中, 说明了大量具体细节。 然而, 能够理解, 本发 明的实施例可以在没有这些具体细节的情况下实践。在一些实例中, 并未详细 示出公知的方法、 结构和技术, 以便不模糊对本说明书的理解。
类似地,应当理解, 为了精简本公开并帮助理解各个发明方面中的一个或 多个,在上面对本发明的示例性实施例的描述中, 本发明的各个特征有时被一 起分组到单个实施例、 图、 或者对其的描述中。 然而, 并不应将该公开的方法 解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确 记载的特征更多的特征。 更确切地说, 如下面的权利要求书所反映的那样, 发 明方面在于少于前面公开的单个实施例的所有特征。 因此, 遵循具体实施方式 的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为 本发明的单独实施例。
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适 应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实 施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它 们分成多个子模块或子单元或子组件。 除了这样的特征和 /或过程或者单元中
的至少一些是相互排斥之外, 可以釆用任何组合对本说明书(包括伴随的权利 要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所 有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、 摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征 来代替。
此外, 本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它 实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意 味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求 书中, 所要求保护的实施例的任意之一都可以以任意的组合方式来使用。
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器 上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解, 可以在实践中使用微处理器或者数字信号处理器 (DSP ) 来实现根据本发明实 施例的隐私权限管理装置中的一些或者全部部件的一些或者全部功能。本发明 还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置 程序(例如, 计算机程序和计算机程序产品)。 这样的实现本发明的程序可以 存储在计算机可读介质上, 或者可以具有一个或者多个信号的形式。这样的信 号可以从因特网网站上下载得到, 或者在载体信号上提供, 或者以任何其他形 式提供。
例如, 图 3示出了可以实现根据本发明的隐私权限管理方法的智能电子设 备。该智能电子设备传统上包括处理器 41 0和以存储器 420形式的计算机程序产 品或者计算机可读介质。 存储器 420可以是诸如闪存、 EEPR0M (电可擦除可编 程只读存储器) 、 EPR0M、 硬盘或者 ROM之类的电子存储器。 存储器 420具有用 于执行上述方法中的任何方法步骤的程序代码 431的存储空间 430。例如, 个程序代码 431。 这些程;代码可以从一个 ^者多个计算机程序^品中读
者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬 盘, 紧致盘(CD )、 存储卡或者软盘之类的程序代码载体。 这样的计算机程序 产品通常为如参考图 4所述的便携式或者固定存储单元。 该存储单元可以具有 与图 3的智能电子设备中的存储器 420类似布置的存储段或者存储空间等。程序 代码可以例如以适当形式进行压缩。通常,存储单元包括用于执行根据本发明 的方法步骤的程序 43 Γ , 即可以由例如诸如 41 0之类的处理器读取的代码, 这 些代码当由智能电子设备运行时,导致该智能电子设备执行上面所描述的方法 中的各个步骤。
本文中所称的 "一个实施例" 、 "实施例"或者 "一个或者多个实施例"
意味着, 结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个 实施例中。 此外, 请注意, 这里 "在一个实施例中" 的词语例子不一定全指同 一个实施例。
在此处所提供的说明书中, 说明了大量具体细节。 然而, 能够理解, 本发 明的实施例可以在没有这些具体细节的情况下被实践。在一些实例中, 并未详 细示出公知的方法、 结构和技术, 以便不模糊对本说明书的理解。
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并 且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施 例。在权利要求中, 不应将位于括号之间的任何参考符号构造成对权利要求的 限制。单词 "包含"不排除存在未列在权利要求中的元件或步骤。位于元件之 前的单词 "一"或 "一个"不排除存在多个这样的元件。本发明可以借助于包 括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干 装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体 体现。 单词第一、 第二、 以及第三等的使用不表示任何顺序。 可将这些单词解 释为名称。
此外,还应当注意, 本说明书中使用的语言主要是为了可读性和教导的目 的而选择的, 而不是为了解释或者限定本发明的主题而选择的。 因此, 在不偏 离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来 说许多修改和变更都是显而易见的。对于本发明的范围, 对本发明所做的公开 是说明性的, 而非限制性的, 本发明的范围由所附权利要求书限定。
本发明公开了 A1.—种隐私权限管理方法, 包括:
当操作系统中有需要利用隐私权限的服务被触发时,在操作系统的应用框 架层检查获取所述服务的信息, 并通知操作系统应用程序层监听上述信息; 在操作系统应用程序层监听得到在操作系统的应用框架层获取的上述信 息后,根据所述信息生成管理所述服务的指令, 并将所述指令传送给所述操作 系统的应用框架层,以便在所述应用框架层命令所述操作系统依据所述指令管 理所述服务。
A2.如 A1所述的方法, 其特征在于, 在操作系统的应用框架层对所述服务 进行检查包括: 对系统中所有触发的需要利用隐私权限的服务都进行检查。
A3. 如 A1所述的方法, 其特征在于, 所述需要利用隐私权限的服务包括: 拨打电话、 发送短信、 获取手机号、 读取通话记录、 读取短信、 写通话记录、 写通信录、 读取精确地里位置、 读取粗略地里位置、 录音、 打开摄像头、 打开 wif i开关、打开蓝牙开关、读取已安装应用列表和获取设备 ID中的一种或多种。
A4. 如 A1-A3中任一项所述的方法, 其特征在于, 在操作系统应用程序层
监听得到在操作系统的应用框架层获取的上述信息包括包括:通过调用在操作 系统应用程序层的通知函数使得操作系统的应用框架层与操作系统应用程序 层进行通信, 以在操作系统应用程序层监听所述信息;
将所述指令传送给所述操作系统的应用框架层包括,通过调用所述通知函 数使操作系统应用程序层与操作系统的应用框架层进行通信,以将监听到的所 述指令返回给操作系统的应用框架层。
A5. 如 A1所述的方法, 其特征在于, 所述信息包括触发所述需要利用隐私 权限的服务的应用的信息和 /或该服务自身的内容。
A6. 如 A1或 A5所述的方法,其特征在于,根据所述信息生成管理所述服务 的指令包括: 通过预先设定的规则分析上述相关内容, 并自动生成是否允许允 许提供该服务的指令, 其中所述规则可被用户设定和 /或更新。
A7. 如 A1或 A5所述的方法, 根据所述信息生成管理所述服务的指令包括: 分析触发所述需要利用隐私权限的服务的应用的信息,当检测到所述服务的恶 意应用触发时,禁止提供所述服务;当检测到是授信的应用触发的上述服务时, 允许提供所述服务。
A8. 如 A1或 A5所述的方法,其特征在于,根据所述信息生成管理所述服务 的指令包括: 将所述信息呈现给用户, 允许用户根据信息内容做出选择是否提 供该服务, 并依据用户的所述选择生成是否提供该服务的指令。
B9.—种隐私权限管理装置, 包括:
隐私服务检查单元,适于当操作系统中有需要利用隐私权限的服务被触发 时,在操作系统的应用框架层检查获取所述服务的信息, 并通知操作系统应用 程序层监听上述信息;
安全软件单元,适于在操作系统应用程序层监听得到在操作系统的应用框 架层获取的上述信息后,根据所述信息生成管理所述服务的指令, 并将所述指 令传送给所述操作系统的应用框架层,以便在所述应用框架层命令所述操作系 统依据所述指令管理所述服务。
B10. 如 B9所述的装置, 其特征在于, 在操作系统的应用框架层对所述服 务进行检查包括: 对系统中所有触发的需要利用隐私权限的服务都进行检查。
B11. 如 B9所述的装置, 其特征在于, 需要利用隐私权限的服务包括: 拨 打电话、 发送短信、 获取手机号、 读取通话记录、 读取短信、 写通话记录、 写 通信录、读取精确地里位置、读取粗略地里位置、录音、打开摄像头、打开 wif i 开关、 打开蓝牙开关、 读取已安装应用列表和获取设备 ID中的一种或多种。
B12. 如 B9-B11中任一项所述的装置, 其特征在于, 在操作系统应用程序 层监听得到在操作系统的应用框架层获取的上述信息,包括通过调用在操作系
统应用程序层的通知函数使得操作系统的应用框架层与操作系统应用程序层 进行通信, 以在操作系统应用程序层监听所述相关信息,
将所述指令传送给所述操作系统的应用框架层包括,通过调用所述通知函 数使操作系统应用程序层与操作系统的应用框架层进行通信,以将监听到的所 述指令返回给操作系统的应用框架层。
B1 3. 如 B9所述的装置, 其特征在于, 所述信息包括触发所述需要利用隐 私权限的服务的应用的信息和 /或该服务自身的内容。
B14. 如 B9或 B1 3所述的装置, 其特征在于,根据所述信息生成管理所述服 务的指令包括: 通过预先设定的规则分析上述相关内容, 并自动生成是否允许 提供该服务的指令, 其中所述规则可被用户设定和 /或更新。
B15. 如 B9或 B1 3所述的装置, 根据所述信息生成管理所述服务的指令包 括: 分析触发所述需要利用隐私权限的服务的应用的信息, 当检测到所述服务 恶意应用触发的时, 禁止提供所述服务; 当检测到是授信的应用触发的上述服 务时, 允许提供所述服务。
B16. 如 B9或 B1 3所述的装置, 其特征在于,根据所述信息生成管理所述服 务的指令包括: 将所述信息呈现给用户, 允许用户根据信息内容做出选择是否 提供该服务, 并依据用户的所述选择生成是否提供该服务的指令。
Claims
1.一种隐私权限管理方法, 包括:
当操作系统中有需要利用隐私权限的服务被触发时,在操作系统的应用框 架层检查获取所述服务的信息, 并通知操作系统应用程序层监听上述信息; 在操作系统应用程序层监听得到在操作系统的应用框架层获取的上述信 息后,根据所述信息生成管理所述服务的指令, 并将所述指令传送给所述操作 系统的应用框架层,以便在所述应用框架层命令所述操作系统依据所述指令管 理所述服务。
2.根据权利要求 1所述的方法, 其特征在于, 在操作系统的应用框架层对 所述服务进行检查包括:对系统中所有触发的需要利用隐私权限的服务都进行 检查。
3.根据权利要求 1所述的方法, 其特征在于, 所述需要利用隐私权限的服 务包括: 拨打电话、 发送短信、 获取手机号、 读取通话记录、 读取短信、 写通 话记录、 写通信录、 读取精确地里位置、 读取粗略地里位置、 录音、 打开摄像 头、 打开 wi f i开关、 打开蓝牙开关、 读取已安装应用列表和获取设备 ID中的一 种或多种。
4.根据权利要求 1-3中任一项所述的方法, 其特征在于, 在操作系统应用 程序层监听得到在操作系统的应用框架层获取的上述信息包括, 包括: 通过调 用在操作系统应用程序层的通知函数使得操作系统的应用框架层与操作系统 应用程序层进行通信, 以在操作系统应用程序层监听所述信息;
将所述指令传送给所述操作系统的应用框架层包括,通过调用所述通知函 数使系统应用程序层与操作系统的应用框架层进行通信,以将监听到的所述指 令返回给操作系统的应用框架层。
5.根据权利要求 1所述的方法, 其特征在于, 所述信息包括触发所述需要 利用隐私权限的服务的应用的信息和 /或该服务自身的内容。
6.根据权利要求 1或 5所述的方法, 其特征在于,根据所述信息生成管理所 述服务的指令包括: 通过预先设定的规则分析上述相关内容, 并自动生成是否 允许允许提供该服务的指令, 其中所述规则可被用户设定和 /或更新。
7. 根据权利要求 1或 5所述的方法, 根据所述信息生成管理所述服务的指 令包括: 分析触发所述需要利用隐私权限的服务的应用的信息, 当检测到所述 服务的恶意应用触发时, 禁止提供所述服务; 当检测到是授信的应用触发的上 述服务时, 允许提供所述服务。
8.根据权利要求 1或 5所述的方法, 其特征在于,根据所述信息生成管理所 述服务的指令包括: 将所述信息呈现给用户, 允许用户根据信息内容做出选择
是否提供该服务, 并依据用户的所述选择生成是否提供该服务的指令。
9.一种隐私权限管理装置, 包括:
隐私服务检查单元,适于当操作系统中有需要利用隐私权限的服务被触发 时,在操作系统的应用框架层检查获取所述服务的信息, 并通知操作系统应用 程序层监听上述信息;
安全软件单元,适于在操作系统应用程序层监听得到在操作系统的应用框 架层获取的上述信息后,根据所述信息生成管理所述服务的指令, 并将所述指 令传送给所述操作系统的应用框架层,以便在所述应用框架层命令所述操作系 统依据所述指令管理所述服务。
10.根据权利要求 9所述的装置,其特征在于,在操作系统的应用框架层对 所述服务进行检查包括:对系统中所有触发的需要利用隐私权限的服务都进行 检查。
11.根据权利要求 9所述的装置,其特征在于, 需要利用隐私权限的服务包 括: 拨打电话、 发送短信、 获取手机号、 读取通话记录、 读取短信、 写通话记 录、 写通信录、 读取精确地里位置、 读取粗略地里位置、 录音、 打开摄像头、 打开 wi f i开关、打开蓝牙开关、读取已安装应用列表和获取设备 ID中的一种或 多种。
12.根据权利要求 9-11中任一项所述的装置, 其特征在于, 在操作系统应 用程序层监听得到在操作系统的应用框架层获取的上述信息,包括通过调用在 操作系统应用程序层的通知函数使得操作系统的应用框架层与操作系统应用 程序层进行通信, 以在操作系统应用程序层监听所述相关信息,
将所述指令传送给所述操作系统的应用框架层包括,通过调用所述通知函 数使系统应用程序层与操作系统的应用框架层进行通信,以将监听到的所述指 令返回给操作系统的应用框架层。
13.根据权利要求 9所述的装置,其特征在于, 所述信息包括触发所述需要 利用隐私权限的服务的应用的信息和 /或该服务自身的内容。
14.根据权利要求 9或 13所述的装置, 其特征在于,根据所述信息生成管理 所述服务的指令包括: 通过预先设定的规则分析上述相关内容, 并自动生成是 否允许提供该服务的指令, 其中所述规则可被用户设定和 /或更新。
15.根据权利要求 9或 13所述的装置,根据所述信息生成管理所述服务的指 令包括: 分析触发所述需要利用隐私权限的服务的应用的信息, 当检测到所述 服务恶意应用触发的时, 禁止提供所述服务; 当检测到是授信的应用触发的上 述服务时, 允许提供所述服务。
16.根据权利要求 9或 13所述的装置, 其特征在于,根据所述信息生成管理
所述服务的指令包括: 将所述信息呈现给用户, 允许用户根据信息内容做出选 择是否提供该服务, 并依据用户的所述选择生成是否提供该服务的指令。
17、 一种计算机程序, 包括计算机可读代码, 当所述计算机可读代码在服 务器上运行时, 导致所述服务器执行根据权利要求 1-8中的任一个所述的屏幕 图像的截取方法。
18、 一种计算机可读介质, 其中存储了如权利要求 17所述的计算机程序。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US15/036,757 US20160300076A1 (en) | 2013-11-15 | 2014-07-17 | Privacy authority management method and device |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310575329.6A CN103577750B (zh) | 2013-11-15 | 2013-11-15 | 隐私权限管理方法和装置 |
| CN201310575329.6 | 2013-11-15 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2015070633A1 true WO2015070633A1 (zh) | 2015-05-21 |
Family
ID=50049513
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2014/082432 Ceased WO2015070633A1 (zh) | 2013-11-15 | 2014-07-17 | 隐私权限管理方法和装置 |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US20160300076A1 (zh) |
| CN (1) | CN103577750B (zh) |
| WO (1) | WO2015070633A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113496039A (zh) * | 2020-04-08 | 2021-10-12 | 青岛海信移动通信技术股份有限公司 | 一种权限管理方法及终端 |
| CN113779546A (zh) * | 2021-06-01 | 2021-12-10 | 武汉深之度科技有限公司 | 一种录音权限管理方法、计算设备及存储介质 |
Families Citing this family (20)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103577750B (zh) * | 2013-11-15 | 2016-08-17 | 北京奇虎科技有限公司 | 隐私权限管理方法和装置 |
| CN103888616B (zh) * | 2014-03-28 | 2018-01-16 | 上海斐讯数据通信技术有限公司 | 一种基于Android平台的彩信拦截方法 |
| CN105447384B (zh) * | 2014-08-18 | 2019-01-29 | 北京壹人壹本信息科技有限公司 | 一种反监控的方法、系统及移动终端 |
| CN105590056B (zh) | 2014-10-22 | 2019-01-18 | 中国银联股份有限公司 | 基于环境检测的动态应用功能控制方法 |
| CN105072255A (zh) * | 2015-07-10 | 2015-11-18 | 北京奇虎科技有限公司 | 移动设备隐私权限控制方法、装置及相应的手机设备 |
| CN104992111B (zh) * | 2015-07-27 | 2018-09-28 | 上海斐讯数据通信技术有限公司 | 一种基于移动终端的智能应用安装器及安装方法 |
| CN105550595A (zh) * | 2015-12-22 | 2016-05-04 | 北京奇虎科技有限公司 | 用于智能通信设备的隐私数据访问方法及系统 |
| CN117094001A (zh) * | 2016-07-20 | 2023-11-21 | 中兴通讯股份有限公司 | 一种通知消息提醒的方法及装置 |
| CN107967423B (zh) * | 2016-10-20 | 2020-12-04 | 腾讯科技(深圳)有限公司 | 一种权限获取的方法以及终端设备 |
| CN107977566B (zh) * | 2017-11-27 | 2021-03-19 | 珠海市君天电子科技有限公司 | 一种功能触发方法、装置及电子设备 |
| CN109151169B (zh) * | 2018-07-23 | 2020-11-10 | 努比亚技术有限公司 | 摄像头权限管理方法、移动终端及计算机可读存储介质 |
| CN109639884A (zh) * | 2018-11-21 | 2019-04-16 | 惠州Tcl移动通信有限公司 | 一种基于安卓监控敏感权限的方法、存储介质及终端设备 |
| CN111259408B (zh) * | 2018-12-03 | 2023-05-30 | 斑马智行网络(香港)有限公司 | 应用权限管理及检查方法、装置、设备及存储介质 |
| CN109598146B (zh) * | 2018-12-07 | 2023-02-17 | 百度在线网络技术(北京)有限公司 | 隐私风险评估方法和装置 |
| CN109905389A (zh) * | 2019-02-21 | 2019-06-18 | 华勤通讯技术有限公司 | 移动终端控制方法、装置及计算机可读存储介质 |
| CN110990873B (zh) * | 2019-12-03 | 2023-06-02 | 浙江大华技术股份有限公司 | 一种违规操作的监控方法、计算机设备及存储介质 |
| CN111125768B (zh) * | 2019-12-26 | 2023-05-02 | 联想(北京)有限公司 | 信息处理方法、装置、电子设备以及介质 |
| CN113676440B (zh) * | 2020-05-15 | 2022-11-04 | 华为技术有限公司 | 通信过程中的权限协商方法、装置和电子设备 |
| CN117390667A (zh) * | 2023-09-11 | 2024-01-12 | 山东浪潮创新创业科技有限公司 | 一种app未授权行为检测方法、系统、设备及介质 |
| CN118445836B (zh) * | 2023-11-30 | 2025-08-15 | 荣耀终端股份有限公司 | 隐私保护方法、隐私保护装置、电子设备及存储介质 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050286457A1 (en) * | 2004-06-23 | 2005-12-29 | Foster Derek J | Method and system for handling events in an application framework for a wireless device |
| CN102355519A (zh) * | 2011-06-30 | 2012-02-15 | 北京邮电大学 | 移动智能终端的恶意电话拨打防范方法及其系统 |
| CN103577750A (zh) * | 2013-11-15 | 2014-02-12 | 北京奇虎科技有限公司 | 隐私权限管理方法和装置 |
| CN103577749A (zh) * | 2013-11-15 | 2014-02-12 | 北京奇虎科技有限公司 | 通知栏消息的处理方法和装置 |
| CN103577757A (zh) * | 2013-11-15 | 2014-02-12 | 北京奇虎科技有限公司 | 病毒防御方法和装置 |
| CN103619003A (zh) * | 2013-11-20 | 2014-03-05 | 北京奇虎科技有限公司 | 移动设备的电话/短消息拦截方法和装置 |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2011078879A1 (en) * | 2009-12-02 | 2011-06-30 | Packet Video Corporation | System and method for transferring media content from a mobile device to a home network |
| US9202049B1 (en) * | 2010-06-21 | 2015-12-01 | Pulse Secure, Llc | Detecting malware on mobile devices |
| KR101295428B1 (ko) * | 2011-09-09 | 2013-08-23 | 주식회사 팬택 | 스마트 단말기에서 어플리케이션의 권한정보 관리 장치 및 제어 방법 |
| CN102819715A (zh) * | 2012-08-15 | 2012-12-12 | 腾讯科技(深圳)有限公司 | Api监控方法和装置 |
| US9274622B2 (en) * | 2012-09-11 | 2016-03-01 | Microsoft Technology Licensing, Llc | Device specific data in a unified pointer message |
| CN103268451B (zh) * | 2013-06-08 | 2017-12-05 | 上海斐讯数据通信技术有限公司 | 一种基于移动终端的动态权限管理系统 |
| RU2653985C2 (ru) * | 2013-06-28 | 2018-05-15 | Закрытое акционерное общество "Лаборатория Касперского" | Способ и система обнаружения вредоносного программного обеспечения путем контроля исполнения программного обеспечения запущенного по сценарию |
-
2013
- 2013-11-15 CN CN201310575329.6A patent/CN103577750B/zh active Active
-
2014
- 2014-07-17 US US15/036,757 patent/US20160300076A1/en not_active Abandoned
- 2014-07-17 WO PCT/CN2014/082432 patent/WO2015070633A1/zh not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050286457A1 (en) * | 2004-06-23 | 2005-12-29 | Foster Derek J | Method and system for handling events in an application framework for a wireless device |
| CN102355519A (zh) * | 2011-06-30 | 2012-02-15 | 北京邮电大学 | 移动智能终端的恶意电话拨打防范方法及其系统 |
| CN103577750A (zh) * | 2013-11-15 | 2014-02-12 | 北京奇虎科技有限公司 | 隐私权限管理方法和装置 |
| CN103577749A (zh) * | 2013-11-15 | 2014-02-12 | 北京奇虎科技有限公司 | 通知栏消息的处理方法和装置 |
| CN103577757A (zh) * | 2013-11-15 | 2014-02-12 | 北京奇虎科技有限公司 | 病毒防御方法和装置 |
| CN103619003A (zh) * | 2013-11-20 | 2014-03-05 | 北京奇虎科技有限公司 | 移动设备的电话/短消息拦截方法和装置 |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113496039A (zh) * | 2020-04-08 | 2021-10-12 | 青岛海信移动通信技术股份有限公司 | 一种权限管理方法及终端 |
| CN113779546A (zh) * | 2021-06-01 | 2021-12-10 | 武汉深之度科技有限公司 | 一种录音权限管理方法、计算设备及存储介质 |
| CN113779546B (zh) * | 2021-06-01 | 2024-03-26 | 武汉深之度科技有限公司 | 一种录音权限管理方法、计算设备及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| US20160300076A1 (en) | 2016-10-13 |
| CN103577750A (zh) | 2014-02-12 |
| CN103577750B (zh) | 2016-08-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103577750B (zh) | 隐私权限管理方法和装置 | |
| CN103136472B (zh) | 一种防应用程序窃取隐私的方法及移动设备 | |
| US9826093B2 (en) | Mobile terminal calling request message processing method, device and system | |
| EP2562673B1 (en) | Apparatus and method for securing mobile terminal | |
| EP2843979B1 (en) | Method and apparatus for preventing sound recording during the call | |
| WO2015096695A1 (zh) | 一种应用程序的安装控制方法、系统及装置 | |
| US20160232374A1 (en) | Permission control method and apparatus | |
| CN102819715A (zh) | Api监控方法和装置 | |
| CN104462997B (zh) | 一种保护移动终端上工作数据的方法、装置和系统 | |
| US9781143B1 (en) | Systems and methods for detecting near field communication risks | |
| WO2014121714A1 (zh) | 一种通知栏消息的处理方法、装置和系统 | |
| WO2016037496A1 (zh) | 一种数据访问控制方法、装置以及终端 | |
| EP3422238A1 (en) | Detecting a malware process | |
| CN104915599A (zh) | 一种应用程序监控方法及终端 | |
| CN108804938B (zh) | 一种权限检测方法、装置、电子设备及可读存储介质 | |
| US11816209B1 (en) | Systems and methods for protecting data on devices | |
| CN105550598B (zh) | 一种移动存储设备的安全管理方法和装置 | |
| WO2016019893A1 (zh) | 应用安装的方法和装置 | |
| CN104537310B (zh) | 移动存储设备的管理方法及客户端 | |
| ES2817936T3 (es) | Métodos y sistemas para verificar usuarios mediante números de teléfono | |
| WO2017107896A1 (zh) | 一种文档防护方法及装置 | |
| CN104063288B (zh) | 进程管理方法及装置 | |
| KR102071530B1 (ko) | 디나이얼 발생시 대응 메뉴얼을 제안하는 전자 장치 및 방법 | |
| CN104794390B (zh) | 一种联系人信息访问控制方法及装置 | |
| CN104932874A (zh) | 一种终端及其控制方法 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14861305 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 15036757 Country of ref document: US |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 14861305 Country of ref document: EP Kind code of ref document: A1 |