Coordinated actions across platforms

By coordinating server and platform-independent code modules and leveraging action ID directories to achieve cross-platform event coordination, it solves integration challenges between different platforms and programming languages, reduces costs, and enables seamless service coordination and dynamic updates.

CN113518128BActive Publication Date: 2024-10-22MICROSOFT TECHNOLOGY LICENSING LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110817531.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2015-09-09
Filing Date
2016-07-20
Publication Date
2024-10-22
Estimated Expiration
2036-07-20

AI Technical Summary

Technical Problem

Existing technologies are difficult to achieve seamless integration of services between different platforms and programming languages, resulting in high costs and complex customized development, and are difficult to maintain and update.

Method used

Provides a coordination server to achieve cross-platform event coordination and function access through platform-independent code modules and action ID directories, allowing services on different platforms to seamlessly interact and dynamically update.

Benefits of technology

It simplifies integration between different platforms and programming languages, reduces maintenance and update costs, and enables seamless service coordination and dynamic updateability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113518128B_ABST
    Figure CN113518128B_ABST
Patent Text Reader

Abstract

A coordination server is provided for coordinating between a first computerized service and a second computerized service, the first service being operated based on different platforms. The coordination server provides a catalog comprising corresponding action IDs for each of a plurality of predefined types of actions that can be performed by a human user through one of the user's one or more user devices. The ID of the first service is mapped to an action type of the action types, thereby defining an event that will be considered to occur when the user performs an action of the corresponding type while using the first service. The second service can then subscribe to the event. In addition, the coordination server publishes corresponding instances of the platform-independent code module to each of the first service and the second service so that the first service and the second service can interact with the coordination server.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the invention patent application with application number 201680043198.9 and name “Cross-platform coordinated action” filed on July 20, 2016. Background Art

[0002] It is increasingly desirable to integrate systems that provide two different services running on different platforms (or running on different operating systems, or programmed in different programming languages), or two different services programmed in different programming languages. For example, large enterprises now often have multiple different systems that are not necessarily well integrated with each other. As another example, homes and offices are now typically filled with various connected devices that often do not communicate with each other naturally, or even at all.

[0003] To coordinate the services provided by such systems, we conventionally have to specifically design specialized, proprietary interfaces for each specific pair of services. This typically involves either complex systems with large integration and implementation overhead, and high maintenance costs when new devices and systems are included, or extremely costly custom development for specific systems and devices. Summary of the invention

[0004] According to one aspect disclosed herein, a coordination server is provided for coordinating between a first computerized service being a service of a first provider and a second computerized service being a service of a second provider (for example, these may be two different companies, or two different departments within a company); wherein the first service operates based on a first platform including a first operating system and / or a first programming language, and the second service operates based on a second, different platform including a second operating system and / or a second programming language.

[0005] The coordination server provides a directory including corresponding action IDs for each of multiple predefined types of actions, each of which can be performed by a human user through the user's user device (for example, clicking a button in the user interface of the user device, submitting a form through the device, or performing a motion detected by one or more motion sensors of the user device).

[0006] The coordination server is configured to receive a request from a first service, which requests the first service to become a reporter of one of the types of actions. In response, it maps the ID of the first provider as a reporter ID to the corresponding action identifier in the entry of the directory. This thus defines the following event: when the user performs an action of the corresponding type while using the first service, the event will be considered to occur. The coordination server is also configured to receive a request from a second service, which requests the second service to become a subscriber of the event. In response, it maps the ID of the second provider as a subscriber ID to the event in the entry of the directory.

[0007] In addition, the coordination server is configured to publish a respective instance of a platform-independent code module to each of the first service and the second service. The platform-independent code module is a module that is configured to run on any one of a plurality of different platforms including different first platforms and second platforms of the first service and the second service, and is configured to thereby enable the first service and the second service to interact with the coordination server.

[0008] In operation, the coordination server receives an indication of the occurrence of one of the plurality of types of actions from a first service via an instance of a platform-independent code module executed by the first service, thereby indicating the occurrence of the event. Based on the catalog, the coordination server then sends a corresponding action ID for the event to the second service via an instance of a platform-independent code module executed by the second service, thereby causing the second service to serve one of the one or more user devices of the user in response to the event. The sending step may be in response to the indication of the occurrence of the event received from the first service, or

[0009] Thus, the action ID acts as a universal identifier to allow generic description of events across platforms. Furthermore, the platform-independent code pattern enables services to seamlessly access the reporting and subscription functionality mentioned above, regardless of their specific local implementation (and potentially access other related functionality, e.g., allowing a first server to add new action types, or convert between action IDs and proprietary definitions of actions used by a first service or a second service).

[0010] This Summary is provided to introduce a selection of concepts that are further described in the following Detailed Description in a simplified form. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. The claimed subject matter is also not limited to implementations that solve any or all of the disadvantages described in the Background section. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] To assist in understanding the present disclosure and to show how embodiments may be implemented, reference will be made by way of example to the accompanying drawings, in which:

[0012] Figure 1 is a schematic block diagram of a communication system according to the present disclosure,

[0013] Figure 2 is a schematic representation of the coordination process according to a first implementation,

[0014] Figure 3 is a schematic representation of the coordination process according to the first implementation, and

[0015] Figure 4 is a schematic representation of a coordination process according to a first implementation. DETAILED DESCRIPTION

