A page display method, device and equipment

By collaboratively displaying internal and external pages of the mini-program on user terminal devices, the problem of simultaneous display in existing technologies is solved, realizing a non-full-screen display format and improving information display efficiency and user experience.

CN116302230BActive Publication Date: 2026-02-13ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211106058.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-09
Publication Date
2026-02-13
Estimated Expiration
2042-09-09

AI Technical Summary

Technical Problem

In existing technologies, mini-programs cannot simultaneously display internal and external pages during use, causing users to frequently switch pages, which affects information display efficiency and user experience.

Method used

By determining whether the preset page display conditions are met on the user's terminal device, if they are met, the pages inside and outside the mini program are displayed collaboratively on the screen. The collaborative display of pages inside and outside the mini program is achieved by using a non-full-screen display format and introducing preset application programming interfaces and components.

Benefits of technology

It enhances users' awareness of pages inside and outside the mini-program, reduces page switching operations, and improves information display efficiency and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116302230B_ABST
    Figure CN116302230B_ABST
Patent Text Reader

Abstract

The embodiment of the present specification discloses a page display method, device and equipment. The scheme can include: when a user performs a first trigger operation on a first page of a first applet at a user terminal device, if it is determined that the user terminal device meets a preset page display condition, a second page other than the first applet and the first page at the first applet can be displayed in the screen of the user terminal device, so as to cooperatively display the pages inside and outside the applet.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of applet, and in particular to a page display method, device and equipment. BACKGROUND

[0002] With the rapid development of software technology, applets have been widely used. An applet is an application program that can be used without downloading and installing. Users can call applets on a host application, which is very convenient. The host application usually supports the starting and running of multiple applets to better meet the use requirements of users for various applets. At present, when a user is using an applet and needs to view a page other than the applet, the user usually needs to close the application page of the applet and full-screen display the page other than the applet. Since the two pages cannot be presented at the same time, it is inconvenient for users to use the applet.

[0003] Therefore, how to cooperatively display a page in an applet and a page other than the applet when a user is using the applet has become a technical problem to be solved. SUMMARY

[0004] The page display method, device and equipment provided by the embodiments of the present application can cooperatively display a page in an applet and a page other than the applet when a user is using the applet, which is not only beneficial to improving the page information display efficiency, but also beneficial to improving the user experience.

[0005] To solve the above technical problem, the embodiments of the present application are implemented as follows:

[0006] The page display method provided by the embodiments of the present application comprises the following steps.

[0007] A user terminal device acquires a first trigger operation of a user on a first page of a first applet. The first trigger operation is used to request to display a second page and the first page in a screen of the user terminal device. The second page is a page other than an application page of the first applet.

[0008] Based on the first trigger operation, it is judged whether the user terminal device meets a preset page display condition, and a judgment result is obtained.

[0009] If the judgment result indicates that the user terminal device meets the preset page display condition, the second page and the first page are displayed in the screen.

[0010] The page display device provided by the embodiments of the present application comprises the following steps.

[0011] The first obtaining module is configured to cause the user terminal device to obtain a first trigger operation of a user on a first page of a first applet; the first trigger operation is configured to request display of a second page and the first page in a screen of the user terminal device; the second page is a page other than an application page of the first applet.

[0012] The determining module is configured to determine, based on the first trigger operation, whether the user terminal device meets a preset page display condition, to obtain a determination result.

[0013] The first page display module is configured to display the second page and the first page in the screen if the determination result indicates that the user terminal device meets the preset page display condition.

[0014] An embodiment provided in the specification provides a page display device, including:

[0015] at least one processor; and

[0016] a memory in communication connection with the at least one processor; wherein

[0017] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to:

[0018] The user terminal device obtains a first trigger operation of a user on a first page of a first applet; the first trigger operation is configured to request display of a second page and the first page in a screen of the user terminal device; the second page is a page other than an application page of the first applet.

[0019] The determining module is configured to determine, based on the first trigger operation, whether the user terminal device meets a preset page display condition, to obtain a determination result.

[0020] The first page display module is configured to display the second page and the first page in the screen if the determination result indicates that the user terminal device meets the preset page display condition.

[0021] At least one embodiment provided in the specification can achieve the following beneficial effects:

[0022] When a user performs a first triggering operation on a first page of a first applet at a user terminal device, if it is determined that the user terminal device meets a preset page display condition, the first page and a second page other than an application page of the first applet are displayed in a screen of the user terminal device. In this way, in the process of using the applet, the pages inside and outside the applet can be displayed in the screen of the user terminal device. In this solution, the user can check the information in the pages inside and outside the applet from the screen of the device at the same time, which can improve the perception of the user to the pages inside and outside the applet, and improve the user experience. In addition, the user can reduce the operation of repeatedly switching the pages inside and outside the applet to check the information, which can improve the efficiency of displaying the page information and the efficiency and operation convenience of the user in checking the page information. BRIEF DESCRIPTION OF DRAWINGS

