File format for selective streaming of data

The introduction of 'pocket' files with indexed data sections addresses the inefficiency of downloading entire ROS bag files by allowing selective streaming of data, enhancing data transfer efficiency and reducing bandwidth consumption.

JP2024137869APending Publication Date: 2024-10-07エンバーク トラックス インコーポレーテッド
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024044622
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-22
Filing Date
2024-03-21
Publication Date
2024-10-07

AI Technical Summary

Technical Problem

Existing simulation systems for autonomous vehicles require downloading entire ROS bag files to access specific data sections, which is inefficient and consumes significant time and bandwidth.

Method used

A new file format called 'pocket' files, which are binary files with indexed data sections, allowing selective streaming of data by identifying small portions using a header, reducing the amount of data loaded and streamed.

Benefits of technology

Enables quick identification and streaming of specific data intervals without downloading the entire file, optimizing data transfer efficiency and reducing bandwidth usage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024137869000001_ABST
    Figure 2024137869000001_ABST
Patent Text Reader

Abstract

To provide a method and a computing system for selectively streaming content using a new binary file format.SOLUTION: A method includes the steps of: storing a plurality of binary files; establishing a network communication session between a computing system and a computing terminal via a network; receiving one or more identifiers of time intervals from the computing terminal via the network communication session; identifying a subset of data in a data section of a binary file stored in a memory mapped to the one or more identifiers of time intervals on the basis of an index in that binary file; and transmitting a stream containing the identified subset of data to the computing terminal via the network communication session.SELECTED DRAWING: Figure 8
Need to check novelty before this filing date? Find Prior Art

Description

[Background technology]

[0001] Autonomous driving systems, such as those found in cars, trucks, and other types of autonomous transportation, rely on simulation software. For example, simulation software can be used to develop, train, and validate autonomous driving systems. Many simulation systems use driving data captured by the vehicle during a run, such as camera data, lidar data, GPS data, routing data, decisions made by the autonomous driving system, etc. Data is captured while the vehicle is driving along a route and can then be used by the simulation system to test additional runs of the vehicle through the software without requiring the vehicle to return to the road.

[0002] A robotic operating system (ROS) file, also called a "bag" or "ROS bag", is one of the most common types of files used to store driving data. Messages captured by different systems on a vehicle may be stored together as chunks of data in a bag file. However, to selectively play data from a bag file (such as only a small portion of a video file stored therein), the entire bag file must be opened and downloaded to a streaming device. This consumes a significant amount of time and bandwidth, considering that the user device may only be interested in playing a small portion of the file. Therefore, what is needed is a better file format for streaming content. Summary of the Invention

[0003] Exemplary embodiments are directed to a new type of file format referred to herein as a “pocket” file. A pocket file is a binary file that includes indexed data sections that store simulation content such as multimedia content, video content, audio content, images, GPS content, route data, planning data, and the like. Within a pocket file, there is a header with an index stored that can be used to quickly identify small portions (pockets) of data within the data section of the pocket file. For example, small pockets of data within a data section can be identified by loading only the index (or header) from the pocket file as well, without the need to load the data section. Thus, a server or requesting terminal can quickly find desired intervals of data and request those data intervals from the host platform. In response, the hotspot platform can selectively download / stream only the selected pockets of data, rather than the entire data section. Accordingly, the amount of data loaded and streamed is significantly reduced by exemplary embodiments.

[0004] As one example, an index may be generated based on intervals of time in the multimedia content stored in the data section. For example, new time intervals may be stored in the index every second, half second, quarter second, etc. The index is a mapping of time intervals to byte locations in the data section that correspond to the captured data. Thus, data may be selectively identified (and played / streamed) based on its point in time in the content without streaming the entire file. Another advantage is that the host system may "jump" across other data sections to other time intervals when playing back the multimedia content. For example, if the host platform receives two non-contiguous time intervals from a requester, the host platform may skip or otherwise avoid playing back the content from points in time in the file that correspond to the intermediate interval of the multimedia content between the non-contiguous time intervals in the multimedia content.

[0005] According to an exemplary embodiment, a memory configured to store a plurality of binary files and a processor are provided, the processor being configured to establish a network communication session between a computing system and a computing terminal over a network, receive identifiers of one or more time intervals from the computing terminal over the network communication session, identify a subset of data in data sections of the binary files stored in memory that is mapped to the identifiers of the one or more time intervals based on an index in the binary files, and transmit a stream including the identified subset of data to the computing terminal over the network communication session.

[0006] According to another exemplary embodiment, the following steps are provided: storing a plurality of binary files, establishing a network communication session between a computing system and a computing terminal over a network, receiving an identifier of one or more time intervals from the computing terminal over the network communication session, identifying a subset of data in a data section of the binary file stored in memory that is mapped to the identifier of the one or more time intervals based on an index in the binary file, and transmitting a stream including the identified subset of data to the computing terminal over the network communication session.

[0007] According to another exemplary embodiment, a computer readable medium is provided comprising instructions that, when executed by a processor, cause the computer to perform the following steps: storing a plurality of binary files, establishing a network communication session between a computing system and a computing terminal over a network, receiving identifiers of one or more time intervals from the computing terminal over the network communication session, identifying a subset of data in a data section of the binary file stored in memory that is mapped to the identifiers of the one or more time intervals based on an index in the binary file, and transmitting a stream including the identified subset of data to the computing terminal over the network communication session. [Brief description of the drawings]

