Feature Switching Kits
A system and method for feature switching in software applications. A feature switching action (FSA) is received and at least one user device is identified based on the received FSA. At least one feature switching instruction (FSI) is generated based on the received FSA and the FSI is sent to at least one of the identified user devices. A feature switching instruction response (FSIR) is received from each user device that received a FSI and a feature switching action response (FSAR) is generated based on the received FSIRs.
Latest Twitter Patents:
This application is a continuation of, and claims the benefit of, U.S. patent application Ser. No. 17/128,851, filed Dec. 21, 2020, which is a continuation of, and claims the benefit of, U.S. patent application Ser. No. 16/208,080, filed Dec. 3, 2018, which is a divisional application of, and claims the benefit of, U.S. patent application Ser. No. 15/250,753, filed Aug. 29, 2016, which claims the benefit of U.S. Provisional Application No. 62/211,552, filed Aug. 28, 2015, the entire contents of each which are incorporated herein by reference.
BACKGROUNDA software development kit (SDK) is a set of tools used to create applications for particular platforms. Software application developers often incorporate third-party software development kits (SDKs) into their product to enhance its functionality and marketability.
SUMMARYIn one example, a system and method for feature switching includes defining a plurality of service software development kits (service SDKs), including a first service SDK, wherein each service SDK is associated with a service and includes one or more features associated with the service, developing an application having one or more of the service SDKs, including the first service SDK, and executing the application on a user device, wherein executing includes determining if the service associated with the first service SDK is available and switching off one or more features of the first service SDK if the service is unavailable.
In another example, a method for feature switching in software applications includes receiving a service status report (SSR) from a service provider, determining that a feature adjustment is required based on the received SSR, generating, based on determination, a feature switching action (FSA), sending the FSA to a software development kit (SDK) platform and receiving a feature switching action response (FSAR) from the SDK platform.
In another example, a method for feature switching in software applications includes receiving a service status report (SSR) from a service provider, determining that a feature adjustment is required based on the received SSR, generating, based on the determination, a feature switching action advice (FSAA), sending the FSAA to a command authority for validation, receiving a feature switching action (FSA) from the command authority, and sending a feature switching action response (FSAR) to the command authority.
In another example, a method for feature switching in software applications includes receiving a feature switching action (FSA) from a command authority, identifying at least one user device based on the received FSA, generating at least one feature switching instruction (FSI) based on the received FSA, sending the FSI to at least one identified user device, receiving a feature switching instruction response (FSIR) from the at least one identified user device, generating a feature switching action response (FSAR) based on the received FSIR and sending the FSAR to the command authority.
In another example, a method for feature switching in software applications includes receiving a feature switching instruction (FSI) from a software development kit (SDK) platform, identifying, based on the received FSI, a service SDK identifier, at least one feature identifier, and at least one feature set value, determining that a replacement user interface (UI) skin is required to fulfill the FSI, obtaining, based on the determination, the replacement UI skin, applying the replacement UI skin and updating at least one feature property; generating a feature switching instruction response (FSIR), and sending the FSIR to the SDK platform.
In another example, a method for feature switching in software applications includes receiving, at a device, one or more feature switching instructions (FSIs) from a software development kit (SDK) platform, wherein each FSI includes a service SDK identifier, a feature identifier and a feature set value, wherein each FSI identifies a feature within a service SDK as a function of the service SDK identifier and the feature identifier, applying an adjustment to the respective feature identified by each FSI based on the feature set value in the respective FSI, generating a feature switching instruction response (FSIR), and sending the FSIR to the SDK platform.
In another example, a system includes at least one processor and a computer-readable storage medium storing instructions that, when executed, cause the at least one processor to receive a feature switching action (FSA), identify at least one user device based on the received FSA, generate at least one feature switching instruction (FSI) based on the received FSA, send the FSI to at least one of the identified user devices, receive a feature switching instruction response (FSIR) from the at least one identified user device, and generate a feature switching action response (FSAR) based on the received FSIR.
In another example, a device includes at least one processor and a computer-readable storage medium storing instructions that, when executed, cause the at least one processor to receive, from an external source, one or more feature switching instructions (FSIs), wherein each FSI includes a service SDK identifier, a feature identifier and a feature set value, wherein each FSI identifies a feature within a service SDK as a function of the service SDK identifier and the feature identifier, apply an adjustment to the feature identified by each FSI based on the feature set value in the FSI, generate a feature switching instruction response (FSIR), and send the FSIR to the external source.
In yet another example, a computer-readable storage medium stores instructions that, when executed, cause at least one processor to receive a feature switching action (FSA), identify at least one user device based on the received FSA, generate at least one feature switching instruction (FSI) based on the received FSA, send the FSI to at least one identified user device, receive a feature switching instruction response (FSIR) from the at least one identified user device, and generate a feature switching action response (FSAR) based on the received FSIR.
The feature switching system and method described below provides a modular mechanism for accessing services via service SDKs. This modular mechanism may be used to simplify the addition of services to applications running on user devices, to efficiently introduce both new services and new features in existing services in real-time without interruption and to gracefully handle failure when a service is unavailable or degraded. The system and method becomes even more powerful when combined with a service SDK platform that controls deployment, monitoring and configuration of the service SDKs used in the applications installed on the user device as detailed below. Software developers may access the service SDK platform to include service SDKs in their applications.
The details of one or more examples of the disclosure are set forth in the accompanying drawings and the description below. Other features, objects, and advantages of the disclosure will be apparent from the description and drawings, and from the claims.
Specific aspects of the present disclosure will now be described in detail with reference to the accompanying figures. In the following detailed description of aspects of the present disclosure, numerous specific details are set forth in order to provide a more thorough understanding of the invention. However, it will be apparent to one of ordinary skill in the art that the invention may be practiced without these specific details. In other instances, well-known features have not been described in detail to avoid unnecessarily complicating the description.
Throughout the application, ordinal numbers (e.g., first, second, third, etc.) may be used as an adjective for an element (i.e., any noun in the application). The use of ordinal numbers is not to imply or create any particular ordering of the elements nor to limit any element to being only a single element unless expressly disclosed, such as by the use of the terms “before”, “after”, “single”, and other such terminology. Rather, the use of ordinal numbers is to distinguish between the elements. By way of an example, a first element is distinct from a second element, and the first element may encompass more than one element and succeed (or precede) the second element in an ordering of elements.
In the following description of
Developers often develop applications for user devices (e.g., mobile devices) operating within a network. Such applications, when executed on the user devices, often access services provided by service providers operating on the network via software development kits (SDKs) embedded in or otherwise used by the applications.
Applications distributed to user devices tend to include static code with fixed features. Such an approach simplifies distribution and maintenance of such code at the cost of adaptability. What are described below are example methods and systems for enabling and managing real-time feature switching in deployed software applications via an SDK platform. Such an approach allows the application developer to dynamically add and improve services within their applications.
In one example approach, a developer enables feature switching by including feature switches in the application code. One can use such switches to, for example, slowly enable new features in existing applications or to turn on or off features in response to changing conditions. In one non-limiting example, an application executing on a mobile device may access three different services. For instance, the three services include an analytics service, a logging service and an aggregation service. If one of the services is unavailable, it would be advantageous to be able to disable that feature in the application. In one example approach, the service provider disables the feature via an SDK platform. In another such example approach, a command authority determines if a feature should be disabled and communicates that to the appropriate user devices. In yet another example approach, a processor receives an indication from a service provider that a feature should be disabled. The processor then determines if the feature should be disabled.
In one or more aspects of the present disclosure, the developer devices (102) and the user devices (106) each correspond to any combination of hardware, software, and/or firmware, such as shown and discussed below with respect to
In one or more aspects of the present disclosure, a developer device (102) is a device that is used to develop a software application (discussed below). An application developer is a user or group of users that creates, updates, and/or manages the code of the software application. Further, an application developer and a developer device may additionally manage or authorize real-time changes to releases of the software application as needed. In such a scenario, the developer device may include functionality to enact feature switching through an SDK platform (108). Developer devices are discussed in further detail below and in
The software application is any computer program product that is developed by an application developer. The term software application may include different versions and/or editions of the same software application. In one or more aspects of the present disclosure, the software application includes multiple features. Each feature is a distinct attribute of the software application that may or may not be transparent to the end-user operating the user device. In other words, the features of the software application may be observable to the end-user; or alternatively, the features of the software application may be hidden from the end-user. For example, a feature represented as a displayed component in a graphical user interface (GUI) is a feature that is observable to the end-user. In another example, a feature that impacts the behavior of a provided service, such as only impacting the provided content or data utilized by the software application, is a feature that is hidden from the end-user.
In one or more aspects of the present disclosure, a user device (106) is a device used by market users of the software application. A market user is a customer of the software application. For example, the market user may be a purchaser of the software application and/or an entity that acquires a general released version of the software application. Furthermore, the market user utilizes the software application per its intended use. User devices are discussed in further detail below and in
Continuing with
As shown in
Often, an application operating in one of user devices 106 in system 100 will have many different SDKs. In such a situation, it can be advantageous to manage each SDK from a single platform. One such example platform 108 is shown in
In one example approach, the SDK platform (108) may also provide an application marketplace for software applications. An application market is a virtual network space, supported by hardware and software that connects consumers of software applications to developers of software applications, and facilitates the exchange of software applications. In at least some example approaches, the application market is a public market that is accessible via the Internet.
Continuing with the SDK platform (108), the SDK platform (108) includes a data repository (110). The data repository (110) is any type of storage unit and/or device (e.g., a file system, database, collection of tables, or any other storage mechanism) for storing data. Further, the data repository (110) may include multiple different storage units and/or devices. The multiple different storage units and/or devices may or may not be of the same type or located at the same physical site. The data repository (110) includes functionality to store one or more datum (112, 114), which, in one or more example approaches, may include unprocessed and processed information.
Unprocessed data is raw data that is gathered from the SDKs embedded in the software application that is, in turn, executing on the user device(s). For example, unprocessed data may include, but is not limited to, for each SDK in the software application: an amount of time in which each feature is executed, identification of the subset of features executed, and the frequency in which the associated service has been used/accessed. A subset as used in this application includes all, part, or none. Thus, a subset of features of an SDK may be all the features of the SDK, part of the features of the SDK, or none of the features of the SDK. Unprocessed data may also include, representing an overview of the SDK platform and/or the feature switching system entirely: the number of user devices with a particular software application, SDK, and/or feature installed, the number of user devices running a specified operating system (OS), the general geographical location the software application is executing at, the frequency of which the software application has been opened, identification of which user devices favored which SDKs and/or features, and any other unprocessed data.
Processed data may include statistics or metrics about the unprocessed data. For example, processed data may include totals and/or proportions. The totals may include: the total elapsed execution time of the software application, SDKs, and features, the total number of user devices within a specified geographic region (e.g., city, state, country, etc.), and the total number of users (e.g., user devices) expressing favoritism towards a particular service, feature, or alternative. Proportions, which includes the conveyance of data through percentages and/or rates, may include: the amount of execution time pertaining to a feature or a SDK/service in comparison to the total amount of time the software application has been executing, the distribution of user devices executing the software application across various definable geographic locations, and the rate of users (e.g., user devices) actively accessing particular services within a specified period of time (e.g., daily, weekly, monthly, etc.).
The above discussion is representative of only a few types of unprocessed and processed data that may be stored in the data repository (110). Additional and/or alternative unprocessed and processed data may be collected and/or exist without departing from what is described herein.
The IDE (202) is a collection of one or more tools that facilitates the development of a software application. For example, the tools in the IDE (202) may include tools, such as a code editor, compiler, debugger, and other tools used in the development of a software application. In one or more example approaches, the IDE (202) includes an application code repository (206), and one or more service plugins (208, 210). The application code repository (206) is a data repository for storing application source code, a compiled binary, intermediate object code, or any other type of code. Each of the service plugins (208, 210) is an extension to the IDE that connects to their respective service (discussed above). Each of the service plugins (208, 210) may assist in adding their respective SDK to the software application and communicating with the respective service to obtain data from the service.
The developer UI (204) is an interface (e.g., graphical user interface and/or application programming interface) for the developer device (200) that facilitates access to the SDK platform. For example, the developer UI (204) may include interface widgets and functionality to receive, directly or indirectly, from the application developer, the software application, parameters to identify user devices that are running the software application, and parameters for enabling and managing feature switching in real-time at any granularity. In one or more example approaches, the developer UI (204) includes a dashboard (212). In one or more example approaches, the dashboard (212) includes the presentation of data resulting from the employment of services provided. Referring to the analytics service example (discussed above), the dashboard (212) may include charts, graphs, and other GUI widgets to present analytics.
While
In one or more example approaches, the service SDK (240) includes one or more features (242, 244). As mentioned above, the one or more features (242, 244) are representative of the distinct attributes of a software application; more so, features are the distinct segments defining a provided service used within the software application. Further, a feature may be interacted with via a binary and/or through a variable fashion. In other words, in one embodiment, the feature may be toggled to enable or disable (e.g., binary states) its function in the provided service and subsequently, the software application. In another embodiment, the feature may variably restrict its influence or contribution to the data/content utilized by the software application. A feature may impact its respective service through any other mechanism without departing from what is described herein.
In one or more example approaches, the service SDK (240) includes a feature switching manager (246). In one or more example approaches, the feature switching manager (246) is software construct serving as a management system purposed with executing received feature switching instructions (FSI) (discussed below). The feature switching manager (246) is the main body that implements the adjustments specified in the FSI and handles the employment of resources (i.e., UI skins, images, fonts, etc.) that are essential towards completing a feature switching adjustment. Further, the feature switching manager (246), in one or more example approaches, reserves the functionality to update the properties of a feature (242, 244) (discussed below) based on the outcome of executing the received FSI.
In one or more example approaches, the service SDK (240) includes a resources repository (248). The resources repository (248) is any type of storage unit and/or device (e.g., a file system, database, collection of tables, or any other storage mechanism) for storing data. Further, the resources repository (248) includes functionality to store resources (e.g., UI skins, images, etc.) critical to the successful execution of feature switching adjustments in one or more example approaches.
In Step 404, a determination is made whether information provided in the received SSR warrants that adjustment(s) of software application attributes take place. In one example approach, an adjustment may comprise enabling or disabling at least a part of a service, thereby prompting a change in the software application user interface that is observable to the end-user. In another example approach, an adjustment may comprise redefining the behavior of a service that is being provided to a user device. Said another way, a service may provide content or data to a software application fed from numerous sources and an adjustment affecting the behavior of a provided service would, for example, alter the contribution of each source towards that provided data. In yet another example approach, an adjustment may refer to introducing an additional source in contributing towards the data provided, followed by the redistribution of contributions between the existing and new sources. In another example approach, an adjustment may comprise a change in the configuration of service settings to conform to end-user preferences, which may or may not trigger visible modifications to the software application user interface in addition to service behavioral changes. Other processes may comprise of an adjustment without departing from what is described herein. Returning to the discussion of
Continuing discussion of
In Step 408, the FSA, generated in Step 406, is sent to the SDK platform. In Step 410, following the completion of processes shown and discussed below with respect to
In Step 424, based on the determination presented in Step 422, a feature switching action advice (FSAA) is generated by the SDK platform. The FSAA serves to propose a recommended action, to convey to a command authority (e.g., application developer, developer device, a separate system 100 computer, a processor in the SDK platform, based on the indicators extracted from processing the SSR (discussed above). Moreover, presentation of the FSAA to the command authority may vary. In one example approach, if it is deemed necessary that all recommendations be approved by the application developer, the FSAA is an interactive dialog that pops up in the developer UI (204 in
Proceeding along, in Step 426, the FSAA, generated in Step 424, is sent to the command authority (e.g., application developer, developer device, a separate system 100 computer, a processor in the SDK platform. Following the processing of the FSAA by the command authority, a FSA is received from said command authority specifying the allowance, rejection, or replacement of the proposed action given by the SDK platform. Therefore, if an allowance is granted, the SDK platform, for example, may receive a FSA that instructs the SDK platform to implement the recommended action. Conversely, a FSA may be received instructing the SDK platform to not pursue the recommendation and stand idle if a rejection is issued. Additionally, a received FSA may include an alternative action that the command authority wishes to implement in contrast to the proposed action presented in the FSAA. Finally, in Step 430, following the completion of processes shown and discussed below with respect to
In Step 506, one or more feature switching instructions (FSIs) are generated based on the FSA. In one example approach, each FSI may be interpreted differently by user devices with differing architectures, and therefore, each FSI may be generated with consideration to the embedded hardware and/or software specifications on the particular user device in mind. For example, if different operating systems (OS) (i.e., iOS®, Android™, Windows®, etc.) are found running on the set of user devices that are targeted to apply an adjustment of a feature, various FSI are generated utilizing the programming language native to each OS. (iOS is a registered trademark of Cisco Systems, Inc., Android is a trademark of Google, Inc., and Windows is a registered trademark of Microsoft Corporation). Furthermore, in one example approach, the FSI may include, but is not limited to, the following information items: (i) a unique service SDK identifier, derived from the unique service provider identifier within the received FSA, and used by the software application, in the user device, as to which service to perform the adjustment(s); (ii) one or more feature identifier and set value pairs identified in the received FSA (discussed above); and (iii) a user interface (UI) skin index, which is used by the feature switching manager, pertaining to the service SDK matching the unique service SDK identifier, in the user device to obtain one of various UI skins stored in the resources repository (see e.g., 248 in
In Step 508, the one or more FSIs, generated in Step 506, are transmitted to the set of user devices identified in Step 504. Further, in Step 510, following the completion of processes shown and discussed below with respect to
In Step 512, a feature switching action response (FSAR) is generated based on the aggregate FSIR received from the various identified user devices. In one or more example approaches, the FSAR entails a summary of the outcomes resulting from the execution of the requested adjustments on each identified user device. By way of an example, the FSAR may provide information corresponding to the particular outcome recorded by each of the identified user devices (Step 504). In another example, the FSAR may only highlight information from a subset of the identified user devices, which have experienced undesired outcomes (e.g., failures, errors). Further the FSAR may be transmitted as a file in one example approach, whereas it may be transmitted as a data stream in another example approach. The transmission of the FSAR to a command authority takes place in Step 514.
In Step 714, whether a replacement UI skin is required or not, following either path of the determination, properties of the affected feature(s) are updated accordingly. Properties of a feature, in one or more example approaches, may include, but are not limited to: (i) visibility—defining whether the feature should be accessible or inaccessible to the end-user; (ii) state—defining whether the feature is enabled or disabled as viewed by the components of the feature switching system (see e.g.,
In one non-limiting example, an application executing on one of user devices 220 may be configured to use three services. The services are exposed via SDKs 224 and 226 on user device 220. In one example approach, when user device 220 wakes up (e.g., turns on), user device 220 notifies SDK platform 108 that it is planning to use three services. SDK platform 108 contacts the providers of the three services (either directly or indirectly via, for example, a separate command authority) to obtain status and receives a service status report (SSR) from each service provider providing the service. If a service is not available, SDK platform 108 acts accordingly. For instance, if a phone expects a service to be available and it is not, SDK platform 108 instructs user device 220 to turn off the service that is not available. If only aspects of the service are unavailable, SDK platform 108 instructs user device 220 to turn off the aspects of the service that are not available. In one such approach, an FSI is sent to the mobile device to disable the appropriate service or the appropriate aspects of the service. User device 220 then confirms that it turned the feature off (via, for example, an FSIR).
In one example approach, a command authority/SDK platform component 600A, 600B or 600C receives notice from user device 220 of services an application can access. Component 600A, 600B, or 600C requests status of the services from the appropriate service providers and notifies user device 220 if features are to be switched off due to, for instance, unavailable services.
In one particular example, system 100 may determine that, due to some world event, traffic on the fabric will start spiking, potentially overwhelming the system. In such a scenario, a decision might be made to, for example, prevent new mobile applications from coming on line. In some example approaches, such a decision is made by system 100 without input from third party developers. In other example approaches, however, system 100 may rely on the third party application developer to indicate whether a feature or service should be turned on or off; system 100 may then determine if the feature or service will, in fact, be turned on or off
The following examples are for explanatory purposes only and not intended to limit the disclosure.
Aspects of the disclosure may be implemented on a computing system. Any combination of mobile, desktop, server, embedded, or other types of hardware may be used. For example, as shown in
Software instructions in the form of computer readable program code to perform what is described herein may be stored, in whole or in part, temporarily or permanently, on a non-transitory computer readable medium such as a CD, DVD, storage device, a diskette, a tape, flash memory, physical memory, or any other computer readable storage medium. Specifically, the software instructions may correspond to computer readable program code that when executed by a processor(s), is configured to perform aspects of the disclosure.
Further, one or more elements of the aforementioned computing system (1000) may be located at a remote location and connected to the other elements over a network (1012). Further, in some example approaches, system 1000 may be implemented on a distributed system having a plurality of nodes, where each aspect of the disclosure may be located on a different node within the distributed system. In example approach, the node corresponds to a distinct computing device. Alternatively, the node may correspond to a computer processor with associated physical memory. The node may alternatively correspond to a computer processor or micro-core of a computer processor with shared memory and/or resources.
In one or more examples, the functions described above may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over, as one or more instructions or code, a computer-readable medium and executed by a hardware-based processing unit. Computer-readable media may include computer-readable storage media, which corresponds to a tangible medium such as data storage media, or communication media including any medium that facilitates transfer of a computer program from one place to another, e.g., according to a communication protocol. In this manner, computer-readable media generally may correspond to (1) tangible computer-readable storage media, which is non-transitory or (2) a communication medium such as a signal or carrier wave. Data storage media may be any available media that can be accessed by one or more computers or one or more processors to retrieve instructions, code and/or data structures for implementation of the techniques described in this disclosure. A computer program product may include a computer-readable medium.
By way of example, and not limitation, such computer-readable storage media can comprise random access memory (RAM), read only memory (ROM), electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disk storage, magnetic disk storage, or other magnetic storage devices, flash memory, or any other medium that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium. For example, if instructions are transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. It should be understood, however, that computer-readable storage media and data storage media do not include connections, carrier waves, signals, or other transient media, but are instead directed to non-transient, tangible storage media. Disk and disc, as used, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc, where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
Instructions may be executed by one or more processors, such as one or more digital signal processors (DSPs), general purpose microprocessors, application specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuitry. Accordingly, the term “processor,” as used may refer to any of the foregoing structure or any other structure suitable for implementation of the techniques described. In addition, in some aspects, the functionality described may be provided within dedicated hardware and/or software modules. Also, the techniques could be fully implemented in one or more circuits or logic elements.
The techniques of this disclosure may be implemented in a wide variety of devices or apparatuses, including a wireless handset, an integrated circuit (IC) or a set of ICs (e.g., a chip set). Various components, modules, or units are described in this disclosure to emphasize functional aspects of devices configured to perform the disclosed techniques, but do not necessarily require realization by different hardware units. Rather, as described above, various units may be combined in a hardware unit or provided by a collection of interoperative hardware units, including one or more processors as described above, in conjunction with suitable software and/or firmware.
It is to be recognized that depending on the embodiment, certain acts or events of any of the methods described herein can be performed in a different sequence, may be added, merged, or left out altogether (e.g., not all described acts or events are necessary for the practice of the method). Moreover, in certain embodiments, acts or events may be performed concurrently, e.g., through multi-threaded processing, interrupt processing, or multiple processors, rather than sequentially.
In some examples, a computer-readable storage medium includes a non-transitory medium. In some examples, the term “non-transitory” indicates that the storage medium is not embodied in a carrier wave or a propagated signal. In certain examples, a non-transitory storage medium may store data that can, over time, change (e.g., in RAM or cache). Although certain examples are described as outputting various information for display, techniques of the disclosure may output such information in other forms, such as audio, holographical, or haptic forms, to name only a few examples, in accordance with techniques of the disclosure.
While the invention has been described with respect to a limited number of examples, those skilled in the art, having benefit of this disclosure, will appreciate that other example approaches can be devised which do not depart from the scope of what is disclosed herein. Accordingly, the scope of the invention should be limited only by the attached claims.
Claims
1. (canceled)
2. A method for feature switching in a software application for social media executing on a user device, the software application providing a user interface to display aggregated social media content on the user device, the software application communicating with a set of services and executing a set of service software development kits (SDKs) corresponding to the set of services, the method comprising:
- receiving, by the software application on the user device from a SDK platform, a feature switching instruction (FSI) for a first service of the set of services, the first service providing social media content to the software application, the social media content being aggregated from a plurality of sources;
- identifying, by the software application based on the FSI, a first service SDK of the set of service SDKs, the first service SDK corresponding to the first service, wherein the FSI specifies a plurality of set values for the first service SDK, each set value of the plurality of set values corresponding to a different source of the plurality of sources and representing a relative contribution of social media content from that source to the aggregated social media content; and
- updating, by the software application, the first service SDK to provide the aggregated social media content to the software application according to the plurality of set values.
3. The method of claim 2, further comprising:
- generating, by the software application, a feature switching instruction response (FSIR) for transmission to the SDK platform, the FSIR indicating an outcome associated with the execution, by the user device, of updating the first service SDK based on the FSI.
4. The method of claim 2, wherein updating the first service SDK comprises:
- generating, by the software application, a request for transmission to a service provider to provide the aggregated social media content according to the plurality of set values;
- receiving, by the software application on the user device from the service provider, the aggregated social media content according to the plurality of set values; and
- storing, by the software application on the user device, the aggregated social media content in a local data repository of the user device.
5. The method of claim 2, wherein:
- the plurality of set values is a first plurality of set values; and
- the method further comprises, before receiving the FSI at the user device: receiving, by the software application on the user device, the aggregated social media content according to a second plurality of set values, each set value of the of the second plurality of set values corresponding to a different source of the plurality of sources and representing a relative contribution of social media content from that source to the aggregated social media content, wherein at least one set value of the second plurality of set values corresponding to a given source of the plurality of sources is different from its corresponding set value of the first plurality of set values corresponding to that given source.
6. The method of claim 2, wherein:
- the plurality of set values is a first plurality of set values;
- the plurality of sources is a first plurality of sources, the first plurality of sources comprising: a second plurality of sources; and a new source introduced by the FSI; and
- the method further comprises, before receiving the FSI at the user device: receiving, by the software application on the user device, the aggregated social media content according to a second plurality of set values, each set value of the of the second plurality of set values corresponding to a different source of the second plurality of sources and representing a relative contribution of social media content from that source to the aggregated social media content.
7. The method of claim 2, further comprising, before receiving the FSI at the user device:
- receiving, at the SDK platform, a feature switching action (FSA) from a command authority authorizing feature switching of the software application, the SDK platform being authorized to execute the feature switching of the software application, the FSA comprising a user device identifier and the plurality of set values;
- identifying, by the SDK platform, the user device based on the user device identifier in the received FSA;
- generating, by the SDK platform, the FSI with the plurality of set values based on the received FSA for the user device; and
- sending, from the SDK platform to the user device, the FSI.
8. The method of claim 2, further comprising:
- generating, by the SDK platform, a feature switching action response (FSAR) based on the FSIR, the FSAR indicating, when updating the first service SDK is not successful, an outcome associated with the execution, by the SDK platform, of the feature switching of the software application on the user device based on the FSI sent to the user device; and
- sending, from the SDK platform to a command authority, the FSAR.
9. The method of claim 2, wherein:
- the SDK platform provides an application marketplace to facilitate exchange of software applications from a developer device to the user device; and
- the method further comprises, before receiving the FSI at the user device: receiving, at the user device from the application marketplace of the SDK platform, the software application.
10. The method of claim 2, wherein:
- each service SDK of the set of service SDKs includes one or more features and corresponds to one service of the set of services; and
- the method further comprises: determining, by the SDK platform, at least one of: the set of service SDKs installed on the user device; for each service SDK of the set of service SDKs, an amount of time each feature of the one or more features is executed; for each service SDK of the set of service SDKs, an identity of a subset of features of the one or more features that is executed; for each service SDK of the set of service SDKs, a frequency that a service corresponding to that service SDK is accessed; an operating system of the user device; or a geographic location of the user device.
11. The method of claim 2, further comprising, before generating the FSIR:
- identifying, by the software application on the user device based on the FSI, a second service SDK of the set of service SDKs, the second service SDK corresponding to a second service of the set of services, wherein the FSI specifies a set value for the second service SDK, the set value indicating the second service SDK is to be disabled due to the second service exceeding a threshold for downtime; and
- disabling, by the software application on the user device, the second service SDK based on the set value for the second service SDK.
12. A method for feature switching in a software application executing on a first user device of a set of user devices, each user device of the set of user devices executing the software application, the method comprising:
- receiving, at a software development kit (SDK) platform, a feature switching action (FSA) from a command authority authorizing feature switching of the software application, the SDK platform being authorized to execute the feature switching of the software application, the FSA comprising at least one user device identifier and a plurality of set values;
- identifying, by the SDK platform, the first user device based on the at least one user device identifier in the received FSA; and
- for the first user device: generating, by the SDK platform, a feature switching instruction (FSI) with the plurality of set values based on the received FSA; and sending, from the SDK platform to the first user device, the FSI.
13. The method of claim 12, further comprising:
- receiving, at the SDK platform from the first user device, a feature switching instruction response (FSIR);
- generating, by the SDK platform, a feature switching action response (FSAR) based on the received FSIR, the FSAR indicating an outcome associated with the execution, by the SDK platform, of the feature switching of the software application on the first user device based on the FSI sent to the first user device; and
- sending, from the SDK platform to the command authority, the FSAR.
14. The method of claim 12, wherein:
- the software application is for social media and provides a user interface to display aggregated social media content on the first user device;
- the software application communicates with a set of services and includes a set of service software development kits (SDKs) corresponding to the set of services;
- the FSI is for a first service of the set of services, the first service providing social media content to the software application, the social media content being aggregated from a plurality of sources; and
- the method further comprises: identifying, by the software application on the first user device based on the FSI, a first service SDK of the set of service SDKs, the first service SDK corresponding to the first service, the plurality of set values being specified for the first service SDK, each set value of the plurality of set values corresponding to a different source of the plurality of sources and representing a relative contribution of social media content from that source to the aggregated social media content; and updating, by the software application on the first user device, the first service SDK to provide the aggregated social media content to the software application according to the plurality of set values.
15. The method of claim 14, wherein updating the first service SDK comprises:
- generating, by the software application on the first user device, a request for transmission to a service provider to provide the aggregated social media content according to the plurality of set values;
- receiving, by the software application on the first user device from the service provider, the aggregated social media content according to the plurality of set values; and
- storing, by the software application on the first user device, the aggregated social media content in a local data repository of the first user device.
16. The method of claim 14, wherein:
- the plurality of set values is a first plurality of set values; and
- the method further comprises, before receiving the FSI at the user device: receiving, by the software application on the user device, the aggregated social media content according to a second plurality of set values, each set value of the of the second plurality of set values corresponding to a different source of the plurality of sources and representing a relative contribution of social media content that source contributes to the aggregated social media content, wherein at least one set value of the second plurality of set values corresponding to a given source of the plurality of sources is different from its corresponding set value of the first plurality of set values corresponding to that given source.
17. The method of claim 14, wherein:
- the plurality of set values is a first plurality of set values;
- the plurality of sources is a first plurality of sources, the first plurality of sources comprising: a second plurality of sources; and a new source introduced by the FSI; and
- the method further comprises, before receiving the FSI at the first user device: receiving, by the software application on the first user device, the aggregated social media content according to a second plurality of set values, each set value of the of the second plurality of set values corresponding to a different source of the second plurality of sources and representing a relative contribution of social media content that source contributes to the aggregated social media content.
18. The method of claim 12, wherein:
- the software application communicates with a set of services and executes a set of service software development kits (SDKs), each service SDK of the set of service SDKs including one or more features and corresponding to one service of the set of services; and
- the method further comprises: determining, by the SDK platform for each user device of the set of user devices, at least one of: the set of service SDKs installed on the user device; for each service SDK of the set of service SDKs, an amount of time each feature of the one or more features is executed; for each service SDK of the set of service SDKs, an identity of a subset of features of the one or more features that is executed; for each service SDK of the set of service SDKs, a frequency that a service corresponding to that service SDK is accessed; an operating system of that user device; or a geographic location of that user device.
19. The method of claim 12, further comprising:
- identifying, by the software application on the first user device based on the FSI, a first service SDK of the set of service SDKs, the first service SDK corresponding to a first service of the set of services, wherein the plurality of set values includes a first set value for the first service SDK, the set value indicating the first service SDK is to be disabled due to the first service exceeding a threshold for downtime; and
- disabling, by the software application on the first user device, the first service SDK based on the set value for the first service SDK.
20. A non-transitory computer readable medium storing instructions for, when executed on a user device, feature switching in a software application for social media executing on the user device, the software application providing a user interface to display aggregated social media content on the user device, the software application communicating with a set of services and executing a set of service software development kits (SDKs) corresponding to the set of services, the instructions, when executed, cause at least one processor to:
- receive, by the software application on the user device from a SDK platform, a feature switching instruction (FSI) for a first service of the set of services, the first service providing social media content to the software application, the social media content being aggregated from a plurality of sources;
- identify, based on the FSI, a first service SDK of the set of service SDKs, the first service SDK corresponding to the first service, wherein the FSI specifies a plurality of set values for the first service SDK, each set value of the plurality of set values corresponding to a different source of a plurality of sources and representing a relative contribution of social media content from that source to the aggregated social media content; and
- update the first service SDK to provide the aggregated social media content to the software application according to the plurality of set values.
21. The non-transitory computer readable medium of claim 20, wherein the instructions, when executed, further cause at least one processor to:
- generate a feature switching instruction response (FSIR) for transmission to the SDK platform, the FSIR indicating an outcome associated with the execution of updating the first service SDK based on the FSI.
22. The non-transitory computer readable medium of claim 20, wherein the instructions to update the first service SDK, when executed, cause the at least one processor to:
- generate a request for transmission to a service provider to provide the aggregated social media content according to the plurality of set values;
- receive, from the service provider, the aggregated social media content according to the plurality of set values; and
- store the aggregated social media content in a local data repository of the user device.
23. The non-transitory computer readable medium of claim 20, wherein:
- the plurality of set values is a first plurality of set values; and
- the instructions, when executed, further cause the at least one processor to, before receiving the FSI at the user device: receive the aggregated social media content according to a second plurality of set values, each set value of the of the second plurality of set values corresponding to a different source of the plurality of sources and representing a relative contribution of social media content from that source to the aggregated social media content, wherein at least one set value of the second plurality of set values corresponding to a given source of the plurality of sources is different from its corresponding set value of the first plurality of set values corresponding to that given source.
24. The non-transitory computer readable medium of claim 20, wherein:
- the plurality of set values is a first plurality of set values;
- the plurality of sources is a first plurality of sources, the first plurality of sources comprising: a second plurality of sources; and a new source introduced by the FSI; and
- the instructions, when executed, further cause the at least one processor to, before receiving the FSI at the user device: receive the aggregated social media content according to a second plurality of set values, each set value of the of the second plurality of set values corresponding to a different source of the second plurality of sources and representing a relative contribution of social media content from that source to the aggregated social media content.
Type: Application
Filed: Jul 18, 2022
Publication Date: Feb 2, 2023
Applicant: Twitter, Inc. (San Francisco, CA)
Inventors: Wayne Chang (San Francisco, CA), Jeffrey H. Seibert, JR. (San Francisco, CA)
Application Number: 17/867,163