[0016] The following describes a method that allows various parties (e.g., implementers, end users, and / or consumers) to create sets of logical instructions that can be executed on different systems or devices independently or based on feedback events from devices and applications within the system. This is achieved through software that enables third-party systems or devices to report events or execute instructions based on feedback from a central coordination service, which dynamically provides its own integration package to minimize the integration overhead of third-party implementers. Consumer systems or devices can then expose temporary or permanent access to areas or functions based on actions taken in other different and completely unconnected systems.

[0017] To accomplish this, the system provides centralized storage of unique keys that map to specific (any or all) user's devices, events, and executable actions, and can be used to coordinate data between these systems in a straightforward manner. In addition, the system can provide consuming services (whether implemented on a server or application running on a user's device, or a combination of both) with software component "executables" or "libraries" that provide consumable APIs (application programming interfaces) for communicating with systems that are interpreted as JIT (just in time) and real-time. This allows seamless integration with minimal effort from consuming third parties, and allows dynamic updatability of the system without downtime or cost to consumers for upgrades.

[0018] In embodiments where everything is assigned an ID (e.g., action ID: AID, user ID: UID, report ID: RID, subscriber ID: SID, system ID: SYID), these IDs are globally unique and are then listed in a directory where implementers can look them up and cross-reference them using human-understandable definitions.

[0019] The platform-independent code module provides the integration point, but also maps the requesting action, user, and system / application to a unique id after the request to perform its own integration into the requesting system based on the parameters provided (if no parameters are provided, a default mapping and parameter set is assumed).

[0020] Figure 1 A system according to various embodiments disclosed herein is shown.

[0021] The system includes: one or more user devices 102, a first computerized service 104 provided by a first provider A, a second computerized service provided by a second provider B, and a coordinator service 108 (i.e., for integrating services so that they can interact with each other so as to provide collaborative results to the end user of the user device 102) for coordinating the operation of the first service 102 and the second service 104. Each user device in the one or more user devices 102 can take any suitable form, for example, a smart phone, a tablet computer, a laptop computer, a desktop computer, or a set-top box. The coordinator 108 is implemented on the server of the operator of the coordinator service. The first service 104 can be implemented on the server of the first provider A, or in an application provided by the first provider A, but running on one of the user's user devices 102, or in a combination of the first provider's server and the application provided by the first provider to run on the user device 102. Similarly, the second service 106 may be implemented on a server of a second provider B or in an application provided by the second provider B but running on one of the user's user devices 102, or on a combination of a server of the second provider and an application provided by the second provider to run on the user device 102.

[0022] To perform the various communications discussed herein, the first service 104 is arranged to be able to communicate with at least one of the user devices 102 and with the coordinator 108; and the second service is arranged to be able to communicate with at least one of the user devices 102 and also with the coordinator 108. Any of the various communications described between any of these elements can be implemented in any of a variety of ways, for example, via any of one or more networks (e.g., the Internet or other wired or wireless networks such as a company intranet, a local wireless local area network, or a mobile cellular network).

[0023] The first service 104 and the second service 106 are services that serve end users via their user devices (including users of one or more user devices 102 shown in the figure). For example, they may include online shopping; services that provide information or advertisements such as maps, alerts, etc. to users; or services that enable users to submit information (e.g., financial information or completed surveys) to corresponding services. The coordinator 108 does not provide services to end users (at least not directly), but serves downstream providers A, B with coordination services to enable them to integrate their services to end users. It should be noted that more downstream providers similar to the first provider and the second provider A, B can be served by the coordinator 108 to enable various services to be integrated to the end user in various combinations, but for illustrative purposes, only two providers A, B are shown here.

[0024] The two providers A, B may be two different companies that wish to operate together to provide some collaborative results to users. In this case, the operator of the coordinator service 108 may be an independent party that makes its integration functionality available to the first and second providers A, B and potentially to various other providers that may wish to integrate in various combinations. Alternatively, the two providers A, B may be different departments that fulfill different roles within the same company. In this case, the coordinator may be an internal function provided within the company, or again may be implemented by an external party that supplies (and potentially) integrates services to the company.

[0025] Generally speaking, different downstream providers of services to end users will tend to use a variety of different platforms to implement their respective services. This includes a first provider A that uses a first platform to implement a first service 104, and a second provider B that uses a second different platform to implement a second service 106. Different platforms here mean different operating systems and / or different code environments (which makes any updates or plug-ins to the service must be written in the programming language). In an embodiment, each service 104, 106 also uses its own internal proprietary protocol to detect actions performed by a user through the user device 102.

[0026] In order to integrate the two services 104, 106, it is expected that when a user performs an action as part of using the first service 104 via the user device 102, this can be reported to the second service 106 so that the second service 106 in response supplies the user device 102 of the user (not necessarily the same device through which the action was performed) with associated services related to the performance of the action in question.

[0027] As an example, a first provider A may be a supplier of certain products (goods or services) such as airline tickets, which provides a service 104 for online purchase of products via a user terminal 102. In this example, the first provider A wishes to collaborate with another provider B to implement a loyalty reward scheme, whereby users receive loyalty points in exchange for making purchases via the first service, where the reward scheme is implemented by provider B. That is, when a user makes a purchase through the first service 104, this should trigger the second service 106 to record the amount of the corresponding reward points, and send a message to the user to notify him or her about the reward (or the record may be made available through an online profile when the user logs into the second service). However, provider A may not wish to have to design a dedicated proprietary API in order to be able to interact with B, nor to be bound in such a way to permanently use provider B as the provider of the reward scheme.