[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present specification or the prior art, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments described in the present application, and those skilled in the art can also obtain other drawings according to these drawings without creative labor.

[0024] Figure 1 A flowchart of a page display method provided by an embodiment of the present specification;

[0025] Figure 2 A schematic diagram of displaying a first page and a second page in a screen provided by an embodiment of the present specification;

[0026] Figure 3 A schematic diagram of displaying a first page and a second page in a screen provided by another embodiment of the present specification;

[0027] Figure 4 A schematic diagram of displaying a first page and a second page in a screen provided by another embodiment of the present specification;

[0028] Figure 5 A swim lane flowchart corresponding to the page display method in Figure 1 provided by an embodiment of the present specification;

[0029] Figure 6 A structural schematic diagram of a page display device corresponding to Figure 1 provided by an embodiment of the present specification;

[0030] Figure 7 A structural schematic diagram of a page display device corresponding toFigure 1 A structural schematic diagram of a page display device. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical solutions and advantages of one or more embodiments of the present specification clearer, the technical solutions of one or more embodiments of the present specification will be described clearly and completely below in combination with the specific embodiments of the present specification and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present specification, not all the embodiments. Based on the embodiments in the present specification, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of one or more embodiments of the present specification.

[0032] The technical solutions provided by the embodiments of the present specification will be described in detail below in combination with the drawings.

[0033] In the prior art, the host application usually supports the start and running of multiple applets in order to better meet the use requirements of users for each applet. At present, during the use of a certain applet, the user may have the need to view a page other than the applet, at which time the user usually needs to close the application page of the applet currently displayed in full screen and go to display the page other than the applet in full screen. Subsequently, if the user still needs to return to view the application page of the applet, the user needs to close the page other than the applet and go to display the application page of the applet in full screen again. Thus, the switching operation of the full screen pages is relatively cumbersome, and the jumping and viewing of the pages inside and outside the applet are realized. Therefore, the current scheme of displaying the pages inside and outside the applet in the form of full screen cannot present the pages inside and outside the applet at the same time, thereby affecting the page information display efficiency and easily bringing inconvenience to the user using the applet.

[0034] In order to solve the defects in the prior art, the present scheme gives the following embodiments:

[0035] Figure 1 A flowchart of a page display method provided by the embodiments of the present specification is shown. From the program point of view, the execution subject of the flowchart can be a user terminal device, or an application program carried on the user terminal device. As shown in the figure, the flowchart can include the following steps: Figure 1

[0036] Step 102: The user terminal device acquires a first trigger operation of a user for a first page of a first applet; the first trigger operation is used to request to display a second page and the first page in the screen of the user terminal device; the second page is a page other than the application page of the first applet.

[0037] ​In the embodiments of the present specification, the first trigger operation can be an operation performed by the user on the first page of the first applet currently displayed on the user terminal device when the second page other than the first applet needs to be displayed in the process of using the first applet.

[0038] The second page can be an application page of a second applet, and the second applet and the first applet can be different applets. Alternatively, the second page can also be a web page, specifically, a page generated based on HyperText Markup Language (HTML) such as an HTML5 page. In actual applications, the HTML5 page can be a page generated based on page resources obtained from the server in real time, or a page generated based on page resources in an offline package possessed by the user terminal device, which is not limited.

[0039] In actual applications, the implementation of the first trigger operation can be different according to the type of the second page. For example, when the second page is an application page of a second applet, the user can execute the first trigger operation by clicking an application icon of the second applet in the first page; when the second page is a web page, the user can execute the first trigger operation by clicking a link or a button corresponding to the second page in the first page, which is not limited.

[0040] Step 104: determining whether the user terminal device meets a preset page display condition based on the first trigger operation, to obtain a determination result.

[0041] In the embodiments of the present specification, if the first page of the first applet and the second page other than the first applet need to be displayed cooperatively, it is necessary to identify in advance whether the user terminal device meets a preset page display condition. If the user terminal device meets the preset page display condition, it usually indicates that the user terminal device has the ability and authority to display the first page of the first applet and the second page other than the first applet cooperatively, so that subsequent page cooperative display operations can be performed. The preset page display condition can be set according to actual needs, which will be explained in detail in subsequent embodiments and is not described herein.

[0042] Step 106: if the determination result indicates that the user terminal device meets the preset page display condition, displaying the second page and the first page in the screen.

[0043] In the embodiments of the present specification, after it is determined that the user terminal device meets the preset page display condition, at least part of the content of the first page and the second page can be simultaneously displayed in the screen of the user terminal device, so as to realize the coordinated display of the pages inside and outside the first applet, and when the user views the pages displayed in the screen, at least part of the content in the first page and the second page can be obtained at the same time.

[0044] Figure 1 The method in the above embodiments can enable the user to simultaneously check the information in the pages inside and outside the applet from the screen of the device, so compared with the current solution of switching the pages to display the pages outside the applet or the pages inside the applet in full screen, on the one hand, the perception of the pages inside and outside the applet can be improved, which is beneficial to improving the user experience, and on the other hand, the operation of repeatedly switching the pages inside and outside the applet to check the information can be reduced, which is beneficial to improving the efficiency of displaying the page information and the efficiency and operation convenience of checking the page information.

[0045] Therefore, Figure 1 The solution in the above embodiments can better meet the demand of conveniently inserting the branch content in the main line scene, so as to improve the business operation efficiency and the user experience. The main line scene can be the application scene corresponding to the first page of the first applet, and the branch content can be the content displayed by the second page outside the first applet. In actual application, the content in the first page and the second page usually has certain business relevance.

[0046] For example, for the scene of the user taking public transportation, the first page of the first applet can be a page for displaying a ride code in a ride applet, and the second page can be a page for displaying the real-time position of the public transportation, or the second page can be a page for displaying other information, so as to facilitate the ride operation of the user.

[0047] For the scene of the user going to a hospital, the first page of the first applet can be a page for displaying personal registration information in a hospital applet, and the second page can be a page for presenting or filling in epidemiological survey information, or the second page can be a page for displaying other information, so as to facilitate the medical operation of the user.

[0048] In addition, for the scene of the user shopping online, the first page of the first applet can be a page for displaying a live video of a product in a live shopping applet, and the second page can be a page for purchasing the live product, or the second page can be a page for communicating with a merchant selling the live product, so as to facilitate the shopping operation of the user.

[0049] In the embodiments described in this specification, the content of the first page and the second page can be set according to actual needs, and no specific limitations are made thereto.

[0050] based on Figure 1 In addition to the method described in the embodiments of this specification, some specific implementation schemes of the method are also provided, which will be described below.

[0051] In the embodiments of this specification, because in the prior art, host applications and mini-programs typically only support full-screen display of pages inside and outside the mini-program separately, and cannot coordinate the display of pages inside and outside the mini-program, therefore, in execution Figure 1 When implementing the solution, it is necessary to update the first mini-program and its host application in advance so that the user's terminal device has the resources and files required for collaborative display of pages inside and outside the mini-program.

[0052] Based on this, step 104: determine whether the user terminal device meets the preset page display conditions, which may specifically include:

[0053] Determine whether the application version of the host application of the first mini-program on the user terminal device is a first preset version; the host application of the first preset version has the program files required to display the second page and the first page in a non-full-screen display format; or...

[0054] Determine whether the application version of the first mini-program is the second preset version; the first mini-program of the second preset version has the program files required to display the second page and the first page in a non-full-screen display format.

[0055] In the embodiments of this specification, full-screen display can refer to using the entire area of ​​the application interface of the mini-program's host application as a display area for a page to be displayed (e.g., a first page, a second page), and the application interface will only display the content of this page to be displayed, without displaying the content of other pages. In practical applications, the area of ​​this display area of ​​the page to be displayed should be equal to the area of ​​the application interface of the host application, and this page to be displayed will be displayed on the topmost layer of the application interface, so that the application interface of the host application can only display one page to be displayed, and cannot simultaneously display pages inside and outside the mini-program.

[0056] Non-full-screen display can refer to using a portion of the application interface of the mini-program's host application as a display area for a page to be displayed (e.g., the first page, the second page). In other words, the area of ​​the display area of ​​any page to be displayed is smaller than the area of ​​the application interface of the host application. Based on this, multiple pages to be displayed can be displayed in the application interface of the host application, thereby achieving collaborative display of pages inside and outside the mini-program.

[0057] In actual application, the page display area of a to-be-displayed page can also be set as the entire area of the application interface of the host application, and other to-be-displayed pages are used to cover part of the area of the to-be-displayed page, so that the actual display area of the to-be-displayed page is smaller than the area of the application interface of the host application, thereby realizing display of the to-be-displayed page in a non-full-screen display form.

[0058] In the embodiments of the present specification, in order to realize display of the first page at the first applet and the second page outside the first applet in a non-full-screen display form, a preset application programming interface (API) for realizing the non-full-screen display form can be newly added, and of course, a preset component for realizing the non-full-screen display form can also need to be newly added, which is not limited herein.

[0059] Therefore, if the first applet needs to share the component library and the API of the host application, the version of the host application needs to be updated, so that the host application of the first preset version has program files corresponding to the preset application programming interface and the preset component required for realizing the non-full-screen display form. In addition, the version of the first applet also needs to be updated, so that the program files of the first applet of the second preset version can call the preset application programming interface and / or the preset component during running, thereby displaying the first page at the first applet and the second page outside the first applet in a non-full-screen display form, to realize collaborative display of the pages inside and outside the applet.

[0060] Since the host application other than the first preset version usually does not have program files corresponding to the preset application programming interface and the preset component required for realizing the non-full-screen display form, and the program files of the first applet other than the second preset version usually do not call the preset application programming interface and / or the preset component during running, the first page at the first applet and the second page outside the first applet cannot be displayed in a non-full-screen display form, therefore, Figure 1 In the scheme in the first aspect, it is needed 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 determine 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 the first preset version, and the application version of the first applet is the second preset version, a determination result indicating that the user terminal device meets the preset page display condition can be generated, otherwise, a determination result indicating that the user terminal device does not meet the preset page display condition can be generated.

[0061] In the embodiments of the present specification, if the first page of the first applet is also a page displayed in the 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 will be too much, thereby affecting the user's perception of the main line scene.

[0062] Based on this, step 104: judging whether the user terminal device meets the preset page display condition, specifically can include:

[0063] judging whether the first page is an application page displayed in the non-full screen display form.

[0064] In the embodiments of the present specification, if the first page is an application page displayed in the non-full screen display form, at this time, usually at least two pages are displayed in the screen of the user terminal, if the second page is continued to be displayed, it is easy to cause the user to be disturbed, thereby a judgment result for indicating that the user terminal device does not meet the preset page display condition can be generated. If the first page is not an application page displayed in the non-full screen display form, at this time, the first page is usually displayed in the full screen display form in the screen of the user terminal, thereby a judgment result for indicating that the user terminal device meets the preset page display condition can be generated, so as to facilitate subsequent cooperative display of the first page and the second page in the non-full screen display form, which is beneficial to improve the user experience.

[0065] In actual application, the display form of the first page of the first applet can usually be determined according to the related running parameters of the first applet, which is convenient and fast. Based on this, the judgment of whether the first page is an application page displayed in the non-full screen display form can specifically include:

[0066] obtaining at least one of the start parameter and the life cycle callback parameter of the first applet.

[0067] judging whether the first page is an application page displayed in the non-full screen display form according to at least one of the start parameter and the life cycle callback parameter.

[0068] In the embodiments of the present specification, the start parameter of the first applet can be obtained by calling the API for obtaining the parameter when the applet starts, and the life cycle callback parameter of the first applet can be obtained by calling the life cycle function. If it is determined according to the start parameter and / or the life cycle callback parameter of the first applet that there is a corresponding relationship between the first page of the first applet and the non-full screen display form identifier, it can be indicated that the first page is an application page displayed in the non-full screen display form, otherwise, it can be indicated that the first page is not an application page displayed in the non-full screen display form, but an application page displayed in the full screen display form, which is convenient and fast.

[0069] In the embodiments of the present specification, according to actual needs of a user, the first page of the first applet displayed in a non-full-screen display form can also be allowed to continue to call and display the pages of other applets or web pages in a non-full-screen display form. At this time, this can be realized by canceling the step of judging whether the first page is an application page displayed in a non-full-screen display form, or by performing the step of judging whether the first page displayed in a non-full-screen display form has the permission to display the second page in a non-full-screen display form, and details are not described herein.

[0070] In the embodiments of the present specification, Figure 1 In the implementation process of the scheme, if the second page is an application page of the second applet, generally, the version and program file of the second applet do not need to be changed. However, in order to protect the rights and interests of the institution to which the second applet belongs, the institution to which the second applet belongs can control the available display forms of the second page in the second applet provided by the institution.

[0071] Specifically, if the second page is an application page of the second applet, the step 104 of judging whether the user terminal device meets the preset page display condition can include:

[0072] sending an operation authentication request to the service end device for the first applet to display the second page of the second applet in a non-full-screen display form.

[0073] According to the operation authentication result fed back by the service end device, it is judged whether the second page and the first page are allowed to be displayed in the screen in the non-full-screen display form.

[0074] In the embodiments of the present specification, the service end device can be a service end for managing the applets published in the host application of the first applet, or can be a service end of the host application, or can be another service end having access permission of the host application, and details are not limited herein.

[0075] The institution to which the second applet belongs can communicate with the service end device in advance, so as to generate, at the service end device, information for granting the permission of the other applets to cooperatively display the pages of the other applets and the second page of the second applet in a non-full-screen display form, or generate information for prohibiting the other applets to cooperatively display the pages of the other applets and the second page of the second applet in a non-full-screen display form.

[0076] Based on this, when a 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 caused to perform user operation authentication through the service end device. If the operation authentication result fed back by the service end device reflects that the second applet belongs to an organization that has granted the first applet the right to cooperatively display the page at which the first applet is located and the second page at which the second applet is located in a non-full screen display form, it can be indicated that the second page and the first page can be displayed in the screen in a non-full screen display form, so as to generate a judgment result indicating that the user terminal device meets the preset page display condition, otherwise, a judgment result indicating that the user terminal device does not meet the preset page display condition can be generated.

[0077] In actual application, each applet at the host application has its own unique program identification information, and the organization to which each applet belongs needs to manage the rights of the applets it provides based on the unique program identification information. Based on this, the operation authentication request can carry the first program identification information (i.e. unique program identification information) of the first applet and the second program identification information (i.e. unique program identification information) of the second applet.

[0078] Correspondingly, the service end device can be used to generate an operation authentication result reflecting that the second page and the first page can be displayed in the screen in the non-full screen display form after determining that the first applet and the second applet belong to the same organization according to the first program identification information and the second program identification information, and / or determining that the organization to which the second applet belongs has granted the first applet the right to display the second page in the non-full screen display form.

[0079] In the embodiments of the present specification, each organization can also have its own unique organization identification, and the organization can also establish a corresponding relationship between the unique organization identification information of the organization and the unique program identification information of the applet after publishing the applet in the host application, so as to facilitate subsequent management of each applet it provides. At the same time, since the same organization usually sets relatively broad calling rights among the applets it provides in order to improve the interaction performance between the applets it provides, when the service end device determines that the first program identification information of the first applet and the second program identification information of the second applet both have a corresponding relationship with the unique organization identification information of the same organization, it can be known that the first applet and the second applet belong to the same organization, so as to generate an operation authentication result reflecting that the second page and the first page can be displayed in the screen in a non-full screen display form.

[0080] Alternatively, the server-side device can also store a blacklist and a whitelist set by the second applet-attached institution, wherein the blacklist can record the unique program identifier information of the target applet set by the second applet-attached institution to prohibit the calling and displaying of the second applet page in the form of non-full screen display, and the whitelist can record the unique program identifier information of the specified applet set by the second applet-attached institution to allow the calling and displaying of the second applet page in the form of non-full screen display. Based on this, if the server-side device determines that the first program identifier information of the first applet is in the whitelist, it can generate an operation authentication result reflecting that the second page and the first page can be displayed in the form of non-full screen display on the screen. Otherwise, an operation authentication result reflecting that the second page and the first page cannot be displayed in the form of non-full screen display on the screen can be generated.

[0081] In the embodiments of the present specification, the first applet usually 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 in the form of non-full screen display.

[0082] Based on this, step 106: displaying the second page and the first page in the screen, specifically can include:

[0083] According to the preset application programming interface corresponding to the non-full screen display form called according to the first trigger operation, determining a first display area of the first page in the application interface of the host application of the first applet, and a second display area of the second page in the application interface of the host application; wherein the first area of the application interface of the host application is greater than the second area of the second display area.

[0084] 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.

[0085] In the embodiments of the present specification, since the first applet is a program started and run in the host application, the page display area of the first page of the first applet and the second page opened through the first applet usually does not exceed the range of the application interface of the host application. Based on this, after the first applet calls the preset application programming interface corresponding to the non-full screen display form, if the user terminal device meets the preset page display condition, the first display area for the first page and the second display area for the second page can be determined from the application interface of the host application of the first applet when subsequent page cooperative display in the form of non-full screen display is performed.

[0086] In actual application, since the first page of the first applet is the main line scene and the second page is the branch content, in order to facilitate the user to distinguish the main line scene and the branch content, the area of the second display area corresponding to the second page can be less than the area of the application interface of the host application. The area of the first display area corresponding to the first page can be equal to or less 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 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 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 displayed in the screen.

[0087] It is worth noting that, Figure 1 The scheme in the prior art, due to the size limitation of the screen of the user terminal device, the entire contents in the first page and the second page can not be displayed in the screen at one time, but the user can perform a page sliding operation on the first page and / or the second page, so that the user has the ability to check the complete first page and second page in the screen, which is beneficial to improve the information display efficiency and user experience.

[0088] In the embodiments of the present specification, the position and size of the second display area of the second page in the application interface of the host application can be adjusted and set by the institution to which the first applet belongs by controlling the content in the program file of the first applet.

[0089] Based on this, the preset application programming interface corresponding to the non-full screen display form called according to the first trigger operation can specifically include:

[0090] According to the target input parameter information carried in the calling request of the first applet to the preset application programming interface, the second display area of the second page in the application interface of the host application is determined. The target input parameter information is carried in the program file of the first applet.

[0091] In the embodiments of the present specification, the target input parameter information can be API input parameter information used to determine the position and size of the second display area. In actual application, the institution to which the first applet belongs can write the target input parameter information into the program file of the first applet in a hard coding manner or a soft coding manner, so that when the preset application programming interface API needs to be called during the running process of the program file of the first applet, the target input parameter information carried by the first applet can be used as the input parameter of the preset application programming interface.

[0092] In actual application, the target input parameter information can be set by the institution to which the first applet belongs, for example, by setting the target input parameter information, the determined second display area can be located at the lower part of the application interface of the host application, and the area ratio of the second display area to the application interface of the host application can be a preset value, such as 0.8, 0.5, etc., which is not limited herein.

[0093] In addition, the target input parameter information can also be API input parameter information used to determine the position and size of the first display area corresponding to the first page, for example, according to the target input parameter information, the determined first display area can be located at the upper part of the application interface of the host application, and the area ratio of the first display area to the application interface of the host application can be a preset value, such as 1, 0.5, etc.

[0094] In the embodiments, by performing page adaptation processing 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 acquired in real time, the determined first display area and second display area can meet the actual needs of the user, thereby being beneficial to guarantee the page display effect of the first page and the second page cooperatively displayed in the first display area and the second display area, so as to improve the user experience.

[0095] In the embodiments of the present specification, there can be various implementation manners 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, for the convenience of understanding, various implementation manners will be explained in the following.

[0096] Implementation manner one

[0097] The first display area can be an area in the application interface of the host application with an area less than or equal to the first area, and the second display area can be an area in the application interface of the host application with an area less than the first area. The first display area and the second display area are different areas. Specifically, the first display area and the second display area can have no overlapping area. Alternatively, the first display area and the second display area can have a small overlapping area, but the first display area should not be completely covered by the second display area.

[0098] Correspondingly, the first page content is displayed in the first display area, and the second page content is displayed in the second display area. Specifically, the method can include:

[0099] The first page content is displayed in the first display area in the form of a floating layer in the application interface of the host application; and

[0100] The second page content is displayed in the second display area in the form of a floating layer in the application interface of the host application.

[0101] In the embodiments of the present specification, when the first page and the second page are cooperatively displayed in the form of non-full screen display, the first display area and the second display area can be divided from the application interface of the host application to display the first page and the second page, respectively.

[0102] In actual applications, when the application page is displayed in the form of a floating layer, the user can not only browse and review the application page, but also trigger the control or link in the application page to perform business operations. Therefore, the first page and the second page can be displayed in the first display area and the second display area in the application interface of the host application in the form of a floating layer.

[0103] At this time, if the second page is the application page of the second small program, the page display scheme provided in the embodiments of the present specification can not only cooperatively display the pages in and outside the small program, but also realize the same screen dual-living function of multiple small programs to better meet the user demand and increase the information amount of page display. At the same time, the user can review the application page of the first small program at will without closing the second page of the second small program, which can reduce the number of operations of the user for multiple times of jumping and exiting the small program to browse the pages across the small programs, thereby improving the page display efficiency. In addition, when the second page is a web page, similar technical effects are also achieved, which will not be described here.

[0104] In actual application, when the application page is displayed in the form of the floating layer, the tab page, the pop-up window, the suspension layer and other technologies can be used for implementation, and no specific limitation is made.

[0105] In the embodiment, the same-screen dual-active function of multiple applets can be implemented, and based on this, from the perspective of the application backend, the first applet and the second applet need to be in the foreground running state when the first page and the second page are cooperatively displayed.

[0106] Specifically, the user terminal device can 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, 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. In addition, a virtual machine is created for the second applet, and page rendering is performed on the second page according to the size information of the second display area in the application interface of the host application, to generate a second page adapted to the second display area, and display the second page in the floating layer at the second display area.

[0107] In actual application, the floating layer corresponding to the first page and the floating layer corresponding to the second page can 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 can also be in different layers, for example, the floating layer corresponding to the second page is set above the floating layer corresponding to the first page, and the floating layer corresponding to the second page should have a high transparency of the mask layer, which can be set according to actual needs, to transmit the content of the first page in the lower layer. At this time, since the same-screen dual-active function of multiple applets can be implemented, when the dynamic video or 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 located, which is beneficial to improve the user experience.

[0108] In actual application, only a screenshot image for the first page can be displayed in the first display area, and the first applet is changed to the background running state, but at this time, the second applet to which the second page belongs is usually in the foreground running state to better meet the business needs of the user.

[0109] The embodiment is applicable to a scenario in which a user needs to simultaneously display or operate a first page in an applet and a second page outside the applet. For example, the first page can be a page for displaying a ride code in a ride applet, and the second page can be a page for displaying real-time positions of public transport tools, or the second page can be a page for displaying other information. In addition, the first page can be a page for displaying personal registration information in a hospital visit applet, and the second page can be a page for presenting or filling in epidemiological survey information, or the second page can be a page for displaying other information, and the like.

[0110] Figure 2 A schematic diagram for displaying a first page and a second page in a screen is provided in the embodiment of the present specification. As shown in FIG. 2, at least part of page content of the first page at the first applet is displayed in the form of a floating layer in the first display area 202 in the application interface 201 of the host application of the first applet, and at least part of page content of the second page is displayed in the form of a floating layer in the second display area 203 in the application interface 201 of the host application of the first applet. Figure 2

[0111] Embodiment Two

[0112] The first display area can be a region of the application interface of the host application, and the second display area can be a region in the application interface of the host application and having an area smaller than the first area.

[0113] Correspondingly, the displaying of the at least part of page content of the first page in the first display area and the displaying of the at least part of page content of the second page in the second display area can specifically include:

[0114] generating a background image according to page content of the first page currently displayed in the application interface of the host application.

[0115] displaying the background image in a region of the application interface of the host application.

[0116] displaying the at least part of page content of the second page in the second display area in the upper layer of the background image in the form of a floating layer.

[0117] ​In the embodiments of the present specification, when the first page and the second page are cooperatively displayed in a non-full screen display form, the user may be more inclined to focus on the content in the second page and operate the second page. Therefore, the screenshot image of the first page can be used as a background image and placed under the floating layer where the second page is located, so that the user can focus on the second page. At the same time, the display area of the second page can be smaller than that of the first page, so that the user can perceive that the first page corresponds to the main scene and the second page corresponds to the branch scene, thereby improving the user experience.

[0118] In actual application, when the second page is displayed in the form of a floating layer, it can be implemented based on tab pages, pop-up windows, floating layers, etc., which are not limited. Since the second page displayed in the form of a floating layer can support user triggering of controls or links in the second page, the user can easily perform business operations.

[0119] In the embodiments, if the second page is an application page of a second applet, from the perspective of the application backend, when the first page and the second page are cooperatively displayed, the first applet can change from a foreground running state to a background running state, and the second applet needs to be in a foreground running state.

[0120] Specifically, the user terminal device can take a screenshot of the first page currently displayed in the application interface of the host application to generate a background image, create a virtual machine for the second applet, and perform page rendering on the second page according to the size information of the second display area in the application interface of the host application, 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 above the layer where the background image is located. At this time, the screen of the user terminal device can display the content of the second page in the second display area and the page content in the first page that is not covered by the second display area, thereby realizing cooperative display of pages inside and outside the applet.

[0121] The present embodiment is applicable to a scenario where the user needs to temporarily jump from the first page in the first applet to the second page outside the applet, for example, the first page of the first applet can be a page for displaying live video of goods in a shopping live applet, and the second page can be a web page for purchasing the live goods, or the second page can be a page in an applet for communicating with a merchant selling the live goods, etc., so as to facilitate the user's shopping operation. In addition, the first page can be a page for displaying a ride code in a ride applet, and the second page can be a page for displaying real-time location of a public transportation tool, or the second page can be a page for displaying other information, etc.

[0122] Figure 3 Another schematic diagram for displaying a first page and a second page in a screen is provided in the embodiments of the present specification. As shown in Figure 3 The first page at the first applet is displayed as a background image in the application interface 301 of the host application of the first applet, and at least part of the page content in the second page is displayed in the form of a floating layer in the second display area 302 in the application interface 301 of the host application of the first applet.

[0123] In the embodiments of the present specification, according to actual needs, the screenshot of the first page can be directly used as the background image, or the first page can be image-processed, and then the processed image is used as the background image, so as to improve the user experience.

[0124] Therefore, the generation of the background image according to the page content of the first page currently displayed in the application interface of the host application can specifically include the following steps.

[0125] Taking a screenshot of the page content of the first page currently displayed in the application interface of the host application to obtain a screenshot image.

[0126] The screenshot image is set as the background image, or

[0127] The screenshot image is subjected to Gaussian blur processing to obtain the background image, or

[0128] The screenshot image is subjected to transparency adjustment processing according to a preset transparency to obtain the background image.

[0129] In the embodiments of the present specification, when the screenshot image of the first page is set as the background image, part of the content of the first page can be clearly displayed in the screen, and the needs of the user for simultaneously checking or presenting the page content in the first page and the second page can be met, so as to improve the user experience.

[0130] After the screenshot image of the first page is subjected to Gaussian blur processing or transparency adjustment processing, the clarity of part of the content of the first page displayed in the screen can be reduced, so that the user can focus on the second page more conveniently, and the user experience can also be improved.

[0131] Alternatively, the screenshot image can be directly set as the background image, and the transparency of the mask layer of the floating layer where the second page is located is set to adjust the transparency of the screenshot image. At this time, the clarity of the content in the first page displayed in the screen can also be reduced, so that the user can focus on the second page more conveniently, and the user experience can be improved.

[0132] Embodiment Three

[0133] In the embodiments of the present specification, the user can also have the need to simultaneously invoke multiple applets / webpage pages through the first page of the first applet.

[0134] Based on this, if the second page is an application page of a second applet, the number of the second applets can be a positive integer greater than or equal to 1, and the second display areas corresponding to different second applets are different.

[0135] And if the second page is a webpage, the number of the webpages can be a positive integer greater than or equal to 1, and the second display areas corresponding to different webpages are different.

[0136] The present embodiment is applicable to the scenario where the user needs to temporarily jump out of the first page in the first applet and simultaneously use or display multiple applet pages / webpages. For example, the first page can be a page for displaying a ride code in a ride applet, and the multiple second pages can include pages for displaying other information.

[0137] Figure 4 Another schematic diagram for displaying the first page and the second page in the screen is provided in the embodiments of the present specification. As shown in Figure 4 In the first second display area 402 in the application interface 401 of the host application of the first applet, at least part of the page content in the first second page is displayed in the form of a floating layer, and in the second second display area 402 in the application interface 401 of the host application of the first applet, at least part of the page content in the second second page is displayed in the form of a floating layer.

[0138] At this time, the first page can be displayed in the application interface 401 as the background image of the above two floating layers (not shown in the figure), so that the area in the application interface 401 except the second display areas 402 and 403 can display at least part of the page information of the first page. Alternatively, at least part of the content in the first page can also be displayed in the form of a floating layer in the area in the application interface 401 except the second display areas 402 and 403 (not shown in the figure), which is not limited herein. Figure 4 Figure 4

[0139] In the embodiments of the present specification, after the user checks, shows or browses the second page, the user often needs to close the second page and display the page of the first applet in the form of full-screen display to return to the main scenario.

[0140] Based on this, step 106: after displaying the second page and the first page in the screen, can further include:

[0141] ​​The user terminal device acquires a second trigger operation of a user for the second page; the second trigger operation is used to request closing the second page.

[0142] In response to the second trigger operation, a floating layer used to display the second page is closed; and,

[0143] A region of an application interface of the host application is determined as a page display region of the first applet.

[0144] A current page of the first applet is displayed in the page display region.

[0145] In the embodiments of the present specification, the second page displayed in the screen is generally provided with a control for closing the second page, and the user can click the control to perform the second trigger operation for the second page. Subsequently, the user terminal device can display the current page of the first applet in the form of full screen display, which is convenient and fast. The current page of the first applet can be the first page or other pages generated according to user operations, which is not limited.

[0146] In the embodiments of the present specification, the user terminal device can also exist in a situation that does not meet the preset page display condition. At this time, the user terminal device generally cannot cooperatively display the first page of the first applet and the second page outside the first applet, so as to display the second page outside the first applet in the existing full screen display form, so as to ensure timely display of the second page to the user.

[0147] Based on this, step 104: judging whether the user terminal device meets the preset page display condition, and obtaining a judgment result can further include:

[0148] If the judgment result indicates that the user terminal device does not meet the preset page display condition, the first applet is controlled to change to a background running state; and,

[0149] A region of an application interface of the host application is determined as a page display region of the second page.

[0150] The second page is displayed in the page display region.

[0151] Figure 5 The swim lane flowchart provided by the embodiments of the present specification corresponds to the page display method in Figure 1 As shown in Figure 5 , the page display flowchart can involve user terminal devices and server devices and other execution subjects.

[0152] During the user operation acquisition phase, the user terminal device can acquire the user's first trigger operation on the first page of the first mini-program; the first trigger operation can be used to request the display of a second page and the first page on the screen of the user terminal device; wherein, the second page is a page other than the application page of the first mini-program.

[0153] During the page display phase, the user terminal device can determine whether the first page is an application page displayed in a non-full-screen format. If not, it can determine whether the application version of the host application of the first mini-program on the user terminal device is a first preset version and the application version of the first mini-program is a second preset version. If so, it can send an operation authentication request for the first mini-program to display the second page in a non-full-screen format to the server device. Based on the operation authentication result returned by the server device, it can determine whether it is allowed to display the second page and the first page on the screen in the non-full-screen format. If so, it can determine the first display area of ​​the first page in the application interface of the host application of the first mini-program and the second display area of ​​the second page in the application interface of the host application based on the preset application programming interface corresponding to the non-full-screen display format called by the first triggering operation. The first area of ​​the application interface of the host application is larger than the second area of ​​the second display area.

[0154] Subsequently, at least a portion of the content of the first page and the second page can be displayed as overlays in the first display area and the second display area, respectively. Alternatively, a background image can be generated based on the content of the first page currently displayed in the application interface of the host application; the background image can be displayed in the first display area; and at least a portion of the content of the second page can be displayed as an overlay in the second display area above the background image.

[0155] If the user terminal device determines that the first page is an application page displayed in a non-full-screen format, or determines that the application version of the host application of the first mini-program on the user terminal device is not the first preset version, or the application version of the first mini-program on the user terminal device is not the second preset version, or determines, based on the operation authentication result fed back by the server device, that the second page and the first page are not allowed to be displayed on the screen in the non-full-screen format, then the second page can be displayed in full-screen format in the application interface of the host application.

[0156] Based on the same idea, embodiments of this specification also provide apparatus corresponding to the above methods. Figure 6A structural diagram of a page display device corresponding to Figure 1 provided by an embodiment of the present specification is shown in FIG. 1. As shown in Figure 6 , the device can include:

[0157] A first obtaining module 602 is configured to cause a user terminal device to obtain a first trigger operation of a user for a first page of a first applet; the first trigger operation is used to request display of a second page and the first page in a screen of the user terminal device; the second page is a page other than an application page of the first applet.

[0158] A judging module 604 is configured to judge, based on the first trigger operation, whether the user terminal device meets a preset page display condition, to obtain a judgment result.

[0159] A first page display module 606 is configured to, if the judgment result indicates that the user terminal device meets the preset page display condition, display the second page and the first page in the screen.

[0160] Based on the device Figure 6 , the present specification also provides some specific embodiments of the device, which are described below.

[0161] Optionally, the second page can be an application page of a second applet or a web page.

[0162] Optionally, the judging module 604 can include:

[0163] A first judging unit is 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.

[0164] A second judging unit is configured to judge whether an application version of the first applet is a second preset version; the first applet of the second preset version has program files required for displaying the second page and the first page in a non-full-screen display form.

[0165] A third judging unit is configured to judge whether the first page is an application page displayed in a non-full-screen display form.

[0166] The third judging unit can be specifically configured to:

[0167] Obtain at least one of a start parameter and a life cycle callback parameter of the first applet.

[0168] According to at least one of the start parameter and the lifecycle callback parameter, it is judged whether the first page is an application page of an application in a non-full screen display form.

[0169] Optionally, if the second page is an application page of a second applet, the judging module 604 can further include:

[0170] A sending unit is configured to send 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 device.

[0171] A fourth judging unit is configured to judge whether the second page and the first page are 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.

[0172] Optionally, the operation authentication request can carry first program identification information of the first applet and second program identification information of the second applet.

[0173] The server device is configured to generate an operation authentication result reflecting that the second page and the first page are allowed to be displayed in the screen in the non-full screen display form after determining that the first applet and the second applet belong to the same organization according to the first program identification information and the second program identification information, and / or determining that the organization to which the second applet belongs has granted the first applet the permission to display the second page in the non-full screen display form.

[0174] Optionally, the first page display module 606 can include:

[0175] A determining unit is configured to determine 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 called by the first trigger operation, wherein a first area of the application interface of the host application is greater than a second area of the second display area.

[0176] A page display unit is configured to display at least part of page content of the first page in the first display area and at least part of page content of the second page in the second display area.

[0177] Optionally, the first display area can be an area in the application interface of the host application and having an area less than or equal to the first area, and the second display area can be an area in the application interface of the host application and having an area less 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 can have no overlapping area. Alternatively, the first display area and the second display area can have a small portion of overlapping area, but the first display area should not be completely covered by the second display area.

[0178] The page display unit can be specifically configured to:

[0179] display at least part of the page content of the first page in the first display area in the application interface of the host application in the form of a floating layer; and display at least part of the page content of the second page in the second display area in the application interface of the host application in the form of a floating layer.

[0180] Optionally, the first display area can be the area of the application interface of the host application, and the second display area can be an area in the application interface of the host application and having an area less than the first area.

[0181] The page display unit can be specifically configured to:

[0182] generate a background image according to the page content of the first page currently displayed in the application interface of the host application.

[0183] display the background image in the area of the application interface of the host application.

[0184] display at least part of the page content of the second page in the second display area on the upper layer of the background image in the form of a floating layer.

[0185] Optionally, the page display unit can be specifically configured to:

[0186] perform 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.

[0187] set the screenshot image as the background image; or

[0188] perform Gaussian blur processing on the screenshot image to obtain the background image; or

[0189] perform transparency adjustment processing on the screenshot image according to a preset transparency to obtain the background image.

[0190] 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 webpage, the number of the webpages is a positive integer greater than or equal to 1, and the second display areas corresponding to different webpages are different.

[0191] Optionally, Figure 6 The apparatus in the method can further include the following.

[0192] The second obtaining module is configured to cause the user terminal device to obtain a second trigger operation of a user for the second page; the second trigger operation is used to request to close the second page.

[0193] The closing module is configured to, in response to the second trigger operation, close the floating layer used to display the second page; and

[0194] The determining module is configured to determine a region of an application interface of the host application as a page display region of the first applet.

[0195] The second page display module is configured to display a current page of the first applet in the page display region.

[0196] Optionally, the determining unit can be specifically configured to:

[0197] determine a second display region of the second page in the application interface of the host application according to target input parameter information carried in the calling 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.

[0198] Optionally, Figure 6 The apparatus in the method can further include the following.

[0199] The running state changing module is configured to, if the judgment result indicates that the user terminal device does not meet the preset page display condition, control the first applet to change to a background running state; and

[0200] The page display region determining module is configured to determine a region of an application interface of the host application as a page display region of the second page.

[0201] The second page display module is configured to display the second page in the page display region.

[0202] Based on the same idea, the present specification embodiment also provides a device corresponding to the above method.

[0203] Figure 7 The present specification embodiment provides a correspondingFigure 1 FIG. 7 is a structural schematic diagram of a page display device according to an embodiment of the present application. As shown in FIG. 7, the device 700 can include: Figure 7

[0204] at least one processor 710; and

[0205] a memory 730 connected with the at least one processor in communication; wherein

[0206] the memory 730 stores instructions 720 executable by the at least one processor 710, and the instructions are executed by the at least one processor 710 to enable the at least one processor 710 to:

[0207] a user terminal device acquires a first trigger operation of a user for a first page of a first applet; the first trigger operation is used to request to display a second page and the first page in a screen of the user terminal device; the second page is a page other than an application page of the first applet.

[0208] based on the first trigger operation, it is judged whether the user terminal device meets a preset page display condition, and a judgment result is obtained.

[0209] if the judgment result indicates that the user terminal device meets the preset page display condition, the second page and the first page are displayed in the screen.

[0210] Each of the embodiments in the specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other. Each of the embodiments focuses on the difference from other embodiments. In particular, for the device shown in FIG. 7, since it is basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the part of the method embodiments. Figure 7

[0211] ​​In the 1990s, it was relatively easy to distinguish whether an improvement in a technology was a hardware improvement (e.g., an improvement in the circuit structure of a diode, transistor, switch, etc.) or a software improvement (an improvement in a method flow). However, as technology has evolved, many improvements in method flows today can be considered as direct improvements in hardware circuit structures. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into a hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (e.g., a field programmable gate array (FPGA)) is an integrated circuit whose logic function is determined by user programming of the device. A designer programs a digital system "integrated" on a PLD without having to ask a chip manufacturer to design and fabricate a custom integrated circuit chip. Moreover, instead of manually fabricating an integrated circuit chip, today this programming is mostly implemented using "logic compiler" software, which is similar to a software compiler used in program development, and the original code before compilation is also written in a specific programming language, which is called a hardware description language (HDL), and there are many types of HDLs, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc., and the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should be aware that, as long as the method flow is logically programmed in the above-mentioned hardware description languages and programmed into an integrated circuit, a hardware circuit that implements the logical method flow can be easily obtained.

[0212] The controller can be implemented in any suitable way, e.g. the controller can take the form of 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 (ASICs), programmable logic controllers and embedded microcontrollers, examples of controllers include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91 SAM, Microchip PIC 18F26K20 and Silicone Labs C8051F320, the memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also know that in addition to being implemented in pure computer readable program code form, the controller can perfectly well be implemented by means of logic programmed into logic gates, switches, application specific integrated circuits, programmable logic controllers and embedded microcontrollers, etc. to perform the same functions. The controller can thus be considered as a hardware component, and the means comprised therein for performing various functions can be considered as structures within the hardware component. Alternatively, or even additionally, the means for performing various functions can be considered as both software modules implementing the method and structures within the hardware component.

[0213] The systems, apparatuses, modules or units illustrated by the above embodiments can be implemented by computer chips or entities, or products with certain functions. A typical implementation device is a computer. Specifically, the computer can be a personal computer, a laptop computer, a cellular phone, 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.

[0214] For the sake of description, the above apparatuses are described in various units by functions respectively. Of course, the functions of the units can be implemented in one or more software and / or hardware in the implementation of the present application.

[0215] Those skilled in the art will understand that the embodiments of the present application can be provided as a method, a system or a computer program product. Therefore, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) containing computer-usable program code.