[0008] The features and advantages of the illustrative embodiments, and the manner in which they are accomplished, will become more readily apparent by reference to the following detailed description taken in conjunction with the accompanying drawings. [Figure 1]FIG. 1 is a diagram illustrating a control system that may be disposed in a vehicle, such as the semi-truck shown in FIGS. 2A-2C, in accordance with an exemplary embodiment. [Figure 2A] FIG. 2A is a diagram illustrating an exterior view of a semi-truck that may be used in accordance with an exemplary embodiment. [Figure 2B] FIG. 2B is a diagram illustrating an exterior view of a semi-truck that may be used in accordance with an exemplary embodiment. [Figure 2C] FIG. 2C is a diagram illustrating an exterior view of a semi-truck that may be used in accordance with an exemplary embodiment. [Figure 3A] FIG. 3A is a diagram illustrating an example of a pocket file format, according to an exemplary embodiment. [Figure 3B] FIG. 3B is a diagram illustrating an example of a pocket file format, according to an exemplary embodiment. [Figure 4A] FIG. 4A illustrates a process for streaming content based on pocket files according to an example embodiment. [Figure 4B] FIG. 4B illustrates a process for streaming content based on a pocket file according to an exemplary embodiment. [Figure 4C] FIG. 4C illustrates a process for streaming content based on a pocket file according to an exemplary embodiment. [Figure 4D] FIG. 4D illustrates a process for streaming content based on pocket files according to an exemplary embodiment. [Diagram 5] FIG. 5 is a diagram illustrating a user interface for use in streaming content, according to an example embodiment. [Figure 6A] FIG. 6A illustrates a process for converting a ROS file to a pocket file according to an example embodiment. [Figure 6B] FIG. 6B illustrates a process for converting a ROS file to a pocket file according to an example embodiment. [Figure 7] FIG. 7 illustrates a process for loading time-based data from a server via a client application according to an example embodiment. [Figure 8] FIG. 8 illustrates a method for selectively streaming content from a binary file in accordance with an example embodiment.

[0009] Throughout the drawings and detailed description, the same drawing reference numbers will be understood to refer to the same elements, features, and structures, unless otherwise noted. The relative size and depiction of these elements may be exaggerated or adjusted for clarity, illustration, and / or convenience. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] In the following description, specific details are described to provide a thorough understanding of various exemplary embodiments. It should be appreciated that various modifications to the embodiments will be readily apparent to those skilled in the art, and that the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the present disclosure. Moreover, in the following description, numerous details are described for purposes of explanation. However, it should be understood that one skilled in the art may practice the embodiments without the use of these specific details. In other instances, well-known structures and processes are not shown or described so as not to obscure the description with unnecessary detail. Thus, the present disclosure is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.

[0011] Exemplary embodiments are directed to a new type of file format that can be used to more efficiently handle streaming sessions between a host system (such as a cloud platform or other content delivery platform) and a user device or other computing terminal that is downloading and playing / streaming the content. The file format is a binary file format with an indexed data section. Indexing is based on units of time within the playable content stored in the indexed data section. For example, content to be played in a first time interval (e.g., first second of time) within a video and content to be played in the next time interval (e.g., next second, etc.) within the video may be identified separately in the index and thus may be selectively extracted and played during a streaming session without the need to load the entire data section.

[0012] In some embodiments, the streaming platform described herein can be used to host a streaming service for autonomous vehicle development. The streaming service can be called by simulation software that simulates the driving environment of the vehicle. For example, the simulation software can play actual driving data captured from the vehicle against the software being developed for the vehicle to test the software for bugs and fixes. The pocket file described herein can store multiple types of data that can be used for vehicle simulation, such as GPS data, imaging data, routing data, planning data, etc. All of this data is indexed and, due to the index stored in the header, can be quickly pulled together without having to open the entire file. Instead, the user only needs to open the header to identify which portion of the file they want to use during a test simulation. The user can also "jump" between intervals in the multimedia content stored in the file based on the index.

[0013] For convenience and ease of explanation, certain terminology is used herein. For example, the term "semi-track" is used to refer to a vehicle in which the system of the exemplary embodiment may be used. The terms "semi-truck," "truck," "tractor," "vehicle," and "semi" may be used interchangeably herein. It should also be understood that the exemplary embodiment is not limited to autonomous semi-trucks, but rather, all types of vehicles, trucks, vans, motorcycles, etc., that may travel along a road.

[0014] Light detection and ranging (lidar) sensors are used by vehicles to measure the surrounding area by obtaining a sparse point cloud using distances to points in the point cloud measured by a light beam from the lidar sensor. Illumination works independent of ambient light and can be used in any condition. Furthermore, lidar sensors can capture data that can be used to generate a map of the world in three dimensions (3D). Radio detection and ranging (radar) sensors are used by vehicles to identify objects and other obstacles around the vehicle. Radar sensors can emit electromagnetic waves that reflect (and return reflections) when they encounter obstacles. Meanwhile, vehicle cameras can capture images (e.g., RGB images, black and white images, etc.) of the world around the vehicle and provide complementary data to the lidar data captured by the lidar sensor. For example, cameras can capture data such as color, texture, appearance, etc., while lidar can capture and model structural aspects of the data. Lidar sensors, radar sensors, and cameras are exemplary sensors in vehicles described herein, such as autonomous vehicles (AVs).

[0015] In many vehicles, the perception of the vehicle is generated based on a combination of lidar data from a lidar sensor and image data captured by a camera (i.e., jointly). For accurate perception, these two systems must be aligned with respect to each other. Calibration can be performed to align the coordinate frame of the lidar sensor with the coordinate frame of the camera by changing extrinsic parameters, such as rotation and translation between the coordinate frames of the lidar sensor and the camera. These extrinsic parameters can be used to fuse information from the lidar sensor and the image sensor when visualizing the vehicle interpreting visual data from the road.

[0016] With the calibrated sensors, the vehicle can capture images and lidar readings of the area surrounding the vehicle and build / modify a three-dimensional map that is stored internally in the vehicle's computer (or remotely via a web server). The vehicle can localize itself within the map and determine how to steer, turn, slow down, etc. based on other objects in the map, lane lines, incoming lanes, outgoing lanes, etc. An autonomous vehicle may use one or more computer systems to control the vehicle to move autonomously without user input. For example, a vehicle may be equipped with an autonomous vehicle (AV) system that generates signals to control the engine, steering wheel, brakes, etc. based on other objects in the map, lanes, incoming lanes, and outgoing lanes.

[0017] According to various embodiments, driving data may be captured by a vehicle traveling on a road and stored using a first type of file, e.g., a Robot Operating System (ROS) file, also known as a "bag" file. In a ROS bag, the data captured by the vehicle is not indexed. Instead, the data is stored as "chunks" without indexing. The data may include a mix of multiple types of data, including GPS data, imaging data, lidar data, radar data, routing and planning system data, map data, etc. The chunks are then encoded and metadata is added to the file to identify the chunks. In order for content stored in the chunks (e.g., videos, etc.) to be played, the entire ROS bag file must be downloaded to the client device and opened. This process is quite inefficient because if the client simply wants to watch a small portion of the video, the entire file must be downloaded.

[0018] In contrast, in the present application, a pocket file is provided and enables a host platform to download only selective portions of video (and other multimedia content) from a data section of a file to a client without downloading the entire data section of the file to the client. Thus, the client does not have to wait for the entire download to occur or open the entire file on the local system. Instead, the client can download an index of the pocket file (stored in the header of the pocket file) and select one or more portions of the video that are of interest (e.g., by time interval). In response, the host platform can use the index to download only those selected portions of the video from the data section of the file.

[0019] In other words, only a small portion of the data section of the pocket file must be downloaded and opened to the client device in order for the selected content to be played. This process is very efficient since if the client simply wants to watch a small portion of the video, only a small portion of the video is downloaded and watched. Although video is used in this example, other types of time-based data can be retrieved, such as sensor data captured by sensors on the vehicle associated with one or more of the engine, braking system, steering system, etc. Other examples of data include route planning and guidance data, etc. They can also jump from one portion of the video to a non-contiguous portion of the video, beyond one or more intermediate portions of the video, without having to download the intervening portions of the video. Thus, based on the indexed data section of the pocket file, the host platform / streaming service can reduce the amount of data downloaded compared to a conventional streaming service using a ROS file. This also generally improves the bandwidth of the host platform and the network.

[0020] As one example, a client may include a client application with a buffer that allows the client application to request a subset of the content from a file, such as using a HyperText Transfer Protocol (HTTP) range request. An HTTP range request from a client application may identify an interval or range of time within the file (but not all of the time). The server may then respond to the HTTP range request with only the content from that time interval within the file.

[0021] Figure 1 illustrates a control system 100 that may be disposed in a vehicle, such as the semi-truck shown in Figures 2A-2C, according to an example embodiment. With reference to Figure 1, the control system 100 may include a number of sensors 110 that collect data and information that are provided to a computer system 140 to perform operations including, for example, control operations to control components of the vehicle via a gateway 180. According to some embodiments, the gateway 180 is configured to enable the computer system 140 to control a number of different components from different manufacturers.

[0022] The computer system 140 may be configured with one or more central processing units (CPUs) 142 to perform processing, including processing to implement features of embodiments of the invention described elsewhere herein, as well as to receive sensor data from the sensors 110 for use in generating control signals to control one or more actuators or other controllers associated with the vehicle's systems (including, for example, actuators or controllers that enable control of the throttle 184, steering system 186, brakes 188, etc.). In general, the control system 100 may be configured to operate the semi-truck 200 in an autonomous (or semi-autonomous) mode of operation. In some embodiments, the computer system 140 may include an AV system 143 for controlling the system. For example, the AV system 143 may be located within the computer system 140.

[0023] During operation, the control system 100 may be operated to capture images from one or more cameras 112 mounted at various locations on the semi-truck 200 and perform processing (such as image processing) on ​​those images to identify objects proximate or in the path of the semi-truck 200. Additionally, the lidar 114 and radar 116 may be positioned to sense or detect the presence and volume of objects proximate or in the path of the semi-truck 200. Other sensors may also be located or mounted at various locations on the semi-truck 200 to capture other information, such as position data. For example, the sensors may include one or more satellite positioning sensors and / or an inertial navigation system, such as the GNSS / IMU sensor 118. The Global Navigation Satellite System (GNSS) is a space-based system of satellites that provides position information (longitude, latitude, altitude) and time information in all weather conditions anywhere on or near the Earth to devices called GNSS receivers. GPS is the most used GNSS system in the world. An inertial measurement unit ("IMU") is an inertial navigation system. In general, an inertial navigation system ("INS") measures and integrates the orientation, position, velocity, and acceleration of moving objects. The INS integrates the measured data, where the GNSS is used as a correction to the integration error of the INS orientation calculation. Any number of different types of GNSS / IMU sensors 118 may be used in conjunction with the features of the present invention. The data collected by each of these sensors may be processed by the computer system 140 to generate control signals that control the operation of the semi-truck 200. The image and position information may be processed to identify or detect objects around or in the path of the semi-truck 200, and control signals may be issued to adjust the throttle 184, steering system 186, or brakes 188 as necessary to operate the semi-truck 200 safely.1, one skilled in the art will understand after reading this disclosure that other sensors, actuators, or systems may also be used. For example, in some embodiments, actuators may also be provided that allow control of the transmission of the semi-truck 200.

