Bonum Certa Men Certa

Guest Post: Watch Out for “Patented API” Traps, by Jose X

The Trap in a Nutshell



A patented API is short-hand for saying that an API (a software interface) is defined to parallel a patent so that using the API to build applications creates patented material unavoidably.



This is a trap API. Use it, and infringe.

The story:

Q: Can I "work around" the patent? Q: Can I re-implement the API libraries so as not to have to redesign and recode all apps? Q: Can I map or translate the app automatically into something safe?

A: In general, no, you can't, if the trap is a good one.

This covers the trap in a nutshell.

[The disclaimer: I am not a lawyer, and I have never written a patent application. But.. I do know how software works, and I have developed more than just half a clue about how patents work (in the US).]

Further Basic Discussion



For those that want a little more explanation, we have this link.

..as well as a hypothetical "Tetris" Patent Trap example.

Visual Basic function



"Tetris" Patent Trap



Patent Tetris Patent CoolDraw API Tetris API CoolDraw

We have two patents and two API. One patent and one API are high-level (Tetris). The other patent and API are low-level (CoolDraw). The high-level patent and high-level API are designed together as a trap as mentioned above. Ditto for the low level ones.

Let's look at a few more details on the patents and on the APIs. Then, we'll cover the four main scenarios. Do note the interplay of high-level with low-level. When the levels are the same (and matching), we have stepped onto the trap.

-- Patent Tetris: patents any tetris like game.

-- Patent CoolDraw: patents a cool way to draw on the screen from computer memory.

-- API Tetris: a createTetris function produces a tetris game when you input things like block size, colors, number of rows, time, etc.

-- API CoolDraw: a doCoolDraw function uses a cool algorithm to move values onto the screen.

Case 1: -- Patent Tetris -- API Tetris.

In this scenario, if we use API Tetris within our app so that a tetris game is created, we violate Patent Tetris, guaranteed.

Case 2: -- Patent Tetris -- API CoolDraw.

In this scenario, if we use API CoolDraw within our app so that we draw to the screen, we do not violate Patent Tetris unless we write a lot more code so as to create our own tetris game. It would take many lines of code to violate Patent Tetris.

Case 3: -- Patent CoolDraw -- API Tetris.

In this scenario, if we use API Tetris within our app so that a tetris game is created, we may violate Patent CoolDraw ..or not. It depends on how API Tetris was implemented. Does createTetris write to the screen the way described by Patent CoolDraw?

Case 4: -- Patent CoolDraw -- API CoolDraw.

In this scenario, if we use API CoolDraw within our app so that we draw to the screen, we violate Patent CoolDraw, guaranteed.

Quick Analysis

Case 1 (and Case 4) patent and API are at the same level (and matching). This is a trap. To avoid infringement, you have to redesign and re-code the application using a different API.

Case 2 is the case when people consider "working around" the patent. It's an odd event. You have to write many lines of code in order to possibly be infringing. If you are, you then try to code around it, perhaps by building something a little different than tetris. [In general, avoid infringement by make sure some of the properties of the patent claim are not met.]

Case 3 is the case where if a violation were to exist in the API implementation, you can try to re-implement the libraries and this way avoid re-implementing each and every single app as would be required for Cases 1 and 4.

The reason Case 3 allows you to re-implement the libraries and avoid re-coding up every application is fundamentally because you can re-implement the API but keep fixed the same interfaces and specifications enshrined in the API contract and assumed by the applications. This is not possible in Case 1 and Case 4 because any re-implementation of the same specification, for these cases, will infringe in the same exact way as with the original implementation since it's the specification itself (not any implementation of any part of it) that parallels the patent.

The reason Case 2 does not result in automatic infringement as happens with Case 1 and Case 4 is that the API interface and patent requirements don't match. It's that simple. Case 2 is where the application could possibly end up violating if you code enough with that API or with another. The Case 2 patent is high-level while the API is low-level. Case 3 is different in that the patent is low-level while the API is high-level; thus, Case 3 contrasts with Case 2 because in Case 3 the potential violations would not happen within the application (as with Case 2) but rather within the library.

In short, Case 1 and Case 4 are the only cases (of the four) where any API usage, by definition, specifies that the application will acquire all the properties of the matching patent claim. These are the traps.

Random APIs will not shadow any given patent as occurred in Case 1 and in Case 4. Developers normally would not have to worry. They can expect a Case 2 or a Case 3, if anything. However, Case 1 and Case 4 can be designed on purpose when the patent author and API designer are the same entity. Why would this author create this trap for developers? Well...

-- The patent author is determined to file lawsuits as necessary (maybe via proxies) in order to slow down many and/or key competing applications (eg, FOSS applications).

