Method and apparatus for providing signed audio bitstream with variable granularity
By assigning cumulative scores to audio data units and adjusting signature granularity based on content, history and conditions, the problem of difficulty in flexibly adjusting digital signature granularity in the existing technology is solved, achieving more efficient signature granularity adjustment and robustness in audio data transmission. sexual verification.
Patent Information
- Application Number
- CN202410298965.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-23
- Filing Date
- 2024-03-15
- Publication Date
- 2024-09-24
AI Technical Summary
In the storage and transmission of audio data in the existing technology, the granularity of digital signatures is difficult to flexibly adjust, resulting in too many resources being occupied in event-free paragraphs, and insufficient signature granularity in paragraphs of interest, affecting the efficiency of verification and evidence collection.
Variable signatures are implemented by assigning a cumulative score to each audio data unit and inserting a signature unit when the cumulative score reaches a threshold. The signature unit contains the subsequence fingerprint of the backward data unit and the score is based on the content of the data unit, historical context or capture conditions. Variable signatures are implemented granularity.
Increase signature frequency in passages of interest and reduce signature frequency in event-free passages, ensuring data loss robustness and reducing overall bitrate overhead, suitable for real-time audio capture and encoding processes.
Smart Images

Figure CN118694533A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of security devices for protecting programs or data from unauthorized activities, in particular with respect to storage and transmission of audio data. In particular, novel techniques for providing a signed audio bitstream with variable granularity will be proposed. Background Art
[0002] Digital signatures provide a layer of authentication and security to digital messages transmitted over an insecure communication channel. With the aid of digital signatures, the authenticity or integrity of a message can be verified and non-repudiation can be ensured. With specific regard to audio coding, secure and efficient methods for digitally signing an encoded audio signal (audio bitstream) have been described in the prior art. Such methods may include associating an audio bitstream with one or more electronic signatures, including inserting the electronic signature into the audio bitstream at constant or variable intervals, wherein the electronic signature has been generated from the encoded or decoded audio data or from a hash of the audio data. The introduction of digital signatures represents a bit rate overhead in the sense that the audio bitstream will occupy more communication bandwidth and / or more storage space than before the signature, and efforts have been made to limit this overhead.
[0003] Specifically, US8885818B2 relates to a technique for authentication of an Advanced Audio Coding (AAC) stream. A method is disclosed in which an encrypted value of a number N ≥ 1 of consecutive data frames is generated and inserted into a frame after N consecutive data frames of the AAC stream. Typically, it is the encoder that determines the number N of AAC frames covered. In order to minimize the bit rate overhead introduced by the identifier, the encoder can select a maximum value of N that satisfies the constraint that the time representation of N AAC frames does not exceed 0.5 seconds.
[0004] In addition, US10263783B2 discloses a system for authenticating an audio stream in which a sending entity generates a hierarchical authentication structure (which provides robustness against packet loss) including elements representing hash values of divided fragments at several different granularity levels, wherein the hash values for data fragments at a higher granularity level are based on hash values of data fragments at a lower granularity level. Then, a receiving entity in the system authenticates the data fragments of the data stream based on comparing the reconstructed value at the top level of the hierarchical authentication structure with the signature value at the top level of the generated hierarchical authentication structure. A security module in the sending entity signs the top level of the structure with a digital signature. Then, in addition to the audio stream, the hash value of the selected granularity level is encoded and transmitted with the signature of the sending entity. The sending entity can sign the audio stream periodically.
[0005] In the field of predictive video coding, US10713391B2 proposes a video processing application that receives a video sequence (e.g., in ITUT H.264 format) from a capture device, determines the saliency of an object based on at least one of motion detection, contrast, color, and semantic attributes, and decomposes the video into segments based on saliency. A salient segment of a video is a subset of frames of the video and a subset of pixels from a subset of frames. A salient segment can be described as an atom of the original video that starts when a pixel block appears in a scene and ends when the pixel block disappears from the scene. It is possible to expect that the salient segments are semantically consistent. Using this decomposition, the video processing application associates a digital signature with each video segment before transmitting the video segment to a destination, and authenticates the video segment based on the digital signature at the destination to determine whether the video segment has been altered during transmission and the source of the video segment.
[0006] WO02097792A1 discloses a process for dividing an audio signal into time segments or "auditory events" that tend to be perceived as separate and distinct. The locations of the boundaries of these auditory events provide information that can be used to succinctly describe the audio signal and make it identifiable. More specifically, the locations of auditory event boundaries can be aggregated to generate a compact information representation ("signature") of an audio signal that can be stored for comparative analysis, for example, with other similarly generated signatures in a database of known works.
[0007] EP4090015A1 of the applicant solves the problem affecting video coding formats, where the digital signature of a group of pictures (GOP) is carried in the header of the next GOP. The inconvenience of such video coding formats is that there is no place to put the signature of the last GOP in the video clip. This problem is particularly serious in surveillance use cases where video recording may start and end suddenly based on external triggers. This is solved by appending an extra GOP for the purpose of signing the last GOP.
[0008] The user's desire to play, edit or extract smaller segments of the audio bitstream sets a practical upper limit on how far apart the electronic signature can be inserted. In fact, only when the signed audio data is available in its entirety can a specific digital signature be successfully used to verify the audio data. If users report that they repeatedly face irrelevant audio content outside the user's search query, the audio bitstream format can be considered to be too coarse in this regard (signature granularity). This annoyance may indicate that the blocks of the signature are too large, and the spacing of the electronic signature in the bitstream should be set to a lower value.
[0009] A characteristic of video surveillance (including video surveillance) is that a large portion of the captured video content is eventless or uninteresting, for other reasons, such that, in practice, it is never played back, nor is the accompanying audio track. The tiny remainder of the material is where suspected illegal or other unusual events are expected to have occurred, and so it may be subject to relatively intensive searching, browsing, and processing. Likewise, users may wish to extract smaller clips for sharing with authorities or other outside parties for forensic or evidentiary purposes. It would be desirable to propose a signed audio bitstream format that adequately responds to the needs of video surveillance use cases. Summary of the invention
[0010] It is an object of the present disclosure to provide a method for providing a signed audio bitstream, which method can be performed together with a running process that captures and encodes an audio signal. Preferably, it is envisaged that the method is performed in real time relative to the audio capture process, for example, the achievable steady-state processing rate of the signature process should not be lower than the processing rate of the audio capture or encoding process, and the increased processing latency should be acceptable. A further object of the present disclosure is to provide a method for providing a signed bitstream, which, on the one hand, dedicates an acceptable small part of the total bitrate to digital signatures, and on the other hand, in which channels of potential forensic interest have a suitably fine signature granularity. In particular, the user should be provided with the freedom to play, edit and / or extract relatively short segments of the audio signal in passages of potential interest; the user is less likely to be distracted by irrelevant audio content. A further object is to provide a signed bitstream in which passages of potential forensic interest are particularly robust to data loss. A further object is to provide a method suitable for a streamlined computer implementation without the need to introduce large lookaheads, buffers or a large number of new internal variables. A further object is to provide a controller of a signature generation component arranged to insert signature units into an audio bitstream having some of the above features.
[0011] At least some of these objects are achieved by the invention defined in the independent claims.The dependent claims relate to advantageous embodiments of the invention.
[0012] In a first aspect, a method is provided which is suitable for providing a signature bitstream B* and which is to be performed in conjunction with a process of capturing an audio signal A and encoding it into a bitstream B. It is assumed that the bitstream B comprises a sequence of data units representing respective time segments of the audio signal; in this sense, a time segment may be an audio sample or a sequence of audio samples. In the method, a score is assigned to each data unit and the cumulative scores of all preceding data units back to a reference point in the bitstream are monitored. When the cumulative score reaches a threshold, a signature unit is inserted into the bitstream, wherein the signature unit comprises a digital signature of a fingerprint of a subsequence (in particular, an uninterrupted subsequence) of data units back to the reference point, and the reference point is reset. According to the first aspect, the score assigned to the data unit is based on a) the detected content of the time segment of the audio signal corresponding to the data unit or b) context information linking the time segment to the history of the audio signal or c) information about the conditions under which the time segment was captured or a combination of one or more of these factors.
[0013] The method according to the first aspect is suitable for being performed together with a process of capturing and encoding an audio signal, ie because assigning scores to data units can be done without having to access the data units more than once. In other words, such a method does not need to be implemented using look-ahead.
[0014] Furthermore, the necessary bookkeeping during execution of the method can be ensured by maintaining in runtime memory a numerical variable representing a cumulative score (score counter), which is incremented for each new data unit or each subsequence of new data units.
[0015] The method according to the first aspect has the additional advantage that the application of scoring factors a), b), c) results in a variable signature granularity that is fine in potentially interesting passages of the audio signal and coarser in the remaining potentially event-free passages. In other words, a higher signature frequency is used in potentially interesting passages of the audio signal and a lower signature frequency is used in passages without events. The "detected content" under factor a) has nothing to do with the (Shannon) concept of information content. For example, a period of silence (which is generally cheap to encode) may mean that continuous mechanical noise or steadily flowing traffic is an abnormal event in an environment of normal conditions. The act of refining the signature granularity in potentially interesting passages that are assigned relatively high scores also provides robustness if one or more data units are lost during transmission or storage. Because a particular digital signature can only be used to verify a subsequence of data units when all data units are available, a single lost data unit will undermine the ability of the recipient to verify the subsequence; however, the shorter the subsequence, the less troublesome this inability will be. The proposed method achieves exactly this: in passages of the audio signal with high assigned scores, on average the digital signature will involve fewer data units.
[0016] Finally, the proposed method is backward compatible in the sense that a receiver of the signed bitstream can treat it as a conventional signed bitstream. In particular, the deployment of the proposed method does not presuppose any new signaling, control information or encoding formats etc. for successful verification and playback.
[0017] In some embodiments, if content (particularly, audio content) of a predefined content type is detected (factor a), the score assigned to the data unit includes a predefined positive contribution. The positive contribution is added to other contributions to the score, such as a minimum value S0 of the score. One effect of including a predefined positive contribution is that data units detecting content of a predefined content type will cause the cumulative score to reach the threshold more quickly. Different positive contribution values can be defined for different content types, and obviously, the content type can be selected in view of the use case under consideration.
[0018] In some embodiments, the assigned score is based on contextual information (factor b) that links the time segment to the history of the audio signal. The contextual information can be considered to be related to the context in which the specific time segment of the audio signal is captured, for example, whether the time segment is mainly similar to the history of the audio signal, or whether the time segment deviates from the history on the contrary. More precisely, the assigned score includes a positive contribution corresponding to the deviation of the time segment from the model. The positive contribution can be constant, or it can vary with the degree (amount) of deviation from the expected behavior of the audio signal in view of the model. The model can be a probabilistic model, and if the time segment represents a significant deviation from the probabilistic model and / or in view of an anomaly of the probabilistic model, the positive contribution is included in the assigned score. In particular, the positive contribution can be constant, or it can be related to the p-value of the observed deviation audio signal.
[0019] In a further development of these embodiments, the addition of the positive contribution is conditional on the detection of content of a predefined content type in the time segment represented by the data unit (a combination of factor a and factor b). This may help to ignore "false positives", i.e. such time segments where the audio signal deviates from the model due to content of an irrelevant content type. In another further development, the model is frequency selective in the sense that it provides different behaviors of the audio signal in different frequency bands.
[0020] In some embodiments, the assigned score is based on information about one or more conditions of the capture time segment (factor c). The information can be used to enhance the base score based on the detected content (factor a) and / or contextual information (factor b).
[0021] In one aspect, the conditions may include the time of day, the direction of incidence on the audio recording device, the geographic location of the mobile audio recording device, or meteorological conditions. This allows the system owner to configure the method to produce a finer signature granularity at such times, places, and conditions where they expect an event of forensic interest to occur, or where there is a risk that such an event will be obscured by wind noise or precipitation noise. Conversely, it allows the system owner to apply a coarser signature granularity when deemed reasonable.
[0022] On the other hand, the conditions affecting the captured time segments of the assigned score may include performance indicators of the network used to transmit the bitstream. If the performance indicator decreases, a predefined positive contribution is included in the assigned score. In particular, the performance indicator can be (the inverse or negative of) a data loss indicator such as a packet loss rate, a frame loss rate, a bit error rate, or a frequency of data transmission errors in the network. Alternatively, the performance indicator can be a general diagnostic of the network such as latency (e.g., round-trip time), wherein a temporary deterioration in the performance indicator indicates a higher than normal risk of data loss. As explained above, if the signature granularity is finer, the consequences of data loss are more limited.
[0023] In some embodiments, the score assigned to each data unit includes a minimum value S0. t Combined, this ensures that the digital signature in the signature unit will be at most t / S0 or The minimum value S0 may be a predefined constant, or it may be related to the size of a data unit; the latter option may ensure that the overhead dedicated to the digital signature is an approximately constant percentage of the total bit rate in event-free passages of the audio signal.
[0024] As explained, the digital signature in the signature unit is related to the fingerprint of a subsequence of data units starting from a reference point. The end of the subsequence can simply be the latest data unit to which a score has been assigned, or an earlier data unit. In other embodiments, at least in some cases, the end of the subsequence can be located earlier than the latest data unit. In a specific embodiment, the end of the subsequence depends on the cumulative score reaching a threshold value S. t If the threshold is reached at a rate of change within the normal range, the subsequence of signature data units ends where the cumulative score reaches the threshold. Conversely, if the cumulative score reaches the threshold at a rate of change outside the normal range (i.e., faster), the subsequence ends earlier than the data unit where the cumulative score reaches the threshold. This has the advantage that event-free periods of the audio signal can be separated from immediately subsequent periods of possible forensic interest.
[0025] In a second aspect of the disclosure, a controller is provided for use in conjunction with an audio capture device configured to capture an audio signal A, an audio encoder configured to encode the audio signal into a bitstream B, and a signature generator operable to insert a signature unit into the bitstream. The bitstream includes a sequence of data units representing time segments of the audio signal. The controller has an input interface for monitoring the audio signal and / or the bitstream, an output interface for communicating with the signature generator, a score counter, and a processing circuit, the processing circuit being configured to: assign a score to each data unit based on factor a), factor b), factor c), or a combination thereof; monitor the cumulative score of all preceding data units backward to a reference point in the bitstream; cause the signature generator to insert a signature unit into the bitstream when the cumulative score reaches a threshold value, the signature unit including a digital signature of a fingerprint of a subsequence of data units backward to the reference point; and reset the reference point after the signature unit has been inserted.
[0026] In a third aspect, a signature bitstream B* is provided, comprising a sequence of data units representing a time segment of an audio signal A and a signature unit, wherein each signature unit comprises a digital signature of a fingerprint of a subsequence of data units. All such subsequences of data units have an approximately constant sum of scores assigned to the data units in the bitstream based on a) detected content of the time segment of the audio signal corresponding to the data unit or b) contextual information relating the time segment to the history of the audio signal or c) information about the conditions under which the time segment was captured or a combination of one or more of these factors.
[0027] The controller according to the second aspect and the signature bit stream according to the third aspect generally share the effects and advantages of the method according to the first aspect, and they can be implemented with corresponding degrees of technical changes.
[0028] The present disclosure further relates to a computer program comprising instructions for causing a computer or in particular a controller to perform the above method. The computer program and the signature bit stream may be stored or distributed on a data carrier. As used herein, a "data carrier" may be a temporary data carrier such as a modulated electromagnetic wave or light wave or a non-temporary data carrier. Non-temporary data carriers include volatile and non-volatile memories such as permanent and non-permanent storage media of magnetic, optical or solid-state type. Still within the scope of a "data carrier", such a memory may be fixedly mounted or portable.
[0029] In general, unless explicitly defined herein, all terms used in the claims should be interpreted according to their ordinary meaning in the technical field. Unless explicitly stated otherwise, all references to "a / an / the element, device, component, means, step, etc." should be openly interpreted as referring to at least one instance of the element, device, component, means, step, etc. Unless explicitly stated otherwise, the steps of any method disclosed herein do not have to be performed in the exact order disclosed. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Aspects and embodiments will now be described by way of example with reference to the accompanying drawings, in which:
[0031] Figure 1 The upper portion shows a location where concurrent audio and video recording is taking place;
[0032] Figure 1 The lower part of the diagram illustrates the processing of the resulting video signal V and audio signal A;
[0033] Figure 2A and Figure 2B each showing an audio signal and a bitstream into which signature units are being inserted according to the present disclosure and under the guidance of fractions assigned to consecutive data units; and
[0034] Figure 3 is a flowchart of a method for providing a signed bitstream according to embodiments herein. DETAILED DESCRIPTION
[0035] Hereinafter, aspects of the present disclosure will be more fully described with reference to the accompanying drawings on which certain embodiments of the present invention are shown. However, these aspects can be implemented in many different forms and should not be construed as limiting; rather, these embodiments are provided by way of example so that the present disclosure will be thorough and complete and fully convey the scope of all aspects of the present invention to those skilled in the art. Throughout the specification, the same reference numerals refer to the same elements.
[0036] System Overview
[0037] Figure 1 A location, illustrated here as a parking lot 190 filled with cars, is depicted where an audio signal A is being captured by an audio recording device 110 and a video signal V is being captured by a video recording device (not shown). Note that a suitably equipped digital camera can be used to simultaneously capture the audio signal A and the video signal V. In the depicted example deployment, multiple audio recording devices and video recording devices are used, and the outputs from these devices are each combined into a single audio signal A and a single video signal V by a multiplexer 120. The use of multiple audio recording devices or video recording devices 110 is not a necessary feature of the present invention. Figure 1 , thin lines are used to represent audio data streams, and thick lines are used to represent video data streams.
[0038] exist Figure 1 In the lower part of FIG. , the beginning of the video processing chain is indicated, comprising a video encoder 130 which inputs a video signal V and outputs a video bitstream W.
[0039] Further down, it can be seen that a copy of the audio signal A is fed to an audio encoder 140 which outputs an audio bitstream B, the structure of which will be described below. The bitstream B is provided with a signature element by a signature generator 144, the output of which will be referred to as a signed bitstream B*. The signed bitstream B* may be stored in a volatile memory or a non-volatile memory, or as Figure 1 As shown in , it can be transmitted to a recipient or storage via a network 160. The signed bitstream B* with audio data can (after optional additional processing) be combined with the video bitstream W into a common bitstream format.
[0040] The signature generator 144 may include an encryption element (not shown) with a pre-stored private key. It may be assumed that the recipient of the signed audio bitstream B* holds a public key belonging to the same key pair, which enables the recipient to verify that the signature generated by the encryption element is authentic (but typically without generating a new signature). Alternatively, the public key may be included in the signed audio bitstream B* as metadata, in which case it is not necessary to store it in advance at the recipient.
[0041] Optionally, to support such embodiments requiring non-zero lookahead, a buffer 142 precedes the signature generator 144. The buffer 142 enables the insertion of a signature unit to be postponed (or, figuratively speaking, delayed) by one or more data units in the sequence. For example, using the buffer 142, it becomes possible to insert a signature unit containing a digital signature of a fingerprint of a subsequence of data units that ends earlier than the most recently processed data unit. If the buffer 142 is configured to temporarily store data units, then Figure 1The structure depicted in is functional so that it is possible to delay the feeding of these data units to the signature generator 144, which calculates the fingerprints and signs these fingerprints. The same effect of delaying the insertion of the signature unit by one or more data units can be achieved by a buffer for fingerprints located at or in the signature generator 144. More precisely, the fingerprint buffer can be arranged downstream of the fingerprint part (not shown) and upstream of the signature part (not shown) of the signature generator 144. When it is decided to insert a signature unit, the buffered fingerprint is fed to the signature part and the signature unit is generated. (Note that when a fingerprint buffer is used, it may not be possible to insert the signature unit immediately after the last signed data unit, but the signature unit may have to be inserted with a delay or "out of band".)
[0042] Another copy of the audio signal A is fed to a controller 150 which is arranged to control the signature generator 144. In general, the controller 150 is arranged to control the signature generator 144; at least, the controller 150 is able to control the start and end of each subsequence of data units associated with an inserted signature unit. In some embodiments, the control of the signature generator 144 by the controller 150 may be provided in the form of a signal or message representing a command to insert the signature unit as soon as possible. Alternatively, the control is more fine-grained in that it identifies the data units that constitute the start and end of the subsequence for which the signature generator 144 will form a new signature unit, which will be inserted into the bitstream B.
[0043] The controller 150 may have any suitable structure for the purpose of description. For example, it may include the following functional components: a first data interface (used as an input interface) 152a for monitoring the audio signal A and / or the bit stream B; a second data interface (used as an output interface) 152b, toward the signature generator 144; a fraction counter 158; a memory 154; and a processing circuit 156. The processing circuit 156 is configured to perform the following Figure 3 The method 300 is described by the flowchart in FIG. 1 . The memory 154 may store a computer program P having instructions for executing the method 300. During execution of the method 300, the score counter 158 may be used for accounting of accumulated scores. The memory 154 may further be used to store a model M of the history of the audio signal. The functional components may correspond to corresponding physical components, or multiple functions may be implemented in a common physical component, such as a combined input and output interface.
[0044] Figure 2AThe central part of is symbolically represented by an audio signal A divided into sequential time segments 201, which are encoded as data units 202 according to a lossy encoding process or a lossless encoding process. The time segment 201 can correspond to a single sample (per audio channel) or to a plurality of audio samples. In the case of a single sample, the duration of the time segment 201 is defined as the inverse of the sampling frequency. Figure 2A In the embodiment illustrated in the figure, the time segment 201 and the data unit 202 are in a one-to-one relationship; in other embodiments, a one-to-many or many-to-one relationship may be applied, and this relationship may change dynamically. It can be said that the sequence data of the unit 202 forms a bit stream, and the bit stream can be decoded into a reconstructed audio signal. If lossy coding has been used, the reconstructed audio signal will have slight defects relative to the original audio signal A. In addition to the data unit 202, the bit stream may contain metadata, including technical information (self-synchronization, synchronization with the video signal, decoding guidance, etc.) or human-readable information (date and place of recording, notes, etc.) or both. The metadata can be carried in a separate bit stream unit on par with the data unit 202, or the metadata can be inserted into some of the data units 202.
[0045] In different embodiments, the bitstream conforms to different lossy audio coding formats or lossless audio coding formats, in particular including various transform-based coding formats and formats based on improved discrete cosine transform (MDCT). The speech coding format can also be used to encode the time segment 201. For example, the bitstream can be an advanced audio coding format (AAC or MPEG-2 / MPEG-4; specified in ISO / IEC 13818-7, ISO / IEC 14496-3) or an Opus audio format (specified in RFC6716 and its subsequent updates). In the specific example of AAC, data block single channel elements (SCE), channel pair elements (CPE), coupled channel elements (CCE), lfe channel elements (LFE) are defined, and any associated metadata can be transported in any one of the data stream elements (DSE), program configuration elements (PCE) and filler elements (FIL). DSE can consist of DSEID, element instance tag, data byte alignment marker, count, optional ESC and a series of data stream bytes. For DSE, the AAC standard specifies the length and interpretation of the DSE ID, element instance marker, data byte alignment marker, count, and ESC, but does not specify the interpretation of the data stream bytes.
[0046] The data unit 202 may correspond to an access unit in some audio coding formats. In other formats, the data unit 202 may be an audio packet comprising a plurality of so-called frames, wherein a frame contains an audio sample for each channel of a set of channels defined spatially and / or spectrally. In this sense, an audio packet may correspond to a segment of an audio signal A of a predefined duration (such as 10 ms). It is noted that the data units in the present disclosure are generally distinguished from the packets specified in the Real Time Protocol (RTP) in terms of their structure and / or use.
[0047] When signature units 203 are added to the bitstream, a signed bitstream B* is obtained. In the signed bitstream B*, each data unit 202 is associated with a signature unit 203, so that its authenticity can be verified by the recipient. Without departing from the scope of the present disclosure, the signed bitstream B* may contain a certain amount of data units 202 that are "unsigned" in the sense of not being associated with any signature unit 203. This may still provide a reasonable level of data security, at least in some use cases.
[0048] The concept of signature granularity has been introduced above. One of its implications is that it may not be possible to verify the authenticity of each data unit 202 individually; instead, the recipient may have to verify the authenticity of a complete subsequence of data units associated with a particular signature unit 203. A positive result of such authenticity verification (or validation) will be interpreted as making all data units 202 in the subsequence authentic. A negative result indicates that one or more of the data units 202 are not authentic, e.g. due to encoding errors, transmission errors, or tampering. The subsequence or the complete signature bit stream B* can then be isolated to avoid any further use or processing.
[0049] To provide the signature unit 203, the signature generator 144 initially calculates a fingerprint h from each data unit 202. Although for simplicity of this demonstration, all fingerprints use the same symbol h, it is understood that the fingerprint depends on the content of the corresponding data unit 202. Each of the fingerprints h can be a hash or a salted hash. A salted hash can be a hash of a combination of a data unit (or a portion of a data unit) and a cryptographic salt; the presence of a salt can prevent an unauthorized party with access to multiple hashes from guessing what hash function is being used. Potentially useful cryptographic salts include the value of an active internal counter, a random number, and the time and place of the signature. The hash h can be generated by a hash function (or one-way function) that provides a security level that is considered sufficient in view of the sensitivity of the video data to be signed and / or in view of the value that would be at risk if the video data were manipulated by an unauthorized party. Three examples are SHA-256, SHA3-512, and RSA-1024. The hash function should be predefined; in particular, the hash function may be reproducible so that the fingerprint can be regenerated when the recipient is to verify the signature bit stream B* using the signature unit 203 .
[0050] Based on the fingerprint h of the subsequence of data unit 202 (indicated by the leftmost horizontal curly bracket), signature generator 144 forms a bit string H1 and generates a digital signature s(H1) of the bit string using cryptographic elements. Figure 2A . The bit string H1 from which the digital signature is formed may be a combination of fingerprints of the associated data units 202, or may be the fingerprint of the combination of fingerprints of the associated data units 202. The combination of fingerprints (or "documents") may be a list of string representations of fingerprints or another linear or scrambled connection. Alternatively, the fingerprints may be linked to enable detection of unauthorized deletion, addition or reordering of data units. In such an embodiment, the bit string H1 may be a recursively calculated hash of the last data unit in the subsequence, which, due to recursion, depends on the previous data unit (or the fingerprint of the previous data unit). In addition to the digital signature s(H1), the signature unit 203 optionally includes a bit string H1 that may be generated in any of the ways outlined above ("document method"). It is understood that the signature generator 144 processes the second, third, fourth, etc. subsequences of the data units 202 in a manner similar to the first subsequence of the data units 202 to provide signature units 203 for these subsequences.
[0051] The recipient of the signed bitstream B* will be able to verify the authenticity of the corresponding segment using the signature unit 203, provided that the recipient has access to the public key of the key pair used by the signature generator 144. The main steps of the verification are as follows: The recipient computes the fingerprint of the data unit 202 in the received signed bitstream B* using the same defined one-way function The bit string that forms the fingerprint (e.g. ), and then supplies the digital signature s(H1) and the bit string read from the signature unit 203 to the cryptographic element containing the public key. A favorable result corresponds to a successful verification. Alternatively, if the signature unit 203 also includes the bit string H1 in addition to the digital signature s(H1) ("document method"), the recipient can choose to first verify the received bit string H1 using the cryptographic element with respect to the received digital signature s(H1), and then evaluate whether the received bit string H1 corresponds to the fingerprint of the data unit 202 based on the received signature bit stream B*. The bit string formed match.
[0052] Signature Method - Basic Implementation
[0053] Figure 2A The upper part of the diagram illustrates the assignment of scores to data units and the evolution of the accumulated scores over time within the new method 300 proposed by the inventors. With an eye on the specific technical application of video surveillance together with the simultaneous recording of audio, the method 300 has been conceived to provide a signature bitstream B* with a variable signature granularity. The method 300 can be implemented in a general purpose processor authorized to control the insertion of the signature unit 203 into the audio bitstream. For the purposes of the following description, it will be assumed that the processor executing the method 300 is included in a dedicated functional component, such as a processor arranged to control the signature generator 144. Figure 1 Controller 150 is shown in FIG.
[0054] In a first step 310, the controller 150 receives an audio bitstream B representing an audio signal A, or it receives an unencoded audio signal A. Note that the method 300 can be performed together with the capture (collection) of the audio signal A and the encoding of the audio signal A into the audio bitstream B and in real-time relation thereto. In one possible workflow, the controller 150 receives the audio bitstream and outputs a signature bitstream B*. Alternatively, as Figure 1 As shown in , the controller 150 is arranged outside the main audio processing chain and continuously reads a copy of the audio signal A. In another embodiment of step 310 , the controller 150 reads a copy of the audio bitstream B.
[0055] In the next step 316 of this embodiment, the controller 150 assigns the scores to the data units 202 in the bitstream B. Figure 2A, where the hollow vertical bar above each data unit 202 represents the score that has been assigned to it. It is understood that in embodiments where the controller 150 has access to the audio signal A but does not have access to the bitstream B, the assignment may imply assigning scores based on time segments 201 that have a well-defined relationship with the data unit 202. In addition, step 316 may be implemented so that a group of multiple data units 202 (or multiple time segments 201 that are proxies for data units 202) are considered together, and then the same or separate score values are assigned to all of these data units 202. In different embodiments of the method 300, the controller 150 assigns scores to the data units 202 based on the following factors:
[0056] a) the detected content of a time segment of the audio signal corresponding to the data unit, or
[0057] b) contextual information that relates the temporal segments to the history of the audio signal, or
[0058] c) information about the conditions under which the time slice was captured,
[0059] Or a combination of one or more of these factors. The assigned score may also include a contribution representing, for example, manual input from an operator who occasionally hears the sound at the location 190 where the audio recording occurs and wants to ensure that the ongoing event is captured with the benefit of fine signature granularity. In addition, manual input may be given via a body worn camera (BWC) carried by security personnel. Scoring factors will be described in a dedicated section of this disclosure.
[0060] In addition, in steps 318 and 320 of method 300, the cumulative score of all data units 202 backward to the reference point is monitored and compared with the threshold S t For this purpose, the controller 150 may use the fractional counter 158. Figure 2A In the upper part of FIG. 1 , the trend of the cumulative score S has been plotted as a function of time by a solid line. It can be seen that for the first subsequence (eight data units 202), the cumulative score S increases at an approximately constant rate, while for the second subsequence (eight data units), the third subsequence (six data units) and the fourth subsequence (five data units 202), the S curve has a different shape. The illustration refers to the case where the score includes a value approximately equal to the threshold value S t Note that in a practical implementation of the method 300, the number of data units 202 to be signed by one signature unit 203 may be significantly higher than these example numbers of five, six and eight.
[0061] The cumulative score is the sum of the scores of the data units 202 back to the reference point. In a first execution of the method 300, the reference point may be the first data unit 202 of the observed portion of the bitstream B, so that the cumulative score S represents the complete history of the bitstream B. When it has been decided to insert a signature unit 203 having a digital signature (e.g., S(H1)) of a subsequence of data units 202 into the bitstream B (steps 324 or 326 to be described below), the reference point will normally be moved (step 330) to the data unit immediately following the end of the subsequence.
[0062] If the comparison in step 320 reveals the score threshold S t Now, by the cumulative score of the subsequence of data units 202 from the initial data unit (reference point) up to and including the last data unit, a possible outcome is to decide on the signature of the bit stream B. If the score assigned to the nth data unit 202 is given by s n denoted by n, and the sequence numbers of the initial data unit 202 and the last data unit 202 are represented by n i ,n f If , then the cumulative score satisfies:
[0063]
[0064] Furthermore, under normal circumstances (although not necessarily in all embodiments), the cumulative score is less than the threshold immediately before the last data unit:
[0065]
[0066] It can be said that inequality (2) represents the minimality condition.
[0067] The "here" signature means that the signature unit 203 to be inserted into the bitstream B comprises a digital signature of the fingerprint h of the subsequence from the initial data unit to the last data unit; the digital signature can be generated directly from said fingerprint h, or, as explained above, from a bit string (e.g. H1) formed by the fingerprint h. In an uncomplicated embodiment, this can be achieved without buffering any part of the audio bitstream; until the signature unit 203 is generated, only the calculated fingerprint of the data unit 202 may need to be temporarily stored. The calculated fingerprint of the data unit 202 may be stored in a runtime memory (not shown) in the signature generator 144. The signature unit 203 can be inserted into the bitstream B in units of a bitstream of metadata type. Alternatively, the signature unit 203 can constitute a part of the data unit 202 (e.g. DSE in the case of the AAC format), or it can be merged with the data unit 202.
[0068] In order to achieve the sought-after signature granularity, the content of the inserted signature unit 203 is relevant, but not necessarily its position in the bitstream. In particular, even if the signature unit 203 is related to a subsequence extending until a specific last data unit, the signature unit can be inserted into the bitstream after several data units. Such a separation of the sequence of signature units 203 and the data units 202 it signs may be necessary due to processing latency (e.g., regular delays in calculating the scores to be assigned to the latest data unit). The separation of the acceptance signature unit 203 can also contribute to a smoother signing process that does not introduce jitter when processing delays occur. However, since the signature unit 203 is still obviously located in the same part of the signature bitstream B* (i.e., the part that has been loaded into the runtime memory), the separation does not necessarily cause any significant inconvenience on the receiving side. In such an embodiment where the signature unit 203 is inserted into the bitstream after a variable number of data units, the signature unit 203 should preferably contain information indicating how many data units 202 it is associated with or otherwise contain information from which the initial and last data units of the signature subsequence can be derived; as a recipient, the availability of such information will facilitate the verification process.
[0069] Yet another option would be to insert the signature unit 203 "out-of-band" in the sense that the signature bitstream B* has one channel for the data units 202 and a separate (or independent) channel for the signature unit 203. Under this option, the meaning of signing "therein" is understood to refer to the content of the signature unit 203, i.e. the fact that its digital signature is related to the fingerprint of a specific subsequence of the data units 202. However, since these units are conveyed on different channels of the signature bitstream B*, the position of the signature unit 203 relative to the subsequence of the data units 202 may not be clearly defined.
[0070] If, as determined in decision point 328, the audio bitstream B is continuing after the new signature unit 203 has been inserted, execution of method 300 moves to step 330 of resetting the reference point. It then loops back to step 316 where the score is assigned to the next data unit 202 in sequence. In step 330, the reference point is moved to the (nth) f +1) data unit, i.e., the data unit following the end of the most recent signature subsequence. Normally, the reference point remains static during execution of method 300, except in step 330. In such embodiments where it is desirable to have overlap between consecutive signature subsequences of data units (which may protect against unauthorized reordering of subsequences), the reference point is instead moved to the nth subsequence in step 330. f 'Data unit. nth f'The data unit is the end point of the earlier subsequence and the start point of the later subsequence.
[0071] Otherwise, if the bitstream B has stopped, the execution flow ends (position 332).Then, unless the last data units 202 are processed specifically, they may remain unassociated with any signature unit (unsigned).
[0072] Signature Methods - Further Developments
[0073] In a further development, the method 300 may comprise a step 312 of buffering the most recent part of the received audio bitstream. The buffer 142 may be located upstream of the signature generator 144. The buffering may be performed throughout the execution of the method 300. The buffering may, for example, facilitate starting at a reference point (in the terminology used above, this is a reference point with a sequence number n). i ), but its contribution causes the cumulative score S to reach or exceed the threshold S t The data unit (the last data unit, sequence number n f ) The signature of the subsequence that ends early. For example, you can insert a subsequence that includes the nth i Data unit 202 to (nth f - d) a signature unit 203 of a digital signature of the fingerprint of the data unit 202, where d is a positive integer. This will be referred to as an "earlier" signature, as opposed to a "here" signature.
[0074] For the purpose of separating event-free periods of the audio signal from subsequent periods of possible forensic interest, the option of signing the bitstream "earlier" can be used. In some embodiments of practicing this, method 300 further includes evaluating the cumulative score S to see if it reaches a threshold S t 322 determines whether the rate of change of is within the normal range (S"(n) ≤ r0) or has increased relative to the normal range (S"(n)>r0). In other embodiments, a relative criterion may be evaluated at decision point 322, i.e., whether the rate of change has increased relative to the recent past, e.g., for some constant δ>0 and constant integer q≥1.
[0075] S"(n)>(1+δ)×S′(nq).
[0076] Either way, the rate of change S'(n) can be estimated as a moving average, such as the steepness of a straight line fitted to a fraction of the nearest data units p>0 (i.e., data units carrying sequence numbers n-p+1, n-p+2, ..., n-1, n). In a very simple implementation, the rate of change S'(n) can be estimated as the difference s n -s n-1 or n -s n--.1, where, as mentioned above, p>0.
[0077] If the rate of change is found to be within the normal range in decision point 322, then the "here" signing option is selected (step 326), where the subsequence of signed data units ends where the cumulative score reaches the threshold. In the opposite case, the "earlier" signing option is selected (step 324), where the subsequence ends at a point where the cumulative score reaches the threshold S. t The data unit ends d units earlier. The integer d>0 can be determined in at least two different ways. A simple way is to use a constant value of d. A more complex way is to set d equal to a multiple of the rate of change at the point where the threshold is reached or exceeded, that is, by subtracting γ×S′(n f ) or γ×0S"0n f 1-r01 rounded to an integer. In other use cases, it may be more appropriate to relate the number d to the inverse of the rate of change at the point where the threshold is reached or exceeded; in this way, the event-free period will end earlier if the transition to the period of possible interest is smoother. Furthermore, the number d can be determined in such a way that the data unit at which the cumulative score S(n) begins to increase at a higher rate will be associated with a later signature unit. This data unit can be located by studying the digital approximation of the second derivative s″(n) of the cumulative score.
[0078] The possible effects of this embodiment are shown in FIG. Figure 2B Here, for the first subsequence of seventeen data units 202, the cumulative score reaches the threshold value S at a change rate within the normal range (less than r0). t . However, near the end of the second subsequence, the cumulative score grows so rapidly that the criterion in decision point 322 is evaluated as positive; the signature is only applied to the fingerprints of exactly eight data units, even though the threshold is actually reached after ten data units (i.e., after d=2 data units). As a result, the end of the relatively event-free period assigned a low score will be signed by the second signature unit 203, while the two most recent data units 202 will be signed by the third signature unit (not shown). As explained above, this allows the recipient of the bitstream to play or edit the two most recent data units 202 separately from the event-free period, and also increases the robustness of these data units 202 to data loss. For playback, there is no need to decode the event-free period. For editing followed by re-signing, the event-free period can remain unchanged. Obviously, after the controller 150 has commanded the insertion of the second signature unit 203, it resets the reference point at the second-to-last data unit 202, so that the scores of both data units 202 will be included in the new cumulative score. In other words, the reference point is moved to the (nth) f-d+1) data units, i.e., the data unit following the end of the most recent signature subsequence. (As explained above, if consecutive pairs of signature subsequences of data units are to overlap, the reference point should instead be moved to the nth f 'Data unit. )
[0079] In another further development, the method 300 may include a step 314 of providing a model M of the history of the audio signal A to be used in step 316 to facilitate the scoring of the data unit 202. Note that the model M may be provided by analyzing an earlier portion of the same audio signal A being processed (e.g., an audio signal A represented by the same bitstream B). The model M may be a model of background sounds in the captured audio signal A; this may be achieved by eliminating any segments containing auditory events that do not form part of the background sounds (e.g., events that may be of forensic interest, events that may be assigned a high score) prior to analyzing the audio signal A. It is understood that, although technically the audio signals are managed as separate audio files or separate audio database entries, the history of the audio signal A can be equivalently represented by different audio signals captured under similar circumstances, such as by similarly placed recording devices. Furthermore, it is understood that the model M can be constant during the execution of the method 300, or it can undergo updating or further refinement while the method 300 is being executed.
[0080] The model M can be non-parametric or parametric. A non-parametric audio signal model can be, for example, a spectrogram, e.g., a measure of the historical signal energy distribution over different frequency bands. In particular, the spectrogram can refer to the historical signal energy minima of different frequency bands; this can eliminate any contribution representing events that do not form part of the background sound. A parametric audio signal model can be, for example, a Gaussian mixture model (GMM) whose statistical properties are defined by a set of parameters such as mean, standard deviation and weights. If not known a priori, these parameters are estimated by history to enable the normality of more recent segments of the audio signal A to be assessed.
[0081] In some embodiments, the model M is provided 314 based only on specific frequency bands (e.g., the frequency bands that the system owner expects to be most helpful in identifying passages of forensic interest in the audio signal A). If such a frequency selective (or frequency limited) model M is used, scores can be assigned to data units 202 by only listening to the same frequency bands of the corresponding time segment 201 of the audio signal.
[0082] Scoring in Signature Methods
[0083] In some embodiments of method 300, if content of a predefined content type is detected (scoring factor a), the score assigned to the data unit includes a predefined positive contribution. The positive contribution is added to other contributions to the score (such as the minimum value S0 of the score illustrated above). Different positive contribution values can be defined for different content types. In an example use case related to surveillance (including audio surveillance), where events of possible forensic significance are considered to be of interest, there may be detection of the following content types: voice activity, speaking, screaming, silence, the ringing of a clock (which is potentially helpful in proving the claimed time and location of the audio recording), noise from mechanical destruction (glass breaking, metal drilling, sawing), noise from specific vehicle maneuvers (hard acceleration, braking, squeaking tires, etc.), noise from firearms, etc. Detection can use audio analysis techniques known per se in which content types can correspond to so-called analysis categories. (See, e.g., Salamon and Bello, “Deep Convolutional Neural Networks and Data Augmentation for Ambient Sound Classification,” preprint, arXiv:1608.04363, DOI: 10.48550 / arXiv.1608.04363 and Kons and Toledo-Ronen, “Audio Event Classification Using Deep Neural Networks,” Proceedings of the Annual Conference of the International Speech Communication Association, INTERSPEECH, 2013, pp. 1482–1486, DOI: 10.21437 / Interspeech.2013-384.) The greatest benefit of detecting audio content in this manner is obtained for content types that have acoustic features that are easily recognizable and easily distinguishable from audio content that is not of interest. Notably, this is the case when the content type has a unique, definable acoustic signature, and / or when a machine learning model has been successfully trained to perform such recognition.
[0084] In some embodiments, additionally or alternatively, the assigned score is based on contextual information (factor b) linking the time segment to the history of the audio signal. More precisely, the assigned score includes the deviation of the model M of the time segment from the history of the audio signal and / or the positive contribution of the model M to how much the time segment represents an abnormal correspondence. As described above, the model M can be provided in the form of a probabilistic model or a deterministic model. In addition, the model M can be parametric or non-parametric.
[0085] The positive contribution in the assigned score can be constant, or it can vary with the degree (amount) of deviation from the expected behavior of the audio signal in view of the model. To determine the deviation in the simple case where the model M is a spectrogram represented as a vector,
[0086]
[0087] in, is the historical minimum power of the jth frequency band among all m frequency bands, the controller 150 may estimate the frequency spectrum of the nth data unit 202
[0088] P(n)=0P1(n),P5(n),…,P6(n)1
[0089] And evaluate the difference P between the model spectrogram and the estimated spectrogram (4) -The magnitude of P(n). For example, for some p ≥ 1, the magnitude can be estimated as the difference vector; P (4) -P(n); - The p-norm of the model spectrogram and the positive contribution to the assigned score can be proportional to the value of the p-norm. If the option to use a constant positive contribution is selected instead, the positive contribution can be added once the magnitude of the difference between the model spectrogram and the estimated spectrogram exceeds a preconfigured threshold.
[0090] When a probabilistic model is used, the positive contribution of the score to be assigned to the data unit 202 can be quantitatively corresponding to the deviation of the corresponding time segment 201 from the probabilistic model M. More precisely, if the observation of the content ω has a probability of Pr(ω) in the time segment 201 in view of the model M, then the deviation from the model can be meaningfully quantified as a positive multiple of -logPr(ω). Therefore, the number -logPr(ω) can be used as context information, that is, as a basis for determining the positive contribution to the assigned score. In another example, the positive contribution to the assigned score is related to the entropy of the residual after predicting the new time segment 201 using the model M. In another example, if the time segment represents a significant deviation from the probabilistic model and / or an anomaly in view of the probabilistic model, the positive contribution is included in the assigned score. For example, if Pr(ω)<α, where α is a significance level (e.g., α=0.05), the deviation can be considered significant. The positive contribution assigned to a time segment with a significant deviation may be constant, or it may be inversely proportional to the p-value Pr(ω) at which a new time segment 201 is observed.
[0091] As explained above, the addition of positive contributions is conditional on the detection of content of a predefined content type in the time segment represented by the data unit (a combination of factors a and b). This can be described as assigning scores based on a "qualified" Shannon information content.
[0092] As also explained above, the model M may be restricted to a specific frequency band, and the assignment of scores to the data units 202 may be based on an analysis of only the same frequency band of the corresponding time segment 201 of the audio signal.
[0093] In some embodiments, the assigned score is based on information about one or more conditions of the capture time segment (factor c). The information can be used to strengthen the basic score based on the detected content (factor a) and / or contextual information (factor b). Strengthening can be achieved by scaling the contribution of factor a) and / or factor b) with the value of factor c).
[0094] In one aspect, the conditions under which the temporal segments were captured may include the time of day, the direction of incidence on the audio recording device 110, the geographic location of the mobile audio recording device, or meteorological conditions. The direction of incidence or angle of arrival can be determined from phase measurements made by a multi-microphone array. With respect to the time of day, for example, it may be assumed that audio observations collected when a building is normally empty are of a priori forensic interest and should be assigned a higher score.
[0095] On the other hand, conditions affecting the allocated fractional capture time segments may include the network 160 ( Figure 1 ). If this performance indicator temporarily deteriorates, a predefined positive contribution is included in the assigned score. In particular, the performance indicator may be (the inverse or negative of) a data loss indicator such as a packet loss rate, a frame loss rate, a bit error rate or a frequency of data transmission errors in the network 160. Alternatively, the performance indicator may be a general diagnostic of the network 160 such as a latency (e.g., round trip time), wherein a temporary deterioration of the performance indicator may indirectly indicate that the risk of data loss is higher than the risk that prevails during normal operation of the network 160. In practice, the consequences of data loss can often be reduced by using a finer signature granularity, and this is achieved by temporarily increasing the score assigned to the data unit 202.
[0096] In addition to the contributions from these factors a), b) and c), the allocated fraction may include a minimum value S0 per frame. If the minimum value S0 is set to a constant value, it is ensured that the interval between two consecutive signature units does not exceed a certain number of data units. If, on the contrary, the minimum value S0 is set to be proportional to the size of the data unit, it is ensured that at least a certain percentage of the bit rate is dedicated to the digital signature.
[0097] Aspects of the disclosure have mainly been described above with reference to a few embodiments. However, as readily appreciated by a person skilled in the art, other embodiments than the ones disclosed above are equally possible within the scope of the invention, as defined by the appended patent claims.
Claims
1. A method for providing a signed bitstream to be performed in conjunction with a process of capturing an audio signal and encoding it into a bitstream, wherein: The bitstream comprises a sequence of data units representing time segments of the audio signal, The method comprises: Assign a score to each data unit; monitoring a cumulative score which is a sum of said scores assigned to all preceding data units in said bitstream backwards to a reference point; When the cumulative score reaches a threshold, performing the following steps: inserting a signature unit including an encrypted digital signature of a fingerprint of a subsequence of the data units back to the reference point into the bit stream; and resetting the reference point, The score assigned to the data unit is based on at least one of the following: a) detected content of the time segment of the audio signal corresponding to the data unit, b) context information relating the time segment to a history of the audio signal, wherein the assigned score comprises a positive contribution corresponding to a deviation of the time segment from a model of the history of the audio signal, c) Information about the conditions under which said time segment was captured.
2. The method according to claim 1, wherein: If content of a predefined content type is detected, the score assigned comprises a predefined positive contribution.
3. The method according to claim 2, wherein: The predefined content types are one or more of the following: Voice activity, speech, screams, silence, noise from mechanical breakdown, noise from certain vehicle maneuvers, noise from firearms.
4. The method according to claim 1, in: The model is a probabilistic model; and If the time segment represents a significant deviation and / or anomaly in view of the probabilistic model, the positive contribution is included in the score assigned.
5. The method according to claim 4, wherein: Only if content of a predefined content type is detected in a deviating time segment, said positive contribution is included in said score assigned to said deviating time segment.
6. The method according to claim 4, wherein: The model is frequency selective.
7. The method according to claim 1, wherein: The score assigned is based on one or more of the following conditions for capturing the time segment: The time of day, the direction of incidence on the audio recording device, the geographical location of the mobile audio recording device, the meteorological conditions.
8. The method of claim 1, wherein: The assigned score is based on information related to the conditions under which the time segment was captured, the information comprising performance indicators of a network used to transmit the bitstream; and The assigned score includes a positive contribution corresponding to a temporary decrease in the performance indicator.
9. The method according to claim 7, wherein: The information regarding the conditions under which the time segment was captured is used to enhance a base score based on the detected content and / or the contextual information.
10. The method according to claim 1, wherein: The scores assigned to data units include a minimum value.
11. The method according to claim 1, wherein: The signature unit to be inserted into the bitstream comprises a digital signature of a fingerprint belonging to: - a subsequence of data units ending earlier than said cumulative score reaching said threshold value, if said threshold value is reached with an increasing rate of change; - Otherwise, a subsequence of data units ending where said cumulative score reaches said threshold.
12. The method of claim 1 performed in real time relative to the process of audio capture and encoding.
13. A controller for use in combination with: an audio capture device configured to capture an audio signal; an audio encoder configured to encode the audio signal into a bit stream; as well as a signature generator operable to insert a signature unit into said bitstream, The controller comprises: an input interface for monitoring the audio signal and / or the bit stream; an output interface towards the signature generator; a fractional counter; and a processing circuit configured to perform the method according to any one of the preceding claims.
14. A non-transitory computer-readable recording medium including a computer program including instructions for causing the controller according to claim 13 to execute the steps of the method according to claim 1.