[0028] Another example is to "gamify" the completion of certain workflows within the company. For example, the first service 104 can be a computer system used by the human resources department to enable users to submit certain employment-related documents (e.g., P60), or a computer system used by the accounting department to submit certain accounting-related documents (e.g., tax returns). The idea of ​​"gamification" is to assign honors to the completion of certain tasks, just like users get scores in a game, and thus provide incentives for completing tasks as much as possible. Although there are multiple different systems in the company (e.g., HR systems and accounting systems, etc., each of which may be the first service 104), the company may want to provide the gamification scheme in a unified style. To this end, a second service 106 can be deployed, which realizes the score of work honors that can be received by recording users for completing various tasks covered under the scheme.

[0029] To implement such an application or other applications, the coordinator 108 provides an upstream service to the downstream providers 104, 106 to allow the first service 104 to report the occurrence of related activities (e.g., making an online purchase or submitting certain documents) to the central coordinator service 108 based on a system of universal action IDs, as will be discussed in more detail below. The combination of specific actions reported from the services of a specific provider (in this case A) defines an event. Optionally, other conditions can also be attached to the event, for example, a specific action reported from a specific service 104 performed by a specific user, or a specific action reported from a specific subsystem of a specific service 104. Then, the provider of another collaborative service 106 (e.g., B) can subscribe to the event through the coordinator service 108 so that the coordinator 108 will again use the system of universal action IDs to notify the second provider 106 about the occurrence of the event. In response to the occurrence of the event indicated by the first service 104 to the coordinator 108, the report to the second service 106 can be immediately pushed from the coordinator 108 to the second service 106. Alternatively, the coordinator 108 may wait to receive a request from the second service 106 to inquire whether the event has occurred, at which point the coordinator 108 responds accordingly. In either case, in response to being notified of the occurrence of the event, the second service 106 then performs the associated supplementary service, for example, issuing bonus points or work honors.

[0030] In addition, to achieve the described interaction with the coordinator 108, the coordinator 108 is configured to publish a corresponding instance of a platform-independent code module 110 to each downstream provider of the coordinator 108. Therefore, the first service 104 is published with a first instance 110a of the platform-independent code module, and the second service 110a is published with a second instance 110a of the platform-independent code module. The code module 110 is published at least once before the provider in question initially uses the coordinator 108, and optionally can also be updated in subsequent times. The function of the code module 110 is to enable the first and second providers 104, 106 to communicate with the coordinator 108 to access the functions described herein, regardless of the platform used by the corresponding provider A, B, that is, the operating system and / or code environment. To this end, the platform-independent code module is implemented in a standard consumable language (e.g., Java script, Python, or Pearl) that is generally recognized by many platforms. When running on the corresponding service 104, 106, the code module 110 is interpreted in real time. It is configured to expose the API to the coordinator service 108 at runtime, and thereby perform relevant handshakes and subscription monitoring with the coordinator 108 .

[0031] Thus, through a system of universal IDs combined with platform-independent code modules 110, a first provider A is able to integrate its service 104 with another provider B's service 106 without designing a dedicated interface specific to a particular pairing of A and B. Another effect is that if A wants to change partners or add new partners, it does not need to design new interfaces, but simply lets another provider C replace B (or in addition to B) and subscribe to its reports via the coordinator 108. For example, in an example where A is an airline selling tickets online and B is a partner implementing a rewards program, if A wants to work with a new rewards program provider C (instead of or in addition to B).

[0032] To describe in detail, the coordinator 108 maintains a directory including an action ID (AID) for each of a plurality of possible predetermined actions. Optionally, the directory may also contain metadata (e.g., a human-readable string) associated with each of one or more of the action IDs to help human implementers of the services 104, 106 identify the purpose of each AID. Thus, the directory may be in the following form.

[0033]

[0034]

[0035] Each of the action IDs corresponds to a corresponding type of action that can be performed by a human user as part of using a service (e.g., first service 104) using user device 102. For example, the action can be a specific user input via a graphical user interface through a mouse or touch screen, or can be a motion performed explicitly (intentionally) or implicitly (accidentally) by the user and detected by one or more motion sensors of user device 102 (e.g., the user moves an arm holding user device 102 and this is detected by an accelerometer on device 102).

[0036] In an embodiment, each action ID in the action ID is globally unique. That is, the ID is unique throughout the world, or at least the possibility of being the same as another randomly assigned ID anywhere in the world is statistically negligible. This can be achieved in at least two different ways. The first way is to track all IDs that have been issued to ensure that no two issued identifiers are the same (this only ensures that the ID is unique within a given system and requires more management). The second way is to use a large number of bits for each ID and generate them randomly, so that even when randomly assigned without "ensuring" uniqueness itself, the possibility of colliding with another such ID is negligibly small. Such an example is a 128-bit GUID (globally unique identifier). Therefore, in an embodiment, each AID in the directory is a randomly generated 128-bit GUID.

[0037] In an embodiment, some or all of the actions in the catalog may be predetermined by the operator of the coordinator service 108. These may be actions that are potentially common to multiple different services, such as basic UI functions (e.g., open a window, close a window, click OK and / or submit a form).

[0038] Alternatively or additionally, the coordinator 108 may allow a provider (e.g., first provider A) to add action IDs for new types of actions to the catalog, which will tend to be more application-specific actions (e.g., submitting a tax return will be specific to accounting services). To this end, the first service 104 calls the corresponding instance of the platform-independent code module 110a by running code of the following form (here represented as pseudo code):

[0039] CodeModule->NewAction("submitted P60")

