Patent application title: Methods and Apparatus for Robust Embedded Data
Kenneth L. Levy (Stevenson, WA, US)
IPC8 Class: AG06K900FI
Class name: Image analysis applications
Publication date: 2013-01-10
Patent application number: 20130011002
The present invention describes methods and apparatus involving embedding
data. Data can be embedded steganographically in content or embedded in,
e.g., headers associated with the content. One claim recites an apparatus
including: a memory system for storing: i) content data comprising first
information embedded therein; ii) second information which is separate
from the content data, in which the second information is associated with
a first user device and a second user device; and a logic processor. The
logic processor is programmed for: decoding the first information from
the content data; comparing the first information to the second
information for correspondence; and based at least on the correspondence,
determining whether to perform an action associated with the content data
on either of the first user device or the second user device. Other
claims and combinations are also provided.
1. An apparatus comprising: memory for storing data and correlated data,
the correlated data being related to but independent from the data; a
logic processor programmed for: changing auxiliary information based on
at least the correlated data, in which the auxiliary information is
independent of the data and the correlated data; and embedding changed
auxiliary information in the data.
2. The apparatus of claim 1 in which the embedding comprises steganographic embedding.
3. The apparatus of claim 1 in which the data comprises a plurality of frames, and the embedding includes placing changed auxiliary information in at least one header associated with one of the plurality of frames.
4. The apparatus of claim 1 in which the embedding places the changed auxiliary information in a global header associated with the data.
5. The apparatus of claim 1 in which the data comprises audio or video, and the correlated data comprises song lyrics.
6. The apparatus of claim 1 in which the correlated data comprises at least one of a name or address.
7. The apparatus of claim 1 in which the data comprises a photograph, and the changed auxiliary information is embedded within the photograph.
8. The apparatus of claim 7 in which the correlated data comprises at least one of a name or address.
9. The apparatus of claim 1 in which said logic process is programmed for encrypting the changed auxiliary information after said changing but prior to said embedding.
10. An apparatus comprising: memory for storing content data; and a logic processor programmed for: changing auxiliary information based on the content data, in which the auxiliary information is independent of the content data; and embedding changed auxiliary information in the content data, in which once embedded in the content data the changed auxiliary information is detectable from embedded content data even in the absence of the auxiliary information.
11. The apparatus of claim 10 in which said act of changing comprises XORing the auxiliary information with at least a portion of the content data.
12. The apparatus of claim 10 in which said changing comprises changing a pseudo-random (PN) sequence utilized in said embedding.
13. The apparatus of claim 10 in which said logic processor is programmed for encrypting the changed auxiliary information after said changing but prior to said embedding.
14. The apparatus of claim 12 in which said content data comprises data selected from a group of data comprising video, audio and imagery.
15. The apparatus of claim 10 wherein said embedding comprises placing the changed auxiliary information in a header associated with the content data.
16. An apparatus comprising: a memory system for storing: i) content data comprising first information embedded therein; ii) second information which is separate from the content data, in which the second information is associated with a first user device and a second user device; and a logic processor programmed for: decoding the first information from the content data; comparing the first information to the second information for correspondence; and based at least on the correspondence, determining whether to perform an action associated with the content data on either of the first user device or the second user device.
17. The apparatus of claim 16 in which the action comprises rendering and said determining further considers whether the first information allows the rendering.
18. The apparatus of claim 16 in which the first information is steganographically embedded in the content data.
19. The apparatus of claim 16 in which the second information is shared between the first user device and the second user device.
20. The apparatus of claim 16 in which the first information comprises an encrypted identifier, and the second information comprises the identifier and a decryption key.
 This application is a continuation of U.S. patent application Ser.
No. 11/420,580, filed May 26, 2006 (U.S. Pat. No. 8,095,795) which is a
continuation of U.S. patent application Ser. No. 09/404,291, filed Sep.
23, 1999 (U.S. Pat. No. 7,055,034); each of the above patent documents
are hereby incorporated herein by reference. The 09/404,291 application
claims the benefit of Provisional Patent Application Nos. 60/101,851,
filed Sep. 25, 1998; 60/110,683, filed Dec. 2, 1998; 60/114,725, filed
Dec. 31, 1998; and 60/126,591, filed Mar. 26, 1999; each of which are
hereby incorporated by reference.
 This application relates to Provisional Patent Application Ser. Nos. 60/123,587, filed Mar. 10, 1999 and 60/126,592, filed Mar. 26, 1999, each incorporated herein by reference. The application also relates to Utility patent application Ser. No. 09/404,292, filed on Sep. 23, 1999 (the same date as the 09/404,291 application) (now U.S. Pat. No. 7,197,156) entitled "Method and apparatus for embedding auxiliary information within original data" by the same inventor of this application, Kenneth L. Levy, incorporated herein by reference.
