Examples set forth in the present disclosure relate generally to the release of application updates and features. More particularly, but not by way of limitation, the present disclosure addresses systems and methods for releasing updates and features in stages while monitoring the application for anomalies.
Software applications, including both desktop and mobile applications, typically require the periodic installation of updates. An update may include a software patch intended to fix or repair a bug or other defect, a general update with new or improved features, or an entirely new version of an application. Updates to mobile applications are often made available through an application distribution platform, or app store, that is accessible from mobile devices. A mobile application is designed to run on a portable mobile device such as a smartphone, tablet, watch, media player, camera, or headset. Many mobile applications are configured to allow independent software developers to create new or improved features that are specifically designed to work with or otherwise enhance the mobile application.
Features of the various implementations disclosed will be readily understood from the following detailed description, in which reference is made to the appending drawing figures. A reference numeral is used with each element in the description and throughout the several views of the drawing. When a plurality of similar elements is present, a single reference numeral may be assigned to like elements, with an added lower-case letter referring to a specific element.
The various elements shown in the figures are not drawn to scale unless otherwise indicated. The dimensions of the various elements may be enlarged or reduced in the interest of clarity. The several figures depict one or more implementations and are presented by way of example only and should not be construed as limiting. Included in the drawing are the following figures:
Various implementations and details are described with reference to an example: a release monitoring system for controlling the staged release of a mobile application feature, while simultaneously monitoring the application for anomalies. Each feature is released to a subset of devices, in incremental stages, until the release is completed, unless an anomaly is detected. If the system detects an anomaly among a set of metrics about the application, the system pauses or disables the feature and generates a repair ticket. The system may control the release of a plurality of features from an ordered list according to a rank associated with each feature. If a feature is paused or disabled, the system may proceed to select the next feature from the ordered list and process its release. In addition to the example release monitoring system, the systems and methods described herein may be applied to and used with any of a variety of systems, especially those for which high availability and precise control is desired.
The following detailed description includes systems, methods, techniques, instruction sequences, and computing machine program products illustrative of examples set forth in the disclosure. Numerous details and examples are included for the purpose of providing a thorough understanding of the disclosed subject matter and its relevant teachings. Those skilled in the relevant art, however, may understand how to apply the relevant teachings without such details. Aspects of the disclosed subject matter are not limited to the specific devices, systems, and method described because the relevant teachings can be applied or practice in a variety of ways. The terminology and nomenclature used herein is for the purpose of describing particular aspects only and is not intended to be limiting. In general, well-known instruction instances, protocols, structures, and techniques are not necessarily shown in detail.
New or improved features become available for download frequently, especially for a popular or widely used mobile application. Some features are enabled, or turned on, as soon as the end user downloads the feature or updates the application. Updates and features sometimes cause application errors or other anomalies, which may cause inconvenience and irritation for end users. When application errors are observed after releasing an update or feature, the application's owner faces the difficult challenge of determining which feature is causing the errors. Searching for a solution is time consuming, labor intensive, and expensive because the search effort may include sending custom queries to gather data about the errors, evaluating the data, and reviewing the incoming error reports to try and identify the feature causing the errors.
For example, client device 110 is a device of a given user who would like to create an account on an online social platform. Client device 110 accesses a website of an online social platform (e.g., hosted by server system 108). The user inputs login credentials associated with the user. Server system 108 receives the request and provides access to the online social platform.
As another example, client device 110 is a device that downloads an update from an application distribution platform for an application, such as an online social platform hosted by server system 108. The update includes a feature having an action setting that has been changed from Disable to Enable by the server system 108, which also monitors the performance and other metrics associated with the application. In use, the feature has a defect that causes the application to crash or exhibit some other anomaly. In response, the server system 108 changes the action setting from Enable to Pause (or to Disable) for the client device 110 as well as other devices 110 using the application, until the feature defect can be repaired or otherwise corrected.
One or more users may be a person, a machine, or other means of interacting with the client device 110. In examples, the user may not be part of the system 100 but may interact with the system 100 via the client device 110 or other means. For instance, the user may provide input (e.g., touch screen input or alphanumeric input) to the client device 110 and the input may be communicated to other entities in the system 100 (e.g., third-party servers 130, server system 108, etc.) via the network 102. In this instance, the other entities in the system 100, in response to receiving the input from the user, may communicate information to the client device 110 via the network 102 to be presented to the user. In this way, the user interacts with the various entities in the system 100 using the client device 110.
The system 100 further includes a network 102. One or more portions of network 102 may be an ad hoc network, an intranet, an extranet, a virtual private network (VPN), a local area network (LAN), a wireless LAN (WLAN), a wide area network (WAN), a wireless WAN (WWAN), a metropolitan area network (MAN), a portion of the Internet, a portion of the public switched telephone network (PSTN), a cellular telephone network, a wireless network, a WiFi network, a WiMAX network, a broadband cellular network (e.g., 3G, 4G, 5G, and the like) operated according to the LTE standard or otherwise, another type of network, or a combination of two or more such networks.
The client device 110 may access the various data and applications provided by other entities in the system 100 via web client 112 (e.g., a browser) or one or more client applications 114. The client device 110 may include one or more client application(s) 114 (also referred to as “apps”) such as, but not limited to, a web browser, messaging application, electronic mail (e-mail) application, an e-commerce site application, a mapping or location application, an online home buying and selling application, a real estate application, and the like.
In some examples, one or more client application(s) 114 are included in a given one of the client device 110, and configured to locally provide the user interface and at least some of the functionalities, with the client application(s) 114 configured to communicate with other entities in the system 100 (e.g., third-party server(s) 128, server system 108, etc.), on an as-needed basis, for data processing capabilities not locally available (e.g., to access location information, to authenticate a user, etc.). Conversely, one or more client application(s) 114 may not be included in the client device 110, and then the client device 110 may use its web browser to access the one or more applications hosted on other entities in the system 100 (e.g., third-party server(s) 128, server system 108, etc.).
A server system 108 provides server-side functionality via the network 102 (e.g., the Internet or wide area network (WAN)) to: one or more third party server(s) 128, and one or more client devices 110). The server system 108 includes an application server 104 including an application program interface (API) server 120, a web server 122, and a release monitoring system 124, that may be communicatively coupled with one or more database(s) 126. The one or more database(s) 126 may be storage devices that store data related to (a) users of the server system 108, (b) applications associated with the server system 108, (c) cloud services, (d) data, identifiers, settings, and other characteristics associated with updates and features, and (e) any of a variety of other types of data. The one or more database(s) 126 may further store information related to third party server(s) 128, third-party application(s) 130, client device 110, client application(s) 114, users, and so forth. In one example, the one or more database(s) 126 may be cloud-based storage.
The server system 108 may be a cloud computing environment, according to some examples. The server system 108, and any servers associated with the server system 108, may be associated with a cloud-based application, in one example.
The server system 108 in some implementations includes a release monitoring system 124 that may be associated with a cloud-based application. The release monitoring system 124 may obtain user data, event logs, system metrics, data about updates and features, and the like, which are associated with a particular application, such as an online social platform, from the one or more databases 126, as described herein.
The system 100 further includes one or more third party server(s) 128. The one or more third-party server(s) 128 may include one or more third party application(s) 130. The one or more third party application(s) 130, executing on third party server(s) 128 may interact with the server system 108 via API server 120 via a programmatic interface provided by the API server 120. For example, one or more the third-party applications 130 may request and utilize information from the server system 108 via the API server 120 to support one or more features or functions on a website hosted by the third party or an application hosted by the third party. The third-party application(s) 130, for example, may provide software version analysis functionality that is supported by relevant functionality and data in the server system 108.
Although the one or more flowcharts may depict the operations as a sequential process, many of the operations can be performed in parallel or concurrently. In addition, the order of the operations may be rearranged. A process is terminated when its operations are completed. The term process may correspond to method, procedure, and the like. The steps of a process or method may be performed in whole or in part, may be performed in conjunction with some or all of the steps in the same or other methods, and may be performed by or in conjunction with any of a variety of different systems, such as the systems described herein.
As used herein, the feature may be an entirely new feature or include improvements or updates to an existing feature. The feature may be one developed by the owner of the application or by a third-party developer with access to a toolkit, instructions, guidelines, a portal, or other resource for use when developing compatible features.
The unique identifier may include a number, code, or other indicia unique to each particular feature in order to differentiate it from other features.
The rank associated with each feature may indicate its priority relative to other features. The rank of a feature that includes a security fix, for example, may be higher than the rank for a less important feature. The rank may also be used to define an order of release for a set of features in which one must be installed before the others, in an ordered list. Any of a variety of criteria, ranging from importance or urgency to mere convenience or no reason at all, may be used to assign a rank to a feature. The ranks assigned to a set of features creates a stack rank (0, 1, . . . n) which the system may use to access, prepare, release, or otherwise process the features in rank order.
The set of possible action settings may include Disable, Enable, and Pause. In some implementations, Disable is the default action setting for a new or improved feature when it is received from a developer for review. For example, a proposed feature may have an action setting of Disable until the feature is reviewed and approved. The setting for the feature may remain on Disable until features having a higher rank are processed by the system. For example, according to rank, the system may activate the feature by changing its action setting from Disable to Enable. If an anomaly is detected, for example, the action setting may be changed to Disable or to Pause.
The Disable setting, in some implementations, stops the release of the feature permanently; until the feature can be repaired or re-designed. In some implementations, the Disable setting includes a rollback; that is, the Disable setting stops uses of the feature on some or all devices, including devices that may have downloaded and briefly used the feature.
The Pause setting is especially useful for features that, once enabled, cannot be disabled without adverse consequences to the functioning or operation of the application. In some implementations, the Pause setting stops the release of the feature temporarily; until the feature can be repaired. In some implementations, the Pause setting stops the release of the feature and also stops the release of any additional features in a list. This action is particularly useful when a series of features are interdependent; for example, when the successful release of a first feature is a prerequisite for the release of a second feature.
Referring to
At operation 506, the staged release engine 202 of the release monitoring system 124 begins a staged release of a selected feature, by activating the action setting from Disable to Enable for that feature, on particular devices. In some implementations, the activating step applies to a first segment of the active subset of devices. The first segment of devices, for example, may be defined as a percentage of the active subset of devices. As devices stop and start running the application, the devices belonging to the active subset (in some implementations) may change over time; however, the feature may remain enabled for any device that received the action setting of Enable from the system.
The first segment may be configured as a variable setting in the release monitoring system 124. The first segment, for example, may be set to about one percent (1%) of the active subset of devices. In this aspect, the release of the feature to users begins relatively slowly, by activating the Enable action setting for only one out of every one hundred active devices. The first segment may be expressed as a percentage, a quantity, or any other value associated with the population of devices on which the application has been installed. The first segment may be associated with all the features to be released or a subset thereof. For example, when a feature is known to be simple with a low risk of causing errors, the first segment may be set to about fifty percent (or higher) of the active subset of devices for that feature. Similarly, for a newly created feature about which little is known, the first segment may be set to about one percent (1%) (or lower) of the active subset. The setting for the first segment may be associated with the unique identifier for that feature.
While the release of a feature is proceeding in stages, the anomaly detector 204 is configured to continually evaluate (at operation 508) a set of metrics about the application, as gathered by the monitoring process 504. If and when an anomaly is detected, the anomaly detector 204 may direct the staged release engine 202 to Pause or Disable the release. At operation 602, the pause is accomplished by changing the action setting for the feature from Enable to Pause. For example, if application crashes are detected among the active subset of devices, then the system 124 will Pause the feature (at operation 602) to prevent further crashes. The action setting of Pause will, in some implementations, temporarily halt uses of the feature without disabling the feature. In this aspect, the Pause setting is useful for features that, once enabled, cannot be disabled without adverse consequences to the application.
At operation 604, in some implementations, the ticket generator 206 generates and sends a repair ticket to the developer or team responsible for the feature that caused the anomaly. The repair ticket may include a message, a priority for the action, and any information that may be known or gathered about the feature defect, the anomaly that occurred, and other circumstances related to the anomaly.
The action setting is persistent in some implementations. For example, the action setting of Pause may remain associated with the feature unless and until a subsequent event occurs to change the action setting. When the feature has been repaired, reviewed, and approved, for example, the release monitoring system 124 may be configured to change the action setting from Pause to Enable, thereby placing the repaired feature back into the ordered list of features to be released using the activating step, at operation 506.
When the release monitoring system 124 is processing a number of features in an ordered list, and a feature is Paused, the system 124 may execute a return or repeat step (not shown) and select the next feature, according to rank, and then perform the activating step at operation 506 for the next feature. In this aspect, the system 124 is configured to continue releasing additional features while an anomaly-related feature has been paused.
If no anomaly is detected among the first segment of active devices, then the system 124 at operation 510 will continue the release of the feature in incremental stages. In the flowchart shown in
The subsequent segment may be set to the same percentage or quantity for each iteration (ten percent, for example). Alternatively, the subsequent segment may be set to a number of different percentages or quantities for each iteration, to be executed in order. For example, the activating step at operation 510 may be executed by iteratively increasing the subsequent segment so that the subtotal quantity of devices with the feature Enabled equals (1) in a first iteration, about ten percent (10%) of said the subset; (2) in a second iteration, about thirty percent (30%) of the active subset; (3) in a third iteration, about seventy percent (70%) of the active subset; and, finally (4) in a fourth iteration, about one hundred percent (100%) of the active subset or, in other words, substantially all devices in the active subset. Upon completion, the release monitoring system 124 is configured to select the next feature, according to rank, and then perform the activating step at operation 506 for the next feature. In this aspect, the system 124 is configured to continue installing features, in rank order.
Referring again to
The step of changing the action setting from Enable to Pause for the feature, at operation 602, according to some implementations includes the additional step of changing the action again from Pause to Disable. While some features cannot be fully disabled without adverse consequences to the application as a whole, there are features which can be turned off entirely using the action setting of Disable. For example, the Disable setting may be suitable for a feature that might be described as incidental or non-essential to the operation of the application itself. Whether the system 124 executes this additional step may be based on the unique identifier associated with the feature. For example, the unique identifier may include a number, code, or other indicia suggesting that the feature may be Disabled without adverse consequences to the application.
As shown in
The method 500 may also include an initial step of uploading the feature (not shown) to an application distribution platform (known colloquially as an app store). In this implementation, the release monitoring system 124 may detect the quantity of downloads executed for a particular feature. In this aspect, the system 124 can determine if the feature has been downloaded to a number of devices that is large enough to produce reliable data when monitoring starts, at operation 504. The threshold limit may be configured as a variable setting; either for all features or a subset thereof. For example, a threshold limit may be set for a particular feature. When the quantity reaches or exceeds a threshold limit, the release monitoring system 124 may be configured to start the process at operation 502 for this particular feature and/or to add this particular feature to an ordered list, by rank, of a plurality of features.
Each operation or step in the method 500 which has been described for handling a single feature may be accomplished for a set of features. In this aspect, the method 500 may include the step of maintaining an ordered list of a plurality of features, in which each feature is placed in order according to its rank. In operation, the features may be activated, according to the ordered list, by executing the activating step, at operation 506.
Referring again to operation 504, the monitoring may be accomplished according to a set of metrics associated with the health or functioning of the application, including for example a performance metric and an engagement metric. Each metric may be assigned a priority; for example, the performance metric may be weighted to reflect that it is more important than the engagement metric. The set of metrics may be the same or similar for all features or for a subset thereof.
The performance metric in some implementations involves a number of different measurements related to how the application is performing, including crash rate, app-open latency, and task latency. In some implementations, each measurement may be assigned a priority, such that the system applies a different weight or importance to one metric over another (crash rate, for example, may be assigned a higher priority that task latency). The term ‘crash’ refers to incidents when the application crashes; that is, stops functioning and freezes or closes. The term ‘crash rate’ refers to a number of crash incidents in relation to a duration of time (crashes per second), to a number of active applications (crashes per hundred active instances), or another relevant quantity. The app-open latency is associated with the duration between starting and completing the application opening process. A relatively long app-open latency may indicate poor performance. Similarly, the task latency is associated with the duration between starting and completing a particular task. A relatively long task latency may indicate poor performance. The system may measure the task latency associated with a selected task, such as a capture task (taking a photograph, for example), a send task (preparing and transmitting a message or other information), or another task selected based on the extent to which it might reflect the overall performance of the application.
The engagement metric in some implementations involves a number of different measurements related to how deeply users are engaged with the application, including session length and the number or quantity of actions or tasks completed. In some implementations, each measurement may be assigned a priority, such that the system applies a different weight or importance to one metric over another (session length, for example, may be assigned a higher priority that the quantity of user actions). Session length relates of course to the duration of time between opening and closing an application. The quantity of user actions may be counted, during a time period and/or during one session or several sessions. The system may count the occurrences of any of a variety of user actions, including for example a creation action (composing an image, for example), a send action (preparing and sending a message of other data), or another action selected based on the extent to which the activity might reflect the overall engagement with of the application.
The monitoring operation 504 as described herein is performed in order to detect an anomaly, if present, among the set of metrics. The term anomaly refers to any metric or measurement that deviates from what is standard, normal, or expected.
In some examples, the anomaly detector 204 of the release monitoring system 124 is configured to assess the presence or absence of an anomaly in relation to one or more stability thresholds. The stability threshold may be configured as a variable setting; either for all features or a subset thereof. For example, for a performance metric that includes a crash rate, the anomaly detector 204 may include a stability threshold expressed as the number of crashes per minute. As long as that stability threshold is not exceeded, there is no anomaly. If and when that stability threshold is exceeded, then an anomaly is present according to the anomaly detector 204. The stability threshold may be expressed in any of a variety of ways that are especially probative regarding a particular metric. For example, the stability threshold in the example above is expressed as ‘number of crashes per minute.’ Other expressions may include a system-wide crash rate such as a percentage of active applications, a quantity of crashes detected during a time period immediately following the step of activating a feature, and the like. The expression developed for a stability threshold will of course vary depending on the metric. The stability threshold for app-open latency, for example, may be expressed as a number of latencies exceeding a time limit (300 milliseconds, for example), an average of the measured latencies for a particular number of application instances, and the like.
In a related aspect, the one or more stability thresholds implemented by the anomaly detector 204 may include an absolute threshold and a relative threshold, along with rules expressing the relationship between them. An absolute threshold may be expressed as a quantity, a rate, a rate of change, and the like. For example, an absolute threshold associated with a crash rate metric may be set at ‘eighty crashes per minute.’ If that metric reaches the absolute threshold, an anomaly is present. A relative threshold, in contrast, may be expressed as a quantity or rate relative to another selected quantity or rate. For example, a relative threshold associated with a crash rate metric may be set at ‘a fifty percent increase in crash rate per minute when the feature is enabled, relative to the crash rate per minute during the ten minutes immediately before the feature was enabled.’ If the relative threshold is exceeded for that metric, then an anomaly is present.
For a metric that includes both an absolute threshold and a relative threshold, the anomaly detector 204 may also include a rule for determining when an anomaly is present. For example, the anomaly detector 204 may be configured to determine an anomaly exists when the metric meets or exceeds either threshold or both thresholds. Alternatively, the rule may require the anomaly detector 204 to evaluate one threshold first, before evaluating the other threshold.
As shown, the mobile device 890 includes an image display 880, an image display driver 882 to control the image display 880, and a controller 884. In the example of
Examples of touch screen type mobile devices that may be used include (but are not limited to) a smart phone, a personal digital assistant (PDA), a tablet computer, a laptop computer, or other portable device. However, the structure and operation of the touch screen type devices is provided by way of example; and the subject technology as described herein is not intended to be limited thereto. For purposes of this discussion,
As shown in
To generate location coordinates for positioning of the mobile device 890, the mobile device 890 can include a global positioning system (GPS) receiver. Alternatively, or additionally the mobile device 890 can utilize either or both the short range XCVRs 820 and WWAN XCVRs 810 for generating location coordinates for positioning. For example, cellular network, WiFi, or Bluetooth™ based positioning systems can generate very accurate location coordinates, particularly when used in combination. Such location coordinates can be transmitted to the eyewear device over one or more network connections via XCVRs 810, 820.
The transceivers 810, 820 (network communication interface) conforms to one or more of the various digital wireless communication standards utilized by modern mobile networks. Examples of WWAN transceivers 810 include (but are not limited to) transceivers configured to operate in accordance with Code Division Multiple Access (CDMA) and 3rd Generation Partnership Project (3GPP) network technologies including, for example and without limitation, 3GPP type 2 (or 3GPP2) and LTE, at times referred to as “4G.” For example, the transceivers 810, 820 provide two-way wireless communication of information including digitized audio signals, still image and video signals, web page information for display as well as web-related inputs, and various types of mobile message communications to/from the mobile device 890.
The mobile device 890 further includes a microprocessor, shown as CPU 830, sometimes referred to herein as the host controller. A processor is a circuit having elements structured and arranged to perform one or more processing functions, typically various data processing functions. Although discrete logic components could be used, the examples utilize components forming a programmable CPU. A microprocessor for example includes one or more integrated circuit (IC) chips incorporating the electronic elements to perform the functions of the CPU. The processor 830, for example, may be based on any known or available microprocessor architecture, such as a Reduced Instruction Set Computing (RISC) using an ARM architecture, as commonly used today in mobile devices and other portable electronic devices. Of course, other processor circuitry may be used to form the CPU 830 or processor hardware in smartphone, laptop computer, and tablet.
The microprocessor 830 serves as a programmable host controller for the mobile device 890 by configuring the mobile device 890 to perform various operations, for example, in accordance with instructions or programming executable by processor 830. For example, such operations may include various general operations of the mobile device, as well as operations related to the programming for applications on the mobile device. Although a processor may be configured by use of hardwired logic, typical processors in mobile devices are general processing circuits configured by execution of programming.
The mobile device 890 includes a memory or storage device system, for storing data and programming. In the example, the memory system may include a flash memory 840A and a random-access memory (RAM) 840B. The RAM 840B serves as short term storage for instructions and data being handled by the processor 830, e.g., as a working data processing memory. The flash memory 840A typically provides longer term storage.
Hence, in the example of mobile device 890, the flash memory 840A is used to store programming or instructions for execution by the processor 830. Depending on the type of device, the mobile device 890 stores and runs a mobile operating system through which specific applications are executed. Examples of mobile operating systems include Google Android, Apple iOS (for iPhone or iPad devices), Windows Mobile, Amazon Fire OS, RIM BlackBerry OS, or the like.
The machine 900 may include processors 902, memory 904, and I/O components 942, which may be configured to communicate with each other via a bus 944. In an example, the processors 902 (e.g., a Central Processing Unit (CPU), a Reduced Instruction Set Computing (RISC) processor, a Complex Instruction Set Computing (CISC) processor, a Graphics Processing Unit (GPU), a Digital Signal Processor (DSP), an ASIC, a Radio-Frequency Integrated Circuit (RFIC), another processor, or any suitable combination thereof) may include, for example, a processor 906 and a processor 910 that execute the instructions 908. The term “processor” is intended to include multi-core processors that may comprise two or more independent processors (sometimes referred to as “cores”) that may execute instructions contemporaneously. Although
The memory 904 includes a main memory 912, a static memory 914, and a storage unit 916, both accessible to the processors 902 via the bus 944. The main memory 904, the static memory 914, and storage unit 916 store the instructions 908 embodying any one or more of the methodologies or functions described herein. The instructions 908 may also reside, completely or partially, within the main memory 912, within the static memory 914, within machine-readable medium 918 (e.g., a non-transitory machine-readable storage medium) within the storage unit 916, within at least one of the processors 902 (e.g., within the processor's cache memory), or any suitable combination thereof, during execution thereof by the machine 900.
Furthermore, the machine-readable medium 918 is non-transitory (in other words, not having any transitory signals) in that it does not embody a propagating signal. However, labeling the machine-readable medium 918 “non-transitory” should not be construed to mean that the medium is incapable of movement; the medium should be considered as being transportable from one physical location to another. Additionally, since the machine-readable medium 918 is tangible, the medium may be a machine-readable device.
The I/O components 942 may include a wide variety of components to receive input, provide output, produce output, transmit information, exchange information, capture measurements, and so on. The specific I/O components 942 that are included in a particular machine will depend on the type of machine. For example, portable machines such as mobile phones may include a touch input device or other such input mechanisms, while a headless server machine will likely not include such a touch input device. It will be appreciated that the I/O components 942 may include many other components that are not shown in
In further examples, the I/O components 942 may include biometric components 932, motion components 934, environmental components 936, or position components 938, among a wide array of other components. For example, the biometric components 932 include components to detect expressions (e.g., hand expressions, facial expressions, vocal expressions, body gestures, or eye tracking), measure biosignals (e.g., blood pressure, heart rate, body temperature, perspiration, or brain waves), identify a person (e.g., voice identification, retinal identification, facial identification, fingerprint identification, or electroencephalogram-based identification), and the like. The motion components 934 include acceleration sensor components (e.g., accelerometer), gravitation sensor components, rotation sensor components (e.g., gyroscope), and so forth. The environmental components 936 include, for example, illumination sensor components (e.g., photometer), temperature sensor components (e.g., one or more thermometers that detect ambient temperature), humidity sensor components, pressure sensor components (e.g., barometer), acoustic sensor components (e.g., one or more microphones that detect background noise), proximity sensor components (e.g., infrared sensors that detect nearby objects), gas sensors (e.g., gas detection sensors to detection concentrations of hazardous gases for safety or to measure pollutants in the atmosphere), or other components that may provide indications, measurements, or signals corresponding to a surrounding physical environment. The position components 938 include location sensor components (e.g., a GPS receiver component), altitude sensor components (e.g., altimeters or barometers that detect air pressure from which altitude may be derived), orientation sensor components (e.g., magnetometers), and the like.
Communication may be implemented using a wide variety of technologies. The I/O components 942 further include communication components 940 operable to couple the machine 900 to a network 920 or devices 922 via a coupling 924 and a coupling 926, respectively. For example, the communication components 940 may include a network interface component or another suitable device to interface with the network 920. In further examples, the communication components 940 may include wired communication components, wireless communication components, cellular communication components, Near-field Communication (NFC) components, Bluetooth® components (e.g., Bluetooth® Low Energy), WiFi® components, and other communication components to provide communication via other modalities. The devices 922 may be another machine or any of a wide variety of peripheral devices (e.g., a peripheral device coupled via a USB).
Moreover, the communication components 940 may detect identifiers or include components operable to detect identifiers. For example, the communication components 940 may include Radio Frequency Identification (RFID) tag reader components, NFC smart tag detection components, optical reader components (e.g., an optical sensor to detect one-dimensional bar codes such as Universal Product Code (UPC) bar code, multi-dimensional bar codes such as Quick Response (QR) code, Aztec code, Data Matrix, Dataglyph, MaxiCode, PDF417, Ultra Code, UCC RSS-2D bar code, and other optical codes), or acoustic detection components (e.g., microphones to identify tagged audio signals). In addition, a variety of information may be derived via the communication components 940, such as location via Internet Protocol (IP) geolocation, location via Wi-Fi® signal triangulation, location via detecting an NFC beacon signal that may indicate a particular location, and so forth.
The various memories (e.g., memory 904, main memory 912, static memory 914, memory of the processors 902), storage unit 916 may store one or more sets of instructions and data structures (e.g., software) embodying or used by any one or more of the methodologies or functions described herein. These instructions (e.g., the instructions 908), when executed by processors 902, cause various operations to implement the disclosed examples.
The instructions 908 may be transmitted or received over the network 920, using a transmission medium, via a network interface device (e.g., a network interface component included in the communication components 940) and using any one of a number of well-known transfer protocols (e.g., hypertext transfer protocol (HTTP)). Similarly, the instructions 908 may be transmitted or received using a transmission medium via the coupling 926 (e.g., a peer-to-peer coupling) to the devices 922.
The operating system 1012 manages hardware resources and provides common services. The operating system 1012 includes, for example, a kernel 1014, services 1016, and drivers 1022. The kernel 1014 acts as an abstraction layer between the hardware and the other software layers. For example, the kernel 1014 provides memory management, processor management (e.g., scheduling), component management, networking, and security settings, among other functionality. The services 1016 can provide other common services for the other software layers. The drivers 1022 are responsible for controlling or interfacing with the underlying hardware. For instance, the drivers 1022 can include display drivers, camera drivers, Bluetooth® or Bluetooth® Low Energy (BLE) drivers, flash memory drivers, serial communication drivers (e.g., Universal Serial Bus (USB) drivers), Wi-Fi® drivers, audio drivers, power management drivers, and so forth.
The libraries 1010 provide a low-level common infrastructure used by the applications 1006. The libraries 1010 can include system libraries 1018 (e.g., C standard library) that provide functions such as memory allocation functions, string manipulation functions, mathematic functions, and the like. In addition, the libraries 1010 can include API libraries 1024 such as media libraries (e.g., libraries to support presentation and manipulation of various media formats such as Moving Picture Experts Group-4 (MPEG4), Advanced Video Coding (H.264 or AVC), Moving Picture Experts Group Layer-3 (MP3), Advanced Audio Coding (AAC), Adaptive Multi-Rate (AMR) audio codec, Joint Photographic Experts Group (JPEG or JPG), or Portable Network Graphics (PNG)), graphics libraries (e.g., an OpenGL framework used to render in two dimensions (2D) and three dimensions (3D) in a graphic content on a display), database libraries (e.g., SQLite to provide various relational database functions), web libraries (e.g., a WebKitx engine to provide web browsing functionality), and the like. The libraries 1010 can also include a wide variety of other libraries 1028 to provide many other APIs to the applications 1006.
The frameworks 1008 provide a high-level common infrastructure that is used by the applications 1006. For example, the frameworks 1008 provide various graphical user interface (GUI) functions, high-level resource management, and high-level location services. The frameworks 1008 can provide a broad spectrum of other APIs that can be used by the applications 1006, some of which may be specific to a particular operating system or platform.
In an example, the applications 1006 may include a home application 1036, a contacts application 1030, a browser application 1032, a book reader application 1034, a location application 1042, a media application 1044, a messaging application 1046, a game application 1048, and a broad assortment of other applications such as a third-party application 1040. The third-party applications 1006 are programs that execute functions defined within the programs. Various programming languages can be employed to create one or more of the applications 1006, structured in a variety of manners, such as object-oriented programming languages (e.g., Objective-C, Java, or C++) or procedural programming languages (e.g., C or assembly language).
In a specific example, the third-party application 1040 (e.g., an application developed using the Google Android or Apple iOS software development kit (SDK) by an entity other than the vendor of the particular platform) may be mobile software running on a mobile operating system such as Google Android, Apple iOS (for iPhone or iPad devices), Windows Mobile, Amazon Fire OS, RIM BlackBerry OS, or another mobile operating system. In this example, the third-party application 1040 can invoke the API calls 1050 provided by the operating system 1012 to facilitate functionality described herein.
This application is a Continuation of U.S. application Ser. No. 17/747,812 filed on May 18, 2022, which is a Continuation of U.S. application Ser. No. 16/393,039 filed on Apr. 24, 2019, the contents of both of which are incorporated fully herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 17747812 | May 2022 | US |
Child | 18386843 | US | |
Parent | 16393039 | Apr 2019 | US |
Child | 17747812 | US |