Cross Domain Communication Channel via iFrame and Form Element

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current technologies face challenges in allowing web applications to consume services from cross-domain service servers without requiring complex integration or changes, particularly due to same-origin policy restrictions that prevent data access and state-changing actions across different domains.

Innovation Solution

The implementation of an iFrame component embedded within a web page, which allows data submission to a cross-domain service server via a form element, overcoming same-origin policy limitations by creating a communication channel and enabling the execution of pre-registered actions upon receiving responses from the server.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If web applications directly access services from cross-domain service servers, then service consumption is enabled, but same-origin policy restrictions block data access and state-changing actions

Engineering Contradiction:
Improvecross-domain service consumption capabilityVSAvoidsame-origin policy restrictions
Core Design Contradiction:
Adaptability or versatilityVSObject-affected harmful factors

Solution Approach 1:

The patent introduces an intermediary mechanism using iframes and form elements to bridge the same-origin policy barrier. The iframe acts as a container that loads the service page from a different domain, while the form element serves as a mediator to submit data and receive responses without direct script access between domains. This intermediary structure enables cross-domain communication while respecting browser security policies.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent segments the service consumption process into distinct functional components: the iframe for loading service content, the form element for data submission, and the parent page for handling responses. This segmentation allows each component to operate within its own domain context while coordinating through standardized interfaces, thereby overcoming same-origin restrictions without requiring complex integration.

Inventive Principle:
Principle #1Segmentation

2Adaptability or versatility

If complex server-side integrations are implemented to enable cross-domain service consumption, then service access is achieved, but integration complexity increases

Engineering Contradiction:
Improvecross-domain service accessVSAvoidserver-side integration complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent implements self-service by allowing the client-side web application to directly consume services through standard web technologies (iframes and forms) without requiring complex server-side integration infrastructure. The service server simply needs to provide a public-facing interface that can be embedded in iframes, and the client automatically handles data submission and response processing through the form element, eliminating the need for complex proxy servers or authentication mechanisms.

Inventive Principle:
Principle #25Self-service

3Productivity

If data is transmitted directly between web pages and service servers, then service consumption is efficient, but data integrity and confidentiality are compromised

Engineering Contradiction:
Improveservice consumption efficiencyVSAvoiddata integrity and confidentiality
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The form element serves as a secure intermediary that handles data transmission between the client page and service server. It provides structured data binding, validation, and transmission through established HTTP form protocols, ensuring data integrity during transfer. The iframe container also provides an isolated execution environment that protects against XSS attacks and maintains confidentiality by limiting script access between domains.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS9264507B2Cross domain communication channel
Publication Date: 2016.02.16 SAP PORTALS ISRAEL
  • US9264507B2 patent drawing
  • US9264507B2 patent drawing
  • US9264507B2 patent drawing

AI summary

Systems, software, and computer implemented methods for consuming services from a cross-domain service server. One example method includes providing for presentation a web page associated with a first domain, the web page including an iFrame associated with a service associated with a second domain; converting a set of data associated with the web page into a form element embedded within the iFrame associated with the second domain; submitting the set of converted data in the form element to the service associated with the second domain via the iFrame; receiving, via the iFrame, a response from the service associated with the second domain; identifying a pre-registered action associated with the received response; and performing the identified pre-registered action in response to receiving the response and identifying the pre-registered action.