[0040] (where metadata is optional.) This can even be implemented in a single line of code in the language used to implement the first service 104. In response, the coordinator 108 generates a new action ID (eg, in the form of a GUID) and adds it to the catalog along with any optional metadata specified.

[0041] To monitor the occurrence of a specific type of action, the coordinator 108 then defines events in the catalog. To do this, the first service 104 uses its instance of the platform-independent code module 110a to submit a request to the coordinator 108 to become a reporter for an action with a specific action ID:

[0042] CodeModule->ReportOn(AID)

[0043] The coordinator 108 then logs this in association with the ID of the first provider A, which serves as the reporter ID (RID) of the event. Additionally, the second service 106 uses its instance of the platform-independent code module 110b to submit a request to the coordinator 108 to become a subscriber to the occurrence of the action originating from the first service 104:

[0044] CodeModule->SubscribeTo(AID, RID)

[0045] In response, the coordinator 108 records the identifier of the second provider as a subscriber ID (SID) in association with the action AID and the reporter ID of the event.

[0046] Again, in an embodiment, either or both of the above requested operations of the code modules 110a, 110b may be invoked by only a corresponding single line of code in the programming language used to implement the first service 104 and the second service 106, respectively.

[0047] Optionally, the request from the first service 104 or the second service 106 may also specify an ID (UID) of a particular user, and / or an ID (SYID) of a particular system or subsystem of the first service. And / or, the request (or a request) from the first service 104 may optionally specify additional metadata in the form of a permission setting to specify an identifier or multiple identifiers of one or more other providers that are allowed to subscribe to the event.

[0048] Therefore, the coordinator 108 creates entries in another part of the directory to define the events to be monitored for. This may take the following form.

[0049]

[0050] (where columns in square brackets are optional). Thus, an event is defined by (at least) a combination of an action and a reporting provider. That is, the event is considered to have occurred if an action of a specified type is reported as occurring from a specific specified provider, which in this case is A (but the same action type will not trigger an event if it occurs from another provider). If a user ID is used, this adds the additional condition that an event is only considered to have occurred if the action also originated from a specific specified user. If a SYID, this adds the additional condition that an event is only considered to have occurred if it also originated from a specific specified system or subsystem.

[0051] In an embodiment, each of the AID, RID, SID, and where used, UID and / or SYID is globally unique (according to the same definition given above). For example, each may be a randomly generated 128-bit GUID.

[0052] Thus, the event has been established in the catalog of the coordinator 108, and the process of monitoring for and reporting event occurrences may then proceed as follows.

[0053] At a subsequent time, the first service 104 detects the occurrence of an instance of a wait-type activity performed by one of the user's user devices 102. In an embodiment, the first service may receive an indication of this from the user device 102, expressed in the first service's own proprietary protocol (which will not necessarily be understandable to the coordinator 108 or the second service 106). For example: user=dave&action=FiledTaxReturn (user=dave&action=Submit Tax Return)

[0054] Then, the platform-independent code module 110a running on the first service 104 converts it into a combination of IDs from the above scheme of universal IDs: fgh567, jk1901 [hij789, ijk890], and reports it to the coordinator 108. In an embodiment, the first service 104 can call this operation of the code module 110a only by means of a single line of code in the language in which the first service is programmed.

[0055] In response, the coordinator 108 reports the event to the second service 108, still expressed in an embodiment according to the scheme of universal IDs: fgh567, jkl901 [hij789, ijk890]. Alternatively, the coordinator 108 may wait to be polled by the second service 106 before reporting this. Either way, in an embodiment, the platform-independent code module 110b running on the second service 104 converts it into the proprietary protocol of the second service 106 (which will not necessarily be understandable to the coordinator 108 or the first service 104). For example:

[0056] EVENT:Dave,TaxReturnComplete

[0057] Note that if permission settings are used, then this event will only be reported to the second service 106 if the second provider's ID is specified in the permission for that event.

[0058] Finally, in response to the event being expressed as occurring in the second service's own native protocol, the second service 106 then performs the relevant functions to be integrated with the occurrence of the event, for example, awarding points or work credits to the user's account record.

[0059] In an embodiment, one or both of the above conversion operations of the code modules 110a, 110b may be invoked by only a corresponding single line of code in a programming language used to implement the first service 104 and the second service 106, respectively.

[0060] It should be noted that in the above communication flow, the first service 104 is by no means required to communicate with the second service 106. Likewise, any user device 102 is by no means required to communicate with the coordinator 108 directly.

[0061] It should also be noted that the instances of the code module 110 sent to the first provider and the second provider are not necessarily the same. Instead, although most of it consists of code that is common to all instances 110a, 110b (e.g., approximately 95% of the code), it also includes a small portion (e.g., 5%) dedicated to interacting with the specific technology of the corresponding service 104, 106, for example, to convert between the proprietary definition of the action and the action ID. In an embodiment, the coordinator 108 is configured to dynamically generate the corresponding instances of the code modules required by each service 104, 106 in response to requests from the corresponding services 104, 106; that is, it is configured to generate and publish the corresponding instances of the code modules 110a, 110b on demand when and when required by the corresponding services 104, 106. Again, each such request can be called by a single line of code in the language in which the corresponding service 104, 106 is written.

[0062] Reference now Figures 2 to 4 Let's describe some more detailed examples.