[0216] The computer program instructions can 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 block or blocks. Figure 1 one or more flowcharts and / or blocks in the flowcharts and / or combination thereof. Figure 1 one or more flowcharts and / or blocks in the flowcharts and / or combination thereof.

[0217] The computer program instructions can 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 block or blocks. Figure 1 one or more flowcharts and / or blocks in the flowcharts and / or combination thereof. Figure 1 one or more flowcharts and / or blocks in the flowcharts and / or combination thereof.

[0218] The computer program instructions can 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 block or blocks. Figure 1 one or more flowcharts and / or blocks in the flowcharts and / or combination thereof. Figure 1 one or more flowcharts and / or blocks in the flowcharts and / or combination thereof.

[0219] In one typical configuration, the computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0220] The memory can include non-persistent memory and / or volatile memory, such as random access memory (RAM) about which the processor can execute instructions. The memory can also include non-volatile memory, such as read only memory (ROM) or flash RAM. The memory is an example of computer readable media.

[0221] Computer-readable media includes permanent and non-permanent, movable and non-movable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media 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 technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible to a computing device. According to the definition herein, computer-readable media does not include transitory media such as modulated data signals and carriers.

[0222] It should also be noted that the terms "comprising", "comprising" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or apparatus that includes a list of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or apparatus. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, method, article or apparatus that includes the element.

