CN111782999B - Page display method, device, equipment and system - Google Patents

Page display method, device, equipment and system Download PDF

Info

Publication number
CN111782999B
CN111782999B CN202010603731.0A CN202010603731A CN111782999B CN 111782999 B CN111782999 B CN 111782999B CN 202010603731 A CN202010603731 A CN 202010603731A CN 111782999 B CN111782999 B CN 111782999B
Authority
CN
China
Prior art keywords
page
display
embedded
access request
hidden
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010603731.0A
Other languages
Chinese (zh)
Other versions
CN111782999A (en
Inventor
刘泱
谢雪松
袁甲
章焙杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202010603731.0A priority Critical patent/CN111782999B/en
Publication of CN111782999A publication Critical patent/CN111782999A/en
Application granted granted Critical
Publication of CN111782999B publication Critical patent/CN111782999B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the specification discloses a page display method, a device, equipment and a system, wherein the method comprises the steps of receiving a page access request, wherein the page access request comprises page parameter information of a page to be accessed; under the condition that the page access request is determined to be a page access request of an embedded page according to the page parameter information, acquiring data source address information corresponding to the page access request; and when the target embedded page corresponding to the data source address information exists, performing page display and hidden processing based on the first display and hidden control logic, so that the page display terminal displays the target embedded page corresponding to the data source address information. By the page display and hidden control mode, the display efficiency of the embedded page and the use experience of a user in the page switching process can be improved.

Description

Page display method, device, equipment and system
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a method, an apparatus, a device, and a system for displaying a page.
Background
In the application interface display of the business application, part of application functions are sometimes integrated by using an embedded page. However, based on the current display mode of the embedded page, when the user switches between the embedded pages or switches between the embedded pages and the original pages, the data of the embedded pages can be destroyed. When the user switches back to the embedded page displayed before, the display data of the embedded page needs to be reloaded, so that the display process related to the embedded page is complex, and the page display efficiency is low. Meanwhile, if the user operates the embedded page before switching, corresponding operation data are destroyed, and the user also needs to operate the embedded page again after switching back the embedded page, so that the use experience of the user is poor. Therefore, there is a need for a simpler and more efficient method of displaying embedded pages, so as to improve the page display efficiency and the user experience.
Disclosure of Invention
The embodiment of the specification aims to provide a page display method, device, equipment and system, which can improve page display efficiency and user experience.
The present disclosure provides a method, an apparatus, a device, and a system for displaying a page, which are implemented in the following manner:
a page display method is applied to a page display terminal, and the method comprises the following steps:
and receiving a page access request, wherein the page access request comprises page parameter information of a page to be accessed. Under the condition that the page access request is determined to be a page access request of an embedded page according to the page parameter information, acquiring data source address information corresponding to the page access request; the embedded page comprises a page mounted under the current page frame through an embedded control; the current page frame is pre-arranged in the page display terminal, so that the page display terminal displays an application interface of the corresponding service application. When the target embedded page corresponding to the data source address information exists, page display and hidden processing is carried out based on a first display and hidden control logic, so that a page display terminal displays the target embedded page corresponding to the data source address information; wherein the first implicit control logic includes setting an embedded page and a native page other than the target embedded page to a hidden state, and setting the target embedded page to a display state; the native page is a page configured based on the current page frame.
In other embodiments, the method may further comprise:
and when the target embedded page corresponding to the data source address information does not exist, creating the target embedded page corresponding to the data source address information. And carrying out page display and hidden processing based on the first display and hidden control logic so as to display the target embedded page corresponding to the data source address information.
In other embodiments, the method may further comprise:
and judging whether the current display page is an embedded page or not under the condition that the page access request is not the page access request of the embedded page according to the page parameter information. If the judgment result is yes, page display and hidden processing is carried out based on a second display and hidden control logic, so that the page corresponding to the page access request is displayed based on a native page display mode under the current page frame; the second implicit control logic includes setting all embedded pages to a hidden state and setting the native pages to a display state.
In other embodiments, the method may further comprise:
and if the current display page is not the embedded page, displaying the page corresponding to the page access request based on a native page display mode under the current page frame.
On the other hand, the embodiment of the specification also provides a page display device, which is applied to a page display terminal, and the device comprises:
the receiving module is used for receiving a page access request, wherein the page access request comprises page parameter information of a page to be accessed. The acquisition module is used for acquiring data source address information corresponding to the page access request under the condition that the page access request is determined to be a page access request of an embedded page according to the page parameter information; the embedded page comprises a page mounted under the current page frame through an embedded control; the current page frame is pre-arranged in the page display terminal so that the page display terminal displays an application interface of a corresponding service application; . The display and hidden control module is used for carrying out page display and hidden processing based on the first display and hidden control logic under the condition that the target embedded page corresponding to the data source address information exists, so that the page display terminal displays the target embedded page corresponding to the data source address information; wherein the first implicit control logic includes setting an embedded page and a native page other than the target embedded page to a hidden state, and setting the target embedded page to a display state; the native page is a page node configured based on the current page frame.
In other embodiments, the apparatus may further include:
and the information creation module is used for creating the target embedded page corresponding to the data source address information when the target embedded page corresponding to the data source address information does not exist. And the display and hidden control module is also used for carrying out page display and hidden processing based on the first display and hidden control logic so as to enable the target embedded page corresponding to the data source address information to be displayed.
In other embodiments, the apparatus may further include:
and the third judging module is used for judging whether the current display page is the embedded page or not under the condition that the page access request is determined not to be the page access request of the embedded page according to the page parameter information. The display and hidden control module is further used for performing page display and hidden processing based on a second display and hidden control logic if the judgment result is yes, so that the page corresponding to the page access request is displayed based on the original page display mode under the current page frame; the second implicit control logic includes setting all embedded pages to a hidden state and setting the native pages to a display state.
In other embodiments, the apparatus may further include:
And the page display module is used for displaying the page corresponding to the page access request based on the original page display mode under the current page frame if the current display page is not the embedded page.
In another aspect, embodiments of the present disclosure further provide a page display device, applied to the page display terminal, where the device includes a processor and a memory for storing instructions executable by the processor, where the instructions when executed by the processor implement steps including the method in any one or more of the embodiments described above.
On the other hand, the embodiment of the specification also provides a page display system, which comprises a page display terminal and a server. The page display terminal is used for sending a page display data acquisition request of a page to be accessed to the server based on the steps of the method in one or more embodiments, and displaying the page to be accessed according to the page display data fed back by the server. The server is used for receiving a page display data acquisition request and feeding back page display data to the page display terminal based on the page display data acquisition request.
According to the page display method, device, equipment and system provided by one or more embodiments of the present disclosure, by pre-configuring a page display judging and hiding control mechanism, when a page is displayed in a switching manner, whether an embedded page is involved in the current page switching display is judged. If the embedded page is related, a corresponding implicit and explicit control mechanism is called to conduct implicit and explicit control processing on each page, so that page display data of the embedded page are hidden or displayed, and therefore display efficiency of the embedded page in the page switching process and use experience of a user are improved.
Drawings
In order to more clearly illustrate the embodiments of the present description or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some of the embodiments described in the present description, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. In the drawings:
fig. 1 is a schematic flow chart of an embodiment of a page display method provided in the present specification;
FIG. 2 is a schematic diagram of a page presentation flow in one embodiment provided herein;
FIG. 3 is a schematic diagram of a page presentation flow in another embodiment provided herein;
FIG. 4 is a schematic diagram of a page presentation flow in another embodiment provided herein;
FIG. 5 is a schematic diagram of a page presentation flow in another embodiment provided herein;
FIG. 6 is a schematic diagram of a page presentation flow in another embodiment provided herein;
fig. 7 is a schematic block diagram of a page display device provided in the present disclosure.
Detailed Description
In order that those skilled in the art will better understand the technical solutions in this specification, a clear and complete description of the technical solutions in one or more embodiments of this specification will be provided below with reference to the accompanying drawings in one or more embodiments of this specification, and it is apparent that the described embodiments are only some embodiments of the specification and not all embodiments. All other embodiments, which may be made by one or more embodiments of the disclosure without undue effort by one of ordinary skill in the art, are intended to be within the scope of the embodiments of the disclosure.
In one scenario example provided in the embodiments of the present disclosure, the page presentation method may be applied to a page presentation system. The page display system can comprise a server and a page display terminal. The page display terminal can be a desktop computer, a mobile phone, a notebook computer, a wearable intelligent device and the like. The page display frame corresponding to the service application is generally arranged in the page display terminal, so that an application interface of the service application can be displayed in the page display terminal. For example, the page display frame may be designed in advance by collecting a front end frame such as VUE, and disposed in the page display terminal. For convenience of description, a page display frame of a service application currently laid in a page display terminal can be described as a current page frame, and a page displayed based on the current page frame is described as a native page of the service application. And the server stores page data to be displayed of an application interface of the service application.
In some application scenarios, the service application needs to update the new version information frequently, and in some cases, when the page display framework architecture used by the new version has a great difference from the old version, part of the services of the old version need to be designed based on the new architecture again. Or the information of other service platforms may be accessed in the information display process of the service application, so as to realize interconnection between the information. At this time, the effective display of partial old version functions or other page information to be accessed can be realized by embedding the page under the condition of not changing the architecture of the current page display frame. For example, the iframe can be used as an embedded control, and the page to be embedded is mounted under the current page frame. For ease of description, pages presented by way of embedded pages may be described as embedded pages.
However, under the current page display frame, when the embedded pages are switched or the embedded pages are switched with the original pages, the page display data corresponding to the embedded pages are destroyed, and when the user wants to access the embedded pages again, the user needs to retrieve the corresponding page display data from the server again to load and display. When the embedded page is opened again, the content of the reloaded embedded page can only be displayed to the user, and bad use experience is brought to the user. Meanwhile, the page needs to be reloaded when switching is performed each time, so that the display efficiency of the embedded page is also affected.
Accordingly, in the embodiment of the present disclosure, the page display determining component and the implicit control logic are preconfigured in the current page frame of the page display terminal. The page display judging component may include a data set that performs preset judging logic prior to page display. The implicit control logic may include a preset configuration of a data set displayed or hidden by the control page.
After receiving the page access request, the page display terminal can firstly judge whether the received page access request is an embedded page access request based on a preconfigured page display judging component. If the embedded page access request is the embedded page access request, the corresponding first implicit and explicit control logic is further called to hide other pages, and the currently accessed embedded page is displayed. If the received page access request is not an embedded page access request, further judging whether the currently displayed page is an embedded page or not. And if the currently displayed page is an embedded page, hiding all the embedded pages based on the corresponding second implicit and explicit control logic so as to display the currently to-be-accessed page based on a pre-configured original page display mode under the current page frame. If the currently displayed page is not the embedded page, the page to be accessed is directly displayed based on the original page display mode.
Through the preset page display judging and hiding control mechanism, when the display is switched among pages related to the embedded pages, the middle operation state of the embedded pages can be kept during page switching through the judging mechanism and the hiding control mechanism, the page display efficiency is improved, and the use experience of users is further improved.
Fig. 1 is a schematic flow chart of an embodiment of the page display method provided in the present specification. Although the description provides methods and apparatus structures as shown in the examples or figures described below, more or fewer steps or modular units may be included in the methods or apparatus, whether conventionally or without inventive effort. In the steps or the structures where there is no necessary causal relationship logically, the execution order of the steps or the module structure of the apparatus is not limited to the execution order or the module structure shown in the embodiments or the drawings of the present specification. The described methods or module structures may be implemented in a device, server or end product in practice, in a sequential or parallel fashion (e.g., parallel processor or multi-threaded processing environments, or even distributed processing, server cluster implementations) as shown in the embodiments or figures. In a specific embodiment, as shown in fig. 1, in one embodiment of the page display method provided in the present specification, the method may be applied to the page display terminal, and the method may include the following steps:
S20: and receiving a page access request, wherein the page access request comprises page parameter information of a page to be accessed.
The page presentation terminal may receive a page access request. The page access request may contain page parameter information of the page to be accessed. The page parameter information may include, for example, information for determining a page type, a page data storage location, etc. of a page to be accessed.
The user can trigger the page access request through a service application interface displayed by a service application program or a browser in the page display terminal. For example, a user may click on an icon corresponding to each business function on an initial function page of a business application to trigger display of a business page corresponding to the business function. Correspondingly, the page access request may include page parameter information of a service page corresponding to the service function.
Or the user intends to roll back from the currently displayed service page to the initial function page, and may trigger a roll-back operation to switch from the currently displayed service page to the initial function page. Page parameter information of a page of a previous level of the currently presented service page may be determined based on the rollback operation. Accordingly, the page access request may include page parameter information of the initial function page.
Or the user intends to switch from the currently displayed business page to the business page corresponding to the other business functions, or clicks the icon corresponding to the other business functions, so as to switch from the currently displayed business page to the display of the business page corresponding to the other business functions. Correspondingly, the page access request may include page parameter information of a service page corresponding to other service functions to be switched.
Correspondingly, the page display terminal can receive the page access request based on the triggering operation. Of course, in an actual application scenario, other manners may be used to trigger the page access request, which is not limited herein.
S22: and under the condition that the page access request is determined to be a page access request of an embedded page according to the page parameter information, acquiring data source address information corresponding to the page access request.
The page parameter information corresponding to the original page and the embedded page has certain difference. The page parameter information corresponding to the embedded page generally comprises information corresponding to the embedded control. The page display terminal can determine whether the page access request is a page access request of an embedded page according to the page parameter information.
In some embodiments, the page display determination component may be configured in advance under a current page frame in the page display terminal. The page display terminal can analyze the page parameter information based on the page display judging component and judge whether the page access request is a page access request of an embedded page.
And if the page access request is determined to be the page access request of the embedded page, acquiring the data source address information corresponding to the page access request.
In some embodiments, the page parameter information may directly include data source address information. The data source address information may refer to storage address information of page display data of a page to be accessed. The page display data may refer to data that a server sends to a page display terminal to realize corresponding page display at the page display terminal. The data source address information may be, for example, a URL (Uniform Resource Locator ).
In other embodiments, the page parameter information may also include information for indirectly determining a page display data storage location of the page to be accessed. The service display terminal can generate the data source address information of the page access request according to the page parameter information based on the pre-configured data source address information. The generation manner of the data source address information for generating the page access request according to the page parameter information may be set according to a specific page display frame, which is not limited herein.
S24: and when the target embedded page corresponding to the data source address information exists, performing page display and hidden processing based on the first display and hidden control logic, so that the page display terminal displays the target embedded page corresponding to the data source address information.
The page display judging component may further determine whether a target embedded page corresponding to the data source address information already exists. For the loaded and unopened embedded page, the iframe control information corresponding to the embedded page and the data source address information are stored in an associated mode. In some embodiments, whether the corresponding iframe control information exists or not may be determined according to the data source address information, so as to determine whether the target embedded page corresponding to the data source address information exists or not.
As shown in fig. 2, the method may include:
s240: and when the target embedded page corresponding to the data source address information does not exist, creating the target embedded page corresponding to the data source address information.
S242: and carrying out page display and hidden processing based on the first display and hidden control logic so as to enable the target embedded page corresponding to the data source address information to be displayed and other pages to be hidden.
The page display terminal can utilize a pre-configured target embedded page creation component to create a target embedded page corresponding to the data source address information. In some implementations, DOM elements for associating embedded pages can be preconfigured at specified locations for associating embedded pages. Correspondingly, after the target embedded page corresponding to the data source address information is created, the page display terminal can mount the target embedded page under the DOM element. The page display terminal can call page display data corresponding to the embedded page from the server based on the data source address information so as to realize the display of the embedded page under the current page frame.
The page display judging component may invoke the first implicit and explicit control logic with the URL of the embedded page as a retrieval parameter. The first implicit control logic may be preconfigured in the page display terminal. The first implicit control logic may include setting an embedded page and a native page other than the target embedded page to a hidden state, and setting the target embedded page to a display state. The page display terminal can control other pages to be hidden based on the first display and hidden control logic, and the target embedded page is displayed.
In other embodiments, when the page display determining component determines that the target embedded page corresponding to the data source address information exists, the step S242 may be directly executed, and the page display and hidden processing is performed based on the first display and hidden control logic, so that the current embedded page corresponding to the data source address information is displayed and other pages are hidden.
By pre-configuring the page display judging and hiding control mechanism, when the display is switched between pages related to the embedded pages, the embedded pages which are displayed and not subjected to data destruction can be hidden and the middle operation state of the embedded pages can be kept when the pages are switched through the judging mechanism and the hiding control mechanism. When the display attribute of the embedded page is set to be in a display state when the embedded page is switched back, the embedded page can be displayed based on the previous operation state of the user, and therefore page display efficiency and user experience can be greatly improved.
In other embodiments, as shown in fig. 3, the method may further include:
s26: and judging whether the current display page is an embedded page or not under the condition that the page access request is not the page access request of the embedded page according to the page parameter information.
If yes, executing step S28; if the determination is negative, step S210 is performed.
S28: if the judgment result is yes, page display and hidden processing is carried out based on the second display and hidden control logic, so that the page corresponding to the page access request is displayed based on the original page display mode under the current page frame.
And if the page information in the display state is the page information of the embedded page, determining that the current display page is the embedded page. The second implicit control logic may be preconfigured in the page display terminal. The page display judging component can call the second implicit control logic according to the judging result as a call parameter.
The second implicit control logic may include setting all embedded pages to a hidden state and setting native pages to a display state. Specifically, all the embedded page nodes can be set to be in a hidden state, and the page display component of the original page is set to be in a display state, so that all the embedded pages are hidden, and the original page corresponding to the page access request is displayed based on an original page display mode. The display mode of the original page can be based on the original layout mode under the page display frame, and the display mode is not limited herein.
S210: and if the current display page is not the embedded page, displaying the page corresponding to the page access request based on a native page display mode.
According to the scheme provided by the embodiment, the page display judging and hiding control mechanism is preconfigured, when the display is switched among the pages related to the embedded pages, the embedded pages which are displayed and not subjected to data destruction can be hidden when the pages are switched through the judging mechanism and the hiding control mechanism, and the middle operation state of the embedded pages is maintained. When the display attribute of the embedded page is set to be in a display state directly when the embedded page is switched back, the embedded page can be displayed based on the previous operation state of the user, and therefore page display efficiency and user experience can be greatly improved.
Based on the solutions provided in the foregoing embodiments, the embodiments of the present specification further provide a scenario example.
The current page frame adopts a Vue page frame, and an iframe is used as an embedded control of an embedded page. The page display judging component may be laid out under the current page frame in advance. And a DOM element for associating the embedded page can be added at a designated node of the page layout component of the Vue page frame in advance so as to be used for realizing the display of the embedded page under the current page frame. And, a new saliency control logic may be added in the Vuex in advance for controlling the page saliency process involving the embedded page. Wherein Vuex may be an information base for centrally storing information for managing the status of all components.
Specifically, as shown in fig. 4, fig. 4 shows a schematic diagram of processing logic of page switching. When a user accesses a page, the page display determining component may determine whether the page to be accessed by the user is an embedded page, for example, whether the current access is a page corresponding to an iframe function. If so, the information generating component generates a URL according to the page parameter information in the access request, then calls an interface of an embedded page processing component (iframe processing logic in fig. 4) in the Vuex, transmits the URL to the embedded page processing component, and the embedded page processing component sets a page corresponding to the URL into a display state and sets other pages into a hidden state based on preconfigured implicit processing logic.
FIG. 5 illustrates processing logic of an embedded page processing component. The URL may be used as a parameter to invoke the embedded page processing component. After receiving the URL, the embedded page processing component firstly judges whether an iframe page node corresponding to the URL exists. If so, setting the page corresponding to the URL as a display state and setting other pages as a hidden state based on the first implicit control logic. Fig. 6 is a first implicit control logic. Specifically, the original Vue page component can be hidden first, then DOM elements of the iframe mounting point are set to be in a display state, the iframe page node to be accessed is searched, the node is also set to be in the display state, and page switching is completed.
If the iframe page node corresponding to the URL does not exist, as shown in fig. 5, a new iframe page node may be added, the new iframe page node is mounted on the DOM element of the designated node, then, based on the first implicit control logic, the page corresponding to the URL is set to be in a display state, and other pages are set to be in a hidden state.
As shown in fig. 4, if the page to be accessed by the user is not an embedded page, whether the currently displayed page is an embedded page or not is determined, if so, whether the currently accessed page is a page corresponding to the iframe function or not is determined. If the currently displayed page is an embedded page, based on the second implicit/explicit control logic, the iframe page node is set to be in a hidden state, and the original page is set to be in a display state, and then the page accessed by the user is displayed. As shown in fig. 6, the iframe mounting point is hidden by setting the display attribute of the iframe mounting point DOM as none, all the iframe nodes are set to be hidden, then the native Vue page component is set to be in a display state, and page switching is completed based on the native Vue page component.
As shown in fig. 4, if the currently displayed page is not an embedded page, the switching of the page is directly performed based on the native Vue page component.
In other embodiments, the embedded page delete component may also be preconfigured. If the user intends to close the loaded embedded page, a corresponding trigger signal can be sent out, and the page display terminal can destroy the related display data of the loaded embedded page by utilizing the embedded page deleting component based on the trigger signal. When the user opens the embedded page again, the page display terminal determines that the loaded embedded page does not exist according to the judging mechanism, and then the page display data acquisition request is sent to the server again so as to reload the page.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. Specific reference may be made to the foregoing description of related embodiments of the related process, which is not described herein in detail.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
According to the page display method provided by one or more embodiments of the present disclosure, by pre-configuring a page display judging and hiding control mechanism, when a page is displayed in a switching manner, whether an embedded page is involved in the current page switching display is judged. If the embedded page is related, a corresponding implicit and explicit control mechanism is called to conduct implicit and explicit control processing on each page, so that page display data of the embedded page are hidden or displayed, and therefore display efficiency of the embedded page in the page switching process and use experience of a user are improved.
Based on the above page display method, one or more embodiments of the present disclosure further provide a page display device. The apparatus may include a system, software (application), module, component, server, etc. using the methods described in the embodiments of the present specification in combination with necessary hardware implementation. Based on the same innovative concepts, the embodiments of the present description provide means in one or more embodiments as described in the following embodiments. Because the implementation scheme and the method for solving the problem by the device are similar, the implementation of the device in the embodiment of the present disclosure may refer to the implementation of the foregoing method, and the repetition is not repeated. As used below, the term "unit" or "module" may be a combination of software and/or hardware that implements the intended function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated. Specifically, fig. 7 shows a schematic block diagram of an embodiment of a page display device provided in the specification, as shown in fig. 7, applied to a page display terminal, where the device may include:
The receiving module 702 may be configured to receive a page access request, where the page access request includes page parameter information of a page to be accessed.
The obtaining module 704 may be configured to obtain data source address information corresponding to the page access request when it is determined that the page access request is a page access request of an embedded page according to the page parameter information; the embedded page comprises a page mounted under the current page frame through an embedded control; the current page frame is pre-arranged in the page display terminal, so that the page display terminal displays an application interface of the corresponding service application.
The display control module 706 may be configured to perform, when there is a target embedded page corresponding to the data source address information, page display processing based on the first display control logic, so that the page display terminal displays the target embedded page corresponding to the data source address information; wherein the first implicit control logic includes setting an embedded page and a native page other than the target embedded page to a hidden state, and setting the target embedded page to a display state; the native page is a page node configured based on the current page frame.
In other embodiments, the apparatus may further include:
the information creation module 708 may be configured to create, when there is no target embedded page corresponding to the data source address information, a target embedded page corresponding to the data source address information.
The implicit control module 706 may be further configured to perform page implicit processing based on the first implicit control logic, so that the target embedded page corresponding to the data source address information is displayed.
In other embodiments, the apparatus may further include:
the judging module 710 may be configured to judge whether the currently displayed page is an embedded page if it is determined that the page access request is not a page access request of an embedded page according to the page parameter information.
The implicit control module 706 may be further configured to perform page implicit processing based on a second implicit control logic if the determination result is yes, so that the page corresponding to the page access request is displayed based on a native page display manner under the current page frame; the second implicit control logic includes setting all embedded pages to a hidden state and setting the native pages to a display state.
In other embodiments, the apparatus further comprises:
the page display module can be used for displaying the page corresponding to the page access request based on a native page display mode under the current page frame if the current display page is not an embedded page.
It should be noted that the above description of the apparatus according to the method embodiment may also include other implementations. Specific implementation may refer to descriptions of related method embodiments, which are not described herein in detail.
According to the page display device provided by one or more embodiments of the present disclosure, by pre-configuring a page display judging and hiding control mechanism, when a page is displayed in a switching manner, whether an embedded page is involved in the current page switching display is judged. If the embedded page is related, a corresponding implicit and explicit control mechanism is called to conduct implicit and explicit control processing on each page, so that page display data of the embedded page are hidden or displayed, and therefore display efficiency of the embedded page in the page switching process and use experience of a user are improved.
The method or apparatus according to the above embodiments provided in the present specification may implement service logic by a computer program and be recorded on a storage medium, where the storage medium may be read and executed by a computer, to implement the effects of the schemes described in the embodiments of the present specification. Accordingly, the present specification also provides a page display device comprising a processor and a memory storing processor executable instructions which when executed by the processor implement steps comprising the method of any one of the embodiments described above.
The storage medium may include physical means for storing information, typically by digitizing the information before storing it in an electronic, magnetic, or optical medium. The storage medium may include: means for storing information using electrical energy such as various memories, e.g., RAM, ROM, etc.; devices for storing information using magnetic energy such as hard disk, floppy disk, magnetic tape, magnetic core memory, bubble memory, and USB flash disk; devices for optically storing information, such as CDs or DVDs. Of course, there are other ways of readable storage medium, such as quantum memory, graphene memory, etc.
It should be noted that the above description of the apparatus according to the method embodiment may also include other implementations. Specific implementation may refer to descriptions of related method embodiments, which are not described herein in detail.
The present specification also provides a page presentation system that may be a stand-alone page presentation system or may be used in a variety of computer data processing systems. The system may be a stand-alone server or may include a server cluster, a system (including a distributed system), software (applications), an actual operating device, a logic gate device, a quantum computer, etc., using one or more of the methods or one or more of the embodiment devices of the present specification in combination with a terminal device that implements the necessary hardware.
In some embodiments, the system may include a page presentation terminal and a server. The server can be pre-stored with page display data of the user access page, so that the page display terminal displays the page accessed by the user to the user based on the page display data.
The page display terminal may send a page display data acquisition request of the page to be accessed to the server according to the steps described in the one or more embodiments, and display the page to be accessed according to the page display data fed back by the server.
The server can be used for receiving a page display data acquisition request and feeding back page display data to the page display terminal based on the page display data acquisition request.
Based on the scheme provided by the embodiment, when the loaded embedded page does not exist in the page display terminal, the page display terminal can send a page display data acquisition request to the server so as to load the page based on the acquired page display data and display the page to a user. When the user switches to other pages, the currently loaded page is hidden, and when the user switches back to the page, the page display terminal only needs to set the display attribute of the page to be displayed, and does not need to send a page display data acquisition request to the server. By the mode, when the page is switched, page display data do not need to be acquired again to load the page, so that the display efficiency of the embedded page in the page switching process and the use experience of a user are improved.
If the user intends to close the loaded embedded page, a corresponding trigger signal can also be sent out, and the page display terminal can destroy the relevant display data of the loaded embedded page based on the trigger signal. When the user opens the embedded page again, the page display terminal determines that the loaded embedded page does not exist according to the judging mechanism, and then the page display data acquisition request is sent to the server again so as to reload the page.
It should be noted that the embodiments of the present specification are not limited to the case where the standard data model/template is met or described in the embodiments of the present specification. Some industry standards or embodiments modified slightly based on the implementation described by the custom manner or examples can also realize the same, equivalent or similar or predictable implementation effect after modification of the above examples. Examples of data acquisition, storage, judgment, processing, etc., using these modifications or variations are still within the scope of alternative embodiments of the present description.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments. In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present specification. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
The foregoing is merely exemplary of the present disclosure and is not intended to limit the disclosure. Various modifications and alterations to this specification will become apparent to those skilled in the art. Any modifications, equivalent substitutions, improvements, or the like, which are within the spirit and principles of the present description, are intended to be included within the scope of the claims of the present description.

Claims (9)

1. The page display method is characterized by being applied to a page display terminal, and comprises the following steps:
receiving a page access request, wherein the page access request comprises page parameter information of a page to be accessed;
under the condition that the page access request is determined to be a page access request of an embedded page according to the page parameter information, acquiring data source address information corresponding to the page access request; the embedded page comprises a page mounted under the current page frame through an embedded control; the current page frame is pre-arranged in the page display terminal so that the page display terminal displays an application interface of a corresponding service application;
when the target embedded page corresponding to the data source address information exists, page display and hidden processing is carried out based on a first display and hidden control logic, so that a page display terminal displays the target embedded page corresponding to the data source address information; wherein the first implicit control logic includes setting an embedded page and a native page other than the target embedded page to a hidden state, and setting the target embedded page to a display state; the native page is a page configured based on the current page frame.
2. The method according to claim 1, wherein the method further comprises:
when the target embedded page corresponding to the data source address information does not exist, creating the target embedded page corresponding to the data source address information;
and carrying out page display and hidden processing based on the first display and hidden control logic so as to display the target embedded page corresponding to the data source address information.
3. The method according to claim 1, wherein the method further comprises:
judging whether the current display page is an embedded page or not under the condition that the page access request is not the page access request of the embedded page according to the page parameter information;
if the judgment result is yes, page display and hidden processing is carried out based on a second display and hidden control logic, so that the page corresponding to the page access request is displayed based on a native page display mode under the current page frame; the second implicit control logic includes setting all embedded pages to a hidden state and setting the native pages to a display state.
4. A method according to claim 3, characterized in that the method further comprises:
And if the current display page is not the embedded page, displaying the page corresponding to the page access request based on a native page display mode under the current page frame.
5. A page display device, characterized in that it is applied to a page display terminal, said device comprising:
the receiving module is used for receiving a page access request, wherein the page access request comprises page parameter information of a page to be accessed;
the acquisition module is used for acquiring data source address information corresponding to the page access request under the condition that the page access request is determined to be a page access request of an embedded page according to the page parameter information; the embedded page comprises a page mounted under the current page frame through an embedded control; the current page frame is pre-arranged in the page display terminal so that the page display terminal displays an application interface of a corresponding service application;
the display and hidden control module is used for carrying out page display and hidden processing based on the first display and hidden control logic under the condition that the target embedded page corresponding to the data source address information exists, so that the page display terminal displays the target embedded page corresponding to the data source address information; wherein the first implicit control logic includes setting an embedded page and a native page other than the target embedded page to a hidden state, and setting the target embedded page to a display state; the native page is a page node configured based on the current page frame.
6. The apparatus of claim 5, wherein the apparatus further comprises:
the information creation module is used for creating the target embedded page corresponding to the data source address information when the target embedded page corresponding to the data source address information does not exist;
and the display and hidden control module is also used for carrying out page display and hidden processing based on the first display and hidden control logic so as to enable the target embedded page corresponding to the data source address information to be displayed.
7. The apparatus of claim 5, wherein the apparatus further comprises:
the judging module is used for judging whether the current display page is an embedded page or not under the condition that the page access request is determined not to be the page access request of the embedded page according to the page parameter information;
the display and hidden control module is further used for performing page display and hidden processing based on a second display and hidden control logic if the judgment result is yes, so that the page corresponding to the page access request is displayed based on the original page display mode under the current page frame; the second implicit control logic includes setting all embedded pages to a hidden state and setting the native pages to a display state.
8. The apparatus of claim 7, wherein the apparatus further comprises:
and the page display module is used for displaying the page corresponding to the page access request based on the original page display mode under the current page frame if the current display page is not the embedded page.
9. A page display device, characterized in that it is applied to said page display terminal, said device comprising a processor and a memory for storing processor-executable instructions, which instructions, when executed by said processor, implement the steps comprising the method according to any of the preceding claims 1-4.
CN202010603731.0A 2020-06-29 2020-06-29 Page display method, device, equipment and system Active CN111782999B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010603731.0A CN111782999B (en) 2020-06-29 2020-06-29 Page display method, device, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010603731.0A CN111782999B (en) 2020-06-29 2020-06-29 Page display method, device, equipment and system

Publications (2)

Publication Number Publication Date
CN111782999A CN111782999A (en) 2020-10-16
CN111782999B true CN111782999B (en) 2023-08-15

Family

ID=72760305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010603731.0A Active CN111782999B (en) 2020-06-29 2020-06-29 Page display method, device, equipment and system

Country Status (1)

Country Link
CN (1) CN111782999B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112307384A (en) * 2020-10-21 2021-02-02 深圳市欢太科技有限公司 Page snapshot display method and device, electronic equipment and storage medium
CN112463121B (en) * 2020-11-23 2024-03-19 西安西热电站信息技术有限公司 Method for persisting external page state in multi-tab application system based on vue

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109783169A (en) * 2018-12-13 2019-05-21 深圳壹账通智能科技有限公司 Functional module methods of exhibiting, device, computer equipment and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109783169A (en) * 2018-12-13 2019-05-21 深圳壹账通智能科技有限公司 Functional module methods of exhibiting, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111782999A (en) 2020-10-16

Similar Documents

Publication Publication Date Title
US7739551B2 (en) Web page error reporting
US9747117B2 (en) System and methods for loading an application and its modules in a client device
CN112765023B (en) Test case generation method and device
CN104704468A (en) Cross system installation of WEB applications
CN111782999B (en) Page display method, device, equipment and system
CN114816401B (en) Interface element positioning method, electronic equipment and storage medium
JP7106001B2 (en) SUB-APPLICATION DEVELOPMENT METHOD, APPARATUS, COMPUTER DEVICE, AND COMPUTER PROGRAM
US20100088270A1 (en) Data versioning concept including time dependency and active and inactive states
US20110214076A1 (en) Method and apparatus for optimizing generation of user interface
CN101414257A (en) Method, device and terminal for implementing software interface
TW200925972A (en) Modifying hover help for a user interface
CN105074652B (en) For remotely providing the method and computer system of application function to printer
CN107391914B (en) Parameter display method, device and equipment
CN112506854A (en) Method, device, equipment and medium for storing page template file and generating page
US20170359445A1 (en) Dynamic discovery and management of page fragments
CN109857537B (en) Background service starting method, device, medium and electronic equipment
CN110362341A (en) Business management method, device, equipment and storage medium based on micro services framework
CN116112457A (en) Method, device, computer equipment and storage medium for notifying message
CN115080037A (en) Method, device, equipment and storage medium for page interaction
CN114116077A (en) Picture editing method and device, electronic equipment and medium
CN111124386B (en) Animation event processing method, device, equipment and storage medium based on Unity
CN107045549B (en) Method and device for acquiring page number of electronic book
CN111367898A (en) Data processing method, device, system, electronic equipment and storage medium
CN111026466A (en) File processing method and device, computer readable storage medium and electronic equipment
WO2019100655A1 (en) Method and apparatus for constructing invoice requisition anomalies, computer device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant