Transferring sensor data in distributed sensor network
By encoding and decoding sensor data, and selecting compression and decompression parameters based on object attributes, the problem of high data transmission bandwidth and loss in sensor networks is solved, and more efficient data transmission and reception are achieved.
Patent Information
- Application Number
- CN202410511003.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-04-28
- Filing Date
- 2024-04-26
- Publication Date
- 2024-10-29
AI Technical Summary
Existing sensor data sharing methods (RDS and ODS) may lead to high bandwidth requirements and data loss in dense sensor networks, especially useful data in ODS may not be detected by the receiver device.
By encoding sensor data, using data compression techniques to select compression parameters based on detected object properties, the encoded data is transmitted and decoded at the receiver end using corresponding decompression parameters to optimize data transmission.
It reduces the size of transmitted data, reduces bandwidth requirements, avoids data loss, and ensures that the receiver can correctly decode sensor data, combining the advantages of RDS and ODS.
Smart Images

Figure CN118869727A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a computer-implemented method of encoding sensor data for transmission to a receiver. The present invention further relates to a transmitter device. The present invention further relates to a computer-implemented method of decoding sensor data received from a transmitter. The present invention further relates to a receiver device. The present invention further relates to a computer-readable medium comprising instructions for a processor system to perform any of the computer-implemented methods and to a distributed sensor network comprising a transmitter device and a receiver device. Background Art
[0002] Distributed sensor networks are typically composed of multiple physically separated sensors that collect data from their environment. The acquired sensor data can be exchanged for further processing, which can be performed centrally in a single node of the sensor network or across multiple nodes in a distributed manner. Distributed sensor networks offer various advantages (such as extended field of view and improved perception accuracy) that make them particularly beneficial for safety-critical applications such as autonomous driving. Exchanging data between distributed nodes may require reliable communication and, in many cases, low latency.
[0003] Several methods are known for transmitting acquired sensor data from a sensor device to a receiver device, such as the aforementioned central processing node, such as raw sensor data sharing (RDS) and object-based sensor data sharing (ODS). In RDS, the sensor data captured by the sensor can be transmitted in its directly acquired form or after limited post-processing (e.g., demosaicing of camera data). The type of shared data can depend on the sensor used, such as delay Doppler spectrum data of radar, point cloud data of lidar, and image data from a camera. RDS can provide the receiver device with access to (almost) all information acquired by the sensor, which in turn can allow the sensor data to be processed with high accuracy, for example to identify and track objects. However, RDS may require high communication bandwidth to maintain low latency and high reliability, which may not always be met by communication technology, especially in dense sensor networks.
[0004] In ODS, objects and their attributes are first extracted by sensor devices and then transmitted to (one or more) other nodes. The interface for exchanging objects in ODS is typically domain-specific. For example, in cars, so-called collective perception messages (CPM) are used, in which objects are encoded along with their state vectors (including entities such as positioning, velocity, acceleration, etc.) and the accuracy of the measurements. ODS may have the following disadvantages: some useful data may be lost and cannot be considered by the receiver device. An example is an object that is undetectable in the sensor data of an individual sensor device, for example due to insufficient information in the individual sensor data for such detection or the lack of the required computing performance of the sensor device. In such a case, the receiver device cannot detect the object either, whereas with RDS, the receiver device may be able to detect the object in the received sensor data and take action on it. Summary of the invention
[0005] It would be desirable to provide methods and apparatus to address the shortcomings of raw sensor data sharing (RDS) and object-based sensor data sharing (ODS).
[0006] According to a first aspect of the invention as defined by claims 1 and 14 respectively, there is provided a computer implemented method for encoding sensor data for transmission to a receiver and a corresponding transmitter device. According to another aspect of the invention as defined by claims 12 and 15 respectively, there is provided a computer implemented method for decoding sensor data received from a transmitter and a corresponding receiver device. According to another aspect of the invention, there is provided a computer readable medium as defined by claim 13. According to another aspect of the invention as defined by claim 16, there is provided a distributed sensor network comprising a transmitter device and a receiver device.
[0007] The above measures involve accessing sensor data captured by the sensor. The sensor data may be, for example, image data acquired by an image sensor, lidar data acquired by a lidar sensor, radar data acquired by a radar sensor, and the like. The sensor data may be about a physical environment, and the physical environment may include one or more objects. For example, the captured image data may show a road, which may include road users, such as cars, cyclists, pedestrians, and the like. Object detection techniques may be used to detect such and other types of objects in the sensor data. Object detection techniques are known per se in various application fields and may, but need not be, based on machine learning. As a result of applying object detection techniques to the sensor data, one or more objects may be detected in the sensor data. Typically, in addition to indicating the presence of an object in the sensor data, the object detection technique may also determine one or more attributes of the object. Such attributes may, for example, include object characteristics such as the positioning and / or size of the object, but may also include the type of object detected, for example, whether the object detected is a car or a bicycle or a pedestrian. The detection of an object type may also be referred to as classification, where the type of object may be represented by a corresponding object class, for example, the class "car" represents a car, "bicycle" represents a bicycle, "pedestrian" represents a pedestrian, and so on. Such object detection techniques are known per se.
[0008] The above measures further involve encoding the sensor data to obtain encoded sensor data, and sending the encoded sensor data to a receiver. The transmission of such encoded sensor data is typically carried out via a communication channel. An example of a communication channel is a wired or wireless network. The encoding of the sensor data may include using data compression techniques to reduce the size of the sensor data. Such data compression is generally known. For example, US4122440A describes an arithmetic coding scheme. Through a series of iterative steps, the algorithm generates a single number representing the compressed data within a predefined range. It is said that the iterative method allows a compact representation of data.
[0009] According to the above measures, the data compression technique for compressing sensor data is configurable by one or more compression parameters. As such, the data compression technique can be reconfigured by the transmitter. Such reconfiguration can generally allow data compression to be adapted to, for example, the characteristics of the data to be compressed. According to the above measures, and unlike US4122440A, one or more compression parameters to be used for encoding of a specific instance of sensor data are selected based on one or more attributes of an object detected in a specific instance of sensor data. In this way, the data compression technique can be adapted to the objects contained in the sensor data. For example, different compression parameters can be selected for objects of different types (e.g., different classes). One or more attributes of the object can be additionally encoded by the transmitter in the form of object data, which can be sent to the receiver together with the encoded sensor data (e.g., in the same data container or separately but linked to the encoded sensor data).
[0010] When decoding the encoded sensor data, the receiver can use a data decompression technique. As with the data compression technique used by the transmitter, the data decompression technique used by the receiver can be configurable through one or more decompression parameters. These data decompression parameters can, but need not, correspond in type to configurable compression parameters. When the receiver is provided with object data, the receiver can select (one or more) decompression parameters of the data decompression technique based on one or more attributes of the object when applying the data decompression technique to the encoded sensor data. In this way, the receiver can correctly decode the encoded sensor data.
[0011] The above measures have the effect of adapting the data compression to the properties of the object detected in the specific instance of the sensor data to be encoded, for example, to a specific camera image, a lidar scan result, a radar scan result, etc. In this way, the data compression can be optimized for a specific instance of the sensor data. That is, sensor data of different types of objects, or generally of objects with different properties, may differ in their characteristics and may be better compressed when the (one or more) data compression parameters of the data compression technique are adapted to these object characteristics. In order to enable the receiver to correctly decode the encoded sensor data, the aforementioned object data is provided to the receiver.
[0012] Advantageously, compared to ODS, the sensor data is provided to the receiver, which can avoid that useful data is lost and not taken into account by the receiver. Compared to RDS, due to object-adapted data compression, the transmitted data may be smaller in size and require less bandwidth to transmit. In this way, a hybrid coding scheme can be provided, which can combine the advantages of ODS and RDS.
[0013] The following optional aspects of the invention may be described with reference to encoding of sensor data, but will be understood by the skilled person as indicating technically corresponding optional aspects of decoding of sensor data.
[0014] Optionally, applying a data compression technique to the sensor data includes:
[0015] - processing the sensor data to successively identify data patterns in the sensor data and converting each corresponding data pattern into a symbol selected from the auxiliary alphabet, thereby obtaining a symbol string representing the sensor data;
[0016] - Encoding the symbol string to obtain a binary representation of the symbol string, wherein the encoding uses a decision pattern for decision making in the encoding, wherein the decision pattern is selected based on one or more attributes of the object, such as by selecting different decision patterns for different values of the object attribute.
[0017] For example, a specific instance of sensor data, which may be composed of an array of real or complex numbers, can be converted into a string of symbols defined in an auxiliary alphabet. In this way, two-dimensional or higher dimensional data can be converted into a one-dimensional string of symbols for further encoding. This encoding, as well as typical encoding of any type of data, can involve decision-making. According to the above measures, a decision mode is used for decision-making. As known per se, a decision mode can indicate one or more decision paths to be followed during encoding to reach a decision for encoding. According to the above measures, a decision mode can be selected based on one or more attributes of an object. This selection of a decision mode can be the aforementioned example of selecting one or more data compression parameters, and can allow the decision mode to be adapted to the characteristics of the object in a specific instance of sensor data. For example, different decision modes can be selected for different values of one or more attributes of an object.
[0018] Optionally, encoding the string of symbols comprises recursively applying a decision pattern for corresponding symbols.The decision pattern may be applied recursively to encode consecutive symbols from the string of symbols.
[0019] Optionally, encoding the symbol string includes generating a complex number to represent at least a substring of the symbol string, wherein the decision pattern is representable as a set of regions in a 2D coordinate system, each region from the set of regions representing a different symbol from the auxiliary alphabet, wherein the complex number is selected by recursively performing the following:
[0020] - selecting a region from the set of regions corresponding to the current symbol of the substring;
[0021] - dividing the selected area to obtain a set of sub-areas corresponding to the geometric arrangement of the areas in the area set; and
[0022] - selecting a sub-region corresponding to the next symbol of the sub-string from the set of sub-regions;
[0023] wherein the complex number representing the substring is selected based on the coordinates in the 2D coordinate system of the last subregion selected for the last symbol of the substring, for example based on the centroid of the last subregion; and
[0024] - Optionally, generating a binary representation of the complex number for transmission to a receiver.
[0025] The above measures define a graphical two-dimensional decision pattern that can be recursively used to select a complex number to represent a substring of a symbol string, or in some embodiments to select a complex number to represent the entire symbol string. The complex number can then be transmitted to a receiver, for example in binary or in any other form. In order to determine the complex number, a set of regions can be provided in a 2D coordinate system, each of which corresponds to a different symbol from an auxiliary alphabet. A particular substring can then be converted to a complex number by selecting a region corresponding to the first symbol from the substring, then repartitioning the selected region to reconstruct the set of regions into a set of subregions within the selected region, and then continuing to select and repartition until the last symbol from the substring is reached. In this way, the last subregion can be selected for the last symbol of the substring, wherein the coordinates of the last subregion are used to determine the complex number. For example, the centroid of the last subregion can be used to determine the complex number, wherein the x-coordinate of the centroid determines the real part of the complex number, and the y-coordinate of the centroid determines the imaginary part of the complex number. It may be advantageous to transmit the string of symbols as complex numbers, since the complex numbers may be selected inside the last sub-region in a way that achieves optimal data reduction, for example by selecting within the last sub-region a complex number having the minimum bit length of its binary representation in a given complex base. However, the transmitted complex numbers may be decodable as sub-strings of symbols and thus recoverable at the receiver. That is, when decoding the encoded sensor data, the complex numbers may be converted again into (sub-)strings of symbols by following the above process in reverse, for example by determining in which region from the set of regions the complex number falls, and thereby determining the first symbol of the sub-string, and then re-dividing the selected region to reconstruct the set of regions into a set of sub-regions within the selected region, and then determining in which sub-region the complex number falls, and thereby determining the next symbol, and then continuing to determine and re-divide over multiple iterations to obtain the sub-string.
[0026] Optionally, the computer-implemented method for encoding sensor data further comprises, and / or the processor subsystem of the transmitter device is further configured to:
[0027] - determining the frequency of corresponding data patterns in the sensor data to obtain the frequency of corresponding symbols from the auxiliary alphabet; and
[0028] - determining a relative size of each region in the set of regions based on, e.g. proportionally to, the frequency.
[0029] Optionally, the computer-implemented method for encoding sensor data further includes, and / or the processor subsystem of the transmitter device is further configured to initially select the relative size of each region in the set of regions to be equal, and to adjust the relative sizes during encoding based on observed frequencies of corresponding data patterns.
[0030] Optionally, the computer-implemented method for encoding sensor data further includes and / or the processor subsystem of the transmitter device is further configured to select an auxiliary alphabet using a machine learning technique, wherein the machine learning technique is trained to select corresponding symbols of the auxiliary alphabet so that the binary representation of the symbol string has a minimum binary length in the complex base in which the binary representation of the complex number is generated.
[0031] Optionally, the computer-implemented method for encoding sensor data further includes and / or the processor subsystem of the transmitter device is further configured to use a machine learning technique to select a complex base in which the binary representation of the complex number is generated, wherein the machine learning technique is trained to select the complex base such that the binary representation of the complex number has a minimum binary length in the complex base.
[0032] Optionally, the object detection technique is configured to detect and classify objects in the sensor data to obtain object classifications as attributes of the objects.
[0033] Optionally, the sensor data comprises or is representable as a series or array of complex numbers, for example in the form of amplitude and phase.
[0034] Optionally, the sensor data comprises or is an array of sensor data elements, for example in the form of an image.
[0035] It will be appreciated by those skilled in the art that two or more of the above-mentioned embodiments, implementations, and / or alternative aspects of the invention may be combined in any way deemed useful.
[0036] Based on this description, a person skilled in the art may implement modifications and variations of any device, system, network, computer-implemented method and / or any computer-readable medium that correspond to the described modifications and variations of another such entity. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] These and other aspects of the invention will become apparent from and be further elucidated with reference to the embodiments described in the following description by way of example and with reference to the accompanying drawings, in which:
[0038] Figure 1 A hybrid sensor data compression scheme is shown, wherein an object and one or more attributes of the object are detected in the sensor data, and wherein the sensor data is encoded using a data compression scheme manipulated by the object attribute(s);
[0039] Figure 2 shows a coding diagram that may be used in sensor data encoding;
[0040] Figure 3A illustrates how a static decision model may map coordinates in a 2D coordinate system to symbols of an auxiliary alphabet, wherein the static decision model divides a region into a set of regions, each region representing a symbol from the auxiliary alphabet;
[0041] Figure 3B-3D illustrates how a point in a 2D coordinate system can be arranged through a region defined by a static decision pattern, converted into a symbol series on the basis of a recursive partitioning of the region including the point and vice versa;
[0042] Figure 4 shows the data exchange between a sender device and a receiver device;
[0043] Figure 5 A method of encoding sensor data for transmission to a receiver is shown;
[0044] Figure 6 A method of decoding sensor data received from a transmitter is shown; and
[0045] Figure 7 A computer readable medium including data is shown.
[0046] It should be noted that the figures are purely schematic and not drawn to scale.In the figures, elements corresponding to elements already described may have the same reference numerals.
[0047] List of reference numbers and abbreviations
[0048] The following list of reference numbers is provided to facilitate interpretation of the drawings and should not be construed as limiting the claims.
[0049] 50 communication channels
[0050] 100 Transmitter Devices
[0051] 110 Sensors
[0052] 112 Sensor data
[0053] 114 Delay [μs]
[0054] 116 Doppler frequency [Hz]
[0055] 120 Sensor interface
[0056] 140 Processor Subsystem
[0057] 150 Object Detection Function
[0058] 152 Detected objects and object properties (classes)
[0059] 154 Object data
[0060] 160 Data compression function
[0061] 180 Communication interface
[0062] 182 sensor data + object data
[0063] 200 Receiver Devices
[0064] 220 Communication interface
[0065] 240 Processor Subsystem
[0066] 300 represents the region set of static decision mode
[0067] 310 Selected Area
[0068] 320 Redistricting of selected areas
[0069] 330 Further redivision of selected areas
[0070] 400 Method for encoding sensor data for transmission to a receiver
[0071] 410 Get sensor data acquired by the sensor
[0072] 420 Applying Object Detection Techniques to Sensor Data
[0073] 430 Encoding sensor data using data compression techniques
[0074] 440 Generate object data
[0075] 450 Sending encoded sensor data and object data to receiver
[0076] 500 Method for decoding sensor data received from a transmitter
[0077] 510 Receive encoded sensor data from transmitter
[0078] 520 Receive object data
[0079] 530 Decoding the encoded sensor data based on the object data
[0080] 600 Computer readable medium (memory card)
[0081] 610 Stored Data DETAILED DESCRIPTION
[0082] Figure 1 A hybrid sensor data compression scheme is shown, wherein a transmitter device 100 includes or is connected to a sensor 110 to access sensor data acquired by the sensor. Figure 1 In the example of FIG. 1 , the sensor data is radar data 112, which can be visualized as an image with delay [μs] 114 on one axis and Doppler frequency [Hz] 116 on another axis. The transmitter device 100 can be configured to apply object detection techniques to the sensor data 112 to detect one or more objects in the sensor data. Figure 1 1 and 2. In this example and other examples, the object property may be, for example, an object class obtained from a classification of the object, which in this example is class i for object 1 and class j for object 2. The object detection function 150 may generate object data 154 indicating the object and its (one or more) properties, which in this example is the object class. Such object data may take any suitable form, including XML, json, binary format, etc. Both the sensor data 112 and the object data 154 may be input into a data compression function 160, which may use the object data 154 to compress the sensor data 112. In particular, the data compression technique used by the data compression function 160 may be configurable by one or more compression parameters, and (one or more) object properties, in this example the object class, may determine the value of the one or more compression parameters. As a result, encoded sensor data may be obtained, which may be provided to a receiver device, for example, as data 182 via the communication channel 50 together with the object data.
[0083] A specific example of sensor data encoding is described below. In this specific example, the sensor data is assumed to be complex data, such as the radar data mentioned above, where for each delay and Doppler frequency instant, the complex number describes the attenuation and phase of the channel. However, this is not a limitation, as the sensor data can also be composed of real numbers.
[0084] The sensor data may be considered to represent or representable as a matrix M of complex numbers whose real and imaginary parts are integers ranging from 0 to u. Such a matrix may, for example, represent an image or any other instance of sensor data. For each matrix, object detection may be used to determine the class of the object represented in the matrix. It may be assumed that there are generally c classes enumerated by indices in [c] = {1, .., c}. The presence of a class of an object in M may be represented by a binary vector b∈{0, 1} c Encoding, when M contains objects of the lth class, the binary vector b∈{0,1} c The lth component of is 1. If nothing is known about the object class represented in M, or if such an object class does not exist in M at all, the corresponding binary vector can be zero. Note that information about the object classes can also be available in the form of a probability distribution over [c]. In this case, an index l can be extracted for each object from the corresponding distribution. The obtained set of class indices (one for each object) can then be used to construct the mentioned binary vector b.
[0085] When encoding corresponding instances of sensor data and therefore M, the goal may be to represent M using the smallest possible number of binary digits, which may preferably be smaller than the initial size of the sensor data to be encoded. A specific example of encoding and subsequent decoding of M is provided below. In this example, different decision modes are selected for encoding and decoding depending on the object class of the detected object. However, it will be appreciated that other compression parameter(s) may also be selected based on other object properties, as this may also establish an object-adaptive encoding of the sensor data.
[0086] Let vect(M) be a complex vector enumerating the entries of M in a column-wise manner. Each entry of M can be expressed in the form To represent, where q j belongs to Q = {0, 1, i, 1 + i}. Therefore, vect(M) can be represented as a Q vector, which can be represented by vect Q (M) and can be divided into a fixed-size series of symbols of Q, each symbol consisting of a corresponding component representing vect(M) The Q vector representing M may contain repeating patterns that can be recognized and encoded as corresponding symbols of the auxiliary alphabet Σ.
[0087] The auxiliary alphabet ∑ can be chosen in various ways. In general, it can be assumed (For an initial choice of ∑, one may also include a series q…q, where for each q∈Q, its length is a power of 2 up to a given length no greater than the dimensions of vect(M)). Without loss of generality, one may further assume that all input matrices have the same size, which means that vect Q The number n of symbols of Q in (M) can be fixed. In examples where different instances of sensor data may have different matrix shapes, an additional symbol "ED" with the meaning of "end of data" can be introduced. In such examples, each encoded string can end with "ED", which can be used by the encoder to determine when to stop.
[0088] Each of the n locations of the Q vector with n components can be associated with a weight. For location j, the weight can be calculated as Let the corresponding weight be ω j Let x be the number representing z′∈Q n ∑. By using x to represent another z∈Q n The weighted error can be defined as follows: the sum of the weights of the components where z′ is different from z divided by Q n The total weight of the components of the vector in . Let z k,t Mark (z k , ..., z t ). k,t The weighted error represented by the symbol a∈∑ is {ω i : i∈{k,…,t},z k,t [i]≠z a The sum of the weights in [i-k+1]}, where za∈Q t -k+1 is the Q vector represented by a.
[0089] Let A be the vector Q (M) is an algorithm for strings on ∑, with a given tolerable weighted error. Algorithm A may be a greedy algorithm that selects a suitable symbol with maximum length in ∑ at each iteration. An example of algorithm A may be as follows:
[0090]
[0091] The sensor data can be encoded by the encoder using algorithm A to construct a string x representing the input matrix M. Mathematically, the encoder can be represented as a finite state machine represented in the form of a directed graph, which is also in Figure 2 and may include the following components:
[0092] The set of decision trees T i , ..., T k, for each index i∈[m] there is one, each tree consists of a decision mode DP i describe.
[0093] Node s, which can be connected via arc(s, r(T i ))With each T i are connected.
[0094] Mapping Associated with s.
[0095] For each T i : The arc will T i The leaves and their roots r(T i ) are connected.
[0096] For each T i :Each node v≠r(T i ) can be labeled by a∈∑. The label can be denoted by a(v).
[0097] For each T i :For each node v, there can be a family of associated decision sets
[0098] -If v is not the root node and w is its parent node, then ∪ a∈∑ S(v,a)=S(w,a(v)).
[0099] -∪ a∈∑ A(r(T i ), a)=[-1,1] 2 .
[0100] ·T i A leaf of may be a node l such that further application of the corresponding decision pattern will result in a child v of l such that for some a∈∑, the minimum edge of S(v,a) is less than Δ, where Δ may be a hyperparameter, for example, chosen by the user or predetermined.
[0101] Figure 3A Illustrated is how a static decision model can map coordinates in a 2D coordinate system to symbols of an auxiliary alphabet. The static decision model can be a rule or algorithm that specifies how to divide a region into a set of regions 1 where each region from the set represents a different symbol from the auxiliary alphabet. In this static decision model, the following frequencies of occurrence are assumed: symbols A, B and C of ∑, P(A) = 1 / 2, P(B) = 1 / 4 and P(C) = 1 / 4. The size of each region can be selected in proportion to the frequency of occurrence.
[0102] Figure 3B-3DIt illustrates how points in a 2D coordinate system can be converted into a symbolic series and vice versa based on a recursive partitioning of the area. In other words, Figure 3A The decision pattern can be used for branches in a decision tree. It can be seen that the area associated with the symbol contains a smaller number of grid points at the next level. Point p can encode the string AAC. Point p can be represented as a complex number z(p) and sent to the receiver.
[0103] The following describes a dynamic decision model, where the decision model uses the probability distribution P associated with a given node. v To make a decision. The following can be expressed as recursively applying the decision pattern DP to a given node i :
[0104]
[0105] The above procedure can decompose R into rectangles, as an example of the area mentioned above, associated with the sign of ∑. The area of the rectangular area relative to R can be associated with the corresponding probability P in some examples. v (a)(a∈∑) is exactly proportional. P v The dynamic selection of allows to take into account the complex dependencies of the probability of observing a given symbol on the previously observed symbol combination in the same string representing M. v depends on v, so P v It can also depend on T containing v i The associated class i.
[0106] The encoder can encode M as a sequence of complex numbers and represent them as binary strings in a given complex base that allows binary representation:
[0107]
[0108] The decoder can reconstruct the sensor data that may be received in coded form, i.e. in the form of a sequence of complex numbers or their binary representations (with known component binary lengths and the complex basis in which they have been encoded), as follows:
[0109]
[0110] Coding system S θ can be configured by describing the encoding scheme θ: composed of the grid L, the decision patterns associated with the trees and their nodes, and the mappings associated with the nodes s and an auxiliary alphabet ∑. Let ∑0 be the initial auxiliary alphabet (which contains Q and may, for example, consist of the series q…q, whose length is a power of 2 for each q∈Q, up to a given length not greater than the dimension of vect(M)). Let Consists of all alphabets, each of which can be obtained from Σ0 by modifying the Q vector represented by the symbol of Σ0. For example, if a component of a Q vector of the form q…q is to be modified to q′, then q is changed to q′ at the corresponding position of the Q vector. Let is the family of all alphabets that contain Q as a subset, and is The problem of finding the optimal alphabet can be formulated as the following optimization problem:
[0111]
[0112] where D is the training set, and f is the θ Here, the notation θ(∑) means the configuration chosen over the alphabet ∑ with all other parameters (such as Δ and decision mode) fixed.
[0113] From vect Q Starting with an intuitive binary representation of (M), the alphabet ∑0=Q can be chosen as an initial solution, and a decision pattern determined by equal probability for all symbols. Δ can be chosen as Δ=2 / u. Remark: By choosing Δ small enough, M can be encoded as a single complex number. Furthermore, if the transmitter and receiver are analog devices exchanging signals that can be interpreted as a sequence of complex numbers, the vector y can be transmitted directly. In this case, Δ can be chosen to correspond to the accuracy with which the device is able to measure, transmit and receive such complex numbers.
[0114] In order to solve the above optimization problem, considering The alphabet of can be interpreted as a binary vector and any suitable black-box optimization method for binary optimization can be used.
[0115] Note that the function can be a binary decision diagram, whose input will be b, and whose output is a unit vector whose non-zero components will correspond to i.
[0116] Initially, the probability distribution P v can all be equal (e.g., equal to the probability distribution representing the empirical probabilities of the symbols of the corresponding alphabet ∑), in which case we are talking about a static decision pattern for each i. With the help of black-box optimization and machine learning techniques, a more appropriate P v ′ can be learned as depending on i and when from T i The function of the symbolic sequence observed when the root reaches v.
[0117] Note that the optimization can also be done with respect to a complex basis, where the binary representation of the complex numbers is computed at the output of the encoder.
[0118] Figure 4 1 shows a data exchange between a transmitter device 100 and a receiver device 200. The transmitter device 100 may be configured to encode sensor data for transmission to the receiver device 200 or any other receiver. To gain access to the sensor data, the transmitter device 100 may include a sensor interface 120 to the sensor 110. By way of example, the sensor 110 may be configured to encode the sensor data for transmission to the receiver device 200 or any other receiver. Figure 4 100 is shown in the form of an external camera 110. Alternatively, the sensor 110 may be an internal (e.g., built-in) component of the transmitter device 100, such as a built-in camera. Furthermore, alternatively or in addition to a camera, the sensor 110 may include any other type of sensor, such as an ultrasonic sensor, a lidar sensor, a radar sensor, a microphone, and the like. The sensor interface 120 may be a sensor interface type corresponding to the type of sensor 110. For example, for the example in which the sensor is a camera, the sensor interface may be a camera interface, and the like. In general, the sensor interface 120 may be a bus-type interface, such as a USB interface; or a serial interface, such as a CSI interface; or a network interface, such as a wireless network interface based on Wi-Fi, Bluetooth, Zigbee, Matter, and the like; or a dedicated interface, such as a MIPI interface for automotive applications, and the like.
[0119] The transmitter device 100 may further include a processor subsystem 140 that may be configured to provide functionality as described herein with respect to encoding of sensor data for transmission to a receiver. Figure 4 Not shown, but the transmitter device 100 may include a memory including corresponding computer-readable instructions for the processor subsystem.
[0120] The sender device 100 may further include a communication interface 180 to the receiver device 200. Using the communication interface 180, the sender device 100 may provide the encoded sensor data and object data to the receiver device 200, for example, via the communication channel 50, as described elsewhere in this specification. In one example, the communication interface 180 may be a network interface, such as a wired network interface based on Ethernet or optical communication, or a wireless network interface based on Wi-Fi ___33, Bluetooth, Zigbee, Matter, etc. Another example is that the communication interface 180 may be a bus-type interface or a serial interface or a dedicated interface, such as the type described above for the sensor interface 120.
[0121] In some examples, the sender device 100 may be a sensor device, in that the sender device may include a sensor and limited processing components that enable the sensor to generate encoded sensor data and send it to the receiver device 200. In a specific example, the sender device 100 may be a node in a distributed sensor network. In another specific example, the sender device 100 may be an automotive sensor device, and the object data may be a collective perception message (CPM). Another specific example is that the sender device 100 may be an Internet of Things (IoT) device.
[0122] Figure 4 Further shown is a receiver device 200, which is shown as including a communication interface 220 of the type described with respect to the communication interface 180 of the transmitter device 100. The receiver device 200 may further include a processor subsystem 240, which may be configured to provide functionality as described herein with respect to decoding of sensor data received from the transmitter device 100. For this purpose, although Figure 4 200. Although not shown, the receiver device 200 may include a memory including computer-readable instructions for the processor subsystem 240. The receiver device 200 may, for example, be a central processing node of a distributed sensor network. In a specific example, the receiver device 200 may be an automotive processing unit. Another specific example is that the receiver device 200 may be a server or host computer. In some examples, such as in applications where the processing of sensor data is distributed among the devices, the receiver device 200 may be the same type of device as the transmitter device 100.
[0123] With further reference to the processor subsystems 140, 240 of the transmitter device and receiver device, each of these may be embodied by a single CPU (such as an x86 or ARM-based CPU), but may also be embodied by a combination of such CPUs and / or other types of processing units (such as a GPU).
[0124] In general, each entity described in this specification may be embodied as a device or apparatus or in a device or apparatus. The device or apparatus may include one or more (micro) processors that execute appropriate software. The (one or more) processors of the corresponding entity may be embodied by one or more of these (micro) processors. The software that implements the functionality of the corresponding entity may have been downloaded and / or stored in the corresponding one or more memories, for example in a volatile memory such as a RAM or in a non-volatile memory such as a flash memory. Alternatively, the (one or more) processors of the corresponding entity may be implemented in a device or apparatus in the form of programmable logic, for example as a field programmable gate array (FPGA). Any input and / or output interface may be implemented by the corresponding interface of the device or apparatus. Each functional unit of the corresponding entity may be implemented in the form of a circuit or circuit system. The corresponding entity may also be implemented in a distributed manner, for example involving different devices or apparatuses.
[0125] Figure 5 A method 400 of encoding sensor data for transmission to a receiver is shown. The method 400 may correspond to the operation of a transmitter device as described elsewhere in this specification. However, this is not limiting, as the method 400 may also be performed using another system, apparatus, or device.
[0126] The method 400 may include, in a step titled “Obtaining sensor data acquired by a sensor,” obtaining 410 sensor data acquired by a sensor. The method 400 may also include, in a step titled “Applying object detection techniques to the sensor data,” applying 420 object detection techniques to the sensor data to detect objects in the sensor data and determine one or more properties of the objects. The method 400 may further include, in a step titled “Encoding the sensor data using a data compression technique,” encoding 430 the sensor data to obtain encoded sensor data, wherein encoding includes applying a data compression technique to the sensor data, wherein the data compression technique is configurable by one or more compression parameters, wherein applying the data compression technique to the sensor data includes selecting at least one of the one or more compression parameters based on one or more properties of the object. The method 400 may further include, in a step titled “Generate object data,” generating 440 object data indicative of one or more properties of the object. Method 400 may further include, in a step titled "Sending Encoded Sensor Data and Object Data to a Receiver," sending 450 the encoded sensor data and object data to a receiver to enable the receiver to select one or more decompression parameters of a data decompression technique based on one or more properties of the object.
[0127] Figure 6A method 500 of decoding sensor data received from a transmitter is shown. The method 500 may correspond to the operation of a receiver device described elsewhere in this specification. However, this is not a limitation, as the method 500 may also be performed using another system, apparatus, or device.
[0128] The method 500 may include, in a step titled “RECEIVE ENCODE SENSOR DATA FROM A TRANSMITTER,” receiving 510 the encoded sensor data from the transmitter. The method 500 may further include, in a step titled “RECEIVE OBJECT DATA,” receiving 520 the object data from the transmitter, wherein the object data indicates one or more properties of an object detectable in the sensor data. The method 500 may further include, in a step titled “DECODING THE ENCODE SENSOR DATA BASED ON THE OBJECT DATA,” decoding 530 the encoded sensor data to obtain decoded sensor data, wherein the decoding includes applying a data decompression technique to the encoded sensor data, wherein the data decompression technique is configurable by one or more decompression parameters, wherein applying the data decompression technique to the encoded sensor data includes selecting at least one of the one or more decompression parameters based on the one or more properties of the object.
[0129] will appreciate that, generally speaking, Figure 5 The steps of method 400 and Figure 6 The steps of method 500 may be performed in any suitable order, such as serially, simultaneously, or a combination thereof, where applicable, subject to a specific order necessitated, for example, by input / output relationships.
[0130] The method(s) may be implemented on a computer as a computer-implemented method, dedicated hardware, or a combination of both. Figure 7 As illustrated in , instructions for a computer (e.g., executable code) may be stored on a computer readable medium 600, for example in the form of a series 610 of machine-readable physical marks and / or as a series of elements having different electrical (e.g., magnetic) or optical properties or values. The computer readable medium 600 may be transitory or non-transitory. Examples of computer readable media include memory devices, optical storage devices, integrated circuits, etc. Figure 7 A memory card 600 is shown.
[0131] Examples, embodiments or optional features - whether or not indicated as non-limiting - should not be construed as limiting the invention as claimed.
[0132] It should be noted that the above-mentioned embodiments illustrate rather than limit the present invention, and that a person skilled in the art will be able to design many alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol placed between brackets shall not be interpreted as limiting the claims. The use of the verb "comprise" and its variations does not exclude the presence of elements or stages other than those stated in the claims. The article "one" or "an" in front of an element does not exclude the presence of multiple such elements. Expressions such as "at least one of..." before an element list or element group indicate that all elements or any subset of elements are selected from the list or group. For example, the expression "at least one of A, B, and C" should be understood to include: only A, only B, only C, both A and B, both A and C, both B and C, or all A, B, and C. The present invention can be implemented by means of hardware including several different elements and by means of appropriately programmed computers. In a device claim enumerating several components, several of these components may be embodied by the same hardware item. The mere fact that certain measures are cited in mutually different dependent claims does not indicate that a combination of these measures cannot be used advantageously.
Claims
1. A computer-implemented method (400) of encoding sensor data for transmission to a receiver, comprising: - obtaining (410) sensor data acquired by a sensor; - applying (420) an object detection technique to the sensor data to detect an object in the sensor data and determine one or more properties of the object; - encoding (430) the sensor data to obtain encoded sensor data, wherein the encoding comprises applying a data compression technique to the sensor data, wherein the data compression technique is configurable by one or more compression parameters, wherein applying the data compression technique to the sensor data comprises selecting at least one of the one or more compression parameters based on one or more properties of the object; - generating (440) object data indicative of one or more properties of the object; - sending (450) the encoded sensor data and object data to a receiver to enable the receiver to select one or more decompression parameters of a data decompression technique based on one or more properties of the object.
2. The method (400) of claim 1, wherein applying a data compression technique to the sensor data comprises: - processing the sensor data to successively identify data patterns in the sensor data and converting each corresponding data pattern into a symbol selected from the auxiliary alphabet, thereby obtaining a symbol string representing the sensor data; - encoding the symbol string to obtain a binary representation of the symbol string, wherein the encoding uses a decision pattern for decision making in the encoding, wherein the decision pattern is selected based on one or more attributes of the object, for example by selecting different decision patterns for different values of the attribute of the object.
3. The method (400) of claim 2, wherein encoding the string of symbols comprises recursively using a decision pattern for the corresponding symbols.
4. The method (400) of claim 3, wherein encoding the symbol string comprises generating a complex number to represent at least a substring of the symbol string, wherein the decision pattern is representable as a set of regions (300) in a 2D coordinate system, each region from the set of regions representing a different symbol from an auxiliary alphabet, wherein the complex number is selected by recursively performing the following: - selecting a region corresponding to the current symbol of the substring from the set of regions (310); - dividing (320, 330) the selected area to obtain a set of sub-areas corresponding to a geometric arrangement of areas in the set of areas; and - selecting a sub-region corresponding to the next symbol of the sub-string from the set of sub-regions; wherein the complex number representing the substring is selected based on the coordinates in the 2D coordinate system of the last subregion selected for the last symbol of the substring, for example based on the centroid of the last subregion; and - Optionally, generating a binary representation of the complex number for transmission to a receiver.
5. The method (400) of claim 4, further comprising: - determining the frequency of corresponding data patterns in the sensor data to obtain the frequency of corresponding symbols from the auxiliary alphabet; and - determining a relative size of each region in the set of regions based on, e.g. proportionally to, the frequency.
6. The method (400) of claim 5, further comprising initially selecting the relative size of each region in the set of regions to be equal, and adjusting the relative sizes during encoding based on observed frequencies of corresponding data patterns.
7. The method (400) according to any one of claims 4 to 6 further comprises selecting an auxiliary alphabet using a machine learning technique, wherein the machine learning technique is trained to select corresponding symbols of the auxiliary alphabet so that the binary representation of the symbol string has a minimum binary length in the complex base in which the binary representation of the complex number is generated.
8. The method (400) according to any one of claims 4 to 7 further comprises using a machine learning technique to select a complex basis in which the binary representation of the complex number is generated, wherein the machine learning technique is trained to select the complex basis such that the binary representation of the complex number has a minimum binary length in the complex basis.
9. The method (400) according to any one of claims 1 to 8, wherein the object detection technique is configured to detect and classify objects in the sensor data to obtain an object classification as a property of the object.
10. The method (400) according to any one of claims 1 to 9, wherein the sensor data comprises or is representable as a series or array of complex numbers, for example in the form of amplitude and phase.
11. The method (400) according to any one of claims 1 to 10, wherein the sensor data comprises or is an array of sensor data elements, for example in the form of an image.
12. A computer-implemented method (500) of decoding sensor data received from a transmitter, comprising: - receiving (510) encoded sensor data from a transmitter; - receiving (520) object data from a transmitter, wherein the object data indicates one or more properties of an object detectable in the sensor data; and -Decoding (530) the encoded sensor data to obtain decoded sensor data, wherein the decoding includes applying a data decompression technique to the encoded sensor data, wherein the data decompression technique is configurable by one or more decompression parameters, wherein applying the data decompression technique to the encoded sensor data includes selecting at least one of the one or more decompression parameters based on one or more properties of the object.
13. A transitory or non-transitory computer-readable medium (600) comprising data representing instructions (610) which, when executed by a processor system, cause the processor system to perform a computer-implemented method according to any one of claims 1 to 12.
14. A transmitter device (100) comprising a processor subsystem (140), a sensor interface (120) to a sensor (110) and a communication interface (180) to a receiver device, wherein the transmitter device is configured to perform the method according to any one of claims 1 to 11.
15. A receiver device (200) comprising a processor subsystem (240) and a communication interface (220) to a sender device, wherein the receiver device is configured to perform the method according to claim 12.
16. A distributed sensor network comprising a sender device (100) according to claim 14 and a receiver device (200) according to claim 15, wherein the sender device is, for example, a sensor device and the receiver device is, for example, a sensor data processing device.
