CN116302230A - Page display method, device and equipment - Google Patents

Page display method, device and equipment Download PDF

Info

Publication number
CN116302230A
CN116302230A CN202211106058.5A CN202211106058A CN116302230A CN 116302230 A CN116302230 A CN 116302230A CN 202211106058 A CN202211106058 A CN 202211106058A CN 116302230 A CN116302230 A CN 116302230A
Authority
CN
China
Prior art keywords
page
applet
display
application
area
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.)
Pending
Application number
CN202211106058.5A
Other languages
Chinese (zh)
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.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
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 Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202211106058.5A priority Critical patent/CN116302230A/en
Publication of CN116302230A publication Critical patent/CN116302230A/en
Priority to PCT/CN2023/109301 priority patent/WO2024051374A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The embodiment of the specification discloses a page display method, device and equipment. The scheme may include: after the user executes the first triggering operation on the first page of the first applet at the user terminal equipment, if the user terminal equipment is determined to meet the preset page display condition, a second page except the first applet and the first page at the first applet can be displayed in the screen of the user terminal equipment so as to cooperatively display the pages inside and outside the applet.

Description

Page display method, device and equipment
Technical Field
The present disclosure relates to the field of applet technologies, and in particular, to a method, an apparatus, and a device for displaying a page.
Background
With the rapid development of software technology, applets are widely used. The applet is an application program which can be used without downloading and installing, and a user can call the applet on a host application, so that the applet is very convenient to use. The host application will generally support the starting and running of various applets, so as to better meet the use requirements of users for various applets. At present, when a user needs to look at a page outside a certain applet in the process of using the applet, the user is usually required to close an application page of the applet and display the page outside the applet in a full screen mode, and the two pages cannot be presented at the same time, so that inconvenience is brought to the user using the applet easily.
Based on this, how to cooperatively display the pages in the applet and other pages outside the applet in the process of using the applet by the user becomes a technical problem to be solved.
Disclosure of Invention
The page display method, the device and the equipment provided by the embodiment of the specification can cooperatively display the pages in the applet and other pages outside the applet in the process of using the applet by a user, thereby being beneficial to improving the page information display efficiency and the user experience.
In order to solve the above technical problems, the embodiments of the present specification are implemented as follows:
the page display method provided by the embodiment of the specification comprises the following steps:
the method comprises the steps that user terminal equipment obtains a first triggering operation of a user on a first page of a first applet; the first triggering operation is used for requesting to display a second page and the first page in a screen of the user terminal equipment; the second page is a page outside the application page of the first applet;
judging whether the user terminal equipment accords with a preset page display condition or not based on the first triggering operation, and obtaining a judging result;
and if the judging result shows that the user terminal equipment accords with the preset page display condition, displaying the second page and the first page in the screen.
The embodiment of the specification provides a page display device, including:
the first acquisition module is used for enabling the user terminal equipment to acquire a first triggering operation of a user on a first page of a first applet; the first triggering operation is used for requesting to display a second page and the first page in a screen of the user terminal equipment; the second page is a page outside the application page of the first applet;
the judging module is used for judging whether the user terminal equipment accords with a preset page display condition or not based on the first triggering operation to obtain a judging result;
and the first page display module is used for displaying the second page and the first page in the screen if the judging result shows that the user terminal equipment accords with the preset page display condition.
The embodiment of the specification provides a page display device, which comprises:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
The method comprises the steps that user terminal equipment obtains a first triggering operation of a user on a first page of a first applet; the first triggering operation is used for requesting to display a second page and the first page in a screen of the user terminal equipment; the second page is a page outside the application page of the first applet;
judging whether the user terminal equipment accords with a preset page display condition or not based on the first triggering operation, and obtaining a judging result;
and if the judging result shows that the user terminal equipment accords with the preset page display condition, displaying the second page and the first page in the screen.
At least one embodiment provided in this specification enables the following benefits:
after a user executes a first triggering operation on a first page of a first applet at a user terminal device, if the user terminal device is judged to meet a preset page display condition, displaying the first page and a second page outside an application page of the first applet in a screen of the user terminal device, so that the pages inside and outside the applet can be cooperatively displayed in the screen of the user terminal device in the process of using the applet by the user. In the scheme, the user can review the information in the pages in the applet and the pages outside the applet from the device screen at the same time, so that compared with the scheme that the pages outside the applet or the pages in the applet are displayed in a full screen by switching the pages at present, the method and the device can promote the perception of the user on the pages inside and outside the applet on the one hand, are beneficial to promoting the user experience, and can reduce the operation that the user repeatedly switches the pages inside and outside the applet to review the information on the other hand, are beneficial to promoting the page information display efficiency, and promote the efficiency and the operation convenience when the user reviews the page information.
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 to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present application, and that other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art.
Fig. 1 is a schematic flow chart of a page display method according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram showing a first page and a second page in a screen according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram showing a first page and a second page in a screen according to another embodiment of the present disclosure;
FIG. 4 is a schematic diagram showing a first page and a second page in a screen according to an embodiment of the present disclosure;
FIG. 5 is a schematic view of a lane flow corresponding to the page display method in FIG. 1 according to an embodiment of the present disclosure;
FIG. 6 is a schematic structural view of a page display device corresponding to FIG. 1 according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a page display device corresponding to fig. 1 according to an embodiment of the present disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of one or more embodiments of the present specification more clear, the technical solutions of one or more embodiments of the present specification will be clearly and completely described below in connection with specific embodiments of the present specification and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present specification. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without undue burden, are intended to be within the scope of one or more embodiments herein.
The following describes in detail the technical solutions provided by the embodiments of the present specification with reference to the accompanying drawings.
In the prior art, a host application usually supports the starting and running of various applets so as to better meet the use requirements of users on various applets. Currently, in the process of using a certain applet, there may be a need for viewing pages other than the applet, and at this time, the user is usually required to close an application page of the applet currently displayed in full screen and to display the pages other than the applet in full screen. And if the user needs to return to review the application page of the applet, closing the page outside the applet, and displaying the application page at the applet in full screen again. Therefore, the jump and the reference of the pages inside and outside the applet are realized through the complicated full-screen page switching operation. Therefore, the current scheme of respectively displaying the internal and external pages of the applet in a full-screen mode cannot simultaneously display the internal and external pages of the applet, so that the page information display efficiency is affected, and inconvenience is easily brought to users using the applet.
In order to solve the drawbacks of the prior art, the present solution provides the following embodiments:
fig. 1 is a flow chart of a page display method according to an embodiment of the present disclosure. From the program perspective, the execution body of the process may be a user terminal device, or an application program carried at the user terminal device. As shown in fig. 1, the process may include the steps of:
step 102: the method comprises the steps that user terminal equipment obtains a first triggering operation of a user on a first page of a first applet; the first triggering operation is used for requesting to display a second page and the first page in a screen of the user terminal equipment; the second page is a page other than the application page of the first applet.
In this embodiment of the present disclosure, the first trigger operation may be an operation performed by a user on a first page of a first applet currently displayed at a user terminal device when a second page other than the first applet needs to be displayed during a process of using the first applet.
The second page may be an application page of a second applet, and the second applet and the first applet may be different applets. Alternatively, the second page may be a web page, and specifically, may be a page generated based on hypertext markup language (HTML), for example, an HTML5 page. In practical applications, the HTML5 page may be a page generated based on a page resource acquired from a server in real time, or may be a page generated based on a page resource in an offline package locally provided in a user terminal device, which is not limited specifically.
In practical applications, the implementation manner of the first triggering operation may also be different according to the different types of the second pages. For example, when the second page is an application page of a second applet, the user may execute a first triggering operation by clicking an application icon of the second applet in the first page; and when the second page is a web page, the user may execute the first triggering operation by clicking a link or a button corresponding to the second page in the first page, which is not limited in detail.
Step 104: and judging whether the user terminal equipment accords with a preset page display condition or not based on the first triggering operation, and obtaining a judging result.
In the embodiment of the present disclosure, if the first page at the first applet and the second page other than the first applet need to be cooperatively displayed, whether the user terminal device meets the preset page display condition needs to be identified in advance, and if the user terminal device meets the preset page display condition, it may be generally indicated that the user terminal device has the capability and authority of cooperatively displaying the first page at the first applet and the second page other than the first applet, so that the subsequent page cooperative display operation may be executed. The preset page display conditions may be set according to actual requirements, and the following embodiments will be explained in detail, which will not be described herein.
Step 106: and if the judging result shows that the user terminal equipment accords with the preset page display condition, displaying the second page and the first page in the screen.
In this embodiment of the present disclosure, after determining that the user terminal device meets the preset page display condition, at least part of the contents of the second page and the first page may be displayed simultaneously in a screen of the user terminal device, so as to implement collaborative display of the pages inside and outside the first applet, so that when a user views the page displayed in the screen, the user may obtain at least part of the contents in the first page and the second page simultaneously.
In the method in fig. 1, the user can review the information in the pages inside and outside the applet from the device screen at the same time, so that compared with the scheme that the pages outside the applet or the pages inside the applet are displayed in full screen by switching the pages at present, the method can promote the perception of the user on the pages inside and outside the applet on one hand, is beneficial to promoting the user experience, and can reduce the operation that the user repeatedly switches the pages inside and outside the applet to review the information on the other hand, is beneficial to promoting the page information display efficiency, and promotes the efficiency and the operation convenience of the user to review the page information.
Based on this, the scheme in fig. 1 can better meet the requirement of conveniently inserting the branch line content in some main line scenes, so as to improve service operation efficiency and user experience. The main line scene may be an application scene corresponding to a first page at the first applet, and the branch line content may be content shown by a second page outside the first applet. In practical applications, the content in the first page and the second page generally has a certain service relevance.
For example, for a user's ride on a public transportation vehicle, the first page of the first applet may be a page in the ride applet that shows the ride code, while the second page may be a page for showing the real-time location of the public transportation vehicle, or the second page may be a page for showing other information to facilitate the ride operation of the user.
For the scene of the user seeking medical attention, the first page of the first applet may be a page showing personal registration information in the hospital seeking medical attention applet, and the second page may be a page showing or filling epidemiological investigation information, or the second page may be a page showing other information, so as to facilitate the seeking medical attention operation of the user.
In addition, for the online shopping scene of the user, the first page of the first applet can be a page showing the commodity live video in the live shopping applet, and the second page can be a page for purchasing the live commodity, or the second page can also be a page communicated with a merchant selling the live commodity, and the like, so that the shopping operation of the user is facilitated.
In this embodiment of the present disclosure, the content in the first page and the second page may be set according to actual requirements, which is not limited in detail.
Based on the method in fig. 1, the examples of the present specification also provide some specific embodiments of the method, as described below.
In the embodiment of the present disclosure, in the prior art, the host application and the applet generally only support full-screen display of the internal and external pages of the applet, but cannot cooperatively display the internal and external pages of the applet, so when executing the scheme in fig. 1, version update needs to be performed on the first applet and the host application thereof in advance, so that the user terminal device has resources and files required for cooperatively displaying the internal and external pages of the applet.
Based on this, step 104: the judging whether the user terminal device meets the preset page display condition may specifically include:
Judging whether the application version of the host application of the first applet at the user terminal equipment is a first preset version; the host application of the first preset version has program files required for displaying the second page and the first page in a non-full screen display form; or alternatively, the process may be performed,
judging whether the application version of the first applet is a second preset version or not; the second preset version of the first applet has program files at the first applet required for displaying the second page and the first page in a non-full screen display.
In the embodiment of the present specification, the full-screen presentation form may refer to a form in which the whole area in the application interface of the host application of the applet is taken as a presentation area of one page to be presented (for example, the first page, the second page), and only the content in the one page to be presented is presented in the application interface, but the content in the other pages is not presented. In practical applications, the area of the display area of the page to be displayed should be equal to the area of the application interface of the host application, and the page to be displayed is displayed on the uppermost layer of the application interface, so that only one page to be displayed can be displayed in the application interface of the host application, but the pages inside and outside the applet cannot be cooperatively displayed.
The non-full screen display form may refer to taking a partial area in an application interface of a host application of an applet as a display area of a page to be displayed (for example, a first page and a second page), that is, the area of a display area of any one page to be displayed is smaller than the area of the application interface of the host application, so that a plurality of pages to be displayed can be displayed in the application interface of the host application, thereby realizing the collaborative display of the pages inside and outside the applet.
In practical application, the page display area of a certain page to be displayed can be set as all areas of the application interface of the host application, and other pages to be displayed are used for covering part of the areas of the page to be displayed, so that the area of the actual display area of the page to be displayed is smaller than the area of the application interface of the host application, and the page to be displayed is displayed in a non-full-screen display mode.
In the embodiment of the present disclosure, in order to facilitate the display of the first page at the first applet and the second page outside the first applet according to the non-full-screen display form, an Application Programming Interface (API) for implementing the non-full-screen display form may be newly added, and of course, a preset component for implementing the non-full-screen display form may also need to be newly added in a suitability manner, which is not particularly limited.
Based on this, if the first applet needs to share the component library and the API of the host application, version update of the host application is required, so that the host application of the first preset version has the program file corresponding to the preset application programming interface and the preset component required for implementing the non-full-screen display form. In addition, version updating is needed to be performed on the first applet, so that the program file of the first applet of the second preset version can call the preset application programming interface and/or the preset component in the running process, thereby displaying the first page at the first applet and the second page outside the first applet in a non-full screen display mode, and realizing collaborative display of the internal and external pages of the applet.
Because the host application other than the first preset version generally does not have a program file corresponding to a preset application programming interface and a preset component required for implementing a non-full-screen display form, and the program file of the first applet other than the second preset version generally does not call the preset application programming interface and/or the preset component in the running process, so that the host application cannot display a first page at the first applet and a second page other than the first applet according to the non-full-screen display form, the solution in fig. 1 needs to determine whether the application version of the host application of the first applet at the user terminal device is the first preset version and/or whether the application version of the first applet is the second preset version. If the application version of the host application of the first applet at the user terminal device is a first preset version and the application version of the first applet is a second preset version, a determination result for indicating that the user terminal device meets the preset page display condition may be generated, otherwise, a determination result for indicating that the user terminal device does not meet the preset page display condition may be generated.
In the embodiment of the present disclosure, if the first page of the first applet is also a page that is displayed in a non-full screen display form, at this time, if the user is allowed to continue to display the second page in the non-full screen display form through the first page of the first applet, the number of pages displayed in the screen of the user terminal device is excessive, so as to affect the user to perceive the main line scene.
Based on this, step 104: the judging whether the user terminal device meets the preset page display condition may specifically include:
and judging whether the first page is an application page displayed in a non-full screen display mode.
In the embodiment of the present disclosure, if the first page is an application page displayed in a non-full screen display manner, at least 2 pages are usually already cooperatively displayed in the screen of the user terminal at this time, and if the second page is continuously cooperatively displayed, the user is easily bothered, so that a determination result for indicating that the user terminal device does not conform to the preset page display condition can be generated. If the first page is not the application page displayed in the non-full-screen display form, the first page is usually displayed in the full-screen display form in the screen of the user terminal, so that a judgment result for indicating that the user terminal equipment accords with the preset page display condition can be generated, the first page and the second page can be displayed cooperatively in the non-full-screen display form, and the user experience can be improved.
In practical application, the display form of the first page of the first applet can be determined according to the related operation parameters of the first applet, which is convenient and quick. Based on this, the determining whether the first page is an application page displayed in a non-full screen display form may specifically include:
and acquiring at least one of a starting parameter and a life cycle callback parameter of the first applet.
And judging whether the first page is an application page displayed in a non-full-screen display mode according to at least one of the starting parameter and the life cycle callback parameter.
In the embodiment of the present disclosure, the start parameter of the first applet may be obtained by calling an API that obtains the parameter at the time of the start of the applet, and the lifecycle callback parameter of the first applet may be obtained by calling the lifecycle function. If the corresponding relation between the first page of the first applet and the non-full-screen display form identifier is determined according to the starting parameter and/or the life cycle callback parameter of the first applet, the first page can be represented as an application page displayed in a non-full-screen display form, otherwise, the first page can be represented as an application page displayed not in a non-full-screen display form but in a full-screen display form, and the method is convenient and quick.
In the embodiment of the present disclosure, according to the actual needs of the user, the first page of the first applet displayed in the non-full-screen display form may be allowed to be continuously called and displayed in the non-full-screen display form, so as to call and display the pages or web pages of other applets. In this case, the step of "determining whether the first page is an application page displayed in a non-full-screen display form" may be omitted, or the step of "determining whether the first page displayed in a non-full-screen display form has permission to continue to display the second page in a non-full-screen display form" may be performed, which is not described in detail.
In the embodiment of the present disclosure, in the implementation process of the solution in fig. 1, if the second page is an application page of the second applet, no modification is usually required to the version of the second applet and the program file. However, in order to ensure the rights of the mechanism of the second applet, the mechanism of the second applet may also be enabled to manage and control the available display forms of the second page in the second applet provided by the mechanism of the second applet.
Specifically, if the second page is the application page of the second applet, step 104: the judging whether the user terminal device meets the preset page display condition may include:
And sending an operation authentication request for the first applet to display the second page of the second applet in a non-full screen display form to a server side device.
And judging whether the second page and the first page are allowed to be displayed in the screen according to the operation authentication result fed back by the server-side equipment.
In this embodiment of the present disclosure, the server device may be a server for managing an applet published in a host application of a first applet, or may be a server of the host application, or may be another server of the host application having access rights, which is not limited specifically.
The mechanism to which the second applet belongs may communicate with the server side device in advance, so that information for granting permission to the other applet to cooperatively display the page at the other applet and the second page at the second applet in a non-full screen display form is generated at the server side device, or information for prohibiting the other applet from cooperatively displaying the page at the other applet and the second page at the second applet in a non-full screen display form is generated.
Based on the above, when the user requests to cooperatively display the first page of the first applet and the second page of the second applet in a non-full-screen display form, the user terminal device can be enabled to perform user operation authentication through the server device, if the operation authentication result fed back by the server device reflects that the authority to which the second applet belongs grants the first applet the authority to cooperatively display the page at the first applet and the second page at the second applet in the non-full-screen display form, the user terminal device can be enabled to display the second page and the first page in the screen in the non-full-screen display form, so that a judgment result for indicating that the user terminal device meets preset page display conditions can be generated, otherwise, a judgment result for indicating that the user terminal device does not meet preset page display conditions can be generated.
In practical application, each applet in the host application has respective unique program identification information, and the institution to which each applet belongs needs to perform rights management on the applet provided by the applet based on the unique program identification information. Based on this, the operation authentication request may carry first program identification information (i.e., unique program identification information) of the first applet and second program identification information (i.e., unique program identification information) of the second applet.
Correspondingly, the server device may be configured to generate, after determining, according to the first program identification information and the second program identification information, that the first applet and the second applet belong to the same mechanism, and/or determining that the mechanism to which the second applet belongs has granted the first applet the authority to display the second page in the non-full-screen display form, an operation authentication result for reflecting that the second page and the first page are allowed to be displayed in the screen in the non-full-screen display form.
In this embodiment of the present disclosure, each organization may also have its own unique organization identifier, and after the organization issues an applet in the host application, the organization may also establish a correspondence between the unique organization identifier information of the organization and the unique program identifier information of the applet, so as to facilitate subsequent management of each applet provided by the organization. Meanwhile, as the same mechanism is used for improving the interaction performance among the applets provided by the same mechanism, a wider calling authority is generally set for each applet provided by the same mechanism, when the server side equipment determines that the first program identification information of the first applet and the second program identification information of the second applet have corresponding relations with the unique mechanism identification information of the same mechanism, the first applet and the second applet can be known to belong to the same mechanism, so that an operation authentication result for reflecting the permission of displaying the second page and the first page in the screen according to a non-full-screen display mode can be generated.
Or, the server device may store a blacklist and a whitelist set by the mechanism to which the second applet belongs, where the blacklist may store unique program identification information of a target applet, which is set by the mechanism to which the second applet belongs and prohibits the invoking and displaying of the page of the second applet according to a non-full-screen display form, and the whitelist may store unique program identification information of a specific applet, which is set by the mechanism to which the second applet belongs and allows the invoking and displaying of the page of the second applet according to the non-full-screen display form, and based on this, if it is determined that the first program identification information of the first applet is located in the whitelist, the server device may generate an operation authentication result for reflecting the permission to display the second page and the first page in the screen according to the non-full-screen display form. Otherwise, an operation authentication result for reflecting prohibition of displaying the second page and the first page in the screen in a non-full screen display form may be generated.
In the embodiment of the present disclosure, the first applet generally needs to call a preset application programming interface corresponding to the non-full-screen display form to cooperatively display the first page at the first applet and the second page outside the first applet according to the non-full-screen display form.
Based on this, step 106: displaying the second page and the first page in a screen may specifically include:
determining a first display area of the first page in an application interface of a host application of the first applet and a second display area of the second page in the application interface of the host application according to a preset application programming interface corresponding to a non-full screen display form called by the first trigger operation; wherein the first area of the application interface of the host application is greater than the second area of the second display area.
And displaying at least part of page contents of the first page in the first display area, and displaying at least part of page contents of the second page in the second display area.
In the embodiment of the present disclosure, since the first applet is a program that is started and run in the host application, the page display area of the first page of the first applet and the second page opened by the first applet generally does not exceed the range of the application interface of the host application. Based on the above, after the first applet invokes the preset application programming interface corresponding to the non-full-screen display form, if the user terminal device meets the preset page display condition, it may be determined from the application interface of the host application of the first applet that when the page collaborative display is performed subsequently according to the non-full-screen display form, the first display area for the first page and the second display area for the second page are aligned.
In practical application, since the first page of the first applet is a main line scene and the second page is a branch line content, in order to facilitate the user to distinguish the main line scene and the branch line content, the area of the second display area corresponding to the second page may be smaller than the area of the application interface of the host application. The area of the first display area corresponding to the first page may be equal to or smaller than the area of the application interface of the host application. However, when the area of the first display area corresponding to the first page is equal to the area of the application interface of the host application, the layer where the second page is located should be located above the layer where the first page is located, so as to ensure that the contents in the first page and the second page can be cooperatively displayed in the screen. In addition, the first display area corresponding to the first page and the second display area corresponding to the second page should not be the same area, so as to ensure that the contents in the first page and the second page can be cooperatively displayed in the screen.
It should be noted that, in the solution of fig. 1, due to the limitation of the size of the screen of the user terminal device, all the contents in the first page and the second page may not be displayed at one time in the screen, but the user may have the ability to review the complete first page and second page in the screen by enabling the user to perform a page sliding operation on the first page and/or the second page, which is beneficial to improving the information display efficiency and the user experience.
In this embodiment of the present disclosure, the position and size of the second page in the second display area in the application interface of the host application may be adjusted and set by the mechanism to which the first applet belongs by controlling the content in the program file of the first applet.
Based on this, the determining, according to the preset application programming interface corresponding to the non-full-screen display form and invoked by the first trigger operation, the second display area of the second page in the application interface of the host application may specifically include:
determining a second display area of the second page in the application interface of the host application according to target input parameter information carried in a call request of the first applet for the preset application programming interface; the target input parameter information is carried in a program file of the first applet.
In this embodiment of the present disclosure, the target input parameter information may be API entry information for determining a position and a size of the second display area. In practical application, the mechanism to which the first applet belongs may adopt a hard coding mode or a soft coding mode, and write the target input parameter information into a program file of the first applet, so that the program file of the first applet can take the target input parameter information carried by the first applet as an input parameter of the preset application programming interface when the preset application programming interface API needs to be called in the running process.
In practical applications, the target input parameter information may be set by a mechanism to which the first applet belongs, for example, the determined second display area may be located at a lower portion of an application interface of the host application by setting the target input parameter information, and a ratio of the second display area to the area of the application interface of the host application may be a preset value, such as 0.8, 0.5, and the like, which is not limited specifically.
In addition, the target input parameter information may be API entry information for determining a position and a size of a first display area corresponding to a first page, for example, according to the target input parameter information, the determined first display area may be located at an upper portion of an application interface of a host application, and a ratio of the first display area to an area of the application interface of the host application may be a preset value, such as 1, 0.5, or the like.
In this embodiment, the page adaptation processing is performed according to the configuration parameter information carried in the program file of the first applet and the device parameter information of the user terminal device obtained in real time, so that the determined first display area and second display area conform to the actual requirements of the user, thereby being beneficial to guaranteeing the page display effect of the first page and the second page cooperatively displayed in the first display area and the second display area, and improving the user experience.
In the embodiment of the present disclosure, there may be various embodiments for cooperatively displaying the first page at the first applet and the second page outside the first applet in a non-full screen display form on the screen, and for convenience of understanding, various embodiments will be explained later.
Embodiment one
The first display area may be an area with an area smaller than or equal to the first area in the application interface of the host application, and the second display area may be an area with an area smaller than the first area in the application interface of the host application; wherein the first display area and the second display area are different areas. Specifically, the first display area and the second display area may not have a coincident area therebetween. Alternatively, the first display area and the second display area may have a small overlap area, but the first display area should not be completely covered by the second display area.
Correspondingly, displaying at least part of the page content of the first page in the first display area and displaying at least part of the page content of the second page in the second display area may specifically include:
Displaying at least part of page content of the first page in a floating layer form in the first display area in an application interface of the host application; the method comprises the steps of,
and displaying at least part of page content of the second page in a floating layer form in the second display area in the application interface of the host application.
In the embodiment of the present disclosure, when the first page and the second page are cooperatively displayed in a non-full screen display manner, a first display area and a second display area may be divided from an application interface of the host application, so as to display the first page and the second page respectively.
In practical application, when the application page is displayed in a floating layer mode, a user can browse and review the application page and can be supported to trigger a control or a link in the application page, so that the user can realize business operation. Based on the above, the floating layer form can be adopted to display the first page and the second page in the first display area and the second display area in the application interface of the host application respectively.
At this time, if the second page is an application page of the second applet, the page display scheme provided in the embodiment of the present disclosure not only can realize collaborative display of the internal and external pages of the applet, but also can realize the same-screen dual-activity function of a plurality of applets, so as to better satisfy the user requirement and increase the information amount of page display. Meanwhile, the user can randomly review the application page at the first applet without closing the second page of the second applet, so that the operation times of jumping and exiting the applet for browsing the cross-applet page for multiple times can be reduced, and the page display efficiency is improved. In addition, when the second page is a web page, similar technical effects are also achieved, and detailed description thereof will be omitted.
In practical application, when the application page is displayed in a floating layer form, the display can be specifically realized based on the technologies of a tag page, a popup window, a floating layer and the like, which is not particularly limited.
In this embodiment, since the on-screen dual-activity function of multiple applets can be implemented, from the perspective of the application back end, when the first page and the second page are cooperatively displayed, the first applet and the second applet are required to be in a foreground running state.
Specifically, the user terminal device may perform page rendering on the first page again by using the virtual machine created for the first applet according to the size information of the first display area in the application interface of the host application, so as to generate an updated first page adapted to the first display area, and display the updated first page in the floating layer at the first display area. And creating a virtual machine for a second applet, performing page rendering on the second page according to the size information of a second display area in an application interface of the host application so as to generate a second page matched with the second display area, and displaying the second page in a floating layer at the second display area.
In practical applications, the floating layer corresponding to the first page and the floating layer corresponding to the second page may be in the same layer. Of course, when the second display area corresponding to the second page does not completely cover the first display area corresponding to the first page, the floating layer corresponding to the first page and the floating layer corresponding to the second page may also be in different layers, for example, the floating layer corresponding to the second page is disposed on the floating layer corresponding to the first page, and the transparency of the cover layer provided on the floating layer corresponding to the second page should be made higher, and the transparency of the cover layer may be set by itself according to actual needs, so as to show out the content in the first page in the lower layer. At this time, because the two-active function of the same screen of a plurality of applets can be realized, when the dynamic video or the dynamic image is displayed in the first page, the user can still perceive the dynamic page content in the first page through the floating layer where the second page is positioned, thereby being beneficial to improving the user experience.
In practical application, the screenshot image of the first page can be displayed only in the first display area, and the first applet is changed to the background running state, however, at this time, it is generally ensured that the second applet to which the second page belongs is in the foreground running state, so as to better meet the service requirement of the user.
The embodiment is suitable for a scenario that a user needs to display or operate a first page in the applet and a second page outside the applet at the same time, for example, the first page may be a page displaying a riding code in the riding applet, and the second page may be a page displaying a real-time position of a public transportation means, or the second page may be a page displaying other information. And, the first page may be a page showing personal registration information in a hospital visit applet, while the second page may be a page for showing or filling out epidemiological investigation information, or the second page may be a page for showing other information, or the like.
Fig. 2 is a schematic diagram showing a first page and a second page in a screen according to an embodiment of the present disclosure. As shown in fig. 2, at least part of the page content of the first page at the first applet is presented in a floating layer in a first presentation area 202 in the application interface 201 of the host application of the first applet, and at least part of the page content of the second page is presented in a floating layer in a second presentation area 203 in the application interface 201 of the host application of the first applet.
Second embodiment
The first display area may specifically be an area where the application interface of the host application is located, and the second display area may be an area in the application interface of the host application that is smaller than the first area.
Correspondingly, the displaying at least part of the page content of the first page in the first display area and displaying at least part of the page content of the second page in the second display area may specifically include:
and generating a background image according to the page content of the first page currently displayed in the application interface of the host application.
And displaying the background image in the area of the application interface of the host application.
And displaying at least part of page content of the second page in a floating layer form in the second display area at the upper layer of the background image.
In the embodiment of the present disclosure, when the first page and the second page are cooperatively displayed in a non-full-screen display manner, because the user may prefer to pay attention to the content in the second page and operate the second page, based on this, the screenshot image of the first page may be used as the background image and placed under the floating layer where the second page is located, so that the user may focus on the second page. Meanwhile, the display area of the second page can be smaller than that of the first page, so that a user can conveniently perceive that the first page corresponds to a main line scene and the second page corresponds to a branch line scene, and user experience is improved.
In practical application, when the second page is displayed in the floating layer form, the second page can be specifically realized based on the technologies of a tag page, a popup window, a floating layer and the like, which is not particularly limited. And because the second page displayed in the floating layer mode is adopted, the user can be supported to trigger the control or the link in the second page, so that the user can conveniently realize business operation.
In this embodiment, if the second page is an application page of the second applet, from the perspective of the application back end, when the first page and the second page are cooperatively displayed, the first applet may be changed from the foreground running state to the background running state, and the second applet needs to be in the foreground running state.
Specifically, the user terminal device may perform screenshot on a first page currently displayed in the application interface of the host application to generate a background image, create a virtual machine for a second applet, perform page rendering on a second page according to size information of a second display area in the application interface of the host application, so as to generate a second page adapted to the second display area, and display the second page in a floating layer at the second display area. The layer where the floating layer for displaying the second page is located should be located above the layer where the background image is located. At this time, the content of the second page in the second display area and the content of the page in the first page which is not covered by the second display area can be displayed in the screen of the user terminal device, so that the collaborative display of the internal and external pages of the applet is realized.
The embodiment is suitable for a scene that a user needs to temporarily jump from a first page in a first applet to a second page outside the applet, for example, the first page of the first applet may be a page displaying a live video of a commodity in a shopping live applet, and the second page may be a web page for purchasing the live commodity, or the second page may be a page at an applet that communicates with a merchant selling the live commodity, so as to facilitate shopping operations of the user. And, the first page may be a page showing a ride code in the ride applet, while the second page may be a page showing a real-time location of the public vehicle, or the second page may be a page showing other information, or the like.
Fig. 3 is a schematic diagram showing a first page and a second page in a screen according to another embodiment of the present disclosure. As shown in fig. 3, a first page at the first applet as a background image is presented in the application interface 301 of the host application of the first applet, and at least part of the page contents in the second page are presented in a floating layer form within the second presentation area 302 in the application interface 301 of the host application of the first applet.
In the embodiment of the present disclosure, according to actual needs, not only may a screenshot of the first page be directly used as a background image, but also an image obtained by processing may be used as a background image after the image processing is performed on the first page, so as to improve user experience.
Based on this, the generating a background image according to the page content of the first page currently displayed in the application interface of the host application may specifically include:
and carrying out screenshot processing on the page content of the first page currently displayed in the application interface of the host application to obtain a screenshot image.
Setting the screenshot image as a background image; or alternatively, the process may be performed,
carrying out Gaussian blur processing on the screenshot image to obtain a background image; or alternatively, the process may be performed,
and according to the preset transparency, carrying out transparency adjustment processing on the screenshot image to obtain a background image.
In the embodiment of the present disclosure, when the screenshot image for the first page is set as the background image, part of the content of the first page can be clearly displayed in the screen, so that the requirement that the user refers to or presents the content of the first page and the second page at the same time can be met, and user experience can be improved.
After the Gaussian blur processing or transparency change processing is performed on the screenshot image of the first page, the definition of part of the content of the first page displayed in the screen can be reduced, so that a user can focus on the second page more conveniently, and the user experience can be improved.
Or, the screenshot image can be directly set as a background image, and transparency adjustment processing is performed on the screenshot image by setting transparency of a cover layer of a floating layer where the second page is located, at this time, the definition of the content in the first page displayed in the screen can be reduced, so that the user can focus on the second page more conveniently, and user experience is improved.
Embodiment III
In the present description embodiment, there may also be a need for a user to call up pages of multiple applets/web pages simultaneously through the first page of the first applet.
Based on this, if the second page is an application page of a second applet, the number of the second applets may be a positive integer greater than or equal to 1, and the second display areas corresponding to different second applets are different.
If the second page is a web page, the number of the web pages may be a positive integer greater than or equal to 1, and the second display areas corresponding to different web pages are different.
The embodiment is suitable for a scenario that a user needs to temporarily jump out of a first page in a first applet and simultaneously use or display a plurality of applet pages/webpages, for example, the first page may be a page displaying a riding code in a riding applet, and the plurality of second pages may include a page for displaying other information, etc.
Fig. 4 is a schematic diagram showing a first page and a second page in a screen according to another embodiment of the present disclosure. As shown in fig. 4, at least part of the page contents in the first second page are displayed in a floating layer form in a first second display area 402 in the application interface 401 of the host application of the first applet, and at least part of the page contents in the second page are displayed in a floating layer form in a second display area 402 in the application interface 401 of the host application of the first applet.
At this time, the first page may be displayed in the application interface 401 (not shown in fig. 4) as the background images of the two floating layers, so that at least part of the page information of the first page may be displayed in the area of the application interface 401 other than the second display areas 402 and 403. Alternatively, at least a portion of the content (not shown in fig. 4) in the first page may be displayed in a floating layer in an area other than the second display areas 402 and 403 in the application interface 401, which is not particularly limited.
In the embodiment of the present disclosure, after the user refers to, presents or browses the second page, the user often needs to close the second page and display the page of the first applet in a full-screen display form to return to the mainline scene.
Based on this, step 106: after the second page and the first page are displayed in the screen, the method may further include:
the user terminal equipment acquires a second triggering operation of a user for the second page; the second triggering operation is used for requesting to close the second page.
Responding to the second triggering operation, closing a floating layer for displaying the second page; the method comprises the steps of,
and determining the area of the application interface of the host application as the page display area of the first applet.
And displaying the current page of the first applet in the page display area.
In the embodiment of the specification, the second page displayed in the screen is generally provided with a control for closing the second page, and the user can execute a second triggering operation on the second page by clicking the control. Subsequently, the user terminal device can display the current page of the first applet in a full-screen display mode, so that the method is convenient and quick. The current page of the first applet may be the first page or may be another page generated according to the user operation, which is not limited specifically.
In the embodiment of the present disclosure, the user terminal device may not meet the preset page display condition, where the user terminal device generally cannot cooperatively display the first page at the first applet and the second page outside the first applet, so that the second page outside the first applet may be displayed in the existing full-screen display manner, so as to ensure that the second page is displayed to the user in time.
Based on this, step 104: judging whether the user terminal equipment accords with a preset page display condition, and after obtaining a judging result, further comprising:
if the judging result shows that the user terminal equipment does not accord with the preset page display condition, controlling the first applet to be changed into a background running state; the method comprises the steps of,
and determining the area of the application interface of the host application as the page display area of the second page.
And displaying the second page in the page display region.
Fig. 5 is a schematic flow chart of a lane corresponding to the page displaying method in fig. 1 according to an embodiment of the present disclosure. As shown in fig. 5, the page presentation flow may relate to an execution body of the user terminal device, the server device, and the like.
In a user operation acquisition stage, the user terminal equipment can acquire a first trigger operation of a user on a first page of a first applet; the first triggering operation may be used for requesting to display a second page and the first page in a screen of the user terminal device; the second page is a page outside the application page of the first applet.
In the page display stage, the user terminal device can judge whether the first page is an application page displayed in a non-full-screen display form, if not, it can judge whether the application version of the host application of the first applet at the user terminal device is a first preset version and the application version of the first applet is a second preset version, if so, it can send an operation authentication request for displaying the second page of the first applet in the non-full-screen display form to the server device; judging whether the second page and the first page are allowed to be displayed in the screen according to the operation authentication result fed back by the server side equipment, if so, determining a first display area of the first page in an application interface of a host application of the first applet and a second display area of the second page in the application interface of the host application according to a preset application programming interface corresponding to the non-full-screen display form, which is called by the first trigger operation; wherein the first area of the application interface of the host application is greater than the second area of the second display area.
And finally, displaying at least part of page contents of the first page and the second page in a floating layer mode in the first display area and the second display area respectively. Or, a background image may be generated according to the page content of the first page currently displayed in the application interface of the host application; displaying the background image in the first display area; and displaying at least part of page content of the second page in a floating layer form in the second display area at the upper layer of the background image.
And if the user terminal device determines that the first page is an application page displayed in a non-full-screen display form, or determines that an application version of a host application of the first applet at the user terminal device is not a first preset version, or the application version of the first applet at the user terminal device is not a second preset version, or determines that the second page and the first page are not allowed to be displayed in the screen in the non-full-screen display form according to an operation authentication result fed back by the server device, the second page can be displayed in the full-screen display form in an application interface of the host application.
Based on the same thought, the embodiment of the specification also provides a device corresponding to the method. Fig. 6 is a schematic structural diagram of a page display device corresponding to fig. 1 according to an embodiment of the present disclosure. As shown in fig. 6, the apparatus may include:
a first obtaining module 602, configured to enable a user terminal device to obtain a first trigger operation of a user on a first page of a first applet; the first triggering operation is used for requesting to display a second page and the first page in a screen of the user terminal equipment; the second page is a page other than the application page of the first applet.
And the judging module 604 is configured to judge whether the user terminal device meets a preset page display condition based on the first trigger operation, so as to obtain a judging result.
And a first page display module 606, configured to display the second page and the first page on the screen if the determination result indicates that the user terminal device meets the preset page display condition.
The present description example also provides some specific embodiments of the device based on the device of fig. 6, which is described below.
Alternatively, the second page may be an application page or a web page of the second applet.
Optionally, the determining module 604 may include:
a first judging unit, configured to judge whether an application version of a host application of the first applet at the user terminal device is a first preset version; the host application of the first preset version has the program files required for presenting the second page and the first page in a non-full screen presentation.
The second judging unit is used for judging whether the application version of the first applet is a second preset version or not; the second preset version of the first applet has program files at the first applet required for displaying the second page and the first page in a non-full screen display.
And the third judging unit is used for judging whether the first page is an application page displayed in a non-full-screen display form.
The third determining unit may specifically be configured to:
and acquiring at least one of a starting parameter and a life cycle callback parameter of the first applet.
And judging whether the first page is an application page displayed in a non-full-screen display mode according to at least one of the starting parameter and the life cycle callback parameter.
Optionally, if the second page is an application page of the second applet, the determining module 604 may further include:
and the sending unit is used for sending an operation authentication request for the first applet to the server-side equipment, wherein the operation authentication request is used for displaying the second page of the second applet in a non-full-screen display form.
And the fourth judging unit is used for judging whether the second page and the first page are allowed to be displayed in the screen according to the operation authentication result fed back by the server device.
Optionally, the operation authentication request may carry first program identification information of the first applet and second program identification information of the second applet.
The server device is configured to generate an operation authentication result for reflecting permission to display the second page and the first page in the screen according to the non-full-screen display form after determining that the first applet and the second applet belong to the same mechanism according to the first program identification information and the second program identification information, and/or determining that the mechanism to which the second applet belongs has granted the first applet to display the second page through the non-full-screen display form.
Optionally, the first page display module 606 may include:
the determining unit is used for determining a first display area of the first page in an application interface of a host application of the first applet and a second display area of the second page in the application interface of the host application according to a preset application programming interface corresponding to a non-full screen display form called by the first trigger operation; wherein the first area of the application interface of the host application is greater than the second area of the second display area.
The page display unit is used for displaying at least part of page contents of the first page in the first display area and displaying at least part of page contents of the second page in the second display area.
Optionally, the first display area may be an area in the application interface of the host application that is smaller than or equal to the first area, and the second display area may be an area in the application interface of the host application that is smaller than the first area; wherein the first display area and the second display area are different areas. Specifically, the first display area and the second display area may not have a coincident area therebetween. Alternatively, the first display area and the second display area may have a small overlap area, but the first display area should not be completely covered by the second display area.
The page display unit may specifically be configured to:
displaying at least part of page content of the first page in a floating layer form in the first display area in an application interface of the host application; and displaying at least part of page content of the second page in a floating layer form in the second display area in the application interface of the host application.
Optionally, the first display area may specifically be an area where the application interface of the host application is located, and the second display area may be an area in the application interface of the host application that is smaller than the first area.
The page display unit may specifically be configured to:
and generating a background image according to the page content of the first page currently displayed in the application interface of the host application.
And displaying the background image in the area of the application interface of the host application.
And displaying at least part of page content of the second page in a floating layer form in the second display area at the upper layer of the background image.
Optionally, the page display unit may be specifically configured to:
and carrying out screenshot processing on the page content of the first page currently displayed in the application interface of the host application to obtain a screenshot image.
Setting the screenshot image as a background image; or alternatively, the process may be performed,
carrying out Gaussian blur processing on the screenshot image to obtain a background image; or alternatively, the process may be performed,
and according to the preset transparency, carrying out transparency adjustment processing on the screenshot image to obtain a background image.
Optionally, if the second page is an application page of a second applet, the number of the second applets is a positive integer greater than or equal to 1, and the second display areas corresponding to different second applets are different. If the second page is a web page, the number of the web pages is a positive integer greater than or equal to 1, and the second display areas corresponding to different web pages are different.
Optionally, the apparatus in fig. 6 may further include:
the second acquisition module is used for enabling the user terminal equipment to acquire a second triggering operation of a user for the second page; the second triggering operation is used for requesting to close the second page.
The closing module is used for responding to the second triggering operation and closing a floating layer for displaying the second page; the method comprises the steps of,
and the determining module is used for determining the area of the application interface of the host application as the page display area of the first applet.
And the second page display module is used for displaying the current page of the first applet in the page display area.
Optionally, the determining unit may specifically be configured to:
determining a second display area of the second page in the application interface of the host application according to target input parameter information carried in a call request of the first applet for the preset application programming interface; the target input parameter information is carried in a program file of the first applet.
Optionally, the apparatus in fig. 6 may further include:
the running state changing module is used for controlling the first applet to be changed into a background running state if the judging result indicates that the user terminal equipment does not accord with the preset page display condition; a kind of electronic device with a high-pressure air-conditioning system.
And the page display area determining module is used for determining the area of the application interface of the host application as the page display area of the second page.
And the second page display module is used for displaying the second page in the page display area.
Based on the same thought, the embodiment of the specification also provides equipment corresponding to the method.
Fig. 7 is a schematic structural diagram of a page display device corresponding to fig. 1 according to an embodiment of the present disclosure. As shown in fig. 7, the apparatus 700 may include:
At least one processor 710; the method comprises the steps of,
a memory 730 communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory 730 stores instructions 720 executable by the at least one processor 710, the instructions being executable by the at least one processor 710 to enable the at least one processor 710 to:
the method comprises the steps that user terminal equipment obtains a first triggering operation of a user on a first page of a first applet; the first triggering operation is used for requesting to display a second page and the first page in a screen of the user terminal equipment; the second page is a page other than the application page of the first applet.
And judging whether the user terminal equipment accords with a preset page display condition or not based on the first triggering operation, and obtaining a judging result.
And if the judging result shows that the user terminal equipment accords with the preset page display condition, displaying the second page and the first page in the screen.
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 the apparatus shown in fig. 7, the description is relatively simple, as it is substantially similar to the method embodiment, with reference to the partial description of the method embodiment.
In the 90 s of the 20 th century, improvements to one technology could clearly be distinguished as improvements in hardware (e.g., improvements to circuit structures such as diodes, transistors, switches, etc.) or software (improvements to the process flow). However, with the development of technology, many improvements of the current method flows can be regarded as direct improvements of hardware circuit structures. Designers almost always obtain corresponding hardware circuit structures by programming improved method flows into hardware circuits. Therefore, an improvement of a method flow cannot be said to be realized by a hardware entity module. For example, a programmable logic device (ProgrammableLogicDevice, PLD) (e.g., field programmable gate array (FieldProgrammableGate Array, FPGA)) is an integrated circuit whose logic function is determined by the programming of the device by a user. The designer programs itself to "integrate" a digital system onto a single PLD without requiring the chip manufacturer to design and fabricate application specific integrated circuit chips. Moreover, nowadays, instead of manually manufacturing integrated circuit chips, such programming is mostly implemented by using "logic compiler" software, which is similar to the software compiler used in program development and writing, and the original code before the compiling is also written in a specific programming language, which is called hardware description language (HardwareDescriptionLanguage, HDL), and HDL is not only one but a plurality of kinds, such as ABEL (AdvancedBooleanExpressionLanguage), AHDL (AlteraHardwareDescription Language), confluence, CUPL (cornelluniversal programming language), HDCal, JHDL (javahard script language), lava, lola, myHDL, PALASM, RHDL (Ruby HardwareDescriptionLanguage), etc., VHDL (Very-High-SpeedIntegrated CircuitHardwareDescriptionLanguage) and Verilog are currently most commonly used. It will also be apparent to those skilled in the art that a hardware circuit implementing the logic method flow can be readily obtained by merely slightly programming the method flow into an integrated circuit using several of the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, application specific integrated circuits (ApplicationSpecificIntegratedCircuit, ASIC), programmable logic controllers, and embedded microcontrollers, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, atmelAT91SAM, microchipPIC F26K20 and silicane labsc8051F320, the memory controller may also be implemented as part of the control logic of the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller in a pure computer readable program code, it is well possible to implement the same functionality by logically programming the method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. Such a controller may thus be regarded as a kind of hardware component, and means for performing various functions included therein may also be regarded as structures within the hardware component. Or even means for achieving the various functions may be regarded as either software modules implementing the methods or structures within hardware components.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. One typical implementation is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of each element may be implemented in one or more software and/or hardware elements when implemented in the present application.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash memory (flashRAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transshipment) such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (25)

