Webpage-OS Communication via Clipboard Message Buffering

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods for communication between a webpage and an operating system fail if no corresponding interface is set in the browser, leading to unsuccessful communication between the two.

Innovation Solution

The implementation of an apparatus with processing circuitry that executes software to detect and process messages in a preset format within the clipboard, allowing communication between a webpage and an operating system without relying on a corresponding interface in the browser, by acquiring, editing, and transmitting messages in a preset format, and querying and identifying messages in the clipboard.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a webpage communicates with the operating system by calling a corresponding interface in the browser, then communication can be established when the interface exists, but communication fails when no corresponding interface is set in the browser

Engineering Contradiction:
Improvecommunication reliabilityVSAvoidinterface compatibility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent introduces a message buffer as an intermediary component between the webpage and the operating system. Instead of requiring direct interface calls from the webpage to the OS through the browser, messages are posted to a buffer that the OS can access and process. This intermediary mechanism enables communication even when traditional browser interfaces are not available or configured, thereby improving communication reliability while maintaining broad adaptability across different browser and OS configurations.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If the webpage uses traditional browser interface calling, then the communication process is simple when interfaces are available, but the system complexity increases to handle interface availability checks and alternative communication paths

Engineering Contradiction:
Improvecommunication operationVSAvoidcommunication system complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The patent extracts the communication interface dependency from the webpage-BOS interaction by using a message buffer. The buffer serves as a standalone communication channel that does not require browser interface calls. This extraction simplifies the operation for webpages (they just post to the buffer) while the OS handles the buffer management and message processing, effectively distributing complexity rather than concentrating it in one place.

Inventive Principle:
Principle #2Taking out (Extraction)

3Reliability

If messages are buffered in the clipboard without format verification, then clipboard functionality is maintained, but communication between webpage and OS fails due to unrecognized message formats

Engineering Contradiction:
Improvemessage communication reliabilityVSAvoidmessage format detection
Core Design Contradiction:
ReliabilityVSDifficulty of detecting and measuring

Solution Approach 1:

The patent uses message format encoding as a form of 'color change' or identification marker. Specific message formats are designed with recognizable patterns or structures that allow the OS to identify and differentiate communication messages from regular clipboard content. This format-based identification enables reliable detection of communication intent without interfering with normal clipboard operations, resolving the contradiction between maintaining clipboard functionality and ensuring message recognition.

Inventive Principle:
Principle #32Color changes

Data Source

PatentUS10817355B2Method and apparatus for communication between webpage and operating system
Publication Date: 2020.10.27 BEIJING XIAOMI MOBILE SOFTWARE CO LTD
  • US10817355B2 patent drawing
  • US10817355B2 patent drawing
  • US10817355B2 patent drawing

AI summary

Provided is an apparatus for communication between a webpage and an operating system. The apparatus includes memory storing a first software for an operating system and a second software for a web browser. The apparatus also includes processing circuitry that executes the first software to provide the operating system including a clipboard and executes the second software to cause the web browser to access a web page. Further, a software (the first software or the second software) executed by the processing circuitry detects a message that is buffered in a clipboard provided by the operating system, and determines whether the message is in a preset format that is indicative of the software executed by the processing circuitry being a destination of the message. The software executed by the processing circuitry then processes the message when the message is in the preset format.