[0223] Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system or computer program product. Therefore, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0224] The present application can be described in the general context of computer-executable instructions, such as program modules, executed by computers. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The present application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in both local and remote computer storage media including storage devices.

[0225] The above merely provides an example of the present application, but is not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the present application should be included in the scope of claims of the present application.

Claims

1. A page display method, comprising: a user terminal device obtaining a first trigger operation of a user on a first page of a first applet; the first trigger operation is used to request to display a second page and the first page in a screen of the user terminal device; the second page is a page other than an application page of the first applet; the second page is an application page of a second applet; the second applet is different from the first applet; based on the first trigger operation, determining whether the user terminal device meets a preset page display condition to obtain a determination result; the preset page display condition comprises that the first page is not an application page displayed in a non-full screen display form; the preset page display condition is used to indicate that the user terminal device has the ability and authority to cooperatively display the first page and the second page; if the determination result indicates that the user terminal device meets the preset page display condition, the second page and the first page are simultaneously displayed in the non-full screen display form in the screen; the screen can display complete content in the first page and / or the second page in response to a page sliding operation performed by the user on the first page and / or the second page. 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 determination of whether the user terminal device meets the preset page display condition comprises: determining 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 to display the second page and the first page in a non-full screen display form; or determining whether an application version of the first applet is a second preset version; the first applet of the second preset version has program files required to display the second page and the first page in a non-full screen display form. 4.The method of claim 2, wherein the determination of whether the user terminal device meets the preset page display condition comprises: determining whether the first page is an application page displayed in a non-full screen display form. 5.The method of claim 4, wherein the determination of whether the first page is an application page displayed in a non-full screen display form comprises: obtaining at least one of a start parameter and a life cycle callback parameter of the first applet; determining whether the first page is an application page displayed in a non-full screen display form according to the at least one of the start parameter and the life cycle callback parameter. 6.The method of any one of claims 1-5, wherein if the second page is an application page of a second applet, the determination of whether the user terminal device meets the preset page display condition comprises: 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 device. ​ According to the operation authentication result fed back by the server device, it is judged whether the second page and the first page are allowed to be displayed in the screen in the non-full screen display form.

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, after determining that the first applet and the second applet belong to the same organization according to the first program identification information and the second program identification information, and / or determining that the organization to which the second applet belongs has granted the first applet the permission to display the second page in the non-full screen display form, generate an operation authentication result reflecting that the second page and the first page are allowed to be displayed in the screen in 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 comprises: determining, according to a preset application programming interface corresponding to the non-full screen display form invoked by the first trigger operation, 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, wherein a first area of the application interface of the host application is greater than a second area of the second display area; displaying at least part of page content of the first page in the first display area and at least part of page content of the second page in the second display area. 9.The method of claim 8, wherein the first display area is an area within an application interface of the host application having an area less than or equal to the first area, and the second display area is an area within the application interface of the host application having an area less than the first area; and wherein, The first display area and the second display area are different areas. The displaying at least part of page content of the first page in the first display area and at least part of page content of the second page in the second display area comprises: displaying at least part of page content of the first page in the first display area in the application interface of the host application in the form of a floating layer; and displaying at least part of page content of the second page in the second display area in the application interface of the host application in the form of a floating layer.

