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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


