USB Session ID Matching and State Reset Mechanism

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In USB-connected communication systems using HTTP, if the information processing apparatus terminates processing without obtaining response information, the image processing apparatus may hold inappropriate response information, leading to issues with subsequent requests and inability to execute further processing due to the lack of a TCP session concept, which prevents the USB device from aborting processing.

Innovation Solution

A communication apparatus and method that transmits request information to a communication partner, determines if the received response information matches the initial request, and if not, sends an instruction to reset the communication partner to a state where it can properly transmit response information, ensuring appropriate processing even if communication is terminated midway.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the image processing apparatus holds response information after the information processing apparatus terminates processing without obtaining it, then the response information is preserved for potential future use, but the image processing apparatus cannot execute subsequent processing correctly due to mismatched response information

Engineering Contradiction:
Improvecommunication reliabilityVSAvoidresponse information mismatch
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

The patent implements a feedback mechanism where the information processing apparatus monitors whether response information has been received from the image processing apparatus. When communication is terminated without receiving the response, the system sends a termination notification to the image processing apparatus, which then clears its held response information. This feedback loop ensures that the image processing apparatus does not return mismatched response information for subsequent requests, resolving the contradiction between preserving response information and preventing information mismatch.

Inventive Principle:
Principle #23Feedback

2Device complexity

If USB communication is used without TCP session concept, then device complexity is reduced, but the USB device cannot determine to abort processing when communication is terminated midway

Engineering Contradiction:
Improvecommunication protocol complexityVSAvoidprocessing abort capability
Core Design Contradiction:
Device complexityVSEase of operation

Solution Approach 1:

The patent enables the USB device (image processing apparatus) to self-manage its processing state by implementing logic to detect when communication has been terminated by the host. When the device receives a termination notification or detects abnormal connection status, it automatically aborts its own processing and clears held response information. This self-service approach allows the USB device to handle processing abortion without requiring TCP session management, maintaining low complexity while enabling proper processing termination.

Inventive Principle:
Principle #25Self-service

3Productivity

If the image processing apparatus continues to hold response information expecting future retrieval, then data transmission efficiency is improved, but the apparatus cannot execute new processing when the original communication is terminated

Engineering Contradiction:
Improvedata transmission efficiencyVSAvoidprocessing execution capability
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The patent implements dynamic state management where the image processing apparatus adjusts its response information holding behavior based on real-time communication status. When communication is active, the apparatus holds response information to maintain efficiency. When it receives a termination notification or detects connection loss, it dynamically clears the held information and transitions to a state ready for new processing. This dynamic adaptation resolves the contradiction by allowing the system to switch between efficiency-oriented and adaptability-oriented modes based on communication conditions.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS10715685B2Determining whether session IDs match and taking action accordingly
Publication Date: 2020.07.14 CANON KK
  • US10715685B2 patent drawing
  • US10715685B2 patent drawing
  • US10715685B2 patent drawing

AI summary

According to an embodiment of this invention, there is provided a method in which even if, in an environment where an information processing apparatus and an image processing apparatus are connected by USB, communication from the information processing apparatus is terminated midway, processing on the image processing apparatus side is terminated. In this method, an HTTP communication module transmits, to the image processing apparatus, request information including information for identifying communication with the image processing apparatus. If response information, from the image processing apparatus, corresponding to the request information does not match the transmitted request information, the HTTP communication module transmits an instruction to operate the image processing apparatus in a status in which it is possible to transmit the response information.