Input Box Keyboard Selection via Regular Expression Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Users face inefficiency when inputting information into web page input boxes as they often need to switch between different keyboards to meet varying character type requirements, such as numbers, symbols, or Chinese characters, which is cumbersome and time-consuming.

Innovation Solution

A method and device that detect the selection of a text input box and use the regular expression associated with it to determine the required data type, proactively presenting the suitable keyboard to the user before input, ensuring that only characters present in the available keyboard are used, thereby reducing the need for frequent keyboard switching.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If users manually switch between different keyboards to meet varying character type requirements for different input boxes, then all input box requirements can be satisfied, but input efficiency decreases and user effort increases

Engineering Contradiction:
Improvekeyboard switching operationVSAvoidinformation input efficiency
Core Design Contradiction:
Ease of operationVSProductivity

Solution Approach 1:

The system automatically detects the data type requirements of the currently selected input box and proactively presents the appropriate keyboard without user intervention. The keyboard selection process serves itself by using the regular expression information already available in the input box attributes, eliminating the need for manual keyboard switching and improving input efficiency

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system performs preliminary analysis of the regular expression associated with the input box to determine the required character type before the user actually starts inputting data. By pre-determining the appropriate keyboard based on the data type requirements, the system prepares the correct input tool in advance, avoiding the need for users to switch keyboards during the input process

Inventive Principle:
Principle #10Preliminary action

2Productivity

If the system proactively presents keyboards based on regular expression analysis, then keyboard switching is reduced, but system complexity increases

Engineering Contradiction:
Improveinformation input efficiencyVSAvoidinput control system
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system uses the existing regular expression mechanism, which already serves the function of validating user input, to additionally perform the function of determining keyboard selection. By making the regular expression analysis serve multiple purposes (both validation and keyboard selection), the system avoids adding separate complex analysis mechanisms while still achieving proactive keyboard presentation

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The regular expression acts as an intermediary that bridges the input box requirements and the keyboard selection process. Instead of directly analyzing input box attributes or implementing complex detection mechanisms, the system uses the regular expression as a mediator to convey the data type requirements, simplifying the overall system architecture while enabling intelligent keyboard selection

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS9513784B2Method and device of controlling input for input boxes
Publication Date: 2016.12.06 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US9513784B2 patent drawing
  • US9513784B2 patent drawing
  • US9513784B2 patent drawing

AI summary

A method and device for controlling information input for text boxes are disclosed. The method includes: at a device having one or more processors, memory, and a display: detecting selection of a text input box in a user interface; in response to detecting the selection of the text input box and prior to receiving input text for the text input box, obtaining a regular expression for acceptable input corresponding to text input box; for each character in the regular expression, determining whether the character belongs to a respective validation filter character set for a predetermined data type; and in response to a determination that all characters in the regular expression belongs to the respective validation filter character set for the predetermined data type, selectively presenting a respective character keyboard corresponding to the predetermined data type to a user for text entry.