Browser Voice Intercom via Websocket and Built-in Audio

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current voice intercom systems in security systems rely on browser plug-ins for real-time voice communication, which can compromise user privacy and security, as plug-ins can be modified to access sensitive information, and may be disabled in future browser updates, preventing voice communication without plug-ins.

Innovation Solution

A method and apparatus that enable voice transmission and reception directly through a browser's built-in audio interfaces, using Websocket communication to establish connections and sampling parameters for voice data processing, eliminating the need for plug-ins.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a plug-in is used in the browser for voice intercom, then real-time voice communication can be achieved, but user privacy and security are compromised

Engineering Contradiction:
Improvevoice communication reliabilityVSAvoiduser privacy security risk
Core Design Contradiction:
ReliabilityVSObject-affected harmful factors

Solution Approach 1:

The patent extracts the voice processing functionality from the browser plug-in and relocates it to the browser's built-in audio interfaces. The plug-in is completely removed, and voice collection, processing, and transmission are handled natively by the browser through standard audio APIs, eliminating the security vulnerability while preserving real-time communication capability

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces Websocket as an intermediary communication protocol between the browser and server. This allows establishing a persistent long connection for real-time voice data transmission without requiring plug-ins, thereby maintaining communication reliability while enhancing security through the use of standard browser-supported protocols

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If a plug-in is used in the browser for voice intercom, then voice transmission can be implemented, but compatibility with future browser updates is reduced

Engineering Contradiction:
Improvevoice transmission capabilityVSAvoidbrowser compatibility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent utilizes the browser's built-in audio interfaces and standard Websocket protocol, which are universally supported across different browsers and versions. This approach eliminates dependency on proprietary plug-ins and ensures the voice intercom system remains compatible with future browser updates and different browser environments

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

Solution Approach 2:

The patent removes the browser plug-in component entirely and extracts voice processing functionality to use standard browser-built-in audio capabilities. This extraction ensures the solution works across all modern browsers without requiring special installations or updates, greatly enhancing adaptability

Inventive Principle:
Principle #2Taking out (Extraction)

3Object-affected harmful factors

If voice data is collected through built-in audio interfaces without plug-ins, then security is enhanced, but voice sampling and processing capability is reduced

Engineering Contradiction:
Improvesecurity riskVSAvoidvoice sampling precision
Core Design Contradiction:
Object-affected harmful factorsVSManufacturing precision

Solution Approach 1:

The patent dynamically adjusts voice sampling parameters (such as sampling rate, bitrate, and format) to optimize quality while working within the constraints of built-in audio interfaces. By flexibly changing these parameters based on network conditions and device capabilities, the system maintains high voice quality without requiring plug-in enhancements

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent performs preliminary voice data processing and encoding within the browser before transmission. This includes pre-sampling, compression, and format conversion of voice data to ensure optimal quality and compatibility, compensating for any limitations of the built-in audio interfaces

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10785375B2Method and apparatus for sending and receiving voice of browser, and voice intercom system
Publication Date: 2020.09.22 HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO LTD
  • US10785375B2 patent drawing
  • US10785375B2 patent drawing
  • US10785375B2 patent drawing

AI summary

A method and apparatus for voice transmission and reception by a browser and a voice intercom system are provided. The method for voice transmission by a browser includes: collecting first voice data through a built-in audio collection interface of the browser (S101); obtaining a first voice sampling parameter that can be utilized by a target device (S102) to process voice data; sampling the first voice data based on the first voice sampling parameter to obtain target voice data (S103); and transmitting the target voice data to the target device (S104). The method enables a browser to have a function of voice intercom without using a plug-in.