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

IBM's Press Release About Results Mentions "AI" 10 Times, "Quantum" 4 Times
Blah blah blah AI"
Things We Could Do More Than Half a Century Ago But Can No Longer Accomplish
Newer is not always better
Linux Foundation an Enemy of the Planet, Proponent of Pollution and Global Heating
"could the "polluters pay" model be extended to the computing environment and used to take on Microsoft and Microsofters?"
Not Everything Can be Automated
not a new thing
IBM is Not Done Destroying Red Hat, Wait Till October 1st 2026 (More Layoffs and Bluewashing)
It's not bluewashing 'til it's 100% done
 
IBM in the Red After Bad Results (Shares Down in After Hours)
Will the CEO step down, retire, of what else?
Gemini Links 22/07/2026: Fault Lines, the Dark Web and Beyond, and Why Substack is Awful
Links for the day
Insult and Injury: Getting Banned, Not Just Sacked, by Microsoft
A former insider spoke about this in public 5 hours ago
Links 22/07/2026: "Dumb Phones" Not Enough to Tackle Harmful Addition, "MPEG-4 Visual's Road to Being [Software] Patent-Free"
Links for the day
Top secret: Cults inquiry submission concealed from public
Reprinted with permission from Daniel Pocock
An Hour Ahead of Alleged 'Results' (Amid Investigation Into Fraud) IBM Falls Back to New Lows
Only cents away from a 52-week low
IBM Headed for Lowest "Value" in 2 Years
In a nutshell, Krishna "can't keep it up" and IBM is now investigated for fraud
Investigation Progressing
There is nothing "funny" about receiving mortal threats for merely reporting information in a civilised country
Anupa Ann Joseph & Debian defamation gang
Reprinted with permission from Daniel Pocock
State of the Invidious Project
Never forget how hostile Google can be towards freedom
Prioritising the Safety of Women is the Best Approach to Foster Diversity in Technical Communities
Debian was never "normative", but that does not mean Debian should have such low standards
IBM Will Report 'Results' Tonight (CET), It's Already Investigated for Securities Fraud
"Five of the biggest US tech giants are carrying $1.65 trillion in debt that does not show up on their balance sheets"
Hardware Has Gotten a Lot Worse, Not Just Far More Expensive
prices go up fast
Amid Claims of Microsoft Bing Layoffs It Seems Like Bing Cannot Even Hold on to Second Place
Yandex is sometimes bigger than Bing
Wikileaks Does Not Publish New Material Anymore, But Wikileaks Still Changes the World
Wikileaks has a legacy that will soon turn 20
Links 22/07/2026: Postal IRCs, PlayStation Kills Discs, Union Action Against Microsoft, "Judge Considers Tossing Databricks Patent Suit Under California anti-SLAPP Law"
Links for the day
Same 'Journalists' Who Published Fake News for IBM (Pump and Dump) Now Write Puff Pieces About the Stock Falling
the media is so compromised
They Called It "Social" and "Media", But It Turned Out to be Slop and Child Porn
Why do any sane people still use social control media?
Age of consent: DebConf26 registered sex offender in Argentina?
Reprinted with permission from Daniel Pocock
European Patent Office (EPO) Series: In the Pole Position Despite a Dismal Track Record
António Campinos is an old hand when it comes to such high-level institutional intrigue
Site a Bit Slower Due to Visitors' Load
We'll try to work out better speeds
Gemini Links 22/07/2026: Emacs, Astrology Clock, Arduino, and Rogallo v1.0.0
Links for the day
After Involvement by the Free Software Foundation (FSF) LibreTech and Quibble Gain More Participants
RMS expressed gratitude for people who worked on Quibble and improved LibreJS after many years of inactivity
The Lessons From the Assange Saga
This will not end well
Apple Will Increase Surveillance of Customers, Record Verbal Communications Under the Guise of "Hey Hi"
Apple now drinks that same Kool-Aid
Dave Winer, Blogging Pioneer, Sells Out, Spews Out LLM Slop to Readers
Another one bites the dust [...] Now it's a slopfarm of sorts
GNU/Linux OS in ComorOS
Now, as in recent years or the last year, the GNU/Linux "signal" is growing significantly
Microsoft Redefines "Layoffs" to Give Smaller Tallies
It's not just calling them "buyouts" or saying people are merely "leaving" or "retiring"
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Tuesday, July 21, 2026
IRC logs for Tuesday, July 21, 2026
"LF Sex", Nothing to Do With Linux
a lot of explaining to do this week
Gemini Links 21/07/2026: Nostalgia, Shogi, and New Gemlog System
Links for the day
Guyana: GNU/Linux Rises to New High, 7%
Guyana is part of the trend
Oman: GNU/Linux Up to 7%
It was 5% last year
The Solution is Never 'Free Hosting' in Proprietary GitHub (Microsoft), the Solution is Self-Hosting
Third parties never care about your projects as much as you (yourself) care about them
Only a Matter of Time Before IBM Drops to $199 or a Lot Lower Than That
How long can IBM overload empty shells?
From GAFAM's Perspective, Jeremy Bicha Did Nothing Wrong
All is OK as long as he does not criticise monopolists and billionaires
Bluesky Was Such an Utter Failure That After 18 Months Mozilla Goes Hug a Nazi Platform That Produces Child Porn
What compels Mozilla to come back there? The child pornography scandal? The adorable leader?
GNU/Linux at Grenada Measured at 14% This Month
GNU/Linux was stuck at 0% for a long time
In WordPress, Newer is Not Better (Maybe Better Off With No WordPress at All)
To Hell with bloat and feature churn
As Slop Bubble Implodes (Inevitable), the Dishonest, Corrupt, Compromised Media Tries to Blame "China" Again (Like it Did With "DeepSeek" in Past Years)
Here we go again. We've been there before. Same spin, this time not "DeepSeek" though.
Lots of Microsoft Just Loses Money, Not Earning Money
Due to profitability challenges it's hard to believe Microsoft will ever find a buyer for XBox
Red Hat (IBM) Has Long 'Reassigned' (Bluewashed) Red Hat Staff to Ruin Fedora, Now It Does the Same to GNOME
What next from IBM's Krishna?
Links 21/07/2026: Google Stagnating, Slop 'Apps' Are "Flooding Apple’s App Store"
Links for the day
Gemini Links 21/07/2026: OPNSense Upgrade Problems, Zilog Z80 at 50, and Lessons From Terminator
Links for the day
IBM Lawsuits Over Alleged Fraud Are Piling Up
We'll keep an eye on the lawsuits
Arianna Taite on Odds of Australian (Daniel Pocock) Winning Clacton By-Election
His detractors somehow try to twist or frame him (Pocock) as an impediment to women while the exact opposite is true
This Coming Weekend Marks 4 Years Since We Dumped Content Management Systems (CMSs) in Favour of Static Site Generators (SSGs)
the first page dated July 25
Slop's Latest Casualty: The Credibility of Linus Torvalds
If you care about millionaires and billionaires, follow Torvalds (he is already in that "club")
Techrights Will Become More Productive (More Output) Over Time
Big stories about to land
Touch Grass
Happiness involves what humans have evolved to appreciate, not what humans create to sedate the mind (like skinnerboxes)
The Cyber Show on Technology Having Become a Tool of Mass Psychosis, Not Enablement or Emancipation
Technology as mass psychosis
The Rumour Said That a Second Wave of Microsoft Layoffs Would Come This Week (Ahead of Fake 'Results'), Maybe Tomorrow
Let's wait and see how "MSM" unfold
To Wikipedia, "Notability" is Just an Excuse to Hail People Who Serve Billionaires While Marginalising or Defaming the Rest
Wikipedia is an advertising space
Our Series About Solicitors Regulation Authority (SRA) and SLAPPs Will Resume Soon
Originally, in 2025, we gave ourselves 6 years (until 2031) to cover these issues, but we've seen since extended that to 10 years (until 2036) because of the amount of material we have
European Patent Office (EPO) Series: The EPO Transparency Gap
Despite the "European" tag in the organisation's name, the European Union has no jurisdiction over the European Patent Organisation
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Monday, July 20, 2026
IRC logs for Monday, July 20, 2026
Links 20/07/2026: Lashes for Songs in Iran, Kurdish Language at Risk
Links for the day
Gemini Links 21/07/2026: The Boss Baby (2017) and 2026 Old Computer Challenge Epilogue
Links for the day
Canonical Staff Acting Like They Aim to Receive Job Offers From Microsoft
There are moreover allegations that Debian will do the same, in the same way Mono boosters infected both distros in tandem or in turn.
Worsening Staff Affairs at Microsoft
Microsoft is managing to piss off many of its own workers
Czech Mate for GNU/Linux on the Way
Czechoslovakia is having none of that "peace for our time" with Microsoft
Nobody Will be Left Who Trusts IBM Anymore
The common theme is, the management must be completely replaced as soon as possible and truth needs to come out
Wall Street is a Bubble and No Company is Worth 5 Trillion Dollars
It's not hard to see which stocks will crash the hardest (or fastest)
The Corrupt Have Historically Tried to Paint Their Exposers as the Real Problem
As usual, there are efforts to shoot or muzzle the messenger
Search Engine Market Share in Italy: Microsoft Falls to Third in Many Countries Including Italy
Expect more layoffs in Bing
Links 20/07/2026: Spotify Drowning in Slop, Expiry of Software Patents in MPEG-4
Links for the day
Gemini Links 20/07/2026: Another Step Towards Owning Personal Data and Gemtext2 Envisioned
Links for the day
European Patent Office (EPO) Series: Public Missions and Private Ambitions
Despite the French government's strong formal pushback, the lobbying momentum generated by Campinos and Negrão proved unstoppable
"DOOM" and "Bloodbath": the State of Microsoft and XBox
Way to piss off fans
Karen Melchior Fought the Good Fight
stay tuned for Part 29
Links 20/07/2026: Notes on E-mail Encryption, Torvalds and His Employer Paid a Lot to Promote Slop (Pyramid Scheme)
Links for the day
What a Difference Six Years Make...
We are also beta-testing a new feature for the site; we plan to announce it some time soon
When It Comes to Slop, Richard Stallman is Opposite of Linus Torvalds
When it comes to computing, Dr. Stallman has long been a voice of reason
Daniel Pocock is in Mainstream Media This Week
Pocock's haters will absolutely hate this
In His Departure Post, Poul-Henning Kamp (phk) Explains Why Linus Torvalds is Full of "Hot Air" and Slop Bubbles
Having lived through previous bubbles as a UNIX geek, phk cannot be ignored
Whistleblowers Keep Flowing
Later today a police investigator should phone us regarding death threats we've received
We Need Less Gadgets, More Humanity
If people are being honest with themselves, many of the gadgets they claim they "cannot live without" are just excesses and distractions they could definitely leave behind
Technology and Gadgets Got Obese, Just Like Their Users
They now sell us so-called 'phones' for slop
Daniel Pocock in The Guardian This Morning
There is an opportunity here to spread a message, even if Pocock won't win a seat
"Samsung Recently Projected a 19-fold Surge in Second-Quarter Operating Profit", Now There Are Mass Layoffs
In a 9-month period Samsung's debt rose by about 80%
Gemini Links 20/07/2026: Dungeon Meshi/Undertale Crossover, "The Hitchhiker’s Guide to the Dark Web and Beyond"
Links for the day
IBM's Control of the Media "Just Showed What Taking Accountability Does Not Look Like"
It is no secret that IBM pays the media
Microsoft Loses XBox Lawsuit, But There Are More
The collapse of studios continues
GNU/Linux Approaching International Average in Djibouti
One can envisage further gains for GNU/Linux, seeing Microsoft is in such a bad shape
Daniel Pocock "[t]he Australian Taking on Nigel Farage — from Down Under"
This can help raise awareness of some issues
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, July 19, 2026
IRC logs for Sunday, July 19, 2026