Global Hook Injection for Non-Intrusive Software Screenshot Capture

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current screenshot methods for software are either limited in application scope, as they are closely tied to the software's structure, or interfere with the software's processes when used, failing to execute screenshots rapidly, simply, and intelligently.

Innovation Solution

A screenshot method and device that injects a global hook into the software's image display module after determining its presence, allowing for screenshot execution without affecting the software's processes, thereby broadening the application scope and enabling rapid, simple, and intelligent screenshot capture.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If screenshot functions are carried by software itself, then screenshot can be executed, but application scope is limited and software structure becomes complex

Engineering Contradiction:
Improveapplication scopeVSAvoidsoftware structure
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The screenshot functionality is segmented from the target software and implemented as an independent external module. The hook mechanism divides the screenshot process into separate stages: detection phase (monitoring for screenshot requests), interception phase (capturing image data via global hook), and execution phase (processing and saving the screenshot). This segmentation allows the screenshot function to be added to any software without modifying its original structure, thereby expanding application scope while maintaining software simplicity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

A global hook mechanism serves as an intermediary between the screenshot system and the target software. The hook acts as a mediator that intercepts image display calls without directly integrating with the software's internal structure. This intermediary approach enables the screenshot function to operate independently across different software applications, avoiding direct coupling and reducing structural complexity while broadening compatibility.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If third party screenshot software is used, then screenshot requirement is met, but interference is generated for software processes

Engineering Contradiction:
Improvescreenshot executionVSAvoidsoftware process interference
Core Design Contradiction:
Ease of operationVSObject-affected harmful factors

Solution Approach 1:

The global hook mechanism implements partial action by selectively intercepting only the specific image display function calls that need to be captured for screenshots. Rather than monitoring or interfering with all software processes, the hook focuses exclusively on the image rendering pathway, allowing other software operations to proceed uninterrupted. This selective approach maintains ease of screenshot execution while minimizing interference with normal software processes.

Inventive Principle:
Principle #16Partial or excessive action

3Productivity

If screenshot is executed rapidly and simply, then user experience is maintained, but screenshot functionality may not be universally applicable

Engineering Contradiction:
Improvescreenshot speedVSAvoidapplication scope
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The system performs preliminary action by pre-installing the global hook mechanism into the target software during the software loading phase. The hook is positioned and configured in advance to monitor image display functions, so that when a screenshot request occurs, the interception and capture processes can execute immediately without setup delays. This preliminary preparation enables rapid screenshot execution while the universal hook mechanism ensures broad applicability across different software applications.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS9442897B2Screenshot method and device
Publication Date: 2016.09.13 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US9442897B2 patent drawing
  • US9442897B2 patent drawing
  • US9442897B2 patent drawing

AI summary

After target software starts, whether a module with an image display function has been loaded by the target software may be determined. When determining that the module with the image display function has been loaded by the target software, a global hook may be injected into the module with the image display function. After receiving a screenshot instruction, screenshot may be executed with the global hook.