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

Page display method, device, equipment and system Download PDF

Info

Publication number
CN111782999A
CN111782999A CN202010603731.0A CN202010603731A CN111782999A CN 111782999 A CN111782999 A CN 111782999A CN 202010603731 A CN202010603731 A CN 202010603731A CN 111782999 A CN111782999 A CN 111782999A
Authority
CN
China
Prior art keywords
page
display
embedded
access request
source address
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.)
Granted
Application number
CN202010603731.0A
Other languages
Chinese (zh)
Other versions
CN111782999B (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

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 the page access request of the 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 hiding processing based on a first hiding control logic so that a page display terminal displays the target embedded page corresponding to the data source address information. By the aid of the page display and hidden control mode, display efficiency of the embedded page in the page switching process and use experience of a user 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 business application, a part of application functions are sometimes integrated by using an embedded page mode. However, based on the current embedded page display mode, when a user switches between embedded pages or between an embedded page and a native page, the data of the embedded page is 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 is destroyed, and the user needs to operate the embedded page again after switching back to the embedded page, so that the user experience is poor. Therefore, a simpler and more effective method for displaying an embedded page is needed to improve the page display efficiency and the user experience.
Disclosure of Invention
An object of the embodiments of the present specification is to provide a page display method, device, apparatus, and system, which can improve page display efficiency and user experience.
The specification provides a page display method, a device, equipment and a system, which are realized by the following modes:
a page display method is 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 the page access request of the 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 can display the application interface of the corresponding business application. When a target embedded page corresponding to the data source address information exists, performing page hiding processing based on a first hiding control logic so that a page display terminal displays the target embedded page corresponding to the data source address information; the first display and hidden control logic sets embedded pages except the target embedded page and a native page to be in a hidden state and sets the target embedded page to be in a display state; wherein the native page is a page configured based on the current page frame.
In still other embodiments, the method may further comprise:
and under the condition that 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 performing page display and hiding processing based on the first display and hiding control logic so as to display a target embedded page corresponding to the data source address information.
In still other embodiments, the method may further comprise:
and under the condition that the page access request is not the page access request of the embedded page according to the page parameter information, judging whether the current display page is the embedded page or not. If so, performing page display and hiding processing based on a second display and hiding control logic so as to display a page corresponding to the page access request based on a native page display mode under the current page frame; the second display and hidden control logic sets all embedded pages to be in a hidden state and sets the native pages to be in a display state.
In still 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 the native page display mode under the current page frame.
On the other hand, an embodiment of the present specification further provides a page display apparatus, which is applied to a page display terminal, and the apparatus includes:
the device comprises a receiving module and a processing module, wherein the receiving module is used for receiving a page access request, and the page access request comprises page parameter information of a page to be accessed. The obtaining module is used for obtaining data source address information corresponding to the page access request under the condition that the page access request is determined to be the page access request of the 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 can display an application interface of the corresponding business application; . The display and hiding control module is used for performing page display and hiding processing based on a first display and hiding control logic under the condition that a target embedded page corresponding to the data source address information exists, so that a page display terminal displays the target embedded page corresponding to the data source address information; the first display and hidden control logic sets embedded pages except the target embedded page and a native page to be in a hidden state and sets the target embedded page to be in a display state; and the native page is a page node configured based on the current page frame.
In other embodiments, the apparatus may further comprise:
and the information creating module is used for creating the target embedded page corresponding to the data source address information under the condition that the target embedded page corresponding to the data source address information does not exist. The display and hidden control module is further configured to perform page display and hidden processing based on the first display and hidden control logic, so that a target embedded page corresponding to the data source address information is displayed.
In other embodiments, the apparatus may further comprise:
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 not 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 a native page display mode under the current page frame; the second display and hidden control logic sets all embedded pages to be in a hidden state and sets the native pages to be in a display state.
In other embodiments, the apparatus may further comprise:
and the page display module is 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 the embedded page.
On the other hand, the embodiments of the present specification further provide a page display device, which is applied to the page display terminal, where the page display device includes a processor and a memory for storing processor-executable instructions, and the instructions, when executed by the processor, implement the steps of the method according to any one or more of the above-mentioned embodiments.
On the other hand, the embodiment of the present specification further provides a page display system, where the system includes 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 the 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, the page display device, the page display equipment and the page display system provided by one or more embodiments of the specification, the page display judgment and display and hiding control mechanism is configured in advance, and when the page is switched and displayed, whether the embedded page is related to the current page switching and displaying or not is judged. If the embedded page is involved, calling a corresponding display and hidden control mechanism to perform display and hidden control processing on each page so as to hide or display the page display data of the embedded page, thereby improving the display efficiency of the embedded page in the page switching process and the use experience of a user.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort. In the drawings:
fig. 1 is a schematic flowchart of an embodiment of a page display method provided in this specification;
FIG. 2 is a schematic page display flow chart in one embodiment provided by the present specification;
FIG. 3 is a schematic view of a page display flow in another embodiment provided by the present specification;
FIG. 4 is a schematic view of a page display flow in another embodiment provided by the present specification;
FIG. 5 is a schematic view of a page display flow in another embodiment provided by the present specification;
FIG. 6 is a schematic view of a page display flow in another embodiment provided by the present specification;
fig. 7 is a schematic block diagram of a page displaying apparatus provided in this specification.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in one or more embodiments of the present specification will be clearly and completely described below with reference to the drawings in one or more embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the specification, and not all embodiments. All other embodiments obtained by a person skilled in the art based on one or more embodiments of the present specification without making any creative effort shall fall within the protection scope of the embodiments of the present specification.
In a scenario example provided by the embodiment of the present specification, the page display method may be applied to a page display 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. A page display frame corresponding to the service application is usually laid 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 collect pre-design of front end frames such as VUE, and be arranged in the page display terminal. For convenience of expression, a page display frame of a business application currently laid in a page display terminal may be described as a current page frame, and a page displayed based on the current page frame may be described as a native page of the business application. The server stores page data to be displayed on an application interface of the business application.
In some application scenarios, the service application needs to update version information frequently, and in some cases, when a page display framework architecture used by a new version is greatly different from an old version, a part of services of the old version needs to be designed based on the new architecture again. Or the information of other service platforms may also need to be accessed in the information display process of the service application, so as to implement the interconnection between the information. At this time, a partial old version function or other page information needing to be accessed can be effectively displayed in a page embedding mode without changing the framework of the current page display frame. If the iframe can be used as the embedded control, the page to be embedded is mounted under the current page frame. For convenience of description, a page presented by embedding a page may be described as an embedded page.
However, in the current page display framework, when switching between the embedded pages or switching between the embedded pages and the native pages, the page display data corresponding to the embedded pages is destroyed, and when the user wants to access the embedded pages again, the user needs to call the corresponding page display data from the server again to perform loading display. When the embedded page is opened again, the content of the reloaded embedded page can be only displayed to the user, and poor use experience is brought to the user. Meanwhile, the page needs to be reloaded during each switching, and the display efficiency of the embedded page is influenced.
Correspondingly, in the embodiment of the present specification, a page display determination component and a display and hidden control logic are configured in advance in the current page frame of the page display terminal. The page display judgment component may include a data set for executing a preset judgment logic before the page is displayed. The explicit and implicit control logic may include a preset configuration of data sets for controlling the display or the hiding of the page.
After receiving the page access request, the page display terminal may first determine whether the received page access request is an embedded page access request based on a preconfigured page display determination component. If the embedded page access request is the embedded page access request, the corresponding first display and hidden control logic is further called to hide other pages, and the currently accessed embedded page is displayed. And if the received page access request is not the embedded page access request, further judging whether the currently displayed page is the embedded page. And if the currently displayed page is an embedded page, further hiding all embedded pages based on the corresponding second explicit-implicit control logic so as to display the currently to-be-accessed page based on a native page display mode pre-configured under the current page frame. And if the currently displayed page is not the embedded page, directly displaying the currently accessed page based on the native page display mode.
By pre-configuring the page display judgment and display and hiding control mechanism, when the display is switched among the pages related to the embedded page, the middle operation state of the embedded page can be kept during the page switching through the judgment mechanism and the display and hiding control mechanism, the page display efficiency is improved, and the use experience of a user is further improved.
Fig. 1 is a schematic flow chart of an embodiment of the page display method provided in this specification. Although the present specification provides the method steps or apparatus structures as shown in the following examples or figures, more or less steps or modules may be included in the method or apparatus structures based on conventional or non-inventive efforts. In the case of steps or structures which do not logically have the necessary cause and effect relationship, the execution order of the steps or the block structure of the apparatus is not limited to the execution order or the block structure shown in the embodiments or the drawings of the present specification. When the described method or module structure is applied to a device, a server or an end product in practice, the method or module structure according to the embodiment or the figures may be executed sequentially or in parallel (for example, in a parallel processor or multi-thread processing environment, or even in an implementation environment including distributed processing and server clustering). In a specific embodiment, as shown in fig. 1, in an embodiment of the page display method provided in this specification, the method may be applied to the page display terminal, and the method may include the following steps:
s20: 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 include page parameter information of a page to be accessed. The page parameter information may include, for example, information for determining a page type of a page to be accessed, a page data storage location, and the like.
The user may trigger the page access request through a service application program in the page display terminal or a service application interface displayed by a browser or the like. For example, when a user intends to access a certain service function, an icon corresponding to each service function on an initial function page of a service application may be clicked to trigger display of the service page corresponding to the service 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 rollback from the currently displayed business page to the initial function page, and may also trigger a rollback operation to switch from the currently displayed business page to the initial function page. Page parameter information of a previous page of the currently exposed business 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 service page to a service page corresponding to another service function, and may also click an icon corresponding to another service function, so as to switch from the currently displayed service page to the display of the service page corresponding to the other service function. Correspondingly, the page access request may include page parameter information of a service page corresponding to the other service function 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, the page access request may also be triggered in other manners, which is not limited herein.
S22: and under the condition that the page access request is determined to be the page access request of the 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 native page and the embedded page has certain difference. For example, the page parameter information corresponding to the embedded page usually includes 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 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 be data that is sent to the page display terminal by the server to realize the corresponding page display at the page display terminal. The data source address information may be a URL (Uniform Resource Locator), for example.
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 may generate the data source address information of the page access request according to the page parameter information based on preconfigured data source address information. The generation manner of the data source address information of the page access request generated 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 hiding processing based on a first hiding control logic so that a page display terminal displays the target embedded page corresponding to the data source address information.
The page display determination component may further determine whether a target embedded page corresponding to the data source address information already exists. For the loaded and unclosed embedded page, the iframe control information and the data source address information corresponding to the embedded page are stored in a correlated manner. In some embodiments, whether corresponding iframe control information exists may be determined according to the data source address information, so as to determine whether a target embedded page corresponding to the data source address information exists.
As shown in fig. 2, the method may include:
s240: and under the condition that 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 performing page display and hiding processing based on the first display and hiding control logic so as to display a target embedded page corresponding to the data source address information and hide other pages.
The page display terminal can create the target embedded page corresponding to the data source address information by using a preset target embedded page creation component. In some embodiments, DOM elements for associating inline pages may be preconfigured at specified locations for associating inline 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 to 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 can take the URL of the embedded page as a calling parameter to call the first display and hidden control logic. The first explicit and implicit control logic can be configured in the page display terminal in advance. The first explicit and implicit control logic may include setting an inline page and a native page other than the target inline page to a hidden state, and setting the target inline page to a displayed state. The page display terminal can control other pages to be hidden and target embedded page to be displayed based on the first display and hidden control logic.
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 performed, and the page display and hiding processing is performed based on the first display and hiding 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 judgment and display and hiding control mechanism, when the display is switched among the pages related to the embedded page, the embedded page which is displayed and is not subjected to data destruction can be hidden by the judgment mechanism and the display and hiding control mechanism when the page is switched, and the intermediate operation state of the embedded page is kept. When switching back to a certain embedded page, the display attribute of the embedded page can be set to be in a display state, so that the embedded page can be displayed based on the previous operation state of a user, and the page display efficiency and the user experience can be greatly improved.
As shown in fig. 3, in other embodiments, the method may further include:
s26: and under the condition that the page access request is not the page access request of the embedded page according to the page parameter information, judging whether the current display page is the embedded page or not.
If the judgment result is yes, executing step S28; if the judgment result is no, step S210 is executed.
S28: and if so, performing page display and hiding processing based on a second display and hiding control logic so as to display the page corresponding to the page access request based on a native page display mode under the current page frame.
If the page display judging component can judge the display and hidden states of all the page information, if the page information in the display state is the page information of the embedded page, the currently displayed page is determined to be the embedded page. The second explicit and implicit control logic may be pre-configured in the page display terminal. The page display judging component can take the second display and hidden control logic according to the judging result as a calling parameter.
The second explicit and implicit control logic may include setting all inline pages to a hidden state and setting native pages to a displayed state. Specifically, all the embedded page nodes may be set to a hidden state, and the page display component of the native page may be set to a display state, so that all the embedded pages are hidden, and the native page corresponding to the page access request is displayed based on the native page display mode. The display mode of the native page may be performed based on an original layout mode of the page display frame, which 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 judgment and display and hiding control mechanism is configured in advance, when the display is switched among the pages related to the embedded page, the embedded page which is displayed and is not subjected to data destruction can be hidden through the judgment mechanism and the display and hiding control mechanism when the page is switched, and the intermediate operation state of the embedded page is kept. When switching back to a certain embedded page, the display attribute of the embedded page is directly set to be in a display state, so that the embedded page can be displayed based on the previous operation state of a user, and the page display efficiency and the user experience can be greatly improved.
Based on the scheme provided by the above embodiment, the embodiment of the present specification further provides a scenario example.
The current page frame adopts Vue page frame, and iframe is used as the embedded control of the embedded page. The page display judgment component can be laid under the current page frame in advance. And, a DOM element for associating the inline page may also be added in advance at a designated node of the page layout component of the Vue page frame for enabling the presentation of the inline page under the current page frame. And additionally adding a display and hiding control logic in the Vuex in advance for controlling the page display and hiding processing related to the embedded page. Where Vuex may be an information repository for centrally storing information that manages the state of all components.
Specifically, as shown in fig. 4, fig. 4 is a schematic diagram of a processing logic of page switching. When a user accesses a page, whether the page to be accessed by the user is an embedded page can be judged based on the page display judging component, and if so, whether the current access is a page corresponding to the iframe function is judged. If the page parameter information is the page parameter information in the access request, the information generation component generates a URL according to the page parameter information in the access request, then an embedded page processing component (iframe processing logic in FIG. 4) interface in Vuex is called, the URL is transmitted to the embedded page processing component, the embedded page processing component sets the page corresponding to the URL to be in a display state and sets other pages to be in a hidden state based on pre-configured display and hidden processing logic.
FIG. 5 represents the processing logic of the inline page processing component. The URL may be used as a parameter to invoke the inline 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 the URL exists, setting the page corresponding to the URL to be in a display state and setting other pages to be in a hidden state based on the first display and hidden control logic. Fig. 6 is a first explicit and implicit control logic. Specifically, the native Vue page component may be hidden first, then the DOM element of the iframe mount point is set to the display state, the iframe page node to be accessed is searched, and the node is also set to the display state, thereby completing page switching.
If the iframe page node corresponding to the URL does not exist, as shown in fig. 5, an iframe page node can be added, the added iframe page node is mounted to the DOM element of the designated node, then the page corresponding to the URL is set to be in a display state based on the first explicit and implicit control logic, 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, it is determined whether the currently displayed page is an embedded page, and if so, it is determined whether the currently accessed page is a page corresponding to the iframe function. And if the currently displayed page is an embedded page, setting the iframe page node to be in a hidden state based on the second explicit-implicit control logic, and displaying the page accessed by the user after setting the native page to be in a display state. As shown in fig. 6, the iframe mount point is hidden by setting the display attribute of the iframe mount point DOM to none, all iframe nodes are set to be hidden, then the native Vue page component is set to be in the display state, and page switching is completed based on the native Vue page component.
As shown in fig. 4, if the currently exposed page is not an inline page, the switching of the page is directly based on the native Vue page component.
In other embodiments, the inline 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 relevant display data of the loaded embedded page by using the embedded page deleting component based on the trigger signal. When the user opens the embedded page again, the page display terminal sends a page display data acquisition request to the server again to reload the page after determining that the loaded embedded page does not exist according to the judging mechanism.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. For details, reference may be made to the description of the related embodiments of the related processing, and details are not repeated herein.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may 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 may also be possible or may be advantageous.
In the page display method provided in one or more embodiments of the present specification, by configuring a page display determination and display/hiding control mechanism in advance, when a page is switched and displayed, it is determined whether an embedded page is involved in current page switching and displaying. If the embedded page is involved, calling a corresponding display and hidden control mechanism to perform display and hidden control processing on each page so as to hide or display the page display data of the embedded page, thereby improving the display efficiency of the embedded page in the page switching process and the use experience of a user.
Based on the page display method, one or more embodiments of the present specification further provide a page display device. The apparatus may include systems, software (applications), modules, components, servers, etc. that utilize the methods described in the embodiments of the present specification in conjunction with hardware implementations as necessary. Based on the same innovative conception, embodiments of the present specification provide an apparatus as described in the following embodiments. Since the implementation scheme of the apparatus for solving the problem is similar to that of the method, the specific implementation of the apparatus in the embodiment of the present specification may refer to the implementation of the foregoing method, and repeated details are not repeated. As used hereinafter, the term "unit" or "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated. Specifically, fig. 7 is a schematic diagram of a module structure of an embodiment of a page displaying apparatus provided in the specification, and as shown in fig. 7, the apparatus is applied to a page displaying terminal, and the apparatus 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.
An obtaining module 704, 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 can display the application interface of the corresponding business application.
The explicit-implicit control module 706 is configured to, when a target embedded page corresponding to the data source address information exists, perform page explicit-implicit processing based on a first explicit-implicit control logic, so that a page display terminal displays the target embedded page corresponding to the data source address information; the first display and hidden control logic sets embedded pages except the target embedded page and a native page to be in a hidden state and sets the target embedded page to be in a display state; and the native page is a page node configured based on the current page frame.
In other embodiments, the apparatus may further comprise:
the information creating module 708 may be configured to create a 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.
The explicit/implicit control module 706 may be further configured to perform page explicit/implicit processing based on the first explicit/implicit control logic, so as to display a target embedded page corresponding to the data source address information.
In other embodiments, the apparatus may further comprise:
the determining module 710 may be configured to determine whether the current display page is an embedded page under the condition that it is determined according to the page parameter information that the page access request is not a page access request of an embedded page.
The explicit-implicit control module 706 is further configured to, if the determination result is yes, perform page explicit-implicit processing based on a second explicit-implicit control logic, so that a page corresponding to the page access request is displayed based on a native page display manner under the current page frame; the second display and hidden control logic sets all embedded pages to be in a hidden state and sets the native pages to be in a display state.
In other embodiments, the apparatus further comprises:
the page display module may be configured to display a page corresponding to the page access request based on a native page display mode in the current page frame if the current display page is not an embedded page.
It should be noted that the above-described apparatus may also include other embodiments according to the description of the method embodiment. The specific implementation manner may refer to the description of the related method embodiment, and is not described in detail herein.
According to the page display device provided by one or more embodiments of the present specification, by configuring a page display determination and display and hiding control mechanism in advance, when a page is switched and displayed, it is determined whether an embedded page is involved in current page switching and displaying. If the embedded page is involved, calling a corresponding display and hidden control mechanism to perform display and hidden control processing on each page so as to hide or display the page display data of the embedded page, thereby improving the display efficiency of the embedded page in the page switching process and the use experience of a user.
The method or apparatus provided by the present specification and described in the foregoing embodiments may implement service logic through a computer program and record the service logic on a storage medium, where the storage medium may be read and executed by a computer, so as to implement the effect of the solution described in the embodiments of the present specification. Accordingly, the present specification also provides a page presentation device comprising a processor and a memory storing processor-executable instructions, which when executed by the processor, implement the steps of a method comprising any of the above embodiments.
The storage medium may include a physical device for storing information, and typically, the information is digitized and then stored using an electrical, magnetic, or optical media. The storage medium may include: devices that store information using electrical energy, such as various types of memory, e.g., RAM, ROM, etc.; devices that store information using magnetic energy, such as hard disks, floppy disks, tapes, core memories, bubble memories, and usb disks; devices that store information optically, such as CDs or DVDs. Of course, there are other ways of storing media that can be read, such as quantum memory, graphene memory, and so forth.
It should be noted that the above description of the apparatus according to the method embodiment may also include other embodiments. The specific implementation manner may refer to the description of the related method embodiment, and is not described in detail herein.
The present specification also provides a page presentation system, which may be a single page presentation system or may be applied to a variety of computer data processing systems. The system may be a single 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 example devices of the present specification, in combination with a terminal device implementing hardware as necessary.
In some embodiments, the system may include a page presentation terminal and a server. The server may pre-store page display data of a page visited by a user, so that the page display terminal displays the page visited by the user to the user based on the page display data.
The page display terminal may send a request for obtaining page display data of a page to be accessed to the server according to the steps described in one or more embodiments, and display the page to be accessed according to the page display data fed back by the server.
The server may be configured to receive a page display data acquisition request, and feed 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 the user. When the user switches to other pages, the currently loaded page is hidden, and when the page is switched back, 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. Through the mode, when the page is switched, the page display data does not need to be acquired again to load the page, so that the display efficiency of the embedded page in the page switching process is improved, and the use experience of a user is 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 sends a page display data acquisition request to the server again to reload the page after determining that the loaded embedded page does not exist according to the judging mechanism.
It should be noted that the embodiments of the present disclosure are not limited to the cases where the data model/template is necessarily compliant with the standard data model/template or the description of the embodiments of the present disclosure. Certain industry standards, or implementations modified slightly from those described using custom modes or examples, may also achieve the same, equivalent, or similar, or other, contemplated implementations of the above-described examples. The embodiments using these modified or transformed data acquisition, storage, judgment, processing, etc. may still fall within the scope of the alternative embodiments of the present description.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment. In the description of the specification, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," 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 specification. In this specification, the schematic representations of the terms used above are not necessarily intended to refer 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, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
The above description is only an example of the present specification, and is not intended to limit the present specification. Various modifications and alterations to this description will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification should be included in the scope of the claims of the present specification.

Claims (10)

1. A page display method is 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 the page access request of the 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 can display an application interface of the corresponding business application;
when a target embedded page corresponding to the data source address information exists, performing page hiding processing based on a first hiding control logic so that a page display terminal displays the target embedded page corresponding to the data source address information; the first display and hidden control logic sets embedded pages except the target embedded page and a native page to be in a hidden state and sets the target embedded page to be in a display state; wherein the native page is a page configured based on the current page frame.
2. The method of claim 1, further comprising:
when the target embedded page corresponding to the data source address information does not exist, a target embedded page corresponding to the data source address information is created;
and performing page display and hiding processing based on the first display and hiding control logic so as to display a target embedded page corresponding to the data source address information.
3. The method of claim 1, further comprising:
under the condition that the page access request is not the page access request of the embedded page according to the page parameter information, judging whether the current display page is the embedded page or not;
if so, performing page display and hiding processing based on a second display and hiding control logic so as to display a page corresponding to the page access request based on a native page display mode under the current page frame; the second display and hidden control logic sets all embedded pages to be in a hidden state and sets the native pages to be in a display state.
4. The method of claim 3, further comprising:
and if the current display page is not the embedded page, displaying the page corresponding to the page access request based on the native page display mode under the current page frame.
5. A page display device is applied to a page display terminal, and comprises:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a page access request, and the page access request comprises page parameter information of a page to be accessed;
the obtaining module is used for obtaining data source address information corresponding to the page access request under the condition that the page access request is determined to be the page access request of the 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 can display an application interface of the corresponding business application;
the display and hiding control module is used for performing page display and hiding processing based on a first display and hiding control logic under the condition that a target embedded page corresponding to the data source address information exists, so that a page display terminal displays the target embedded page corresponding to the data source address information; the first display and hidden control logic sets embedded pages except the target embedded page and a native page to be in a hidden state and sets the target embedded page to be in a display state; and the native page is a page node configured based on the current page frame.
6. The apparatus of claim 5, further comprising:
the information creating module is used for creating a target embedded page corresponding to the data source address information under the condition that the target embedded page corresponding to the data source address information does not exist;
the display and hidden control module is further configured to perform page display and hidden processing based on the first display and hidden control logic, so that a target embedded page corresponding to the data source address information is displayed.
7. The apparatus of claim 5, further comprising:
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 not 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 a native page display mode under the current page frame; the second display and hidden control logic sets all embedded pages to be in a hidden state and sets the native pages to be in a display state.
8. The apparatus of claim 7, further comprising:
and the page display module is 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 the embedded page.
9. A page-displaying apparatus, applied to the page-displaying terminal, the apparatus comprising a processor and a memory for storing processor-executable instructions, which when executed by the processor, implement steps comprising the method of any of the preceding claims 1-4.
10. The page display system is characterized by comprising 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 of any one of claims 1 to 4 and displaying the page to be accessed according to the page display data fed back by the server;
the server is used for receiving the page display data acquisition request and feeding back page display data to the page display terminal based on the page display data acquisition request.
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 true CN111782999A (en) 2020-10-16
CN111782999B 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)