10. The method of claim 8, wherein the first display area is a region in the application interface of the host application, and the second display area is a region in the application interface of the host application having an area smaller than the first area. The displaying at least part of page content of the first page in the first display area and at least part of page content of the second page in the second display area comprises: generating a background image according to page content of the first page currently displayed in the application interface of the host application; displaying the background image in the region in the application interface of the host application; displaying at least part of page content of the second page in the second display area in the form of a floating layer on the background image. ​ 11. The method of claim 10, wherein the generating the background image according to the page content of the first page currently displayed in the application interface of the host application comprises: performing a screenshot process 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 the background image; or performing a Gaussian blur process on the screenshot image to obtain the background image; or performing a transparency adjustment process on the screenshot image according to a preset transparency to obtain the 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 applets is a positive integer greater than or equal to 1, and the second display areas corresponding to different second applets are different; and if the second page is a webpage, the number of the webpages is a positive integer greater than or equal to 1, and the second display areas corresponding to different webpages are different.

13. The method of any one of claims 9-11, wherein the displaying the second page and the first page in the screen further comprises: the user terminal device obtaining a second trigger operation of the user for the second page; the second trigger operation being used to request closing the second page; in response to the second trigger operation, closing the floating layer used to display the second page; and determining a region of the application interface of the host application as a page display region of the first applet; and displaying a current page of the first applet in the page display region.