[0063] Figure 2 A simple system access example is shown. The communication sequence is as follows. At step S10, the user device 102 submits a request to the first service 104 to report that the user of the device 102 has completed an action. This can be expressed according to a proprietary protocol of the first service 104, or according to an AID and / or UID (if the application on the user device 102 knows them). In response, at step S20, the first service 104 submits a request to the coordinator 108 to report that the action has occurred by specifying the action ID (AID) of the action and the user ID (UID) of the user who completed the action. At step S30, the user uses the user device 102 to submit a request for access to the "Feature n..." of the second service 106. At step S40, the second service 106 submits a request to the coordinator 108 to inquire about the "User<uid>Has the action been completed? <aid>?” At step S50, the coordinator 108 confirms or denies this to the second service 108. At step S60, the second service 106 responds to the user device indicating whether access is appropriately granted or denied.

[0064] Figure 3 A push model or a notification model is shown. The communication sequence is as follows. At step T10, the user uses the first user device 102a to submit a request to the first service 104 to specify that the user has completed a certain action. This can be expressed according to the proprietary protocol of the first service 104, or according to the AID and / or UID (if the application on the user device 102 knows them). At step T20, as a response at step S20, the first service 104 submits a request to the coordinator 108 to report that the action has occurred by specifying the action ID (AID) of the action and the user ID (UID) of the user who completed the action. At step T30, the coordinator 108 notifies the second service 106 user <uid>Action completed <aid>Then, at step T40, the second service 106 notifies the user via the second user device 102b or the devices 102a, 102b of all users he or she is currently present at that access to one or more features of the second service 106 has become available upon successful completion of the action.

[0065] Figure 4 Other platform-independent functions are shown. The communication sequence is as follows. At step U10, the user submits a request to the server of the first service 104 to indicate that he or she wishes to participate in the coordination while consuming the first service 104. At step U20, the first service 104 responds by notifying the user device 102 that to implement this, it should contact the coordinator 108 in order to become a virtual endpoint to be coordinated. At step U30, the user device 102 accordingly contacts the coordinator 108 to say "provider A has sent me for coordination." At step U40, the coordinator 108 responds to the user device 102 to say "here is the code you require to be coordinated that you can interpret" and provides an instance of the platform-independent code module 110 to be run on the user device 102 itself. In this case, the first service can be considered to be implemented at least in part in an application on the user device 102 itself. Next, the first service running on the user device 102 can use the code module 110 it receives to coordinate with the second service 106 in a manner similar to that described above. In an embodiment, the second service 106 may also be implemented in whole or in part as another application running on the user device 102 .

[0066] It should be understood that the above embodiments are described only as examples.

[0067] For example, in an alternative embodiment, the first service 104 and / or the second service 106 do not necessarily need to use the corresponding proprietary definition of the event, and therefore the platform-independent code module 110 does not necessarily need to perform a conversion function in this regard. Alternatively, the first service can detect an indication of an action received from a user device, and / or can express the occurrence of the action internally directly based on the universal AID in advance within its own protocol. Similarly, the second service 106 can act directly based on the universal AID without first converting to its own corresponding proprietary event definition. The minimum value is only used for the first service 104 to send the action ID and provider ID to the coordinator 108, and for the coordinator 108 to report the action ID to the second service.

[0068] Furthermore, the scope of the present disclosure is not limited to only the first provider A and the second provider B and the first response service 104 and the second response service 106. In other embodiments, the upstream service of the coordinator 108 including access to the directory of universal IDs may also be used for one or more other providers (playing a role similar to the first provider, i.e., the reporter, or the second provider, i.e., the subscriber). For example, a third provider playing a role similar to the first provider may reuse the action ID generated by the first provider 104 in the directory to report its own events to the second provider 106 and / or one or more other providers. And / or, a fourth provider playing a role similar to the second provider may subscribe to events of the first provider, the third provider, and / or one or more other providers.

[0069] Various other variations may fall within the scope of this disclosure.

[0070] According to one aspect disclosed herein, a coordination server is provided for coordinating between a first computerized service as a service of a first provider and a second computerized service as a service of a second provider, wherein the first service operates based on a first platform including a first operating system and / or a first programming language, and the second service operates based on a second different platform including a second operating system and / or a second programming language; wherein the coordination server is configured to perform the following operations: provide a directory, the directory including a corresponding action ID for each type of action of a plurality of predefined types of actions that can be performed by a human user through one of one or more user devices of the user; receive a request from the first service requesting the first service to become a reporter for a type of action of the type, and in response, map the ID of the first provider as a reporter ID to a corresponding action identifier in an entry of the directory, thereby defining an event that will be considered to occur when the user performs an action of the corresponding type while using the first service; The second service receives a request requesting the second service to become a subscriber to the event and, in response, maps the ID of the second provider as a subscriber ID to the event in the entry of the directory; publishes a corresponding instance of a platform-independent code module to each of the first service and the second service, the platform-independent code module being configured to run on any of a plurality of different platforms including different first and second platforms of the first and second services, thereby enabling the first and second services to interact with the coordination server; receives an indication of the occurrence of one of the types of actions from the first service via the instance of the platform-independent code module run by the first service, thereby indicating the occurrence of the event; and based on the directory, sends a corresponding action ID for the event to the second service via the instance of the platform-independent code module run by the second service, thereby enabling the second service to serve one of the one or more user devices of the user in response to the event.

[0071] In an embodiment, an instance of the platform-independent code module run by the first service may be configured to: receive an indication of the occurrence of the type of action in the form of a first computer-readable proprietary definition of the first service that is not understood by the second service; and convert the first proprietary definition into the corresponding action ID for reporting to the coordinator server.

