Translation Table for API Attribute Name String to Integer Mapping

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional API protocols that use open-ended strings for attribute names are inefficient due to high processing costs, as they consume more resources in terms of time and space, especially when dealing with long strings.

Innovation Solution

Generating and using a translation table that associates attribute name strings with unique integer values, allowing client devices and servers to use these integers in requests and replies, thereby reducing processing expenses.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If open-ended strings are used for attribute names in API protocols, then adaptability and versatility are improved, but processing time and resource consumption increase

Engineering Contradiction:
Improveability to add new attribute namesVSAvoidprocessing efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent introduces a translation table as an intermediary between the human-readable attribute name strings and the internal processing system. The translation table maps strings to compact integer identifiers, allowing the system to process efficient integers while maintaining the ability to use descriptive strings in the protocol. This mediator resolves the contradiction by enabling both adaptability (through string-to-integer mapping) and processing efficiency (through integer-based internal operations).

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent changes the parameter representation from variable-length strings to fixed-size integers. By transforming the attribute name representation from textual form to numerical form through the translation table, the system achieves consistent processing time regardless of attribute name length or complexity, thereby improving productivity while maintaining adaptability through the extensible translation table.

Inventive Principle:
Principle #35Parameter changes

2Ease of operation

If open-ended strings are used for attribute names, then ease of operation is improved, but processing time and resource consumption increase

Engineering Contradiction:
Improvereadability of attribute namesVSAvoidprocessing time
Core Design Contradiction:
Ease of operationVSLoss of time

Solution Approach 1:

The patent segments the attribute identification process into two distinct parts: human-readable string representation and machine-processed integer representation. The translation table acts as the bridge between these segments, allowing readable strings to be used in protocol definitions and documentation while compact integers are used for actual processing, thereby eliminating time loss without sacrificing ease of operation.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The translation table serves as an intermediary that preserves the readability benefit of strings while eliminating the processing time penalty. By converting strings to integers before processing and potentially converting back for output, the system maintains ease of operation with meaningful attribute names while achieving fast processing with integer comparisons and lookups.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Adaptability or versatility

If long attribute name strings are processed, then adaptability is improved, but memory and computational resources are consumed

Engineering Contradiction:
Improveflexibility in attribute namingVSAvoidmemory usage
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The patent creates a compact copy of the attribute name information in the translation table, where each unique string is represented by a small integer identifier. Instead of storing and processing the full string data repeatedly, the system stores the mapping once in the translation table and uses the compact integer copies throughout processing, dramatically reducing memory usage while maintaining adaptability through the extensible mapping structure.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent changes the state of attribute name representation from variable-length text to fixed-size numerical identifiers. This parameter change reduces the quantity of data that needs to be stored and processed in memory, transforming long strings into compact integers that consume minimal memory resources while preserving the full adaptability of the system through the translation table's ability to accommodate any attribute name.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20240419604A1Generating and using a translation table that associates attribute name strings with integer values
Publication Date: 2024.12.19 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US20240419604A1 patent drawing
  • US20240419604A1 patent drawing
  • US20240419604A1 patent drawing

AI summary

A computer-implemented method, according to one embodiment, includes generating a translation table. The translation table associates a plurality of attribute name strings with unique integer values. The method further includes outputting information about the translation table to client devices. In response to receiving, from a first of the client devices, a first request that includes a first of the unique integer values, a reply message is generated based on the first unique integer value. The reply message is output to the first client device. A computer program product, according to another embodiment, includes a computer readable storage medium having program instructions embodied therewith. The program instructions are readable and/or executable by a computer to cause the computer to perform the foregoing method.