1. A page presentation method, comprising:
the method comprises the steps that user terminal equipment obtains a first triggering operation of a user on a first page of a first applet; the first triggering operation is used for requesting to display a second page and the first page in a screen of the user terminal equipment; the second page is a page outside the application page of the first applet;
judging whether the user terminal equipment accords with a preset page display condition or not based on the first triggering operation, and obtaining a judging result;
and if the judging result shows that the user terminal equipment accords with the preset page display condition, displaying the second page and the first page in the screen.
2. The method of claim 1, wherein the second page is an application page of a second applet or the second page is a web page.
3. The method of claim 2, wherein the determining whether the user terminal device meets a preset page display condition specifically includes:
judging whether the application version of the host application of the first applet at the user terminal equipment is a first preset version; the host application of the first preset version has program files required for displaying the second page and the first page in a non-full screen display form; or alternatively, the process may be performed,
judging whether the application version of the first applet is a second preset version or not; the second preset version of the first applet has program files at the first applet required for displaying the second page and the first page in a non-full screen display.
4. The method of claim 2, wherein the determining whether the user terminal device meets a preset page display condition specifically includes:
and judging whether the first page is an application page displayed in a non-full screen display mode.
5. The method according to claim 4, wherein the determining whether the first page is an application page displayed in a non-full screen display form specifically includes:
acquiring at least one of a starting parameter and a life cycle callback parameter of the first applet;
And judging whether the first page is an application page displayed in a non-full-screen display mode according to at least one of the starting parameter and the life cycle callback parameter.
6. The method according to any one of claims 1-5, wherein if the second page is an application page of the second applet, the determining whether the user terminal device meets a preset page display condition specifically includes:
transmitting an operation authentication request for the first applet to display the second page of the second applet in a non-full screen display form to a server side device;
and judging whether the second page and the first page are allowed to be displayed in the screen according to the operation authentication result fed back by the server-side equipment.
7. The method of claim 6, wherein the operation authentication request carries first program identification information of the first applet and second program identification information of the second applet;
the server device is configured to generate an operation authentication result for reflecting permission to display the second page and the first page in the screen according to the non-full-screen display form after determining that the first applet and the second applet belong to the same mechanism according to the first program identification information and the second program identification information, and/or determining that the mechanism to which the second applet belongs has granted the first applet to display the second page through the non-full-screen display form.
8. The method of claim 2, wherein the displaying the second page and the first page in the screen specifically includes:
determining a first display area of the first page in an application interface of a host application of the first applet and a second display area of the second page in the application interface of the host application according to a preset application programming interface corresponding to a non-full screen display form called by the first trigger operation; wherein a first area of an application interface of the host application is greater than a second area of the second presentation area;
and displaying at least part of page contents of the first page in the first display area, and displaying at least part of page contents of the second page in the second display area.
9. The method of claim 8, the first presentation area being an area within an application interface of the host application that is less than or equal to the first area, the second presentation area being an area within an application interface of the host application that is less than the first area; wherein the first display area and the second display area are different areas;
The displaying at least part of the page content of the first page in the first display area and displaying at least part of the page content of the second page in the second display area specifically includes:
displaying at least part of page content of the first page in a floating layer form in the first display area in an application interface of the host application; the method comprises the steps of,
and displaying at least part of page content of the second page in a floating layer form in the second display area in the application interface of the host application.
10. The method according to claim 8, wherein the first display area is specifically an area where an application interface of the host application is located, and the second display area is an area within the application interface of the host application that is smaller than the first area;
the displaying at least part of the page content of the first page in the first display area and displaying at least part of the page content of the second page in the second display area specifically includes:
generating a background image according to the page content of the first page currently displayed in the application interface of the host application;
displaying the background image in the area of an application interface of the host application;
And displaying at least part of page content of the second page in a floating layer form in the second display area at the upper layer of the background image.
11. The method according to claim 10, wherein the generating a background image according to the page content of the first page currently displayed in the application interface of the host application specifically comprises:
performing screenshot processing on the page content of the first page currently displayed in an application interface of the host application to obtain a screenshot image;
setting the screenshot image as a background image; or alternatively, the process may be performed,
carrying out Gaussian blur processing on the screenshot image to obtain a background image; or alternatively, the process may be performed,
and according to the preset transparency, carrying out transparency adjustment processing on the screenshot image to obtain a background image.
12. The method of any one of claims 8-11, wherein if the second page is an application page of a second applet, the number of the second applet is a positive integer greater than or equal to 1, and the second display areas corresponding to different second applets are different;
if the second page is a web page, the number of the web pages is a positive integer greater than or equal to 1, and the second display areas corresponding to different web pages are different.
13. The method of any of claims 9-11, further comprising, after the second page and the first page are presented in the screen:
the user terminal equipment acquires a second triggering operation of a user for the second page; the second triggering operation is used for requesting to close the second page;
responding to the second triggering operation, closing a floating layer for displaying the second page; the method comprises the steps of,
determining the area of an application interface of the host application as a page display area of the first applet;
and displaying the current page of the first applet in the page display area.
14. The method of claim 8, wherein the determining, according to the preset application programming interface corresponding to the non-full screen presentation form invoked by the first trigger operation, a second presentation area of the second page in the application interface of the host application specifically includes:
determining a second display area of the second page in the application interface of the host application according to target input parameter information carried in a call request of the first applet for the preset application programming interface; the target input parameter information is carried in a program file of the first applet.
15. The method of claim 1, wherein the determining whether the user terminal device meets a preset page display condition, after obtaining the determination result, further comprises:
if the judging result shows that the user terminal equipment does not accord with the preset page display condition, controlling the first applet to be changed into a background running state; the method comprises the steps of,
determining the area of the application interface of the host application as a page display area of the second page;
and displaying the second page in the page display region.
16. A page display device, comprising:
the first acquisition module is used for enabling the user terminal equipment to acquire a first triggering operation of a user on a first page of a first applet; the first triggering operation is used for requesting to display a second page and the first page in a screen of the user terminal equipment; the second page is a page outside the application page of the first applet;
the judging module is used for judging whether the user terminal equipment accords with a preset page display condition or not based on the first triggering operation to obtain a judging result;
and the first page display module is used for displaying the second page and the first page in the screen if the judging result shows that the user terminal equipment accords with the preset page display condition.
17. The apparatus of claim 16, the determining module comprising:
a first judging unit, configured to judge whether an application version of a host application of the first applet at the user terminal device is a first preset version; the host application of the first preset version has program files required for displaying the second page and the first page in a non-full screen display form;
the second judging unit is used for judging whether the application version of the first applet is a second preset version or not; program files needed for displaying the second page and the first page according to a non-full-screen display form are arranged at the first applet of the second preset version;
and the third judging unit is used for judging whether the first page is an application page displayed in a non-full-screen display form.
18. The apparatus of claim 17, wherein if the second page is an application page of a second applet, the determining module further comprises:
a sending unit, configured to send an operation authentication request for the first applet to the server device, where the operation authentication request is for the second page of the second applet to be displayed in a non-full screen display form;
And the fourth judging unit is used for judging whether the second page and the first page are allowed to be displayed in the screen according to the operation authentication result fed back by the server device.
19. The apparatus of claim 18, wherein the operation authentication request carries first program identification information of the first applet and second program identification information of the second applet;
the server device is configured to generate an operation authentication result for reflecting permission to display the second page and the first page in the screen according to the non-full-screen display form after determining that the first applet and the second applet belong to the same mechanism according to the first program identification information and the second program identification information, and/or determining that the mechanism to which the second applet belongs has granted the first applet to display the second page through the non-full-screen display form.
20. The apparatus of claim 16, the first page display module comprising:
the determining unit is used for determining a first display area of the first page in an application interface of a host application of the first applet and a second display area of the second page in the application interface of the host application according to a preset application programming interface corresponding to a non-full screen display form called by the first trigger operation; wherein a first area of an application interface of the host application is greater than a second area of the second presentation area;
The page display unit is used for displaying at least part of page contents of the first page in the first display area and displaying at least part of page contents of the second page in the second display area.
21. The apparatus of claim 20, the first presentation area being an area within an application interface of the host application that is less than or equal to the first area, the second presentation area being an area within an application interface of the host application that is less than the first area; wherein the first display area and the second display area are different areas;
the page display unit is specifically configured to:
displaying at least part of page content of the first page in a floating layer form in the first display area in an application interface of the host application; the method comprises the steps of,
and displaying at least part of page content of the second page in a floating layer form in the second display area in the application interface of the host application.
22. The apparatus of claim 20, wherein the first display area is specifically an area where an application interface of the host application is located, and the second display area is an area within the application interface of the host application that is smaller than the first area;
The page display unit is specifically configured to:
generating a background image according to the page content of the first page currently displayed in the application interface of the host application;
displaying the background image in the area of an application interface of the host application;
and displaying at least part of page content of the second page in a floating layer form in the second display area at the upper layer of the background image.
23. The apparatus of any one of claims 20-22, wherein if the second page is an application page of a second applet, the number of the second applet is a positive integer greater than or equal to 1, and the second display areas corresponding to different second applets are different;
if the second page is a web page, the number of the web pages is a positive integer greater than or equal to 1, and the second display areas corresponding to different web pages are different.
24. The apparatus of claim 21 or 22, the apparatus further comprising:
the second acquisition module is used for enabling the user terminal equipment to acquire a second triggering operation of a user for the second page; the second triggering operation is used for requesting to close the second page;
the closing module is used for responding to the second triggering operation and closing a floating layer for displaying the second page; the method comprises the steps of,
The determining module is used for determining the area of the application interface of the host application as the page display area of the first applet;
and the second page display module is used for displaying the current page of the first applet in the page display area.
25. A page display device, comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
the method comprises the steps that user terminal equipment obtains a first triggering operation of a user on a first page of a first applet; the first triggering operation is used for requesting to display a second page and the first page in a screen of the user terminal equipment; the second page is a page outside the application page of the first applet;
judging whether the user terminal equipment accords with a preset page display condition or not based on the first triggering operation, and obtaining a judging result;
and if the judging result shows that the user terminal equipment accords with the preset page display condition, displaying the second page and the first page in the screen.
CN202211106058.5A 2022-09-09 2022-09-09 Page display method, device and equipment Pending CN116302230A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211106058.5A CN116302230A (en) 2022-09-09 2022-09-09 Page display method, device and equipment
PCT/CN2023/109301 WO2024051374A1 (en) 2022-09-09 2023-07-26 Page presentation method, apparatus and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211106058.5A CN116302230A (en) 2022-09-09 2022-09-09 Page display method, device and equipment

Publications (1)

Publication Number Publication Date
CN116302230A true CN116302230A (en) 2023-06-23

Family

ID=86827480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211106058.5A Pending CN116302230A (en) 2022-09-09 2022-09-09 Page display method, device and equipment

Country Status (2)

Country Link
CN (1) CN116302230A (en)
WO (1) WO2024051374A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024051374A1 (en) * 2022-09-09 2024-03-14 支付宝(杭州)信息技术有限公司 Page presentation method, apparatus and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113127128A (en) * 2021-05-07 2021-07-16 广州酷狗计算机科技有限公司 Interface control method and device, computer equipment and storage medium
CN113961286A (en) * 2021-10-11 2022-01-21 支付宝(杭州)信息技术有限公司 Page generation method, device and equipment for application program
CN116302230A (en) * 2022-09-09 2023-06-23 支付宝(杭州)信息技术有限公司 Page display method, device and equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024051374A1 (en) * 2022-09-09 2024-03-14 支付宝(杭州)信息技术有限公司 Page presentation method, apparatus and device

Also Published As

Publication number Publication date
WO2024051374A1 (en) 2024-03-14

Similar Documents

Publication Publication Date Title
CN111639289B (en) Webpage loading method and device
US11175968B2 (en) Embedding an interface of one application into an interface of another application
US20190334872A1 (en) Advertisement interception method, terminal device and storage medium
CN108549562A (en) A kind of method and device of image load
CN110941784A (en) Page generation method and device
CN112364277B (en) Webpage loading method and device
CN110874217B (en) Interface display method and device for quick application and storage medium
CN111639278B (en) Webpage loading method and device
CN106484080B (en) Display interface display method, device and equipment
CN108304234B (en) Page display method and device
CN111796823A (en) Method and device for updating page and displaying page and page maintenance system
CN113687745B (en) Interface display method, system and terminal for split-screen window
CN111782097A (en) Image resource switching method and device
CN110262749B (en) Webpage operation method, device, container, equipment and medium
CN113672323A (en) Page display method and device
CN116302230A (en) Page display method, device and equipment
CN111898056A (en) Webpage display method and device, storage medium and electronic equipment
CN111008057A (en) Page display method and device and storage medium
CN110865863A (en) Interface display method and device for fast application and storage medium
CN111046265B (en) Card data display method, device, equipment and storage medium
CN111881393A (en) Page rendering method, device, medium and electronic equipment
CN108769152B (en) Service refresh policy registration method, service refresh request method, device and equipment
CN108304169B (en) Implementation method, device and equipment for HTML5 application
CN108459858B (en) Function adjusting method, device, equipment and storage medium of application program
CN110008358B (en) Resource information display method and system, client and server

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