[0072] In an embodiment, the instance of the platform-independent code module executed by the second service may be configured to convert the corresponding action ID into a second computer-readable proprietary definition used by the second service.

[0073] In an embodiment, the coordination server may be configured to dynamically generate corresponding instances of the dynamic code module in response to requests from the first service and / or the second service, respectively.

[0074] In an embodiment, the coordination server can be configured to receive a user ID of the user from the first service or the second service, and configured to include the ID of the user in the entry in the directory, wherein the event is considered to occur conditionally when the user with the user ID performs an action of the corresponding type.

[0075] In an embodiment, each of the action ID, reporter ID, subscriber ID, and / or user ID may be globally unique.

[0076] In an embodiment, the directory also includes metadata, which may include one or both of the following: a human-readable definition of a corresponding action mapped to each of one or more of the action IDs; and / or a permission setting that specifies which of one or more providers is allowed to subscribe to the event, wherein the one or more providers include at least the second provider.

[0077] In an embodiment, the first service may be implemented at least in part based on a server of the first provider, and the coordination server is configured to receive the indication from the server of the first provider.

[0078] Alternatively, the first service is at least partially implemented in an application provided by the first provider but running on a user device through which the occurrence occurs, and the coordination server is configured to receive the indication from the application when the application of the first provider is running on the device through which the occurrence occurs.

[0079] In an embodiment, the second service may be implemented at least in part based on a server of the second provider.

[0080] In an embodiment, the second service may be implemented at least in part in an application provided by the second provider but running on a user device served by the second service.

[0081] In an embodiment, the user equipment served by the second service may be the same user equipment as the user equipment from which the indication was received by the first service.

[0082] Alternatively, the user equipment served by the second service may be a different user equipment than the user equipment from which the indication was received by the first service.

[0083] In an embodiment, the coordination server may be configured to perform sending the action ID to the second service in response to receiving the indication from the first service.

[0084] In an embodiment, the coordination server may be configured to send the action ID to the second service in response to a request from the second service asking the coordination server to confirm whether the event occurs.

[0085] In an embodiment, the predefined action types may include one or more default action types set by the operator of the coordination server; the coordination server may include a mechanism that enables the first provider to submit action addition requests for one or more new types of actions among the types of actions, and can dynamically allocate the corresponding action IDs in the directory in response to the action addition requests.

[0086] In an embodiment, the coordination server can be configured to also send the corresponding action ID for the event to one or more additional computerized services, rather than just to the second service that subscribes to the occurrence of the event; and / or one or more of the types of actions can be used by one or more additional services other than the first service to report the occurrence of one or more types of actions.

[0087] In an embodiment, the first service may never communicate with the second service instead of communicating with the second service indirectly via the coordinator.

[0088] In an embodiment, the code module may be configured such that submission of the indication from the first service to the coordination server may be called by a single line of corresponding code in the programming language of the first service. In an embodiment, the code module is configured such that conversion from the first proprietary definition to the action ID may be called by a single line of corresponding code in the programming language of the first service. In an embodiment, the code module is configured such that definition of a new action type among the action types may be called by a single line of corresponding code in the programming language of the first service. In an embodiment, the code module is configured such that receipt of the corresponding action ID by the second service from the coordination server may be called by a single line of corresponding code in the programming language of the second service. In an embodiment, the code module is configured such that conversion from the action ID to the second proprietary definition may be called by a single line of corresponding code in the programming language of the second service.

[0089] According to another aspect disclosed herein, a system is provided: a first service, a second service, and a coordination server.

[0090] According to another aspect disclosed herein, a method for coordinating between a first computerized service as a service of a first provider and a second computerized service as a service of a second provider is provided, wherein the first service operates based on a first platform including a first operating system and / or a first programming language, and the second service operates based on a second different platform including a second operating system and / or a second programming language; wherein the method comprises: providing a catalog comprising a corresponding action ID for each type of action of a plurality of predefined types of actions that can be performed by a human user through one of one or more user devices of the user; receiving a request from the first service requesting the first service to become a reporter for a type of action of the type, and in response, mapping the ID of the first provider as a reporter ID to a corresponding action identifier in an entry of the catalog, thereby defining an event that will be considered to occur when the user performs an action of the corresponding type while using the first service; receiving a request from the second service a request requesting the second service to become a subscriber to the event and, in response, mapping the ID of the second provider as a subscriber ID to the event in the entry of the directory; publishing a corresponding instance of a platform-independent code module to each of the first service and the second service, the platform-independent code module being configured to run on any of a plurality of different platforms including different first and second platforms of the first and second services, thereby enabling the first and second services to interact with the coordination server; receiving an indication of the occurrence of one of the types of actions from the first service via the instance of the platform-independent code module run by the first service, thereby indicating the occurrence of the event; and sending a corresponding action ID for the event to the second service via the instance of the platform-independent code module run by the second service, based on the directory, thereby enabling the second service to serve one of the one or more user devices of the user in response to the event.