14. The method of claim 8, wherein the determining the second display area of the second page in the application interface of the host application according to the preset application programming interface corresponding to the non-full-screen display form called by the first trigger operation comprises: determining the second display area of the second page in the application interface of the host application according to target input parameter information carried in a calling request of the first applet for the preset application programming interface; and the target input parameter information is carried in a program file of the first applet.

15. The method of claim 1, wherein after the determining whether the user terminal device meets the preset page display condition to obtain a determination result, the method further comprises: if the determination result indicates that the user terminal device does not meet the preset page display condition, controlling the first applet to change to a background running state; and determining a region of the application interface of the host application as a page display region of the second page; and displaying the second page in the page display region.

16. A page display apparatus, comprising: a first obtaining module configured to cause a user terminal device to obtain a first trigger operation of a user for a first page of a first applet. ​ ​ ​ The first trigger operation is used to request to display the second page and the first page in a screen of the user terminal device; the second page is a page other than an application page of the first applet; the second page is an application page of a second applet; the second applet is different from the first applet; The judging module is configured to judge whether the user terminal device meets a preset page display condition based on the first trigger operation, and obtain a judging result; the preset page display condition comprises that the first page is not an application page displayed in a non-full screen display form; the preset page display condition is used to indicate that the user terminal device has the ability and the right to cooperatively display the first page and the second page; The first page display module is configured to display the second page and the first page in the non-full screen display form in the screen simultaneously if the judging result indicates that the user terminal device meets the preset page display condition; the screen can display complete content in the first page and / or the second page in response to a page sliding operation performed by the user on the first page and / or the second page.