FIELD OF THE INVENTION
 This disclosure relates to the field of signal processing, and more specifically, to techniques for hiding auxiliary information within original data.
 There are many techniques for embedding auxiliary information within original data, also known as watermarking or steganography. The original data consists of perceivable media, such as audio, video, stills, etc. It is usually desirable for the embedded data to be non-perceivable, but some content degradation may be okay for some configurations. Several good algorithms have increased the embedded data's ability to resist tampering and removal. One current use of embedded data in media is to include copy management information within the embedded data. Unfortunately, with copy management schemes presented in the prior art, if embedded copy management information is removed the original data is susceptible to illegal distribution.
 Embedded data techniques are susceptible to removal of auxiliary information for either of the following reasons. First, the very nature of embedded data is incompatible with bit-rate reducing (a.k.a. compression) schemes, which remove the non-perceivable aspects of the data such as done with MPEG compression. Since a key feature of any embedded data is the fact that it is non-perceivable, compression schemes will act to remove the embedded data. Even if the embedded data is designed to survive the current compression technology, the next generation technology will probably remove it. Bit-rate compression schemes are very important in the digital distribution of media, and receiving much research. Second, noise reduction techniques will be able to remove embedded data. Noise reduction techniques are a hot topic, and used to restore old recordings. Since most non-perceivable embedded data is similar to noise, it will be removed by these noise reduction techniques. Again, even if the embedded data is designed to survive the current restoration technology, the next generation technology will probably remove it.
 It is an object of this disclosure is to increase the robustness of embedded data to attack. Attack is defined as getting around what the embedded data is supposed to provide or prevent. Attack may include duplication, which is defined as being able to replicate or impersonate the embedded data from one data segment to another. Attack may also include modification, which is defined as changing the embedded data for a desired affect, such as from "no copying" to "copying allowed".
 This disclosure includes two preferred embodiments describing novel ways of using embedded data such that the embedded data is more robust to attack, labeled the enabling and registration process. In addition, multiple preferred embodiments improving the robustness of embedded data to duplication or modification are disclosed, labeled dynamic locking and unlocking.
 The first preferred usage embodiment is the enabling process, which involves using embedded data to enable an action, such as copying, playing or otherwise rendering. Thus, if the embedded data is removed by attack, the end-user has gained nothing because the original data has become unusable. Improvements in this process occur when the embedded data is robust against duplication and modification.
 The second preferred usage embodiment is the registration process, where the recording device embeds its registration in the data. In this embodiment, the recording device can refer to a physical device, such as a CD or DVD burner, or virtual device, such as an MP3 or AAC encoder. This registration process allows any illegal media to be traced back to the original owner assuming that recording devices are registered when purchased. At the very least, the illegal media could be traced back to the specific recording device's place of purchase, providing law enforcement with a good starting point.
 The dynamic locking and unlocking preferred embodiments improve the robustness of existing or future embedded data techniques to duplication and/or modification. Dynamic locking causes the embedded data to be dependent upon the media by including one or both of the following steps. The first step includes modifying the auxiliary information by the media. The second step includes encrypting the auxiliary information, possibly modified in the first step. The encryption technique could be RSA, DES or any appropriate algorithm. After dynamically locking the auxiliary information, it is embedded in the original data. Each step of dynamic locking provides its own independent advantages. However, incorporating both steps produces auxiliary information that cannot be transferred between media, modified, or created.
 The dynamic unlocking process performs the inverse steps, assuming each specific step was performed in the dynamic locking process. The first step involves decrypting the retrieved data. The second step involves unmodifying the output of the first step or the retrieved data directly, depending upon whether the first step was performed, and thus producing the original auxiliary data.
 Five example utilizations of the enabling and dynamic locking process and apparatus are described briefly here and in detail below to aid in the understanding of both processes and apparatus. These utilizations include (1) distribution of compressed media such that it can only be played by the requester's playback device, (2) using the presence of the embedded data to specify copy-once access, (3) protection of DVD media, (4) photo-card validation, and (5) sending secure secret messages.
 In the first example utilization, a media player, such as a computer with MP3 software player, contacts an Internet site to download media, such as a song in MP3 format. The player sends its unique identifier to the Internet site, where the identifier is modified using the original data and the result is encrypted. The modified and encrypted identifier is then embedded in the original data, and the combined data is downloaded to the player. The media player is able to extract the identifier from the combined data, and compare it to its own identifier. If these identifiers are identical and any additional information, such as a date limit, is verified, the player will play the data. If the combined data is copied to a second player having a different identifier, the second player will not play the combined data.
 If an unauthorized person were able to determine the identifier, he could then embed it in other songs and play them on his player. By encrypting the identifier, an unauthorized person would be unable to determine the identifier, even if he were able to extract the auxiliary data from the combined data. In addition, if the process did not include modifying the auxiliary information with the original information, the embedded data could be copied between media. Finally, the encryption key also requires proper handling, and the identifier may include additional information besides the player identifier.
 An example of the second utilization includes, rather than a unique identifier, a predefined copy code such as "allow no copying", "allow copying one time, but not copying of a copy", and "allow unlimited copying". The recorder would retrieve the copy code and not copy unless permitted by the code. The copy would either contain no "allow copying one time . . . " bode, or contain an "allow no copying" code. For broadcasts, both the player and the broadcast unit would know the code beforehand (i.e. predefined) or the code would be included in the broadcast.
 In the third example utilization, two approaches are described. In the first approach, a DVD player will not play the DVD without retrieving the predefined identifier embedded in the original data. For extra security the identifier could be encrypted with a key located at a central database or in a section of the DVD not available for copy. In the second approach, the identifier could control the number of generation of copies allowed, noting that if no identifier exists, no copies can be made. Or, there could be two layered identifiers for both types of copy management.
 The fourth example utilization involves embedding secure data in the picture of a photo-card, as in a photo used for identification purposes like a driver's license or credit card. If the retrieved information at the photo-card reader does not match that of the central database, the card is a fake and will not be authorized for use. Note that the information and key exchange must be securely transmitted.
 The fifth example utilization allows the secure transmission of secret information, hidden in the media. Most bystanders will not know the secret message is attached. If found, the hidden information cannot be read by, modified by, and/or transferred to other media by an imposter when the embedded data is dependent upon the media and encrypted. Different types of encryption, symmetric or public/private key, can be used for creating the desired protection or authentication of the embedded data. This hidden information enables a person or machine on the receiving side to perform an action.
 The apparatus for these processes involves a logic processor, possibly including DSP chips, host CPUs or custom analog or digital circuitry, and memory. The configuration and machine code for this technology are easily designed given this disclosure and familiarity with the state of the art in cryptology and electrical engineering.
