PB Circulation Data Parsing for What-You-See Signing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current hardware devices struggle to parse circulation data in Protocol Buffer (PB) format effectively, failing to achieve the 'what you see is what you sign' effect.

Innovation Solution

A method and system for parsing PB format data involving a series of splitting and identification steps on a terminal, followed by processing and display on a hardware device, ensuring accurate data extraction and signature generation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If hardware devices directly process PB format circulation data, then processing speed should be fast, but the device cannot correctly parse and display the data

Engineering Contradiction:
Improveprocessing speedVSAvoiddata parsing accuracy
Core Design Contradiction:
SpeedVSMeasurement precision

Solution Approach 1:

The patent introduces a terminal device as an intermediary between the hardware device and PB format circulation data. The terminal device performs multi-step parsing operations including calling preset functions to split data, computing lengths of various data components, updating identification positions, and determining actual called functions. This intermediary approach allows the hardware device to maintain fast processing speed while the terminal device ensures accurate data parsing through complex preprocessing operations.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If the terminal performs multiple splitting and computation steps, then data parsing accuracy improves, but processing time increases

Engineering Contradiction:
Improvedata extraction accuracyVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent applies preliminary action by having the terminal device perform all complex parsing operations before sending data to the hardware device. The terminal预先 calls preset functions to split circulation data, computes lengths of block bytes, block hashes, time-out periods, contract data, and timestamps, updates identification positions, and determines actual called functions. This preprocessing ensures that when data reaches the hardware device, it can be quickly displayed without requiring complex processing, thus trading terminal processing time for overall system efficiency.

Inventive Principle:
Principle #10Preliminary action

3Loss of information

If the hardware device displays processed data, then user visibility improves, but the device cannot generate accurate signatures

Engineering Contradiction:
Improvedata visibilityVSAvoidsignature accuracy
Core Design Contradiction:
Loss of informationVSReliability

Solution Approach 1:

The patent implements feedback by having the terminal device send both the parsed circulation data and the original PB format data to the hardware device. The hardware device displays the parsed data for user visibility while simultaneously using the original PB format data for signature generation. This feedback mechanism ensures that the hardware device has access to both the human-readable parsed information and the raw data needed for accurate cryptographic operations, maintaining both visibility and signature reliability.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS20250385806A1Method and System for Parsing PB Format Circulation Data
Publication Date: 2025.12.18 FEITIAN TECHNOLOGIES CO LTD
  • US20250385806A1 patent drawing
  • US20250385806A1 patent drawing
  • US20250385806A1 patent drawing

AI summary

A method for parsing circulation data in a PB format, which includes: setting, by a terminal, a start identification and an end identification for to-be-signed data extracted from a cache; calling a preset function to split the to-be-signed data to obtain a splitting result, and updating the start identification and the end identification respectively according to a length of parameter data in the splitting result to obtain an updated start identification and an updated end identification; generating, by the terminal, a signing request, and sending the signing request to a hardware device to which the terminal is connected, parsing, by the hardware device, the signing request when a signature result obtaining request is received, determining to-be-displayed data according to parameter data in a parsing result, and displaying the to-be-displayed data; and generating, by the hardware device, a private key according to a private key derived address parsed from the signing request, and signing the to-be-signed data parsed from the signing request with the private key. According to the present invention, the hardware device can rapidly parse the circulation data in the PB format, thereby achieving the effect that “what you see is what you sign”.