17. The apparatus of claim 16, wherein the judging module comprises: 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 to display the second page and the first page in a non-full screen display form; a second judging unit configured to judge whether an application version of the first applet is a second preset version; the first applet of the second preset version has program files required to display the second page and the first page in a non-full screen display form; a third judging unit configured to judge 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 judging module further comprises: a sending unit configured to send an operation authentication request to a server device for the first applet to display the second page of the second applet in a non-full screen display form; a fourth judging unit configured to judge whether to allow to display the second page and the first page in the screen in the non-full screen display form according to an 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, after determining that the first and second mini programs belong to the same organization according to the first program identification information and the second program identification information, and / or determining that the organization to which the second mini program belongs has granted the first mini program the permission to display the second page in the non-full screen display form, generate an operation authentication result reflecting that the second page and the first page are allowed to be displayed in the non-full screen display form in the screen. 20.The apparatus of claim 16, wherein the first page display module comprises: a determination unit configured to determine, according to a preset application programming interface corresponding to the non-full screen display form invoked by the first trigger operation, a first display area of the first page in an application interface of a host application of the first mini program and a second display area of the second page in the application interface of the host application, wherein a first area of the application interface of the host application is greater than a second area of the second display area; a page display unit configured to display at least part of page content of the first page in the first display area and at least part of page content of the second page in the second display area.

