# Patent

## Title
Method of altering a software product in response to predetermined events

## Abstract

Software lineages arise through purchase and reproduction. Lineages are tracked by storing lineage-relevant information in variable regions of software instances and/or in a central database according to methods disclosed.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
This application is a continuation of U.S. patent application Ser. No. 09/764,293, filed on Jan. 19, 2001, which is a continuation of U.S. patent application Ser. No. 08/631,411, filed on Apr. 12, 1996 now U.S. Pat. No. 6,266,654, which is a continuation-in-part of U.S. patent application Ser. No. 07/990,455 filed Dec. 15, 1992, now U.S. Pat. No. 5,509,070.


BACKGROUND OF THE INVENTION
1. Field of the Invention
We disclose a system whereby software piracy can be deterred while copying and purchasing can be encouraged. User to user copying plays an important positive role in the present system, and in the shareware industry, and as “piracy” it plays an important negative role in other shareware- and internet-based marketing schemes. The present invention discloses methods whereby software copying and purchasing can be tracked, studied, and rewarded, and methods whereby software lineages can become adapted to their environments.
2. Introduction
In an increasingly wired world, software can be reproduced and distributed worldwide, in minutes, and at little cost. For intellectual property vendors, these economies are problematic: freely copyable software typically gives customers little incentive for payment, and it positions piracy as the path of least resistance.
We disclose here a method for piracy prevention and purchase encouragement without loss of copyability. The system gives vendors round-the-clock and round-the-globe vending and fulfillment services, as well as secondary and tertiary sales from copied software. And the system gives users convenient access to digital products which might otherwise be less readily available, lets them try before buying, provides incentives for purchasing, and rewards them with increased benefits minutes after they decide to buy.
As disclosed, the basic idea is to “lock” selected features of a digital product such that the password required to access those features is unique to a particular product and context, and such that the password can be instantly and conveniently purchased and acquired by telephone, email, modem, etc. Users can thus evaluate locked products in their still-locked “demo mode” and unlock them in minutes. Vendors can encourage customers to pass copies on to other potential customers, because when the context changes, SoftLocked products automatically revert to demo mode.
Using this system, intellectual property owners can allow their products to be freely redistributed without losing control over their conditions of use, and without foregoing the ability to demand and receive fair compensation.
The Importance of Reproduction
The dynamics, “flow,” and reproduction of software through the information marketplace is not well understood, in part because it is difficult to study. Yet it is of significant economic and scientific importance. User-to-user copying, software reproduction, “Pass-along”, etc., plays an important positive role in our system, and in other shareware- and internet-based marketing schemes. Unauthorized software reproduction (“piracy”) costs software producers billions of dollars annually, and discourages the release of other digital properties. More generally, social scientists have long recognized that the spread and evolution of reproducible patterns of information (variously known as “memes”, “culturgens”, etc.) is the very essence of culture and cultural evolution. The internet is a recent and arguably revolutionary new arena in which such processes occur with unprecedented speed; methods for investigating and exploiting this new information ecology are therefore sorely needed.
Software marketing, and the study of the information economy would also be greatly enhanced by a system which tracked the flow of copies from person to person and from computer to computer. The ability to track “chains of copying” would aid the investigation of suspected piracy, the study of data flow through unregulated and/or unmonitored digital systems, and auditing of service providers, the exploration of marketing and advertising strategies, and the implementation of multi-level marketing schemes which pay commissions to individuals whose copying and distribution efforts result in increased sales, etc.
It is not difficult to imagine that a piece of software could track its own “travels” from person to person and from computer to computer, for as used here “software” refers either to executable programs into which self-tracking algorithms and technologies might be embedded, or data documents designed for processing by an executable programs, into which self-tracking algorithms and technologies might be embedded.
SUMMARY OF THE INVENTION
The present invention discloses a number of suitable self-tracking algorithms and technologies by which one might determine of a product's “chain of copying,” “lineage”, or “pedigree” within and between processing devices and information networks.
As implied by the terms “lineage” and “pedigree”, the reproduction and distribution of software in information networks is similar to the reproduction and spread of organisms in nature. “Computer viruses” are so-called precisely because of this similarity. The present invention exploits and extends this similarity. As will be disclosed below, it solves the problem of tracking, allows digital products to more fully exploit the “darwinian” potential of the information marketplace, and has other applications. To lay the groundwork, some basic concepts of biological systems will now be reviewed.
At a certain level of abstraction, biological reproduction is digital copying: the genetic code is in fact a digital system, and gene pools, species, and ecosystems are in fact highly-evolved networks which support the copying and spread of these codes. In biological parlance, the “genome” is the encoding of a single organism's complete genetic makeup. Although genome sizes vary widely from one species to the next, genome size is virtually constant within a given species. In sexually reproducing species, each parent contributes a random half-genome which is recombined to produce the offspring's complete genome. In asexually reproducing organisms, there is no systematic randomization, and a single parent's entire genome is simply replicated in the offspring, albeit with copying errors known as mutations. In both sexual and asexual species, the size of the offspring's genome is therefore the same size as the parents' genome. In both cases too, the content of the offspring's genome (that is, the particular genetic patterns which characterize the individual) is the same as the parents' content except for the randomizing influences of recombination and and/or mutation.
The copying of artificial digital products is most like asexual reproduction insofar as each instance of a program or document (henceforth, “software-instance”) can be copied, and each copy can itself become the basis for a “chain of copying” analogous to a biological lineage. Random variation through copying error is usually guarded against in the world of software, but it can occur, and it can certainly be deigned into artificial system, so disclosed here.
In biology, random genetic variation plays a crucial role in evolution by natural selection, because it produces functional variations in organisms which are transmitted to offspring. These functional variations have influences on success and biological reproduction, which therefore produces differential reproduction of selected genetic variations, which produces adaptive evolution of species, lineages, etc. Similar processes of variation and selection occur in other systems, and are an increasingly important area of research in theoretical and applied computer science. The relevant disciplines are known as “Artificial Life”, “Evolutionary Programming”, “Genetic Algorithms”, “General Evolution Theory”, etc.
Through the study of the genetic sequences in individual genome, biologists have determined that random variation occurs each time reproduction occurs, and that these variations propagate and accumulate though successive generations. By comparing the sequences in one individual with sequences found in other individuals, it is possible to deduce and reconstruct the historical sequence of copying errors which derived those sequences from a common ancestor. The procedures involved are amply documented and widely employed in the scientific literature, so we will only summarize some basic heuristics here.
The degree of similarity between two individuals can be used as an index of the number of copying events which intervene between them. For example, since only one copying event intervenes between parent and offspring, there will be relatively little variation between them, whereas the genomes of more distant relatives tend to be less similar, because many copying events intervene between them. With further assumptions about mutation rate one can estimate the precise number of copying events intervening between two individuals based upon use the degree of genetic dissimilarity between them.
Moreover, because genes can be distinguished by their position within a genome, analysis of the specific patterns of information shared by two individuals provides further clues to the ancestry, or copying history, of those patterns. When an unusual (or less than universal) genetic sequence shows up in two individuals in the same genomic location, it is probable that those individuals share a common ancestor, and that that ancestor bore the same trait. In this way, the genome of the common ancestor can be determined probabilistically.
Finally, by correlating this information with knowledge of confirmed individuals, and through other means, it is possible to reconstruct with a high degree of probability the historical sequence of copying errors which intervened between individuals with similar, but non-identical genomes. The genetic history of a lineage can thus be reconstructed.
Those familiar with biology and biotechnology will know that through methods of the sort sketched above, and through other techniques with similar bases in biology and mathematics, it is possible to reconstruct biological pedigrees with a high degree of accuracy based on very limited samples of populations. The techniques work even though genome size remains constant, and even though the genomes do not contain a systematic record of their own pedigrees.
Although these biological techniques have been developed for the analysis of relatively “messy” biological systems, they can be applied to any system in which idiosyncratic patterns of information accumulate within a reproducing lineage.
We disclose several methods of achieving these ends, and disclose further methods which eliminate the need for retrieval of complete software-instances from the field. Another elaboration will couple the random error mechanism with a mechanism of selection in order to increase the fitness of products to their environment, the usefulness of products to their customers, and the profitability of these products to their creators. Finally, a last elaboration will allow vendors to use the information gathered in order to modify the characteristics of already-released software.
Objects of the Present Invention
One object of the present invention is to provide methods for the tracking of a product's “chain of copying,” “lineage”, or “pedigree”.
Another object of the present invention is to provide a means of rewarding people who redistribute and promote the sale of software.
Another object of the present invention is to increase the similarity between software lineages and biological lineages in order to increase the applicability of certain analytical techniques developed in biology.
Another object of the present invention is to provide a means by which software lineages can adapt automatically to the environments and markets within which they circulate.
Another object of the present invention is to make the evolution of valuable software less dependent upon human oversight and more sensitive to requirements of local niches and markets.
Another object of the present invention is to extend the existing research disciplines of biology, artificial life, and evolutionary computing to the world of information commerce.
Other objects and applications of the present invention will become apparent from the description and discussion which follows.



DESCRIPTION OF THE DRAWING
FIG. 1 shows a diagram of a method for tracking software lineage.



DETAILED DESCRIPTION OF THE INVENTION
Appendation-Based Embodiments
FIG. 1. Shows a “mint copy” of a software-instance such as a computer program or document as initially produced by the software manufacturer. The digital product is subdivided into two portions. The “Stable Portion” of the program contains the highly specific instructions or data which cause the computing device to function as desired by programmer and customer. The “Variable Portion” of the program contains a pattern which can change without significantly affecting the product's basic functioning. In the mint copy, the bits in the Variable Portion may be pre-set to a known pattern (e.g., all 1s).
Under certain circumstances of interest the pattern in the Variable Portion is made to change or “mutate” in the field. In one preferred embodiment, one such circumstance is the purchase and unlocking of a product's advanced features, and that will be an example used repeatedly in this application. It should be understood, however that the moment of product unlocking is only one example of a circumstance to which mutation could be linked under the present invention. Other circumstances which might be interesting for commercial or research purposes are instances of program-activation, instances of copying, and so on. These disclosures thus apply generally to the strage and/or retrieval of lineage-relevant information in Variable Portions of executable programs or digital document, and the methods whereby this information can be used for commerce, research, etc.
Under the present invention, the change in the Variable Portion should be “idiosyncratic”, i.e., the change undergone by two identical software-instances should tend to be distinguisably different, such that the two instances, and their descendants through copying, are distinguishable. It is also important that in the history of a lineage, these changes should accumulate rather than overwrite each other, so the historical sequence of changes can be reconstructed. These requirements can be achieved in many ways, some of which will be disclosed below.
One method of tracking copies utilizing this kind of idiosyncratic information might be called the “Appended History Method”: each time a product is purchased, append to the Variable Portion information about the current context, user, etc. To determine the chain of copying through which a product has passed, retrieve copies of the product from the field, and read the “lineage” of each copy from the cumulative list appended to the product. There are problems with the Appended History Method: (1) potentially confidential customer information would be routinely put in the hands of strangers, (2) the product would soon grow impracticably large as more and more information was appended to it, and (3) copies would need to be retrieved from the field for analysis.
The methods to be disclosed below reduce and, in conjunction with our co-pending invention eliminate, these problem”.
Software is often comprised of one or more “files” consisting of sequences of 1s and 0s encoded in an information-storage medium. These sequences are typically chosen by human designers to influence the operation of a physical computing device in non-arbitrary ways to produce desired effects. For example, a particular sequence of codes can turn a general purpose computer into calculator of square roots, whereas another sequence of codes can make a CD player reproduce the sounds of a symphony. Thus, the sequences in typical digital products are highly non-random, and the devices which copy those sequences are designed to do so with maximal fidelity. However, it is not at all difficult using conventional computing technology, to store modifiable sequences of data in a software product, to cause them to be modified randomly or non-randomly, and to arrange for those modifications to be preserved in derivative copies. FIG. 1 provides an example of one way in which this concept might be realized.
One preferred embodiment improves upon the Appended History Method: instead of appending a history to the product as described earlier, append just the idiosyncratic context fingerprint which is automatically transmitted at purchase-time to the Central Password Dispensing service. The possibility of duplicates is eliminated entirely in another embodiment in which the value to be appended is actually assigned by the Central Password Vending system and transmitted back to the software-instance through the password delivered and/or through another datum transmitted at purchase time.
Still other appendation-based embodiments achieve the same general end: for example, a pseudo-random number can be appended to the Variable Portion of the product each time a “mutation” is desired, and this too will provide a basis for lineage reconstruction. It should thus be understood that the invention can be embodied in many different ways, and that all of these embodiments, including many not mentioned here, fall within the scope of the present invention.
All of the appendation-based embodiments described are superior to the Appended History Method described earlier in that customer information need not be incorporated into the files being copied and redistributed passed on, with the benefits that customer information will not be exposed to the scrutiny of strangers, and that the growth of the Variable Portion will grow much more slowly with each appendation.
Furthermore, if the contents of the Variable Portion are routinely transmitted to the Central Password Dispensing system during purchasing events, either in the fingerprint or as additional data are transmitted, then it will be possible to use the Central Database to translate the meaningless string of appended “mutations” into an information rich sequence of customer-associated purchasing events, again without requiring that the customer information be placed in the Variable Portion itself.
An example based upon one of the aforementioned embodiments will demonstrate the principles involved in many of the embodiments just described. Consider the case in which mutations are assigned and transmitted at purchase-time from the Central System in such a way as to prevent repetition, and that those mutations can be expressed or typecast as ordinal ASCH characters. A Variable Portion retrieved from the field might look like this: AECB, and might under one simple coding scheme be interpreted as follows: the purchase-event which gave rise to this software-instance is the second purchase of a copy of the software-instance known as AEC. AEC is the third descendant of software-instance AE, which was the fifth descendant of the mint copy, instance A. The Central Database would allow one to look up each software-instance and associate it with the customer information acquired at the purchase-event which created that software-instance. Many other coding schemes and scenarios can be envisioned which would be variations on such themes, and additional embodiments of the present invention. But in any case, by analyzing a number of software-instances one could identify the software-instances which has been disseminated or positioned most successfully, and trace the customers and/or circumstances responsible for that success.
Data Retrieval
Analysis of sampled genomes is a necessary part of the system just described, and many sampling methods can be envisioned. However, the retrieval of software instances from the field could be both awkward and inefficient. Working with biological materials, field biologists, ecologists and social scientists typically go out into the field, capture and bioassay representative samples, apply statistical and sampling methodologies to the data obtained, and estimate population characteristics, etc. It is often an arduous process. In the “information ecosystems” addressed by the present invention it will often be much easier to retrieve, assay and analyzes samples, and the results may nonetheless shed considerable light on the phenomena of biology and natural selection. Furthermore the ability to address targeted inquiries of Users of particular interest could facilitate research considerably.
Furthermore, as disclosed here, retrieval of the Variable Portion can be an integral and unobtrusive part of the automated purchasing process. Note that only the Variable Portion of the genome must be analyzed, and this will typically be a small fraction of the entire product. Note also that the automated purchasing process often requires that the password dispensing system deliver the customer's password only after receipt of certain information from the customer—e.g., credit card information, personal information, a Product Number, a number which encodes the context in which that product is to be unlocked, etc. Upon receipt of this information, the password vending system (in a typical embodiment) stores the information, debits the customer's credit card, and then generates and transmits the password back to the customer. Many kinds of communication channels can be used to link the customer with the password vending system for this transaction (e.g., touch tone telephone, electronic mail, world wide web browser), and many of them could simultaneously transmit the Variable Portion of the software-instance being purchased at the same with little added delay. In this way, the vending system could collect all of the information needed for the linkage analysis and associate it with customer information which would facilitate commission-payments, correlative analysis of the lineage data, etc. The data for subsequent analysis would thus accumulate conveniently in a central database.
In short, this system would allow sophisticated “ecological” and “genetic” analysis of the reproduction and sale of a digital product in its market/niche, and could do so without storing a large or ever-increasing amount of space to in the products itself. The system would provide valuable information to the vendors of the products, and could be a useful research tool in its own right for scientific studies of “network ecosystems” and for a broader science of information ecology.
Here is an example of one way in which the system might be used. It might well be advantageous to offer purchasers a commission on sales derived from their own purchased copy of a given product. This would encourage users to purchase the product, pass it to other potential purchasers, post it, publicize it, and recommend it on bulletin board systems where it is likely to be discovered or downloaded, and so on. It would also provide a way of offering existing purchasers a discount when they buy second or third copies for use on additional computers. The present system, without modification, already collates all of the information which would be needed to implement this scheme. When Customer A purchases a copy, his name, address etc is collected along with the Variable Portion data which individuates his particular purchased copy. If subsequent purchases involve new genomes which differ from Computer A's genomes by only one bit, they will be recognizable as first-order derivatives of Customer A's copy; if a new genome is registered which differs by two bits, it will be recognizable as a second order derivative, and so on. Commissions could thus be paid to successful redistributors on a regular basis, and under a variety of terms and conditions which might be specified in the promotional language embedded in the product itself. (Ambiguities, if the implementation allows them to arise, would not be fatal, and might even add a lottery-like appeal to the enterprise, if accidental “namesakes” were allowed to share in each others profits. A system like this would not only create a spontaneous cadre of ad hoc sales agents, it would enable help vendors discover new markets and marketing strategies by interviewing successful agents.
Independent of our co-pending invention, we also disclose that in chronically networked environments such as the internet, there are alternative means by which it is possible for software-instances to transmit their Variable Portions and/or other information such as physical location, conditions of use, etc. to the Central Database. Under internet networking protocols it is routine for a program running on one computer to transmit information to a Central Host located virtually anywhere in the world. It is also easy and routine for a program to report the computer, file system and filename (“footprint”), from which it is running, the functions it is executing, etc. To maximize the value of this information it is desirable that each software-instance be distinguishable from other software-instances. Under the present invention, all software-instances derived from a particular “parent” have the same “genome” or identity. Furthermore it is will be disclosed in the next paragraph that the present invention enables even “sibling” software-instances to be distinguishable from each other. Therefore it will be possible for each software-instance to have a unique identity and to report that identity as well as its footprint at the moment of the report to the Central Database under a variety of circumstances, thus providing vast amounts of information to the researcher.
The method by which “siblings” can be made distinguishable from each other is to set aside an auxiliary data region in the Variable Portion which does not mutate under the circumstances heretofore described. The values in this data range must be made relatively unique so that they differentiate siblings, and must be relatively stable so that the software-instance can have a stable identity. One way to achieve this for executable programs is as follows. Whenever a new genotype arises (e.g., when a new mutation is appended to the primary Variable Portion) the Auxiliary Region is cleared, or set to a null value. Whenever a program starts up, it checks to see if it has a non-null value in its Auxiliary Region, and if it does not, it gives itself a random, pseudorandom, or otherwise idiosyncratic value. The effect of this method will be for each software-instance to give itself an idiosyncratic “name” on the first occasion in which it runs. The name will retained until the software-instance undergoes another mutation, at which point it, and any clones which are created from it will again give themselves unique names.
Under this disclosure it will thus be possible in chronically networked environments for every software-instance to send “singed” reports to the Central Database reporting upon their physical location and/or activities.
Those skilled in the arts will recognize that similar methods derived from the co-pending disclosure can be used to achieve the same ends with non-executable document files. In this case, it is an executable program which does the reporting and implements the dynamic activities described, but it operates upon and reports about the status not of its own Variable and Auxiliary Portions, but those of the document being studied. Thus, the scope of this invention goes well beyond the specific embodiments used as examples.
It should also be understood that the Variable Portion of a product need not necessarily be physically distinct from other functioning components of the program. A record of mutation events might also be intermingled with other data objects in the product. Steganographic techniques, for example, could be used to store the data of the Variable Portion within images or other data structures. Thus, the present invention is concerned with the general methodology of adding random values to a random data in a product so as to render those products amenable to lineage-analyses and other phenomena and technologies usually associated with biology.
Non-Appendation-Based Embodiments
Under an additional disclosure in the next paragraph, non-appendation-based embodiments can alternatively be used to create, accrue and collate lineage information. These methods do to bear the burden of a Variable Portion which grows open-endedly. Rather, the system created is more like that of organisms with fixed-size genome. Under this scheme, as in biology, the inferences one came make are more probabilistic than deterministic. As in biology also, the dynamic of random variation and natural selection in this scheme gives rise to a variety of scientifically interesting, and commercially useful, phenomena.
When mutations are desired, a random or idiosyncratically chosen bit in the Variable Portion is set to its opposite state (0 to 1, or 1 to 0). As a result, copies of this particular program-copy are identifiable by the particular pattern which results. If one of these copies is made to mutate on a further occasion, another randomly selected bit in the Variable Portion will be flipped, and the descendants of that “lineage” will be identifiable by the particular sequence of bits produced by those two random events.
Phrases such as “random or idiosyncratic” should be clarified. As used in biology and in many computer implementations of “random number generators” the term does not necessarily refer to genuinely non-deterministic events. Random number generators for example, often generate pseudorandom numbers by way of deterministic algorithms in essentially error-free hardware. The important point is that “random mutations” in biology “random numbers” in computers and “random errors” in the present invention are idiosyncratic and unpredictable in the context of the data structures to which they are introduced (genome, number stream, or Variable Portion). In the context of the present disclosure, it is important only that when two identical programs are “mutated” the particular bit or bits chosen for flipping will usually differ. Randomness, pseudo- or otherwise, is only one way of achieving this end. Another way, using the technology of our co-pending invention would be to use a fingerprint of the user's computer as a modulus for selecting the bit to be flipped from the range of available bits. Another way, would be to have the Central Database decide which bit to flip, based upon a statistical analysis of all prior cases, so as to minimize ambiguities.
However achieved, random or idiosyncratic mutations in the Variable Portion of a product provide the program with a “genome” which will yield to the kinds of lineage analyses developed in biology, and sketched above. By sampling the genome of individual programs obtained from the “field,” it will thus be possible to determine which instances are copies of the originally-distributed mint copy, which instances are copies of “first generation” registered offspring of the mint-copy, and so on. It will be possible to derive pedigrees. By correlating those pedigrees with independent information about the distribution of those pedigrees in space and time. It will be possible to draw inferences about the temporal-spatial niches which favor high rates of purchasing, copying, pedigree-branching, and so on. The methodologies involved were reviewed above, and are well-documented in the literature of biology, ecology, evolutionary systematics, etc.
These inferences are necessarily probabilistic and subject to error, but they are extremely powerful nonetheless. To illustrate one source of error, consider that a particular bit might be selected for flipping on two separate occasions in the history of a particular lineage, and that the two flips could cancel each other out. This weakness can be addressed in a variety of ways. Since the “Variable Portion” of the mint copy can be known, the software which does the bit-flipping could be programmed to avoid this case by selecting randomly among as-yet-unflipped bits only. Even without this fix, however, the resolving power of this system is directly related to the size of the Variable Portion, and substantial resolving power could be achieved with a Variable Portion of only a few thousand bytes. Furthermore, by partitioning the Variable Portion into distinct regions, even greater resolving power can be achieved. For example if the space allocated to the Variable Portion is increased from 1000 to 2000, the chance of such “collisions” is halved. But if the 2000 bit Variable Portion were also partitioned into two regions, with each region undergoing one random mutation per Event, then the chance of a reversal goes from 1 in one thousand to 1 in one million. Other methods of preventing or resolving ambiguities would be to have the Central Database assign or reassign non-unique mutations based while communicating with the software-instance.
Even if ambiguities exist in population of Variable Portions, sophisticated analytical algorithms could resolve such ambiguity by using correlative information such as the time and place from which the copy in question was acquired. Customers could also be queried when such ambiguities are discovered.
It should thus be understood that the system need not be completely reliable in order to be of great utility, that the embodiments just described are only a simple example, and that many variations and improvements can be envisioned which would fall within the scope of the present invention.
Natural Selection, Artificial Selection, and Gene Therapy
Natural selection is the most successful algorithm known for the generation of solutions to problems. Some philosophers of science characterize the algorithm in quite general terms—the differential reproduction of randomly generated successful variations—and assert that it is the only solution-generating algorithm there can be. Be that as it may, we will now disclose a method by which the variations embedded in the Variable Portion of a product can be the basis for a natural-selection-like process which can be directed toward solutions to problems which include, but are not limited to, the maximizing of sales and the tendency to be copied.
Some of the data in the Variable Portion of a product can be made to encode parameters which affect the utility or attractiveness of that product. This is a standard technique in the branch of computer science known as genetic algorithms and evolutionary programming. In the present context, the designer of the product would probably want to constrain the executing program's use of those parameters carefully, so that mutations could not have unacceptable or fatal effects. But even within such constraints, there are many ways this might be done.
Consider the case of a computer program which, if it is operating in demo mode, runs for a certain number of minutes and then requires the user to either make a purchase or restart the program. From the Vendor's point of view, the optimal number of minutes would give the user enough time to evaluate and appreciate the program, but not so much time as to reduce the probability of purchasing. It may be difficult for the software designers to identify the optimal number of minutes, and in fact the optimal value may well depend upon the market in which the product is being distributed. The present invention addresses many such cases in which it would be desirable for digital products to adapt themselves to local circumstances without direct intervention by the designer.
Because the parameter settings are encoded in the Variable Portion of the product, occasional mutations will cause those parameter settings to vary from one software-instance to another in the field. By definition, and by the logic of natural selection, software-instances with parameter settings which are more conductive to copying in a given environment, will tend to be copied more often and will therefore tend be more widely represented in the field. Thus, simply by encoding some functional parameters of the product in the product's Variable Portion, a process very much like natural selection will tend to occur wherever multiple instances of a program tend to proliferate. The adaptive process will be efficient only if the mutation rate is not so high as to degrade the influence of selective factors, and a variety of other possible adjustments and embellishments can readily be gleaned from the extensive literature on genetic algorithms and evolutionary programming. But the foregoing presentation should be sufficient to demonstrate that that literature has been made relevant and applicable by the invention have disclosed.
This invention is scientifically valuable because it extends the theory and technology of selection theory to the field of software distribution, and it is commercially valuable because it provides a means by which products which thrive on copying can automatically adjust themselves so as to promote their own reproduction. It should also be noted that the applicability of the invention is not restricted to products which are meant to be purchased. It is applicable to software whose purpose is the presentation of commercial messages, because the more widely distributed the software is, the more effective it will be. And for similar reasons it is applicable to non-commercial software which is simply more useful when it is ubiquitous, e.g., a “positive computer virus” released by network administrators whose function was to somehow facilitate network traffic. Many other domains of applicability exist as well, and are intended to fall within the scope of the present invention.
However, from the point of view of a Vendor of a product intended for purchase, the invention just disclosed will be most useful insofar as the parameter values which promote copying also promote purchasing. This may not be the case. For example, in the case of the program which waits N minutes before requiring that the user purchase or restart, a high value of N might maximize copying but minimize purchasing. In that case, the natural selection process (which promotes copying, not “goodness”) would actually work against the Vendor's true interest. The following paragraph shows how many of the inventions disclosed so far can be used in concert.
If the sampling process is yoked to purchasing events (as has often been posited above for expositional reasons only) than the Central Database will be able to directly monitor purchasing events rather than copying events per se. However we will now disclose (1) a way in which copying events can be monitored directly and (2) a way in which copying events can be monitored indirectly.
Copying events can be monitored directly as follows, and as illustrated in FIG. 1. Let the product store a trace of its footprint, physical location, or context in an Auxiliary Region of the Variable Portion, and let its footprint be empirically checked dynamically each time the program runs. If the footprint determined empirically differs from the footprint stored in the Auxiliary Region and if on purchasing event has also occurred, then the program has been copied (or moved) from a former location. Record that event in a Central Database, in an auxiliary region, etc. and update the stored footprint value. Such techniques could be elaborated and implemented in a variety of ways all of which fall within the scope of the present invention.
Copying events can be monitored indirectly as follows. Suppose that purchasing events produce mutations, but copying events do not. Lineages whose members tend to promote purchasing rather than copying will tend to be deep rather than wide—fewer copies of an individual will be made, but those which are made will tend to generate descendant variants through purchases. Lineages whose members tend to promote copying more than purchasing will therefore tend to be wide rather than deep—that is, individuals well tend to have more siblings than grandchildren. Thus by identifying lineages which are wide vs. deep, and then examining the parameter values associated with those lineages, it would be possible to identify parameter values which promote purchasing as well as copying.
Once those parameters were identified, the vendor who wished to maximize sales could release a new version of the program with fixed rather than Randomizable settings on those parameters which maximize promote purchases. Alternatively, an ancillary invention disclosed in the following paragraph could be employed.
During the purchasing process, a channel of communication is established between the user's program and the vending system. As exploited elsewhere in this invention, the channel is bidirectional. Some information flows from customer to vending system: customer information, context information, and Variable Portion information. Information also flows from vending system to customer: the password and potentially, as disclosed now, other information which could be used to reset or reprogram the software-instance being purchased. Specifically if the Central System identified a software-instance with evolved characteristics known to be at variance with the desires of the vendor, it could be used to transmit Vendor-selected values to the software-instance, and also transmit a code which would protect values from mutation in the future. These settings would then be stably propagated when copies of the program were redistributed. The information transmitted from the vending system to the software-instance could be embedded in the password, or it could be transmitted as a separate piece of information. It could be transmitted with or without the active participation of the customer. Thus the invention disclosed is quite general, and the embodiments described merely illustrate a few of the ways in which the present disclosures might be used in practice. As an example, and as previously noted, it should not be supposed that the purchase-based sampling process is the only one which could be used to allow vendors to set parameters on their products after those products have been released. Network-aware applications of the sort which are now common on the global internet can, in seconds, exchange information with servers located anywhere in the world, and it would therefore be possible for software-instances to get or give information to the Vendor whenever they are executed and not just when they are purchased. The present disclosures thus apply to any method by which information gathered from populations of variant software-instances is used to set parameters in already-released copies of that software.
Summary: Ramifications and Scope
The present invention increases the convergence, relevance and mutual benefit of computer science, evolutionary biology, economics, and software marketing, and software engineering to each other. Many variations on, and permutations of the disclosures herein can be envisioned, and so the examples, embodiments, and specificities above should not be construed as limiting the scope of the invention, but merely providing illustration of the presently preferred embodiments of this invention. For example, the methods disclosed could be applied to copy-instances not usually thought of as software such as music CDs or photocopied materials; mutations might be desirable under occasions of interest such as software execution as well as the occasions of copying and purchasing discussed above; and so on.
Thus the scope of the invention should be determined by the appended claims and their legal equivalents, rather than by the examples given.

## Claims

1. A method of adapting a software product to an environment, the method comprising:
providing the software product with a stable portion of code including instructions for performing a predetermined function, at least one aspect of performing the predetermined function being controllable by a functional parameter value;
providing the software product with a variable portion of code having stored therein the functional parameter value and a mutation rate; and
responsive to an occurrence of a predetermined event associated with the environment, using the mutation rate to determine if the functional parameter value should mutate, and
changing the functional parameter value in response to a determination that the functional parameter value should mutate.

2. The method of claim 1, comprising:
providing the software product with a portion of code that includes instructions for carrying out said using the mutation rate to determine if the functional parameter value should mutate and the step of changing the functional parameter value.

3. The method of claim 1, wherein the step of changing the functional parameter value includes substantially randomly selecting a new functional parameter from a predetermined range of values.

4. The method of claim 1, wherein the predetermined event is at least one of a user-to-user copying event, an operation of the software product, an unlocking of a product feature, or a change to a predetermined functional parameter of the software product.

5. The method of claim 1, wherein the variable portion of code has stored therein a set of lineage-relevant information relating to a plurality of lineage-relevant events resulting in the software product, and wherein the method comprises:
responsive to an occurrence of a second predetermined event, modifying the set of lineage-relevant information to include information relating to the occurrence of the second predetermined event, said sceond predetermined event being the same event as, or a different event from, the predetermined event associated with the environment.

6. The method of claim 5, comprising:
transmitting the set of lineage-relevant information to a central database.

7. The method of claim 5, wherein the set of lineage-relevant information is stored in the variable portion of code as a plurality of bits, at least one of the bits having been selected at random and its state changed in response to each of the plurality of lineage-relevant events resulting in the software product.

8. The method of claim 1, comprising:
changing the mutation rate to a predetermined replacement mutation rate.

9. The method of claim 8, wherein the predetermined replacement mutation rate is zero.

10. The method of claim 9, comprising:
changing the functional parameter value to a fixed value.

11. A method of adapting a software product to an environment, the method comprising:
providing the software product with a stable portion of code including instructions for performing a predetermined function, at least one aspect of performing the predetermined function being controllable by a functional parameter value;
providing the software product with a variable portion of code having stored therein the functional parameter value, a mutation rate, and a set of lineage-relevant information relating to a plurality of lineage-relevant events resulting in the software product;
providing the software product with a portion of code that includes instructions for changing the functional parameter value in response to an occurrence of a predetermined event associated with the environment and a determination that the functional parameter value should mutate; and
responsive to an occurrence of a second predetermined event associated with the environment;
using the mutation rate to determine if the functional parameter value should mutate; and
changing the functional parameter value in response to a determination that the functional parameter value should mutate,
wherein said second predetermined event is the same event as, or a different event from, the predetermined event associated with the environment.

12. The method of claim 11, wherein the step of changing the functional parameter value includes substantially randomly selecting a new functional parameter from a predetermined range of values.

13. The method of claim 11, wherein the predetermined event is at least one of a user-to-user copying event, an operation of the software product, an unlocking of a product feature, or a change to a predetermined functional parameter of the software product.

14. The method of claim 11, comprising:
responsive to an occurrence of a third predetermined event, modifying the set of lineage-relevant information to include information relating to the occurrence of the third predetermined event, said third predetermined event being the same event as, or a different event from, the second predetermined event or the predetermined event associated with the environment.

15. The method of claim 14, comprising:
transmitting the set of lineage-relevant information to a central database.

16. The method of claim 15, comprising:
transmitting a replacement mutation rate from the central database to the software product.

17. The method of claim 16, wherein the replacement mutation rate is zero.

18. The method of claim 15, comprising:
transmitting a replacement functional parameter value from the central database to the software product.

19. The method of claim 11, wherein the set of lineage-relevant information is stored in the variable portion of code as a plurality of bits, at least one of the bits having been selected at random and its state changed in response to each of the plurality of lineage-relevant events resulting in the software product.

20. A method of adapting a software product to an environment, the method comprising:
providing the software product with a stable portion of code including instructions for performing a predetermined function, at least one aspect of performing the predetermined function being controllable by a functional parameter value;
providing the software product with a variable portion of code having stored therein the functional parameter value, a mutation rate, and a set of lineage-relevant information relating to a plurality of lineage-relevant events resulting in the software product;
providing the software product with a portion of code that includes instructions for changing the functional parameter value in response to an occurrence of a predetermined event associated with the environment and a determination that the functional parameter value should mutate; and
responsive to an occurrence of a predetermined event selected from the group consisting of a user-to-user copying event, an operation of the software product, an unlocking of a product feature, and a change to a predetermined functional parameter of the software product, using the mutation rate to determine if the functional parameter value should mutate,
changing the functional parameter value by substantially randomly selecting a new functional parameter from a predetermined range of values in response to a determination that the functional parameter value should mutate, and
modifying the set of lineage-relevant information to include information relating to the occurrence of the predetermined event associated with the environment.

21. The method of claim 20, comprising:
transmitting the set of lineage-relevant information to a central database.

22. The method of claim 21, comprising:
transmitting a replacement mutation rate from the central database to the software product.

23. The method of claim 22, comprising:
transmitting a replacement functional parameter value from the central database to the software product.

24. The method of claim 20, wherein the set of lineage-relevant information is stored in the variable portion of code as a plurality of bits, at least one of the bits having been selected at random and its state changed in response to each of the plurality of lineage-relevant events resulting in the software product.

25. A method of adapting a software product to an environment, the method comprising:
providing a plurality of software products, each having a stable portion of code including instructions for performing a predetermined function, at least one aspect of performing the predetermined function being controllable by a functional parameter value, a variable portion of code having stored therein the functional parameter value, a mutation rate, and a set of lineage-relevant information relating to a plurality of lineage-relevant events resulting in the software product, and a portion of code that includes instructions for changing the functional parameter value in response to an occurrence of a predetermined event associated with the environment and a determination that the functional parameter value should mutate;
receiving at a central database a transmission of the lineage-relevant information from at least a portion of the plurality of software products; and
performing a statistical analysis of the lineage-relevant information from all of the at least a portion of the plurality of software products to ascertain a set of characteristics for the software products.

26. The method of claim 25, comprising:
determining from the statistical analysis a replacement mutation rate; and
transmitting the replacement mutation rate to at least one of the plurality of software products.

27. The method of claim 25, comprising:
determining from the statistical analysis a replacement functional parameter value; and
transmitting the replacement functional parameter value to at least one of the plurality of software products.

28. A computer program product for performing a predetermined function, the computer program product comprising:
a computer readable medium;
first code including a stable portion that is stored on the medium and that includes instructions for performing the predetermined function, at least one aspect of performing the predetermined function being controllable by a functional parameter value;
second code including a variable portion that is stored on the medium and that includes the functional parameter value and a mutation rate; and
third code that is stored on the medium and that includes instructions for modifying the functional parameter value in response to an occurrence of a predetermined event.

29. The computer program product of claim 28, wherein the third code includes means for monitoring changes to the environment, and means for identifying the occurrence of a predetermined event.

30. The computer program product of claim 28, wherein the predetermined event includes at least one of a user-to-user copying event, an operation of the computer program product, an unlocking of a product feature, or a change to a predetermined functional parameter of the computer program product.

31. The computer program product of claim 28, wherein the variable portion includes a set of lineage-relevant information relating to at least one lineage-relevant event resulting in the computer program product, and wherein the variable portion is configured for receiving additional information relating to at least one of a user-to-user copying event, an operation of the computer program product, an unlocking of features of the computer program product, or a change to functional parameters of the computer program product.

32. The computer program product of claim 31, wherein the lineage-relevant information is stored in the variable portion as a plurality of bits, at least one of the bits having been selected at random and its state changed in response to each lineage-relevant event in a chain of lineage relevant events resulting in the computer program product.

33. A computer program product for performing a predetermined function, the computer program product comprising:
a computer readable medium;
first code including a stable portion that is stored on the medium and that includes instructions for performing the predetermined function, at least one aspect of performing the predetermined function being controllable by a functional parameter value;
second code including a variable portion that is stored on the medium and that includes the functional parameter value, a mutation rate, and a set of lineage-relevant information relating to at least one lineage-relevant event resulting in the computer program product, the variable portion being configured for receiving additional information relating to at least one of a user-to-user copying event, an operation of the computer program product, an unlocking of features of the computer program product, or a change to functional parameters of the computer program product; and
third code that is stored on the medium and that includes means for identifying an occurrence of a predetermined event, and means for modifying the functional parameter value in response to the occurrence of the predetermined event.

34. The computer program product of claim 33, wherein the predetermined event includes at least one of a user-to-user copying event, an operation of the computer program product, an unlocking of a product feature, or a change to a predetermined functional parameter of the computer program product.

35. The computer program product of claim 33, wherein the lineage-relevant information is stored in the variable portion as a plurality of bits, at least one of the bits having been selected at random and its state changed in response to each lineage-relevant event in a chain of lineage relevant events resulting in the computer program product.