Applet Data Acquisition via Pre-established Network Connections

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The inefficiency in applet data acquisition due to the time-consuming process of establishing a network connection before sending the first data request, which results in low data acquisition efficiency for offline H5 applications.

Innovation Solution

Establishing a network connection with the data server according to the interface address of the data server when a trigger operation for starting the applet is detected, allowing for direct data requests to be sent through the pre-established connection, thereby avoiding excessive time consumption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a network connection is established before sending the first data request in an offline H5 applet, then the data acquisition can proceed, but the connection establishment process consumes excessive time and reduces efficiency

Engineering Contradiction:
Improvedata acquisition completenessVSAvoidconnection establishment time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies preliminary action by pre-establishing network connections before the applet actually needs to send data requests. The terminal device proactively creates multiple network connections to different data servers in advance, so that when data acquisition is needed, the connections are already ready and can be used immediately without waiting for connection establishment, thus resolving the time loss while ensuring data acquisition completeness

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent applies preliminary anti-action by preemptively counteracting the potential time loss from connection establishment. By establishing network connections before they are actually needed (rather than waiting until a data request is made), the system prevents the efficiency problem from occurring in the first place, ensuring that when data acquisition is required, the connections are already in place and can be used immediately

Inventive Principle:
Principle #9Preliminary anti-action

2Productivity

If network connection establishment is delayed until the first data request is sent, then connection establishment time is reduced, but data acquisition efficiency remains low due to the sequential nature of offline H5 applets

Engineering Contradiction:
Improvedata acquisition efficiencyVSAvoidoverall data retrieval time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent applies preliminary action by pre-establishing network connections before the applet actually needs to send data requests. The terminal device proactively creates multiple network connections to different data servers in advance, so that when data acquisition is needed, the connections are already ready and can be used immediately without waiting for connection establishment, thus resolving the time loss while ensuring data acquisition completeness

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent applies continuity of useful action by maintaining network connections in a ready state between data acquisition operations. Rather than establishing connections only when needed and then closing them, the system keeps connections active and ready for immediate use, ensuring continuous availability of network resources and eliminating idle time between data requests, thereby improving overall productivity

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS11677838B2Acquisition method, apparatus, device and storage medium for applet data
Publication Date: 2023.06.13 BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
  • US11677838B2 patent drawing
  • US11677838B2 patent drawing
  • US11677838B2 patent drawing

AI summary

The embodiments of the present application disclose an acquisition method, apparatus, device and storage medium for applet data, relating to the technical field of the IoT, which are specifically implemented by: establishing a network connection with a data server according to an interface address of the data server corresponding to the applet when a trigger operation for starting the applet is detected; sending a data request message to the data server directly through the pre-established network connection after the applet is started, and receiving, from the data server, a data response message that contains requested data. Therefore, excessive time consumption caused by failing to pre-establish network connection before the first data request is sent can be avoided, and the acquisition efficiency of applet data can be improved.