[0024] The control system 100 may include a computer system 140 (such as a computer server) configured to provide a computing environment in which one or more software or control applications (such as items 160 through 182) may be executed to perform the processes described herein. In some embodiments, the computer system 140 includes components located on the semi-truck 200 (e.g., may be located in a systems rack 240 located in the sleeper compartment 212, as shown in FIG. 2C). The computer system 140 may communicate with other computer systems (not shown) that may be remote from the semi-truck 200 (e.g., the computer systems may communicate via a network connection).

[0025] In some examples, computer system 140 may be implemented as a server. Additionally, computer system 140 may be configured using any of a number of well-known computing systems, environments, and / or configurations, such as, but not limited to, personal computer systems, cloud platforms, server computer systems, thin clients, thick clients, handheld or laptop devices, tablets, smartphones, databases, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputer systems, mainframe computer systems, distributed cloud computing environments, and the like, which may include any of the above systems or devices, and the like.

[0026] A number of different software applications or components may be executed by the computer system 140 and the control system 100. For example, as shown, an application may be provided that performs active learning machine processing (active learning component 160) to process images captured by one or more cameras 112 and information obtained by the lidar 114. For example, the image data may be processed using a deep learning segmentation model 162 to identify objects of interest in those images (e.g., other vehicles, construction signs, etc.). The lidar data may be processed by a machine learning application 164 to draw or identify bounding boxes on the image data to identify objects of interest located by the lidar sensor. Information output from the machine learning application may be provided as input to object fusion 168 and vision map fusion 170 software components that may perform processing to predict the actions of other road users and fuse local vehicle pose with global map geometry in real time, enabling on-the-fly map correction. Output from the machine learning application may be supplemented with information from the radar 116 and map location 166 application data (as well as positioning data). These applications allow the control system 100 to be less map-dependent and more capable of dealing with an ever-changing road environment. Furthermore, by correcting any map errors on the fly, the control system 100 can facilitate safer, more scalable, and more efficient operation compared to alternative map-centric approaches. Information is provided to the prediction and planning application 172, which provides input to the trajectory planning 174 component, allowing a trajectory 176 to be generated in real-time based on interactions and predicted interactions between the semi-truck 200 and other relevant vehicles in the environment.In some embodiments, for example, the control system 100 generates a 60 second planning horizon, analyzes the relevant actors and available trajectories, the plan that best meets multiple criteria (including safety, comfort, and route preferences) is selected, and any associated control inputs required to execute the plan are provided to the controller 182 to control the movement of the semi-truck 200.

[0027] These applications or components (as well as other components or flows described herein) may be implemented in hardware, in a computer program executed by a processor, in firmware, or in a combination of the above. The computer program may be embodied in a computer-readable medium, such as a storage medium or storage device. For example, the computer program may reside in a random access memory ("RAM"), a flash memory, a read-only memory ("ROM"), an erasable programmable read-only memory ("EPROM"), an electrically erasable programmable read-only memory ("EEPROM"), a register, a hard disk, a removable disk, a compact disk read-only memory ("CD-ROM"), or any other form of storage medium known in the art.

[0028] The storage medium may be coupled to the processor such that the processor can read information from and write information to the storage medium. Alternatively, the storage medium may be integrated into the processor. The processor and the storage medium may reside in an application specific integrated circuit ("ASIC"). Alternatively, the processor and the storage medium may reside as discrete components. For example, FIG. 1 illustrates an exemplary computer system 140 that may represent or be integrated within any of the above-mentioned components, etc. FIG. 1 is not intended to suggest any limitation as to the scope of use or functionality of the embodiments of the present application described herein. The computer system 140 may implement and / or perform any of the functions identified above.

[0029] Computer system 140 may be described in the general context of computer system executable instructions, such as program modules, executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc. that perform particular tasks or implement particular abstract data types. Computer system 140 may be implemented in a distributed cloud computing environment where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media, including memory storage devices.

[0030] 1, computer system 140 is shown in the form of a general-purpose computing device. Components of computer system 140 may include, but are not limited to, one or more processors (such as CPU 142 and GPU 144), a communication interface 146, one or more input / output interfaces 148, and a storage device 216. Although not shown, computer system 140 may also include a system bus that couples various system components, including system memory, to CPU 142. In some embodiments, input / output interface 148 may also include a network interface. For example, in some embodiments, some or all of the components of control system 100 may communicate via a controller area network ("CAN") bus or the like.

[0031] Storage device 150 may include various types and forms of computer-readable media. Such media may be any available media accessible by a computer system / server, and may include both volatile and non-volatile media, removable and non-removable media. The system memory, in one embodiment, implements the flow diagram of another figure. The system memory may include computer system-readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory. As another example, storage device 150 may read from and write to a non-removable non-volatile magnetic medium (not shown, and typically referred to as a "hard drive"). Although not shown, storage device 150 may include one or more removable non-volatile disk drives, such as magnetic, tape, or optical disk drives. In such a case, each may be connected to the bus by one or more data media interfaces. Storage device 150 may include at least one program product having a set of program modules (e.g., at least one) configured to perform the functions of various embodiments of the present application.

