Outer Rim Archives
Archives · 2022 · 20220391476

Application (pre-grant publication)

DEFINE RETURN VALUE AT RUNTIME

Number
20220391476
Published
2022-12-08
Filed
2022-08-15
Assignee
Disney Enterprises, Inc.
Inventors
LEFLER; Nathan, CORRIGAN-COLVILLE; James A.
CPC
G06F21/1066; G06F21/121; G06F21/32; G06F21/44
Verdict
Set aside generic software engineering, unrelated
Source
Google Patents · FreePatentsOnline

Abstract

The exemplary embodiments are related to a device, a system, and a method for implementing a mechanism that is configured to prevent the unauthorized execution of software. A user device is configured to execute a feature access function corresponding to an application feature included in an application. The feature access function is configured to receive one of a plurality of values each time the application is launched. During operation, the feature access function receives a value and determines whether a condition is satisfied. When the condition is satisfied, the value is returned which indicates that execution of the application feature is permitted.

Background

BACKGROUND INFORMATION

An application may be configured with any of a variety of different application features. The application may restrict access to a particular application feature based on whether a predetermined condition is satisfied. For example, access to multimedia data (e.g., video, audio, text, etc.) may be based on whether login credentials are associated with an active subscription.

Under conventional circumstances, the developer may implement a Boolean function to restrict access to the application feature. The Boolean function may be configured to evaluate any of a plurality of factors to determine whether a predetermined condition is satisfied. If the Boolean function determines that access to the application feature is permitted (e.g., the predetermined condition is satisfied), the function may return a known value which represents true. Subsequently, the application may execute the machine code of the corresponding application feature. Alternatively, if the Boolean function determines that access to the feature is not permitted (e.g., the predetermined condition is not satisfied), the function may return a known value which represents false and the machine code of the corresponding application feature is not to be executed.

To provide a general example of when this type of conventional Boolean function may be executed, consider the following exemplary scenario. The user device is powered on, an operating system has been booted, the appl

Claims

1. A user device, comprising: a memory arrangement; and a processor configured to execute a feature access function corresponding to an application feature included in an application, wherein the feature access function performs operations comprising: receiving a first value after the application is launched a first time for a first user, wherein the feature access function is configured to receive one of a plurality of values each time the application is launched; determining that a feature access condition is satisfied for the launch the first time; based on determining that the feature access condition is satisfied for the launch the first time, returning the first value, wherein returning the first value indicates that execution of the application feature is permitted for the first user; receiving a second value, different from the first value and independent of the first value, after the application is launched a second time for the first user; determining that the feature access condition is satisfied for the launch the second time; and based on determining that the feature access condition is satisfied for the launch the second time, returning the second value, wherein returning the second value indicates that execution of the application feature is permitted for the first user. || 6. A non-transitory computer-readable medium comprising instructions that, when executed by a processor, cause the processor to execute an application, wherein the application includes an application feature and a feature access function, the application configured to perform a feature access operation comprising: selecting, during runtime for a first user, a first value for the feature access function to return when the feature access function determines that access to the feature is permitted for the first user; determining, by the feature access function, that access to the application feature is permitted for the first user; returning, by the feature access function, the first value; enabling the application feature for the first user based on the feature access function returning the first value; identifying a predetermined type of event; selecting, during runtime and in response to the predetermined type of event, a second value for the feature access function to return when the feature access function determines that access to the feature is permitted for the first user, wherein the second value is different from the first value and independent of the first value and wherein, when the second value is selected, the first value no longer permits access to the application feature for the first user; determining, by the feature access function, that access to the application feature is permitted for the first user after the event; returning, by the feature access function, the second value; and enabling the application feature for the first user based on the feature access function returning the second value. || 13. A method to prevent circumvention of a feature access condition, comprising: at an application running on a user device, wherein the application includes an application feature: selecting, during runtime for a first user, a first value for a feature access function to return when access to the application feature is permitted for the first user; determining, by the feature access function, that access to the application feature is permitted for the first user; returning, by the feature access function, the first value; enabling the application feature for the first user based on the feature access function returning the first value; identifying a predetermined type of event; selecting, during runtime and in response to the predetermined type of event, a second value for the feature access function to return when the feature access function determines that access to the feature is permitted for the first user, wherein the second value is different from the first value and independent of the first value and wherein, when the second value is selected, the first value no longer permits access to the application feature for the first user; determining, by the feature access function, that access to the application feature is permitted for the first user after the event; returning, by the feature access function, the second value; and enabling the application feature for the first user based on the feature access function returning the second value.