Systems and methods for dynamically configuring a client application
Abstract
A client device installed with a client application comprising a configurable rules engine may be configured to (i) receive configuration data for a given rule related to the client application's observability behavior that comprises (a) a trigger event and (b) a set of one or more actions, (ii) based on the received configuration data, configure the configurable rules engine of the client application to execute the given rule, and (iii) initiate a runtime session of the client application during which the configurable rules engine of the client application executes the given rule by (a) monitoring for the trigger event, (b) while monitoring for the trigger event, detecting an occurrence of the trigger event, and (c) based on detecting the occurrence of the trigger event, causing the set of one or more actions to be carried out.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 40 · Forward citations: 0.
Claims (23 — 3 Independent, 20 Dependent)
- Claim 1Independent Claim
A method implemented by a client device, the method comprising: installing a given instance of a client application comprising (i) program code defining a default observability behavior of the client application, wherein the default observability behavior involves carrying out a default set of observability actions during runtime sessions of the client application, and (ii) program code defining a configurable rules engine that allows for post-installation updating of the default observability behavior of the client application without installing an updated instance of the client application; while installed with the given instance of the client application, receiving, from a back-end platform associated with a provider of the client application, configuration data for a given rule related to observability behavior of the given instance of the client application, wherein the given rule comprises (i) a trigger event that is to cause a change in the observability behavior of the given instance of the client application and (ii) a set of one or more actions related to the observability behavior of the given instance of the client application that is to be carried out when the trigger event is detected; based on the received configuration data, configuring the configurable rules engine of the given instance of the client application to execute the given rule related to observability behavior of the given instance of the client application; and initiating a runtime session of the given instance of the client application, wherein, during the runtime session, the given instance of the client application functions to: begin carrying out the default set of observability actions in accordance with the default observability behavior of the given instance of the client application; begin monitoring for the trigger event of the given rule; while monitoring for the trigger event, detect an occurrence of the trigger event; based on detecting the occurrence of the trigger event: perform an evaluation of whether the default observability behavior of the given instance of the client application is to be updated based on at least one of (i) a two-way exchange of communication with the back-end platform or (ii) input from an end user of the given instance of the client application; and based on the evaluation, determine that the default observability behavior of the given instance of the client application is to be updated and responsively update the default observability behavior of the given instance of the client application based on the set of one or more actions of the given rule.
- Claim 2Depends on #1
The method of claim 1, wherein the given rule is defined based on user input from a user associated with the provider of the client application.
- Claim 3Depends on #1
The method of claim 1, wherein the trigger event of the given rule comprises one of (i) recordation of a log event that satisfies a specified condition during the runtime session, (ii) detection of a specified change in a state or operation of the given instance of the client application during the runtime session, (iii) detection of a specified change in a state or operation of the client device during the runtime session, or (iv) receipt of a specified type of user input from the end user of the given instance of the client application during the runtime session.
- Claim 4Depends on #1
The method of claim 1, wherein updating the default observability behavior of the given instance of the client application based on the set of one or more actions of the given rule comprises triggering the given instance of the client application to report additional log information for the runtime session to the back-end platform.
- Claim 5Depends on #4
The method of claim 4, wherein updating the default observability behavior of the given instance of the client application based on the set of one or more actions of the given rule further comprises triggering the given instance of the client application to capture the additional log information for the runtime session that is to be reported to the back-end platform.
- Claim 6Depends on #4
The method of claim 4, wherein the configurable rules engine causes the given instance of the client application to begin provisionally capturing the additional log information for the runtime session prior to detecting the occurrence of the trigger event.
- Claim 7Depends on #6
The method of claim 6, wherein the given instance of the client application writes the provisionally-captured log information to a ring buffer within local data storage of the client device.
- Claim 8Depends on #4
The method of claim 4, wherein the default set of observability actions comprises capturing one or more default levels of log information for the runtime session, and wherein the additional log information comprises one or more additional levels of log information.
- Claim 9Depends on #1
The method of claim 1, wherein updating the default observability behavior of the given instance of the client application based on the set of one or more actions of the given rule comprises causing the given instance of the client application to report additional contextual information for the runtime session to the back-end platform.
- Claim 10Depends on #9
The method of claim 9, wherein the additional contextual information comprises one of (i) state information for the given instance of the client application or (ii) state information for the client device.
- Claim 11Depends on #1
The method of claim 1, wherein updating the default observability behavior of the given instance of the client application based on the set of one or more actions of the given rule comprises causing the given instance of the client application to initiate a live support session or an interactive debugging session with the provider of the client application.
- Claim 12Independent Claim
A non-transitory computer-readable medium comprising program instructions stored thereon that are executable to cause a client device to perform functions comprising: installing a given instance of a client application comprising (i) program code defining a default observability behavior of the client application, wherein the default observability behavior involves carrying out a default set of observability actions during runtime sessions of the client application, and (ii) program code defining a configurable rules engine that allows for post-installation updating of the default observability behavior of the client application without installing an updated instance of the client application; while installed with the given instance of the client application, receiving, from a back-end platform associated with a provider of the client application, configuration data for a given rule related to observability behavior of the given instance of the client application, wherein the given rule comprises (i) a trigger event that is to cause a change in the observability behavior of the given instance of the client application and (ii) a set of one or more actions related to the observability behavior of the given instance of the client application that is to be carried out when the trigger event is detected; based on the received configuration data, configuring the configurable rules engine of the given instance of the client application to execute the given rule related to observability behavior of the given instance of the client application; and initiating a runtime session of the given instance of the client application, wherein, during the runtime session, the given instance of the client application functions to: begin carrying out the default set of observability actions in accordance with the default observability behavior of the given instance of the client application; begin monitoring for the trigger event of the given rule; while monitoring for the trigger event, detect an occurrence of the trigger event; based on detecting the occurrence of the trigger event: perform an evaluation of whether the default observability behavior of the given instance of the client application is to be updated based on at least one of (i) a two-way exchange of communication with the back-end platform or (ii) input from an end user of the given instance of the client application; and based on the evaluation, determine that the default observability behavior of the given instance of the client application is to be updated and responsively update the default observability behavior of the given instance of the client application based on the set of one or more actions of the given rule.
- Claim 13Depends on #12
The non-transitory computer-readable medium of claim 12, wherein the given rule is defined based on user input from a user associated with the provider of the client application.
- Claim 14Depends on #12
The non-transitory computer-readable medium of claim 12, wherein the trigger event of the given rule comprises one of (i) recordation of a log event that satisfies a specified condition during the runtime session, (ii) detection of a specified change in a state or operation of the given instance of the client application during the runtime session, (iii) detection of a specified change in a state or operation of the client device during the runtime session, or (iv) receipt of a specified type of user input from the end user of the given instance of the client application during the runtime session.
- Claim 15Depends on #12
The non-transitory computer-readable medium of claim 12, wherein updating the default observability behavior of the given instance of the client application based on the set of one or more actions of the given rule comprises triggering the given instance of the client application to report additional log information for the runtime session to the back-end platform.
- Claim 16Depends on #15
The non-transitory computer-readable medium of claim 15, wherein updating the default observability behavior of the given instance of the client application based on the set of one or more actions of the given rule further comprises triggering the given instance of the client application to capture the additional log information for the runtime session that is to be reported to the back-end platform.
- Claim 17Depends on #15
The non-transitory computer-readable medium of claim 15, wherein the configurable rules engine causes the given instance of the client application to begin provisionally capturing the additional log information for the runtime session prior to detecting the occurrence of the trigger event.
- Claim 18Depends on #17
The non-transitory computer-readable medium of claim 17, wherein the given instance of the client application writes the provisionally-captured log information to a ring buffer within local data storage of the client device.
- Claim 19Depends on #15
The non-transitory computer-readable medium of claim 15, wherein the default set of observability actions comprises capturing one or more default levels of log information for the runtime session, and wherein the additional log information comprises one or more additional levels of log information.
- Claim 20Independent Claim
A client device comprising: at least one processor; at least one non-transitory computer-readable medium; and program instructions stored on the at least one non-transitory computer-readable medium that are executable by the at least one processor such that the client device is configured to: install a given instance of a client application comprising (i) program code defining a default observability behavior of the client application, wherein the default observability behavior involves carrying out a default set of observability actions during runtime sessions of the client application, and (ii) program code defining a configurable rules engine that allows for post-installation updating of the default observability behavior of the client application without installing an updated instance of the client application; while installed with the given instance of the client application, receive, from a back-end platform associated with a provider of the client application, configuration data for a given rule related to observability behavior of the given instance of the client application, wherein the given rule comprises (i) a trigger event that is to cause a change in the observability behavior of the given instance of the client application and (ii) a set of one or more actions related to the observability behavior of the given instance of the client application that is to be carried out when the trigger event is detected; based on the received configuration data, configure the configurable rules engine of the given instance of the client application to execute the given rule related to observability behavior of the given instance of the client application; and initiate a runtime session of the given instance of the client application, wherein, during the runtime session, the given instance of the client application functions to: begin carrying out the default set of observability actions in accordance with the default observability behavior of the given instance of the client application; begin monitoring for the trigger event of the given rule; while monitoring for the trigger event, detect an occurrence of the trigger event; based on detecting the occurrence of the trigger event: perform an evaluation of whether the default observability behavior of the given instance of the client application is to be updated based on at least one of (i) a two-way exchange of communication with the back-end platform or (ii) input from an end user of the given instance of the client application; and based on the evaluation, determine that the default observability behavior of the given instance of the client application is to be updated and responsively update the default observability behavior of the given instance of the client application based on the set of one or more actions of the given rule.
- Claim 21Depends on #1
The method of claim 1, wherein the evaluation of whether the default observability behavior of the given instance of the client application is to be updated is based at least on the two-way exchange of communication with the back-end platform.
- Claim 22Depends on #21
The method of claim 21, wherein the two-way exchange of communication comprises (i) a first communication from the client device to the back-end platform that includes an indication that the trigger event has occurred and (ii) a second communication from the back-end platform to the client device that includes an instruction to update the default observability behavior of the given instance of the client application.
- Claim 23Depends on #1
The method of claim 1, wherein the evaluation of whether the default observability behavior of the given instance of the client application is to be updated is based at least on the input from the end user of the given instance of the client application.
Technical Overview & Description
BACKGROUND In today's digital age, client applications of all different kinds play an increasing role in peoples' daily lives. For example, users of mobile devices such as smartphones and tablets may use a wide range of different mobile applications (or “ mobile apps ” for short), examples of which may include lifestyle apps (e.g., ridesharing apps, travel apps, restaurant apps, dating apps, etc.), social media apps, entertainment apps (e.g., music apps, video apps, book apps, etc.), gaming apps, news apps, and/or productivity apps, among many other possible examples. As another example, users of other types of computers such as laptops and desktops may use a wide range of different desktop applications, which may fall into similar categories. As yet another example, users of mobile devices and computers may use a wide range of web applications that run within web browsers on the users' mobile devices and computers. The types of client applications that could be installed and used on mobile devices and/or other computers may take various other forms as well. In order to release a new client application (or a new version of a client application) to users of mobile devices or other computers, a software provider typically has to engage in a multi-stage process that involves activities such as planning the client application, designing, developing, and building the client application, testing the client application, preparing the client application for release, and then releasing the client application, among other possible activities, which can be time consuming and costly. Moreover, after the software provider releases a client application, issues with the client application often materialize that may give rise to a need for the software provider's personnel to review and evaluate the operation of the released client application in order to determine whether an updated version of the client should be developed and released. SUMMARY In one aspect, the disclosed techno
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (40)
Non-Patent Literature (10)
- Zheng, Xi, et al.
- “
- Efficient and scalable runtime monitoring for cyber-physical system.
- ”
- IEEE Systems Journal 12.2 (2016): 1667-1678. (Year: 2016).
- International Searching Authority. International Search Report and Written Opinion issued in International Application No. PCT/US2023/036500, mailed on Feb. 23, 2024, 7 pages.
- Ku
- ć
- , Rafal. Understanding Logging Levels: What They Are
- &