A mobile app and web page communication method and system
A communication method and page technology, applied in the field of mobile APP, can solve problems such as blocking threads, affecting performance, inconsistency, etc., and achieve the effect of avoiding blocking threads
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0019] Such as figure 1 As shown, the communication method between the mobile APP and the Web page includes the following steps:
[0020] (1) Wrap the native API to make half-duplex calls;
[0021] (2) Reject the callback and cancel the synchronous blocking;
[0022] (3) Custom communication serial number;
[0023] (4) When the asynchronous return result is received, it is processed separately according to the instruction type;
[0024] (5) If there is a matching serial number, it is determined that this message is the result of an asynchronous return of a command sent by the APP, and jumps to step (4).
[0025] The present invention realizes half-duplex calls by packaging native APIs, rejects callbacks, cancels synchronous blocking, and customizes communication serial numbers. When receiving asynchronous return results, it will be processed separately according to the instruction type. If there is a matching serial number, it will be determined. This message is processed ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com