21. The apparatus of claim 20, wherein the first presentation area is an area within an application interface of the host application having an area less than or equal to the first area, and the second presentation area is an area within the application interface of the host application having an area less than the first area; and wherein, The first display area and the second display area are different areas. The page display unit is specifically configured to: display at least part of page content of the first page in the first display area in the application interface of the host application in a floating layer form; and display at least part of page content of the second page in the second display area in the application interface of the host application in a floating layer form. 22.The apparatus of claim 20, wherein the first display area is a region in which the application interface of the host application is located, and the second display area is a region in the application interface of the host application having an area smaller than the first area. The page display unit is specifically configured to: generate a background image according to page content of the first page currently displayed in the application interface of the host application; display the background image in the region in which the application interface of the host application is located; and display at least part of page content of the second page in the second display area in a floating layer form on an 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 mini program, the number of the second mini programs is a positive integer greater than or equal to 1, and the second display areas corresponding to different second mini programs are different; and / or 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, further comprising: a second acquisition module configured to cause the user terminal device to acquire a second trigger operation of a user on the second page; the second trigger operation is configured to request to close the second page; a closing module configured to, in response to the second trigger operation, close a floating layer used to display the second page. ​ ​ and A determining module is configured to determine a region of an application interface of the host application as a page display region of the first applet; A second page display module is configured to display a current page of the first applet in the page display region.

25. A page display device, comprising: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to: A user terminal device acquires a first trigger operation of a user for a first page of a first applet; the first trigger operation is used to request to display a second page and the first page in a screen of the user terminal device; the second page is a page other than an application page of the first applet; the second page is an application page of a second applet; the second applet is different from the first applet; Based on the first trigger operation, it is judged whether the user terminal device meets a preset page display condition, and a judgment result is obtained; the preset page display condition includes that the first page is not an application page displayed in a non-full screen display form; the preset page display condition is used to indicate that the user terminal device has the ability and authority to cooperatively display the first page and the second page; If the judgment result indicates that the user terminal device meets the preset page display condition, the second page and the first page are simultaneously displayed in the screen in the non-full screen display form; the screen can display complete content in the first page and / or the second page in response to a page sliding operation of the user on the first page and / or the second page.

Citation Information

Patent Citations

  • Small program page display method and device, terminal and storage medium

    CN111475246A