Cited By (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
CN112463121A (en) * 2020-11-23 2021-03-09 西安西热电站信息技术有限公司 Method for persisting external page state in vue-based multi-page tag application system

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

Cited By (4)

* 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
CN112307384B (en) * 2020-10-21 2024-05-03 深圳市欢太科技有限公司 Page snapshot display method and device, electronic equipment and storage medium
CN112463121A (en) * 2020-11-23 2021-03-09 西安西热电站信息技术有限公司 Method for persisting external page state in vue-based multi-page tag application system
CN112463121B (en) * 2020-11-23 2024-03-19 西安西热电站信息技术有限公司 Method for persisting external page state in multi-tab application system based on vue

Also Published As

Publication number Publication date
CN111782999B (en) 2023-08-15

Similar Documents

Publication Publication Date Title
CN110008118B (en) Page data testing method and device, computer equipment and storage medium
CN109901834B (en) Document page generation method, device, computer equipment and storage medium
CN109814854B (en) Project framework generation method, device, computer equipment and storage medium
CN110647699A (en) Web page rendering method and device, computer equipment and storage medium
US11436066B2 (en) System for offline object based storage and mocking of rest responses
CN109190067B (en) Browser input box display method and device, computer equipment and storage medium
CN104704468A (en) Cross system installation of WEB applications
CN109522500B (en) Webpage display method, device, terminal and storage medium
CN101414257B (en) Method and device for implementing software interface
CN111782999B (en) Page display method, device, equipment and system
JP7106001B2 (en) SUB-APPLICATION DEVELOPMENT METHOD, APPARATUS, COMPUTER DEVICE, AND COMPUTER PROGRAM
CN110941779B (en) Page loading method and device, storage medium and electronic equipment
CN112612988A (en) Page processing method and device, computer equipment and storage medium
US20110214076A1 (en) Method and apparatus for optimizing generation of user interface
WO2018187107A1 (en) Cross-application content injection
CN112231379A (en) API (application program interface) auditing method, device, equipment and storage medium based on micro-service architecture
CN110362341A (en) Business management method, device, equipment and storage medium based on micro services framework
CN113220403A (en) Method and device for h5 intercepting Android return event and electronic equipment
CN116112457A (en) Method, device, computer equipment and storage medium for notifying message
CN113051095B (en) Method and device for reproducing operation errors of client, electronic equipment and storage medium
CN114116077A (en) Picture editing method and device, electronic equipment and medium
CN110866203B (en) Page jump method, device, equipment and computer readable storage medium
CN111367898A (en) Data processing method, device, system, electronic equipment and storage medium
CN117807346B (en) Front-end request mock system based on browser
CN111026466A (en) File processing method and device, computer readable storage medium and electronic equipment

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