Method and apparatus for application processing in a modem
By using cloud computing resources to realize the abstract model and data stream segments of the modem, the problems of flexibility and complexity in modem design are solved, simplifying testing and performance assurance, and improving the flexibility and reliability of the modem.
Patent Information
- Application Number
- CN202180074788.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-12-03
- Filing Date
- 2021-05-24
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2041-05-24
AI Technical Summary
Existing modem designs struggle to provide flexible service-oriented support when faced with the complexity and flexibility requirements of 5G and higher-generation wireless technologies. Testing and performance assurance are complex, and control overhead and state space management are difficult.
An abstract model of the modem is implemented using cloud computing resources. By generating data stream segments and service resource units, the design and verification of the modem are simplified. Formal verification and energy management are performed using cloud computing resources, and control and data movement are reduced.
It simplifies modem testing and performance assurance, improves modem flexibility and reliability, reduces control overhead, and simplifies the design and verification process.
Smart Images

Figure CN116458265B_ABST
Abstract
Description
[0001] Priority claims and cross-references
[0002] This application claims the benefit of U.S. Provisional Application 63 / 121,154, filed December 3, 2020, entitled “A Domain Specific Language and Architecture for 5G Modem Implementation,” which is hereby incorporated herein by reference in its entirety.
[0003] This application also relates to HW6000283PCT01, which was filed at the same time as the invention entitled "Methods and Apparatus for Designing Modem Architectures". Technical Field
[0004] The present invention generally relates to methods and apparatus for digital communication, and in certain embodiments, to methods and apparatus for application processing in a modem. Background Technology
[0005] Fifth-generation (5G) wireless technology requires a large number of antennas and complex signal processing to improve bandwidth and spectral efficiency. New service categories such as ultra-reliable low-latency communications (URLLC) will see new applications, including autonomous vehicles, robotic factories, and remote surgery. The Internet of Things (IoT) is driving a surge in the number of connected devices. The demand for sixth-generation (6G) and higher forms of wireless technology will further increase.
[0006] To meet these challenges, a new approach to computer design is needed. System architects can no longer rely solely on increasing processing core speed and adding more chips to satisfy ever-growing demands. Therefore, methods and devices for designing modem architectures are required. Summary of the Invention
[0007] The capabilities and characteristics of a modem are specified based on the description of the application to be executed on the modem. The specification of the modem using a single application simplifies the testing and performance assurance of the modem by enabling verification of expected performance based on that single application.
[0008] According to a first aspect, a method implemented by a cloud computing resource (CCR) is provided. The method includes the CCR receiving a description of an application supported by a modem, the CCR generating a dataflow fragment (DFF) for the application, and the CCR storing the DFF in a memory.
[0009] In a first implementation of the method according to the first aspect, the method includes: the CCR receiving a description of the modem, and the CCR configuring the modem according to the description. The method also includes the CCR providing the DFF to the modem.
[0010] According to the first aspect or any of the above implementations of the first aspect, in a second implementation of the method, the description includes an intent-based description of the modem.
[0011] According to the first aspect or any of the above implementations of the first aspect, in a third implementation of the method, the DFF is contained in a DFF container.
[0012] According to the first aspect or any of the above implementations of the first aspect, in a fourth implementation of the method, the DFF includes data producer information and data consumer information.
[0013] According to the first aspect or any of the above implementations of the first aspect, in a fifth implementation of the method, the modem includes a modem implemented as a system on a chip (SoC).
[0014] According to a second aspect, a method implemented by a modem host is provided. The method includes: the modem host retrieving a DataFrame (DFF) of an application supported by the modem, the modem being controlled by the modem host; and the modem host receiving a first data packet associated with a first application. The method further includes: the modem host sending a first resource request to at least one first resource unit of the modem, the first resource request including the first data packet and the first DFF associated with the first application.
[0015] In a first implementation of the method according to the second aspect, the method includes the modem host receiving an acceptance of the first resource request.
[0016] According to the second aspect or any of the above implementations of the second aspect, in a second implementation of the method, the method includes: the modem host receiving a second data packet associated with a second application, and the modem host sending a second resource request to at least one second resource unit of the modem, the second resource request including the second data packet and a second DFF associated with the second application. The method further includes: the modem host determining to reject the second resource request; and the modem host sending a third resource request to at least one third resource unit of the modem, the third resource request including the second data packet and the second DFF associated with the second application.
[0017] According to the second aspect or any of the above implementations of the second aspect, in a third implementation of the method, the method includes: the modem host sending an empty DFF to at least one fourth resource unit that is determined by the modem host to be idle for a period of time.
[0018] According to the second aspect or any of the above implementations of the second aspect, in a fourth implementation of the method, the empty DFF includes instructions for reducing the power consumption of the at least one fourth resource unit for a duration shorter than the time period.
[0019] According to the second aspect or any of the above implementations of the second aspect, in a fifth implementation of the method, the method includes: the modem host adjusting the performance envelope of the resource unit.
[0020] According to the second aspect or any of the above implementations of the second aspect, in a sixth implementation of the method, adjusting the performance envelope includes the modem host changing the processing load on the resource unit.
[0021] According to the second aspect or any of the above implementations of the second aspect, in the seventh implementation of the method, adjusting the performance envelope includes increasing or decreasing the resource requests sent to the resource unit.
[0022] According to a third aspect, a method implemented by a controller of a resource unit is provided. The method includes: the controller receiving a first resource request comprising a first data packet and a first DataFrame (DFF) associated with a first application, the first DFF being generated by computing resources according to a description of the first application; and the controller determining, based on a DFF acceptance policy, to accept the first resource request. Based on the determination, the method includes: the controller storing the first data packet in a buffer; and the controller allocating the first DFF to at least one first processing level of the resource unit.
[0023] In a first implementation of the method according to the third aspect, the DFF acceptance strategy includes at least one of expected DFF arrival rate, expected data arrival rate, processing load of the processing level of the resource unit, or availability of the processing level of the resource unit.
[0024] According to the third aspect or any of the above implementations of the third aspect, in a second implementation of the method, the method includes: the controller receiving a second resource request and a second data packet of a second DFF associated with a second application, and the controller determining, based on the DFF acceptance policy, to reject the second resource request. Based on the determination, the method includes: the controller sending a first resource response indicating rejection of the second resource request.
[0025] According to the third aspect or any of the above implementations of the third aspect, in a third implementation of the method, the method includes: the controller receiving a third resource request for a first empty DFF, and the controller determining, based on the DFF acceptance policy, to accept the third resource request. Based on the determination, the method includes: the controller allocating the first empty DFF to at least one second processing level of the resource unit.
[0026] According to the third aspect or any of the above implementations of the third aspect, in a fourth implementation of the method, the method includes: the controller receiving a third resource request for a first empty DFF, and the controller determining, based on the DFF acceptance policy, to accept the third resource request. Based on the determination, the method includes: the controller allocating the first empty DFF to at least one third processing level of the resource unit.
[0027] According to the third aspect or any of the above implementations of the third aspect, in a fifth implementation of the method, the method includes: the controller receiving a third resource request from a first empty DFF, and the controller determining, based on the DFF acceptance policy, to reject the third resource request. Based on the determination, the method includes: the controller sending a second resource response indicating rejection of the third resource request.
[0028] An advantage of the preferred embodiment is that the capabilities and characteristics of the modem are specified based on the description of the application running on the modem. The specification of the modem using a single application enables verification of expected performance based on that single application, thereby simplifying the testing and performance assurance of the modem. Attached Figure Description
[0029] To gain a more complete understanding of the invention and its advantages, reference is now made to the following description taken in conjunction with the accompanying drawings.
[0030] Figure 1A first exemplary communication system is shown;
[0031] Figure 2 This illustrates a model of cloud-enabled exposed stream processing for a modem provided by an exemplary embodiment described herein;
[0032] Figure 3 A schematic diagram illustrating formal verification for network services provided by the exemplary embodiments described herein is shown;
[0033] Figure 4 A flowchart illustrating exemplary operations occurring in a model for verifying a network service or its application, as provided by the exemplary embodiments described herein;
[0034] Figure 5A An exemplary data flow diagram provided by the exemplary embodiments described herein is shown;
[0035] Figure 5B An exemplary data flow diagram, decomposed into data flow fragments (DFFs) and μflows, is shown, provided by the exemplary embodiments described herein.
[0036] Figure 6A A schematic diagram illustrating a high-level view of an implementation of a modem provided by an exemplary embodiment described herein;
[0037] Figure 6B A schematic diagram illustrating a detailed view of a modem host and a service resource element (SRE) provided by an exemplary embodiment described herein;
[0038] Figure 7 A detailed view of the SRE provided by the exemplary embodiments described herein is shown;
[0039] Figure 8A A flowchart illustrating exemplary operations occurring in cloud computing resources for configuring a modem, as provided in the exemplary embodiments described herein;
[0040] Figure 8B A flowchart illustrating exemplary operations occurring in a modem host involved in modem configuration and cloud computing, as provided by the exemplary embodiments described herein;
[0041] Figure 8C A flowchart illustrating exemplary operations occurring in the controller of an SRE involved in modem configuration and cloud computing, as provided by the exemplary embodiments described herein;
[0042] Figure 9A A schematic diagram of an exemplary package provided by the exemplary embodiments described herein is shown;
[0043] Figure 9B A schematic diagram of an unoptimized spatiotemporal graph for performing three DFFs, provided by an exemplary embodiment described herein, is shown.
[0044] Figure 9C A schematic diagram of an optimized spatiotemporal graph for performing three DFFs, provided by an exemplary embodiment described herein, is shown.
[0045] Figure 10 The illustration shows exemplary processing performed by entities participating in a request for resources to perform a DFF, as provided in the exemplary embodiments described herein, and the communication exchanged between these entities;
[0046] Figure 11 The illustration shows exemplary processing performed by entities involved in receiving data for performing DFF, as well as communications exchanged between these entities, provided by the exemplary embodiments described herein.
[0047] Figure 12 The illustration shows exemplary processing performed by entities involved in performing DFF, as well as communications exchanged between these entities, provided by the exemplary embodiments described herein.
[0048] Figure 13 A flowchart illustrating exemplary operations occurring in cloud computing resources participating in the execution of DFF, as provided by the exemplary embodiments described herein;
[0049] Figure 14 A flowchart illustrating exemplary operations occurring in a modem host participating in the execution of DFF, as provided by the exemplary embodiments described herein;
[0050] Figure 15 A flowchart illustrating exemplary operations occurring in the controller of an SRE involved in the execution of DFF, as provided in the exemplary embodiments described herein;
[0051] Figure 16 A flowchart illustrating exemplary operations occurring in a processing level involved in the execution of a DFF, as provided by the exemplary embodiments described herein;
[0052] Figure 17A A flowchart illustrating exemplary operations occurring in a modem host with an inserted empty DFF, as provided by the exemplary embodiments described herein;
[0053] Figure 17B A flowchart illustrating an exemplary operation of executing an empty DFF in a controller, provided by the exemplary embodiments described herein, is shown.
[0054] Figure 18This illustration shows a schematic diagram of the interaction between the controller and components within the processing level, as provided in the exemplary embodiments described herein;
[0055] Figure 19 A flowchart illustrating exemplary operations occurring in a level manager at the processing level, as provided in the exemplary embodiments described herein;
[0056] Figure 20A and Figure 20B An exemplary token table and executor list for the processing level provided by the exemplary embodiments described herein are shown;
[0057] Figure 20C The exemplary embodiments described herein are shown. Figure 20A The dependency diagram defined in [the document]; and
[0058] Figure 21A and Figure 21B An exemplary device is shown that can implement the methods and teachings according to the present invention. Detailed Implementation
[0059] The structure and use of the disclosed embodiments are discussed in detail below. However, it should be understood that the present invention provides many applicable concepts that can be embodied in various specific contexts. The specific embodiments discussed are merely illustrative of the specific structure and use of the embodiments and do not limit the scope of the invention.
[0060] Figure 1 A first exemplary communication system 100 is illustrated. The communication system 100 includes an access node 110 having a coverage area 101, serving user equipment (UE) such as a UE 120. The access node 110 is connected to a backhaul network 115, which provides connectivity to services and the Internet. In a first operating mode, communication to and from the UE is conducted through the access node 110. In a second operating mode, communication to and from the UE is not conducted through the access node 110; however, the access node 110 typically allocates resources for communication by the UE when specific conditions are met. In the second operating mode, communication between UE pairs is conducted via a sidelink 125 that includes a unidirectional communication link. Communication between the UE and the access node pair is also conducted via a unidirectional communication link, wherein the communication link between the UE and the access node is referred to as an uplink 130, and the communication link between the access node and the UE is referred to as a downlink 135.
[0061] Typically, access nodes can also be referred to as Node B, evolved Node B (eNB), next generation (NG) Node B (gNB), master eNB (MeNB), secondary eNB (SeNB), master gNB (MgNB), secondary gNB (SgNB), network controller, control node, base station, access point, transmission point (TP), transmission-reception point (TRP), cell, carrier, macro cell, femtocell, picocell, etc., while UEs can also be referred to as mobile stations, mobile phones, terminals, users, subscribers, sites, etc. Access nodes can provide wireless access according to one or more wireless communication protocols, such as 3GPP Long Term Evolution (LTE), LTE Advanced (LTE-A), 5G, 5G LTE, 5G NR, Sixth Generation (6G), High Speed Packet Access (HSPA), and IEEE 802.11 series standards, such as 802.11a / b / g / n / ac / ad / ax / ay / be, etc. While it is understood that a communication system could employ multiple access nodes capable of communicating with multiple UEs, for simplicity, only one access node and two UEs are shown.
[0062] Typically, baseband modem wireless infrastructure is a specific application within the larger problem space of real-time data streaming. Baseband modem wireless infrastructure is a robust real-time system where missed deadlines can be discarded rather than corrupted, as is the case in hard real-time systems. If global scheduling policies are used for memory management and computational resource scheduling, baseband modem wireless infrastructure will have significant control overhead.
[0063] With the transition to fifth-generation (5G) wireless systems, the role of baseband is shifting from classic embedded systems to more flexible and service-oriented systems. Current implementations of 5G modems conflict with excessive control overhead and large amounts of state (conditional information), making modem design testing and maintenance difficult. Software errors / defects (“bugs”) have become a significant problem because modems must be highly robust with design scale. Removing bugs during development (rather than detecting them during integration) appears to be the only reliable method for debugging modem designs.
[0064] For example, increasingly flexible modem requirements, increased data pressure on limited memory, and more stringent real-time requirements all make implementing modems at the system level more difficult. Additional features of 5G (and sixth-generation (6G) and higher), such as ultra-reliable low-latency communications (URLLC) and artificial intelligence, further complicate the design, verification, and testing of modem architectures.
[0065] Therefore, new methods and apparatuses are needed to design modem architectures that can provide flexible, service-oriented support for baseband processing in modems. Furthermore, as the number and complexity of features and applications increase, the complexity of state space and control overhead must be managed.
[0066] According to one embodiment, a method and apparatus for cloud-enabled exposed stream processing for a modem are provided. The cloud-centric view of the modem reduces modem complexity by performing formal verification of modem correctness and performance in the cloud, where computing resources are more available and there are no real limitations on cloud power and size. The modem itself can be implemented as multiple data stream elements. For example, multiple data stream elements can be arranged in a grid.
[0067] The cloud employs an abstract model of a modem, where each element of the modem operates autonomously by responding to the data streams arriving at its input. This model may exist pre-existing in the cloud, or it may be provided to the cloud by the modem's designer or manufacturer. Typically, this model is a representation of the data streams within the modem and provides a description of the processes involved in transferring data from the input to the output. Implementing the modem as multiple data stream elements (each of which can individually support one or more data streams) minimizes and limits control and data movement, helping to simplify the design and verification of the modem.
[0068] Figure 2A model 200 of cloud-enabled exposed stream processing for a modem is illustrated. Model 200 includes a cloud computing resource 205 for generating real-time data streams from intent-based descriptions of network service requirements. Typically, intent-based descriptions of network service requirements are non-hardware-specific descriptions of the network service requirements and do not necessarily require immediate understanding of hardware changes or modifications to meet the intent-based description. Examples of intent-based descriptions could be reducing power consumption, improving performance, etc. Therefore, intent-based descriptions provide a high-level view of the objectives of network service requirements. The cloud computing resource 205 has an abstract model of the modem, which may pre-exist in the cloud computing resource 205 or may be provided, for example, by the modem's designer or manufacturer. For example, the modem's abstract model includes multiple Service Resource Units (SREs) 207, each SRE capable of autonomous operation by reacting to data streams arriving at its inputs. The autonomous operation of the SREs minimizes and limits control and data movement. Multiple SREs in Figure 2 The diagram shows a mesh configuration, but other configurations or arrangements are possible, such as grid, ring, star, fully connected topology, etc.
[0069] Cloud resource 205 provides a real-time data stream generated from an intent-based description of network service requests to multiple SREs 207. The real-time data stream provides data streaming functionality to the SREs of the multiple SREs 207. In one embodiment, each SRE is provided with only one or more real-time data streams assigned to it. For example, if a first SRE is assigned to perform channel estimation and a second SRE is assigned to perform hybrid automatic repeat request (HARQ) processing, cloud resource 205 provides the real-time data stream associated with channel estimation to the first SRE and the real-time data stream associated with HARQ processing to the second SRE. The first SRE does not receive the real-time data stream associated with HARQ processing, and the second SRE does not receive the real-time data stream associated with channel estimation.
[0070] Cloud computing resource 205 can define flow management for each of the multiple SREs 207, where flow management specifies how the SRE reacts to the data streams arriving at its input. Typically, unless a single flow management is defined for the multiple SREs, the interaction between the SREs of the multiple SREs 207 is limited.
[0071] Multiple SREs 207 provide feedback to cloud resource 205. Examples of feedback may include performance feedback, SRE utilization, memory utilization, data drop information, etc. Cloud resource 205 can use the feedback to adjust flow management or flow functions. For example, SRE utilization can inform cloud resource 205 that a particular SRE is overloaded, and cloud resource 205 can allocate additional SREs to perform the data flow allocated to the particular SRE to reduce the load on that particular SRE. Conversely, SRE utilization can inform cloud resource 205 that a particular SRE is underutilized. In this case, cloud resource 205 can allocate additional data flow to the particular SRE. As another example, data drop information provided to cloud resource 205 indicates that a particular SRE must drop too much data, so cloud resource 205 can allocate another SRE to perform the same data flow to reduce the computational load on that particular SRE. Furthermore, feedback to cloud resource 205 can be used to modify real-time data streams generated from intent-based descriptions of network service requests. For example, an intent-based description for reducing power consumption may have already been addressed by cloud resource 205 by reducing the data rate. However, feedback may indicate that the reduced data rate negatively impacts certain performance measurements of the modem. Cloud resource 205 can then reduce power consumption by altering the real-time data stream using methods other than reducing the data rate.
[0072] Typically, modems have requirements for both correctness (the modem must correctly perform the requirements of the supported network services) and performance (the modem must meet performance standards). Therefore, cloud resource 205 verifies the correctness and performance of multiple SREs 207 based on an intent-based description of the network service requirements. Cloud resource 205 can perform formal verification of the modem's correctness and performance. Intentionally limiting the interaction between SREs simplifies the verification of modem correctness and performance because verifying a single network service is simpler than verifying multiple interacting network services. A detailed description of the formal verification is as follows.
[0073] Figure 3 A schematic diagram 300 for formal verification of a network service is shown. The network service (or its application) represented as a data flow is partitioned into data flow fragments (DFFs) (box 305). In one embodiment, performing formal verification of a network service involves representing the network service as a data flow. Computerized data flow processing tools can be used to partition the data flow into a DFF directed-acyclic graph (DAG). The partitioning of the data flow produces a DFF DAG with a derivation creation pattern, while also generating internal details of the DFF. Typically, the tool can be a system performing the task. The tool may include circuits, units, or modules.
[0074] The SRE description 307 includes an SRE architecture description 309; SRE real-time, functional timing, and memory requirements 311; and SRE-supported domain-specific queries 313. The SRE real-time, functional timing, and memory requirements 311 describe the network services utilized.
[0075] Spatial mapping circuit 315 maps each DFF type to one or more SREs. The mapping by spatial mapping circuit 315 can be based on the DFF's derivation creation pattern, the data flow density of the network service, and the real-time, functional timing, and memory requirements 311 of the SRE. For example, spectral theory and edge-weight-based heuristics can be used to perform the mapping. Satisfaction testers (SATs) and integer linear programming (ILPs) can also be used. The mapping enables the development of DFF arrival patterns for each DFF type for each SRE. DFF arrival patterns can also include data arrival patterns associated with the DFF. For example, data arrival patterns associated with a DFF used for channel estimation provide the expected arrival patterns for the data used for channel estimation. For example, DFF arrival patterns can be used to map DFF types to SREs while satisfying correctness and performance requirements.
[0076] Model conversion circuit 317 converts the DFF DAG, along with data packets and runtime ranges (providing the expected arrival time of data packets and the expected runtime within acceptable and permissible jitter ranges), into a model of the network service using analysis tool 319. For example, the DFF DAG timed automata (TA) model 321 is converted from an XML form of the DFF DAG suitable for the TA analysis tool (conforming to TA metamodel 323). Similarly, the real-time clock (RTC) and SRE loading information (from spatial mapping circuit 315) are converted into an RTC DAG TA model 325.
[0077] Model checking 327 is performed using a query set from query metamodel 329. This model checking 327 combines DFF DAGTA model 321, SRE architecture TA metamodel 331, and RTC DAGTA model 325. The output of model checking 327 includes a formal verification of the SRE architecture (i.e., modem architecture) for a given system load, as well as a strategy for hardware or simulation. If all queries in the query set are loaded via DFF, the SRE architecture is considered formally feasible. If one or more queries fail, the failure of one or more queries will help determine the cause of the failure, and intervention may be needed to adjust network service requirements.
[0078] In one embodiment, data stream-native methods and apparatuses are provided that support efficient integration of a complete Data Flow Filter (DFF) across shared memory and compute resources and enforce a stateless representation of the stream (records are erased locally upon completion). Furthermore, security is simplified by containerizing the DFF to achieve stateless memory management. Additionally, functional flexibility is maximized with minimal control overhead by using a secure operating system.
[0079] In one embodiment, the energy-based management native method and apparatus support tools for performance formal checking and manage data flow through memory. Furthermore, the formal checking of the flow is for energy management, not for utilization estimation. Additionally, processing near or within memory is maximized.
[0080] Figure 4 A flowchart illustrating an exemplary operation 400 occurring in a model of a network service or its application is shown. Operation 400 can refer to an operation 400 occurring in a model of a network service or its application. Operation 400 can occur in a verification system.
[0081] Operation 400 begins with the verification system receiving a network service or its application for verification (box 405). The network service is represented as a data stream (box 407). For example, the network service can be represented as a synchronous data stream. In one embodiment, the engineer performs formal verification of the network service as a data stream. The data stream is partitioned into a DFF DAG (box 409). Computerized data stream processing tools can be used to partition the data stream into a DFF DAG. The partitioning of the data stream generates a DFFDAG with a derived creation pattern, while simultaneously generating internal details of the DFF (box 411).
[0082] The validation system maps DFF types to SREs (Box 413). The mapping from DFF types to one or more SREs can be static in nature. For example, the mapping from DFF types to SREs can be performed using spectral theory and heuristics based on edge weights. Alternatively, SAT and ILP can be used to perform the mapping. Static mapping allows for the development of DFF arrival patterns for each DFF type mapped to an SRE. For example, a DFF arrival pattern could be a statistical model for a specific DFF type to reach a specific SRE.
[0083] Modeling the DFF DAG (box 415). For example, the DFF DAG, along with packet and runtime ranges (providing the expected arrival time of packets and the expected runtime within acceptable and permissible jitter ranges), can be modeled using analysis tools. For example, the DFF DAG TA model 321 is converted from an XML form of the DFF DAG suitable for TA analysis tools (conforming to TA meta-model 323). Similarly, RTC and SRE loading information (from spatial mapping circuit 315) is converted into an RTC DAG TA model 325.
[0084] The DFF DAG, arrival patterns, and TA models are combined (Box 417). Combinations of the DFF DAG, arrival patterns, and TA models can be used to examine the model of the network service (Box 417). The model examination utilizes a query set from query meta-model 329. If all queries in the query set are loaded via DFF, the SRE architecture is considered formally feasible. If one or more queries fail, the failure of one or more queries will help determine the cause of the failure, and intervention may be needed to adjust the network service requirements.
[0085] As mentioned earlier, like many other real-time workloads, wireless baseband processing can be modeled as a data flow graph. Figure 5A An exemplary data flow diagram 500 is shown. In the data flow diagram 500, processing is modeled by actuators, which are represented as circles (e.g., circle A505 (representing actuator A), circle B507 (representing actuator B), and circle C509 (representing actuator C), etc.), and communication is modeled by edges, which are represented as edges or lines (e.g., edge 511 (representing the first input communication entering circle A505), edge 513 (representing the second input communication entering circle A505), edge 515 (representing the first output communication leaving circle A505), edge 517 (representing the second output communication leaving circle A505), etc.). Typically, actuators generate and use tokens, which are units of granularity of data along the edges. For example, edge 511 is associated with data of 2 units of granularity, while edge 513 is associated with data of 1 unit of granularity.
[0086] Complex data flows associated with wireless baseband processing or network services (or related applications) can be decomposed into larger-granularity subtasks, referred to here as DFFs. DFFs can be further decomposed into kernels or tightly coupled sets of kernels, referred to as μflows. These μflows are executed in computational elements (e.g., the processing level of SREs). Each kernel may include one or more executors and one or more edges for each executor. Figure 5BAn exemplary data flow graph 550 is shown, which is decomposed into DFFs and μflows. The data flow graph 550 can be decomposed into a first DFF 557 with μflows 559, 561 and 563, a second DFF 565 with μflows 567 and 569, and a third DFF 571 with μflows 573 and 575.
[0087] In one embodiment, dataflow terminology implements a mapping between the abstract hierarchical levels of the dataflow graph and the specific hierarchical levels in the actual hardware of the modem. For example, a DFF includes the executor at the top level of the dataflow and executes on dataflow accelerator hardware (i.e., SRE). As another example, a μflow includes the executor in the DFF and executes on a single level of the SRE. A level of the SRE represents a logical and physical partition of the SRE, which contains the actual kernels and compute units used to execute the μflow. The following table summarizes examples of dataflow-to-hardware mappings.
[0088] Data Flow Abstraction Level Hardware mapping Data Flow Diagram One or more SREs DFF An SRE μflow An SRE level
[0089] Table: Examples of Data Flow to Hardware Mapping
[0090] According to one embodiment, the modem is implemented as a system-on-a-chip (SoC). Typically, an SoC is an integrated circuit or chip that integrates all or most of the components of an electronic system; in this case, it is a modem. These components include some type of processing unit, input or output ports, memory, etc., on a single substrate or microchip. Integrating the modem's components into an integrated circuit helps improve performance and reliability compared to modem implementations using a motherboard and replaceable components. SoCs are also typically smaller and more energy-efficient.
[0091] Figure 6A A schematic diagram 600 illustrates a high-level view of a modem implementation. The modem includes a cloud computing resource 205, a modem host 605, and multiple SREs 207. The cloud computing resource 205 can be used to generate DFFs, store DFFs, configure the modem, etc., according to network service requirements. In one embodiment, the modem host 605 is implemented as a SoC controller or microprocessor. In an alternative embodiment, the modem host 605 is implemented as a controller or microprocessor operatively coupled to an integrated circuit comprising multiple SREs 207. In yet another alternative embodiment, the modem host 605 is one of the multiple SREs 207.
[0092] The multiple SREs 207 include two or more SREs (e.g., SREs 610, 612, 614, 616, and 618), wherein two or more SREs are operatively coupled to the modem host 605 via connection 607. For example, the modem host 605 is connected to each of the multiple SREs 207. In this example, the modem host 605 is directly connected to the SREs in the multiple SREs 207, and connection 607 may be a cross-connection. As another example, the modem host 605 is connected to a subset of the SREs in the multiple SREs 207, and the SREs in the subset are connected to the other SREs in the multiple SREs 207. In this example, the modem host 605 is only directly connected to the SREs in the subset, and the modem host 605 is indirectly connected to the other SREs in the multiple SREs 207, and connection 607 may be a partial cross-connection.
[0093] The SoC 605 may also include storage devices or memories, which may be shared memory accessed by SREs in multiple SREs 207, distributed memory accessed only by a single SRE in multiple SREs 207, or a combination of shared and distributed memory. The SoC 605 may also include input ports, output ports, communication interfaces, network interfaces, etc.
[0094] In one embodiment, the modem includes an array of loosely connected DFF processing elements (e.g., SREs). The SRE receives DFF control packets and DFF data, which are processed to generate the output of the next DFF. Each DFF is a self-contained DAG that can be processed to stateless completion, leaving only its output. Typically, each DFF stream has an arrival pattern, where the stream of DFFs consists only of consecutively arriving DFFs at the SRE, for ease of grouping. Typically, the arrival pattern of the DFFs is maintained for formal analysis. The SRE generates output from streams within the departure pattern boundary. The SRE can be checked to ensure that the departure pattern is implemented.
[0095] In one embodiment, a modem host receives data associated with a network service or application executed in multiple SREs, determines the DFF associated with the network service or application, sends a resource request to the multiple SREs, and also sends the data associated with the network service or application to the multiple SREs. The data associated with the network service or application arrives at the modem based on a data arrival pattern related to the network service or application arrival pattern. The modem host determines the DFF associated with the arriving network service or application and sends the resource request to the multiple SREs of the modem. Although the resource request is sent to multiple SREs, not every SRE in the multiple SREs receives and processes the resource request. In one embodiment, a subset of SREs in the multiple SREs is used to execute the DFF, wherein the subset of SREs is based on a mapping from DFF type to SRE. Therefore, the resource request is sent to the SREs in the subset of SREs.
[0096] The modem host sends the data associated with the DFF to the SRE that responded positively to the resource request. If more than one SRE responded positively to the resource request, the modem host may randomly select one of the SREs that responded positively. Alternatively, the modem host may select from more than one SREs that responded positively with the lowest load (e.g., minimum compute load, shortest processing queue, minimum buffered data size, minimum expected execution time, etc.) to execute the DFF.
[0097] In one embodiment, if the modem host does not receive a positive response from any SRE, the modem host discards the data and the associated DFF. Due to the fixed real-time nature of the modem, the modem host can discard data and the associated DFF. However, if the modem host must discard too much data or DFF, it may need to reconfigure the mapping of DFF types to multiple SREs to help reduce the likelihood of having to discard future data or DFFs, which could negatively impact performance limits.
[0098] In one embodiment, each of the plurality of SREs includes a controller that controls the operation of the SRE. For example, the SRE controller receives resource requests from a modem host and accepts or rejects the resource requests according to a DFF (Distributed Resource Request) acceptance policy. The DFF acceptance policy may specify rules or conditions under which the controller may accept or reject resource requests. The DFF acceptance policy may determine whether any predetermined resource allocation policy can be deployed under the current load on the SRE processing level. Exemplary DFF acceptance policies may be based on arrival time, SRE load, processing level load, processing level availability, memory utilization, etc. For example, if a resource request arrives earlier than expected, the resource request may be rejected. As another example, if the load on the SRE is greater than a threshold, the resource request may be rejected. Yet another example, if memory utilization is greater than a threshold, the resource request may be rejected.
[0099] If the resource request is accepted, the controller can send a response indicating that the resource request has been accepted to the modem host. If the resource request has been accepted by the controller, the controller stores the corresponding data packet in the SRE's buffer.
[0100] If a resource request is denied, the controller may send a response indicating that the resource request has been denied to the modem host. Additionally, if a resource request is denied, the controller will discard any packets associated with the resource request and notify the modem host that the resource request has been denied.
[0101] After the controller accepts a resource request, it assigns the requested DFF (Device Frame Flow) to one or more processing levels of the SRE. Assigning a DFF to one or more processing levels can be based on various factors, including DFF requirements, processing level load, processing level utilization, processing level availability, and predicted processing level availability. For example, if the SRE has three processing levels in total, the controller selects one (or more) of these processing levels based on DFF requirements, processing level load, and processing level availability. Typically, if a processing level is not expected to be available at the start of DFF execution, the controller will not select a processing level, as doing so could result in missing the DFF's performance limits.
[0102] The controller can also store the data associated with the DFF request in a buffer of the processing level allocated to execute the DFF. If more than one processing level is allocated to execute the DFF, the controller stores the appropriate data in the buffer of the corresponding processing level.
[0103] Typically, a DFF is associated with a network service or its application. Therefore, when a DFF is assigned to one or more processing levels, those processing levels execute the DFF to perform a network service or an application. However, DFFs can be used for other purposes.
[0104] For example, a DFF can be associated with no operation (NOP). Such a DFF is called an empty DFF. In this case, one or more processing levels allocated to execute an empty DFF will not perform any operation for a period of time associated with the empty DFF. Therefore, the power consumption of one or more processing levels can be reduced. For example, one or more processing levels can simply gate or disable the corresponding clock. Alternatively, one or more processing levels can be powered down or enter a reduced-power state.
[0105] As an illustrative example, consider the case of an empty DFF associated with a time period T. One or more processing levels assigned to execute an empty DFF can then gate their clocks or enter a de-powered state within a time period X, where X is less than or equal to T. Typically, the time period X is less than the time period T to ensure that one or more processing levels can return to their normal operating state before resuming execution of other assigned DFFs.
[0106] In one embodiment, the allocation of DFFs (typical DFF or zero DFF) is performed in a similar manner. For example, the modem host sends a resource request for a DFF to one or more SREs, and the controller of one or more SREs accepts or rejects the resource request based on a DFF acceptance policy.
[0107] For example, a modem host can adjust the performance of one or more SREs to adjust the Quality of Service (QoS) requirements. The modem host can allocate more or fewer DFFs to one or more SREs to adjust their response to QoS requirements. For instance, the modem host may determine that a first QoS requirement of the modem may be violated, and therefore, the modem host will allocate additional DFFs to one or more SREs assigned to perform the DFFs related to the first QoS requirement. Allocating more DFFs to one or more SREs may cause the SREs to fail to meet the first QoS requirement. However, non-compliance with the QoS requirement may be acceptable according to the first QoS requirement. As another example, the modem host may determine that a second QoS requirement of the modem may not be violated, and therefore, the modem host will reduce the DFFs allocated to one or more SREs assigned to perform the DFFs related to the second QoS requirement. Allocating fewer DFFs to one or more SREs may make the SREs meet the second QoS requirement.
[0108] Figure 6B A schematic diagram 650 shows a detailed view of the modem host 605 and the SRE 610. As previously mentioned, the modem host 605 can connect to multiple SREs 207, however, Figure 6B The modem host 605 is shown connected to the SRE 610 only. The presentation and discussion of the modem host 605 connecting to the SRE 610 should not be construed as limiting the scope of the exemplary embodiments.
[0109] SRE 610 includes a packet processor 657 for processing packets (e.g., control packets or data packets) from modem host 605, a controller 655, a buffer 659 for storing incoming or outgoing data, and N+1 processing stages (e.g., stage 0 661, stage 1 663, and stage N 665).
[0110] As previously described, controller 655 processes resource requests from modem host 605, which are control packets passed to controller 655 by packet processor 657. Data received from modem host 605 is in the form of data packets and can be stored in buffer 659. If controller 655 accepts a resource request from modem host 605, controller 655 sends a response to the resource request to modem host 605. At the location associated with the processing level (or levels) allocated for executing DFF, controller 655 also stores the data associated with the DFF of the resource request in buffer 659.
[0111] The controller 655 provides DFF descriptors to the packet processor 657. The DFF descriptor may include one or more μflows and provides information about the DFF. The controller 655 also provides μflow descriptors to one or more processing levels assigned to execute the DFF. The μflow descriptor provides information about the execution of the μflow by one or more processing levels, including where the one or more processing levels can obtain data for executing the μflow, where output data is sent, which one or more execution kernels to use, and so on.
[0112] During DFF execution, μflows within the DFF consume, process, and produce tokens. A μflow executes when all its inputs are ready and completes when all its inputs have been consumed. These μflows may send and receive tokens within the same processing level, or may need to send and receive tokens across processing levels. However, the μflow that produces the final output token (i.e., the token as the DFF output) sends its output token to buffer 659. In one embodiment, multiple μflows may execute concurrently within a single processing level. In one embodiment, a single DFF may be allocated for execution across multiple processing levels or SREs.
[0113] Figure 7A detailed view of the SRE 610 is shown. The SRE 610 can be designed to be highly configurable, driven by the actual system requirements of network services and their applications. Typically, the SRE 610 can be configured at integration time when a static system specification is used to configure it. The SRE 610 can also be configured during runtime when processing level selection is performed. Runtime configuration also includes the configuration of the processing engine.
[0114] SRE 610 includes a packet processing subsystem 705. Packet processing subsystem 705 provides an interface between SRE 610 and a modem. Packet processing subsystem 705 includes a packet processor 657 that processes incoming or outgoing packets (control packets, data packets, or a combination of control and data packets). Incoming packets arrive at SRE 610 and are demultiplexed by demultiplexer 707 into an appropriate ingress stop buffer 709. Ingress stop buffer 709 also includes a network calculus (NC) flow conditioner that regulates the flow of packets entering SRE 610. Typically, NC is a mathematical theory that can be used to describe the worst-case pattern of token flow in a network. For example, an NC flow conditioner can ensure that the flow rate meets a threshold (e.g., maximum or minimum flow rate). Therefore, the arrival pattern of DFFs remains within the pattern checked by the cloud. DFFs arriving that violate the pattern may be rejected. Furthermore, if there are too few DFFs and the DFF arrival pattern is violated, an empty DFF may be inserted. Outgoing packets leaving SRE 610 are stored in exit stop buffer 711 and multiplexed by multiplexer 713 before leaving SRE 610. NC timing function specification 715 stores data triggering information for the allocation processing level with ingress and egress interfaces. Instruction memory 717 stores instructions that cause packet processor 657 to process packets.
[0115] Controller 655 (also referred to as a mapper) receives and interprets control packets and data packets. For example, controller 655 accepts or rejects resource requests received from modem host 605 and assigns the DFF (Data Frame Request) of accepted resource requests to one or more processing levels. Controller 655 also generates, populates, and terminates DFF information to the assigned processing level. Controller 655 further coordinates packet admission, sets data trigger information for the assigned one or more processing levels, and coordinates data movement after the assigned DFF is completed. Controller 655 stores instructions and internal data in instruction memory 719 and data memory 721. Control and management crossbar 723 is configured by controller 655 to guide movement between packet processing subsystem 705 and processing levels.
[0116] The control and management crossbar switch 723 can handle control message communication between the controller 655, packet processor 657, and level manager (e.g., level manager 725) within the SRE 610. The control and management crossbar switch 723 carries short control messages and should have a very short response time to ensure that important messages are routed from source to destination as quickly as possible. The control and management crossbar switch 723 can also route acknowledgments from destination to source to ensure that information is not discarded.
[0117] SRE 610 includes multiple processing levels (including, but not limited to, processing level 0 661 and processing level 1 663). Processing level 0 661 includes a level manager 725 that manages the general operations of processing level 0 661. The configuration of processing level 0 661, including DFF information and μflow information, is stored in runtime configuration and state memory 727, while instructions associated with the execution of DFFs or μflows are stored in level processing instruction memory 729. The computational aspects of processing level 0 661 are provided by one or more scalable hybrid and organizational computing (SHOC) elements 731. A state buffer 735 stores information representing the state of processing level 0 661, such as flags and values. SHOC elements 731 can be dynamically triggered by relationships defined by DFFs, information provided by a data dependency resolver 735, and information provided by an executor list and token table 737. SHOC elements can be reconfigured by the level manager 725 during runtime based on the DFFs assigned to processing level 0 661. Although the discussion focuses on processing level 0 611, processing level 1 663 (and other processing levels in SRE 610) can be configured similarly.
[0118] For example, each SHOC element is characterized by a hierarchical structure, where fully cross-switch interconnects are used for local small compute element (CE) groups, while lower-density cross-switch structures are used for higher-level interconnects. For instance, each CE group contains four half-precision 16-bit (FP16) complex multiply-accumulate (CMAC) operations and can be configured as a 2×2 array or a 4×1 vector. The four CE groups include CE blocks, each connected to a scratch buffer using a two-level cross-switch architecture. Shared thin slices of simple operators (capable of performing operations such as data scaling, shifting, addition, subtraction, etc.) operate on the passing data. Therefore, expensive CMAC operators can avoid performing simple real-number operations, reducing computational state and significantly reducing latency and storage. The core, along with some special function units and CE groups, can be tightly or loosely coupled. Coupling may depend on algorithmic and performance requirements, with the goal of maximizing computational resource utilization. Interconnects support neighbor-to-neighbor sharing of compute and memory resources. The CE group can be configured semi-statically and used as an application-specific integrated circuit (ASIC).
[0119] The shared buffer and memory subsystem 739 provides distributed and shared memory for the SRE 610. The shared buffer and memory subsystem 739 connects to other subsystems of the SRE 610 and provides data exchange support between these subsystems. The shared buffer and memory subsystem 739 provides direct memory access (DMA) 741, while the data flow mapping buffer 743, controlled by buffer management 745, enables data exchange between processing levels. DMA 741 enables efficient data movement between multiple processing levels and the modem.
[0120] The shared buffer and memory subsystem 739 can be part of the overall shared buffer and memory system. The shared buffer and memory subsystem 739 operates at the data stream granularity. The shared buffer and memory subsystem 739 carries burst traffic and window traffic.
[0121] The data flow-based interconnect 747 connects the packet processing subsystem 705 and the shared buffer and memory subsystem 739, thereby providing direct packet ingress and egress. The data flow-based interconnect 747 can be controlled by the controller 655 via the control and management crossbar switch 723.
[0122] The data stream-based interconnect 747 can handle data exchange between the rest of the modem and the shared buffer in the SRE 610. The data stream-based interconnect 747 typically transmits large amounts of data. However, the routing of any connection can have a longer lifespan than the connection controlling and managing the crossbar switch 723 because the controller 655 or packet processor 657 establishes connections at the data stream granularity. The data stream-based interconnect 747 can be considered a slower switching network.
[0123] Figure 8A A flowchart illustrating an exemplary operation 800 occurring within a cloud computing resource configured with a modem is shown. Operation 800 can occur within a cloud computing resource configured with a modem based on a modem description.
[0124] Operation 800 begins with an intent-based description of the cloud resource receiving modem (box 805). The intent-based description of the modem provides a description of the modem's requirements and operation at an abstract level. For example, modem requirements can be broken down into functionality and principles. The intent-based description of the modem may not describe how to use or implement the modem. Instead, it provides sufficient guidance or framework for the modem. For example, the intent-based description of the modem provides a description of the modem's network services or its applications.
[0125] The cloud computing resource configures the modem (box 807). Modem configuration can be based on an intent-based description of the modem. As an illustrative example, the cloud computing resource uses an abstract model of the modem to configure the modem hardware according to the intent-based description. The modem configuration specifies how the modem's elements (e.g., SREs) respond to data streams. In one embodiment, the modem's abstract model includes multiple elements that operate autonomously and respond to data streams arriving at their respective inputs. The autonomy of the modem's elements minimizes and limits control and data movement. The cloud computing resource also verifies the modem's correctness and performance for network service requirements. Part of the configuration process includes the cloud computing resource sending the configuration to the modem.
[0126] Cloud computing resources generate and store DFFs (Box 809). DFFs are generated from network services or their applications. DFs are also generated from service requests. DFFs can be generated for each network service or application. After generation, DFFs can be stored by cloud computing resources. DFFs can also be provided to modems. Modems store DFFs for later use.
[0127] Figure 8BA flowchart illustrating an exemplary operation 820 occurring in a modem host participating in modem configuration and cloud computing is shown. Operation 820 can occur in the modem host when the modem host is involved in modem configuration and cloud computing.
[0128] Operation 820 begins with the modem host receiving the modem's configuration (box 825). The modem configuration may be based on an intent-based description of the modem. The modem configuration specifies how modem elements (such as SREs) respond to data streams. The modem host receives a Data Flow Descriptor (DFF) for network services (box 827). The modem host receives the DFF from cloud computing resources. The modem host also receives DFF descriptors (and possibly μflow descriptors) from cloud computing resources. The modem stores the DFF and DFF descriptors (and possibly μflow descriptors) in memory.
[0129] The modem host receives packets for the network service (box 829). The network service packets (which may be control packets, data packets, or a combination of both) are received by the modem host. The modem host stores the packets and sends resource requests for the network service to one or more SREs used to perform the network service (box 831). Resource requests for a specific network service can be sent to those SREs used to perform the network service. If an SRE is not used to perform the network service, the modem host does not send a resource request to the SRE. The modem host allocates DFFs (Distributed Filters) for the network service to the responding SRE (box 833). Partial allocation involves transmitting packets of the network service to the responding SRE. The modem host also configures the shared buffer and memory subsystem such that subsequent packets of the network service are delivered to the responding SRE. The modem host may also optionally modify the DFF allocation to adjust for QoS requirements (box 835). The modem host may allocate more or fewer DFFs to one or more SREs to adjust its response to QoS requirements. For example, if the modem host can tolerate QoS requirement violations, it may allocate more DFFs to one or more SREs, resulting in increased load on one or more SREs and potentially causing performance degradation related to QoS requirements. For example, if the modem host cannot tolerate violations of QoS requirements, it can allocate fewer DFFs to one or more SREs, thereby reducing the load on one or more SREs and improving performance related to QoS requirements.
[0130] Figure 8CA flowchart illustrating an exemplary operation 850 occurring in an SRE controller involved in modem configuration and cloud computing is shown. Operation 850 can occur within the SRE controller when the controller is involved in modem configuration and cloud computing.
[0131] Operation 850 begins with the controller receiving the configuration of the modem (block 855). For example, the controller may receive the configuration of an SRE or the processing level of an SRE from the modem host. The configuration may specify the DFF, DFF descriptor, μflow descriptor, etc., assigned to the SRE. In one embodiment, the controller receives only the configuration of an SRE or the processing level of an SRE. In another embodiment, the controller receives the configuration of all SREs (and their respective processing levels), and the controller utilizes only the configuration of the SREs (and their respective processing levels).
[0132] The controller receives resource requests (box 857). Resource requests can be received from the modem host. Resource requests include requests for the controller to accept allocations performed by one or more DFFs associated with a network service or its application. The controller decides whether to accept or reject the resource request. For example, the controller makes a decision based on a DFF acceptance policy. The DFF acceptance policy can determine whether any predetermined resource allocation policy can be deployed under the current load on the SRE processing level. Exemplary DFF acceptance policies may be based on arrival time, SRE load, processing level load, processing level availability, memory utilization, etc.
[0133] A check is performed to determine if the controller has accepted the resource request (box 859). If the controller accepts the resource request, it receives and stores the packet associated with the DFF (box 861). The controller may store the packet in a general buffer or direct the packet to a buffer specified for one or more processing levels that will execute one or more DFFs. The controller assigns the DFF to one or more processing levels (box 863). Assigning a DFF to one or more processing levels may be based on allocation factors such as processing level load, processing level utilization, future processing level load, future processing level utilization, memory utilization, etc. The controller stores the execution results of one or more DFFs (box 865). The execution results may be stored in a buffer before being sent to the modem host. Alternatively, the execution results may be sent directly to the modem host by one or more processing levels executing one or more DFFs.
[0134] If the controller rejects a resource request (box 859), for example due to SRE overload or inability to execute one or more DFFs in a timely manner, the controller discards the resource request and any packets associated with the received resource request (box 867). The controller may also optionally send a response indicating that the resource request has been rejected.
[0135] The SRE can receive multiple DFFs essentially simultaneously or within a relatively short timeframe. For example, the SRE can be responsible for performing channel estimation on multiple channels. These DFFs should be managed to allow them to flow freely and to guarantee resource availability to meet their deadlines and avoid downtime. Because the modem is configured to generate a DFF reception policy for each DFF type, the modem's state is managed in a hierarchical manner.
[0136] Typically, each data stream receives all its own state on the input stream and only generates an output stream for other data streams. Data streams are not persistent in SRE. Data stream management is a policy local to the SRE controller. The controller manages the state and the arrival of data for each data stream and makes decisions based on policies regarding when and whether to release or terminate the data stream.
[0137] Typically, how data flows between SREs is determined by a strategy, and is configured, for example, using nonlinear clustering algorithms during configuration. For instance, spectral theory can be used to determine how data flows between SREs.
[0138] Figure 9A A schematic diagram 900 of an exemplary packet is shown. These packets may include a single packet with a single edge data, a single packet with multiple edge data, or multiple packets with multiple edge data. A first packet 905 includes a packet header 907 and edge data 909. A second packet 910 includes a data stream identifier 912 and multiple edge data 914. A third packet 920 includes multiple packets with multiple edge data, such as a packet header 922 and edge data 924, a packet header 926 and edge data 928, and a packet header 930 and edge data 932.
[0139] The controller receiving the packet can store the edge data in a buffer corresponding to the different data stream, and send the packet header or data stream identifier to the flow control process. The flow control process uses the configured data stream execution program to process the edge data of the corresponding data stream and outputs edge data for subsequent data streams.
[0140] In one embodiment, DFF acceptance is performed by the SRE controller according to a DFF acceptance strategy that minimizes idle periods in the SRE's processing level during DFF execution. Typically, processing-level DFF execution is based on the availability of edge data for the executor in time and data flow. Therefore, unless the DFF is particularly simple (e.g., having a single executor and a single edge data that can complete DFF execution when edge data is available), DFF execution can be characterized by the time associated with the execution of the executor and its associated edge data, and the time associated with waiting for subsequent edge data to arrive. DFF execution can be visualized as a spatiotemporal graph.
[0141] Figure 9B A schematic diagram 940 is shown highlighting the unoptimized spacetime graphs used to execute the three DFFs. The first diagram 945 (shown as transparent squares) corresponds to the execution of the first DFF, the second diagram 947 (shown as right-tilted shaded squares) corresponds to the execution of the second DFF, and the third diagram 949 (shown as cross-shaded squares) corresponds to the execution of the third DFF. Figure 9B As shown, the execution of a DFF is completed before the execution of a subsequent DFF begins. Therefore, a significant amount of available execution time is spent idly waiting for edge data to arrive (shown as free space 951).
[0142] Figure 9C A schematic diagram 960 is shown, highlighting the optimized spacetime graph used to perform the three DFFs. The combined diagram 962 corresponds to... Figure 9B The planned execution of the first DFF (shown as transparent squares), the second DFF (shown as right-tilted shaded squares), and the third DFF (shown as cross-shaded squares) is illustrated. For example, the scheduler looks at the order of the DFFs (and their μflows) to reduce overall latency. The scheduler's operation could be an example of time subdivision, where the execution of the DFFs (and μflows) is tiled to reduce gaps while preventing overlap based on time. An optimized spatiotemporal diagram shows the scheduling of the three DFF executions such that the execution of a DFF does not necessarily have to complete before the subsequent DFFs begin execution. Figure 9B and Figure 9C As shown, latency is reduced by approximately 46%.
[0143] Figure 10 A schematic diagram 1000 illustrates exemplary processing performed by entities participating in requesting resources for executing DFF, and the communication exchanged between these entities. Entities performing the processing and exchanging communication include a modem host 605, a packet processor 657, a controller 655, a buffer 659, processing level 0 661, processing level 1 663, and processing level N 665. Other examples of processing and communication may include different entities.
[0144] When modem host 605 has a DFF to process, modem host 605 sends a control packet to SRE, which is received by packet processor 657 (event 1005). For example, the control packet includes information about which resources are needed to process the DFF. The control packet may include a global tag identifying a unique instance of the DFF in the modem and a container identifier specifying the data flow graph type that best matches the DFF to be processed. Packet processor 657 forwards the control packet to controller 655 (event 1007). For example, the control packet may be forwarded to controller 655 as a DFF container type (DCT) request. If SRE supports a specific DCT, controller 655 sends a DFF descriptor back to packet processor 657 (event 1009). For example, the DFF descriptor sent back to packet processor 657 may instruct packet processor 657 to begin sending packets to controller 655. However, at this point, controller 655 has not yet accepted the request because it has not yet determined the resource requirements.
[0145] Controller 655 applies a DFF acceptance policy to the request to determine if it can be accepted by the SRE (box 1011). Controller 655 also performs mapping. To avoid becoming a computational bottleneck, the resource requirements of the DFF container can be pre-computed as one or more feature vectors. Controller 655 examines several feature vectors associated with the DFF container to determine if any mapping is suitable within the SRE given the current system load. If no mapping is found, controller 655 reports an error and instructs packet processor 657 to discard the DFF descriptor and any corresponding data. If a mapping is found, controller 655 sends a mapping ready indicator (event 1013). The mapping ready indicator can be, for example, a signal or flag. Controller 655 begins loading the DFF from memory (e.g., external memory).
[0146] The DFF can be loaded in the form of PTR descriptors and μflow descriptors (Event 1015). Each μflow descriptor can contain information about the μflow's input, output, one or more kernels to be executed, one or more processing levels executing the μflow, etc. μflows within the DFF can be identified using statically determined local tags. When the controller 655 processes the μflow descriptors at runtime, it appends the DFF's local tags to the μflow descriptors, allowing the μflow instances to be identified using both global and local tags. The μflow descriptors are then sent to one or more processing levels assigned to execute the μflow (Event 1017). The controller 655 sends a μflow ready indicator to the packet processor 657 (Event 1019). The μflow ready indicator can be, for example, a signal or flag. At this point, an implicit graph is generated.
[0147] Figure 11 A schematic diagram 1100 illustrates exemplary processing performed by entities involved in receiving data for performing DFF and the communication exchanged between these entities. Entities performing the processing and exchanging communication include a modem host 605, a packet processor 657, a controller 655, a buffer 659, processing level 0 661, processing level 1 663, and processing level N 665. Other examples of processing and communication may include different entities.
[0148] When controller 655 processes the μflow descriptor and sends the μflow descriptor to the processing level in event 1017 (e.g.) Figure 10 As shown, packet processor 657 is receiving data packets (Event 1105). For example, the data packets may be received from modem host 605. The data packets received by packet processor 657 are stored in buffer 659 (Event 1107). For example, the data packets may be sent from packet processor 657 to buffer 659 as data messages. Packet processor 657 also sends descriptors to one or more processing levels to indicate the location of DFF input. Once the DFF input data has arrived and the μflow descriptor has been sent by controller 655, packet processor 657 sends a DFF input ready message to one or more processing levels (Event 1109). For example, a DFF input ready message indicating that the DFF is ready for execution.
[0149] Figure 12 A schematic diagram 1200 illustrates exemplary processing performed by entities involved in implementing DFF and the communication exchanged between these entities. Entities performing the processing and exchanging communication include a modem host 605, a packet processor 657, a controller 655, a buffer 659, processing level 0 661, processing level 1 663, and processing level N 665. Other examples of processing and communication may include different entities.
[0150] Once the input data is ready, μflow is activated and begins execution on one or more processing levels. The μflow delivery of the DFF executing on one or more processing levels carries intermediate tokens between processing levels (Event 1205). This continues until a DFF output token is generated. When the DFF output token is written to buffer 659 (Event 1207), a DFF output ready indicator is sent to packet processor 657 (Event 1209). For example, the DFF output ready indicator enables packet processor 657 to track output tokens. The DFF output ready indicator can be a signal or a flag. Buffer 659 also sends packets to packet processor 657 (Event 1211). Once packet processor 657 has received all DFF output tokens, it sends the output data to modem host 605 (Event 1213). The output data can be sent to modem host 605, for example, in the form of packets. Packet processor 657 also sends a DFF release message (Event 1215). The DFF release message indicates that DFF execution has completed. DFF release messages can be sent to the controller 655 and the SRE processing level. For example, DFF release messages can be sent as multicast messages.
[0151] Figure 13 A flowchart illustrating an exemplary operation 1300 occurring in a cloud computing resource participating in the execution of DFF is shown. Operation 1300 can indicate operations occurring in a cloud computing resource participating in the execution of DFF by a modem.
[0152] Operation 1300 begins with a cloud computing resource receiving network services or their applications (Box 1305). The cloud computing resource may receive network services supported by a modem or applications associated with those network services. The cloud computing resource generates a Directed Acyclic Graph (DFF) for the network service (Box 1307). A DFF is a directed acyclic graph defining connections between kernels or μflows executing on the processing level of an SRE. However, due to the potentially large number of network services or applications, generating a DFF for each one may be impractical. Therefore, many DFF containers are defined, where each container can be large enough to hold the DFFs associated with a network service, but not so large as to incur significant overhead and inefficiency. The cloud computing resource stores the DFF (Box 1309). For example, the DFF (or DFF container) may be stored in memory or on a server.
[0153] Figure 14 A flowchart is shown of an exemplary operation 1400 occurring in a modem host participating in the execution of DFF. Operation 1400 can indicate operations occurring in a modem host participating in the execution of DFF.
[0154] Operation 1400 begins with the modem host receiving a DFF (box 1405). For example, the modem host may receive a DFF associated with a network service or its application from a cloud computing resource. Alternatively, the modem host receives an indicator of a DFF associated with a network service or its application. As another alternative, the modem host receives packets (control, data, or both) associated with a network service or its application, and these packets include an identifier for the DFF. Instead of receiving the DFF or its indicator, the modem host receives an indicator of a DFF container or a DFF container of a DFF.
[0155] The modem host sends a resource request to the modem's SRE (Box 1407). For example, a resource request may be sent to an SRE assigned to execute a DFF or DFF container. Sending a resource request to an SRE assigned to execute a DFF or DFF container reduces communication overhead. The modem host performs a check to determine whether the resource request has been accepted (Box 1409). For example, when a DFF or DFF container is accepted by an SRE for execution, the modem host receives a response from the SRE's controller indicating that the SRE has accepted the resource request. If the resource request has been accepted, the modem host returns to Box 1405 to obtain the subsequent DFF and waits for the execution result of the DFF or DFF container.
[0156] If the resource request has been rejected (box 1409), the modem host performs a check to determine whether it should repeat the resource request (box 1411). For example, if the DFF or DFF container still has sufficient time to execute and the time still meets real-time requirements, the modem host may repeat the resource request. If the modem host should repeat the resource request, it returns to box 1407 to send the resource request. If the modem host should not repeat the resource request, it discards the DFF or DFF container and any associated packets already received. The modem host also returns to box 1405 to retrieve the subsequent DFF. In one embodiment, the modem host sends a response to the cloud resource indicating that the DFF has not yet been executed.
[0157] Figure 15 A flowchart is shown of an exemplary operation 1500 occurring in the controller of an SRE involved in the execution of a DFF. Operation 1500 can indicate operations occurring in the controller of an SRE involved in the execution of a DFF.
[0158] Operation 1500 begins with the controller receiving a resource request (box 1505). The resource request is an execution request for a DFF or DFF container. The controller may be a controller assigned to an SRE for executing a DFF or DFF container. Alternatively, the controller may receive data associated with a DFF or DFF container. The controller may not receive a resource request for executing a DFF or DFF container, but instead receives data associated with the DFF or DFF container that initiates the process of accepting the resource request and executing the DFF or DFF container.
[0159] The controller performs checks to determine whether a resource request is accepted (Box 1507). As previously described, the controller determines whether the resource request is accepted according to the DFF acceptance rule, whereby the DFF acceptance rule determines whether a processing level of the SRE is capable of executing a DFF or DFF container while meeting the real-time requirements associated with the DFF or DFF container. If the controller determines that the resource request is accepted and the SRE will execute the DFF or DFF container, the controller assigns the execution of the DFF or DFF container to one or more processing levels (Box 1509). For example, one or more processing levels assigned to execute the DFF or DFF container may be identified by the DFF acceptance rule.
[0160] The controller stores the data associated with the DFF or DFF container in a buffer associated with the processing level that will execute the DFF or DFF container (box 1511). The SRE may have other processing levels that do not execute the DFF or DFF container, and data is not stored in buffers associated with these processing levels. The controller initiates execution of the DFF or DFF container (box 1513). In one embodiment, the controller initiates execution of the DFF or DFF container by sending instructions to the processing level assigned to execute the DFF or DFF container. In another embodiment, execution of the DFF or DFF container starts automatically when data associated with the DFF or DFF container is received.
[0161] Figure 16 A flowchart is shown of an exemplary operation 1600 that occurs in a processing level involved in the execution of a DFF. Operation 1600 may indicate an operation that occurs in a processing level assigned to execute a DFF or a DFF container.
[0162] Operation 1600 begins with the processing level loading a μflow of a DFF or DFF container (box 1605). The μflow can be loaded from the SRE's memory or retrieved from a server storing the DFF or DFF container. The processing level retrieves or receives data for the μflow (box 1607). The processing level can retrieve or receive data for a μflow that is currently executing or will execute for less than a specified time period. Alternatively, the processing level can retrieve or receive data for all μflows of a DFF or DFF container, and then, when the data required for a specific μflow is retrieved or received, execution of that specific μflow can begin. The processing level executes the μflow (box 1609). The execution of the μflow produces data, which can be intermediate data used to execute other μflows of a DFF or DFF container, or final output data that can be used by other DFFs or provided to other components of a modem or communication device. The processing level can also process the results (box 1611). The processing level can process the results before providing them to other μflows or outputting the final output data.
[0163] According to an exemplary embodiment, a DFF is used to perform power control in a modem. As previously described, a DFF is used to perform network services or their applications. However, a DFF can also be used to perform power control. For example, a DFF in which the actuator is not performing processing and there is no data to be received, generated, or transmitted can be used to put one or more processing stages of the SRE into a reduced power state to reduce power consumption. A reduced power state can be achieved simply by shutting down the clock of the processing stage, or more complexly by putting the circuitry of the processing stage into a sleep state. Such a DFF is called an empty DFF.
[0164] In one embodiment, when the modem host detects that at least one processing level of the SRE has not performed any DFF for a period of time, the modem host inserts an empty DFF for the SRE. For example, the modem host may process the expected arrival patterns of the DFF and data to determine this period. For example, the duration of the empty DFF inserted by the modem host may be shorter than the period during which at least one processing level of the SRE has not performed any DFF, so that at least one processing level has sufficient time to recover to normal before subsequent DFFs arrive.
[0165] Figure 17A A flowchart illustrating an exemplary operation 1700 occurring in a modem host with an empty DFF inserted is shown. Operation 1700 can indicate the actions that occur in a modem with an empty DFF inserted when an inactivity period is detected.
[0166] Operation 1700 begins with the modem host performing a check to determine if a period without the expected DFF exists (box 1705). The check may determine if at least one processing level of the SRE is idle for a period of time. Alternatively, the check may determine if an SRE is idle for a period of time. The processing level's period of time may differ from the SRE's period of time. For example, the processing level's period of time may be longer than the SRE's period of time. For example, the period of time may be specified by the modem operator. If a period without the expected DFF exists, the modem host inserts a resource request with an empty DFF (box 1707). For example, the duration for which the modem host inserts a resource request with an empty DFF may be shorter than the period without the expected DFF. The shorter duration of the empty DFF compared to the period without the expected DFF will give the SRE or processing level sufficient time to return to normal before a subsequent DFF arrives.
[0167] Figure 17B A flowchart illustrating an exemplary operation 1750 occurring in a controller executing an empty DFF is shown. Operation 1750 can indicate operations occurring in the controller of an SRE executing an empty DFF.
[0168] Operation 1750 begins with the controller performing a check to determine if a resource request has been received (box 1755). If a resource request has been received, the controller performs a check to determine if the DFF or DFF container associated with the resource request is an empty DFF (box 1757). If the resource request is associated with an empty DFF, the controller allocates the empty DFF (box 1759). An empty DFF can be allocated to one or more processing levels. For example, the allocation of an empty DFF can be based on DFF acceptance rules. The controller initiates the execution of the empty DFF (box 1761). The execution of the empty DFF can involve gating the clocks of one or more processing levels. The execution of the empty DFF can involve putting one or more processing levels into a de-powered state or a sleep state.
[0169] If a resource request is not associated with an empty DFF, the controller allocates a DFF or DFF container (box 1763). For example, the allocation of a DFF can be based on DFF acceptance rules. The controller initiates the execution of the DFF or DFF container (box 1765). For example, the execution of a DFF or DFF container by one or more processing levels can follow the above procedure.
[0170] Figure 18 A schematic diagram 1800 illustrates the interaction between the controller 655 and components within the processing level. (As shown...) Figure 18As shown, controller 655 interacts with components within the processing level through data dependency resolver 735, which includes a token table and an executor list 737. Components of the processing level include a level manager 725, a pool manager 1805, SHOC resources 731, and a shared buffer and memory subsystem 739.
[0171] Level manager 725 can accept DFF nodes that need to be executed from controller 655 and send the DFF node identifier (DFFNODEID) to pool manager 1805. The DFF node identifier includes the computational and memory resources required to execute the DFF node. Pool manager 1805 can accept the scheduling kernel (μflow) to be executed, find the resources for executing the kernel, and notify level manager 725 to reconfigure SHOC element 731 as needed.
[0172] Tasks in the processing level include:
[0173] -Runtime Scheduling - The Level Manager 725 applies different scheduling algorithms (e.g., early deadline priority, round-robin, etc.) based on the timing information carried in the executor list.
[0174] - Resource Pool Management and Allocation — When a μflow or kernel is scheduled, the level manager 725 acts as a pool manager 1805 to retain output tokens from the shared buffer memory in the processing level. The level manager 725 also retains SHOC elements 731, so that the scheduled μflow or kernel has resources for timely completion.
[0175] -SHOC Reconfiguration—If a new SHOC image is needed to support features different from those currently allocated, the level manager 725 is responsible for reconfiguring the SHOC element 731 during runtime. SHOC reconfiguration can occur once a DFF has been allocated and the pool manager 1805 has reserved resources for scheduling μflows or kernels.
[0176] Other tasks that occur at the processing level include:
[0177] - Receive relevant information from the input arc (e.g., μflow or kernel input token size);
[0178] - If DMA is needed to move the input token to another processing level, prepare a list of DMA transfer parameters;
[0179] - Check the available buffer space at the processing level and present the information to the scheduler and pool manager 1805 for further decisions;
[0180] - Perform state maintenance and update the ready queue based on μflow or kernel;
[0181] Once μflow or the kernel completes successfully, it sends control messages to other processing levels or generates events for those processing levels.
[0182] Figure 19 A flowchart illustrating an exemplary operation 1900 occurring in the level manager of the processing level is shown. Operation 1900 may instruct operations occurring in the level manager 725 of the processing level that performs the DFF.
[0183] Operation 1900 begins with level manager 725 granting write access permissions to dependency resolver 735 of the token table and access list 737 of the processing level (box 1905). Granting write access permissions to dependency resolver 735 gives it write permissions to the token table and access list 737. Dependency resolver 735 updates pointers received from the suspend buffer (box 1907). Dependency resolver 735 only updates pointers received from the suspend buffer associated with the processing level. Other input token pointers can be assigned locally.
[0184] A check is performed to determine if tokens are ready (box 1909). For example, the check could determine if all tokens are ready for one or more specific tasks. If tokens are not ready, level manager 725 returns to box 1905 to grant write access to dependency resolver 735, enabling dependency resolver 735 to update pointers received from the suspend buffer.
[0185] If the token is ready, the level manager 725 indicates that the μflow is ready for scheduling (box 1911). Furthermore, the scheduler of the level manager 725 checks the ready μflows and selects a μflow based on a queuing policy (e.g., first in first out, FIFO, etc.) and schedules the selected μflow to the pool manager 1805, enabling the pool manager 1805 to retain the SHOC resource 731 and the output token.
[0186] Level manager 725 performs a check to determine if the scheduler has selected a μflow (box 1913). If the scheduler has not selected a μflow, level manager 725 continues scheduling. If the scheduler has selected a μflow, level manager 725 sets a bit associated with the μflow to indicate that the μflow has been selected by the scheduler (box 1915). This bit is called the scheduling bit. Furthermore, level manager 725 reconfigures SHOC resource 731 based on allocation and selects a μflow as the optimal μflow. The selection of the optimal μflow can be based on a selection strategy, such as round-robin, minimum energy, minimum latency, etc. For example, level manager 725 reconfigures SHOC resource 731 based on the optimal μflow.
[0187] Level manager 725 performs a check to determine whether pool manager 1805 has been allocated resources (box 1917). If pool manager 1805 has not yet allocated resources, level manager 725 waits until pool manager 1805 allocates resources. If pool manager 1805 has allocated resources, level manager 725 initiates execution of μflow (box 1919). For example, level manager 725 can set the run bit associated with μflow to initiate execution of μflow.
[0188] Level manager 725 performs a check to determine whether SHOC resource 731 has completed executing μflow (box 1921). If SHOC resource 731 has not completed executing μflow, level manager 725 waits until SHOC resource 731 completes executing μflow. If SHOC resource 731 completes, level manager modifies the state of μflow (box 1923). The modification of the μflow state occurs at the previous level manager or packet processor 657, such that, for example, the corresponding input token buffer can be released. Dependency resolver 735 can place level manager 725 into a low-power state until a subsequent kernel allocation is called (box 1925).
[0189] Level Manager 725 performs checks to determine if a μflow has completed execution (box 1927). For example, a μflow may have already completed execution when SHOC resource 731 indicates or triggers a flag or condition. If a μflow has not yet completed execution, Level Manager 725 waits until the μflow completes execution. If the μflow has completed execution, Level Manager 725 exits the low-power state if it has already entered the low-power state (box 1929). Level Manager 725 also notifies any consumer of the μflow's output tokens to prepare for the μflow and the token point's output tokens. For example, Level Manager 725 removes the entry corresponding to the μflow from the executor list and resets the corresponding ready, scheduled, and run bits for the μflow. The μflow can now return to the waiting state and await further data triggering. Level Manager 725 also releases input buffers reserved for the completed μflow and prepares to grant ownership of the output buffers to the associated triggered μflow.
[0190] Level manager 725 performs a check to determine if the μflow is the last μflow of the DFF (box 1931). In other words, level manager 725 checks to determine if the DFF has completed execution. If the μflow is not the last μflow of the DFF, level manager 725 returns to box 1905 to continue the execution of the DFF by preparing the processing level for another μflow of the DFF. If the μflow is the last μflow of the DFF, level manager 725 completes the execution of the DFF (box 1933). The completion of the DFF may include storing the output token, sending a message, clearing buffers, etc. Level manager 725 also notifies controller 655 and packet processor 675 of the completion of the DFF execution. For example, a control message is sent to controller 655 or packet processor 657 to notify of the completion of the DFF. Examples of actions performed after the completion of the DFF include:
[0191] - Set up DMA to move the final result of the DFF to another SRE of the modem and release the output token buffer space after moving the final result.
[0192] - If the same DFF is no longer executed, exit the DFF entry deployed across multiple processing levels.
[0193] Figure 20A and Figure 20B An exemplary token table and executor list at the processing level are shown. Figure 20A and Figure 20B As shown, μflow I 2005 belongs to level II 2007, and the level manager 725 (also located in level II 2007) is responsible for sending control message 2009 to level I 2011 when μflow I 2005 completes execution. Control message 2009 is routed from level II 2007 to level I 2009 via the control and management crossbar switch 723 and triggers dependency resolver 735 to evaluate μflows that depend on μflow I 2005. Figure 20A and Figure 20B As shown, dependency resolver 735 is located in level I 2011.
[0194] Figure 20C It shows Figure 20A Diagram 2060 illustrates the dependencies defined in [the original text]. Diagram 2060 describes [the dependencies]. Figure 20A The dependencies between actuators and arcs are defined in the code. For example, actuator H 2065 depends on actuators A 2067 and I 2069 to be energized before actuator H 2065 can begin operation according to its configuration. Similarly, actuator B 2071 only reacts when actuator H 2065 is energized.
[0195] Figure 21A and Figure 21B Exemplary devices are shown that can implement the methods and teachings according to the present invention. Specifically, Figure 21A An example ED 2110 is shown. Figure 21B An exemplary base station 2170 is shown.
[0196] like Figure 21A As shown, ED 2110 includes at least one processing unit 2100. The processing unit 2100 implements various processing operations of ED 2110. For example, the processing unit 2100 may perform signal encoding, data processing, power control, input / output processing, or any other function that enables ED 2110 to operate in the system. The processing unit 2100 also supports the methods and instructions described in detail above. Each processing unit 2100 includes any suitable processing or computing device for performing one or more operations. For example, each processing unit 2100 may include a microprocessor, microcontroller, digital signal processor, field-programmable gate array, or application-specific integrated circuit.
[0197] ED 2110 also includes at least one modem 2102. Modem 2102 may be part of a transceiver. Modem 2102 is used to modulate data or other content for transmission by at least one antenna or network interface controller (NIC) 2104. Modem 2102 is also used to demodulate data or other content received by at least one antenna 2104. Each modem 2102 includes any suitable structure for generating signals for wireless or wired transmission or for processing signals received wirelessly or wiredly. Each antenna 2104 includes any suitable structure for transmitting or receiving wireless or wired signals. One or more modems 2102 and one or more antennas 2104 may be used in ED 2110. Although shown as a single functional unit, modem 2102 may also be implemented using at least one transmitter and at least one separate receiver.
[0198] ED 2110 also includes one or more input / output devices 2106 or interfaces (e.g., wired interfaces to the Internet). Input / output devices 2106 facilitate interaction with users or other devices on the network (network communication). Each input / output device 2106 includes any suitable structure for providing or receiving information from a user, such as a speaker, microphone, keypad, keyboard, display, or touchscreen, including network interface communication.
[0199] In addition, ED 2110 includes at least one memory 2108. Memory 2108 stores instructions and data used, generated, or collected by ED 2110. For example, memory 2108 may store software or firmware instructions executed by one or more processing units 2100, as well as data for reducing or eliminating interference in incoming signals. Each memory 2108 includes any suitable one or more volatile or non-volatile storage and retrieval devices. Any suitable type of memory can be used, such as random access memory (RAM), read-only memory (ROM), hard disk, optical disk, subscriber identity module (SIM) card, memory stick, secure digital (SD) card, etc.
[0200] like Figure 21B As shown, base station 2170 includes at least one processing unit 2150, at least one modem 2152 (including functionality for transmitters and receivers), one or more antennas 2156, at least one memory 2158, and one or more input / output devices or interfaces 2166. A scheduler, as understood by those skilled in the art, is coupled to processing unit 2150. The scheduler may be included within base station 2170 or may operate separately from base station 2170. Processing unit 2150 implements various processing operations of base station 2170, such as signal encoding, data processing, power control, input / output processing, or any other function. Processing unit 2150 may also support the methods and teachings described in detail above. Each processing unit 2150 includes any suitable processing or computing device for performing one or more operations. For example, each processing unit 2150 may include a microprocessor, microcontroller, digital signal processor, field-programmable gate array, or application-specific integrated circuit.
[0201] Each modem 2152 includes any suitable structure for generating signals to be transmitted wirelessly or wired to one or more EDs or other devices. Modem 2152 may be part of a transceiver. Each modem 2152 also includes any suitable structure for processing signals received wirelessly or wiredly from one or more EDs or other devices. Although shown as modem 2152, the transmitter and receiver may be separate components. Each antenna 2156 includes any suitable structure for transmitting or receiving wireless or wired signals. Although a common antenna 2156 is shown herein coupled to modem 2152, one or more antennas 2156 may be coupled to one or more modems 2152, such that individual antennas 2156 are coupled to the transmitter and receiver as separate components. Each memory 2158 includes any suitable one or more volatile or non-volatile storage and retrieval devices. Each input / output device 2166 facilitates interaction with users or other devices in the network (network communication). Each input / output device 2166 includes any suitable structure for providing information to or receiving information from a user, including a network communication interface.
[0202] It should be understood that one or more steps in the methods of the embodiments provided herein can be performed by corresponding circuits, units, or modules. For example, a signal can be transmitted by a transmitting circuit, unit, or module. A signal can be received by a receiving circuit, unit, or module. A signal can be processed by a processing circuit, unit, or module. Other steps can be performed by a determining circuit, unit, or module, a retrieving circuit, unit, or module, an allocating circuit, unit, or module, or a storage circuit, unit, or module. The corresponding circuit, unit, or module can be hardware, software, or a combination thereof. For example, one or more of the circuit, unit, or module can be an integrated circuit, such as a field-programmable gate array (FPGA) or an application-specific integrated circuit (ASIC).
[0203] Although the invention and its advantages have been described in detail, it should be understood that various changes, substitutions and modifications may be made without departing from the scope of the invention as defined by the appended claims.
Claims
1. A method implemented by a modem host, characterized in that, The method includes: Retrieve data stream fragments (DFFs) of applications supported by the modem, wherein the modem is controlled by the modem host; Receive a first data packet associated with the first application; and Send a first resource request to at least one first resource unit of the modem, the first resource request including the first data packet and a first DFF associated with the first application; The method further includes: For at least one fourth resource unit determined by the modem host to be idle for a period of time, another resource request with an empty DFF is inserted, wherein the empty DFF is used to put one or more processing stages of the fourth resource unit into a power-reducing state to reduce power consumption.
2. The method according to claim 1, characterized in that, The method includes receiving an acceptance of the first resource request.
3. The method according to claim 1 or 2, characterized in that, The method includes: Receive the second data packet associated with the second application; Send a second resource request to at least one second resource unit of the modem, the second resource request including the second data packet and a second DFF associated with the second application; Determine to reject the second resource request; and A third resource request is sent to at least one third resource unit of the modem, the third resource request including the second data packet and the second DFF associated with the second application.
4. The method according to claim 1, characterized in that, The empty DFF includes instructions for reducing the power consumption of the at least one fourth resource unit for a duration shorter than the time period.
5. The method according to claim 1 or 2, characterized in that, The method includes adjusting the performance envelope of the resource unit.
6. The method according to claim 5, characterized in that, Adjusting the performance envelope includes the modem host changing the processing load on the resource unit.
7. The method according to claim 5, characterized in that, Adjusting the performance envelope includes increasing or decreasing the resource requests sent to the resource unit.
8. A method implemented by a controller of a resource unit, characterized in that, The method includes: Receive a first resource request including a first data packet and a first data stream fragment (DFF) associated with a first application, the first DFF being generated by computing resources based on a description of the first application; Based on the DFF acceptance policy, the first resource request is accepted. Store the first data packet in the buffer; and The first DFF is assigned to at least one first processing level of the resource unit; Receive another resource request with an empty DFF; and Based on the DFF acceptance policy, the other resource request is accepted. Accordingly, the empty DFF is allocated to one or more processing levels of the fourth resource unit, so that the one or more processing levels of the fourth resource unit enter a power reduction state to reduce power consumption.
9. The method according to claim 8, characterized in that, The DFF acceptance strategy includes at least one of the following: expected DFF arrival rate, expected data arrival rate, processing load of the processing level of the resource unit, or availability of the processing level of the resource unit.
10. The method according to claim 8 or 9, characterized in that, The method includes: Receive a second resource request and a second data packet of a second DFF associated with a second application; and Based on the DFF acceptance policy, the second resource request is rejected, and a first resource response indicating rejection of the second resource request is sent.
11. The method according to claim 8 or 9, characterized in that, The method includes: Receive the third resource request from the first empty DFF; and Based on the DFF acceptance policy, the third resource request is rejected, and a second resource response indicating rejection of the third resource request is sent.
Citation Information
Patent Citations
System and method for supporting low latency applications in a cloud radio access network
US20180248787A1
Cloud brokerage application decomposition and migration
US20200257567A1
