Method and apparatus for privacy-oriented code optimization
AssigneeNokia Technologies Oy
InventorsIgor Bilogrevic, Kevin Huguenin
Life of this patent
Estimating the term…
Abstract
Methods and apparatuses are provided for automatically optimizing application program code for minimized access to privacy data. A privacy-oriented code optimizing module process and/or facilitate a processing one or more code segments, one or more execution logs associated with the one or more code segments, or a combination thereof to determine at least one privacy intrusion signature associated with the one or more code segments. Further, the privacy-oriented code optimizing module determines one or more recommendations for one or more alternate code segments based, at least in part, on the at least one privacy intrusion signature.
Claims20
A method for optimizing an application with less access to privacy data stored on a user device, comprising:
- processing, by an apparatus, one or more code segments, one or more execution logs associated with the one or more code segments, or a combination thereof to determine at least one privacy intrusion signature when developing the one or more code segments for the application being developed for the user device;
- calculating, by the apparatus, a privacy score for the at least one privacy intrusion signature based, at least in part, on one or more intrusiveness levels of the one or more code segments using one or more re-accesses frequencies, one or more granularity levels, or a combination thereof associated with the privacy data stored on the user device accessed by the one or more code segments;
- calculating, by the apparatus, a privacy score for one or more alternate code segments associated with one or more application programming interface functions that are available to the user device for executing the application in place of the at least one privacy intrusion signature;
- and
- determining, by the apparatus, one or more recommendations of at least one of the alternate code segments for the developing based, at least in part, on that the privacy score of the at least one privacy intrusion signature is lower than a privacy score of the at least one of the alternate code segments.
An apparatus for optimizing an application with less access to privacy data stored on a user device, comprising:
- at least one processor;
- and
- at least one memory including computer program code for one or more programs,
- the at least one memory and the computer program code configured to, with the at least one processor, cause the apparatus to perform at least the following,
- process one or more code segments, one or more execution logs associated with the one or more code segments, or a combination thereof to determine at least one privacy intrusion signature when developing the one or more code segments for the application being developed for the user devices;
- calculate a privacy score for the at least one privacy intrusion signature based, at least in part, on one or more intrusiveness levels of the one or more code segments using one or more re-accesses frequencies, one or more granularity levels, or a combination thereof associated with the privacy data stored on the user device accessed by the one or more code segments;
- calculate a privacy score for one or more alternate code segments associated with one or more application programming interface functions that are available to the user device for executing the application in place of the at least one privacy intrusion signature;
- and
- determine one or more recommendations of at least one of the alternate code segments for the developing based, at least in part, on that the privacy score of the at least one privacy intrusion signature is lower than a privacy score of the at least one of the alternate code segments.
A method for optimizing an application with less access to privacy data stored on a user device, comprising:
- processing, by an apparatus, one or more code segments, one or more execution logs associated with the one or more code segments, or a combination thereof to determine at least one privacy intrusion signature when developing the one or more code segments for the application being developed for the user device;
- calculating, by the apparatus, a privacy score for the at least one privacy intrusion signature based, at least in part, on one or more intrusiveness levels of the one or more code segments using one or more re-accesses frequencies, one or more granularity levels, or a combination thereof associated with the privacy data stored on the user device accessed by the one or more code segments;
- calculating, by the apparatus, a privacy score for one or more alternate code segments associated with one or more application programming interface functions that are available to the user device for executing the application in place of the at least one privacy intrusion signature;
- and
- determining, by the apparatus, one or more recommendations of at least one of the alternate code segments for the developing based, at least in part, on that the privacy score of the at least one privacy intrusion signature is higher than a privacy score of the at least one of the alternate code segments.
An apparatus for optimizing an application with less access to privacy data stored on a user device, comprising:
- at least one processor;
- and
- at least one memory including computer program code for one or more programs,
- the at least one memory and the computer program code configured to, with the at least one processor, cause the apparatus to perform at least the following,
- process one or more code segments, one or more execution logs associated with the one or more code segments, or a combination thereof to determine at least one privacy intrusion signature when developing the one or more code segments for the application being developed for the user devices;
- calculate a privacy score for the at least one privacy intrusion signature based, at least in part, on one or more intrusiveness levels of the one or more code segments using one or more re-accesses frequencies, one or more granularity levels, or a combination thereof associated with the privacy data stored on the user device accessed by the one or more code segments;
- calculate a privacy score for one or more alternate code segments associated with one or more application programming interface functions that are available to the user device for executing the application in place of the at least one privacy intrusion signature;
- and
- determine one or more recommendations of at least one of the alternate code segments for the developing based, at least in part, on that the privacy score of the at least one privacy intrusion signature is higher than a privacy score of the at least one of the alternate code segments.
Dependencies are inferred from the claim text.