Interaction method and system for Native and Web pages

An interactive method and interactive system technology, applied in the direction of inter-program communication, multi-program device, program control device, etc., can solve problems such as inability to modify web pages, inability to meet new needs of web pages in a timely manner, and inflexibility of the Native side, etc. To achieve the effect of ensuring timeliness and reusability

Active Publication Date: 2015-12-09
BEIJING QIERBULAITE TECH
View PDF4 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] First of all, the judgment rules for strings are written on the Native side. Once the web page is online, the web page cannot be modified, resulting in the inability to meet the new requirements of the web page in time;
[0006] Secondly, the Native side cannot flexibly read parameters from the Web side to perform corresponding operations;
[0007] Finally, the Native side cannot control the behavior of the Native side through the flexible configuration of the Web side

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 system for Native and Web pages
  • Interaction method and system for Native and Web pages
  • Interaction method and system for Native and Web pages

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] Such as figure 1 As shown, the embodiment of the present invention provides a method for interacting between Native and Web pages, including:

[0060] S1, the Native side customizes the interaction rules and stores the rules on the Web side;

[0061] S2, the Native end captures the clicked URL link;

[0062] S3, the Native end obtains the Json entity containing the interaction rules from the Web end;

[0063] S4, importing the URL link into the Json entity, judging whether the URL link needs to be processed, if necessary, executing S5-S7, otherwise directly jumping to the web page corresponding to the URL link;

[0064] S5, according to the URL link, acquire the rules, parameters and / or configuration information that need to process the URL link in the Json entity;

[0065] S6, calling the Native page to perform corresponding processing operations according to the rules, parameters and / or configuration information obtained in S5;

[0066] S7, call Native operation. ...

Embodiment 2

[0105] The embodiment of the present invention provides a kind of interactive system of Native and Web page, comprises:

[0106] Native side: used to customize the interaction rules, used to capture the clicked URL link, and also used to pass the URL link to the Json entity to determine whether the URL link needs to be processed, and also used to jump to the Web corresponding to the URL link The page or according to the URL link, obtain the rules, parameters and / or configuration information that need to process the URL link in the Json entity, and call the Native page to perform corresponding processing operations according to the obtained rules, parameters and / or configuration information, and perform corresponding operations;

[0107] Web side: used to store interaction rules, and also to provide Json entities containing interaction rules for Native side according to URL links.

[0108] The working process of the interaction system is the same as that of the interaction met...

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 system for Native and Web pages, and relates to the technical field of information interaction. Characters string judgment rules are customized at the Native end and written in the Web end, and therefore the Native end informs the Web end of information such as what the Native end can do, which parameters the Native end can receive and how the Native end handles with correspondence, it can be ensured that the business logic can be correctly executed by the Native end, new versions do not need to be issued when the Web pages frequently change, and therefore timeliness and reusability of the information are ensured.

Description

technical field [0001] The invention relates to the technical field of information interaction, in particular to an interaction method and system between Native and Web pages. Background technique [0002] At present, most Apps embed Web pages to quickly publish or modify new pages. With the increasing number of app users, the requirements for the form or content of web pages are more complicated, and the interaction between web pages and Native is also more complicated. Therefore, how to solve complex requirements and interactions with minimum cost has become our important work and problem to be solved urgently. [0003] In the prior art, the web page jump is generally performed by identifying character strings, and the next step operation is performed according to different character strings. [0004] Although the method of judging the string can solve some problems of interaction, this method also has obvious disadvantages: [0005] First of all, the judgment rules for...

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 Applications(China)
IPC IPC(8): G06F9/44G06F9/54
Inventor 王一飞
Owner BEIJING QIERBULAITE TECH
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