[0032] 2A-2C are diagrams illustrating the exterior of a semi-truck 200 that may be used in accordance with an exemplary embodiment. With reference to FIGS. 2A-2C, the semi-truck 200 is shown for illustrative purposes only - one skilled in the art will understand, upon reading this disclosure, that the embodiments may be used with a number of different types of vehicles. The exemplary semi-truck 200 shown in FIGS. 2A-2C is constructed in a typical North American style, with an engine 206, steering axle 214, and drive axle 220 forward of the cab 202. 216. A trailer (not shown) is attached to the semi-truck 200 via a fifth-wheel trailer coupling provided on a frame 218 positioned on the drive axle 216. A sleeping compartment 212 is located behind the cab 202. Several sensors are located in different locations on the semi-truck 200. For example, sensors may be mounted on the roof of the cab 202 on a sensor rack 220. Sensors may be mounted on the side mirrors 210 as well as other locations.

[0033] As described below, sensors may be mounted on the bumper 204, as well as on the side of the cab 202, or at other locations. For example, in FIG. 2A , a rear-facing radar 236 is shown mounted on the side of the cab 202. Embodiments may be used with other configurations of trucks or other vehicles (e.g., semi-trucks having cab-over or cab-forward configurations, etc.). In general, and without limiting embodiments of the invention, features of the invention may be used with desirable results in vehicles that haul cargo over long distances, such as long-distance semi-truck routes.

[0034] FIG. 2B is a front view of the semi-truck 200, showing several sensors and sensor locations. The sensor rack 220 can mount and position several sensors, including the long-range lidar 222, the long-range camera 224, the GPS antenna 234, and the medium-range forward-facing camera 226. The side mirrors 210 can provide mounting locations for the rear-facing camera 228 and the medium-range lidar 230. The forward radar 232 can be mounted on the bumper 204. Other sensors can be mounted or installed in other locations - the locations and mounts shown in FIGS. 2A-2C are for illustrative purposes only. Referring now to FIG. 2C, a partial view of the semi-truck 200 is shown showing the interior of the cab 202 and the sleep compartment 212. In some embodiments, portions of the control system 100 of FIG. 1 are deployed in a system rack 240 in the sleep compartment 212, allowing easy access to the components of the control system 100 for maintenance and operation.

[0035] FIG. 3A illustrates one example of a format of a pocket file 300, according to an exemplary embodiment. Referring to FIG. 3A, the pocket file 300 is a binary file that includes a header 310 and an indexed data section 320. The data section 320 may store multimedia content, such as audio, image frames, GPS data, sensor data, lidar data, radar data, route guidance data, etc. For example, the data section 320 may store playable content, and the pocket file 300 may be played during a streaming session, such as a driving simulation or any other type of streaming session. The data or content may be stored in the form of a message.

[0036] Within a vehicle, different systems, such as the GPS, engine, braking system, accelerator, control system, routing system, guidance system, planning system, etc., can issue messages to the vehicle's computer, which are then stored in files. In some cases, the data may be stored in a pocket file as described herein. As another example, the data may first be stored in a non-indexed file, such as a ROS file, and then converted to a pocket file. One example of converting a ROS file to a pocket file is described in the embodiment of Figures 6A-6B.

[0037] Referring again to FIG. 3A, indexing within the data section 320 may be based on time intervals within the time-based data stored in the data section 320. For example, the index 312 may be created with several indexes at equally spaced intervals, such as every 0.5 seconds, 1.0 seconds, 5.0 seconds, etc. Each time interval within the index 312 may be mapped to a byte location 322 of the corresponding data within the data section 320. The byte location 322 is an address or location within the storage structure of the data section 320, where the address mapped to a time interval is where the data to be played during that time interval is stored in the data section 320. Thus, the index 312 may be generated such that multiple time intervals are mapped to multiple byte locations within the data section 320 corresponding to multiple sections of time-based data within the multimedia content.

[0038] For example, Figure 3B shows an additional example of an index 312 according to one exemplary embodiment. Referring to Figure 3B, the index 312 includes a number of timing identifiers 332 (time intervals) mapped to a number of byte locations 334 (addresses) in the data section 320 of the pocket file 300. In this example, the index 312 may store an indexed view of the multimedia content stored in the data section 320 based on time. Thus, the index 312 may be used to selectively identify a subset of the content to be played from the data section 320 based on time.

[0039] 4A through 4D illustrate a process for streaming content based on a pocket file, according to an exemplary embodiment. Referring to FIG. 4A, a process 400A is illustrated in which a computing terminal 410 establishes a network communication channel with a host platform 420 via a computer network, such as the Internet. The computing terminal 410 may be a desktop computer, a laptop computer, a tablet, a smart wearable, a mobile device, a vehicle, etc. The host platform 420 may refer to any type of host system, such as a cloud platform, a web server, a database, a content delivery service, etc. The host platform 420 also includes a file storage 422 that stores a file having a pocket file format, as described in the examples of FIG. 3A and FIG. 3B.

[0040] In the example of FIG. 4A, a user can open a user interface 412 that provides access to content that can be played. First, the user can identify a file that the user wants to open and submit the selection to the host platform 420 via the user interface 412. In response, the host platform 420 can identify a pocket file 430 that corresponds to the file that the user wants to open from the file storage 422. For example, FIG. 4B illustrates a process 400B in which the host platform 420 identifies the pocket file 430 and downloads only the header 432 from the pocket file 430, but not the data section 434. The header 432 includes an index as described in the examples of FIGS. 3A and 3B, and provides an indexed view of the content stored in the data section 434 of the pocket file 430.