“You can be given a patent license and even GPL code for the core API, but not for the patented API extensions.”If you are using an API designed by such a vendor (regardless of who implemented the libraries), beware. I see lots of redesigning and re-coding in your future, just to get back to the same point (on a per app basis). Remember that the patent might still be in the pipeline, have been sold to a proxy, or have been developed through a partnership under a different company or alias.

The above nutshell and sample analysis omit many details. There are many corner cases and things are not cut and dried. In a second article to follow (possibly), we will look closer into many details of the trap scenario.

Finally, there is a more insidious trap that exists. You can be given a patent license and even GPL code for the core API, but not for the patented API extensions. You may then find that you can create only simple applications safely (with that core API), even if you decide not to use the patented extension API but build your own. This is more insidious because the patent and copyright licenses given for the core API give the illusion of safety (a green light to proliferate), and is insidious and dangerous all the more so since you might purposely avoid the patented extensions. The trap happens if you use the "safe" core with any extension whatsoever (since the extended patented properties can be very general in nature). The details of this extended insidious trap may form the subject of a third article later on. It's also described further here.

Comments

Recent Techrights' Posts

The End of Red Hat
expect many more layoffs soon
Only Hours Into the New Year People Already Discuss the Next Round of Layoffs at Red Hat/IBM
2026 will be another tough year for Red Hat and IBM
Recruiters Don't Use Microsoft LinkedIn, Spammers Use LinkedIn
One of my best friends, a university professor, lost all of his life's savings due to Microsoft LinkedIn
You've Only Wasted Your Life in Social Control Networks
In a sense, social control media is a giant delusion
2025 Was a Very Bad Year for Social Control Media
statCounter sees a gradual demise in Social Control Media access
Don't "Go Paperless", Go Paperful [sic] (for What Really Matters)
Why should we favour paper use sometimes? Well, many reasons.
The Slop Industry is Failing So Badly (Mountains of Debt, Losses) That It's Merging With the SPAM Industry
we reckon that Google will eventually delist all slopfarms, recognising they're just a form of SPAM
IBM Starts 2026 a Much Smaller Company (Not Homage to Gerstner)
People who get bluewashed out of their job (or bluewashed into unemployment) are gagged by NDAs
 