[0091] According to another aspect disclosed herein, a computer program product is provided for coordinating between a first computerized service as a service of a first provider and a second computerized service as a service of a second provider, wherein the first service operates based on a first platform including a first operating system and / or a first programming language, and the second service operates based on a second different platform including a second operating system and / or a second programming language; wherein the computer program product includes code implemented on a computer-readable storage medium and is configured to perform the following operations when run on a server of a coordinator service: providing a directory, the directory including a corresponding action ID for each type of action of a plurality of predefined types of actions that can be performed by a human user through one of one or more user devices of the user; receiving a request from the first service requesting the first service to become a reporter for a type of action of the type, and in response, mapping the ID of the first provider as a reporter ID to a corresponding action identifier in an entry of the directory, thereby defining a type of action that will be considered as being performed by the user while using the first service an event that occurs when an action of a corresponding type is performed; receiving a request from the second service, the request requesting the second service to become a subscriber to the event, and in response, mapping the ID of the second provider as a subscriber ID to the event in the entry of the directory; publishing a corresponding instance of a platform-independent code module to each of the first service and the second service, the platform-independent code module being configured to run on any platform of a plurality of different platforms including different first platforms and second platforms of the first service and the second service, thereby enabling the first service and the second service to interact with the coordination server; receiving an indication of the occurrence of one of the types of actions from the first service via an instance of the platform-independent code module run by the first service, thereby indicating the occurrence of the event; and sending a corresponding action ID for the event to the second service via the instance of the platform-independent code module run by the second service, based on the directory, thereby enabling the second service to serve one of the one or more user devices of the user in response to the event.

[0092] According to another aspect disclosed herein, a method may be provided, comprising (a) using a native code module (designed to perform a first process) and a unified code module (designed to perform a second process), (b) enabling the unified code module to contact a server and retrieve a list of events (retrieved events) and an associated interaction ID for each event, (c) enabling the unified code module to monitor an event in the native code module corresponding to one of the retrieved events, (d) enabling the unified code module to detect the retrieved event when it occurs within the native code module, and (e) enabling the unified code module to send information about the detected event (e.g., details of a particular event, an associated interaction ID for the event, a user ID of the identity running the code module) to the server. In an embodiment, the server may maintain a database of events that occur for each user.

[0093] Other variations and implementations may become apparent to those skilled in the art given the disclosure herein.The scope of the present disclosure is not limited by the described embodiments but only by the appended claims.< / aid> < / uid> < / aid> < / uid>

Claims

1. A system for coordinating service operations between devices, comprising: one or more processors; as well as One or more memories having stored thereon instructions executable by the one or more processors to perform operations including: designating a first device as a reporter of an action type and designating a second device as a subscriber of the action type; Publishing respective instances of a code module to the first device and the second device, the code module being configured to run on a first platform of the first device and a second platform of the second device, the first platform being different from the second platform; receiving, from the first device, via the instance of the code module executed by the first device, an indication of an occurrence of an instance of the action type; as well as An action identifier for the instance of the action type is sent to the second device via the instance of the code module executed by the second device.

2. The system according to claim 1, wherein: The action type is selected from a catalog of action types that can occur in response to a user interaction with a user device.

3. The system according to claim 1, wherein: The first platform includes one or more of a different operating system or a different programming language than the second platform.

4. The system according to claim 1, wherein: The operations also include providing a catalog to one or more of the first device or the second device, the catalog including an action identifier for the action type.

5. The system according to claim 1, wherein: The operation also includes providing a directory to one or more of the first device or the second device, the directory including action identifiers for the action types, and wherein the designation includes mapping the first device as a reporter of the action identifiers in the directory and mapping the second device as a subscriber to the action identifiers in the directory.

6. The system according to claim 1, wherein: The designation is based on a request from the first device to be a reporter for the action type.

7. The system according to claim 1, wherein: The designation is based on a request from the second device to be a subscriber to the action type.

8. The system according to claim 1, wherein: The code modules include platform-independent code modules.

9. The system according to claim 1, wherein: The example of the action type includes an indication of a user input to a user device.

10. A method for coordinating service operations between devices, comprising: submitting, via the first device, a request to coordinate with a service hosted by the second device; receiving, at the first device, a notification to communicate with a third device and a request to be designated as a virtual endpoint for coordination with the second device; transmitting, to the third device, a request to coordinate with the second device; receiving a response to the request, the response comprising an instance of a code module; as well as An action occurring on the first device is reported, using the code module, to the service hosted by the second device, and a response to the action is received.

11. The method according to claim 10, wherein: The first device includes an application configured to implement functionality of the service hosted by the second device.

12. The method according to claim 10, wherein: The first device comprises an end-user device consuming the service hosted by the second device.

13. The method according to claim 10, wherein: The code module is independent of the platform utilized by the first device.

14. The method according to claim 10, wherein: The utilizing is accomplished via communication between different instances of the code module on the first device and the code module on the second device.

15. A method for coordinating service operations between devices, comprising: receiving a request from a first device to coordinate with a service hosted by a second device; transmitting a response to the first device, the response comprising an instance of a code module operable to enable communication between the first device and the service hosted by the second device; receiving a notification from the service hosted by the second device that an action occurred on the first device; as well as A notification is transmitted to a service hosted by a third device that the action effectively occurred to enable the third device to transmit a response to the action to the first device.

16. The method according to claim 15, wherein: The request from the first device includes a request to be a reporter of an action type corresponding to the action identified in the notification from the service hosted by the second device.

17. The method of claim 15, further comprising transmitting a different instance of the code module to the second device.

18. The method of claim 15 further includes receiving a request from the third device to become a subscriber to an action type corresponding to the action identified in the notification from the service hosted by the second device, and transmitting a different instance of the code module to the third device.

19. The method according to claim 15, wherein: The code modules include platform-independent code modules.

20. The method according to claim 15, wherein: The action occurring on the first device corresponds to an action type identifier, and wherein the method further comprises mapping the second device as a reporter of the action type identifier and mapping the third device as a subscriber of the action type identifier.