[0041] FIG. 4C illustrates a process 400C of a computing terminal 410 receiving a header 432 from a host platform and selecting content to be played from a data section 434 of a pocket file 430. For example, a user interface 412 may display an index included in the header 432 downloaded from the host platform 420. The index may include information regarding which time intervals correspond to which portions of the video. The user interface 412 may include an identifier of the type of content stored in each interval (e.g., lidar, GPS, camera, speed, etc.) that may be used by the user when determining which content to play. The user may enter a command into the user interface 412 and select one or more time intervals to be played from the data section 434 of the pocket file 430.

[0042] 4D, a process 400D of the host platform 420 is shown to download selected content from the pocket file 430 to the computing terminal 410 in response to the selection performed in the process of FIG. 4C. Here, the host platform 420 may receive an identifier that may be used to pull content from the data section 434 based on the index stored in the header 432. Here, the identifier received from the computing terminal 410 may include a timing identifier (time interval) that the user wishes to play. In response, the host platform 420 may identify which byte locations in the data section 434 contain corresponding data to be played in those time intervals, and selectively download only the data stored in those identified byte locations without downloading the data section 434 of the pocket file 430.

[0043] At the user side, the computing terminal 410 can play time intervals of the time-based data consecutively even if the two time intervals are not consecutive in the original data. In the example of FIG. 4D, the time-based data from the fourth time interval (e.g., 4th second) is played consecutively with the time-based data from the ninth time interval (e.g., 9th second). Here, the computing terminal 410 may request that the host platform 420 play only the content from the 4th and 9th seconds of the time-based data stored in the pocket file 430. In response, the host platform 420 may download only the data required to play the 4th and 9th seconds of the content, while not having to download the intervening time intervals for other content, such as the time-based data from the 1st to 3rd time intervals of the video, the time-based data from the 5th to 8th time intervals of the video, and the time-based data from any time interval after the 9th time interval. If the computing terminal 410 was a vehicle, the vehicle could use the process described herein to simulate the content from the file in a selective manner. It should also be understood that a range of data (time interval) may be requested, including a start point and a stop point.

[0044] Figure 5 shows a user interface 500 corresponding to the user interface 412 shown in the examples of Figures 4A through 4D. Referring to Figure 5, the user interface 500 includes a viewing area 510 and a control section 520 with commands 521, 522, etc. for controlling and making selections based on the data displayed in the viewing area 510. In the example of Figure 5, the viewing area 510 displays an example of an index that may be downloaded from a pocket file header and converted into a visual format that is understandable to a viewer viewing the user interface 500.

[0045] In this embodiment, the index is a human readable version that includes time intervals mapped to content descriptions of the content stored in the data section of the pocket file at the corresponding time interval. The content description may include an identifier of the topic of the data, such as an identifier of the system that posted the corresponding data message along with the content. As one example, the topics may include, but are not limited to, GPS, engine, brake system, accelerator, control system, planner, etc. The topics can be used to give a user an understanding of the content stored at each interval. For example, the data stored in the data section may correspond to messages published or otherwise posted by various systems in the vehicle at each time interval. The topics can be used as content descriptions, where the topics often identify the type of system that posted the message, thereby allowing for an easy understanding of the type of content stored at that interval in the video.

[0046] 6A-6B illustrate a process for converting a ROS file into a pocket file according to an example embodiment. For example, referring to FIG. 6A, a process 600 for converting a Robot Operating System (ROS) file into a pocket file 630 is illustrated according to various embodiments. Referring to FIG. 6A, a host process 620 can ingest a ROS file 610 in its original form. The ROS file 610 can include a metadata section 612 and data chunks 614, which can include data encoded from various systems of the vehicle, including a GPS system, a braking system, an engine, an accelerator, a planning and route guidance system, and the like. Although the data chunks 614 in the ROS file 610 can include timing information therein, there is no way for the system to directly jump between non-intervening segments of time-based data based on the ROS file 610. Thus, the entire file / data must be loaded and played even if the user only wants to play a small subset of the time-based data stored in the file / data.

[0047] The data chunks 614 may include messages 616 of data published by different systems of the vehicle. The messages 616 may be published on different topics that may be identified from the messages 616 stored in the data chunks 614. The host process 620 may use these messages 616 and their associated topics to understand the content stored in each of the messages. Additionally, the host process 620 may identify timestamps in the messages 616, such as a start timestamp of data capture, a stop timestamp of data capture, etc. The timestamps and topics of the messages 616 may be used to build an index that is stored in the header 632 of the pocket file 630.

[0048] For example, messages 616 stored in data chunks 614 may be parsed and converted into subsets (or pockets) of data based on time. For example, messages posted in the same time interval may be stored together in a pocket of data in data section 634 of pocket file 630. Each time interval and the corresponding data associated therewith may be stored in a different respective byte location in data section 634 of pocket file 630. Corresponding byte locations and time intervals may be mapped to each other and stored in an index in header 632 of pocket file 630. Header 632 may also include other data attributes, including a header size identifier, an identifier for each pocket size, an identifier for the schema of message 616, an identifier for the topic associated with message 616, etc. Header 632 (and the index contained therein) may be encoded in CBOR. In this example, a message schema is present and helps end users (e.g., client applications, etc.) understand the meaning of each message and decipher the data in the message. For example, a message can store fields of values, and a client application can understand, based on the schema, which fields hold which values.

[0049] FIG. 6B illustrates a process 640 for extracting data from the data chunk 614 of the ROS file 610 in FIG. 6A and loading it into a pocket 636 of the data section 634 of the pocket file 630. The pocket 636 may include a subset of the bytes in the data section 634 that may be stored in an index and mapped to a time interval corresponding to the time interval of the video from which the content is from. In this example, the data pulled from the data chunk 614 may be selectively pulled based on field names. For example, the message 616A in the data chunk 614 may be posted by the vehicle's GPS system. Here, the topic of the message may be identified therefrom, which may be used to categorize the content. The host process 620 may be configured (e.g., by a user via the user interface 500, etc.) to pull certain fields of data from the data message while leaving other fields of data unincorporated into the pocket file 630.

