Trigger response clip extraction based on remote analysis
By introducing a remote analysis-based trigger response clip extraction mechanism into the intelligent video analysis system, edge devices can extract and store video clips, solving the problem of low video stream storage and retrieval efficiency, and improving the overall efficiency and analysis capabilities of the system.
Patent Information
- Application Number
- CN202111395552.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-11-24
- Filing Date
- 2021-11-23
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-11-23
AI Technical Summary
Existing intelligent video analysis systems cannot effectively store and retrieve the entire video stream in edge devices, resulting in some events of interest being missed, and parts of the video required by cloud devices being unavailable in edge devices.
Implement a trigger-response clip extraction mechanism based on remote analysis at the edge device to detect objects and events in the data stream through the remote device and generate extraction triggers, allowing the edge device to extract and store video clips for analysis by the remote device.
It improves the efficiency of distributed systems, reduces the possibility of events of interest being missed, optimizes storage resource usage, and allows edge devices to perform identification tasks while complex analysis is handled by remote devices.
Smart Images

Figure CN114554279B_ABST
Abstract
Description
Background Art
[0001] Intelligent video analysis (IVA) systems are used to analyze video streams in real time and provide the results of the analysis. A popular deployment of IVA systems is implemented using a distributed computing architecture with edge devices and cloud devices. In a typical deployment, the edge device analyzes the video stream to detect events and stores the portion of the video related to the event, and transmits metadata corresponding to the event to the cloud device. The metadata is then used to identify specific objects (such as cars and pedestrians) and timestamps. In a typical deployment, the cloud device can retrieve portions of the video from the edge device.
[0002] Because each edge device analyzes the video stream captured by the edge device in isolation, some events of interest may be missed. Since metadata is received from multiple edge devices, the cloud device benefits from a larger context. Based on further analysis of the metadata and / or retrieved video portions in the larger context, the cloud device or a user of the cloud device may determine that additional video portions should be checked. However, edge devices typically do not store the entire captured video stream. Even the stored portion may be overwritten by subsequently captured video and therefore unavailable for an indefinite period of time. Therefore, additional video portions required by the cloud device may not be available in the edge device and cannot be retrieved. There is a need to solve these problems and / or other problems associated with the prior art. Summary of the invention
[0003] Embodiments of the present disclosure relate to trigger response clip extraction based on remote analysis at an edge device. According to embodiments, each edge device detects objects, instances, and / or occurrences present in a continuous data stream and generates detection data that is transmitted to a remote device. The edge device can perform simple recognition operations, while the remote device implements complex algorithms to recognize events, benefiting from a larger context than is available to a single edge device. The remote device can analyze detection data received from multiple edge devices over time.
[0004] Based on the analysis, the remote device determines which time periods of the data stream cached in the edge device should be extracted and stored. The remote device generates an extraction trigger that is transmitted to one or more of the edge devices, causing the one or more edge devices to extract clips of the cached data stream and store them to a persistent storage device. The remote device can then retrieve these clips. The extraction trigger provides a mechanism for extracting clips from one or more data streams cached in one or more edge devices based on remote analysis. The continuous acquisition of data and identification of objects by the edge device are separated from the analysis performed by the remote device. In other words, the analysis can be performed asynchronously with the acquisition and identification. In contrast, conventional systems perform capture and analysis within each edge device. BRIEF DESCRIPTION OF THE DRAWINGS
[0005] Below, the present system and method for trigger response clip extraction based on remote analysis is described in detail with reference to the accompanying drawings, in which:
[0006] Figure 1A FIGURE 1 illustrates a block diagram of an example distributed stream analytics and storage system suitable for implementing some embodiments of the present disclosure;
[0007] Figure 1B-1D Figure illustrates a clip of the contents of a rolling buffer, transmission of detection data, and storage over time in accordance with one embodiment;
[0008] Figure 2A FIGURES A flow chart illustrating a method for trigger-controlled clip extraction according to one embodiment;
[0009] Figure 2B FIGURE 1 illustrates another block diagram of an example distributed stream analytics and storage system suitable for implementing some embodiments of the present disclosure;
[0010] Figure 3 FIGURE 1 illustrates a flow chart of a method for generating an extraction trigger suitable for use in implementing some embodiments of the present disclosure;
[0011] Figure 4 illustrates an example parallel processing unit suitable for use in implementing some embodiments of the present disclosure;
[0012] Figure 5A For use in some embodiments of the present disclosure, Figure 4 A conceptual diagram of a processing system implemented by a PPU;
[0013] Figure 5B illustrates an exemplary system in which the various architectures and / or functionality of the various previous embodiments may be implemented;
[0014] Figure 5C The diagram illustrates components of an exemplary system that may be used to train and utilize machine learning in at least one embodiment. DETAILED DESCRIPTION
[0015] Systems and methods are disclosed that relate to trigger-responsive clip extraction based on remote analysis. A mechanism for extracting clips from a data stream in response to receiving a trigger from a remote analysis service enables acquisition operations and detection operations to be separated from the remote analysis. In addition, acquisition is uninterrupted and separated from the extraction and storage of clips. The mechanism is particularly useful for extracting video clips from a continuous real-time video stream cached in an edge device and storing the video clips based on analysis performed using multiple real-time video streams over time.
[0016] In contrast to conventional systems such as those described above, when an edge device receives an extraction trigger, a clip is extracted from a cached real-time video stream and stored in a persistent storage device associated with the edge device. Therefore, the edge device may not store the entire captured video stream to a persistent storage device. The real-time video stream received during remote analysis is cached at the edge device to compensate for the delay caused when the remote device performs the analysis. Since detection and / or streaming data are received from multiple edge devices, the remote device benefits from a larger context, reducing the possibility that some events of interest are missed. When the edge device receives an extraction trigger from a remote device, the clip specified by the extraction trigger is extracted from the cached data stream and stored. The burden of identifying portions of the data stream that are stored for further analysis can be advantageously removed from the edge device. The overall efficiency of the distributed system can be improved because portions of the data stream that are not needed are not stored, and the edge device can perform the identification task, while more complex analysis is performed by the remote device. Furthermore, portions of the data stream that do not necessarily need to be stored based on the analysis of a single edge device can be identified by remote analysis and stored by the edge device in response to an extraction trigger.
[0017] The disclosed embodiments can be implemented using a wide variety of different systems such as automotive systems, robotics, aerial systems, boating systems, smart area monitoring, simulations, and / or other technical fields. The disclosed methods can be used for any perception-based or more generally image-based analysis, monitoring, and / or tracking of objects and / or environments.
[0018] Analyzing traffic at intersections and along roads is crucial to managing traffic flow, minimizing congestion and GHG emissions, maximizing the safety of pedestrians and vehicles, and responding to emergency situations. Despite the increasing number of cameras along our road networks, existing systems have been unable to monitor camera feeds in real time and use this information to effectively manage certain traffic conditions along the roads or otherwise react to them. For example, these existing systems may have limited capabilities that only allow detection of a fixed set of observation types. In particular, specific rules can typically be customized to perform video analysis. For example, existing methods may require specific inputs to customize video analysis of traffic camera data for each camera at each location. This may be the result of the wide variability present in the visual information captured by cameras at different locations. Such visual variability may occur for a variety of reasons, for example, as a function of the camera, the vantage point of the camera, the scene being observed, the environment, weather conditions (e.g., wind, rain, hail, dust, etc.) and / or the time of day (e.g., affecting ambient lighting, shadows, etc.). Due to the wide range of visual variability that each camera can introduce, it is inefficient and ineffective to generate customized video analytics to cover the vast number of conditions that each individual camera will encounter, and the even greater number of conditions that different cameras will encounter, thereby preventing these traffic cameras from being effectively used to extract relevant, timely insights about traffic flow, safety, and accidents.
[0019] Accordingly, the embodiments described herein relate to tracking objects such as vehicles, machines (such as robots), or pedestrians and using object trajectories to identify object motion events. At a high level, a monitoring or sensor device (e.g., a camera) can continuously monitor an area of a physical environment. Continuous monitoring of object motion can also allow for the identification of various trajectory features such as average speed, vehicle flow, etc. Detection of the object can be performed at the edge device, and the object motion can be monitored and analyzed by a remote device to identify object motion events.
[0020] Figure 1AThe figure shows a block diagram of an example distributed stream analysis and storage system 100 suitable for implementing some embodiments of the present disclosure. It should be understood that this and other arrangements described herein are set forth as examples only. In addition to or in place of those shown, other arrangements and elements (such as machines, interfaces, functions, sequences, functional groupings, etc.) may be used, and some elements may be omitted together. In addition, many of the elements described herein are functional entities that may be implemented as discrete or distributed components or in combination with other components, in any appropriate combination and position. The various functions described herein as being performed by an entity may be implemented by hardware, firmware, and / or software. For example, the various functions may be implemented by a processor executing instructions stored in a memory. In addition, it will be appreciated by those of ordinary skill in the art that any system that performs the operations of the distributed stream analysis and storage system 100 is within the scope and spirit of the embodiments of the present disclosure.
[0021] like Figure 1A As depicted in , an embodiment of a distributed stream analytics and storage system 100 may include edge devices 130, one or more networks 115, and an analytics service 120. The purpose of the distributed stream analytics and storage system 100 is to store interesting clips of a real-time data stream, where "interesting" is determined according to analysis over time and / or based on a data stream captured by at least one edge device 130. The edge device 130 generates detection data by processing a real-time continuous data stream acquired by one or more sensors 102.
[0022] In deployment, the sensor 102 can collect or capture a continuous data stream in the environment. The continuous data stream may include image data representing a still image or video depicting the motion of an object. In one or more embodiments, one or more sensors 102 may include, for example, a camera (e.g., a video camera, a monocular camera, a stereo camera, a 360-degree camera, a wide-angle camera, etc.) placed in the environment, which can be used to obtain environmental data (e.g., images and / or videos) in the camera field of view. As another example, one or more light detection and ranging (LIDAR) sensors, infrared (IR) sensors, radio detection and ranging (RADAR) sensors, weather sensors, speed sensors, and / or other sensor types may be able to capture one or more aspects of the weather or objects (e.g., vehicles, pedestrians, animals, drones, aircraft, etc.) in the environment, temperature, wind speed, precipitation, object speed, acceleration, and / or rate, and / or the like. In one example, one or more sensors 102 (e.g., microphones) may capture sounds in the environment. A real-time continuous data stream may be any type of continuous data provided by the sensor 102, such as audio, video, temperature, air quality, and the like.
[0023] The detection data generator 110 processes the continuous data stream acquired by the sensor 102 to generate detection data corresponding to at least one time period in the data stream. The detection data may indicate the presence of an object, an event, or an instance in the data stream during the time period. Examples of detection data include classification data, object segmentation data, and location data. The detection data may indicate a time period corresponding to an object in a video stream, a sound in an audio stream, and the like. For example, the detection data may include the location and attributes (color, shape) of an identified object (car). In one embodiment, the edge device 110 is configured to identify the presence of an object, an event, or an instance in a data stream using a predetermined standard.
[0024] In one embodiment, the detection data generator 110 generates annotations (e.g., bounding boxes, marks, or coordinates) included in the detection data. Annotations may represent the position and / or dimensions (e.g., geometric shapes, whose positions and dimensions may vary from frame to frame, indicating the time tracking of an object) of the bounding box of an object, and / or other attributes of an object identified in a video. The detection data generated by the detection data generator 110 may represent any detectable aspects of a video frame, such as visual features of a video frame. The detection data generator 110 may generate detection data associated with a video data frame using a timestamp corresponding to a time period. For example, the detection data generator 110 may generate detection data of a video data frame using a specific timestamp, and may synchronize the frame and the detection data by associating the detection data with the timestamp. As an example, the timestamp associated with the detection data may be used to extract clips from the rolling buffer 105. The detection data generator 110 may transmit the generated detection data of each frame associated with the timestamp to the analysis service 120 via the network 115.
[0025] In one embodiment, a detection data generator 110 uses one or more machine learning models (MLMs) to detect vehicles and / or vehicle positions in a video frame and generates detection data. Another detection data generator 110 may use one or more MLMs to detect pedestrians and / or pedestrian positions in a video frame and generate detection data corresponding to the detected pedestrians. These detection data generators 110 may be included in the same edge device 130 or in different edge devices 130 and may operate serially and / or in parallel on the same or different video streams. As described herein, the MLMs may use, for example, Figure 4 The parallel processing unit (PPU) 400 may be implemented by one or more multi-core processors, GPUs, and / or virtual CPUs or GPUs.
[0026] Conventionally, edge devices can save the entirety of a video stream to a persistent, non-volatile, or permanent storage device (e.g., a disk or hard disk) so that specific clips can be provided to a computing node for presentation or further analysis. Since storing the entire video stream is expensive in terms of storage resources, the entire video stream can instead be stored for a limited amount of time (e.g., 24 hours, a week). Indiscriminately storing the entire video stream is expensive in terms of storage costs, but can provide enough time for analysis. Some conventional edge devices store portions of a video stream in response to predetermined activities (e.g., motion, sound). Storing only portions of the video stream also allows time for analysis, but frames of the video stream that are interesting based on analysis may not yet have been selected for storage. Other video stream sampling techniques (e.g., storing one frame per minute) can also have low storage costs, but have similar drawbacks to storing only portions of the entire video stream.
[0027] like Figure 1A As shown, the detection data generator 110 receives a continuous data stream, which is processed by the detection data generator 110 and written to the rolling buffer 105 at the same time. In contrast to the persistent storage device, the rolling buffer 105 does not necessarily retain data when the power is off. The rolling buffer can be implemented using registers or physical or virtual RAM. In one or more embodiments, the rolling buffer 105 may have a limited capacity, so that once the buffer is full, the oldest data is overwritten with new data. In one embodiment, the rolling buffer 105 is a circular buffer. The detection data can also be written to the rolling buffer 105.
[0028] The detection data is transmitted to the analysis service 120 via the network 115. In one embodiment, the detection data is transmitted via a message broker. In one embodiment, the analysis service 120 is located at a remote node and / or is included in a cloud device. The edge device 130 and the analysis service 120 components in the distributed stream analysis and storage system 100 can communicate via the network 115. The network 115 may include a wide area network (WAN) (e.g., the Internet, a public switched telephone network (PSTN) and the like), a local area network (LAN) (e.g., Wi-Fi, ZigBee, Z-wave, Bluetooth, Bluetooth low energy (BLE), Ethernet, etc.), a low power wide area network (LPWAN) (e.g., LoRaWAN, Sigfox, etc.), a global navigation satellite system (GNSS) network (e.g., a global positioning system (GPS)) and / or another network type. In any example, each of the components of the distributed stream analysis and storage system 100 can communicate with one or more of the other components via one or more of the networks 115. In some examples, the network 115 includes one or more core networks and / or edge networks of a cloud computing system.
[0029] In one embodiment, the distributed stream analytics and storage system 100 is configured to detect vehicles and analyze the paths and / or locations of the detected vehicles over time to identify traffic violations. Detection of a vehicle is an example of a predetermined criterion that the detection data generator 110 is configured to identify. Driving more than one block in a bike lane is an example of a predetermined criterion that the analysis service 120 uses to generate an extraction trigger. A single edge device 130 installed in a fixed location may not be able to acquire the images needed to determine that a vehicle has been in a bike lane for more than one block, while the analysis service 120 may receive sufficient detection data from multiple edge devices 130 in different locations to make this determination.
[0030] As previously described, the continuous data stream is first processed to detect objects, and the detection data is transmitted to a remote node for analysis. The analysis performed by the analysis service 120 differs from detection in that the behavior of detected objects, occurrences, or instances can be tracked over time and across different locations, particularly when multiple edge devices 130 provide detection data to the analysis service 120.
[0031] Based on the analysis of the detection data, the analysis service 120 generates one or more extraction triggers, each of which specifies a clip to be extracted from the real-time continuous data stream. The detection data is analyzed to determine which portions of the real-time data stream qualify as interesting and are stored to the persistent clip storage 125. In one embodiment, the analysis service 120 generates annotations (e.g., bounding boxes, markers, or coordinates) included in the extraction triggers. These annotations can be stored with the clips.
[0032] The extraction trigger defines a portion of the continuous data stream stored in the rolling buffer 105 to be extracted to generate a clip. The portion is associated with a time period and can be specified by a timestamp, frame number, etc. The extracted clip is then stored by the detection data generator 110 to the persistent clip storage 125. In one embodiment, annotations can be stored and / or combined with the clip. The analysis service 120 can retrieve the clip stored in the persistent clip storage 125 via the network 115.
[0033] Latency is introduced from the time the continuous data stream is acquired, the detection data is generated, the detection data is analyzed, to the time an extraction request for a clip of the continuous data stream stored in the rolling buffer 105 is received at the edge device 130. The capacity of the rolling buffer 105 should be sufficient to accommodate this latency so that the portion of the continuous data stream that is the target of extraction by the analysis service 120 is not overwritten by new data.
[0034] In one embodiment, the detection data is generated by the edge device and the trigger is generated by the core device in the cloud computing system, so that the detection is separated from the analysis and storage of the clipped detection data. The core device can receive the detection data from multiple edge devices. Therefore, the extraction trigger can be generated by the comprehensive analysis and / or detection data over time based on multiple sensors 102 and / or edge devices 130. In one embodiment, the analysis service 120 includes a neural network that is trained to analyze the detection data of specific behaviors. The analysis service 120 can be implemented as a recursive neural network (RNN), a long short-term memory (LSTM) neural network, a convolutional neural network (CNN), etc. In one embodiment, Figure 5C The system 555 shown in FIG. 5 can be used to train the analysis service 120 .
[0035] Despite Figure 1A 105, but the persistent clip storage 125 may be external to the edge device 130 and coupled to the network 115, or in a different edge device 130 that is also coupled to the network 115. In one embodiment, regardless of the physical location of the analysis service 120 relative to the edge device 130, the analysis service 120 does not share computing resources with the edge device 130. The analysis service 120 also cannot directly access the data stored in the rolling buffer 105.
[0036] Depending on the needs of the user, more illustrative information about various optional architectures and features that may be used to implement the aforementioned framework will now be described. It should be particularly noted that the following information is described for illustrative purposes and should not be interpreted as limiting in any way. Any of the following features may be optionally combined with or without excluding the other features described.
[0037] Figure 1B The figure illustrates the contents of the rolling buffer 105 and the transmission of detection data according to one embodiment. Conceptually, the rolling buffer 105 is filled with new data from the left, similar to a first-in-first-out buffer, overwriting the oldest data stored in the rolling buffer 105. When the detection data generator 110 processes a portion of the continuous data stream corresponding to the time period 150, the detection data 130 is generated and transmitted to the analysis service 120 via the network 115. The detection data 130 may include a timestamp, a location, attributes of an identified object, attributes of an identified instance, attributes of an identified occurrence, comments, a frame number, or other information. The detection data 130 may also be written to the rolling buffer 105.
[0038] Figure 1CThe figure shows a clip of content from a rolling buffer 105 stored in accordance with one embodiment. After the detection data 130 is received and analyzed by the analysis service 120, an extraction trigger is generated. The extraction trigger is transmitted from the analysis service 120 to the detection data generator 110 via the network 115. In response to receiving the extraction trigger 132, the detection data generator 110 extracts the clip 155 from the rolling buffer 105 and stores the clip 155 to the persistent clip storage 125. In one embodiment, the clip 155 includes the entire time period 150, a portion of the time period 150, or a portion of the data stored in the rolling buffer 105 that does not include the time period 150. The extraction trigger transmitted by the analysis service 120 specifies a portion of the continuous data stream to be extracted and stored. In one embodiment, the extraction trigger 132 is generated based on the detection data received from different edge devices 130. In one embodiment, the extraction trigger 132 is generated based on the detection data received from two or more edge devices 130.
[0039] The extraction trigger 132 may also specify whether any other information, such as properties of an identified object, properties of an identified instance, properties of an identified occurrence, annotations, and / or frame numbers, is to be included with the clip 155 and also stored to the persistent clip storage 125. In one embodiment, the extraction trigger 132 may specify or otherwise indicate a timestamp used to identify one or more frames of a video stream in the rolling buffer 105. Each timestamp may correspond to a frame of the video stream (e.g., a video stream with a frame rate of 30fps may have a first frame with a timestamp, and subsequent frames may have timestamps 33ms later). The edge device 130 may store (e.g., locally, such as on-site, or remotely to an external location) video data indexed by the timestamp or otherwise associated with the timestamp in the rolling buffer 105 and / or the persistent clip storage 125.
[0040] The clips stored in the persistent clip storage 125 may be indexed based on any number of methods, which may include but are not limited to the timestamp of the detection data, the classification of the object described by the detection data, the location at which the detection data was generated, properties of the associated data stream, or any combination of methods.
[0041] Figure 1D The diagram shows another clip storing content from rolling buffer 105 according to one embodiment. As rolling buffer 105 fills with new data from the left, a portion of time segment 150 stored in rolling buffer 105 is overwritten, and the remainder of time segment 150 is time segment 160. Figure 1CIn comparison, the delay from transmitting the detection data 130 of the time period 150 to receiving the extraction trigger 135 is greater than the delay from transmitting the detection data 130 to receiving the extraction trigger 132 .
[0042] In one embodiment, the extraction trigger 135 specifies to extract a clip 165 that includes the entire time period 160. In response to receiving the extraction trigger 135, the detection data generator 110 extracts the clip 165 from the rolling buffer 105 and stores the clip 165 to the persistent clip storage 125. The clip 165 includes the portion of the time period 150 that is still available in the rolling buffer 105.
[0043] In one embodiment, the capacity of the rolling buffer 105 is configured to store the amount of the continuous data stream acquired during the maximum delay that occurs before receiving an extraction trigger. In one or more embodiments, the extraction trigger can be generated in response to analysis of detection data generated by the edge device 130. In contrast to conventional techniques that perform detection and analysis at isolated edge devices, the distributed stream analysis and storage system 100 provides an efficient and cost-effective, on-demand, trigger-driven, event-driven storage device. For example, the edge device 130 can be a low-cost, energy-efficient computing node, while the remote (e.g., cloud or on-premises data server) node comprising the analysis service 120 is more complex and may be easier to access and / or more frequently upgraded or replaced. Storing clips based on remote analysis allows for more efficient use of storage resources while ensuring that time periods identified as interesting are extracted and stored in the persistent clip storage device 125.
[0044] Figure 2A The figure shows a flow chart of a method 200 for trigger response clip extraction according to one embodiment. Each block of the method 200 described herein includes a computing process that can be performed using any combination of hardware, firmware and / or software. For example, various functions can be implemented by a processor executing instructions stored in a memory. The method can also be implemented as computer usable instructions stored on a computer storage medium. To name a few examples, the method can be provided by a stand-alone application, a service or a hosted service (standalone or in conjunction with another hosted service), or a plug-in for another product. In addition, the method 200 is provided by way of example for Figure 1A The distributed stream analysis and storage system 100 of the present invention is described. However, the method can be performed additionally or alternatively by any system or any combination of systems (including but not limited to those described herein). In addition, it will be understood by a person skilled in the art that any system that performs the method 200 is within the scope and spirit of the embodiments of the present disclosure.
[0045] In step 205, the edge device 130 processes the data stream acquired from the sensor 102 to generate detection data corresponding to at least one time period in the data stream. In one embodiment, the data stream is a continuous data stream. In one embodiment, the detection data is generated according to a predetermined standard. In one embodiment, the detection data is generated by a neural network. In one embodiment, Figure 5C The system 555 shown in FIG. 5 can be used to train the detection data generator 110. In one embodiment, the data stream is a video stream, and the detection data corresponds to objects visible in the data stream. In one embodiment, the data stream is an audio stream, and the detection data corresponds to sounds audible in the data stream. In one embodiment, the sensor 102 is one of a camera or a microphone.
[0046] In step 210, the detection data is transmitted to the remote device. In one embodiment, the communication service included in the network 115 is configured to relay the detection data from the edge device to the remote device, and to relay the trigger from the remote device to the edge device 130. In one embodiment, the communication service is located in the cloud. In one embodiment, the remote device includes an analysis service 120. In one embodiment, at least one additional edge device 130 may be configured to transmit additional detection data to the remote device. In one embodiment, one or more events are identified by the remote device based on the detection data. In one embodiment, the event corresponds to a specific behavior that the analysis service 120 is trained to identify. For example, the analysis service 120 can be trained to identify specific violations, such as driving more than one block on a bicycle lane, or parking a car in a restricted area, or illegal operations of the vehicle (such as, for example and without limitation, driving in the wrong direction, turning around). A single edge device 130 installed at a fixed location may not be able to obtain the images required to determine that an event has occurred. In another example, the analysis service 120 can be trained to identify pedestrians who have fallen.
[0047] In one embodiment, the remote device generates a trigger based on the detection data and analysis of additional detection data. In one embodiment, the trigger is generated according to a desired behavior pattern. In one embodiment, the analysis is performed by a neural network. In one embodiment, the detection data and / or the extracted clips can be used to train a neural network model. In one embodiment, the detection data can be used when the behavior is not associated with a learned event, and the detection data and / or the extracted clips can be examined to identify unknown behaviors. In one embodiment, the detection data and / or the extracted clips can be used to train, test, or certify a neural network model used in a machine, robot, or autonomous vehicle.
[0048] In step 215, the edge device 130 receives a trigger generated by the remote device and identifying an event. In one embodiment, the trigger is an extraction trigger. In one embodiment, the trigger is generated based on an analysis of the detection data. In step 220, in response to the trigger, the edge device extracts a clip that includes at least a portion of the data stream. In one embodiment, the trigger specifies a timestamp within the continuous data stream and a time course of the clip. In one embodiment, the buffer is configured to store the portion of the continuous data stream from which the clip was extracted. In one embodiment, the buffer is a rolling buffer 105. In step 225, the clip is stored to a persistent storage such as a persistent clip storage device 125. In one embodiment, annotation data corresponding to the clip is also stored.
[0049] Figure 2B The figure shows another block diagram of an example distributed stream analysis and storage system 250 suitable for implementing some embodiments of the present disclosure. The system 250 includes a remote device 255, one or more networks 115, and multiple (N) edge devices 130 (e.g., edge devices 130-1, ... 130-N). In one embodiment, the remote device 255 is a server or core device of a cloud computing system. Each edge device 130 obtains continuous streaming data from one or more sensors 103 and generates detection data. The detection data is transmitted to the remote device 255 including the analysis service 120. In one embodiment, the remote device 255 includes multiple analysis services 120, and each analysis service 120 can be configured to analyze the detection data to identify different types of events.
[0050] In one embodiment, the detection data and the extraction trigger are transmitted via a communication service 235 within the network 115. In one embodiment, the communication service 235 is a message broker that allows asynchronous operation of the edge device 130 and the remote device 255. In one embodiment, the communication service 235 is in the cloud. In one embodiment, the communication service 235 uses a defined policy to determine which analysis service 120 and / or remote device 255 should receive the detection data. For example, a first analysis service 120 may define a policy to only receive detection data corresponding to a vehicle, and a second analysis service 120 may define a policy to only receive detection data corresponding to a person. The communication service 235 receives extraction triggers for N edge devices 130 and transmits each extraction trigger to one or more of the edge devices 130 specified by the extraction trigger. In one embodiment, the remote device 255 and / or one or more edge devices 130 may be configured to display clips with or without annotations.
[0051] In one embodiment, the analysis service 120 tracks the movement of vehicles identified by multiple edge devices 130 over time. The analysis service 120 can integrate the detection data transmitted by multiple edge devices 130 to determine which portions of the continuously stored data in one or more rolling buffers 105 should be extracted and stored. For example, the remote device 255 can analyze the detection data received from one or more edge devices 130 for the same time period. The remote device 255 can analyze the detection data received from one or more edge devices 130 for different time periods.
[0052] In one embodiment, the communication service 235 implements time synchronization across multiple devices of the distributed stream analysis and storage system 250 to synchronize timestamps and detection data across the distributed stream analysis and storage system 250. For example, the edge device 130 can be connected to an Internet Protocol (IP) network and run a Network Time Protocol (NTP) daemon to synchronize time with the remote device 255 and determine synchronized timestamps for incoming video data. When processing and / or generating video data, these timestamps can be associated with corresponding frames for storage in the persistent clip storage 125 and extraction from the rolling buffer 105.
[0053] Figure 3 The figure illustrates a flow chart of a method 300 for extracting trigger generation suitable for implementing some embodiments of the present disclosure. Each block of the method 300 described herein includes a computational process that can be performed using any combination of hardware, firmware, and / or software. For example, various functions can be implemented by a processor executing instructions stored in a memory. The method can also be implemented as computer-usable instructions stored on a computer storage medium. To name a few examples, the method can be provided by a stand-alone application, a service or a hosted service (standalone or in conjunction with another hosted service), or a plug-in for another product. In addition, the method 300 is provided by way of example for Figure 1A Distributed stream analysis and storage system 100 or Figure 2B The method is described with reference to system 250. However, the method may be performed additionally or alternatively by any system or any combination of systems, including but not limited to those described herein. In addition, it will be understood by those of ordinary skill in the art that any system that performs method 300 is within the scope and spirit of the disclosed embodiments.
[0054] At step 305, the detection data from the plurality of edge devices 130 is analyzed by the analysis service 120 within the remote device 255. The detection data provided by each edge device 130 corresponds to at least one time period. At step 310, the analysis service 120 identifies an event based on the processing of the detection data received from the plurality of edge devices 130.
[0055] In one embodiment, the detection data (e.g., image data, LIDAR data, RADAR data, etc.) can be analyzed to identify or determine object trajectories, perform facial recognition, classify objects, etc. Object trajectories can also refer to the path followed by a moving object, in addition to one or more attributes or characteristics of an object along a path (e.g., speed, velocity, acceleration, steering angle, yaw rate, etc.) in some examples. Although objects are generally referred to herein as vehicles (e.g., cars, trucks, bicycles, motorcycles, etc.), objects can be any moving object, such as a person, an animal, another vehicle type, an inanimate object, etc.
[0056] Object trajectories can be represented in any number of ways. One way to represent object trajectories includes a set or series of positions or coordinates of an object and the corresponding times (e.g., timestamps) of these positions. In this regard, the acquired continuous data stream (e.g., image data or other sensor data) can be analyzed to identify or determine the trajectory of each object. For example, the detection data generator 110 can process continuous stream data (e.g., video, still images, LIDAR data, etc.) to identify one or more objects in the field of view of the sensor 102. In this regard, object detection can be performed to detect one or more objects in a continuous data stream (e.g., in a video represented by image data captured by a camera). Object detection can be performed in any number of ways, such as, for example, via machine learning (e.g., convolutional neural networks) or other computer vision algorithms. The detected object can be indicated in the detection data, for example, using a bounding box.
[0057] At step 315, the analysis service 120 within the remote device 255 transmits an extraction trigger to at least one edge device in the plurality of edge devices 130. The analysis service 120 can determine time periods corresponding to the event and include these time periods in the extraction trigger. At step 320, at least one edge device in the plurality of edge devices 130 extracts the clip based on the extraction trigger. The clip(s) can be retrieved by the remote device 255 for further processing or presentation to a user.
[0058] Detecting objects, instances, or occurrences at edge devices and performing analysis based on the detection data collected by multiple edge devices allows for identification of events in a larger context. In addition, portions of a continuous data stream acquired by an individual edge device can be extracted to produce clips. Caching the data stream for an amount of time equal to or greater than the latency incurred when performing remote analysis ensures that portions of the data stream are available for storage as clips. The ability to determine the portions of the data stream to be extracted ensures that persistent storage resources are used intelligently—storing clips that are identified in a larger context and / or over time through analysis as relevant. The stored clips can be used to perform additional analysis or for presentation.
[0059] Parallel processing architecture
[0060] Figure 4 The figure shows a parallel processing unit (PPU) 400 according to one embodiment. PPU 400 can be used to implement one or more edge devices 130 or analysis services 120. In one embodiment, PPU 400 is a multi-threaded processor implemented on one or more integrated circuit devices. PPU 400 is a latency-hiding architecture designed to process many threads in parallel. A thread (e.g., an execution thread) is an instantiation of an instruction set configured to be executed by PPU 400. In one embodiment, PPU 400 is a graphics processing unit (GPU) configured to implement a graphics rendering pipeline for processing three-dimensional (3D) graphics data to generate two-dimensional (2D) image data for display on a display device. In other embodiments, PPU 400 can be used to perform general-purpose calculations. Although an exemplary parallel processor is provided herein for the purpose of illustration, it should be particularly noted that such a processor is described only for the purpose of illustration, and any processor can be used to supplement and / or replace the processor.
[0061] One or more PPUs 400 can be configured to accelerate thousands of high performance computing (HPC), data center, cloud computing, and machine learning applications. PPU 400 can be configured to accelerate numerous deep learning systems and applications for autonomous vehicles, simulations, computational graphics such as ray or path tracing, deep learning, high-precision speech, image and text recognition systems, intelligent video analysis, molecular simulation, drug discovery, disease diagnosis, weather forecasting, big data analysis, astronomy, molecular dynamics simulation, financial modeling, robotics, factory automation, real-time language translation, online search optimization, and personalized user recommendations, among others.
[0062] like Figure 4As shown, the PPU 400 includes an input / output (I / O) unit 405, a front-end unit 415, a scheduler unit 420, a work distribution unit 425, a hub 430, a crossbar switch (Xbar) 470, one or more general processing clusters (GPCs) 450, and one or more memory partition units 480. The PPU 400 can be connected to a host processor or other PPUs 400 via one or more high-speed NVLink 410 interconnects. The PPU 400 can be connected to a host processor or other peripheral devices via interconnect 402. The PPU 400 can also be connected to a local memory 404 including multiple memory devices. In one embodiment, the local memory can include multiple dynamic random access memory (DRAM) devices. The DRAM device can be configured as a high bandwidth memory (HBM) subsystem, in which multiple DRAM dies are stacked within each device.
[0063] The NVLink 410 interconnect enables the system to scale and include one or more PPUs 400 in conjunction with one or more CPUs, supporting cache coherency between the PPU 400 and the CPU, and CPU mastering. Data and / or commands may be sent by the NVLink 410 through the hub 430 to or from other units of the PPU 400, such as one or more copy engines, video encoders, video decoders, power management units, etc. (not explicitly shown). Figure 5B NVLink 410 is described in more detail.
[0064] I / O unit 405 is configured to send and receive communications (e.g., commands, data, etc.) from a host processor (not shown) via interconnect 402. I / O unit 405 may communicate with the host processor directly via interconnect 402, or through one or more intermediate devices such as a memory bridge. In one embodiment, I / O unit 405 may communicate with one or more other processors such as one or more PPUs 400 via interconnect 402. In one embodiment, I / O unit 405 implements a peripheral component interconnect express (PCIe) interface for communicating over a PCIe bus, and interconnect 402 is a PCIe bus. In alternative embodiments, I / O unit 405 may implement other types of known interfaces for communicating with external devices.
[0065] The I / O unit 405 decodes packets received via the interconnect 402. In one embodiment, the packets represent commands configured to cause the PPU 400 to perform various operations. The I / O unit 405 transmits the decoded commands to various other units of the PPU 400 that the commands may specify. For example, some commands may be transmitted to the front end unit 415. Other commands may be transmitted to the hub 430 or other units of the PPU 400, such as one or more copy engines, video encoders, video decoders, power management units, etc. (not explicitly shown). In other words, the I / O unit 405 is configured to route communications between and among the various logical units of the PPU 400.
[0066] In one embodiment, a program executed by a host processor encodes a command stream in a buffer that provides a workload to the PPU 400 for processing. The workload may include several instructions and data to be processed by those instructions. A buffer is an area in memory that is accessible (e.g., read / write) by both the host processor and the PPU 400. For example, the I / O unit 405 may be configured to access a buffer in a system memory connected to the interconnect 402 via a memory request transmitted through the interconnect 402. In one embodiment, the host processor writes a command stream to the buffer and then transmits a pointer to the start of the command stream to the PPU 400. The front end unit 415 receives a pointer to one or more command streams. The front end unit 415 manages one or more streams, reads commands from these streams, and forwards the commands to the various units of the PPU 400.
[0067] The front end unit 415 is coupled to a scheduler unit 420, which configures the various GPCs 450 to process the tasks defined by one or more streams. The scheduler unit 420 is configured to track state information related to the various tasks managed by the scheduler unit 420. The state may indicate which GPC 450 the task is assigned to, whether the task is active or inactive, a priority associated with the task, etc. The scheduler unit 420 manages the execution of multiple tasks on one or more GPCs 450.
[0068] Scheduler unit 420 is coupled to work distribution unit 425, which is configured to dispatch tasks for execution on GPC 450. Work distribution unit 425 may keep track of a number of scheduled tasks received from scheduler unit 420. In one embodiment, work distribution unit 425 manages a pending task pool and an active task pool for each GPC 450. When a GPC 450 completes execution of a task, the task is evicted from the active task pool of GPC 450, and one of the other tasks from the pending task pool is selected and scheduled for execution on GPC 450. If an active task on GPC 450 has become idle, such as while waiting for a data dependency to be resolved, then the active task may be evicted from GPC 450 and returned to the pending task pool, while another task in the pending task pool is selected and scheduled for execution on GPC 450.
[0069] In one embodiment, the host processor executes a driver kernel that implements an application programming interface (API) that enables one or more applications executed on the host processor to schedule operations for execution on the PPU 400. In one embodiment, multiple computing applications are executed simultaneously by the PPU 400, and the PPU 400 provides isolation, quality of service (QoS), and independent address spaces for the multiple computing applications. The application can generate instructions (e.g., API calls) that cause the driver kernel to generate one or more tasks to be executed by the PPU 400. The driver kernel outputs the tasks to one or more streams being processed by the PPU 400. Each task can include one or more related thread groups, referred to herein as warps. In one embodiment, a warp includes 32 related threads that can be executed in parallel. A cooperative thread can refer to multiple threads that include instructions to execute tasks and can exchange data through a shared memory. These tasks can be assigned to one or more processing units within the GPC 450, and the instructions are scheduled for execution by at least one warp.
[0070] Work distribution unit 425 communicates with one or more GPCs 450 via XBar 470. XBar 470 is an interconnect network that couples many units of PPU 400 to other units of PPU 400. For example, XBar 470 may be configured to couple work distribution unit 425 to a particular GPC 450. Although not explicitly shown, one or more other units of PPU 400 may also be connected to XBar 470 via hub 430.
[0071] Tasks are managed by a scheduler unit 420 and dispatched to GPCs 450 by a work distribution unit 425. GPCs 450 are configured to process tasks and generate results. Results may be consumed by other tasks within the GPC 450, routed to different GPCs 450 via XBar 470, or stored in memory 404. Results may be written to memory 404 via a memory partition unit 480, which implements a memory interface for reading data from and writing data to memory 404. Results may be transmitted to another PPU 400 or CPU via NVLink 410. In one embodiment, a PPU 400 includes a number U of memory partition units 480, which is equal to the number of separate and distinct memory devices coupled to the memory 404 of the PPU 400. Each GPC 450 may include a memory management unit to provide virtual address to physical address translation, memory protection, and arbitration of memory requests. In one embodiment, the memory management unit provides one or more translation lookaside buffers (TLBs) for performing translations of virtual addresses to physical addresses in memory 404 .
[0072] In one embodiment, the memory partition unit 480 includes a raster operation (ROP) unit, a second level (L2) cache, and a memory interface coupled to the memory 404. The memory interface can implement a 32-bit, 64-bit, 128-bit, 1024-bit data bus for high-speed data transmission. The PPU 400 can be connected to up to Y memory devices, such as a high bandwidth memory stack or a graphics double data rate, version 5, synchronous dynamic random access memory, or other types of persistent storage. In one embodiment, the memory interface implements an HBM2 memory interface, and Y is equal to half of U. In one embodiment, the HBM2 memory stack is located on the same physical package as the PPU 400, significantly saving power and area compared to conventional GDDR5 SDRAM systems. In one embodiment, each HBM2 stack includes four memory dies and Y is equal to 4, wherein each HBM2 stack includes two 128-bit channels per die, a total of 8 channels and a data bus width of 1024 bits.
[0073] In one embodiment, memory 404 supports single error correction double error detection (SECDED) error correction code (ECC) to protect data. ECC provides higher reliability for computing applications that are sensitive to data corruption. Reliability is particularly important in large-scale cluster computing environments where PPU 400 processes very large data sets and / or runs applications for extended periods of time.
[0074] In one embodiment, the PPU 400 implements a multi-level memory hierarchy. In one embodiment, the memory partition unit 480 supports unified memory to provide a single unified virtual address space for the CPU and PPU 400 memory, enabling data sharing between virtual memory systems. In one embodiment, the frequency of accesses by the PPU 400 to memory located on other processors is tracked to ensure that memory pages are moved to the physical memory of the PPU 400 that is accessing these pages more frequently. In one embodiment, the NVLink 410 supports address translation services that allow the PPU 400 to directly access the CPU's page table and provide the PPU 400 with full access to the CPU memory.
[0075] In one embodiment, the copy engine transfers data between multiple PPUs 400 or between a PPU 400 and a CPU. The copy engine can generate page faults for addresses that are not mapped to a page table. The memory partition unit 480 can then service the page faults, map these addresses into a page table, and then the copy engine can perform the transfer. In conventional systems, memory is fixed (e.g., non-pageable) for multiple copy engine operations between multiple processors, greatly reducing the available memory. In the event of a hardware page fault, the address can be passed to the copy engine without worrying about whether the memory page is resident, and the copy process is transparent.
[0076] Data from memory 404 or other system memory can be retrieved by memory partition unit 480 and stored in L2 cache 460 located on-chip and shared between various GPCs 450. As shown, each memory partition unit 480 includes a portion of the L2 cache associated with the corresponding memory 404. Then, low-level caches can be implemented in various units within GPC 450. For example, each processing unit within GPC 450 can implement a level 1 (L1) cache. L1 cache is private memory dedicated to a specific processing unit. L2 cache 460 is coupled to memory interface 470 and XBar 470, and data from the L2 cache can be retrieved and stored in each L1 cache for processing.
[0077] In one embodiment, the processing unit within each GPC 450 implements a SIMD (single instruction multiple data) architecture, wherein each thread in a thread group (e.g., a warp) is configured to process a different set of data based on the same set of instructions. All threads in a thread group execute the same instructions. In another embodiment, the processing unit implements a SIMT (single instruction multiple thread) architecture, wherein each thread in a thread group is configured to process a different set of data based on the same set of instructions, but wherein the threads in the thread group are allowed to diverge during execution. In one embodiment, a program counter, call stack, and execution state are maintained for each warp, thereby enabling concurrency between warps and serial execution within a warp when threads within the warp diverge. In another embodiment, a program counter, call stack, and execution state are maintained for each individual thread, thereby enabling equal concurrency between all threads, within and between warps. When the execution state is maintained for each individual thread, threads executing the same instruction can be aggregated and executed in parallel to obtain maximum efficiency.
[0078] Cooperative Groups is a programming model for organizing groups of communicating threads that allows developers to express the granularity at which threads are communicating, enabling the expression of richer and more efficient decompositions of parallelism. The cooperative launch API supports synchronization between blocks of threads used to execute parallel algorithms. Conventional programming models provide a single simple construct for synchronizing cooperative threads: a barrier across all threads of a thread block (e.g., the syncthreads() function). However, programmers often prefer to define thread groups with a granularity smaller than a thread block, and synchronize within the defined groups to achieve higher performance, design flexibility, and software reuse in the form of a collective group-wide function interface.
[0079] Cooperative Groups enables programmers to explicitly define groups of threads at sub-block and multi-block granularity (as small as a single thread), and perform collective operations such as synchronization on threads in a cooperative group. The programming model supports clean composition across software boundaries, allowing libraries and utility functions to safely synchronize within their local context without having to make assumptions about aggregation. Cooperative Groups primitives allow new patterns of cooperative parallelism to be implemented, including producer-consumer parallelism, opportunistic parallelism, and global synchronization across an entire grid of thread blocks.
[0080] Each processing unit includes a large number (e.g., 128, etc.) of different processing cores (e.g., functional units) that can be fully pipelined, single-precision, double-precision, and / or mixed-precision, and include floating-point arithmetic logic units and integer arithmetic logic units. In one embodiment, the floating-point arithmetic logic unit implements the IEEE 754-2008 standard for floating-point arithmetic. In one embodiment, the cores include 64 single-precision (32-bit) floating-point cores, 64 integer cores, 32 double-precision (64-bit) floating-point cores, and 8 tensor cores.
[0081] The tensor cores are configured to perform matrix operations. In particular, the tensor cores are configured to perform deep learning matrix arithmetic, such as convolution operations for neural network training and inference. In one embodiment, each tensor core operates on a 4x4 matrix and performs matrix multiplication and accumulation operations, D = A × B + C, where A, B, C, and D are 4x4 matrices.
[0082] In one embodiment, the matrix multiplication inputs A and B are 16-bit floating-point matrices, while the accumulation matrices C and D can be 16-bit floating-point matrices or 32-bit floating-point matrices. The tensor core operates on 16-bit floating-point input data using 32-bit floating-point accumulation. 16-bit floating-point multiplication requires 64 operations and produces a full-precision product, which is then accumulated using 32-bit floating-point addition with other intermediate products for 4x4x4 matrix multiplication. In practice, tensor cores are used to perform larger two-dimensional or higher-dimensional matrix operations composed of these smaller elements. APIs such as the CUDA 9C++ API expose specialized matrix loads, matrix multiplications and accumulations, and matrix storage operations to efficiently use tensor cores from CUDA-C++ programs. At the CUDA level, the interface at the warp level takes a 16x16-sized matrix across all 32 threads of the warp.
[0083] Each processing unit may also include M special function units (SFUs) that perform special functions (e.g., attribute evaluation, reciprocal square root, etc.). In one embodiment, the SFU may include a tree traversal unit configured to traverse a hierarchical tree data structure. In one embodiment, the SFU may include a texture unit configured to perform texture map filtering operations. In one embodiment, the texture unit is configured to load texture maps (e.g., a 2D array of texels) from memory 404 and sample these texture maps to generate sampled texture values for use in shader programs executed by the processing unit. In one embodiment, the texture maps are stored in a shared memory that may include or contain an L1 cache. The texture unit implements texture operations such as filtering operations using mip maps (e.g., texture maps of different levels of detail). In one embodiment, each processing unit includes two texture units.
[0084] Each processing unit also includes N load-store units (LSUs) that implement load operations and store operations between the shared memory and the register file. Each processing unit includes an interconnect network that connects each core to the register file and connects the LSU to the register file and the shared memory. In one embodiment, the interconnect network is a crossbar switch that can be configured to connect any core to any register in the register file and connect the LSU to the register file and the memory location in the shared memory.
[0085] Shared memory is an on-chip memory array that allows data storage and communication between processing units and threads within a processing unit. In one embodiment, the shared memory includes 128KB of storage capacity and is on the path from each processing unit to the memory partition unit 480. The shared memory can be used to cache reads and writes. One or more of the shared memory, L1 cache, L2 cache, and memory 404 are backup bins.
[0086] Combining data cache and shared memory functionality into a single memory block provides the best overall performance for both types of memory access. This capacity can be used as a cache for programs that do not use shared memory. For example, if the shared memory is configured to use half of the capacity, then texture and load / store operations can use the remaining capacity. Integration into shared memory enables the shared memory to be used as a high throughput conduit for streaming data while providing high bandwidth and low latency access to frequently reused data.
[0087] When configured for general parallel computing, a simpler configuration can be used than for graphics processing. In particular, a fixed-function graphics processing unit is bypassed to create a much simpler programming model. In this general parallel computing configuration, the work distribution unit 425 directly assigns and distributes thread blocks to the processing units within the GPC 450. The threads use a unique thread ID in the calculation to execute the same program to ensure that each thread uses the processing unit to execute the program and perform calculations, uses shared memory to communicate between threads, and uses LSU to read and write global memory through shared memory and memory partition unit 480 to generate unique results. When configured for general parallel computing, the processing unit can also write commands, which the scheduler unit 420 can use to start new work on the processing unit.
[0088] Each of the PPUs 400 may include one or more processing cores and / or components thereof, such as a tensor core (TC), a tensor processing unit (TPU), a pixel vision core (PVC), a ray tracing (RT) core, a vision processing unit (VPU), a graphics processing cluster (GPC), a texture processing cluster (TPC), a streaming multiprocessor (SM), a tree traversal unit (TTU), an artificial intelligence accelerator (AIA), a deep learning accelerator (DLA), an arithmetic logic unit (ALU), an application specific integrated circuit (ASIC), a floating point unit (FPU), an input / output (I / O) element, a peripheral component interconnect (PCI) or a peripheral component interconnect express (PCIe) element, and / or the like, and / or be configured to perform its functions.
[0089] The PPU 400 may be included in a desktop computer, a laptop computer, a tablet computer, a server, a supercomputer, a smartphone (e.g., a wireless, handheld device), a personal digital assistant (PDA), a digital camera, a vehicle, a head-mounted display, a handheld electronic device, etc. In one embodiment, the PPU 400 is implemented on a single semiconductor substrate. In another embodiment, the PPU 400 is included in a system on a chip (SoC) along with one or more other devices such as another PPU 400, a memory 404, a reduced instruction set computer (RISC) CPU, a memory management unit (MMU), a digital-to-analog converter (DAC), etc.
[0090] In one embodiment, the PPU 400 may be included on a graphics card that includes one or more memory devices. The graphics card may be configured to interface with a PCIe slot on a motherboard of a desktop computer. In yet another embodiment, the PPU 400 may be an integrated graphics processing unit (iGPU) or a parallel processor included in a chipset of the motherboard. In yet another embodiment, the PPU 400 may be implemented in reconfigurable hardware. In yet another embodiment, portions of the PPU 400 may be implemented in reconfigurable hardware.
[0091] Exemplary Computing System
[0092] As developers demonstrate and exploit more parallelism in applications such as artificial intelligence computing, systems with multiple GPUs and CPUs are being used across industries. High-performance GPU-accelerated systems with tens to thousands of computing nodes are deployed in data centers, research facilities, and supercomputers to solve increasingly large problems. As the number of processing devices within high-performance systems increases, communication and data transfer mechanisms need to scale to support the increased bandwidth.
[0093] Figure 5A According to one embodiment, using Figure 4 A conceptual diagram of a processing system 500 implemented by a PPU 400. An exemplary system 565 may be configured to implement Figure 2A The method 200 shown in and / or Figure 3 The processing system 500 includes a CPU 530 , a switch 510 , and a plurality of PPUs 400 and corresponding memories 404 .
[0094] NVLink 410 provides a high-speed communication link between each PPU 400. Figure 5B The diagram shows a specific number of NVLink 410 and interconnect 402 connections, but the number of connections to each PPU 400 and CPU 530 may vary. Switch 510 forms an interface between interconnect 402 and CPU 530. PPU 400, memory 404, and NVLink 410 may be located on a single semiconductor platform to form a parallel processing module 525. In one embodiment, switch 510 supports two or more protocols to interface between various connections and / or links.
[0095] In another embodiment (not shown), NVLink 410 provides one or more high-speed communication links between each PPU 400 and CPU 530, and switch 510 forms an interface between interconnect 402 and each PPU 400. PPU 400, memory 404, and interconnect 402 may be located on a single semiconductor platform to form a parallel processing module 525. In yet another embodiment (not shown), interconnect 402 provides one or more communication links between each PPU 400 and CPU 530, and switch 510 forms an interface between each PPU 400 using NVLink 410 to provide one or more high-speed communication links between PPUs 400. In another embodiment (not shown), NVLink 410 provides one or more high-speed communication links between PPU 400 and CPU 530 through switch 510. In yet another embodiment (not shown), interconnect 402 directly provides one or more communication links between each PPU 400. One or more of the NVLink 410 high-speed communication links may be implemented as a physical NVLink interconnect or an on-chip or on-die interconnect using the same protocol as NVLink 410.
[0096] In the context of this specification, a single semiconductor platform may refer to a single semiconductor-based integrated circuit manufactured on a bare die or chip. It should be noted that the term single semiconductor platform may also refer to a multi-chip module with enhanced connectivity that simulates on-chip operations and makes significant improvements over conventional bus implementations. Of course, various different circuits or devices may also be placed separately or in various combinations of semiconductor platforms according to user needs. Alternatively, the parallel processing module 525 may be implemented as a circuit board substrate, and each PPU 400 and / or memory 404 may be a packaged device. In one embodiment, the CPU 530, the switch 510, and the parallel processing module 525 are located on a single semiconductor platform.
[0097] In one embodiment, the signaling rate of each NVLink 410 is 20-25 Gbit / s, and each PPU 400 includes six NVLink 410 interfaces (e.g., Figure 5A As shown in FIG. 4 , five NVLink 410 interfaces are included for each PPU 400. Each NVLink 410 provides a data transfer rate of 25 GBytes / sec in each direction, and six links provide 400 GBytes / sec. NVLink 410 can be configured as follows: Figure 5A Shown is used exclusively for PPU-to-PPU communications, or when the CPU 530 also includes one or more NVLink 410 interfaces, for some combination of PPU-to-PPU and PPU-to-CPU.
[0098] In one embodiment, NVLink 410 allows direct load / store / atomic access from CPU 530 to memory 404 of each PPU 400. In one embodiment, NVLink 410 supports coherency operations, allowing data read from memory 404 to be stored in the cache hierarchy of CPU 530, reducing cache access latency of CPU 530. In one embodiment, NVLink 410 includes support for address translation services (ATS), allowing PPU 400 to directly access page tables within CPU 530. One or more of NVLink 410 may also be configured to operate in a low power mode.
[0099] Figure 5B The diagram illustrates an exemplary system 565 in which various architectures and / or functions of various previous embodiments may be implemented. The exemplary system 565 may be configured to implement Figure 2A The method 200 shown in and / or Figure 3 The method 300 is shown in FIG.
[0100] As shown, a system 565 is provided, which includes at least one central processing unit 530 connected to a communication bus 575. The communication bus 575 can directly or indirectly couple one or more of the following devices: main memory 540, network interface 535, CPU 530, display device 545, input device 560, switch 510 and parallel processing system 525. The communication bus 575 can be implemented using any appropriate protocol and can represent one or more links or buses, such as an address bus, a data bus, a control bus, or a combination thereof. The communication bus 575 can include one or more bus or link types, such as an industry standard architecture (ISA) bus, an extended industry standard architecture (EISA) bus, a video electronics standard association (VESA) bus, a peripheral component interconnect (PCI) bus, a peripheral component interconnect high speed (PCIe) bus, a super transport and / or another type of bus or link. In some embodiments, there is a direct connection between components. As an example, the CPU 530 can be directly connected to the main memory 540. In addition, the CPU 530 can be directly connected to the parallel processing system 525. Where there is a direct or point-to-point connection between components, communication bus 575 may include a PCIe link to implement the connection. In these examples, a PCI bus need not be included in system 565.
[0101] Although the use of lines Figure 5C The different blocks of are shown as being connected via communication bus 575, but this is not intended to be limiting and is provided for clarity only. For example, in some embodiments, presentation components such as display device 545 may be considered I / O components, such as input device 560 (e.g., if the display is a touch screen). As another example, CPU 530 and / or parallel processing system 525 may include memory (e.g., main memory 540 may represent a storage device in addition to parallel processing system 525, CPU 530, and / or other components). In other words, Figure 5C The computing devices described herein are merely illustrative. No distinction is made between categories such as "workstations," "servers," "laptops," "desktops," "tablets," "client devices," "mobile devices," "handheld devices," "game consoles," "electronic control units (ECUs)," "virtual reality systems," and / or other device or system types, as all are expected to be in the Figure 5C within the range of computing devices.
[0102] The system 565 also includes a main memory 540. Control logic (software) and data are stored in the main memory 540, which can take the form of a variety of computer-readable media. Computer-readable media can be any available media that can be accessed by the system 565. Computer-readable media can include volatile and non-volatile media and removable and non-removable media. By way of example and not limitation, computer-readable media can include computer storage media and communication media.
[0103] Computer storage media may include volatile and nonvolatile media and / or removable and non-removable media implemented in any method or technology for storing information such as computer readable instructions, data structures, program modules, and / or other data types. For example, main memory 540 may store computer readable instructions (e.g., representing programs and / or program elements) such as an operating system. Computer storage media may include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the required information and can be accessed by system 565. When used herein, computer storage media does not include the signals themselves.
[0104] Computer storage media may embody computer readable instructions, data structures, program modules, or other data types in a modulated data signal such as a carrier wave or other transport mechanism, and include any information delivery media. The term "modulated data signal" may refer to a signal that has one or more of its characteristics set or changed in such a way as to encode information into the signal. By way of example and not limitation, computer storage media may include wired media such as a wired network or a direct wired connection, and wireless media such as sound, RF, infrared, and other wireless media. Any combination of the above should also be included within the scope of computer readable media.
[0105] When executed, the computer program enables the system 565 to perform various functions. The CPU 530 can be configured to execute at least some of the computer-readable instructions to control one or more components of the system 565 to perform one or more of the methods and / or processes described herein. Each of the CPUs 530 may include one or more cores (e.g., one, two, four, eight, twenty-eight, seventy-two, etc.) capable of simultaneously processing numerous software threads. Depending on the type of system 565 implemented, the CPU 530 may include any type of processor, and may include different types of processors (e.g., a processor with fewer cores for mobile devices, and a processor with more cores for servers). For example, depending on the type of system 565, the processor may be an advanced RISC machine (ARM) processor implemented using reduced instruction set computing (RISC) or an x86 processor implemented using complex instruction set computing (CISC). In addition to one or more microprocessors or supplementary coprocessors such as mathematical coprocessors, the system 565 may also include one or more CPUs 530.
[0106] In addition to or alternatively to the CPU 530, the parallel processing module 525 can be configured to execute at least some of the computer-readable instructions to control one or more components of the system 565 to perform one or more of the methods and / or processes described herein. The parallel processing module 525 can be used by the system 565 to render graphics (e.g., 3D graphics) or perform general-purpose calculations. For example, the parallel processing module 525 can be used for general-purpose computing on a GPU (GPGPU). In an embodiment, the CPU 530 and / or the parallel processing module 525 can perform any combination of the methods, processes, and / or portions thereof separately or jointly.
[0107] System 565 also includes input device 560, parallel processing system 525, and display device 545. Display device 545 may include a display (e.g., a monitor, a touch screen, a television screen, a head-up display (HUD), other display types, or a combination thereof), speakers, and / or other presentation components. Display device 545 may receive data from other components (e.g., parallel processing system 525, CPU 530, etc.) and output the data (e.g., as an image, video, sound, etc.).
[0108] The network interface 535 can enable the system 565 to be logically coupled to other devices, including input devices 560, display devices 545, and / or other components, some of which can be embedded in (e.g., integrated into) the system 565. Illustrative input devices 560 include microphones, mice, keyboards, joysticks, game pads, game controllers, satellite dishes, scanners, printers, wireless devices, and the like. The input device 560 can provide a natural user interface (NUI) that processes air gestures, voice, or other physiological inputs generated by the user. In some instances, the input can be transmitted to an appropriate network element for further processing. The NUI can implement voice recognition, stylus recognition, facial recognition, biometric recognition, gesture recognition on and near the screen, air gestures, head and eye tracking, and touch recognition (as described in more detail below) associated with the display of the system 565. The system 565 may include a depth camera for gesture detection and recognition, such as a stereo camera system, an infrared camera system, an RGB camera system, touch screen technology, and combinations thereof. Additionally, system 565 may include an accelerometer or gyroscope that enables motion detection (e.g., as part of an inertial measurement unit (IMU)). In some examples, the output of the accelerometer or gyroscope may be used by system 565 to render immersive augmented reality or virtual reality.
[0109] In addition, the system 565 can be coupled to a network (e.g., a telecommunications network, a local area network (LAN), a wireless network, a wide area network (WAN) such as the Internet, a peer-to-peer network, a cable network, etc.) for communication purposes through the network interface 535. The system 565 can be included in a distributed network and / or cloud computing environment.
[0110] The network interface 535 may include one or more receivers, transmitters, and / or transceivers that enable the system 565 to communicate with other computing devices via an electronic communications network, including wired and / or wireless communications. The network interface 535 may include components and functionality that enable communication over any of a number of different networks, such as wireless networks (e.g., Wi-Fi, Z-wave, Bluetooth, Bluetooth LE, ZigBee, etc.), wired networks (e.g., communication over Ethernet or InfiniBand), low power wide area networks (e.g., LoRaWAN, SigFox, etc.), and / or the Internet.
[0111] The system 565 may also include an auxiliary storage device (not shown). The auxiliary storage device 610 includes, for example, a hard disk drive and / or a removable storage drive representing a floppy disk drive, a tape drive, an optical disk drive, a digital versatile disk (DVD) drive, a recording device, a universal serial bus (USB) flash memory. The removable storage drive reads and / or writes to the removable storage unit in a well-known manner. The system 565 may also include a hard-wired power supply, a battery power supply, or a combination thereof (not shown). The power supply can supply power to the system 565 to enable the components of the system 565 to operate.
[0112] Each of the aforementioned modules and / or devices may even be located on a single semiconductor platform to form system 565. Alternatively, various modules may also be placed individually or in various combinations of semiconductor platforms as desired by the user. Although various embodiments are described above, it should be understood that they are given by way of example only and not by way of limitation. Therefore, the breadth and scope of the preferred embodiments should not be limited to any exemplary embodiment described above, but should only be limited in accordance with the following claims and their equivalents.
[0113] Example network environment
[0114] A network environment suitable for implementing embodiments of the present disclosure may include one or more client devices, servers, network attached storage (NAS), other backend devices, and / or other device types. The client devices, servers, and / or other device types (e.g., each device) may be configured to communicate with the network. Figure 5A The processing system 500 and / or Figure 5B The exemplary system 565 may be implemented on one or more instances of the exemplary system 565 , for example, each device may include similar components, features, and / or functionality of the processing system 500 and / or the exemplary system 565 .
[0115] The components of the network environment can communicate with each other via a network, which can be wired, wireless, or both. The network can include multiple networks or networks of networks. For example, the network can include one or more wide area networks (WANs), one or more local area networks (LANs), one or more public networks, such as the Internet, and / or a public switched telephone network (PSTN), and / or one or more private networks. In the case where the network includes a wireless telecommunications network, components such as base stations, communication towers, or even access points (and other components) can provide wireless connectivity.
[0116] Compatible network environments may include one or more peer-to-peer network environments, in which case the server may not be included in the network environment, and one or more client-server network environments, in which case one or more servers may be included in the network environment. In a peer-to-peer network environment, the functionality described herein with respect to the server may be implemented on any number of client devices.
[0117] In at least one embodiment, the network environment may include one or more cloud-based network environments, distributed computing environments, combinations thereof, and the like. A cloud-based network environment may include a framework layer, a job scheduler, a resource manager, and a distributed file system implemented on one or more servers, which may include one or more core network servers and / or edge servers. The framework layer may include a framework for one or more applications of the software supporting the software layer and / or the application layer. The software or application may include web-based service software or application programs, respectively. In an embodiment, one or more client devices may use web-based service software or application programs (e.g., by accessing the service software and / or application programs via one or more application programming interfaces (APIs)). The framework layer may be, but is not limited to, a free open source software web application framework type that may, for example, use a distributed file system for large-scale data processing (e.g., "big data").
[0118] A cloud-based network environment can provide cloud computing and / or cloud storage that implements any combination of computing functions and / or data storage functions (or one or more parts thereof) described herein. Any of these different functions can be distributed in multiple locations from a center or core server (e.g., one or more data centers that can be distributed across states, regions, countries, the world, etc.). If the connection to a user (e.g., a client device) is relatively close to an edge server, the core server can assign at least a portion of the function to the edge server. A cloud-based network environment can be private (e.g., limited to a single organization), public (e.g., available to many organizations), and / or a combination thereof (e.g., a hybrid cloud environment).
[0119] Client devices may include Figure 5B The example processing system 500 and / or Figure 5CAt least some of the components, features, and functions of the exemplary system 565 of the embodiment of the present invention. By way of example and not limitation, the client device may be implemented as a personal computer (PC), a laptop computer, a mobile device, a smart phone, a tablet computer, a smart watch, a wearable computer, a personal digital assistant (PDA), an MP3 player, a virtual reality headset, a global positioning system (GPS) or device, a video player, a video camera, a surveillance device or system, a vehicle, a ship, a spacecraft, a virtual machine, a drone, a robot, a handheld communication device, a hospital device, a gaming device or system, an entertainment system, a vehicle computer system, an embedded system controller, a remote control, an appliance, a consumer electronic device, a workstation, an edge device, any combination of the devices depicted, or any other suitable device.
[0120] Machine Learning
[0121] Deep Neural Networks (DNNs) developed on processors such as the PPU 400 have been used for use cases as diverse as self-driving cars to faster drug development, from automatic image captioning in online image databases to intelligent real-time language translation in video chat applications. Deep learning is a technique that models the neural learning process of the human brain, which continuously learns over time, continuously gets smarter, and delivers more accurate results faster. A child is initially taught by an adult to correctly identify and classify a variety of different shapes, and eventually is able to recognize shapes without any guidance. Similarly, a deep learning or neural learning system needs to be trained in object recognition and classification so that it becomes smarter and more efficient in recognizing basic objects, occluded objects, etc., while also giving context to the objects.
[0122] At the simplest level, neurons in the human brain look at various inputs received, importance levels are assigned to each of these inputs, and outputs are passed to other neurons to react. An artificial neuron, or perceptron, is the most basic model of a neural network. In one example, a perceptron can receive one or more inputs representing various features of an object that the perceptron is being trained to recognize and classify, and each of these features is assigned a certain weight based on the importance of that feature in defining the shape of the object.
[0123] Deep neural network (DNN) models include multiple layers of many connected nodes (e.g., perceptrons, Boltzmann machines, radial basis functions, convolutional layers, etc.) that can be trained with huge amounts of input data to quickly solve complex problems with high accuracy. In one example, the first layer of a DNN model breaks down an input image of a car into different segments and looks for basic patterns such as lines and angles. The second layer assembles these lines to look for higher-level patterns such as wheels, windshields, and mirrors. The next layer identifies the type of vehicle, and the final layers generate tags for the input image, identifying the model of a specific car brand.
[0124] Once trained, a DNN can be deployed and used to recognize and classify objects or patterns in a process known as inference. Examples of inference (the process by which a DNN extracts useful information from a given input) include recognizing handwritten numbers on a check deposited into an ATM, identifying images of friends in photos, delivering movie recommendations to over 50 million users, recognizing and classifying different types of cars, pedestrians, and road hazards in self-driving cars, or translating human language in real time.
[0125] During training, data flows through the DNN in a forward propagation phase until a prediction is produced indicating a label that corresponds to the input. If the neural network does not label the input correctly, the error between the correct label and the predicted label is analyzed, and the weights are adjusted for each feature during a backward propagation phase until the DNN correctly labels the input as well as other inputs in the training data set. Training complex neural networks requires a large amount of parallel computing performance, including floating-point multiplication and addition supported by the PPU 400. Inference is less computationally intensive than training and is a latency-sensitive process in which the trained neural network is applied to new inputs it has not seen before in order to classify images, detect emotions, identify recommendations, recognize and translate languages, and generally reason about new information.
[0126] Neural networks rely heavily on matrix math operations, and complex, multi-layer networks require massive amounts of floating-point performance and bandwidth for both efficiency and speed. With thousands of processing cores optimized for matrix math operations and delivering tens to hundreds of TFLOPS of performance, the PPU 400 is a computing platform capable of delivering the performance required for deep neural network-based artificial intelligence and machine learning applications.
[0127] In addition, images and / or annotations generated using one or more of the techniques disclosed herein can be used to train, test, or certify DNNs used to recognize objects and environments in the real world. Such images can include scenes of roads, factories, buildings, urban environments, rural environments, humans, animals, and any other physical objects or real-world environments. Such images can be used to train, test, or certify DNNs that are used in machines or robots to manipulate, process, or modify physical objects in the real world. In addition, such images can be used to train, test, or certify DNNs that are used in autonomous vehicles to navigate and move vehicles in the real world. In addition, images generated using one or more of the techniques disclosed herein can be used to convey information to users of such machines, robots, and vehicles.
[0128] Figure 5C Components of an example system 555 that may be used to train and utilize machine learning in accordance with at least one embodiment are shown. As will be discussed, various components may be provided by various combinations of computing devices and resources, or a single computing system, which may be under the control of a single entity or multiple entities. In addition, various aspects may be triggered, initiated, or requested by different entities. In at least one embodiment, the training of the neural network may be directed by a vendor associated with the vendor environment 506, while in at least one embodiment, the training may be requested by a customer or other user accessing the vendor environment through a client device 502 or other such resource. In at least one embodiment, the training data (or data to be analyzed by the trained neural network) may be provided by a vendor, a user, or a third-party content provider 524. In at least one embodiment, the client device 502 may be, for example, a vehicle or object to be navigated on behalf of a user, which may submit requests and / or receive instructions to facilitate navigation of the device.
[0129] In at least one embodiment, the request can be submitted via at least one network 504 for receipt by the provider environment 506. In at least one embodiment, the client device can be any suitable electronic and / or computing device that enables a user to generate and send such a request, such as, but not limited to, a desktop computer, a laptop computer, a computer server, a smart phone, a tablet computer, a game console (portable or otherwise), a computer processor, computing logic, and a set-top box. The one or more networks 504 may include any suitable network for transmitting the request or other such data, such as the Internet, an intranet, an Ethernet network, a cellular network, a local area network (LAN), a wide area network (WAN), a personal area network (PAN), an ad hoc network with direct wireless connections between peers, and the like.
[0130] In at least one embodiment, the request may be received at the interface layer 508, which in this example may forward the data to the training and reasoning manager 532. The training and reasoning manager 532 may be a system or service including hardware and software for managing services and requests corresponding to data or content, which in at least one embodiment may receive a request to train a neural network and may provide data for the request to the training module 512. In at least one embodiment, if the request is not specified, the training module 512 may select an appropriate model or neural network to use and may use the relevant training data to train the model. In at least one embodiment, the training data may be a batch of data stored in the training data repository 514, received from the client device 502, or obtained from a third-party supplier 524. In at least one embodiment, the training module 512 may be responsible for the training data. The neural network may be any appropriate network, such as a recurrent neural network (RNN) or a convolutional neural network (CNN). Once the neural network is trained and successfully evaluated, the trained neural network may be stored in, for example, a model repository 516, which may store different models or networks for users, applications, services, etc. In at least one embodiment, multiple models may exist for a single application or entity, as may be utilized based on a number of different factors.
[0131] In at least one embodiment, at a later point in time, a request for content (e.g., path determination) or data determined or influenced at least in part by a trained neural network may be received from the client device 502 (or another such device). The request may include, for example, input data to be processed using the neural network to obtain one or more inferences or other output values, classifications, or predictions, or for at least one embodiment, the input data may be received by the interface layer 508 and directed to the inference module 518, although different systems or services may also be used. In at least one embodiment, if not already locally stored to the inference module 518, the inference module 518 may obtain an appropriate trained network from the model repository 516, such as a trained deep neural network (DNN) discussed herein. The inference module 518 may provide the data as input to the trained network, which may then generate one or more inferences as output. For example, this may include a classification of an instance of the input data. In at least one embodiment, the inferences may then be transmitted to the client device 502 for display to the user or other communication with the user. In at least one embodiment, the user's contextual data may also be stored in a user context data repository 522, which may include data about the user that may be used as input to the network when generating inferences or determining data to be returned to the user after obtaining an instance. In at least one embodiment, related data that may include at least some of the input or inference data may also be stored in a local database 534 for processing future requests. In at least one embodiment, a user may use account information or other information to access resources or functions of a provider environment. In at least one embodiment, if permitted and available, user data may also be collected and used to further train the model to provide more accurate inferences for future requests. In at least one embodiment, a request may be received through a user interface of a machine learning application 526 executed on a client device 502, and the results may be displayed through the same interface. The client device may include resources such as a processor 528 and a memory 562 for generating requests and processing results or responses, and at least one data storage element 552 for storing data for a machine learning application 526.
[0132] In at least one embodiment, the processor 528 (or the processor of the training module 512 or the reasoning module 518) will be a central processing unit (CPU). However, as described above, resources in such an environment may utilize GPUs to process data for at least some types of requests. GPUs such as PPU 300, which have thousands of cores, are designed to handle large parallel workloads and have become popular in deep learning for training neural networks and generating predictions. While using GPUs for offline construction allows larger and more complex models to be trained faster, generating predictions offline means that request-time input features cannot be used, or predictions must be generated for all feature permutations and stored in lookup tables to serve real-time requests. If the deep learning framework supports CPU mode and the model is small and simple enough that feedforward can be performed on the CPU with reasonable latency, a service on a CPU instance can host the model. In this case, training can be performed offline on the GPU and reasoning can be performed in real time on the CPU. If the CPU approach is not feasible, the service can run on a GPU instance. However, because GPUs have different performance and cost characteristics than CPUs, running a service that offloads runtime algorithms to a GPU may require that it be designed differently from a CPU-based service.
[0133] In at least one embodiment, video data may be provided from client device 502 for enhancement in vendor environment 506. In at least one embodiment, video data may be processed for enhancement on client device 502. In at least one embodiment, video data may be streamed from third party content provider 524 and enhanced by third party content provider 524, vendor environment 506, or client device 502. In at least one embodiment, video data may be provided from client device 502 for use as training data in vendor environment 506.
[0134] In at least one embodiment, supervised and / or unsupervised training can be performed by the client device 502 and / or the vendor environment 506. In at least one embodiment, a set of training data 514 (e.g., classified or labeled data) is provided as input to be used as training data. In one embodiment, the training data set can be used to train the analysis service 120 and / or the detection data generator 110.
[0135] In at least one embodiment, the training data may include instances of at least one type of object for which the neural network is to be trained, and information identifying the type of the object. In at least one embodiment, the training data may include a set of images, each of which includes a representation of an object type, wherein each image also includes tags, metadata, classifications, or other information identifying the type of object represented in the corresponding image, or associated with it. Various other types of data may also be used as training data, which may include text data, audio data, video data, and the like. In at least one embodiment, the training data 514 is provided to the training module 512 as training input. In at least one embodiment, the training module 512 may be a system or service including hardware and software, such as one or more computing devices running a training application to train a neural network (or other model or algorithm, etc.). In at least one embodiment, the training module 512 receives an instruction or request indicating the type of model to be used for training, and in at least one embodiment, the model may be any suitable statistical model, network, or algorithm useful for such a purpose, which may include an artificial neural network, a deep learning algorithm, a learning classifier, a Bayesian network, and the like. In at least one embodiment, the training module 512 can select an initial model or other untrained model from an appropriate repository 516 and train the model using the training data 514, thereby generating a trained model (e.g., a trained deep neural network) that can be used to classify similar types of data or generate other such inferences. In at least one embodiment in which training data is not used, an appropriate initial model can still be selected to train the input data of each training module 512.
[0136] In at least one embodiment, the model can be trained in several different ways, which may depend in part on the type of model selected. In at least one embodiment, a training data set can be provided to a machine learning algorithm, where the model is a model artifact created by a training process. In at least one embodiment, each instance of the training data contains a correct answer (e.g., a classification) that can be referred to as a target or target attribute. In at least one embodiment, the learning algorithm finds patterns in the training data that map input data attributes to targets - the answers to be predicted - and the machine learning model is the output that captures these patterns. In at least one embodiment, the machine learning model can then be used to obtain predictions for new data for which a target is not specified.
[0137] In at least one embodiment, the training and inference manager 532 can select from a set of machine learning models including binary classification, multi-class classification, generative and regression models. In at least one embodiment, the type of model to be used can depend at least in part on the type of target to be predicted.
[0138] The image and / or annotation generated by applying one or more techniques disclosed herein can be displayed on a monitor or other display device. In some embodiments, the display device can be directly coupled to a system or processor that generates or renders an image. In other embodiments, the display device can be indirectly coupled to the system or processor, for example, via a network. Examples of such networks include the Internet, mobile telecommunications networks, WIFI networks, and any other wired and / or wireless networking systems. When the display device is indirectly coupled, the image generated by the system or processor can be streamed to the display device via the network. Such streaming allows, for example, a video game or other application that renders an image to be executed on a server, a data center, or in a cloud-based computing environment, and allows the rendered image to be transmitted and displayed on one or more user devices (e.g., computers, video game consoles, smart phones, other mobile devices, etc.) that are physically separated from the server or data center. Therefore, the technology disclosed herein can be applied to enhance the image being streamed, and enhance the service of streaming images, such as NVIDIA GeForce Now (GFN), Google Stadia, etc.
[0139] It should be noted that the techniques described herein may be embodied in executable instructions stored in a computer-readable medium for use by or in conjunction with a processor-based instruction execution machine, system, device, or apparatus. Those skilled in the art will appreciate that, for some embodiments, various different types of computer-readable media may be included for storing data. As used herein, "computer-readable media" includes one or more any suitable media for storing executable instructions of a computer program, so that an instruction execution machine, system, device, or apparatus can read (or fetch) instructions from the computer-readable medium and execute these instructions to implement the described embodiments. Suitable storage formats include one or more of electronic, magnetic, optical, and electromagnetic formats. A non-exhaustive list of conventional exemplary computer-readable media includes: portable computer disks; random access memory (RAM); read-only memory (ROM); erasable programmable read-only memory (EPROM); flash memory devices; and optical storage devices, including portable compact discs (CDs), portable digital video discs (DVDs), and the like.
[0140] It should be understood that the arrangement of the parts shown in the accompanying drawings is for illustrative purposes, and other arrangements are possible. For example, one or more of the elements described herein can be implemented as electronic hardware components in whole or in part. Other elements can be implemented with a combination of software, hardware, or software and hardware. Moreover, some or all of these other elements can be combined, some can be omitted completely, and other parts can be added, while still realizing the functions described herein. Therefore, the subject matter described herein can be implemented in many different variations, and all such variations are expected to be within the scope of the claims.
[0141] For the ease of understanding the subject matter described herein, many aspects are described according to the action sequence. Those skilled in the art will recognize that various actions can be performed by a dedicated circuit or circuit system, by the program instruction of one or more processors or by a combination of the two. This paper is not intended to mean that the specific order described for performing this sequence must be followed for the description of any action sequence. All methods described herein can be performed in any appropriate order, unless otherwise specified herein or otherwise clearly contradictory with context.
[0142] The use of the terms "one", "an", "the", and similar designations in the context of describing a subject (especially in the context of the following claims) should be interpreted as covering both the singular and the plural, unless otherwise specified herein or clearly contradictory to the context. The use of the term "at least one" (e.g., "at least one of A and B") followed by a list of one or more items should be interpreted as meaning an item (A or B) selected from the listed items, or any combination of two or more of the listed items (A and B), unless otherwise specified herein or clearly contradictory to the context. In addition, the foregoing description is only for illustrative purposes and is not intended for limiting purposes, because the scope of protection sought is defined by the claims set forth hereafter together with their equivalents. The use of any and all examples or exemplary language (e.g., "such as") provided herein is intended only to better illustrate the subject matter and does not constitute a limitation on the scope of the subject matter, unless otherwise stated. The use of the terms "based on" and other similar phrases indicating conditions that bring about a result in both the claims and the written specification is not intended to exclude any other conditions that bring about the result. The language in the specification should not be interpreted as indicating that any unclaimed element is essential to the implementation of the claimed invention.
Claims
1. A method for trigger-controlled clip extraction, comprising: Processing, at the edge device, a data stream continuously acquired from a sensor and continuously buffered to generate detection data corresponding to at least one time period in the data stream; transmitting the detection data to a message broker over a network, wherein the message broker transmits the detection data to the remote device in response to the message broker determining that the detection data indicates the presence of at least one instance of a first type of object corresponding to a policy defined for the remote device; receiving, by the edge device, a trigger generated by the remote device and identifying an event in response to analysis of the detection data by the remote device; In response to the trigger, extracting a clip comprising at least a portion of the data stream continuously buffered by the edge device; and The clip is stored, by the edge device, to a persistent storage device. 2 . The method of claim 1 , wherein the data stream is a video stream and the detection data corresponds to objects visible in the data stream. 3 . The method of claim 1 , wherein the data stream is an audio stream, and the detection data corresponds to audible sounds in the data stream. The method of claim 1 , wherein the sensor comprises at least one of a camera or a microphone.
5. The method of claim 1, wherein the sensor comprises one or more of a light detection and ranging (LIDAR) sensor, an infrared (IR) sensor, a radio detection and ranging (RADAR) sensor, a weather sensor, or a speed sensor. The method of claim 1 , wherein at least one further device is configured to transmit further detection data to the remote device.
7. The method of claim 1, wherein the analyzing is performed by a neural network.
8. The method of claim 1, wherein the detection data is generated by a neural network.
9. The method of claim 1, wherein the remote device is located within a cloud computing environment.
10. The method of claim 1, wherein the processing step, the transmitting step, the receiving step, the extracting step, and the storing step generate data for training, testing, or certifying a neural network model employed in a machine, a robot, or an autonomous vehicle.
11. The method of claim 1, wherein the processing step, the transmitting step, the receiving step, the extracting step, and the storing step are performed by a virtual machine hosted in a computing device including at least one of a processor or a graphics processing unit.
12. The method of claim 1, wherein the capacity of the buffer accommodates a delay in time starting from when at least a portion of the data stream for the clip is acquired and ending after receiving the trigger.
13. The method of claim 1, wherein identification of the event by the edge device is separate from the analysis performed by the remote device.
14. The method of claim 1, wherein the remote device is at least one of an on-premises server or a computing device within a data center.
15. The method of claim 1, wherein the defined policy enables the remote device to only receive detection data corresponding to a first type of object.
16. The method of claim 1, wherein the policy defined for the remote device prevents the remote device from receiving second detection data corresponding to a second type of object.
17. A method for trigger-controlled clip extraction, comprising: Processing, at the edge device, a data stream acquired from a sensor and continuously buffered to generate detection data corresponding to at least one time period in the data stream; transmitting the detection data to a message broker over a network, wherein the message broker transmits the detection data to the remote device in response to the message broker determining that the detection data indicates the presence of at least one instance of a first type of object corresponding to a policy defined for the remote device; Receiving, by the edge device, a trigger generated by the remote device and identifying an event in response to processing the detection data; In response to the trigger, extracting a clip comprising at least a portion of the data stream continuously buffered by the edge device; storing, by the edge device, the clip to persistent storage, and Annotation data corresponding to the clip and included with the trigger is stored in the persistent storage by the edge device.
18. A system for trigger-controlled clip extraction, comprising: An edge device coupled to a persistent storage device and configured to: Processing a data stream continuously acquired from a sensor and continuously buffered to generate detection data corresponding to at least one time period in the data stream; transmitting the detection data to a message broker over a network, wherein the message broker transmits the detection data to the remote device in response to the message broker determining that the detection data indicates the presence of at least one instance of a first type of object corresponding to a policy defined for the remote device; receiving, in response to analysis of the detection data by the remote device, a trigger generated by the remote device that identifies an event; In response to the trigger, extracting a clip comprising at least a portion of the data stream continuously buffered by the edge device; and The clip is stored, by the edge device, to the persistent storage.
19. The system of claim 18, wherein the data stream is a video stream and the detection data corresponds to objects visible in the data stream.
20. The system of claim 18, wherein the data stream is an audio stream and the detection data corresponds to audible sounds in the data stream.
21. A non-transitory computer readable medium storing computer instructions which, when executed by one or more processors, cause the one or more processors to perform the following steps: Processing, by the edge device, a data stream continuously acquired from a sensor and continuously buffered to generate detection data corresponding to at least one time period in the data stream; transmitting the detection data to a message broker over a network, wherein the message broker transmits the detection data to the remote device in response to determining that the message broker determines that the detection data indicates the presence of at least one instance of a first type of object corresponding to a policy defined for the remote device; receiving, in response to analysis of the detection data by the remote device, a trigger generated by the remote device that identifies an event; In response to the trigger, extracting a clip comprising at least a portion of the data stream continuously buffered by the edge device; and The clip is stored, by the edge device, to a persistent storage device.