Links 01/01/2026: 1930 Works in the Public Domain, Electricity Pricing 'a Mystery'
Links for the day
Firefox is Toast Because It Got Toasted by Mozilla
Firefox cannot keep above 2% and hasn't been able to for quite some time
Ignore the LLM Slop and the Noise, Microsoft is in a Death Spiral
So what does Microsoft have left to sell?
Red Hat is Vanishing Before Our Eyes
With some Red Hat staff "transitioning" we wonder if it's an HR hack, wherein they "reset the clock" on employment duration so as to lessen severance obligations
In 2025 Microsoft Lost Palau
Palau now has GNU/Linux at steadily high levels
Microsoft Mocked UNIX/Linux for Not Handling Dates After 2038, Microsoft Breaks Down on 2026!
Only a truly moronic company would design it that way
Another New Year's Resolution: Public Domain Sources, Credits
In addition to our first one
Combatting Slop Images (and ClownFlare)
we won't use or reuse slop images
A New Year's Resolution: Maximal Transparency
We'll do our very best to be transparent about everything that's going on, even legal matters
Gemini Links 01/01/2026: 2025 Comes to a Close and Capsular Gemlog Manager
Links for the day
Free Software Foundation (FSF) Raised About 1.3 Million Dollars in the Past Couple of Months!
the FSF's Board now has 10 people in it
2026 IBM Phaseout of Red Hat
Red Hat won't fare any better than most IBM acquisitions
Microsoft Budget Issues, XBox Thrown Under the Bus
They're cutting budget. Soon they'll cut the staff.
EPO People Power - Part XXI - Europe's Second-Largest Institution Became a Corrupt For-Profit Company Run by Drug Addicts
it'll be the demise of the Rule of Law in Europe and maybe a death blow to the EU (eventually), not just the EPO
Another Very Productive Year Commences
"a total of over 17,000 pages in a year"
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Wednesday, December 31, 2025
IRC logs for Wednesday, December 31, 2025
Fiji: GNU/Linux Has Risen From Almost Nothing to Almost 5% in Recent Years
It's not as small as people are led to believe
Gemini Links 31/12/2025: Blogosphere is Growing and New Year Begins
Links for the day
Complexity Considered Harmful: We Used to Run an Operating System on 64KB of RAM, Not 64GB of RAM (a Million Times More)
"Initially confined to single-tasking on 8-bit processors and no more than 64 kilobytes of memory"
Links 31/12/2025: Cheeto Pushing for More Wars, ‘Security is a Shared Responsibility’
Links for the day
Enshittification of Postal Services Isn't Technological Advancement
Societies that say the aim is to "go digital" and eliminate paper trail aren't advanced; they're moving backwards
XBox is Likely Dead Already, But the Threat It Posed to Us All for Two Decades Isn't Over
"the Xbox was never about gaming and merely served as a test bed for DRM in commodity systems."
Ahead of 2026 Mass Layoffs at Microsoft the Tree Gets Shaken to See Who 'Falls' (Resigns/Retires)
"We had a quiet meeting last week about budget realignment. No one said layoffs, but it’s clear where the focus is shifting."
Almost 6,5000 Pages in 2025, Aiming Higher in 2026
if we can keep focused, then quantity will increase
Microsoft XBox Having a "Dog Ate My Homework" Moment: No New Console Until 3 Years From Now... Because "RAM Prices"
Who will ever remember this in 2028? Nobody.
Gemini End of Year Capsules Tally (Based on Lupa) Shows About 10% Growth
What a difference a year makes
Gemini Links 31/12/2025: New Resolution, Reverse Hexdump, and Programming Languages
Links for the day
Dr. Andy Farnell Explains Why Chatbots Became Dishonesty on Top of Dishonesty (Hiding Usage of Dishonest Salads of Words)
new article from CyberShow
Links 31/12/2025: Nvidia Faces Bubble-Bursting Moment, Saudi Oil Money Pumped Into Chatbots to Keep the Energy Waste Going (Circular Financing Again)
Links for the day
Richard Stallman's First Talk in a U.S. College Since 2018
Greetings from Georgia Tech!
EPO People Power - Part XX - Why António Campinos Chose to Put His Cokehead Friend on 'Sick Leave'
EPO Cocainegate will be covered for months to come
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Tuesday, December 30, 2025
IRC logs for Tuesday, December 30, 2025
Gemini Links 30/12/2025: FreeBSD, Gemlogs, and Xobaque
Links for the day
Get Ready for Gigantic XBox Layoffs at Microsoft (Much Bigger Than in 2025)
he unionisation drive is a sign workers already expect this
Concern Trolls: Stop Criticising Poor Gerstner Because Now He's Dead. Reality Check: Gerstner Has Found a Trick for Dodging Tax on His Hundreds of Millions in Wealth.
Maybe even billions in wealth
Samoa: GNU/Linux and ChromeOS Rose to Around 11%
based on Web access data from Samoa
DnD: Debian and Drugs
There will soon be some interesting new information about Debian
A Conundrum of Privacy/Surveillance: Will You Give Them a Stool Sample to "Feel Humane"?
What if skinnerboxes in South Korea also required that people provide urine and stool samples?
Nope, There's No Twitter "Successor"
There's a lot of horrible abuse going on in social control media
A Calm Year in IRC is a Good Year for IRC
Next year IRC will turn 38 (in August) and in 2028 it'll turn 40, just like the FSF did a couple of months ago
Slopfarms Covering Up for "Microsoft CEO Satya Nadella" After a Terrible Performance and a Terrible Year at Microsoft
How to cause many to resign/retire, hence not be counted as "layoffs"
IBM Was Never Saved, It Has Been a Downhill Journey for Decades Already
Gerstner wasn't a tech person but a fiscal butcher
Some GNU Joiners in Geminispace
Jose E. Marchesi (known for GNU poke and a bunch of other things) adopted Gemini Protocol
Jean-Slop Van Damme and the Art of Bull--- Code
it's saving neither time nor money
IBM Seems to be Doing to HashiCorp What It Did to Red Hat (Many Key People Leaving)
"Today marks my last day at HashiCorp, wrapping up an incredibly rewarding 5-year journey"
State of the Slop, Day 364
How does Phoronix feel about Google promoting slopfarms that 'rewrite' its stories and slap slop images on top?
Links 30/12/2025: "Durian Tsunami" and "Unneeded Surgeries"
Links for the day
Links 30/12/2025: Social Control Media Detox, Rage Against Slop Wasting People's Productive Capacities
Links for the day
Reality Check About IBM's Louis Grestner, Slopfarms Say He Was IBM CEO for 30 Years!
It is "hallucinating" (lying)
Debt as the New Currency?
Rich people get richer because they take money from the rest of us, if not directly then by compelling us (collectively) to borrow money at a national level, then "invest" in them
EPO People Power - Part XIX - "Berenguer Has Known of Campinos' Substance Abuse First Hand For a Long Time"
"You rightfully claimed that Berenguer is Campinos' protegee"
Gemini Links 30/12/2025: Quitting Coffee, Apartment by the Beach, and Strange Retail Ethics
Links for the day
Nintendo and Sony Outsold Microsoft XBox by 15:1!
The mass layoffs indicate Microsoft is aware of this
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Monday, December 29, 2025
IRC logs for Monday, December 29, 2025