[0050] For example, the host process 620 may select fields 641 and 642 from message 616, while excluding the remaining fields from the message. Thus, only data from fields 641 and 642 may be pulled into the pocket file 630. Similarly, only field 651 from data message 616B may be pulled and placed into the pocket file 630, where both of these messages 616A and 616B are posted at the same time interval, which may be identified from the timestamps of messages 616A and 616B. The host process 620 may place the content from these messages into the same pocket 636 as the data section 634 of the pocket file 630.

[0051] FIG. 7 illustrates a process 700 for loading time-based data from a server via a client application, according to an exemplary embodiment. With reference to FIG. 7, a client application 710 may be installed on a device, such as a laptop, a desktop computer, a mobile device, a server, a vehicle, etc. The device may be networked to the server. In this example, the client application 710 is playing data stored in a file 730 hosted on the server. The server includes a host service 720 that can receive requests for data from the client application 710 (e.g., from a fetch module 714, etc.). For example, the fetch module 714 can send an HTTP range request to the host service 720 with a request for an interval of data from the file 730. In this example, the file 730 is referred to as a pocket file, which includes multiple "pockets" or chunks of data that can be selectively extracted by the host service 720 and delivered to the client application 710.

[0052] According to various embodiments, client application 710 may include a buffer 712 that allows client application 710 to temporarily hold chunks of data 732 and 733, while simultaneously playing back chunk of data 731 that has been pulled from file 730 via host service 720. In this example, chunk of data 731 corresponds to a first time interval in file 730, chunk of data 732 corresponds to a fourth time interval in file 730, chunk of data 733 corresponds to a seventh time interval in file 730, and chunk of data 734 corresponds to a tenth time interval in file 730.

[0053] Using buffer 712, client application 710 can simultaneously fetch and store additional chunks of data that are not yet ready to be executed / played back, ensuring seamless playback of chunks of data even if the chunks of data are from non-contiguous time intervals in the time-based data stored in file 730. Each chunk of data 731, 732, 733, and 734 corresponds to a non-contiguous chunk of content from a non-contiguous time interval in file 730. Thus, client application 710 can selectively play back time intervals that correspond to non-contiguous time intervals from the file in sequential / contiguous order.

[0054] FIG. 8 illustrates a method 800 for selectively streaming content from a binary file, according to an example embodiment. For example, the method 800 may be performed by a web server, a content delivery system / network, a cloud platform, an on-premise server, etc. With reference to FIG. 8, at 810, the method may include storing a plurality of binary files. The binary files are referred to herein as "pocket" files, where pockets of data may be selectively streamed without having to open and / or download the entire pocket file. At 820, the method may include establishing a network communication session between the computing system and the computing terminal over a network. For example, an authentication or other handshake may be performed.

[0055] At 830, the method may include receiving an identifier of one or more time intervals from the computing terminal over the network communication session. As one example, the method may include receiving an HTTP range request from a client application running on the computing terminal requesting a server to return only a portion of an HTTP message to the client application. At 840, the method may include identifying a subset of data in a data section of the binary file stored in memory that is mapped to an identifier of one or more time intervals (e.g., a range of times in an HTTP range request, etc.) based on an index in the binary file. At 850, the method may include transmitting a stream including the identified subset of data to the computing terminal over the network communication session. In some embodiments, the index may include a mapping between a plurality of time intervals and a plurality of byte locations in a data section of the binary file where data objects captured at the plurality of time intervals are stored.

[0056] According to various embodiments, the data section of the binary file includes videos stored therein, and the identifying step may include identifying a subset of the videos to play based on the received identifiers of the one or more time intervals. In some embodiments, the identifiers may include identifiers of two non-contiguous time intervals, and the method further includes jumping one or more intermediate time intervals in the video that are between the two non-contiguous time intervals when playing the video. In some embodiments, the receiving step may include receiving a streaming request from the computing terminal having the identifiers of the one or more time intervals, and in response, streaming the multimedia content only from one or more data pockets in the data section of the binary file.

[0057] In some embodiments, the method may further include transmitting an index of the binary file to the computing terminal prior to receiving the identifiers of the one or more time intervals. In some embodiments, the method may further include converting the robot operating system (ROS) file in which the multimedia content is stored into a binary file including the index associated therewith and the multimedia content stored in a data section of the binary file. In some embodiments, the index may include a plurality of time intervals corresponding to a plurality of time points in the multimedia content, and the index includes a mapping between the plurality of time intervals to a plurality of pockets of the multimedia content in the data section, respectively.

[0058] As will be understood based on the foregoing specification, the above-described examples of the present disclosure may be implemented using computer programming or engineering techniques, including computer software, firmware, hardware, or any combination or subset thereof. Any such resulting program having computer readable code may be embodied or provided in one or more non-transitory computer readable media, thereby creating a computer program product, i.e., an article of manufacture, according to the described embodiments of the present disclosure. For example, the non-transitory computer readable medium may be, but is not limited to, a fixed drive, a diskette, an optical disk, a magnetic tape, a flash memory, an external drive, a semiconductor memory such as a read-only memory (ROM), a random access memory (RAM), etc. An article of manufacture including the computer code may be created and / or used by executing the code directly from one medium, by copying the code from one medium to another, or by transmitting the code over a network.