21. A computing system for coordinating service operations between devices, the computing system comprising: one or more processors; A memory storing instructions that, when executed by the one or more processors, cause the one or more processors to perform operations including: identifying a first device in a publisher role designated to report one or more events and a second device in a subscriber role designated to receive the one or more events from the publisher; Providing respective sets of executable code to the first device and the second device to coordinate communication operations, the executable code being configured to execute on a first platform of the first device having a first instruction set and to execute on a second platform of the second device having a second instruction set; receiving, based on use of the executable code at the first device, an event indication from a publisher service of the first device, the event indication corresponding to an event type; as well as Based on use of the executable code at the second device, an identifier of the event type is provided to the second device for processing using a subscriber service of the second device.

22. The computing system of claim 21, wherein: The respective sets of executable codes are used to convert information of the one or more events between proprietary definitions of the one or more events used at the first platform of the first device and the second platform of the second device.

23. The computing system of claim 21, wherein: The one or more events are provided from one or more types of actions, and wherein the operation includes selecting the one or more events from a catalog of respective types of actions detectable at the device.

24. The computing system of claim 21, wherein: The first platform includes one or more of a different operating system or a different programming language than the second platform.

25. The computing system of claim 21, wherein: The operations also include: A catalog is provided to one or more of the first device or the second device, the catalog including identifiers for respective ones of the one or more events.

26. The computing system of claim 25, wherein: The operation of identifying the first device and the second device in respective roles includes mapping the first device as a publisher of an event and mapping the second device as a subscriber to the event using the identifiers for the respective events.

27. The computing system of claim 21, wherein: The operation of identifying the first device and the second device in respective roles is based on a request from the first device to be a reporter of the event type and a request from the second device to be a subscriber of the event type.

28. The computing system of claim 21, wherein: The respective sets of executable code provide platform-independent code for use on respective devices, wherein the platform-independent code maps respective actions to unique identifiers for identifying events, and wherein the platform-independent code exposes an application programming interface (API) for communicating with the computing system to coordinate service operations.

29. A computer-readable storage medium that does not include transient signals, the storage medium comprising code instructions that, when executed by one or more processors of a computing device, cause the computing device to coordinate service operations between devices using operations comprising: identifying a first device in a publisher role designated to report one or more events and a second device in a subscriber role designated to receive the one or more events from the publisher; Providing respective sets of executable code to the first device and the second device to coordinate communication operations, the executable code being configured to execute on a first platform of the first device having a first set of executable instructions, and to execute on a second platform of the second device having a second set of executable instructions; receiving, based on use of the executable code at the first device, an event indication from a publisher service of the first device, the event indication corresponding to an event type; as well as Based on use of the executable code at the second device, an identifier of the event type is provided to the second device for processing using a subscriber service of the second device.

30. The computer-readable storage medium of claim 29, wherein: The respective sets of executable codes are used to convert information of the one or more events between proprietary definitions of the one or more events used at the first platform of the first device and the second platform of the second device.

31. The computer-readable storage medium of claim 29, wherein: The one or more events are provided from one or more types of actions, wherein the one or more events are selected from a catalog of respective types of actions detectable at the device.

32. The computer-readable storage medium of claim 29, wherein: The first platform includes one or more of a different operating system or a different programming language than the second platform.

33. The computer-readable storage medium of claim 29, the operations further comprising: providing a catalog to one or more of the first device or the second device, the catalog including an identifier for a respective one of the one or more events; Wherein identifying the first device and the second device in respective roles comprises mapping the first device as a publisher of an event and mapping the second device as a subscriber of the event using the identifiers for the respective events.

34. The computer-readable storage medium of claim 29, wherein: Identifying the first device and the second device in respective roles is based on a request from the first device to be a reporter of the event type and a request from the second device to be a subscriber of the event type.

35. The computer-readable storage medium of claim 29, wherein: The respective sets of executable code provide platform-independent code for use on the respective devices, wherein the platform-independent code maps respective actions to unique identifiers for identifying events, and wherein the platform-independent code exposes an application programming interface (API) for communicating with the computing device to coordinate service operations.

36. A method for coordinating service operations between devices, comprising: identifying a first device in a publisher role designated to report one or more events and a second device in a subscriber role designated to receive the one or more events from the publisher; Providing respective sets of executable code to the first device and the second device to coordinate communication operations, the executable code being configured to execute on a first platform of the first device having a first set of executable instructions, and to execute on a second platform of the second device having a second set of executable instructions; processing, based on use of the executable code at the first device, an event indication received from a publisher service of the first device, the event indication corresponding to an event type; as well as An identifier of the event type is provided to the second device for processing using a subscriber service of the second device based on use of the executable code at the second device.

37. The method of claim 36, further comprising: The respective sets of executable codes are configured to convert information of the one or more events between proprietary definitions of the one or more events used at the first platform of the first device and the second platform of the second device.

38. The method of claim 36, further comprising: The one or more events are selected from a catalog of respective types of actions detectable at the device.

39. The method of claim 36, further comprising: providing a catalog to one or more of the first device or the second device, the catalog including an identifier for a respective one of the one or more events; as well as The first device is mapped as a publisher of an event and the second device is mapped as a subscriber to the event using the identifiers for the respective events.

40. The method of claim 36, further comprising: processing a request received from the first device to be a reporter for the event type; as well as Processing a request received from the second device to become a subscriber to the event type.