BRIEF DESCRIPTION OF THE DRAWINGS
 FIG. 1 shows the block diagram for the enabling process.
 FIG. 2 shows the block diagram for the registration process.
 FIG. 3 demonstrates the way in which dynamic locking blocks the duplication of the auxiliary data.
 FIG. 4 displays the input and output for an exclusive-or (XOR) function.
 FIG. 5A displays an overview of the process of dynamic locking and embedding of the auxiliary data.
 FIG. 5B displays an overview of the process of retrieving and dynamic unlocking of the auxiliary data.
 FIG. 6A shows the modification step of dynamic locking for locally masked embedded data.
 FIG. 6B shows the modification step of dynamic locking for pulse width modified (PWM) embedded data.
 FIG. 6C shows the modification step of dynamic locking for embodiments based upon PN sequences. Auxiliary data is abbreviated as aux.
 FIG. 7A displays the pseudocode in the form of a flowchart for locking and embedding the auxiliary data using header blocks.
 FIG. 7B displays the pseudocode in the form of a flowchart for retrieving and unlocking the auxiliary data using header blocks.
 FIG. 8 shows the basic process behind the example utilizations. The dotted boxes are optional. The dashed boxes group similar items. In addition, although three key locations are shown, usually only one key is used and its location depends upon the utilization requirements. Finally, the abbreviation ID is used and many times refers to an identifier, but can also refer to any auxiliary information.
 FIG. 9 shows the apparatus for these robust data embedding techniques.
 FIG. 10A shows an embodiment of the apparatus of FIG. 9 for dynamic locking.
 FIG. 10B is a block diagram showing an embodiment of the apparatus of FIG. 9 for dynamic unlocking.
 We begin with some definitions. Media or content includes, but is not limited to, audio, video, still images, combinations of the above, and forms related to other senses. The terms media and content are used interchangeably. Media does not refer to a storage medium. A media or content segment includes, but is not limited to, a song, part of a song, movie, part of a movie, part or all of a sound track, part or all of a still image, a taste, touch, and an odor. Original data is the raw, unprotected data. The auxiliary information refers to any data that is to be embedded in the original data. The ID 140 in FIG. 8 refers to this auxiliary information, and may include but is not limited to, information such as the player ID, number of copies allowed, usage time or date limits, and content enhancement information such as author, copyright, publisher, song lyrics or image details. The embedded data is the data that is actually embedded in the original data. The embedded data differs from the auxiliary data by the transformation used in the embedding process. This transformation can include the modifying process and/or encryption involved in dynamic locking, and the embedding process such as bit manipulations, pulse-width modulation, or spreading with frequency transformation or pseudo-random noise sequence. The combined data results from adding the embedded data to the original data. Robustness to attack is defined as getting around what the embedded data is supposed to provide or prevent. Finally, a pirate is a person who tries to illegally obtain the data or use the protected device.
 FIG. 1 demonstrates the enabling process, which is the first preferred usage embodiment of the disclosure. This process requires using a logic processor 900 and memory 910, as shown in FIG. 9. First, as shown in box 10, processor 900 retrieves the auxiliary data from the combined data 5 and stores it in memory 910. Then, processor 900 determines whether the embedded data allows the desired action, as shown in box 20. If so, the desired action is allowed, as shown in box 30. If not, the desired action is disallowed, as shown in box 40.
 FIG. 2 demonstrates the registration process, which is the second preferred usage embodiment. This process involves assigning a unique registration code 305 to each recording device 300, and embedding the registration code 305 into the media when it is recorded, as shown in box 310. Then, when illegal media is found in an open-market 320, it can be traced to the owner of the recording device via the registration code 305, as shown in box 330.
 The process is similar to gun registration assuming the recording device is registered upon purchase. At the very least, the illegal media could be traced back to the recording device and its place of purchase, thus aiding law enforcement.
 This recording device may be a physical device or virtual device. A physical device could include a CD or DVD burner. A virtual device could include a software program using processor 900 and memory 910 to digitally compress (bit rate reduce) audio, such as a MP3 ripper or AAC encoder. Remember that media refers to the perceived data and not the storage medium.
 FIG. 3 displays the way in which dynamic locking blocks the duplication of the auxiliary data. Duplication is blocked for both bit-for-bit copying of the embedded data between content, and retrieving the embedded information, and re-embedding it into different content, such that the different content appears authentic.
 Specifically, when only modifying the auxiliary information, a pirate will not be able to move the embedded data from one media segment to another without figuring out how to correctly unmodify and re-modify the embedded data. When only encrypting the auxiliary information, a pirate will not be able to obtain the auxiliary information. The pirate will be able to retrieve the embedded data, but not decipher it since it is encrypted. When both steps, the auxiliary information cannot be moved from one media segment to another. If it is moved directly, the modification step of dynamic locking causes the embedded data in the new media to be incorrectly unmodified because the values in the new media segment used for unmodifying the retrieved data don't match the values in the original media where the data was modified. If the pirate tries to unmodify and re-modify the embedded data (since the details of this step may be known), he/she must first have the key to decrypt the data in order to move it to new media segment.
 FIG. 4 displays the input and output for the exclusive-or function (XOR). The XOR is its own inverse and extremely efficient.
 FIG. 5A displays an overview of the dynamic locking and embedding process. The whole process contains three steps, but either one (not both) of the first two steps, i.e. those steps of dynamic locking, can be skipped. However, when both dynamic locking steps are performed the difficulty in duplicating the data is improved. In addition, the order of the last two steps can be switched. This switch is beneficial when the content, including the embedded data, is encrypted, usually for other content protection reasons, or when the modification step has some of the desirable features such as requiring a key to be unmodified.
 In the first step, box 600, the auxiliary data (d), which is to be embedded, is modified based upon the original content (c). This step is designed to modify the auxiliary data to be dependent upon the original content such that the embedded data cannot be copied bit-for-bit between content. The chosen content bits should be critical to the content, such that they cannot be changed in new content to make it appear authentic. A desirable function is the exclusive-or (XOR) operator since this function is its own inverse and efficiently implemented on digital processors.
 In the second step, box 610, the modified data is encrypted such that the original auxiliary bits cannot be obtained from the embedded data. Thus, the original auxiliary bits cannot be re-embedded in different content, making this different content appear authentic. If the auxiliary data is not modified by the original content before being encrypted, it could be copied bit-for-bit from the original content to new content making the new content appear authentic. Any existing or future methods of encryption, including DES and RSA, can be used, with known methods of key management, all of which is well described in the prior-art.
 In the third step, box 620, the encrypted and modified (labeled dynamically locked) auxiliary data is embedded into the original content.
 FIG. 5B displays an overview of the process used to retrieve and dynamically unlock the auxiliary data. The whole process contains three steps, and each step should only be performed if the corresponding step was performed when the data was embedded. In addition, if the order of the last two steps was switched while embedding, these two corresponding steps should be switched during this retrieval process.
 In the first step, box 630, the embedded data is retrieved from the content. At this time, the embedded data consists of encrypted and modified auxiliary data (assuming both dynamic locking steps were performed). In the second step, box 640, the retrieved data is decrypted. In the third step, box 650, the output of step two is unmodified. The result is the original auxiliary data.
 In addition, dynamic locking and unlocking can use correlated data. Correlated data may include information such as song lyrics or the address of the person in a photographic identification card.
 FIG. 6 shows several example implementations of the modification part of dynamic locking and unlocking when data is embedded such that it will not be perceived (i.e. watermarking). Although, only the modification part is shown in FIG. 6, the modified auxiliary information may be encrypted before being embedded and decrypted after being retrieved (but before being unmodified), if desired. In addition, the modification of the auxiliary information may be skipped, and the auxiliary information may be only encrypted before being embedded and decrypted after being retrieved. The cryptology process is not discussed in detail since someone familiar with the state of the art easily understands its implementation.
 FIG. 6A shows dynamic locking and unlocking as applied to a utility patent application "Method and apparatus for embedding auxiliary information within original data" filed simultaneously with this application on Sep. 23, 1999 by the same author, Kenneth Levy, incorporated herein by reference. For dynamic locking, the peak value, box 200, or threshold crossing value, is used in the exclusive-or (XOR) calculation to modify the next N auxiliary information bits, where N is the number of bits per sample in the data (such as 16 bits for CD audio). Then, these modified N bits of the auxiliary information are optionally encrypted and embedded by the method described in the reference patent-pending application using locally masked bit manipulations of difference Δ. This process is repeated for the next group of N peaks, and so on, until the whole modified auxiliary information is embedded or all the original data has been used with modified auxiliary information being repetitively embedded.
 The embedded data can be retrieved using the process described in the referenced patent application, decrypted (if required), and unmodified. The unmodifying process is the inverse of the modifying process. Since the XOR function is its own inverse, the peak values of the combined data and the decrypted auxiliary information are applied to the XOR function. Importantly, the peak values are identical to those of the original data since they were not changed during the embedding process.
 For example, when using CD-audio, N is 16 bits. Thus, for this example, the first 16 bits of the auxiliary information are modified by the first peak value using the XOR. Then, these modified auxiliary information bits are optionally encrypted and embedded in the data points after the current peak and the next 15 peaks. This process is repeated for the following group of 16 peaks and auxiliary information bits, and so on, until all the data is embedded or all the original data has been used. The modified and optionally encrypted auxiliary information can be embedded over an over again within the data, by restarting the process with the first 16 bits of the auxiliary information after all of the bits have been embedded.
 The embedded data can be retrieved, decrypted (if encrypted), and unmodified with the inverse of the XOR calculation, which is an XOR calculation. Thus, the first original 16 bits of the auxiliary information can be obtained by performing the XOR calculation with the retrieved and decrypted embedded data and first peak value. The retrieving process is continued for the next group of 16 peaks of the combined and embedded data, and so on, until the whole auxiliary information is found or all of the combined data has been traversed.
 It is very important to keep proper track of the position of the groups of 16 bits in the auxiliary information when modifying for embedding, and unmodifying after retrieving.
 The related patent application also allows sync pulses in the combined data. These sync pulses can be used to align the auxiliary information with the value used in modifying the auxiliary information. For example, rather than embedding data after the peak used to modify the auxiliary information, a sync pulse could be embedded and used for re-alignment during the retrieval process.
 FIG. 6B shows dynamic locking and unlocking as applied to U.S. Pat. No. 5,774,452 "Apparatus and method for encoding and decoding information in audio signals" by Jack Wolosewicz of iris Technologies, incorporated herein by reference. For this case, the data values occurring previously in time to the embedding of the pulse-width modulated (PWM) bit stream and shown in box 220, could be used in an XOR operation with auxiliary information to modify and unmodify the embedded data. In this case, several data values would need to be used to modify all of the auxiliary information. For example, when using 16 bit data and embedding 256 bits of auxiliary information, the dynamic locking and unlocking process would use the previous 16 original data points to modify all of the auxiliary information. As long as the data is received in the same order as it was embedded, it does not matter if the data values used to modify the auxiliary information overlap with the previous embedded bit stream. If one finds a configuration where the above does matter, it can easily be handled by skipping the second embedded bit stream and marking it as skipped in the combined data.
 FIG. 6C shows an overview of applying dynamic locking and unlocking to embedded data schemes based upon pseudo-random noise (PN) sequences. In one embodiment, the PN sequence could skip the Mth data point, as shown in boxes 250 and 270, where M is equal to the number of bits per sample in the data (N) times the length in bits of PN sequence segment applied to each auxiliary information bit. This Mth data point would be used in an XOR operation with b bits of the auxiliary information to modify the auxiliary information. For example, let's assume each auxiliary information bit is embedded with a 1024 bit segment of the PN sequence in 16 bit audio and the auxiliary information is 64 bits long. Then, after adding the PN sequence to 16384 (M=1024 bit PN segment*16 bit audio) bits of original data, another original data point is skipped to modify the auxiliary information. It will take 4 (64 bit auxiliary information/16 bit audio) of these segments to embed each auxiliary information. Equivalently, 4 adjacent original data points could be skipped every 65536 (1024 bit PN segment*16 bit audio*4 PN segments) original data points and embed the whole modified auxiliary information in one continuous stream of four PN segments.
 This modified and optionally encrypted auxiliary information will be used to control the fashion in which the PN sequence is added to the original data, as well known in the state of the art of spread spectrum technology. Specifically, in many applications, the PN sequence will be phase shifted by the modified auxiliary information (i.e. where 0 scales and adds the negative value of the PN sequence and 1 scales and adds the positive value) or simply multiplied by the auxiliary information. Once retrieved, the modified auxiliary information could be unmodified using the inverse XOR calculation with the skipped data point.
 Another embodiment for PN sequences is using the skipped data point to modify the next N bits of the PN sequence, not the auxiliary information. If one point is skipped, the number of PN bits modified, M, should be equal to N, the number of bits in the data. If two points are skipped, M is equal to 2*N, and so on. Modifying the PN sequence using an XOR calculation and optional encryption is one scheme. However, this may reduce the randomness of the PN sequence, and other modification functions can be employed to maintain randomness. Finally, the modified and optionally encrypted PN sequence is embedded in the media data and used to retrieve the embedded data.
 In a final implementation of dynamic locking, it is applied to embedding methods that use PN sequences to determine where to place the auxiliary information in the original data, possibly after being transformed into the frequency domain. Such methods include that of U.S. Pat. Nos. 5,613,004 and 5,687,236 "Steganographic method and device" by Marc Cooperman and Scott Moskowitz of the Dice Company, incorporated herein by reference, and patent-pending technology of AT&T labs (Lacy J, Quackenbush S R, Reibman A R, Shur D, Snyder J H. (1998) "On combining watermarking with perceptual coding." ICASSP'98 Seattle, Wash.), incorporated herein by reference. For these methods, the PN sequence used to embed the data could be required to never have more than N continuous embed bits and start with a non-embed bit, where N is again the number of bits per sample in the original data. Then, the original data point adjacent and previous to the first embed bit modifies the next N bits of the auxiliary information. This process may be repeated until all the original data is embedded, such that the modified auxiliary information is embedded repetitively. For example, when embedding in the frequency domain from low to high frequency with 16 bit data and a 32 bit auxiliary information, the non-embed bit in the frequency bin just below first embed bit is used to modify the next 16 auxiliary information bits. Then, the non-embed bit in the frequency bin just below the 17th embed bit is used to modify the next 16 auxiliary information bits. Next, the non-embed bit in the frequency bin just below the 33rd embed bit is used to modify the first 16 auxiliary information bits, and so on.
 In a similar scheme, the PN sequence could be applied to every other or kth (where k<N bits per sample in original data) data point, such that no limitations need be applied to the PN sequence. The process guarantees to have a non-embed bit next to the Nth embed bit, and is implemented is similar fashion the previous method.
 For all these methods of dynamic locking using PN sequences, the dynamic unlocking process is the inverse and obvious to a person familiar with the art given the previous disclosure.
 FIG. 7 demonstrates applying dynamic locking and unlocking to data embedded in header, not content, data. FIG. 7A displays the pseudo-code for the dynamic locking process. In general, the auxiliary data bits, of length L, are locked and placed in the header of frames of the content and repetitively embedded.
 Specifically, the process of FIG. 7A starts at the beginning of the content bits (box 700) and auxiliary data bits (box 705). Then, L auxiliary data bits are locked by being modified with L bits of the content using the XOR or applicable function, and/or encrypted (box 735). These L content bits should be critical to the either or both file format and content, such that they cannot be replicated in a different media segment without disturbing it. Next, M bits of locked auxiliary data are embedded in the frame header (box 710). These M bits should be less than L, and preferably L is divisible by M, such that the L bits are embedded in L/M frame headers. If L is not divisible by M, a person familiar with the state of the art can easily handle the offset. Then, the content is checked to see if more frames exist (box 715). If there are no content frames left, the process is completed (box 730). If there are more content frames, the auxiliary data is checked to see if any previously modified bits exist (box 720). If there are previously modified auxiliary bits left, the next frame is read (box 725), and the process is continued at box 710. If there are no previously modified auxiliary bits left, the next content frame is read (box 740), the auxiliary data is re-started at bit 0 (box 705), and the process is continued at box 710.
 This process assumes the auxiliary information is of length L and L is reasonably short for ease of explanation. It is obvious that if you have a very large number of auxiliary bits, you can break them into segments of length L, and rather than starting at the first auxiliary bit each time, start at the kth segment. To this end, the auxiliary bits are embedded within the data, broken into segments of length L and each segment is embedded in L/M frame headers.
 To increase robustness to attack, a pseudo-random noise (PN) bit sequence could be used and the first N critical content bits with a corresponding PN bit value of 1 could be used for modifying the auxiliary information.
 Alternatively, only the first important M content bits in each frame, rather than L bits every L/M frames, are used in the XOR calculation when embedding M locked auxiliary data bits in each frame. In this case, the auxiliary data bits are modified in each frame, specifically, between boxes 725 and 710 in FIG. 7A. Once again, a PN sequence could be used to randomize which M bits of original audio are used. Importantly, M must be large enough so that error correction in new content cannot repair all the content bits that need to be changed, such that a bit-for-bit transfer of the auxiliary data makes the new content appear authentic. The value of M depends upon the frame size and desired bit rate.
 When using compressed content, such as MPEG data, specifically Layer III (MP3) or AAC audio as specified in the MPEG2 specifications, including the MPEG 1 and 2 specifications, ISO 11172-3 and ISO 13818-7 respectively, herein by reference, the frames and header bits are pre-defined. The private, copyright, or ancillary bits can thus be used to embed the data. When using content without pre-defined frames, such as in raw PCM audio, databases, or software applications, the frames can simply be created. For example, the content could be arbitrarily divided into 1024 bit frames with header bits for the embedded data.
 Alternatively, the locked auxiliary data could be placed only in the global header, defined as the header for the complete file, or in a linked but separate file. These two cases are less secure than embedding the data throughout the file. More bits mean the data will be more robust to attack via brute force. For broadcast content, the data should be embedded throughout the content as described above so the rendering device or person can receive the auxiliary information and respond accordingly from any point in the broadcast.
 FIG. 7B displays the pseudo-code for the retrieval and dynamic unlocking process for the auxiliary data embedded in FIG. 7A. In general, the auxiliary data bits are retrieved by reading them from the header of the content frames and unlocking them, in a repetitive manner.
 Specifically, the process of FIG. 7B starts at the beginning of the content bits (box 750) and auxiliary data bits (box 755). Then, N content bits are saved, such as in memory 910 of FIG. 9, so they can be used to unlock the next N retrieved auxiliary data (box 785). Next, M bits of locked auxiliary data are read from the frame header (box 760). Then, the content is checked for existing frames (box 765). If there are no content frames left, the process is completed (box 780). If there are content frames left, the auxiliary data bits are checked to see any exist (box 770). If there are auxiliary bits left, the next frame is read (box 775), and the process is continued at box 760. If there are no auxiliary bits left, the retrieved auxiliary data is unlocked (box 790), the next frame is read (box 795), the auxiliary data is re-started at bit 0 (box 755), another N content bits are saved (box 785) and the process is continued at box 760.
 For this example, unlocking the retrieved embedded data (box 790) involves performing an XOR operation (since it is its own inverse) on the N content bits that were saved in box 785 and the last N retrieved embedded data bits, and decrypting, if required. In addition, since the data is repetitively embedded in each frame, the retrieving process must overlay the auxiliary data bits after the last bit as received (box 790) and make sure the auxiliary data bits do not change throughout the file. If the auxiliary data bits change throughout the file, the file is not authentic.
 Alternatively, if another modification function was used, its inverse should be used. Importantly, the same retrieved auxiliary bits and original content bits should be used in the inverse calculation as were used in the modifying calculation. For the embedding example where the first M audio bits of the frame were used to modify the auxiliary data, the first M audio bits of the frame should be used to unmodify the modified auxiliary data, which was retrieved and decrypted. If a PN sequence was used to modify the auxiliary data, the same PN sequence should be used to unmodify the data.
 If an alternative embedding step was used, the auxiliary bits are retrieved accordingly. For example, if bits are embedded in the global header or linked file, the are read from the global header or linked file, respectively.
 Finally, the appropriate steps should be taken if the auxiliary data is longer than L or L is not divisible by M. These steps are obvious to a person familiar with the state of the art given the above explanations about dynamic locking and unlocking.
 These five example utilizations are described to aid in understanding the enabling and dynamic locking process and apparatus. The general underlying process for these examples is displayed in FIG. 8 and the corresponding apparatus shown in FIGS. 9 and 10. The process, in general, begins with a sending device 100, dynamically locking an ID 140 as shown in box 110, and embedding the locked ID within the media as shown in box 120. Remember, as defined at the beginning of this section, the term ID usually refers to an identifier, but can include any auxiliary information. The sending device 100 may be an encoder, recorder, transmitter, storage medium, or the like.
 The media is then transmitted to a receiving device 130 in which the locked ID is retrieved as shown in box 160, and dynamically unlocked as shown in box 170. Then, the proper action is enabled if allowed by the retrieved ID 140, as shown in box 180. The receiving device 130 may be a decoder, player, recorder, and/or the like.
 When the dynamic locking and unlocking processes include encryption and decryption, the encryption key must be located somewhere and transmitted safely, as shown in boxes 151, 152, and 153. Transmitting the key safely is well understood by one familiar with the state of the art in cryptology. The location of the key depends upon the requirements of the utilization. The five utilizations demonstrate various key locations. For most utilizations, the key will be available only in one of the three possible locations. In addition, the encryption and decryption key will usually be identical (symmetric), and referred to as the encryption key in the discussion below. However, public/private key encryption could also be used in many of these situations. When discussing private/public encryption below the key will be specified as the public or private encryption key. Finally, certain utilizations may not need to transmit the auxiliary information since the values are predefined.
 In addition, the use and location of ID 140, the types of sending devices 100 and receiving devices 130 are also explained in more detail in these example utilizations.
 The five example utilizations include distribution of MP3 data, copy-once access to broadcast data, DVD copy protection, photo-card verification, and secret data transmission. From these explanations, many more utilizations are obvious.
 Regarding distribution of MP3 data, the concept is explained using several scenarios. All scenarios include both a software PC-based and portable MP3 audio player, and distribution via the Internet.
 In the first scenario, the MP3 data exists on the Internet and is purchased by an end-user. The delivery system interacts with the end-user's player, securely transmitting ID 140 and the encryption key, shown in box 151, from the receiving device to the sending device, and dynamically locking, including encryption, the ID 140 in the MP3 data. In this scenario, the encryption key, shown in box 151, is located on the end-user's player. After the MP3 file is delivered (i.e. downloaded) only the end-user's player can play the data since other players will have different IDs. A portable and PC-based player may share the ID 140, and this is easily implemented by a software program and current digital electronics, such as EPROM or flash memory. Since the ID 140 is dynamically locked the end-user cannot extract the ID 140 and use it in another song or MP3 file.
 In another scenario, the MP3 encoder and player may be part of one software program, which transforms CD, DVD or broadcast audio into MP3 audio with the embedded data containing the dynamically locked, including encryption, ID 140. In such an example, there is no need for the exchange of an encryption key, as displayed in box 151, and ID 140. The software applications should be programmed such that the key and ID 140 are protected from the end-user, as well known in the state of the art in software. Again, the key, shown in box 151, is located within the end-user's player. The transformed MP3 audio is now only playable on the end-user's system and/or portable player, and it is not possible to move the ID 140 to another song as described above.
 In yet another scenario, the key could be located in a central database, as shown in box 152. This configuration allows a different key for each player and MP3 audio sample. This configuration increases robustness to attack since new keys are used for each song, but involves extra management tools and responsibilities.
 In a final scenario for MP3 audio, the ID 140 could contain time limits for listening to the audio or a date limit that, when exceeded, the audio will not play. The player will keep track of how many times the song has been played or whether the date has expired. The ID 140 could contain a demo code, which does not limit the song to one player.
 Regarding copy-once access (defined as allowing an end-user to copy the media only once, perhaps for time shifting purposes), the concept is explained in terms of the broadcast of a movie. With broadcast media, it is best if everyone shares the same encryption key. The key, as shown in box 153, could be broadcast embedded in the movie, and changed for each broadcast. In addition, if the embedded data is not encrypted, there is no need for a key, thus simplifying transmission. Finally, the copy-once ID 140 will be predefined, meaning that it is already defined in the transmitting and receiving device, as shown in FIG. 8 where ID 140 has an optional location in the transmitting device. Once the broadcast is received and the retrieved ID 140 enables the data to be recorded, the recorder can record the movie and either remove the copy-once ID 140 or change the ID 140 to a predefined code that informs other recorders that the media has been copied once.
 Regarding DVD copy protection, there are two scenarios. In the first scenario, the player will not play the media unless the embedded ID enables the action. The encryption key, as shown in box 153, is be included on the DVD in a non-copy access location. This means the user will be able to play the media only when the DVD disk is present since the player will not play the DVD data without retrieving the correct ID. A copy of the entire DVD (minus the encryption key since it is unable to be copied) or a copy of a content file will be unusable since the key to decrypt the embedded data will not be found and without it the player will not work.
 In addition, the key could be located in a centrally accessible database, and possibly linked to the requesting end-user player, as shown in box 152. This configuration increases robustness to attack since access to the key is monitored, but includes extra management responsibilities for the content provider and additional time for the end-user. The key could also be purchased and encrypted by the key in your player as described in patent-pending technology by Paul Schneck (incorporated herein by reference). Once again, the ID 140 will be predefined, and exist in the sending device 100.
 In a different scenario, the predefined ID 140 could be used to enable the recorder, and allow a certain number of copy generations, or a copy of only the original, known as serial copy management. ID 140 could be modified to allow one less recording generation each time the DVD is recorded. Possibly through keeping track of the recorded generation and originally allowed count or by reducing the allowed count. For serial copy management, the watermark could be removed in the second generation DVD. Remember that in this approach if the watermark does not exist, no copies can be made. Finally, there could be two-layered ID 140s for both types of copy management.
 The photo-card utilization example involves having the picture in the photo-card embedded with the ID 140. If the correct information is not present, the card is a fake and will not be authorized for use. To increase the security of the method dynamic locking is applied; the ID 140 is reversibly modified by the photograph or connected data such as the corresponding name and address, and encrypted, such that the information cannot be copied between cards or from a legitimate card to an illegal card. The matching ID 140 and encryption key can be stored at a database only accessible by every sending device (i.e. in the sending device) and securely transmitted between the database and the photo-card reading device, such as using RSA key exchange or any other method known in the state of the art of cryptology. Besides being as secure as other cryptology techniques, another advantage of this process is that it requires transmission of minimal data, including the short ID 140 and encryption key.
 The last example utilization allows the secure transmission of secret information in ID 140, hidden in the media. Most bystanders will not know the secret message is attached. Once the receiving device extracts the hidden message, the receiving device, a connected device, or a human will be enabled by the hidden information contained in ID 140. If found, the hidden information can be protected from being moved to other media segments and/or interpreted by using dynamic locking with various encryption schemes. For example, if the secret information is encrypted with your public key, only you can recover it. Or if it is encrypted with your private key, people or devices receiving the message using your public key know it was signed by you and is authentic. If it is encrypted with a symmetric key, only the holders of the key could have created and read the message. Finally, if the modification step of dynamic locking is used, the receiver knows the message was not transferred from a different media segment.
 FIG. 9 shows the hardware apparatus required to implement the enabling, registration, and dynamic locking processes. The hardware includes a logic processor 900 and memory 910. The logic processor 900 may be defined as the equivalent of a digital signal processor (DSP), general-purpose central processing unit (CPU), or a specialized ASIC chip. A likely DSP chip is one of the Texas Instruments TMS320 product line. A CPU could include one of Intel's Pentium line or Motorola/IBM's PowerPC product line. The design is straightforward for someone familiar with the state of the art given the description of these processes. The memory 910 includes any type of memory.
 FIG. 10A shows more detail of the apparatus for dynamic locking. Specifically, the logic processor 900 and memory 910 must work together to act as the modifier 1010 and encrypter 1040. Modifier 1010 performs the modification step of dynamic locking. Encrypter 1040 performs the encryption step of dynamic locking.
 FIG. 10B shows more detail of the apparatus for dynamic unlocking. Specifically, the logic processor 900 and memory 910 must work together to act as the decrypter 1045 and the unmodifier 1015. The decrypter 1045 performs the decryption step of dynamic unlocking. The unmodifier 1015 performs the unmodifying step of dynamic unlocking. The unmodifier 1015 and decrypter 1045 of dynamic unlocking may use the same or different circuitry as the modifier 1010 and encrypter 1040 of dynamic locking. However, when using the same circuitry, the dynamic locking and unlocking processes would use different control programs.
CONCLUSIONS, RAMIFICATIONS AND SCOPE
 In summary, the main advantage of this technology is that it increases robustness of the embedded data. The foregoing descriptions of the preferred embodiments of the disclosure have been presented to teach those skilled in the art how to best utilize the technology. Many modifications and variations are possible in light of the above teaching. For example, the method in which the auxiliary information is dynamically locked can easily be adapted and fall within the scope of this disclosure. In addition, applying the enabling concept to alternative data configurations is an obvious extension of the description above. To this end, the following claims define the scope and spirit of the presently claimed invention.
Patent applications by Kenneth L. Levy, Stevenson, WA US
Patent applications in class APPLICATIONS
Patent applications in all subclasses APPLICATIONS