[0059] A computer program (also referred to as a program, software, software application, "app", or code) may include machine instructions for a programmable processor and may be implemented in a high-level procedural and / or object-oriented programming language and / or in assembly / machine language. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, cloud storage, and / or device (e.g., magnetic disk, optical disk, memory, programmable logic device (PLD)) used to provide machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. "Machine-readable medium" and "computer-readable medium", however, do not include transitory signals. The term "machine-readable signal" refers to any signal that may be used to provide machine instructions and / or any other type of data to a programmable processor.

[0060] The above description and illustration of processes herein should not be construed as implying a fixed order for performing process steps. Rather, process steps may be performed in any order possible, including simultaneous performance of at least some steps. Although the present disclosure has been described with reference to specific examples, it should be understood that various changes, substitutions, and alterations apparent to those skilled in the art may be made to the disclosed embodiments without departing from the spirit and scope of the present disclosure as set forth in the appended claims.

Claims

1. 1. A computing system comprising: a memory configured to store a plurality of binary files; and a processor; The processor, establishing a network communications session between the computing system and a computing terminal over a network; receiving an identifier of one or more time intervals from the computing terminal via the network communications session; Identifying a subset of data in a data section of the binary file stored in memory that is mapped to the one or more time interval identifiers based on an index in the binary file; and transmitting, via the network communications session, a stream comprising the identified subset of data to the computing device; It is configured as follows: Computing system.

2. the index includes a mapping between a plurality of time intervals and a plurality of byte locations within a data section of the binary file in which data objects captured during the plurality of time intervals are respectively stored. The computing system of claim 1 .

3. The data section includes the video stored therein, and the processor is configured to identify a subset of the video for playback based on the received identifiers of the one or more time intervals. The computing system of claim 1 .

4. the identifiers include identifiers of two non-consecutive time intervals; and the processor is configured to, when playing the video, jump over one or more intermediate time intervals in the video that lie between the two non-contiguous time intervals. The computing system of claim 3 .

5. The processor, receiving a streaming request with an identifier for the one or more time intervals; and in response, streaming multimedia content only from one or more data pockets in the data section of the binary file; The computing system of claim 1 configured to:

6. The processor, transmitting the index of the binary file to the computing terminal prior to receiving the identifier of the one or more time intervals; The computing system of claim 1 configured to:

7. The processor further comprises: converting a Robot Operating System (ROS) file in which multimedia content is stored into said binary file with associated indexes and said multimedia content stored in a data section of said binary file; 13. The computing system of claim 1, configured to:

8. the index includes a plurality of time intervals corresponding to a plurality of points in time within the multimedia content; and the index includes a mapping to a plurality of pockets of multimedia content within the data section, respectively, between the plurality of time intervals. The computing system of claim 7.

9. storing a plurality of binary files; establishing a network communications session between the computing system and the computing terminal over a network; receiving, via the network communications session, an identifier of one or more time intervals from the computing terminal; identifying a subset of data in a data section of the binary file stored in memory that is mapped to the one or more time interval identifiers based on an index in the binary file; transmitting, via the network communications session, a stream comprising the identified subset of data to the computing terminal; A method comprising:

10. the index includes a mapping between a plurality of time intervals and a plurality of byte locations within a data section of the binary file in which data objects captured during the plurality of time intervals are respectively stored.

10. The method of claim 9.

11. The data section includes the video stored therein, and The identifying step includes: identifying a subset of the video for playback based on the received identifiers of the one or more time intervals; Including, 10. The method of claim 9.

12. the identifiers include identifiers of two non-consecutive time intervals; and The method further comprises: jumping over one or more intermediate time intervals in said video that lie between said two non-contiguous time intervals when playing said video; Including, The method of claim 11.

13. The receiving step includes: receiving a streaming request from the computing terminal with an identifier of the one or more time intervals; in response, a status of streaming multimedia content only from one or more data pockets in the data section of the binary file; and 10. The method of claim 9, comprising:

14. The method further comprises: transmitting the index of the binary file to the computing terminal prior to receiving the identifier of the one or more time intervals; 10. The method of claim 9, comprising:

15. The method further comprises: converting a Robot Operating System (ROS) file in which multimedia content is stored into said binary file, said binary file including an associated index and said multimedia content stored in a data section of said binary file; 10. The method of claim 9, comprising:

16. the index includes a plurality of time intervals corresponding to a plurality of points in time within the multimedia content; and the index includes a mapping to a plurality of pockets of multimedia content within the data section, respectively, between the plurality of time intervals. The method of claim 15.

17. 1. A computer-readable storage medium comprising instructions that, when executed by a processor, cause a computer to: storing a plurality of binary files; establishing a network communications session between the computing system and the computing terminal over a network; receiving, via the network communications session, an identifier of one or more time intervals from the computing terminal; identifying a subset of data in a data section of the binary file stored in memory that is mapped to the one or more time interval identifiers based on an index in the binary file; transmitting, via the network communications session, a stream comprising the identified subset of data to the computing terminal; carrying out a method comprising: A computer-readable storage medium.

18. the index includes a mapping between a plurality of time intervals and a plurality of byte locations within a data section of the binary file in which data objects captured during the plurality of time intervals are respectively stored.

20. The computer-readable storage medium of claim 17.

19. The data section includes the video stored therein, and The identifying step includes: identifying a subset of the video for playback based on the received identifiers of the one or more time intervals; Including, 20. The computer-readable storage medium of claim 17.

20. the identifiers include identifiers of two non-consecutive time intervals; and The method further comprises: jumping over one or more intermediate time intervals in said video that lie between said two non-contiguous time intervals when playing said video; Including, 20. The computer-readable storage medium of claim 19.