Interaction method and tool of Web end and iOS end

An interaction method and tool technology, applied in the Internet field, can solve problems such as difficulty in interaction and usability pain points, reduce complexity, reduce the possibility of abnormalities, and improve the effect of rapid iteration

Pending Publication Date: 2021-11-26
ZHONGAN INFORMATION TECH SERVICES CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] For web-side developers, there will be multi-terminal interaction, and for the various methods that need to be compa...

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
  • Interaction method and tool of Web end and iOS end
  • Interaction method and tool of Web end and iOS end

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] figure 1 It is a flow chart of an interaction method between a Web terminal and an iOS terminal provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation where the Web terminal and an iOS terminal interact, and the method can be executed by an interaction tool between a Web terminal and an iOS terminal , the tool can be implemented by software and / or hardware.

[0044] Such as figure 1 As shown, the method specifically includes the following steps:

[0045] Step 110: Build an interaction method mapping table according to the method functions contained in the web terminal and the native iOS terminal, and integrate the interaction method mapping table into the native iOS terminal.

[0046] In this embodiment, the native iOS terminal encapsulates and uses WKWebView to monitor the first calling function.

[0047] The native iOS terminal used in this example uses WKWebView as the Web display container, and the native iOS terminal ne...

Embodiment 2

[0073] The interactive tool between the Web terminal and the iOS terminal provided by the embodiment of the present invention can execute the interaction method between the Web terminal and the iOS terminal provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method. figure 2 It is a structural block diagram of an interactive tool between a Web end and an iOS end provided in Embodiment 2 of the present invention, as shown in figure 2 As shown, the tool includes: a method mapping table construction module 210 , a first response function determination module 220 and a first interaction module 230 .

[0074] The method mapping table construction module 210 is configured to construct an interactive method mapping table according to the method functions contained in the Web terminal and the native iOS terminal, and integrate the interactive method mapping table into the native iOS terminal.

[0075]...

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 discloses an interaction method and tool of a Web end and an iOS end. The method comprises the following steps: constructing an interaction method mapping table according to method functions contained in a Web end and a native iOS end, and integrating the interaction method mapping table to the native iOS end; when monitoring that the Web end initiates a first calling function for the native iOS end, extracting a first calling parameter from the first calling function, and searching a matched first response function in the interaction method mapping table according to the first calling parameter; sending a first response result obtained after the first response function is executed back to the Web end through the first calling function, so that interaction between the Web end and the native iOS end is achieved. The native Api is used, the Web version compatibility problem does not exist, developers do not need to be familiar with external calling, multi-end interaction can be achieved under the condition that no external component needs to be introduced, the interaction complexity is reduced, the probability of generating abnormity is reduced, and therefore rapid iteration of the whole project is improved.

Description

technical field [0001] The embodiment of the present invention relates to the technical field of the Internet, in particular to an interaction method and tool between a Web terminal and an iOS terminal. Background technique [0002] In the current App development project, mixed-mode development exists in most projects, and there are many interaction scenarios between the Web end and the native iOS, so it is particularly important to design a simple and efficient interaction method. [0003] For web-side developers, there will be multi-terminal interaction. For the various methods that need to be compatible with the web on the native iOS side, there are pain points in the difficulty of interaction and ease of use during development. Contents of the invention [0004] The present invention provides an interaction method and tool between the Web terminal and the iOS terminal, so as to realize the efficient interaction between the Web terminal and the iOS terminal. [0005] I...

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
IPC IPC(8): G06F9/54
CPCG06F9/548
Inventor 李慰
Owner ZHONGAN INFORMATION TECH SERVICES CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products