Checksum Compute Module for JavaScript Authenticity Verification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Web browsers face challenges in verifying the authenticity and integrity of JavaScript code stored locally due to the inefficiency of JavaScript in computing checksums, particularly on devices with limited processing power, leading to slow verification times.

Innovation Solution

Implementing a checksum compute module written in a more efficient programming language, such as C or C++, separate from the online application code module, to quickly determine and verify checksums for the JavaScript code, utilizing parameters or data bits, and providing the checksum to the application for authenticity verification.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If JavaScript code is used to compute checksums in web browsers, then the verification can be performed within the browser environment, but the processing speed is slow especially on devices with limited processing power

Engineering Contradiction:
Improveauthenticity verificationVSAvoidverification speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent introduces a checksum compute module written in C or C++ as an intermediary component that bridges the JavaScript application code and the native processing capabilities of the browser. This separate module performs the computationally intensive checksum verification operations using efficient native code, while the JavaScript code module remains responsible for application logic. The intermediary module receives parameters from JavaScript, computes checksums efficiently, and returns results to the application, thus resolving the contradiction between maintaining browser-based verification and achieving fast processing speeds.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If a separate checksum compute module written in C or C++ is implemented, then verification speed improves significantly, but the device complexity increases

Engineering Contradiction:
Improveverification speedVSAvoidmodule structure
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent divides the browser application into distinct segments: the JavaScript online application code module and a separate checksum compute module written in C/C++. This segmentation allows each module to be optimized for its specific function - JavaScript for application logic and native code for performance-critical checksum operations. The modules communicate through well-defined interfaces, reducing the complexity burden by creating clear boundaries and responsibilities rather than mixing concerns within a single codebase.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The checksum compute module acts as a specialized intermediary that handles only checksum computations, isolating the complexity of native code integration to a single, well-defined component. This mediator pattern reduces overall system complexity by concentrating the complex native-JavaScript interface in one place rather than scattering complexity throughout the entire application code.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS9292709B1Computing a checksum for content in local storage
Publication Date: 2016.03.22 GOOGLE LLC
  • US9292709B1 patent drawing
  • US9292709B1 patent drawing
  • US9292709B1 patent drawing

AI summary

Systems and methods for computing a checksum are provided. In some aspects, an online application code module is written in a first programming language. The online application code module is configured to implement an online application. A checksum compute module is written in a second programming language different from the first programming language. The checksum compute module is separate from the online application code module. The checksum compute module configured to receive one or more parameters from the online application code module. The checksum compute module configured to determine a checksum for the online application code module based on the received one or more parameters. The checksum compute module configured to provide the checksum to a memory.