Phone Number Detection Script for Web Content

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Users of web platforms, such as Twitter and blogs, struggle to identify and process phone numbers within text content, as these platforms lack the functionality to recognize and handle phone numbers, requiring manual copying and switching to call software.

Innovation Solution

A method and apparatus for phone number processing in a terminal device, which includes a processor that opens a web page, detects unclickable text content, and displays a phone number processing interface when a valid phone number is detected, allowing users to easily initiate calls or perform other actions with the phone number.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If phone numbers are embedded as ordinary text in web pages, then web page content can be freely written without technical constraints, but users cannot directly interact with or process the phone numbers

Engineering Contradiction:
Improveflexibility of web page contentVSAvoiduser interaction with phone numbers
Core Design Contradiction:
Adaptability or versatilityVSEase of operation

Solution Approach 1:

The patent introduces a JavaScript intermediary that mediates between the ordinary text content and the user interaction system. The script detects phone number patterns in the text and dynamically generates clickable hyperlinks, allowing users to interact with phone numbers without requiring the web page content to be pre-formatted with special HTML tags. This resolves the contradiction by maintaining content flexibility while enabling user interaction through an automated intermediary layer.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Device complexity

If users manually copy phone numbers to initiate calls, then no additional processing functionality is needed in the web page, but user operation time and steps increase significantly

Engineering Contradiction:
Improveweb page processing functionalityVSAvoiduser time for manual copying
Core Design Contradiction:
Device complexityVSLoss of time

Solution Approach 1:

The patent applies preliminary action by automatically detecting and processing phone numbers before the user needs to interact with them. The JavaScript script scans the web page content, identifies phone number patterns, and pre-creates clickable hyperlink elements. When users encounter a phone number, it is already prepared as an interactive element, eliminating the need for manual copying and reducing user time investment.

Inventive Principle:
Principle #10Preliminary action

3Ease of operation

If professional web page design techniques are used to make phone numbers clickable, then phone number interaction is simplified, but ordinary users cannot implement this functionality

Engineering Contradiction:
Improvephone number calling functionalityVSAvoidimplementation difficulty for ordinary users
Core Design Contradiction:
Ease of operationVSEase of manufacture

Solution Approach 1:

The patent implements self-service by enabling ordinary web page creators to automatically generate clickable phone numbers without needing professional web design skills. The JavaScript script autonomously scans text content, detects phone number patterns using regular expressions, and generates interactive hyperlink elements. This self-automating approach allows any user to create interactive phone number links simply by writing ordinary text, eliminating the need for professional HTML or CSS knowledge.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS10140265B2Apparatuses and methods for phone number processing
Publication Date: 2018.11.27 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US10140265B2 patent drawing
  • US10140265B2 patent drawing
  • US10140265B2 patent drawing

AI summary

A method for phone number processing may comprise providing a terminal device including a processor operating a browser to a user. The processor my conduct the acts of opening a web page on the browser, wherein the web page includes an unclickable text content; detecting a string from the text content when the user selects the text content; and displaying a phone number processing interface on the web page when the string is a valid phone number.