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

H5 page and native APP interaction method and device and storage medium

An interactive method and page technology, applied in the field of R&D management, can solve problems such as difficulty in updating, waste of development manpower, and poor APP code quality, and achieve the effect of reducing the amount of business development, improving code quality, and reducing business burden.

Pending Publication Date: 2020-10-13
PINGAN INT SMART CITY TECH CO LTD
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Traditional APP development has defects such as difficulty in updating and long review period before it is put on the shelves; for example, short-term event pages that need to be modified many times spend a lot of time on page development, and need to modify the code and resubmit for review when the event is updated
Therefore, the lengthy development cycle causes a waste of development manpower, and it is easy to bury code defects, resulting in poor APP code quality
[0003] Compared with the native APP, the H5 page development cycle is short and the update is flexible, but the user experience is worse than the native APP

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
  • H5 page and native APP interaction method and device and storage medium
  • H5 page and native APP interaction method and device and storage medium
  • H5 page and native APP interaction method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] The embodiment of the present invention provides an interaction method between an H5 page and a native APP, which is applied to a mobile terminal of the Android system, such as figure 1 As shown, the method specifically includes the following steps:

[0043] Step S101: When the target APP loads an H5 page, load a preset file into the H5 page; wherein, the preset file includes: a message queue and an interaction protocol.

[0044] Among them, H5 page is an abbreviation of HTML5 page, and HTML5 is a language description method for constructing Web content.

[0045] Specifically, the preset file includes: a message queue for storing interaction messages sent from the H5 page to the target APP, and an interaction protocol agreed in advance between the H5 page and the target APP.

[0046] Further, the loading of the preset preset file into the H5 page specifically includes:

[0047] Step A1: Obtain the preset file, and read the preset file into the memory of the target APP...

Embodiment 2

[0082] An embodiment of the present invention provides an interaction device between an H5 page and a native APP, such as figure 2 As shown, the device specifically includes the following components:

[0083] 1) Loading module 201, configured to load a preset file into the H5 page when the target APP loads the H5 page; wherein, the preset file includes: a message queue and an interaction protocol.

[0084] Specifically, the loading module 201 is used for:

[0085] Obtain the preset file, and read the preset file into the memory of the target APP;

[0086] converting the preset file into a character string;

[0087] The character string in the memory is loaded into the H5 page by calling the webpage view.

[0088] Further, the device also includes:

[0089] A registration module, configured to register in the target APP a task parser for parsing interactive messages and a plurality of task processors for processing different types of interactive services when the target AP...

Embodiment 3

[0109] This embodiment also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server, or a cabinet server (including an independent server, or A server cluster composed of multiple servers), etc. Such as image 3 As shown, the computer device 30 in this embodiment at least includes but is not limited to: a memory 301 and a processor 302 that can be communicated with each other through a system bus. It should be pointed out that, image 3 Only computer device 30 is shown having components 301-302, but it should be understood that implementing all of the illustrated components is not a requirement and that more or fewer components may instead be implemented.

[0110] In this embodiment, the memory 301 (that is, a readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), s...

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 H5 page and native APP interaction method and device and a storage medium, and the method comprises the steps: loading a preset file into an H5 page when a target APP loadsthe H5 page, wherein the preset file comprises a message queue and an interaction protocol; adding an interaction message sent to the target APP by the H5 page to the message queue, and notifying thetarget APP according to the interaction protocol, so as to enable the target APP to obtain the interaction message from the message queue; determining a target task processor corresponding to the interaction type information in the interaction message by calling a task parser, and adding interaction parameter information in the interaction information to the target task processor; calling a task manager to run the target task processor so as to achieve interaction operation corresponding to the interaction message; according to the method and device, the convenience and reliability of interaction between the H5 page and the native APP can be ensured.

Description

technical field [0001] The present invention relates to the technical field of research and development management, in particular to an interaction method, device and storage medium between an H5 page and a native APP. Background technique [0002] Traditional APP development has defects such as difficulty in updating and long review period before release; for example, a short-term event page that needs to be modified many times takes a lot of time in page development, and the code needs to be modified and resubmitted for review when the event is updated. Therefore, the lengthy development cycle causes a waste of development manpower, and it is easy to bury code defects, resulting in poor APP code quality. [0003] Compared with native APPs, the development cycle of H5 pages is shorter and the updates are flexible, but the user experience is worse than that of native APPs. Therefore, how to better combine the H5 page with the native APP so that the advantages of the two com...

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): G06F8/38G06F9/54
CPCG06F8/38G06F9/546
Inventor 陈佳林
Owner PINGAN INT SMART CITY TECH 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