ArticleslgStudy

computer science

Clean-room design

Clean-room design is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Clean-room design rather than just read about it. In short: Clean-room design (also known as the Chinese wall technique) is the method of copying a design by reverse engineering and then recreating it without infringing any of the copyrights associated with the original design. Clean-room design is useful as a defense against copyright infringement because it relies on independent creation.

Key takeaways

  • Clean-room design belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Clean-room design to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Clean-room design from memory before moving on to harder problems.

Reference excerpt

Clean-room design (also known as the Chinese wall technique) is the method of copying a design by reverse engineering and then recreating it without infringing any of the copyrights associated with the original design. Clean-room design is useful as a defense against copyright infringement because it relies on independent creation. However, because independent invention is not a defense against patents, clean-room designs typically cannot be used to circumvent patent restrictions. The term implies that the design team works in an environment that is "clean" or demonstrably uncontaminated by any knowledge of the proprietary techniques used by the competitor. Typically, a clean-room design is done by having someone examine the system to be reimplemented and having this person write a specification. This specification is then reviewed by a lawyer to ensure that no copyrighted material is included. The specification is then implemented by a team with no connection to the original examiners.

Examples Phoenix Technologies and American Megatrends both sold their clean-room implementation of the IBM-compatible BIOS to various PC clone manufacturers. Several other PC clone companies, including Corona Data Systems, Eagle Computer, and Handwell Corporation, were litigated by IBM for copyright infringement, and were forced to re-implement their BIOS in a way which did not infringe IBM's copyrights. The legal precedent for firmware being protected by copyright, however, hadn't been established until Apple Computer, Inc. v. Franklin Computer Corp., 714 F.2d 1240 (3rd Circuit Court 1983). The three settlements by IBM, and the legal clean-room PC BIOS designs of Compaq and Columbia Data Products, happened before Phoenix announced, in July 1984, that they were licensing their own BIOS code. Phoenix expressly emphasized the clean-room process through which their BIOS code had been written by a programmer who did not even have prior exposure to Intel microprocessors, himself having been a TMS9900 programmer beforehand. As late as the early 1990s, IBM was winning millions of dollars from settling BIOS copyright infringement lawsuits against some other PC clone manufacturers like Matsushita/Panasonic (1987) and Kyocera (1993–1994), although the latter suit was for infringements between 1985 and 1990. Another clean-room design example is VTech's successful clones of the Apple II ROMs for the Laser 128, the only computer model, among dozens of Apple II compatibles, which survived litigation brought by Apple Computer. The "Laser 128 story" is in contrast to the Franklin Ace 1000, which lost in the 1983 decision, Apple Computer, Inc. v. Franklin Computer Corporation. The previous PC "clone" examples are notable for not daring to fight IBM in court, even before the legal precedent for copyrighting firmware had been made. Other examples include ReactOS, an open-source operating system made from clean-room reverse-engineered components of Windows, ArtCraft, a suite of creative and office applications modeled after the Adobe Creative Cloud and Microsoft Office, and Coherent operating system, a clean-room re-implementation of version 7 Unix. In the early years of its existence, Coherent's developer Mark Williams Company received a visit from an AT&T delegation looking to determine whether MWC was infringing on AT&T Unix property. It has been released as open source.

Case law Clean-room design is usually employed as best practice, but not strictly required by law. In NEC Corp. v Intel Corp. (1990), NEC sought declaratory judgment against Intel's charges that NEC's engineers simply copied the microcode of the 8086 processor in their NEC V20 clone. A US judge ruled that while the early, internal revisions of NEC's microcode were indeed a copyright violation, the later one, which actually went into NEC's product, although derived from the former, were sufficiently different from the Intel microcode it could be considered free of copyright violations. While NEC themselves did not follow a strict clean-room approach in the development of their clone's microcode, during the trial, they hired an independent contractor who was only given access to specifications but ended up writing code that had certain similarities to both NEC's and Intel's code. From this evidence, the judge concluded that similarity in certain routines was a matter of functional constraints resulting from the compatibility requirements, and thus were likely free of a creative element. Although the clean-room approach had been used as preventative measure in view of possible litigation before (e.g. in the Phoenix BIOS case), the NEC v. Intel case was the first time that the clean-room argument was accepted in a US court trial. A related aspect worth mentioning here is that NEC did have a license for Intel's patents governing the 8086 processor. Sony Computer Entertainment, Inc. v. Connectix Corp. was a 1999 lawsuit which established an important precedent in regard to reverse engineering. Sony sought damages for copyright infringement over Connectix's Virtual Game Station emulator, alleging that its proprietary BIOS code had been copied into Connectix's product without permission. Sony won the initial judgment, but the ruling was overturned on appeal. Sony eventually purchased the rights to Virtual Game Station to prevent its further sale and development. This established a precedent addressing the legal implications of commercial reverse engineering efforts. During production, Connectix unsuccessfully attempted a Chinese wall approach to reverse engineer the BIOS, so its engineers disassembled the object code directly. Connectix's successful appeal maintained that the direct disassembly and observation of proprietary code was necessary because there was no other way to determine its behavior. From the ruling:

Some works are closer to the core of intended copyright protection than others. Sony's BIOS lay at a distance from the core because it contains unprotected aspects that cannot be examined without copying. The court of appeal therefore accorded it a lower degree of protection than more traditional literary works.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Clean-room design

Start with the simplest possible case. Write down what Clean-room design claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Clean-room design before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Clean-room design ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Clean-room design

In research
Clean-room design appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Clean-room design in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Clean-room design is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer law, Copyright law, Reverse engineering, so understanding it makes those chapters shorter.
In everyday life
Look for Clean-room design outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Clean-room design” →

How to study Clean-room design in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Clean-room design means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Clean-room design out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Clean-room design in simple terms?

Clean-room design (also known as the Chinese wall technique) is the method of copying a design by reverse engineering and then recreating it without infringing any of the copyrights associated with the original design. Clean-room design is useful as a defense against copyright infringement because…

Why does Clean-room design matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Clean-room design?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Clean-room design.

Tags

  • Computer law
  • Copyright law
  • Reverse engineering

Keep exploring