Method and system for providing timely microservice execution in a cloud system
By enabling microservices to deliver partial results with quality measures within deadlines and storing full results, the cloud system addresses the challenge of non-deterministic performance, ensuring timely and predictable execution of latency-sensitive applications.
Patent Information
- Application Number
- PCT/IB2023/053925
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-17
- Publication Date
- 2024-10-24
AI Technical Summary
Cloud systems face challenges in running latency-sensitive applications due to non-deterministic performance and lack of real-time guarantees, making it difficult to provide timely microservice execution.
The implementation of a method that allows microservices to provide partial results within deadlines, with quality measures, enabling the cloud system to offer timely responses and store full results upon completion, using a network orchestrator to manage resources and coordinate microservice instances for efficient execution.
This approach enhances the predictability and timeliness of cloud services, allowing for the successful execution of latency-sensitive applications by providing partial results earlier and ensuring deterministic performance.
Smart Images

Figure IB2023053925_24102024_PF_FP_ABST
Abstract
Description
SPECIFICATIONMETHOD AND SYSTEM FOR PROVIDING TIMELY MICROSERVICE EXECUTION IN A CLOUD SYSTEMTECHNICAL FIELD
[0001] Embodiments of the invention relate to the field of networking; and more specifically, to providing timely microservice execution in a cloud system.BACKGROUND ART
[0002] A fundamental principle of a cloud native application is to decompose software into smaller and more manageable loosely coupled pieces. This concept is not new. It has always been good practice to divide code into more manageable pieces; what is new, however, is that each piece has a well-bounded scope and can now be individually deployed, scaled, and upgraded. These pieces, referred to as microservices, communicate through well-defined and version-controlled network-based interfaces and may offer cloud native applications.
[0003] Cloud native applications are designed specifically to be deployed and run in the cloud rather than on physical servers in traditional data centers. Cloud native is about how applications are created and deployed, and it uses the concept of building and running applications to take advantage of the distributed computing offered by the cloud delivery model. Those applications are designed and built to exploit the scale, elasticity, resiliency, and flexibility that the cloud provides.
[0004] For example, the fifth generation (5G) use cases drive the need for cloud native applications such as the third Generation Partnership Project (3GPP) standardized 5G network functions. These use cases drive the demands on running latency sensitive applications in the cloud. Yet the adoption of cloud technologies for time-sensitive and critical services is hampered by performance uncertainties that are inherent in today’s cloud models. While the deterministic behaviour of the network is one of its unique selling points, cloud services typically do not provide any real-time guarantees and exhibit non-determini Stic performance due to shared compute and network resources.
[0005] Thus, it is challenging to run latency sensitive applications in the cloud system.SUMMARY OF THE INVENTION
[0006] Embodiments include methods, electronic device, storage medium, and computer program for providing timely microservice execution. In one embodiment, a method comprises:processing data received at a first instance of a first microservice based on a first service request, the first microservice being within a microservice topology that includes a plurality of microservices to provide a service; providing a partial output result from processing the data at the first instance of the first microservice for the first service request and a quality measure of the partial output result based on a first metric for the first service request to a first instance of a second microservice within the microservice topology to meet a deadline for the first microservice; providing a full output result from processing the data at the first instance of the first microservice for the first service request to a second instance of the second microservice within the microservice topology upon completion of processing the data at the first instance of the first microservice for the service; and determining an output of the second microservice for the service based on a first output from the first instance of the second microservice for the service and a second output from the second instance of the second microservice for the service.
[0007] Embodiments include electronic devices for providing timely microservice execution. In one embodiment, an electronic device comprises a processor and machine-readable storage medium that provides instructions that, when executed by the processor, are capable of causing the electronic device to perform: processing data received at a first instance of a first microservice based on a first service request, the first microservice being within a microservice topology that includes a plurality of microservices to provide a service; providing a partial output result from processing the data at the first instance of the first microservice for the first service request and a quality measure of the partial output result based on a first metric for the first service request to a first instance of a second microservice within the microservice topology to meet a deadline for the first microservice; providing a full output result from processing the data at the first instance of the first microservice for the first service request to a second instance of the second microservice within the microservice topology upon completion of processing the data at the first instance of the first microservice for the service; and determining an output of the second microservice for the service based on a first output from the first instance of the second microservice for the service and a second output from the second instance of the second microservice for the service.
[0008] Embodiments include machine-readable storage media for providing timely microservice execution. In one embodiment, a machine-readable storage medium that provides instructions that, when executed, are capable of causing the electronic device to perform: processing data received at a first instance of a first microservice based on a first service request, the first microservice being within a microservice topology that includes a plurality of microservices to provide a service; providing a partial output result from processing the data at the first instance of the first microservice for the first service request and a quality measure ofthe partial output result based on a first metric for the first service request to a first instance of a second microservice within the microservice topology to meet a deadline for the first microservice; providing a full output result from processing the data at the first instance of the first microservice for the first service request to a second instance of the second microservice within the microservice topology upon completion of processing the data at the first instance of the first microservice for the service; and determining an output of the second microservice for the service based on a first output from the first instance of the second microservice for the service and a second output from the second instance of the second microservice for the service.
[0009] By implementing embodiments as described, a cloud system may offer latency sensitive applications in a cloud system using partial results and also store full results upon completion of data processing.BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The invention may best be understood by referring to the following description and accompanying drawings that are used to illustrate embodiments of the invention. In the drawings:
[0011] Figure 1 illustrates an architecture to provide timely microservice execution in a cloud system per some embodiments.
[0012] Figure 2 illustrates an architecture to provide timely microservice execution in a cloud system per other embodiments.
[0013] Figure 3 illustrates an architecture to provide timely microservice execution in a cloud system per additional embodiments.
[0014] Figure 4 is a flow diagram illustrating operations provide timely microservice execution in a cloud system per some embodiments.
[0015] Figure 5 illustrates an electronic device to provide timely microservice execution in a cloud system per some embodiments.
[0016] Figure 6 illustrates an example of a communication system per some embodiments.
[0017] Figure 7 illustrates a user equipment (UE) per some embodiments.
[0018] Figure 8 illustrates a network node per some embodiments.
[0019] Figure 9 is a block diagram of a host, which may be an embodiment of the host of Figure 6, per various aspects described herein.
[0020] Figure 10 is a block diagram illustrating a virtualization environment in which functions implemented by some embodiments may be virtualized.
[0021] Figure 11 illustrates a communication diagram of a host communicating via a network node with a user equipment (UE) over a partially wireless connection per some embodiments.DETAILED DESCRIPTION
[0022] Generally, all terms used herein are to be interpreted according to their ordinary meaning in the relevant technical field, unless a different meaning is clearly given and / or is implied from the context in which it is used. All references to a / an / the element, apparatus, component, means, step, etc. are to be interpreted openly as referring to at least one instance of the element, apparatus, component, means, step, etc., unless explicitly stated otherwise. The steps of any methods disclosed herein do not have to be performed in the exact order disclosed, unless a step is explicitly described as following or preceding another step and / or where it is implicit that a step must follow or precede another step. Any feature of any of the embodiments disclosed herein may be applied to any other embodiment, wherever appropriate. Likewise, any advantage of any of the embodiments may apply to any other embodiments, and vice versa. Other objectives, features, and advantages of the enclosed embodiments will be apparent from the following description.Utilize Partial Results of Microservices
[0023] The latency sensitive applications may be run in a cloud system through microservices, which are smaller, independent services that are decomposed from one or more of the applications, and which can be developed, deployed, and scaled independently. Each microservice typically focuses on a specific business capability and communicates with other microservices via application program interfaces (APIs). Instances of microservices refer to the individual copies or versions of a microservice that are running at any given time. A microservice may be instantiated into multiple microservice instances, which may run operations concurrently to handle tasks.
[0024] The fifth generation (5G) system architecture and related standards have the potential to enable a wide range of innovative latency sensitive applications for consumers and enterprise. In latency sensitive applications, the correctness of the system depends not only on the results of the computation but also on the time at which the results are produced. Running latency sensitive applications in the cloud ideally would use deterministic edge / cloud compute technologies, where a deterministic cloud can provide guarantees along the lines of traditional real-time systems. Yet this comes at the cost of flexibility and can cause a large resource utilization penalty. Thus, it is preferrable to use regular cloud systems to run the latency sensitive applications. Note that the terms of latency sensitive, time sensitive, and delay sensitive are deemed synonyms and used interchangeably herein.
[0025] In a regular cloud system, however, it is challenging to assess necessary properties such as the execution time of a microservice in the event of a certain payload in a specific state. Additionally, when a result from a microservice is to be produced late, the microservice may beterminated early and the data processed by the microservice may be considered lost. The problem is exacerbated in a cloud native application due to sharing, execution platform uncertainty, and the chains of independent microservices.
[0026] Existing approaches are implemented in the end user application and / or work with packet drop-out, which discards data forever. For example, certain packets are dropped out when it is predicted that dropping them allows timely execution of the latency sensitive applications. Alternatively, a response to a user request may be divided into a required and optional part, and a partial result based on the required part may be used to achieve a graceful degradation. The so- called graceful degradation approach drops part of the intended work as it enters job queues and does not provide partial results from a worker (e.g., a microservice), nor the means to process both the partial and full results in a chain of microservices. Note that partial and full results are also referred to as partial and full solutions, respectively, and the terms of “results” and “solutions” are used interchangeably herein.
[0027] Embodiments of the invention provide a framework in which all components (e.g., microservices) of cloud native latency sensitive applications may be designed with the consideration that partial results are provided at a specific deadline (or periodically, in specific deadlines). If the full result is not ready yet by the deadline, a partial result is provided in a way that other components of the application could start using that partial result while the full one is not yet ready.
[0028] A network orchestrator in the framework is responsible for managing and coordinating network resources and services to ensure that they function efficiently and effectively. Network orchestration involves the automation of the network configuration, provisioning, and management processes, which enables the cloud system to adapt and respond to changing network condition and user requests in real-time.
[0029] The network orchestrator in some embodiments is aware that a partial result has been produced and can prepare a first microservice instance to receive the partial result, and a second microservice instance to receive the later full result when the full result becomes ready. The first and second microservice instances (or more than two microservice instances) of the same microservice can then be executed at the same time, and the results of these microservice instances are compared and the better of the first and second microservice instances (or the best of more than two microservice instances being executed) is selected.
[0030] Using one or more partial results from a prior microservice offers advantages over previous approaches. The probability of meeting the requirements of cloud latency sensitive applications increases, since the partial result can be produced earlier than the full result. Additionally, the predictability of cloud services is enhanced since the earlier partial resultallows the consumer of a cloud service gets some timely responses. Furthermore, when the full result does not arrive on time, the full response may be forwarded to a storage for compensating an earlier partial result and / or measuring the quality of the earlier partial result.
[0031] Figure 1 illustrates an architecture to provide timely microservice execution in a cloud system per some embodiments. Cloud system 100 provides a platform for the microservice developer / operator to deploy microservices and may be used for a broad range of latency sensitive applications that implement microservices. The platform in Cloud system 100 may be coordinated by a network orchestrator.
[0032] The microservices form a microservice topology to provide latency sensitive applications. The microservice topology may be shown as a microservice graph, also known as a service graph, which is a visual representation of the relationships and dependencies between the various microservices within a system. It shows how the different microservices are connected and how they interact with each other, allowing developers and operators to better understand the overall architecture of the system. In some embodiments, the microservice graph is a directed acyclic graph (DAG), which is a directed graph with no directed cycles, and where the edges between spans are defined as a parent / child relationship. The microservices one to four and their instances in Figure 1 may be shown in a microservice graph. A microservice or microservice instance may also be referred to as a worker, which processes data for serving a service request. Also, each microservice or microservice instance may be implemented in an electronic device, such as a host or a network node, discussed in further detail in Figures 6 to 11.
[0033] The microservice topology for a latency sensitive application may be a microservice chain (also referred to as a microservice workflow), which is a sequence of microservices that work together to provide a particular service and / or run an application. The microservice topology may also be a microservice mesh, which is a dedicated infrastructure layer that provides a uniform way to manage and control service-to-service communication within a microservices application. It acts as a communication layer that connects and manages the interaction between the various microservices in the application. Additionally, the microservice topology can be event driven, where microservices communicate with each other through events and messages, rather than direct API calls; and it may be domain drive, where microservices are organized around specific business domains or subdomains, with each microservice responsible for a specific aspect of that domain. Embodiments of the invention are not limited to a particular way that the microservices in the microservice topology are organized.
[0034] To run a latency sensitive application, one or more of the microservices in the microservice topology are time bounded, with the requirement that a microservice is executedwithin a time period. For illustration, each of the microservices one to four (illustrated at references 106, 110, 126, 116, and 130) in Figure 1 is time bounded.
[0035] One or more microservices in a microservices topology are capable of providing partial results. For example, a microservice for record searching may provide one or more partial results and then the full result. The searching microservice may provide a first partial result within a first time bound by providing any records (e g., a data entry) or indication of no records based on searching a local cache; it may then provide a second partial result within a second, longer time bound by providing records / indication based on searching a regional datastore; and eventually it may provide the full result (within or outside of a third time bound) by providing records / indication based on searching the central datastore. Other than searching, numerous microservices are capable of providing partial results, including image processing microservices, notification microservices, authentication microservices, payment processing microservices, recommendation microservices. For illustration, each of the microservices one to four (illustrated at references 106, 110, 126, 116, and 130) in Figure 1 are capable of providing partial results.
[0036] In the microservice topology, a link between microservices and / or microservice instances routes data flows in between, and it may include one or more entities to perform the routing, including load balancer(s), service mesh(es), and aggregator(s), and the legend at reference 199 (and the legends at later references 299 and 399 in Figures 2 and 3) shows the links for data flow and optional data flow in solid or dotted lines. The dotted microservices and the links indicate that they are optional and only utilized in some scenarios (e.g., when full results are not available by the corresponding time bounds).
[0037] Any of the entities to route data flows between microservices may be reusable between microservices and implement one or more of a framework library, a software development kit (SDK), a proxy, a service mesh, a load balance policy, and a publish / subscribe broker. A data flow (also referred to as a traffic flow or flow) may be defined as a set of packets whose headers match a given pattern of bits. A data flow may be identified by a set of attributes embedded to one or more packets of the flow. An exemplary set of attributes includes a 5-tuple (source and destination IP addresses, a protocol type, source and destination transmission control protocol or User Datagram Protocol (TCP / UDP) ports. Packet, is intended to be broadly construed to include a frame, a datagram, a packet, or a cell; a fragment of a frame, a fragment of a datagram, a fragment of a packet, or a fragment of a cell; or another type, arrangement, or packaging of data.
[0038] Clients of Cloud system 100 may request a service, and one client is the requesting device shown at reference 150, which may be a user equipment (UE), an end user application, oranother electronic device or associated application. The service request is shown as rl at reference 190, and the services requests and associated data are sourced from a data / request entity 136 within the requesting device 150. To implement partial results in microservice execution, the one or more services to be provided by the microservices in Cloud system 100 needs to be partial result capable as well.
[0039] The service request 190 is processed by microservice 1 at reference 106. Each microservice may be initiated to form a microservice instance, which is an individual copy or version of the corresponding microservice as discussed herein. When only one instance is initiated for a type of microservice n, microservice n is used to refer to the microservice instance, otherwise microservice n(A), n(B)... are used to reference to particular instances of the microservice. Without being noted otherwise, the terms of microservice and microservice instance are used interchangeably herein.
[0040] Microservice 106 processes the service request 190 (and its associated data) within the corresponding time bound, deadline Tl, and the full result is sent in two branches, full result 11- 1 and 11-2 (at references 108 and 124, respectively) to the next one or more microservices, which are microservices 2 and 3 at references 110 and 126, respectively. It is assumed that microservice 3 at reference 126 processes the service request 190 (and its associated data) within the corresponding time bound, deadline T2, and the full result 13 at reference 128 may be provided to the next microservice, microservice 4.
[0041] Microservice 2 at reference 110 takes the input and processes it, but the processing fails to meet the corresponding time bound, deadline T2. Since microservice 2 at reference 110 is capable of providing partial results, the partial result 12, a partial result 12-1 is produced by the deadline T2 as shown at reference 118. Since the requested service is partial result capable, the partial result 12-1 from microservice 2 at reference 110 is provided to an instance of microservice 4, 4(A) at reference 130. The microservice instance 4(A) at reference 130 may take the partial results 12-1 and full result 13 from the preceding microservices and process the service request 190.
[0042] The partial result 12-1 at reference 118 may be provided with a related quality measure to indicate how well is the partial result representing the full result. The deviation from the full result as indicated by the quality measure allows the one or more next microservices in the microservice topology that take the partial result as input to have a better assessment of the partial result. For example, in the searching microservice example above, the first partial result from searching the local cache is accompanied by a quality measure based on the metric of the percentage of total searchable records, e.g., 5% of the total records are in the local cache, from which the first partial result is obtained. Cloud system 100 may decide to instantiate moreinstances of the next microservices to accommodate the later fuller result as the partial result and the quality measure implies much more records are liked to be returned (e.g., numerous hits from the 5% of the total records), otherwise, few microservice instances and / or less resources may be dedicated to the next microservices. The related quality measure is provided based on the context of the service to be provided and / or the function of the corresponding microservice, e g., an image processing microservice may provide values for a set of quality parameters, including resolution, bit rate, quantization parameter, frame structure, and any other ones indicating image quality.
[0043] The related quality measure of a partial result from a microservice may indicate the quality of that microservice, and it may also indicate the quality of all or subset of the microservices in the microservice topology at which the data has been processed. For example, The latter indicates the accumulated quality measure for the execution in the microservice topology and may provide a better indication for Cloud system 100 to decide how to proceed with the corresponding partial result in some embodiments
[0044] Each microservice may provide its own related quality measure and the quality measure may be provided along with a full result from a microservice as well. For example, the quality measure provided for the full result from the microservice may indicate the quality of data processing of one or more previous microservices, since the microservice receives a partial result from a previous microservice. In some embodiments, the full result from a microservice may be provided without a quality measure and that implicitly indicates that the full result has the target quality from executing the microservice.
[0045] While microservice instance 4(A) at reference 130 processes the partial result 12-1 at 118, another microservice instance of microservice 4, 4(B), may be initiated at reference 116, as the orchestrator knows that the full result from microservice 2 at reference 110 has not provided yet. Microservice 2 at reference 110 eventually finishes its processing of data for the service request 190 and provides the full output result 12-2 with delay (outside of the deadline 72) at reference 112. The full output result 12-2 may be provided with a quality measure in some embodiments. Microservice instance 4(B) is then activated to process the full result from microservice 2 at reference 110, as well as the full result from microservice 3 at reference 126. Note that initiation and activation of a microservice instance are different, the former is to get the microservice instance ready for service, while the latter is to execute the microservice instance to process data for the corresponding service request.
[0046] It is assumed that microservice 4(B) at reference 116 completes its data processing within the time bound, deadline T4(B), and produce a full result 14-2 at reference 140. Similarly, microservice 4(A) at reference 130 completes its data processing within the timebound, deadline T4(A) , and produce a full result 14-1 at reference 134. While the two deadlines T(A) and T(B) may be the same, they can differ in some embodiments.
[0047] The full results 14-1 and 14-2, the former from a chain with partial result 12-1 and the latter from a chain with full results in earlier microservices, are sent to a quality measure determination module at reference 142 to determine the output result at reference 144, which is then provided to the requesting device 150. The determination may be based on the timeliness of the partial and full results and evaluation and / or comparison of the partial and / or full results based on the quality measures provided by the results to be examined.
[0048] The determination is not required to be made after all the partial and full results from preceding microservices or microservice instances are received. The determination may be based on timeliness of the partial and full results and may lead to a partial result with a lower quality (as indicated by the quality measures) to be selected as the output result at reference 144, even before the one or more other full / partial results are received. For example, (1) the full result 14-1 from the chain with partial result 12-1 arrives at the quality measure determination module 142, ahead of (2) the full result 14-2 from the chain with full results, and the quality of the former is acceptable for the service request 190 (as the received quality measure determined by the quality measure determination module 142), the quality measure determination module 142 may decide to select (1) to be the output result at reference 144 without even receiving (2). Such determination allows a latency sensitive application to meet the overall latency requirement for a corresponding service request.
[0049] When two or more partial and full results are received at the determination module, a quality comparison of these results are performed at the determination module. The comparison of the quality measures may take a mathematic approach. For example, the result from a chain experienced a 30% partial completion in a microservice (with the metric of the percentage of completion) is considered inferior to another chain experienced no worse than a 70% partial completion in a microservice. The comparison may take a heuistic approach, where one metric of quality measure (e.g., resolution) is considered more important than another (e.g., the number of B frames in the video frame structure).
[0050] The comparison may also use machine learning and / or artificial intelligence. The machine learning models may use supervised learning, unsupervised learning, semi-supervised learning, or other types of learning so that these models may determine the best result based on the quality measures. It can use artificial neural networks, decision trees, support-vector machines, regression analysis, Bayesian networks, genetic algorithms, or any other framework. The machine learning models may be trained with the one or more goals of providing the best result to the requesting device 150 for the service request 190.
[0051] The training of the machine learning model may be based on the earlier results that are saved in the retention and metrics module 145. The earlier results provided to the corresponding requesting devices and the related measures based on which the results are provided (the metrics) can be stored with feedback from these requesting devices, and the machine learning models can be trained and adjusted to provide better results to the requesting devices. The current results, even when they are not given to the requesting device 150 for the service request, may still be stored in the retention and metrics module 145 to help the determination at reference 142 for future service requests.
[0052] In some embodiments, an aggregated result based on the incoming results 14-1 and 14- 2, instead of selecting either result 14-1 or 14-2, is provided to the requesting device 150. For example, several partial / full results from different microservice chains are received at the quality measure determination module 142. These partial / full results may have partial input at different stages at their respective microservice chains, resulting in different partial data structures from which the output result 244 may aggregate. The aggregated result is a fusion of the incoming results based on algorithms (e.g., a machine learning model may be trained to provide the optimal aggregated result based on the incoming results) in some embodiments.
[0053] While only two branches to serve the service request 190 are shown, more than two branches of microservice instances may be instantiated and activated to serve a service request. The determination of quality measures at reference 142 will then examine the quality measures of all results.
[0054] Note that priorities may be assigned to microservices in a microservice topology for a service request. The priority of a microservice may be assigned based on the relative criticality of the task to be performed. Additionally, different priorities may be assigned to different instances of the same microservices for a variety of reasons. For example, microservice instance 4(A) may be a low priority for the service request 190 while microservice instance 4(B) is a high priority (e.g., due to the full result missing the deadline), or vice versa (e.g., due to the full result providing a reference point for later microservices).
[0055] Figure 2 illustrates an architecture to provide timely microservice execution in a cloud system per other embodiments. Cloud system 200 is similar to Cloud system 100 and the same or similar references indicate elements or components having the same or similar functionalities. One difference between Figures 1 and 2 is that output result from the microservice chain including microservice instance 4(B) may be dropped, if the output result is provided after a certain delay threshold, as determined at reference 241.
[0056] The delay threshold 241 may be service specific, e.g., a real time video streaming application may be more delay sensitive thus having a lower delay threshold than a dataduplication application. Additionally, a delay threshold is not limited to one of the branches (e.g., output results 14-1 and 14-2) to serve the service request, and it may be inserted to multiple or all of the branches so that the output results, partial or full, need to meet corresponding delay thresholds. The delay threshold may be different for different output results of different branches to serve the same service request, e.g., the partial result with more accurate data may be given a longer delay threshold.
[0057] Additionally, the delay determination may be performed within the middle of a microservice chain, not the end of it. For example, if the output result 12-2 at reference 112 is not provided within a delay threshold, microservice instance 4(B) won’t be initiated to process the full result from microservice 2 at reference 110. The early termination allows the orchestrator to use resources (e.g., executing resources (CPU / GPU), storage resources, bandwidth / timeslot sources) efficiently to serve a service request and instead of maintaining a service chain that likely will not provide latency sensitive service for the service request.
[0058] Figure 3 illustrates an architecture to provide timely microservice execution in a cloud system per additional embodiments. Cloud system 300 is similar to Cloud system 100 and the same or similar references indicate elements or components having the same or similar functionalities. In Figure 3, a new service request, r2 at reference 390 is sent by the requesting device 150 and it requires the same microservices 1 to 3.
[0059] The service request 390 is processed by microservice 1 at reference 106 within deadline Tl, and the full result may be provided to the following miroservices 2 and 3. While the full result 21-1 is provided to microservice 3 at reference 324 as in Figure 1, the instance for microservice 2, 2(A) at reference 310, is still busy with processing the earlier service request 190. Responsively, the orchestrator may then initiate a new instance of microservice 2, 2(B), at reference 304, to process the output result 21-2 at reference 302 for the service request 390.
[0060] Through these embodiments, a cloud system may provide more deterministic services thus allow the cloud system to implement latency sensitive applications and provide corresponding latency sensitive services. For example, a Visual Simultaneous Localization and Mapping (VSLAM ) that uses feature-based model could be designed to provide partial solutions using the cloud system. The core of the VSLAM is to detect, extract and match geometric features (points, lines, or planes), estimate camera pose, and build an environment map while retaining important information. The feature extraction part of VSLAM could be designed to provide partial results to the estimation module. These partial results could contain just a subset of points, lines or planes considering the deadline of each task. If the VSLAM uses cameras that provide depth images, the partial results should prioritize the features considering their distance. Landmarks closer to the robot position should be detected first. Wheneverpossible, the environment map will be updated by the parallel execution that provides final results.
[0061] Another example is the Simultaneous Localization and Mapping (SLAM) that uses a particle filter to represent potential trajectories and maps. The more particles that can be processed in each iteration, the better the accuracy. This opens up for a ‘partial results’ of reduced quality if the algorithm runs out of time - and using ‘infinite compute’ to run solutions in parallel, as needed. After obtaining a localization and mapping update, a next step in the chain of events may correct for errors, fuse with other sensors, and look for loop closures. After that step, updates from coordinated devices may be merged, and and joint planning may be performed, then an algorithm may be applied for individual decisions. At each of these steps, a microservice may be forked into two (or more) instances, and the next microservice may be chosen based on the previous accuracy and remaining round-trip time. The full result (the configured best accuracy) can execute in parallel and fuse with later results.Operations per some Embodiments
[0062] Figure 4 is a flow diagram illustrating operations provide timely microservice execution in a cloud system per some embodiments. The operations of method 400 may be implemented in an electronic device implementing an orchestrator in a cloud system. The orchestrator may be implemented in an electronic device (e.g., electronic device 502). Method 400 provide timely microservice execution in a cloud system.
[0063] At reference 402, data received at a first instance of a first microservice is processed based on a first service request, the first microservice being within a microservice topology that includes a plurality of microservices to provide a service. For example, the first service request may be rl at reference 190, and the first instance of the first microservice may be microservice 2 at reference 110.
[0064] At reference 406, (1) a partial output result from processing the data at the first instance of the first microservice for the first service request and (2) a quality measure of the partial output result based on a first metric for the first service request are provided to a first instance of a second microservice within the microservice topology to meet a deadline for the first microservice. For example, the partial output result may be partial result 12-1 at reference 118, and the first instance of the second microservice may be microservice instance 4(A) at reference 130.
[0065] At reference 408, a full output result from processing the data at the first instance of the first microservice for the first service request is provided to a second instance of the second microservice within the microservice topology upon completion of processing the data at thefirst instance of the first microservice for the service. For example, the second instance of the second microservice may be microservice instance 4(B) at reference 116.
[0066] At reference 410, an output of the second microservice for the service is determined based on a first output from the first instance of the second microservice for the service and a second output from the second instance of the second microservice for the service. For example, the output of the second microservice for the service is determined at reference 144 as discussed herein above.
[0067] In some embodiments, the method further includes, upon receiving data based on a second service request and determining that the first instance of the first microservice has not completed data processing for the first service request, the data received based on the second service request is provided to a second instance of the first microservice for processing as shown at reference 404. For example, the second instance of the first microservice is the microservice instance 2(B) at reference 304.
[0068] While the operation of reference 304 is shown to be prior to providing (1) the partial output from processing the data at the first instance of the first microservice for the first service request and (2) a quality measure of the partial output result based on a first metric for the first service request, in some embodiments, the operation may be performed after the operation at reference 406 or even the ones at references 408 and / or 410. As long as the first instance of the first microservice has not completed data processing for another service request, the second instance of the first microservice for processing will be provided for the second service request.
[0069] In some embodiments, the second instance of the second microservice within the microservice topology is activated upon a determination that providing the full output result from processing the data at the first microservice for the first service request is to miss the deadline for the first microservice. The expected missing of the deadline for the first microservice may be determined by the first instance of the first microservice or an orchestrator in some embodiments. In some embodiments, the second instance of the second microservice within the microservice topology is initiated along with the first instance of the second microservice.
[0070] In some embodiments, the second instance of the second microservice within the microservice topology is initiated once it is determined that the full output result from processing the data at the first instance of the first microservice for the first service request is about to be available.
[0071] In some embodiments, the quality measure of the partial output indicates closeness of the partial output result and full output result. For example, the closeness of the partial output result and full output result is based on the percentage of completion of the partial output result(e.g., being 30% vs. 70% of the full output result), or the resolution difference between the two results (e.g., 1080 partial output result p vs. 4K full output result).
[0072] In some embodiments, determination of the output of the second microservice for the service comprises comparing quality measures of the first output and second output from the first and second instances of the second microservice based on the first metric.
[0073] In some embodiments, the first output from the first instance of the second microservice for the service is selected as the output of the second microservice for the service, and the second output from the second instance of the second microservice for the service is retained to indicate quality of the output of the second microservice for the service. The second output from the second instance of the second microservice for the service may be stored in the retention and metrics module 145 as discussed herein above.
[0074] In some embodiments, the first output from the first instance of the second microservice for the service is selected as the output of the second microservice for the service based on a second metric including one or more of timing and quality requirements for the service. The first output from the first instance of the second microservice for the service may be selected due to (1) the first output from the first instance of the second microservice arrives earlier than the second output from the second instance of the second microservice, and (2) the first output from the first instance of the second microservice still meets the quality requirement for the service, even though the second output from the second instance of the second microservice provide a better quality.
[0075] Through embodiments of the invention, a cloud system may provide deterministic cloud service performance. The cloud system may provide parallel execution of multiple microservice instances of the same microservice when necessary, and the cloud system may offer latency sensitive applications using partial results and also store full results upon completion of data processing.Devices and Environments for Implementing Embodiments of the Invention
[0076] Figure 5 illustrates an electronic device to provide timely microservice execution in a cloud system per some embodiments. The electronic device may be a host in a cloud system, or a network node in a wireless / wireline network, and the operating environment and further embodiments the host and the network node are discussed in more details herein below. The electronic device 502 may be implemented using custom application-specific integrated-circuits (ASICs) as processors and a special-purpose operating system (OS), or common off-the-shelf (COTS) processors and a standard OS. In some embodiments, the electronic device 502 implements orchestrator 555 that performs operations discussed herein relating to Figures 1 to 4.
[0077] The electronic device 502 includes hardware 540 comprising a set of one or more processors 542 (which are typically COTS processors or processor cores or ASICs) and physical NIs 546, as well as non-transitory machine-readable storage media 549 having stored therein software 550. During operation, the one or more processors 542 may execute the software 550 to instantiate one or more sets of one or more applications 564A-R. While one embodiment does not implement virtualization, alternative embodiments may use different forms of virtualization. For example, in one such alternative embodiment, the virtualization layer 554 represents the kernel of an operating system (or a shim executing on a base operating system) that allows for the creation of multiple instances 562A-R called software containers that may each be used to execute one (or more) of the sets of applications 564A-R. The multiple software containers (also called virtualization engines, virtual private servers, or jails) are user spaces (typically a virtual memory space) that are separate from each other and separate from the kernel space in which the operating system is run. The set of applications running in a given user space, unless explicitly allowed, cannot access the memory of the other processes In another such alternative embodiment, the virtualization layer 554 represents a hypervisor (sometimes referred to as a virtual machine monitor (VMM)) or a hypervisor executing on top of a host operating system, and each of the sets of applications 564A-R run on top of a guest operating system within an instance 562A-R called a virtual machine (which may in some cases be considered a tightly isolated form of software container) that run on top of the hypervisor - the guest operating system and application may not know that they are running on a virtual machine as opposed to running on a “bare metal” host electronic device, or through para-virtualization the operating system and / or application may be aware of the presence of virtualization for optimization purposes. In yet other alternative embodiments, one, some, or all of the applications are implemented as unikernel(s), which can be generated by compiling directly with an application only a limited set of libraries (e.g., from a library operating system (LibOS) including drivers / libraries of OS services) that provide the particular OS sendees needed by the application. As a unikernel can be implemented to run directly on hardware 540, directly on a hypervisor (in which case the unikernel is sometimes described as running within a LibOS virtual machine), or in a software container, embodiments can be implemented fully with unikemels running directly on a hypervisor represented by virtualization layer 554, unikemels running within software containers represented by instances 562A-R, or as a combination of unikemels and the above-described techniques (e.g., unikemels and virtual machines both run directly on a hypervisor, unikemels, and sets of applications that are run in different software containers).
[0078] The software 550 contains orchestrator 555 that performs operations described with reference to operations as discussed relating to Figures 1 to 4. The orchestrator 555 may be instantiated within the applications 564A-R. The instantiation of the one or more sets of one or more applications 564A-R, as well as virtualization if implemented, are collectively referred to as software instance(s) 552. Each set of applications 564A-R, corresponding virtualization construct (e.g., instance 562A-R) if implemented, and that part of the hardware 540 that executes them (be it hardware dedicated to that execution and / or time slices of hardware temporally shared), forms a separate virtual electronic device 560A-R.
[0079] A network interface (NI) may be physical or virtual. In the context of Internet Protocol (IP), an interface address is an IP address assigned to an NI, be it a physical NI or virtual NI. A virtual NI may be associated with a physical NI, with another virtual interface, or stand on its own (e.g., a loopback interface, a point-to-point protocol interface). A NI (physical or virtual) may be numbered (a NI with an IP address) or unnumbered (a NI without an IP address). The NI is shown as network interface card (NIC) 544. The physical network interface 546 may include one or more antenna of the electronic device 502. An antenna port may or may not correspond to a physical antenna. The antenna comprises one or more radio interfaces.A Wireless Network per Some Embodiments
[0080] Figure 6 illustrates an example of a communication system 600 per some embodiments. In the example, the communication system 600 includes a telecommunication network 602 that includes an access network 604, such as a radio access network (RAN), and a core network 606, which includes one or more core network nodes 608. The access network 604 includes one or more access network nodes, such as network nodes 610A and 610B (one or more of which may be generally referred to as network nodes 610), or any other similar 3rdGeneration Partnership Project (3 GPP) access nodes or non-3GPP access points. Moreover, as will be appreciated by those of skill in the art, a network node is not necessarily limited to an implementation in which a radio portion and a baseband portion are supplied and integrated by a single vendor. Thus, it will be understood that network nodes include disaggregated implementations or portions thereof. For example, in some embodiments, the telecommunication network 602 includes one or more Open-RAN (ORAN) network nodes. An ORAN network node is a node in the telecommunication network 602 that supports an ORAN specification (e.g., a specification published by the O-RAN Alliance, or any similar organization) and may operate alone or together with other nodes to implement one or more functionalities of any node in the telecommunication network 602, including one or more network nodes 610 and / or core network nodes 608.
[0081] Examples of an ORAN network node include an open radio unit (O-RU), an open distributed unit (0-DU), an open central unit (O-CU), including an O-CU control plane (O-CU- CP) or an O-CU user plane (O-CU-UP), a RAN intelligent controller (near-real time or non-real time) hosting software or software plug-ins, such as a near-real time control application (e.g., xApp) or a non-real time control application (e.g., rApp), or any combination thereof (the adjective “open” designating support of an ORAN specification) The network node may support a specification by, for example, supporting an interface defined by the ORAN specification, such as an Al, Fl, Wl, El, E2, X2, Xn interface, an open fronthaul user plane interface, or an open fronthaul management plane interface. Moreover, an ORAN access node may be a logical node in a physical node. Furthermore, an ORAN network node may be implemented in a virtualization environment (described further below) in which one or more network functions are virtualized. For example, the virtualization environment may include an O-Cloud computing platform orchestrated by a Service Management and Orchestration Framework via an 0-2 interface defined by the 0-RAN Alliance or comparable technologies. The network nodes 610 facilitate direct or indirect connection of user equipment (UE), such as by connecting UEs 612A, 612B, 612C, and 612D (one or more of which may be generally referred to as UEs 612) to the core network 606 over one or more wireless connections.
[0082] Example wireless communications over a wireless connection include transmitting and / or receiving wireless signals using electromagnetic waves, radio waves, infrared waves, and / or other types of signals suitable for conveying information without the use of wires, cables, or other material conductors. Moreover, in different embodiments, the communication system 600 may include any number of wired or wireless networks, network nodes, UEs, and / or any other components or systems that may facilitate or participate in the communication of data and / or signals whether via wired or wireless connections. The communication system 600 may include and / or interface with any type of communication, telecommunication, data, cellular, radio network, and / or other similar type of system.
[0083] The UEs 612 may be any of a wide variety of communication devices, including wireless devices arranged, configured, and / or operable to communicate wirelessly with the network nodes 610 and other communication devices. Similarly, the network nodes 610 are arranged, capable, configured, and / or operable to communicate directly or indirectly with the UEs 612 and / or with other network nodes or equipment in the telecommunication network 602 to enable and / or provide network access, such as wireless network access, and / or to perform other functions, such as administration in the telecommunication network 602.
[0084] In the depicted example, the core network 606 connects the network nodes 610 to one or more hosts, such as host 616. These connections may be direct or indirect via one or moreintermediary networks or devices. In other examples, network nodes may be directly coupled to hosts. The core network 606 includes one more core network nodes (e.g., core network node 608) that are structured with hardware and software components. Features of these components may be substantially similar to those described with respect to the UEs, network nodes, and / or hosts, such that the descriptions thereof are generally applicable to the corresponding components of the core network node 608. Example core network nodes include functions of one or more of a Mobile Switching Center (MSC), Mobility Management Entity (MME), Home Subscriber Server (HSS), Access and Mobility Management Function (AMF), Session Management Function (SMF), Authentication Server Function (AUSF), Subscription Identifier De-concealing function (SIDF), Unified Data Management (UDM), Security Edge Protection Proxy (SEPP), Network Exposure Function (NEF), and / or a User Plane Function (UPF).
[0085] The host 616 may be under the ownership or control of a service provider other than an operator or provider of the access network 604 and / or the telecommunication network 602, and may be operated by the service provider or on behalf of the service provider. The host 616 may host a variety of applications to provide one or more service. Examples of such applications include live and pre-recorded audio / video content, data collection services such as retrieving and compiling data on various ambient conditions detected by a plurality of UEs, analytics functionality, social media, functions for controlling or otherwise interacting with remote devices, functions for an alarm and surveillance center, or any other such function performed by a server.
[0086] As a whole, the communication system 600 of Figure 6 enables connectivity between the UEs, network nodes, and hosts. In that sense, the communication system may be configured to operate according to predefined rules or procedures, such as specific standards that include, but are not limited to: Global System for Mobile Communications (GSM); Universal Mobile Telecommunications System (UMTS); Long Term Evolution (LTE), and / or other suitable 2G, 3G, 4G, 5G standards, or any applicable future generation standard (e.g., 6G); wireless local area network (WLAN) standards, such as the Institute of Electrical and Electronics Engineers (IEEE) 802.11 standards (WiFi); and / or any other appropriate wireless communication standard, such as the Worldwide Interoperability for Microwave Access (WiMax), Bluetooth, Z-Wave, Near Field Communication (NFC) ZigBee, LiFi, and / or any low-power wide-area network (LPWAN) standards such as LoRa and Sigfox.
[0087] In some examples, the telecommunication network 602 is a cellular network that implements 3 GPP standardized features. Accordingly, the telecommunications network 602 may support network slicing to provide different logical networks to different devices that are connected to the telecommunication network 602. For example, the telecommunication network602 may provide Ultra Reliable Low Latency Communication (URLLC) services to some UEs, while providing Enhanced Mobile Broadband (eMBB) services to other UEs, and / or Massive Machine Type Communication (mMTC) / Massive loT services to yet further UEs.
[0088] In some examples, the UEs 612 are configured to transmit and / or receive information without direct human interaction. For instance, a UE may be designed to transmit information to the access network 604 on a predetermined schedule, when triggered by an internal or external event, or in response to requests from the access network 604. Additionally, a UE may be configured for operating in single- or multiple radio access technology (multi-RAT) or multistandard mode. For example, a UE may operate with any one or combination of Wi-Fi, NR (New Radio) and LTE, i.e., being configured for multi-radio dual connectivity (MR-DC), such as E-UTRAN (Evolved-UMTS Terrestrial Radio Access Network) New Radio - Dual Connectivity (EN-DC).
[0089] In the example, the hub 614 communicates with the access network 604 to facilitate indirect communication between one or more UEs (e.g., UE 612C and / or 612D) and network nodes (e.g., network node 610B). In some examples, the hub 614 may be a controller, router, content source and analytics, or any of the other communication devices described herein regarding UEs. For example, the hub 614 may be a broadband router enabling access to the core network 606 for the UEs. As another example, the hub 614 may be a controller that sends commands or instructions to one or more actuators in the UEs. Commands or instructions may be received from the UEs, network nodes 610, or by executable code, script, process, or other instructions in the hub 614. As another example, the hub 614 may be a data collector that acts as temporary storage for UE data and, in some embodiments, may perform analysis or other processing of the data. As another example, the hub 614 may be a content source. For example, for a UE that is a virtual reality (VR) headset, display, loudspeaker or other media delivery device, the hub 614 may retrieve VR assets, video, audio, or other media or data related to sensory information via a network node, which the hub 614 then provides to the UE either directly, after performing local processing, and / or after adding additional local content. In still another example, the hub 614 acts as a proxy server or orchestrator for the UEs, in particular if one or more of the UEs are low energy loT devices.
[0090] The hub 614 may have a constant / persi stent or intermittent connection to the network node 610b. The hub 614 may also allow for a different communication scheme and / or schedule between the hub 614 and UEs (e.g., UE 612C and / or 612D), and between the hub 614 and the core network 606. In other examples, the hub 614 is connected to the core network 606 and / or one or more UEs via a wired connection. Moreover, the hub 614 may be configured to connect to a machine-to-machine (M2M) service provider over the access network 604 and / or to anotherUE over a direct connection. In some scenarios, UEs may establish a wireless connection with the network nodes 610 while still connected via the hub 614 via a wired or wireless connection. In some embodiments, the hub 614 may be a dedicated hub - that is, a hub whose primary function is to route communications to / from the UEs from / to the network node 610B. In other embodiments, the hub 614 may be a non-dedicated hub - that is, a device which is capable of operating to route communications between the UEs and network node 610B, but which is additionally capable of operating as a communication start and / or end point for certain data channels.UE per Some Embodiments
[0091] Figure 7 illustrates a UE 700 per some embodiments. As used herein, a UE refers to a device capable, configured, arranged and / or operable to communicate wirelessly with network nodes and / or other UEs. Examples of a UE include, but are not limited to, a smart phone, mobile phone, cell phone, voice over IP (VoIP) phone, wireless local loop phone, desktop computer, personal digital assistant (PDA), wireless cameras, gaming console or device, music storage device, playback appliance, wearable terminal device, wireless endpoint, mobile station, tablet, laptop, laptop-embedded equipment (LEE), laptop-mounted equipment (LME), smart device, wireless customer-premise equipment (CPE), vehicle, vehicle-mounted or vehicle embedded / integrated wireless device, etc. Other examples include any UE identified by the 3rd Generation Partnership Project (3GPP), including a narrow band internet of things (NB-IoT) UE, a machine type communication (MTC) UE, and / or an enhanced MTC (eMTC) UE.
[0092] A UE may support device-to-device (D2D) communication, for example by implementing a 3 GPP standard for sidelink communication, Dedicated Short-Range Communication (DSRC), vehicle-to-vehicle (V2V), vehicle-to-infrastructure (V2I), or vehicle- to-everything (V2X). In other examples, a UE may not necessarily have a user in the sense of a human user who owns and / or operates the relevant device. Instead, a UE may represent a device that is intended for sale to, or operation by, a human user but which may not, or which may not initially, be associated with a specific human user (e.g., a smart sprinkler controller). Alternatively, a UE may represent a device that is not intended for sale to, or operation by, an end user but which may be associated with or operated for the benefit of a user (e.g., a smart power meter).
[0093] The UE 700 includes processing circuitry 702 that is operatively coupled via a bus 704 to an input / output interface 706, a power source 708, a memory 710, a communication interface 712, and / or any other component, or any combination thereof. Certain UEs may utilize all or a subset of the components shown in Figure 7. The level of integration between the componentsmay vary from one UE to another UE. Further, certain UEs may contain multiple instances of a component, such as multiple processors, memories, transceivers, transmitters, receivers, etc.
[0094] The processing circuitry 702 is configured to process instructions and data and may be configured to implement any sequential state machine operative to execute instructions stored as machine-readable computer programs in the memory 710. The processing circuitry 702 may be implemented as one or more hardware-implemented state machines (e.g., in discrete logic, field- programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), etc.); programmable logic together with appropriate firmware; one or more stored computer programs, general -purpose processors, such as a microprocessor or digital signal processor (DSP), together with appropriate software; or any combination of the above. For example, the processing circuitry 702 may include multiple central processing units (CPUs).
[0095] In the example, the input / output interface 706 may be configured to provide an interface or interfaces to an input device, output device, or one or more input and / or output devices. Examples of an output device include a speaker, a sound card, a video card, a display, a monitor, a printer, an actuator, an emitter, a smartcard, another output device, or any combination thereof. An input device may allow a user to capture information into the UE 700. Examples of an input device include a touch-sensitive or presence-sensitive display, a camera (e.g., a digital camera, a digital video camera, a web camera, etc.), a microphone, a sensor, a mouse, a trackball, a directional pad, a trackpad, a scroll wheel, a smartcard, and the like. The presence-sensitive display may include a capacitive or resistive touch sensor to sense input from a user. A sensor may be, for instance, an accelerometer, a gyroscope, a tilt sensor, a force sensor, a magnetometer, an optical sensor, a proximity sensor, a biometric sensor, etc., or any combination thereof. An output device may use the same type of interface port as an input device. For example, a Universal Serial Bus (USB) port may be used to provide an input device and an output device.
[0096] In some embodiments, the power source 708 is structured as a battery or battery pack. Other types of power sources, such as an external power source (e.g., an electricity outlet), photovoltaic device, or power cell, may be used. The power source 708 may further include power circuitry for delivering power from the power source 708 itself, and / or an external power source, to the various parts of the UE 700 via input circuitry or an interface such as an electrical power cable. Delivering power may be, for example, for charging of the power source 708. Power circuitry may perform any formatting, converting, or other modification to the power from the power source 708 to make the power suitable for the respective components of the UE 700 to which power is supplied.
[0097] The memory 710 may be or be configured to include memory such as random access memory (RAM), read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable readonly memory (EEPROM), magnetic disks, optical disks, hard disks, removable cartridges, flash drives, and so forth. In one example, the memory 710 includes one or more application programs 714, such as an operating system, web browser application, a widget, gadget engine, or other application, and corresponding data 716. The memory 710 may store, for use by the UE 700, any of a variety of various operating systems or combinations of operating systems.
[0098] The memory 710 may be configured to include a number of physical drive units, such as redundant array of independent disks (RAID), flash memory, USB flash drive, external hard disk drive, thumb drive, pen drive, key drive, high-density digital versatile disc (HD-DVD) optical disc drive, internal hard disk drive, Blu-Ray optical disc drive, holographic digital data storage (HDDS) optical disc drive, external mini-dual in-line memory module (DIMM), synchronous dynamic random access memory (SDRAM), external micro-DIMM SDRAM, smartcard memory such as tamper resistant module in the form of a universal integrated circuit card (UICC) including one or more subscriber identity modules (SIMs), such as a Universal Subscriber Identity Module (USIM) and / or IP Multimedia Services Identity Module (ISIM), other memory, or any combination thereof. The UICC may for example be an embedded UICC (eUICC), integrated UICC (iUICC) or a removable UICC commonly known as ‘ SIM card. ’ The memory 710 may allow the UE 700 to access instructions, application programs and the like, stored on transitory or non-transitory memory media, to off-load data, or to upload data. An article of manufacture, such as one utilizing a communication system may be tangibly embodied as or in the memory 710, which may be or comprise a device-readable storage medium.
[0099] The processing circuitry 702 may be configured to communicate with an access network or other network using the communication interface 712. The communication interface 712 may comprise one or more communication subsystems and may include or be communicatively coupled to an antenna 722. The communication interface 712 may include one or more transceivers used to communicate, such as by communicating with one or more remote transceivers of another device capable of wireless communication (e.g., another UE or a network node in an access network). Each transceiver may include a transmitter 718 and / or a receiver 720 appropriate to provide network communications (e.g., optical, electrical, frequency allocations, and so forth). Moreover, the transmitter 718 and receiver 720 may be coupled to one or more antennas (e.g., antenna 722) and may share circuit components, software or firmware, or alternatively be implemented separately.
[0100] In the illustrated embodiment, communication functions of the communication interface 712 may include cellular communication, Wi-Fi communication, LPWAN communication, data communication, voice communication, multimedia communication, short- range communications such as Bluetooth, near-field communication, location-based communication such as the use of the global positioning system (GPS) to determine a location, another like communication function, or any combination thereof. Communications may be implemented in according to one or more communication protocols and / or standards, such as IEEE 802.11, Code Division Multiplexing Access (CDMA), Wideband Code Division Multiple Access (WCDMA), GSM, LTE, New Radio (NR), UMTS, WiMax, Ethernet, transmission control protocol / internet protocol (TCP / IP), synchronous optical networking (SONET), Asynchronous Transfer Mode (ATM), Quick UDP Internet Connections (QUIC), Hypertext Transfer Protocol (HTTP), and so forth.
[0101] Regardless of the type of sensor, a UE may provide an output of data captured by its sensors, through its communication interface 712, via a wireless connection to a network node. Data captured by sensors of a UE can be communicated through a wireless connection to a network node via another UE. The output may be periodic (e.g., once every 15 minutes if it reports the sensed temperature), random (e g., to even out the load from reporting from several sensors), in response to a triggering event (e.g., when moisture is detected an alert is sent), in response to a request (e.g., a user initiated request), or a continuous stream (e.g., a live video feed of a patient).
[0102] As another example, a UE comprises an actuator, a motor, or a switch, related to a communication interface configured to receive wireless input from a network node via a wireless connection. In response to the received wireless input the states of the actuator, the motor, or the switch may change. For example, the UE may comprise a motor that adjusts the control surfaces or rotors of a drone in flight according to the received input or to a robotic arm performing a medical procedure according to the received input.
[0103] A UE, when in the form of an Internet of Things (loT) device, may be a device for use in one or more application domains, these domains comprising, but not limited to, city wearable technology, extended industrial application and healthcare. Non-limiting examples of such an loT device are a device which is or which is embedded in: a connected refrigerator or freezer, a TV, a connected lighting device, an electricity meter, a robot vacuum cleaner, a voice controlled smart speaker, a home security camera, a motion detector, a thermostat, a smoke detector, a door / window sensor, a flood / moisture sensor, an electrical door lock, a connected doorbell, an air conditioning system like a heat pump, an autonomous vehicle, a surveillance system, a weather monitoring device, a vehicle parking monitoring device, an electric vehicle chargingstation, a smart watch, a fitness tracker, a head-mounted display for Augmented Reality (AR) or Virtual Reality (VR), a wearable for tactile augmentation or sensory enhancement, a water sprinkler, an animal- or item-tracking device, a sensor for monitoring a plant or animal, an industrial robot, an Unmanned Aerial Vehicle (UAV), and any kind of medical device, like a heart rate monitor or a remote controlled surgical robot. A UE in the form of an loT device comprises circuitry and / or software in dependence of the intended application of the loT device in addition to other components as described in relation to the UE 700 shown in Figure 7.
[0104] As yet another specific example, in an loT scenario, a UE may represent a machine or other device that performs monitoring and / or measurements, and transmits the results of such monitoring and / or measurements to another UE and / or a network node. The UE may in this case be an M2M device, which may in a 3 GPP context be referred to as an MTC device. As one particular example, the UE may implement the 3GPP NB-IoT standard. In other scenarios, a UE may represent a vehicle, such as a car, a bus, a truck, a ship and an airplane, or other equipment that is capable of monitoring and / or reporting on its operational status or other functions associated with its operation.
[0105] In practice, any number of UEs may be used together with respect to a single use case. For example, a first UE might be or be integrated in a drone and provide the drone’s speed information (obtained through a speed sensor) to a second UE that is a remote controller operating the drone. When the user makes changes from the remote controller, the first UE may adjust the throttle on the drone (e.g., by controlling an actuator) to increase or decrease the drone’s speed. The first and / or the second UE can also include more than one of the functionalities described above. For example, a UE might comprise the sensor and the actuator, and handle communication of data for both the speed sensor and the actuators.Network Node per Some Embodiments
[0106] Figure 8 illustrates a network node 800 per some embodiments. As used herein, network node refers to equipment capable, configured, arranged and / or operable to communicate directly or indirectly with a UE and / or with other network nodes or equipment, in a telecommunication network. Examples of network nodes include, but are not limited to, access points (APs) (e.g., radio access points), base stations (BSs) (e.g., radio base stations, Node Bs, evolved Node Bs (eNBs) and NR NodeBs (gNBs)), O-RAN nodes or components of an O-RAN node (e.g., radio base stations, Node Bs, evolved Node Bs (eNBs) and NR NodeBs (gNBs)).
[0107] Base stations may be categorized based on the amount of coverage they provide (or, stated differently, their transmit power level) and so, depending on the provided amount of coverage, may be referred to as femto base stations, pico base stations, micro base stations, or macro base stations. A base station may be a relay node or a relay donor node controlling arelay. A network node may also include one or more (or all) parts of a distributed radio base station such as centralized digital units, distributed units (e.g., in an O-RAN access node) and / or remote radio units (RRUs), sometimes referred to as Remote Radio Heads (RRHs). Such remote radio units may or may not be integrated with an antenna as an antenna integrated radio. Parts of a distributed radio base station may also be referred to as nodes in a distributed antenna system (DAS)
[0108] Other examples of network nodes include multiple transmission point (multi-TRP) 5G access nodes, multi -standard radio (MSR) equipment such as MSR BSs, network controllers such as radio network controllers (RNCs) or base station controllers (BSCs), base transceiver stations (BTSs), transmission points, transmission nodes, multi-cell / multicast coordination entities (MCEs), Operation and Maintenance (O&M) nodes, Operations Support System (OSS) nodes, Self-Organizing Network (SON) nodes, positioning nodes (e.g., Evolved Serving Mobile Location Centers (E-SMLCs)), and / or Minimization of Drive Tests (MDTs).
[0109] The network node 800 includes a processing circuitry 802, a memory 804, a communication interface 806, and a power source 808. The network node 800 may be composed of multiple physically separate components (e.g., aNodeB component and a RNC component, or a BTS component and a BSC component, etc.), which may each have their own respective components. In certain scenarios in which the network node 800 comprises multiple separate components (e.g., BTS and BSC components), one or more of the separate components may be shared among several network nodes. For example, a single RNC may control multiple NodeBs. In such a scenario, each unique NodeB and RNC pair, may in some instances be considered a single separate network node. In some embodiments, the network node 800 may be configured to support multiple radio access technologies (RATs). In such embodiments, some components may be duplicated (e.g., separate memory 804 for different RATs) and some components may be reused (e.g., a same antenna 810 may be shared by different RATs). The network node 800 may also include multiple sets of the various illustrated components for different wireless technologies integrated into network node 800, for example GSM, WCDMA, LTE, NR, WiFi, Zigbee, Z-wave, LoRaWAN, Radio Frequency Identification (RFID) or Bluetooth wireless technologies. These wireless technologies may be integrated into the same or different chip or set of chips and other components within network node 800.
[0110] The processing circuitry 802 may comprise a combination of one or more of a microprocessor, controller, microcontroller, central processing unit, digital signal processor, application-specific integrated circuit, field programmable gate array, or any other suitable computing device, resource, or combination of hardware, software and / or encoded logicoperable to provide, either alone or in conjunction with other network node 800 components, such as the memory 804, to provide network node 800 functionality.
[0111] In some embodiments, the processing circuitry 802 includes a system on a chip (SOC). In some embodiments, the processing circuitry 802 includes one or more of radio frequency (RF) transceiver circuitry 812 and baseband processing circuitry 814. In some embodiments, the radio frequency (RF) transceiver circuitry 812 and the baseband processing circuitry 814 may be on separate chips (or sets of chips), boards, or units, such as radio units and digital units. In alternative embodiments, part or all of RF transceiver circuitry 812 and baseband processing circuitry 814 may be on the same chip or set of chips, boards, or units.
[0112] The memory 804 may comprise any form of volatile or non-volatile computer- readable memory including, without limitation, persistent storage, solid-state memory, remotely mounted memory, magnetic media, optical media, random access memory (RAM), read-only memory (ROM), mass storage media (for example, a hard disk), removable storage media (for example, a flash drive, a Compact Disk (CD) or a Digital Video Disk (DVD)), and / or any other volatile or non-volatile, non-transitory device-readable and / or computer-executable memory devices that store information, data, and / or instructions that may be used by the processing circuitry 802. The memory 804 may store any suitable instructions, data, or information, including a computer program, software, an application including one or more of logic, rules, code, tables, and / or other instructions capable of being executed by the processing circuitry 802 and utilized by the network node 800. The memory 804 may be used to store any calculations made by the processing circuitry 802 and / or any data received via the communication interface 806. In some embodiments, the processing circuitry 802 and memory 804 is integrated.
[0113] The communication interface 806 is used in wired or wireless communication of signaling and / or data between a network node, access network, and / or UE. As illustrated, the communication interface 806 comprises port(s) / terminal(s) 816 to send and receive data, for example to and from a network over a wired connection. The communication interface 806 also includes radio front-end circuitry 818 that may be coupled to, or in certain embodiments a part of, the antenna 810. Radio front-end circuitry 818 comprises filters 820 and amplifiers 822. The radio front-end circuitry 818 may be connected to an antenna 810 and processing circuitry 802. The radio front-end circuitry may be configured to condition signals communicated between antenna 810 and processing circuitry 802. The radio front-end circuitry 818 may receive digital data that is to be sent out to other network nodes or UEs via a wireless connection. The radio front-end circuitry 818 may convert the digital data into a radio signal having the appropriate channel and bandwidth parameters using a combination of filters 820 and / or amplifiers 822. The radio signal may then be transmitted via the antenna 810. Similarly, when receiving data, theantenna 810 may collect radio signals which are then converted into digital data by the radio front-end circuitry 818. The digital data may be passed to the processing circuitry 802. In other embodiments, the communication interface may comprise different components and / or different combinations of components.
[0114] In certain alternative embodiments, the network node 800 does not include separate radio front-end circuitry 818, instead, the processing circuitry 802 includes radio front-end circuitry and is connected to the antenna 810. Similarly, in some embodiments, all or some of the RF transceiver circuitry 812 is part of the communication interface 806. In still other embodiments, the communication interface 806 includes one or more ports or terminals 816, the radio front-end circuitry 818, and the RF transceiver circuitry 812, as part of a radio unit (not shown), and the communication interface 806 communicates with the baseband processing circuitry 814, which is part of a digital unit (not shown).
[0115] The antenna 810 may include one or more antennas, or antenna arrays, configured to send and / or receive wireless signals. The antenna 810 may be coupled to the radio front-end circuitry 818 and may be any type of antenna capable of transmitting and receiving data and / or signals wirelessly. In certain embodiments, the antenna 810 is separate from the network node 800 and connectable to the network node 800 through an interface or port.
[0116] The antenna 810, communication interface 806, and / or the processing circuitry 802 may be configured to perform any receiving operations and / or certain obtaining operations described herein as being performed by the network node. Any information, data and / or signals may be received from a UE, another network node and / or any other network equipment.Similarly, the antenna 810, the communication interface 806, and / or the processing circuitry 802 may be configured to perform any transmitting operations described herein as being performed by the network node. Any information, data and / or signals may be transmitted to a UE, another network node and / or any other network equipment.
[0117] The power source 808 provides power to the various components of network node 800 in a form suitable for the respective components (e.g., at a voltage and current level needed for each respective component). The power source 808 may further comprise, or be coupled to, power management circuitry to supply the components of the network node 800 with power for performing the functionality described herein. For example, the network node 800 may be connectable to an external power source (e g., the power grid, an electricity outlet) via an input circuitry or interface such as an electrical cable, whereby the external power source supplies power to power circuitry of the power source 808. As a further example, the power source 808 may comprise a source of power in the form of a battery or battery pack which is connected to,or integrated in, power circuitry. The battery may provide backup power should the external power source fail.
[0118] Embodiments of the network node 800 may include additional components beyond those shown in Figure 8 for providing certain aspects of the network node’s functionality, including any of the functionality described herein and / or any functionality necessary to support the subject matter described herein. For example, the network node 800 may include user interface equipment to allow input of information into the network node 800 and to allow output of information from the network node 800. This may allow a user to perform diagnostic, maintenance, repair, and other administrative functions for the network node 800. In some embodiments, the network node 800 may implement perform implement orchestrator 555.Host per Some Embodiments
[0119] Figure 9 is a block diagram of a host 900, which may be an embodiment of the host 616 of Figure 6, per various aspects described herein. As used herein, the host 900 may be or comprise various combinations hardware and / or software, including a standalone server, a blade server, a cloud-implemented server, a distributed server, a virtual machine, container, or processing resources in a server farm. The host 900 may provide one or more services to one or more UEs. In some embodiments, the host 900 may implement orchestrator 555.
[0120] The host 900 includes processing circuitry 902 that is operatively coupled via a bus 904 to an input / output interface 906, a network interface 908, a power source 910, and a memory 912. Other components may be included in other embodiments. Features of these components may be substantially similar to those described with respect to the devices of previous figures, such as Figures 7 and 8, such that the descriptions thereof are generally applicable to the corresponding components of host 900.
[0121] The memory 912 may include one or more computer programs including one or more host application programs 914 and data 916, which may include user data, e.g., data generated by a UE for the host 900 or data generated by the host 900 for a UE. Embodiments of the host 900 may utilize only a subset or all of the components shown. The host application programs 914 may be implemented in a container-based architecture and may provide support for video codecs (e.g., Versatile Video Coding (VVC), High Efficiency Video Coding (HEVC), Advanced Video Coding (AVC), Moving Picture Experts Group (MPEG), VP9) and audio codecs (e.g., Free Lossless Audio Codec (FLAC), Advanced Audio Coding (AAC), MPEG, G.711), including transcoding for multiple different classes, types, or implementations of UEs (e.g., handsets, desktop computers, wearable display systems, heads-up display systems). The host application programs 914 may also provide for user authentication and licensing checks and may periodically report health, routes, and content availability to a central node, such as a device inor on the edge of a core network. Accordingly, the host 900 may select and / or indicate a different host for over-the-top services for a UE. The host application programs 914 may support various protocols, such as the HTTP Live Streaming (HLS) protocol, Real-Time Messaging Protocol (RTMP), Real-Time Streaming Protocol (RTSP), Dynamic Adaptive Streaming over HTTP (MPEG-DASH), etc.Virtualization Environment per Some Embodiments
[0122] Figure 10 is a block diagram illustrating a virtualization environment 1000 in which functions implemented by some embodiments may be virtualized. In the present context, virtualizing means creating virtual versions of apparatuses or devices which may include virtualizing hardware platforms, storage devices and networking resources. As used herein, virtualization can be applied to any device described herein, or components thereof, and relates to an implementation in which at least a portion of the functionality is implemented as one or more virtual components. Some or all of the functions described herein may be implemented as virtual components executed by one or more virtual machines (VMs) implemented in one or more virtual environments 1000 hosted by one or more of hardware nodes, such as a hardware computing device that operates as a network node, UE, core network node, or host. Further, in embodiments in which the virtual node does not require radio connectivity (e.g., a core network node or host), then the node may be entirely virtualized. In some embodiments, the virtualization environment 1000 includes components defined by the 0-RAN Alliance, such as an O-Cloud environment orchestrated by a Service Management and Orchestration Framework via an O-2 interface.
[0123] Applications 1002 (which may alternatively be called software instances, virtual appliances, network functions, virtual nodes, virtual network functions, etc.) are run in the virtualization environment Q500 to implement some of the features, functions, and / or benefits of some of the embodiments disclosed herein. In some embodiments, Applications 1002 may implement orchestrator 555.
[0124] Hardware 1004 includes processing circuitry, memory that stores software and / or instructions executable by hardware processing circuitry, and / or other hardware devices as described herein, such as a network interface, input / output interface, and so forth. Software may be executed by the processing circuitry to instantiate one or more virtualization layers 1006 (also referred to as hypervisors or virtual machine monitors (VMMs)), provide VMs 1008A and 1008B (one or more of which may be generally referred to as VMs 1008), and / or perform any of the functions, features and / or benefits described in relation with some embodiments described herein. The virtualization layer 1006 may present a virtual operating platform that appears like networking hardware to the VMs 1008.
[0125] The VMs 1008 comprise virtual processing, virtual memory, virtual networking or interface and virtual storage, and may be run by a corresponding virtualization layer 1006. Different embodiments of the instance of a virtual appliance 1002 may be implemented on one or more of VMs 1008, and the implementations may be made in different ways. Virtualization of the hardware is in some contexts referred to as network function virtualization (NFV). NFV may be used to consolidate many network equipment types onto industry standard high volume server hardware, physical switches, and physical storage, which can be located in data centers, and customer premise equipment.
[0126] In the context of NFV, a VM 1008 may be a software implementation of a physical machine that runs programs as if they were executing on a physical, non-virtualized machine. Each of the VMs 1008, and that part of hardware 1004 that executes that VM, be it hardware dedicated to that VM and / or hardware shared by that VM with others of the VMs, forms separate virtual network elements. Still in the context of NFV, a virtual network function is responsible for handling specific network functions that run in one or more VMs 1008 on top of the hardware 1004 and corresponds to the application 1002.
[0127] Hardware 1004 may be implemented in a standalone network node with generic or specific components. Hardware 1004 may implement some functions via virtualization.Alternatively, hardware 1004 may be part of a larger cluster of hardware (e.g., such as in a data center or CPE) where many hardware nodes work together and are managed via management and orchestration 1010, which, among others, oversees lifecycle management of applications 1002. In some embodiments, hardware 1004 is coupled to one or more radio units that each include one or more transmitters and one or more receivers that may be coupled to one or more antennas. Radio units may communicate directly with other hardware nodes via one or more appropriate network interfaces and may be used in combination with the virtual components to provide a virtual node with radio capabilities, such as a radio access node or a base station. In some embodiments, some signaling can be provided with the use of a control system 1012 which may alternatively be used for communication between hardware nodes and radio units.Communication among host, network node, and UE per Some Embodiments
[0128] Figure 11 illustrates a communication diagram of a host 1102 communicating via a network node 1104 with a UE 1106 over a partially wireless per some embodiments. Example implementations, in accordance with various embodiments, of the UE (such as a UE 612A of Figure 6 and / or UE 700 of Figure 7), network node (such as a network node 610 of Figure 6 and / or network node 800 of Figure 8), and host (such as host 616 of Figure 6 and / or host 900 of Figure 9) discussed in the preceding paragraphs will now be described with reference to Figure 11. Either host 1102 or network node 1104 may implement orchestrator 555. In someembodiments, each of host 1102 or network node 1104 may perform a portion of the operations performed by orchestrator 555, and the two entities together perform the operations described herein by orchestrator 555.
[0129] Like host 900, embodiments of host 1102 include hardware, such as a communication interface, processing circuitry, and memory. The host 1102 also includes software, which is stored in or accessible by the host 1102 and executable by the processing circuitry. The software includes a host application that may be operable to provide a service to a remote user, such as the UE 1106 connecting via an over-the-top (OTT) connection 1150 extending between the UE 1106 and host 1102 In providing the service to the remote user, a host application may provide user data which is transmitted using the OTT connection 1150.
[0130] The network node 1104 includes hardware enabling it to communicate with the host 1102 and UE 1106. The connection 1160 may be direct or pass through a core network (like core network 606 of Figure 6) and / or one or more other intermediate networks, such as one or more public, private, or hosted networks. For example, an intermediate network may be a backbone network or the Internet.
[0131] The UE 1106 includes hardware and software, which is stored in or accessible by UE 1106 and executable by the UE’s processing circuitry. The software includes a client application, such as a web browser or operator-specific “app” that may be operable to provide a service to a human or non-human user via UE 1106 with the support of the host 1102. In the host 1102, an executing host application may communicate with the executing client application via the OTT connection 1150 terminating at the UE 1106 and host 1102. In providing the service to the user, the UE's client application may receive request data from the host's host application and provide user data in response to the request data. The OTT connection 1150 may transfer both the request data and the user data. The UE's client application may interact with the user to generate the user data that it provides to the host application through the OTT connection 1150.
[0132] The OTT connection 1150 may extend via a connection 1160 between the host 1102 and the network node 1104 and via a wireless connection 1170 between the network node 1104 and the UE 1106 to provide the connection between the host 1102 and the UE 1106. The connection 1160 and wireless connection 1170, over which the OTT connection 1150 may be provided, have been drawn abstractly to illustrate the communication between the host 1102 and the UE 1106 via the network node 1104, without explicit reference to any intermediary devices and the precise routing of messages via these devices.
[0133] As an example of transmitting data via the OTT connection 1150, in step 1108, the host 1102 provides user data, which may be performed by executing a host application. In some embodiments, the user data is associated with a particular human user interacting with the UE1106. In other embodiments, the user data is associated with a UE 1106 that shares data with the host 1102 without explicit human interaction. In step 1110, the host 1102 initiates a transmission carrying the user data towards the UE 1106. The host 1102 may initiate the transmission responsive to a request transmitted by the UE 1106. The request may be caused by human interaction with the UE 1106 or by operation of the client application executing on the UE 1106. The transmission may pass via the network node 1104, in accordance with the teachings of the embodiments described throughout this disclosure. Accordingly, in step 1112, the network node 1104 transmits to the UE 1106 the user data that was carried in the transmission that the host 1102 initiated, in accordance with the teachings of the embodiments described throughout this disclosure. In step 1114, the UE 1106 receives the user data carried in the transmission, which may be performed by a client application executed on the UE 1106 associated with the host application executed by the host 1102.
[0134] In some examples, the UE 1106 executes a client application which provides user data to the host 1102. The user data may be provided in reaction or response to the data received from the host 1102. Accordingly, in step 1116, the UE 1106 may provide user data, which may be performed by executing the client application. In providing the user data, the client application may further consider user input received from the user via an input / output interface of the UE 1106. Regardless of the specific manner in which the user data was provided, the UE 1106 initiates, in step 1118, transmission of the user data towards the host 1102 via the network node 1104. In step 1120, in accordance with the teachings of the embodiments described throughout this disclosure, the network node 1104 receives user data from the UE 1106 and initiates transmission of the received user data towards the host 1102. In step 1122, the host 1102 receives the user data carried in the transmission initiated by the UE 1106.
[0135] In an example scenario, factory status information may be collected and analyzed by the host 1102. As another example, the host 1102 may process audio and video data which may have been retrieved from a UE for use in creating maps. As another example, the host 1102 may collect and analyze real-time data to assist in controlling vehicle congestion (e.g., controlling traffic lights). As another example, the host 1102 may store surveillance video uploaded by a UE. As another example, the host 1102 may store or control access to media content such as video, audio, VR or AR which it can broadcast, multicast or unicast to UEs. As other examples, the host 1102 may be used for energy pricing, remote control of non-time critical electrical load to balance power generation needs, location services, presentation services (such as compiling diagrams etc. from data collected from remote devices), or any other function of collecting, retrieving, storing, analyzing and / or transmitting data.
[0136] In some examples, a measurement procedure may be provided for the purpose of monitoring data rate, latency and other factors on which the one or more embodiments improve. There may further be an optional network functionality for reconfiguring the OTT connection 1150 between the host 1102 and UE 1106, in response to variations in the measurement results. The measurement procedure and / or the network functionality for reconfiguring the OTT connection may be implemented in software and hardware of the host 1102 and / or UE 1106. In some embodiments, sensors (not shown) may be deployed in or in association with other devices through which the OTT connection 1150 passes; the sensors may participate in the measurement procedure by supplying values of the monitored quantities exemplified above, or supplying values of other physical quantities from which software may compute or estimate the monitored quantities. The reconfiguring of the OTT connection 1150 may include message format, retransmission settings, preferred routing etc.; the reconfiguring need not directly alter the operation of the network node 1104. Such procedures and functionalities may be known and practiced in the art. In certain embodiments, measurements may involve proprietary UE signaling that facilitates measurements of throughput, propagation times, latency and the like, by the host 1102. The measurements may be implemented in that software causes messages to be transmitted, in particular empty or ‘dummy’ messages, using the OTT connection 1150 while monitoring propagation times, errors, etc.
[0137] Although the computing devices described herein (e g., UEs, network nodes, hosts) may include the illustrated combination of hardware components, other embodiments may comprise computing devices with different combinations of components. It is to be understood that these computing devices may comprise any suitable combination of hardware and / or software needed to perform the tasks, features, functions and methods disclosed herein. Determining, calculating, obtaining or similar operations described herein may be performed by processing circuitry, which may process information by, for example, converting the obtained information into other information, comparing the obtained information or converted information to information stored in the network node, and / or performing one or more operations based on the obtained information or converted information, and as a result of said processing making a determination. Moreover, while components are depicted as single boxes located within a larger box, or nested within multiple boxes, in practice, computing devices may comprise multiple different physical components that make up a single illustrated component, and functionality may be partitioned between separate components. For example, a communication interface may be configured to include any of the components described herein, and / or the functionality of the components may be partitioned between the processing circuitry and the communication interface. In another example, non-computationally intensive functionsof any of such components may be implemented in software or firmware and computationally intensive functions may be implemented in hardware.
[0138] In certain embodiments, some or all of the functionality described herein may be provided by processing circuitry executing instructions stored on in memory, which in certain embodiments may be a computer program product in the form of a non-transitory computer- readable storage medium. In alternative embodiments, some or all of the functionality may be provided by the processing circuitry without executing instructions stored on a separate or discrete device-readable storage medium, such as in a hard-wired manner. In any of those particular embodiments, whether executing instructions stored on a non-transitory computer- readable storage medium or not, the processing circuitry can be configured to perform the described functionality. The benefits provided by such functionality are not limited to the processing circuitry alone or to other components of the computing device, but are enjoyed by the computing device as a whole, and / or by end users and a wireless network generally.Terms
[0139] References in the specification to “one embodiment,” “an embodiment,” “an example embodiment,” and so forth, indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may not necessarily include the particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with an embodiment, it is submitted that it is within the knowledge of one skilled in the art to affect such feature, structure, or characteristic in connection with other embodiments whether or not explicitly described.
[0140] The description and claims may use the terms “coupled” and “connected,” along with their derivatives. These terms are not intended as synonyms for each other. “Coupled” is used to indicate that two or more elements, which may or may not be in direct physical or electrical contact with each other, co-operate or interact with each other. “Connected” is used to indicate the establishment of wireless or wireline communication between two or more elements that are coupled with each other. A “set,” as used herein can refer to any whole number of items including one item.
[0141] An electronic device (such as the electronic device 502) stores and transmits (internally and / or with other electronic devices over a network) code (which is composed of software instructions and which is sometimes referred to as a computer program code or a computer program) and / or data using machine-readable media (also called computer-readable media), such as machine-readable storage media (e.g., magnetic disks, optical disks, solid state drives, read only memory (ROM), flash memory devices, phase change memory) and machine-readable transmission media (also called a carrier) (e.g., electrical, optical, radio, acoustical, or other form of propagated signals - such as carrier waves, infrared signals). Thus, an electronic device (e.g., a computer) includes hardware and software, such as a set of one or more processors (e.g., of which a processor is a microprocessor, controller, microcontroller, central processing unit, digital signal processor, application specific integrated circuit (ASIC), field programmable gate array (FPGA), other electronic circuitry, or a combination of one or more of the preceding) coupled to one or more machine-readable storage media to store code for execution on the set of processors and / or to store data. For instance, an electronic device may include non-volatile memory containing the code since the non-volatile memory can persist code / data even when the electronic device is turned off (when power is removed). When the electronic device is turned on, that part of the code that is to be executed by the processor(s) of the electronic device is typically copied from the slower non-volatile memory into volatile memory (e.g., dynamic random-access memory (DRAM), static random-access memory (SRAM)) of the electronic device. Typical electronic devices also include a set of one or more physical network interface(s) (NI(s)) to establish network connections (to transmit and / or receive code and / or data using propagating signals) with other electronic devices. For example, the set of physical NIs (or the set of physical NI(s) in combination with the set of processors executing code) may perform any formatting, coding, or translating to allow the electronic device to send and receive data whether over a wired and / or a wireless connection. In some embodiments, a physical NI may comprise radio circuitry capable of (1) receiving data from other electronic devices over a wireless connection and / or (2) sending data out to other devices through a wireless connection. This radio circuitry may include transmitter(s), receiver(s), and / or transceiver(s) suitable for radio frequency communication. The radio circuitry may convert digital data into a radio signal having the proper parameters (e.g., frequency, timing, channel, bandwidth, and so forth). The radio signal may then be transmitted through antennas to the appropriate recipient(s). In some embodiments, the set of physical NI(s) may comprise network interface controller(s) (NICs), also known as a network interface card, network adapter, or local area network (LAN) adapter. The NIC(s) may facilitate in connecting the electronic device to other electronic devices allowing them to communicate with wire through plugging in a cable to a physical port connected to an NIC. One or more parts of an embodiment of the invention may be implemented using different combinations of software, firmware, and / or hardware.
[0142] The terms “module,” “logic,” and “unit” used in the present application, may refer to a circuit for performing the function specified. In some embodiments, the function specifiedmay be performed by a circuit in combination with software such as by software executed by a general -purpose processor.
[0143] Any appropriate steps, methods, features, functions, or benefits disclosed herein may be performed through one or more functional units or modules of one or more virtual apparatuses. Each virtual apparatus may comprise a number of these functional units. These functional units may be implemented via processing circuitry, which may include one or more microprocessor or microcontrollers, as well as other digital hardware, which may include digital signal processors (DSPs), special-purpose digital logic, and the like. The processing circuitry may be configured to execute program code stored in memory, which may include one or several types of memory such as read-only memory (ROM), random-access memory (RAM), cache memory, flash memory devices, optical storage devices, etc. Program code stored in memory includes program instructions for executing one or more telecommunications and / or data communications protocols as well as instructions for carrying out one or more of the techniques described herein. In some implementations, the processing circuitry may be used to cause the respective functional unit to perform corresponding functions according one or more embodiments of the present disclosure.
[0144] The term unit may have conventional meaning in the field of electronics, electrical devices, and / or electronic devices and may include, for example, electrical and / or electronic circuitry, devices, modules, processors, memories, logic solid state and / or discrete devices, computer programs or instructions for carrying out respective tasks, procedures, computations, outputs, and / or displaying functions, and so on, as such as those that are described herein.
Claims
CLAIMSWhat is claimed is:
1. A method to provide timely microservice execution in a cloud system, the method comprising: processing (402) data received at a first instance of a first microservice based on a first service request, the first microservice being within a microservice topology that includes a plurality of microservices to provide a service; providing (406) a partial output result from processing the data at the first instance of the first microservice for the first service request and a quality measure of the partial output result based on a first metric for the first service request to a first instance of a second microservice within the microservice topology to meet a deadline for the first microservice; providing (408) a full output result from processing the data at the first instance of the first microservice for the first service request to a second instance of the second microservice within the microservice topology upon completion of processing the data at the first instance of the first microservice for the service; and determining (410) an output of the second microservice for the service based on a first output from the first instance of the second microservice for the service and a second output from the second instance of the second microservice for the service.
2. The method of claim 1, further comprising: upon receiving data based on a second service request and determining that the first instance of the first microservice has not completed data processing for the first service request, providing (404) the data received based on the second service request to a second instance of the first microservice for processing.
3. The method of claim 1 or 2, wherein the second instance of the second microservice within the microservice topology is activated upon a determination that providing the full output result from processing the data at the first microservice for the first service request is to miss the deadline for the first microservice.
4. The method of any of claims 1 to 3, wherein the second instance of the second microservice within the microservice topology is initiated along with the first instance of the second microservice.
5. The method of any of claims 1 to 4, wherein the quality measure of the partial output indicates closeness of the partial output result and full output result.
6. The method of any of claims 1 to 5, wherein determination of the output of the second microservice for the service comprises comparing quality measures of the first output and second output from the first and second instances of the second microservice based on the first metric.
7. The method of any of claims 1 to 6, wherein the first output from the first instance of the second microservice for the service is selected as the output of the second microservice for the service, and the second output from the second instance of the second microservice for the service is retained to indicate quality of the output of the second microservice for the service.
8. The method of any of claims 1 to 7, wherein the first output from the first instance of the second microservice for the service is selected as the output of the second microservice for the service based on a second metric including one or more of timing and quality requirements for the service.
9. An electronic device (502), comprising: a processor (542) and non-transitory machine-readable storage medium (549) that provides instructions that, when executed by the processor, are capable of causing the processor (542) to perform: processing (402) data received at a first instance of a first microservice based on a first service request, the first microservice being within a microservice topology that includes a plurality of microservices to provide a service; providing (406) a partial output result from processing the data at the first instance of the first microservice for the first service request and a quality measure of the partial output result based on a first metric for the first service request to a first instance of a second microservice within the microservice topology to meet a deadline for the first microservice; providing (408) a full output result from processing the data at the first instance of the first microservice for the first service request to a second instance of the second microservice within the microservice topology upon completion of processing the data at the first instance of the first microservice for the service; and determining (410) an output of the second microservice for the service based on a first output from the first instance of the second microservice for theservice and a second output from the second instance of the second microservice for the service.
10. The electronic device of claim 9, further comprising: upon receiving data based on a second service request and determining that the first instance of the first microservice has not completed data processing for the first service request, providing (404) the data received based on the second service request to a second instance of the first microservice for processing.
11. The electronic device of claim 9 or 10, wherein the second instance of the second microservice within the microservice topology is activated upon a determination that providing the full output result from processing the data at the first microservice for the first service request is to miss the deadline for the first microservice.
12. The electronic device of any of claims 9 to 11, wherein the second instance of the second microservice within the microservice topology is initiated along with the first instance of the second microservice.
13. The electronic device of any of claims 9 to 12, wherein the quality measure of the partial output indicates closeness of the partial output result and full output result.
14. The electronic device of any of claims 9 to 13, wherein determination of the output of the second microservice for the service comprises comparing quality measures of the first output and second output from the first and second instances of the second microservice based on the first metric.
15. The electronic device of any of claims 9 to 14, wherein the first output from the first instance of the second microservice for the service is selected as the output of the second microservice for the service, and the second output from the second instance of the second microservice for the service is retained to indicate quality of the output of the second microservice for the service.
16. The electronic device of any of claims 9 to 15, wherein the first output from the first instance of the second microservice for the service is selected as the output of the second microservice for the service based on a second metric including one or more of timing and quality requirements for the service.
17. A machine-readable storage medium (549) that provides instructions that, when executed by a processor, are capable of causing an electronic device to perform any of methods 1 to 8.
