Unlock instant, AI-driven research and patent intelligence for your innovation.

Page data interaction method and device, storage medium and electronic equipment

A technology of page data and interactive devices, which is applied in the direction of program control devices, network data retrieval, and other database retrievals. It can solve problems such as large storage space, prone to abnormalities, and complex data interaction methods, and achieve the effect of accurate data interaction.

Pending Publication Date: 2020-09-04
BEIKE TECH CO LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Such a data interaction method is complex to implement, and requires a large server database or browser storage space, and is prone to exceptions

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
  • Page data interaction method and device, storage medium and electronic equipment
  • Page data interaction method and device, storage medium and electronic equipment
  • Page data interaction method and device, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0057] figure 2 A schematic flow chart of the page data interaction method provided in the embodiment of this application, as shown in figure 2 As shown, this embodiment mainly includes:

[0058] S201: When the current page acquires the page opening instruction, render and display a virtual page according to the page opening instruction; the virtual page is a component of the current page.

[0059] The execution subject of this embodiment of the application is the current page. The current page is the page currently displayed to the user in the user interface, and is a page that needs to obtain interactive data through data interaction between pages. In the prior art, when the command to open the page is obtained, a new jump page is rendered and displayed. In the embodiment of the present application, when the command to open the page is obtained, a virtual page is rendered and displayed as the jump page to the user.

[0060] Here, the virtual page is implemented using a ...

Embodiment 2

[0066] The embodiment of the present application also provides a page data interaction method, which is applied to the current page, that is to say, the execution subject of the embodiment of the present application is the current page, such as image 3 shown, including:

[0067] S301: Obtain an instruction to open a page.

[0068] During specific implementation, the instruction to open the page may be obtained through click events of controls such as buttons, labels, and text on the current page.

[0069] S302: Add call information of the virtual page at the top of the page stack.

[0070] The user interface uses the page stack to store the history of opened pages and to manage the order in which pages are opened and closed. Every time a new page is opened, the call information of the page is added to the top of the page stack, and when the page is closed, the pages are closed sequentially according to the order of the pages in the page stack. Although the embodiment of th...

Embodiment 3

[0085] Such as Figure 4As shown, a page data interaction device 400 provided in the embodiment of the present application is applied to the current page, including:

[0086] The display module 401 is configured to render and display a virtual page according to the page opening instruction when the page opening instruction is acquired; the virtual page is a component of the current page;

[0087] A pointer module 402, configured to pass a pointer parameter of a callback function to the virtual page, wherein the pointer parameter is used to make the virtual page call the callback function of the current page;

[0088] A data acquisition module 403, configured to acquire the interaction data returned by the virtual page through the callback function;

[0089] The closing module 404 is configured to close the virtual page when a close event of the virtual page is detected.

[0090] The page data interaction device 400 may also include a central control module, each module in th...

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 a page data interaction method and device, a storage medium and electronic equipment, and relates to a page data interaction technology. According to the specific scheme, the method comprises the steps that when a current page obtains a page opening instruction, a virtual page is rendered and displayed according to the page opening instruction, wherein the virtual page is acomponent of the current page; enabling the current page to transmit pointer parameters of a callback function to the virtual page, and acquiring interaction data returned by the virtual page throughthe callback function; and when the current page monitors a closing event of the virtual page, closing the virtual page. According to the method and the device, the data interaction between two pagescan be simply and accurately realized without consuming extra storage space of a server-side database or a browser.

Description

technical field [0001] The present application relates to page data interaction technology, in particular to a page data interaction method, device, storage medium and electronic equipment. Background technique [0002] Currently, as the functions of the mobile application system or the web application system become more and more complex, the user interface for implementing user interaction in the mobile application system or the web application system becomes more and more complex, and the number of pages in the user interface also increases. When implementing and managing pages, it is inevitable to face the problem of how to perform data interaction between different pages of the user interface. [0003] In the prior art, data interaction between two pages is usually stored in a server-side database or browser. When the current page jumps to a new jump page, the data of the current page is stored in the server-side database or browser storage, and retrieve data from the s...

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): G06F16/957G06F9/448G06F9/455
CPCG06F16/9574G06F9/45512G06F9/449G06F9/4484
Inventor 佟玉婵李金鹏
Owner BEIKE TECH CO LTD