Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and system for invoking terminal capability interface on web page

A terminal capability interface and page technology, applied in transmission systems, program control design, instruments, etc., can solve the problems of poor terminal capability interface invocation capability, mobile web application capability and development limitations, etc., and achieve the effect of improving invocation capability.

Active Publication Date: 2018-06-12
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the mobile web application has a very fatal weakness, that is, its ability to call the terminal capability interface of the terminal device is very poor. This weakness has brought great restrictions to the ability and development of the mobile web application.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and system for invoking terminal capability interface on web page
  • A method and system for invoking terminal capability interface on web page

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0039] The system provided by the present invention mainly consists of figure 1 It consists of the js interface module of the web page shown in and the http communication module embedded in the native application.

[0040] Wherein, one or more local network ports are preset in the terminal device as corresponding network ports of the http communication module embedded in the native application. After the native application is installed and started, the http communication module embedded in the native application starts to listen to the corresponding network port to receive network requests from other applications on the terminal device or other modules of the native application. The network request is based on http protocol.

[0041] The js inte...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and system for calling end capacity ports on a web page. The method includes the steps that an http communication module is inset in a native application, and a js port module on the web page sends an http request containing end capacity port calling information to a corresponding network port of the http communication module; after the http communication module receives the http request, the corresponding end capacity port is called according to the end capacity port calling information, and calling result data are contained in an http response and fed back to the js port module; the js port module obtains the calling result data in the http response. The method and system for calling end capacity ports on the web page can improve the capacity of calling of the end capacity ports for a mobile web application.

Description

【Technical field】 [0001] The invention relates to the technical field of computer applications, in particular to a method and system for invoking a terminal capability interface on a web page. 【Background technique】 [0002] With the continuous development of the mobile Internet, the disadvantages of native applications (also known as local applications) have begun to be revealed, such as high development costs, leading more and more mobile developers to try or turn to the development of mobile web applications. Among them, the native application is a third-party application program based on the local operating system of the smartphone and written and run using native programs; the web application is an application that runs on the network and a standard browser and is developed based on web technology to achieve specific functions. [0003] However, the mobile web application has a very fatal weakness, that is, its ability to call the terminal capability interface of the te...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/10G06F9/44
CPCG06F9/546H04L67/02
Inventor 朱建庭王继平郑伟德马广亮胡芳帅
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products