Page display method, device and equipment

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

CN122019038APending Publication Date: 2026-05-12ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
Filing Date
2022-09-09
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

In existing technologies, the internal and external pages of a mini-program cannot be displayed simultaneously, which makes user operations cumbersome and affects the efficiency of information display and user experience.

Method used

By obtaining the trigger operation on the user's terminal device, it determines whether the preset page display conditions are met, and collaboratively displays the pages inside and outside the mini program on the screen. It adopts a non-full-screen display format and uses preset application programming interfaces and components to display multiple pages simultaneously.

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 CN122019038A_ABST
    Figure CN122019038A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a page display method, device and equipment. According to the scheme, the method comprises the following steps: after a user executes a first triggering operation on a first page of a first applet at user terminal equipment, if the user terminal equipment is determined to meet a preset page display condition, if yes, a second page outside the first applet and a first page at the first applet can be displayed in a screen of the user terminal equipment so as to cooperatively display pages inside and outside the applet.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of "A method, apparatus and equipment for displaying a page (application date: September 9, 2022, application number: 202211106058.5)". Technical Field

[0002] This application relates to the field of mini-program technology, and in particular to a page display method, apparatus and device. Background Technology

[0003] With the rapid development of software technology, mini-programs have become widely used. A mini-program is an application that can be used without downloading or installation; users can call mini-programs directly from the host application, making them very convenient. The host application typically supports the launch and running of multiple mini-programs to better meet users' needs for various mini-programs. Currently, when a user needs to view a page other than the mini-program while using it, they usually need to close the mini-program's application page and view the other page in full-screen mode. Since these two pages cannot be displayed simultaneously, this can easily cause inconvenience for mini-program users.

[0004] Therefore, how to collaboratively display pages within a mini-program and other pages outside the mini-program during the user's use of the mini-program has become an urgent technical problem to be solved. Summary of the Invention

[0005] The page display method, apparatus, and device provided in the embodiments of this specification can collaboratively display pages within a mini-program and other pages outside the mini-program while the user is using the mini-program. This not only improves the efficiency of page information display but also enhances the user experience.

[0006] To solve the above-mentioned technical problems, the embodiments in this specification are implemented as follows: This specification provides an embodiment of a page display method, including: The user terminal device obtains a first trigger operation from the user for the first page of the first mini-program; the first trigger operation is used to request the display of a second page and the first page on the screen of the user terminal device; the second page is a page other than the application page of the first mini-program. Based on the first triggering operation, it is determined whether the user terminal device meets the preset page display conditions, and a determination result is obtained; If the determination result indicates that the user terminal device meets the preset page display conditions, then the second page and the first page are displayed on the screen.

[0007] This specification provides an embodiment of a page display device, comprising: The first acquisition module is configured to enable the user terminal device to acquire a first trigger operation by the user on the first page of the first mini-program; the first trigger operation is used to request the display of a second page and the first page on the screen of the user terminal device; the second page is a page other than the application page of the first mini-program. The judgment module is used to determine whether the user terminal device meets the preset page display conditions based on the first triggering operation, and to obtain the judgment result; The first page display module is used to display the second page and the first page on the screen if the judgment result indicates that the user terminal device meets the preset page display conditions.

[0008] This specification provides an embodiment of a page display device, comprising: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to: The user terminal device obtains a first trigger operation from the user for the first page of the first mini-program; the first trigger operation is used to request the display of a second page and the first page on the screen of the user terminal device; the second page is a page other than the application page of the first mini-program. Based on the first triggering operation, it is determined whether the user terminal device meets the preset page display conditions, and a determination result is obtained; If the determination result indicates that the user terminal device meets the preset page display conditions, then the second page and the first page are displayed on the screen.

[0009] At least one embodiment provided in this specification can achieve the following beneficial effects: When a user performs a first trigger operation on the first page of the first mini-program on their user terminal device, if the user terminal device is determined to meet preset page display conditions, then a second page other than the first page and the application page of the first mini-program will be displayed on the screen of the user terminal device. Thus, during the user's use of the mini-program, pages inside and outside the mini-program can be displayed simultaneously on the user terminal device's screen. In this solution, since the user can simultaneously view information from pages inside and outside the mini-program on the device screen, compared to the current solution of switching pages to display pages inside or outside the mini-program in full screen, this approach improves the user's perception of pages inside and outside the mini-program, enhancing the user experience. Furthermore, it reduces the need for users to repeatedly switch between pages inside and outside the mini-program for information retrieval, improving page information display efficiency and user efficiency and ease of operation when viewing page information. Attached Figure Description

[0010] To more clearly illustrate the technical solutions in the embodiments or prior art of this specification, the drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0011] Figure 1 A flowchart illustrating a page display method provided in an embodiment of this specification; Figure 2 This is a schematic diagram illustrating the display of a first page and a second page on a screen, provided as an embodiment of this specification. Figure 3 This is another schematic diagram illustrating the display of a first page and a second page on a screen, provided as an embodiment of this specification. Figure 4 This is another schematic diagram illustrating the display of a first page and a second page on a screen, provided as an embodiment of this specification. Figure 5 The embodiments provided in this specification correspond to Figure 1 A schematic diagram of the swimlane flow for page display methods in the text; Figure 6 The embodiments provided in this specification correspond to Figure 1 A schematic diagram of the structure of a page display device; Figure 7 The embodiments provided in this specification correspond to Figure 1 A schematic diagram of the structure of a page display device. Detailed Implementation

[0012] To make the objectives, technical solutions, and advantages of one or more embodiments of this specification clearer, the technical solutions of one or more embodiments of this specification will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this specification, and not all of them. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of one or more embodiments of this specification.

[0013] The technical solutions provided in the various embodiments of this specification are described in detail below with reference to the accompanying drawings.

[0014] In existing technologies, host applications typically support the launch and operation of multiple mini-programs to better meet users' needs for each. Currently, when using a mini-program, a user may need to view pages outside of that mini-program. In this case, the user usually needs to close the currently full-screen display of the mini-program's application page and switch to a full-screen view of the other page. Subsequently, if the user needs to return to view the mini-program's application page, they must close the other page and switch back to full-screen view of the mini-program's application page. This involves a rather cumbersome full-screen page switching operation to navigate between pages inside and outside the mini-program. Therefore, the current solution of displaying pages inside and outside the mini-program separately in full-screen mode cannot simultaneously present pages inside and outside the mini-program, thus affecting the efficiency of page information display and easily causing inconvenience for users.

[0015] To address the shortcomings of existing technologies, this solution provides the following embodiments: Figure 1 This is a flowchart illustrating a page display method provided in an embodiment of this specification. From a programming perspective, the entity executing this process can be a user terminal device, or an application running on the user terminal device. Figure 1 As shown, the process may include the following steps: Step 102: The user terminal device obtains the user's first trigger operation for the first page of the first mini-program; the first trigger operation is used to request the display of the second page and the first page on the screen of the user terminal device; the second page is a page other than the application page of the first mini-program.

[0016] In the embodiments of this specification, the first triggering operation may be an operation performed on the first page of the first mini-program currently displayed on the user's terminal device when the user needs to display a second page other than the first mini-program during the use of the first mini-program.

[0017] The second page can be the application page of a second mini-program, and the second mini-program can be a different mini-program from the first mini-program. Alternatively, the second page can also be a webpage, specifically a page generated based on Hyper Text Markup Language (HTML), such as an HTML5 page. In practical applications, this HTML5 page can be generated based on page resources obtained in real time from the server, or it can be generated based on page resources in an offline package located on the user's terminal device; there is no specific limitation in this regard.

[0018] In practical applications, the implementation method of the first triggering operation can vary depending on the type of the second page. For example, when the second page is the application page of a second mini-program, the user can execute the first triggering operation by clicking the application icon of the second mini-program on the first page; while when the second page is a webpage, the user can execute the first triggering operation by clicking the link or button on the first page that corresponds to the second page, without any specific limitation.

[0019] Step 104: Based on the first triggering operation, determine whether the user terminal device meets the preset page display conditions, and obtain the determination result.

[0020] In the embodiments of this specification, if it is necessary to collaboratively display the first page of the first mini-program and a second page other than the first mini-program, it is necessary to pre-identify whether the user terminal device meets the preset page display conditions. If the user terminal device meets the preset page display conditions, it generally indicates that the user terminal device has the capability and permission to collaboratively display the first page of the first mini-program and a second page other than the first mini-program, thereby enabling the execution of subsequent page collaborative display operations. The preset page display conditions can be set according to actual needs, which will be explained in detail in subsequent embodiments and will not be elaborated upon here.

[0021] Step 106: If the judgment result indicates that the user terminal device meets the preset page display conditions, then the second page and the first page are displayed on the screen.

[0022] In this embodiment of the specification, after determining that the user terminal device meets the preset page display conditions, the second page and at least part of the content of the first page can be displayed simultaneously on the screen of the user terminal device, so as to realize the coordinated display of pages inside and outside the first mini program, so that when the user views the page displayed on the screen, he / she can simultaneously obtain at least part of the content of the first page and the second page.

[0023] Figure 1The method described above allows users to simultaneously view information from both within and outside the mini-program on their device screen. Compared to the current approach of switching between pages to display either the mini-program or the page inside the mini-program in full screen, this method enhances the user's awareness of both pages, improving the user experience. Furthermore, it reduces the need for users to repeatedly switch between pages to access information, thus improving the efficiency of information display and the ease of access for users.

[0024] Based on this Figure 1 The proposed solution better meets the need to conveniently integrate secondary content within certain main scenarios, thereby improving business efficiency and user experience. The main scenario can be the application scenario corresponding to the first page of the first mini-program, while the secondary content can be the content displayed on the second page outside the first mini-program. In practical applications, the content on the first page and the second page usually have a certain business relevance.

[0025] For example, in the scenario of users taking public transportation, the first page of the first mini-program can be the page that displays the ride code in the ride mini-program, while the second page can be the page that displays the real-time location of the public transportation, or the second page can be the page that displays the user's personal QR code for taking the ride, so as to facilitate the user's ride operation.

[0026] For users seeking medical treatment, the first page of the first mini-program can be the page that displays personal registration information in the hospital's mini-program, and the second page can be the page for showing or filling in epidemiological survey information. Alternatively, the second page can also be the page for displaying personal QR codes for medical treatment, so as to facilitate users' medical treatment operations.

[0027] Furthermore, for users' online shopping scenarios, the first page of the first mini-program can be a page displaying live video of products in a live shopping mini-program, while the second page can be a page for purchasing the products being live-streamed, or it can also be a page for communicating with the merchants selling the products being live-streamed, etc., to facilitate the user's shopping operation.

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

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

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

[0031] Based on this, step 104: determine whether the user terminal device meets the preset page display conditions, which may specifically include: 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... 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.

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

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

[0034] In practical applications, the display area of ​​a page to be displayed can be set to the entire area of ​​the host application's interface. By using other pages to be displayed to cover part of the area of ​​the page to be displayed, the actual display area of ​​the page to be displayed is made smaller than the area of ​​the host application's interface, thereby displaying the page to be displayed in a non-full-screen format.

[0035] In the embodiments of this specification, in order to facilitate the display of the first page of the first mini-program and the second page outside the first mini-program in a non-full-screen display format, a preset application programming interface (API) for implementing the non-full-screen display format can be added. Of course, it may also be necessary to add a preset component for implementing the non-full-screen display format, which is not specifically limited.

[0036] Therefore, if the first mini-program needs to share the component library and API of the host application, the host application needs to be updated to ensure that the first preset version of the host application has the program files corresponding to the preset application programming interfaces and preset components required to implement the non-full-screen display. In addition, the first mini-program also needs to be updated so that the program files of the second preset version of the first mini-program can call the preset application programming interfaces and / or the preset components during runtime, thereby displaying the first page of the first mini-program and the second page outside the first mini-program in a non-full-screen display format, thus achieving collaborative display of pages inside and outside the mini-program.

[0037] Because host applications other than the first preset version typically lack the program files corresponding to the preset application programming interfaces and preset components required for implementing a non-full-screen display, and the program files of the first mini-program other than the second preset version typically do not call the preset application programming interfaces and / or the preset components during operation, they cannot display the first page of the first mini-program and the second page outside the first mini-program in a non-full-screen display format. Therefore... Figure 1 The proposed solution requires determining whether the application version of the host application of the first mini-program on the user's terminal device is a first preset version, and / or whether the application version of the first mini-program is a second preset version. If the application version of the host application of the first mini-program on the user's terminal device is the first preset version, and the application version of the first mini-program is the second preset version, a judgment result indicating that the user's terminal device meets the preset page display conditions can be generated; otherwise, a judgment result indicating that the user's terminal device does not meet the preset page display conditions can be generated.

[0038] In the embodiments of this specification, if the first page of the first mini-program is also displayed in a non-full-screen format, allowing users to continue to display the second page in a non-full-screen format through the first page of the first mini-program would result in too many pages being displayed on the user's terminal device screen, thereby affecting the user's perception of the main scene.

[0039] Based on this, step 104: determine whether the user terminal device meets the preset page display conditions, which may specifically include: Determine whether the first page is an application page displayed in a non-full-screen format.

[0040] In the embodiments of this specification, if the first page is an application page displayed in a non-full-screen format, then at least two pages are usually already displayed on the user's terminal screen. Continuing to display the second page in a similar format would easily confuse the user. Therefore, a judgment result can be generated indicating that the user's terminal device does not meet the preset page display conditions. Conversely, if the first page is not an application page displayed in a non-full-screen format, then the user's terminal screen is usually displaying the first page in full-screen format. This allows for the generation of a judgment result indicating that the user's terminal device meets the preset page display conditions, facilitating subsequent collaborative display of the first and second pages in a non-full-screen format, thus improving the user experience.

[0041] In practical applications, the display format of the first page of the first mini-program can usually be determined based on its relevant operating parameters, which is convenient and quick. Therefore, determining whether the first page is an application page displayed in a non-full-screen format can specifically include: Obtain at least one of the startup parameters and lifecycle callback parameters of the first mini-program.

[0042] Based on at least one of the startup parameters and the lifecycle callback parameters, determine whether the first page is an application page displayed in a non-full-screen format.

[0043] In the embodiments of this specification, the startup parameters of the first mini-program can be obtained by calling the API for obtaining parameters when the mini-program starts, and the lifecycle callback parameters of the first mini-program can be obtained by calling the lifecycle function. If, based on the startup parameters and / or lifecycle callback parameters of the first mini-program, it is determined that there is a correspondence between the first page of the first mini-program and the non-full-screen display format identifier, it can be indicated that the first page is an application page displayed in a non-full-screen display format; otherwise, it can be indicated that the first page is not an application page displayed in a non-full-screen display format, but rather an application page displayed in a full-screen display format, which is convenient and quick.

[0044] In the embodiments of this specification, depending on the actual needs of the user, the first page of the first mini-program, which is displayed in a non-full-screen format, may continue to call and display pages of other mini-programs or web pages in a non-full-screen format. This can be achieved either by canceling the step of "determining whether the first page is an application page displayed in a non-full-screen format" or by executing the step of "determining whether the first page displayed in a non-full-screen format has the permission to continue displaying the second page in a non-full-screen format," which will not be elaborated further.

[0045] In the embodiments described in this specification, Figure 1 During the implementation of the Chinese solution, if the second page is the application page of the second mini-program, it is generally not necessary to modify the version or program files of the second mini-program. However, to protect the rights and interests of the organization that owns the second mini-program, the organization can also be allowed to control the available display format of the second page in the second mini-program it provides.

[0046] Specifically, if the second page is the application page of the second mini-program, then step 104: determining whether the user terminal device meets the preset page display conditions may include: Send an operation authentication request to the server device for the second page of the second mini-program that is displayed in a non-full-screen format by the first mini-program.

[0047] Based on the operation authentication result fed back by the server device, it is determined whether to allow the second page and the first page to be displayed on the screen in the non-full-screen display format.

[0048] In the embodiments described in this specification, the server-side device may be a server for managing mini-programs published in the host application of the first mini-program, or it may be a server of the host application, or it may be another server that the host application has access to; no specific limitation is made in this regard.

[0049] The organization owning the second mini-program can communicate with the server-side device in advance to generate information at the server-side device for granting other mini-programs permission to collaboratively display the pages of other mini-programs and the second page of the second mini-program in a non-full-screen display format, or to generate information for prohibiting other mini-programs from collaboratively displaying the pages of other mini-programs and the second page of the second mini-program in a non-full-screen display format.

[0050] Based on this, when a user requests to collaboratively display the first page of the first mini-program and the second page of the second mini-program in a non-full-screen display format, the user's terminal device can be authorized by the server device to perform user operation authentication. If the operation authentication result returned by the server device reflects that the organization to which the second mini-program belongs has granted the first mini-program the permission to collaboratively display the page of the first mini-program and the second page of the second mini-program in a non-full-screen display format, then it can be indicated that the second page and the first page are allowed to be displayed on the screen in a non-full-screen display format. Thus, a judgment result indicating that the user's terminal device meets the preset page display conditions can be generated. Otherwise, a judgment result indicating that the user's terminal device does not meet the preset page display conditions can be generated.

[0051] In practical applications, each mini-program on the host application has its own unique program identifier information, and the organization to which each mini-program belongs needs to manage the permissions of the mini-programs it provides based on the aforementioned unique program identifier information. Based on this, the operation authentication request may carry the first program identifier information (i.e., unique program identifier information) of the first mini-program and the second program identifier information (i.e., unique program identifier information) of the second mini-program.

[0052] Correspondingly, the server-side device can be used to generate an operation authentication result reflecting the permission to display the second page and the first page in the screen in the non-full-screen display format after determining that the first mini-program and the second mini-program belong to the same organization based on 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 format.

[0053] In this embodiment of the specification, each organization may also have its own unique organization identifier. After an organization publishes a mini-program in the host application, it can also establish a correspondence between the organization's unique organization identifier and the mini-program's unique program identifier to facilitate subsequent management of the various mini-programs it provides. Furthermore, since an organization typically sets relatively broad calling permissions between its various mini-programs to improve interaction performance, when the server device determines that the first program identifier of the first mini-program and the second program identifier of the second mini-program both correspond to the unique organization identifier of the same organization, it can know that the first mini-program and the second mini-program belong to the same organization. This allows the generation of an authentication result reflecting permission to display the second page and the first page on the screen in a non-full-screen format.

[0054] Alternatively, the server-side device may store a blacklist and a whitelist set by the organization to which the second mini-program belongs. The blacklist may contain unique program identifiers of target mini-programs that are prohibited from calling and displaying the second mini-program's pages in a non-full-screen format, as set by the organization to which the second mini-program belongs. The whitelist may contain unique program identifiers of specified mini-programs that are allowed to call and display the second mini-program's pages in a non-full-screen format, as set by the organization to which the second mini-program belongs. Based on this, if the server-side device determines that the first program identifier of the first mini-program is in the whitelist, it can generate an authentication result reflecting that displaying the second page and the first page in a non-full-screen format is permitted. Otherwise, it can generate an authentication result reflecting that displaying the second page and the first page in a non-full-screen format is prohibited.

[0055] In the embodiments of this specification, the first mini-program typically needs to call a preset application programming interface corresponding to the non-full-screen display format in order to collaboratively display the first page of the first mini-program and the second page outside the first mini-program in the non-full-screen display format.

[0056] Based on this, step 106: Displaying the second page and the first page on the screen may specifically include: Based on the preset application programming interface corresponding to the non-full-screen display format invoked by the first trigger operation, the first display area of ​​the first page within the application interface of the host application of the first mini-program, and the second display area of ​​the second page within the application interface of the host application are determined; wherein, the first area of ​​the application interface of the host application is larger than the second area of ​​the second display area.

[0057] At least a portion of the content of the first page is displayed in the first display area, and at least a portion of the content of the second page is displayed in the second display area.

[0058] In the embodiments described in this specification, since the first mini-program is a program launched and run within the host application, the display areas of the first page of the first mini-program and the second page opened through the first mini-program typically do not exceed the scope of the host application's interface. Based on this, after the first mini-program calls the preset application programming interface corresponding to the non-full-screen display format, if the user terminal device meets the preset page display conditions, the first display area for the first page and the second display area for the second page can be determined from the host application's interface when subsequently displaying pages collaboratively in a non-full-screen format.

[0059] In practical applications, since the first page of the first mini-program represents the main scenario, while the second page represents secondary content, the area of ​​the second display area corresponding to the second page can be smaller than the area of ​​the host application's interface to facilitate user differentiation. Conversely, the area of ​​the first display area corresponding to the first page can be either equal to or smaller than the area of ​​the host application's interface. However, when the area of ​​the first display area corresponding to the first page is equal to the area of ​​the host application's interface, the layer containing the second page should be positioned above the layer containing the first page to ensure that the content of both pages can be displayed collaboratively on the screen. Furthermore, 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 to ensure that the content of both pages can be displayed collaboratively on the screen.

[0060] It is worth noting that, Figure 1 The proposed solution, due to the limitations of the user terminal device's screen size, may not be able to display all the content of the first and second pages at once. However, by allowing users to perform page swiping operations on the first and / or second pages, users can be enabled to view the complete first and second pages on the screen, which helps improve information display efficiency and user experience.

[0061] In the embodiments described in this specification, the position and size of the second display area of ​​the second page within the application interface of the host application can be adjusted and set by the organization to which the first mini-program belongs by controlling the content of the program file of the first mini-program.

[0062] Based on this, determining the second display area of ​​the second page within the application interface of the host application according to the preset application programming interface corresponding to the non-full-screen display format invoked by the first trigger operation may specifically include: Based on the target input parameter information carried in the call request of the first mini-program to the preset application programming interface, the second display area of ​​the second page within the application interface of the host application is determined; the target input parameter information is carried in the program file of the first mini-program.

[0063] In this embodiment of the specification, the target input parameter information may be API input parameter information used to determine the position and size of the second display area. In practical applications, the organization to which the first mini-program belongs may use hard-coding or soft-coding to write the target input parameter information into the program file of the first mini-program, so that when the program file of the first mini-program needs to call the preset application programming interface (API) during operation, it can use the target input parameter information carried by it as the input parameter of the preset application programming interface.

[0064] In practical applications, the target input parameter information can be set by the organization to which the first mini-program belongs. For example, by setting the target input parameter information, the determined second display area can be located at the bottom of the application interface of the host application, and the ratio of the area of ​​the second display area to the area of ​​the application interface of the host application can be set to a preset value, such as 0.8, 0.5, etc., without specific limitations.

[0065] 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 top of the application interface of the host application, and the ratio of the area of ​​the first display area to the area of ​​the application interface of the host application can be a preset value, such as 1, 0.5, etc.

[0066] In this embodiment, by performing page adaptation processing based on the configuration parameter information carried in the program file of the first mini-program and the device parameter information of the user terminal device obtained in real time, the determined first display area and second display area can meet the actual needs of the user, thereby helping to ensure the page display effect of the first page and the second page displayed in the first display area and the second display area, and improving the user experience.

[0067] In the embodiments of this specification, there are multiple ways to collaboratively display the first page of the first mini-program and the second page outside the first mini-program in a non-full-screen display format on the screen. For ease of understanding, various implementation methods will be explained and described below.

[0068] Implementation Method 1 The first display area can be an area within 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 within the application interface of the host application with 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 may not overlap. Alternatively, the first display area and the second display area may have a small overlap, but the first display area should not be completely covered by the second display area.

[0069] Correspondingly, at least a portion of the content of the first page is displayed in the first display area, and at least a portion of the content of the second page is displayed in the second display area, which may specifically include: Within the first display area of ​​the host application's interface, at least a portion of the first page's content is displayed as a floating layer; and, In the second display area of ​​the application interface of the host application, at least a portion of the page content of the second page is displayed as a floating layer.

[0070] In the embodiments of this specification, when the first page and the second page are displayed collaboratively in a non-full-screen display format, a first display area and a second display area can be divided from the application interface of the host application to display the first page and the second page respectively.

[0071] In practical applications, using a floating layer to display application pages not only allows users to browse and view the application pages, but also supports users in triggering controls or links within the application pages, thereby enabling users to perform business operations. Based on this, a floating layer can be used to display the first page and the second page respectively within the first and second display areas of the host application's interface.

[0072] In this case, if the second page is the application page of the second mini-program, the page display scheme provided in this embodiment can not only achieve collaborative display of pages inside and outside the mini-program, but also realize the dual-active function of multiple mini-programs on the same screen, so as to better meet user needs and increase the amount of information displayed on the page. At the same time, since users do not need to close the second page of the second mini-program to freely browse the application page of the first mini-program, it also reduces the number of times users need to jump and exit mini-programs to browse cross-mini-program pages, thereby improving page display efficiency. In addition, when the second page is a webpage, it has similar technical effects, which will not be elaborated upon here.

[0073] In practical applications, when using a floating layer to display application pages, it can be implemented based on technologies such as tabs, pop-ups, and floating layers, without any specific limitations.

[0074] In this embodiment, since multiple mini-programs can be active on the same screen, from the perspective of the application backend, when displaying the first page and the second page in collaboration, both the first mini-program and the second mini-program need to be running in the foreground.

[0075] Specifically, the user terminal device can, based on the size information of the first display area in the application interface of the host application, use a virtual machine created for the first mini-program to re-render the first page, generating an updated first page adapted to the first display area, and displaying the updated first page in the overlay at the first display area. Similarly, a virtual machine is created for the second mini-program, and based on the size information of the second display area in the application interface of the host application, the second page is rendered, generating a second page adapted to the second display area, and displaying the second page in the overlay at the second display area.

[0076] In practical applications, the overlay corresponding to the first page and the overlay corresponding to the second page can be on the same layer. Of course, when the second display area of ​​the second page does not completely cover the first display area of ​​the first page, the overlays corresponding to the first and second pages can also be on different layers. For example, the overlay corresponding to the second page can be set above the overlay corresponding to the first page, and the overlay of the second page should have high transparency. The transparency of this overlay can be set according to actual needs to allow the content of the first page in the lower layer to show through. In this case, because the simultaneous active-on-screen functionality of multiple mini-programs can be achieved, when dynamic videos or images are displayed on the first page, users can still perceive the dynamic page content on the first page through the overlay of the second page, which helps improve the user experience.

[0077] In practical applications, a screenshot of the first page can be displayed only in the first display area, and the first mini-program can be changed to a background running state. However, in this case, it is usually ensured that the second mini-program to which the second page belongs is in a foreground running state to better meet the user's business needs.

[0078] This implementation is applicable to scenarios where users need to simultaneously display or operate a first page within a mini-program and a second page outside the mini-program. For example, the first page could be a page displaying a ride code in a public transportation mini-program, while the second page could be a page displaying the real-time location of public transportation, or a page displaying a personal QR code for rides. Similarly, the first page could be a page displaying personal registration information in a hospital mini-program, while the second page could be a page for presenting or filling in epidemiological survey information, or a page displaying a personal QR code for medical treatment, etc.

[0079] Figure 2 This is a schematic diagram illustrating the display of a first page and a second page on a screen, provided as an embodiment of this specification. Figure 2 As shown, in the first display area 202 of the application interface 201 of the first mini-program's host application, at least a portion of the page content of the first page of the first mini-program is displayed in the form of a floating layer, and in the second display area 203 of the application interface 201 of the first mini-program's host application, at least a portion of the page content of the second page is displayed in the form of a floating layer.

[0080] Implementation Method 2 The first display area can be the area where the application interface of the host application is located, and the second display area can be an area within the application interface of the host application that is smaller than the first area.

[0081] Correspondingly, displaying at least a portion of the content of the first page in the first display area and at least a portion of the content of the second page in the second display area may specifically include: A background image is generated based on the content of the first page currently displayed within the application interface of the host application.

[0082] The background image is displayed within the area of ​​the application interface of the host application.

[0083] In the second display area above the background image, at least a portion of the page content of the second page is displayed as a floating layer.

[0084] In the embodiments of this specification, when the first page and the second page are displayed collaboratively in a non-full-screen format, since users may be more inclined to focus on and interact with the content of the second page, a screenshot of the first page can be used as the background image and placed below the overlay containing the second page, thereby allowing users to focus on the second page. Simultaneously, the display area of ​​the second page can be made smaller than that of the first page, so that users perceive the first page as corresponding to the main storyline and the second page as corresponding to a side storyline, thus improving the user experience.

[0085] In practical applications, when displaying a second page using a floating layer, it can be implemented using technologies such as tabs, pop-ups, or floating layers, without specific limitations. Furthermore, because the second page is displayed as a floating layer, it typically allows users to trigger controls or links within the second page, thus facilitating user operations.

[0086] In this embodiment, if the second page is the application page of the second mini-program, then from the perspective of the application backend, when the first page and the second page are displayed in a coordinated manner, the first mini-program can change from the foreground running state to the background running state, while the second mini-program needs to be in the foreground running state.

[0087] 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. It can also create a virtual machine for the second mini-program and render 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. This second page is then displayed in a floating layer within the second display area. The layer containing the floating layer displaying the second page should be located above the layer containing the background image. At this point, the user terminal device's screen can display the content of the second page within the second display area, as well as the page content of the first page that is not obscured by the second display area, thereby achieving collaborative display of pages inside and outside the mini-program.

[0088] This implementation is applicable to scenarios where users need to temporarily jump from a first page within a first mini-program to a second page outside the mini-program. For example, the first page of the first mini-program can be a page displaying live-streamed product videos in a shopping live-streaming mini-program, while the second page can be a webpage for purchasing the live-streamed products, or it can be a page within a mini-program for communicating with the merchant selling the live-streamed products, etc., to facilitate the user's shopping operations. Similarly, the first page can be a page displaying a transit code in a public transportation mini-program, while the second page can be a page displaying the real-time location of public transportation vehicles, or it can be a page displaying a personal QR code, etc.

[0089] Figure 3 This is another schematic diagram illustrating the display of a first page and a second page on a screen, provided as an embodiment of this specification. (See diagram below.) Figure 3 As shown, the first page of the first mini-program is displayed as a background image in the application interface 301 of the host application of the first mini-program, and at least part of the page content of the second page is displayed in the form of a floating layer in the second display area 302 of the application interface 301 of the host application of the first mini-program.

[0090] In the embodiments of this specification, depending on actual needs, a screenshot of the first page can be used directly as the background image, or the first page can be image-processed and then the processed image can be used as the background image to improve the user experience.

[0091] Based on this, generating a background image according to the page content of the first page currently displayed in the application interface of the host application can specifically include: A screenshot is taken of the content of the first page currently displayed in the application interface of the host application to obtain a screenshot image.

[0092] Set the screenshot image as the background image; or... The screenshot image is subjected to Gaussian blur processing to obtain the background image; or, The transparency of the screenshot image is adjusted according to the preset transparency to obtain the background image.

[0093] In the embodiments of this specification, when a screenshot of the first page is set as the background image, part of the content of the first page can be clearly displayed on the screen, which can meet the user's need to view or display the page content of the first page and the second page at the same time, thereby improving the user experience.

[0094] Applying Gaussian blur or adjusting the transparency of a screenshot of the first page can reduce the clarity of some content displayed on the screen, allowing users to focus more easily on the second page and thus improving the user experience.

[0095] Alternatively, the screenshot image can be directly set as the background image, and the transparency of the overlay of the second page can be adjusted to process the transparency of the screenshot image. In this case, the clarity of the content displayed on the first page can be reduced, allowing users to focus more easily on the second page, thereby improving the user experience.

[0096] Implementation Method 3 In the embodiments described in this specification, users may also have the need to simultaneously launch multiple mini-programs / web pages through the first page of the first mini-program.

[0097] Based on this, if the second page is the application page of the second mini-program, the number of the second mini-programs can be a positive integer greater than or equal to 1, and the second display area corresponding to different second mini-programs is different.

[0098] If the second page is a webpage, the number of webpages can be a positive integer greater than or equal to 1, and the second display area corresponding to different webpages is different.

[0099] This implementation method is applicable to scenarios where users need to temporarily exit the first page of the first mini-program and simultaneously use or display multiple mini-program pages / web pages. For example, the first page can be a page in a ride-hailing mini-program that displays the ride code, while multiple second pages can include pages for displaying personal QR codes, etc.

[0100] Figure 4 This is another schematic diagram illustrating the display of a first page and a second page on a screen, provided as an embodiment of this specification. For example... Figure 4 As shown, in the first second display area 402 of the application interface 401 of the first mini-program's host application, at least part of the page content of the first second page is displayed in the form of a floating layer, while in the second second display area 403 of the application interface 401 of the first mini-program's host application, at least part of the page content of the second second page is displayed in the form of a floating layer.

[0101] At this point, the first page can be displayed in the application interface 401 as the background image of the two aforementioned floating layers. Figure 4 (Not shown in the image), so that at least a portion of the page information of the first page can be displayed in the area of ​​the application interface 401 other than the second display areas 402 and 403. Alternatively, at least a portion of the content of the first page can be displayed as a floating layer in the area of ​​the application interface 401 other than the second display areas 402 and 403. Figure 4 (not shown in the text), no specific limitations are made here.

[0102] In the embodiments described in this specification, after a user views, presents, or browses the second page, they often need to close the second page and display the first mini-program's page in full-screen mode to return to the main scenario.

[0103] Based on this, after displaying the second page and the first page on the screen, step 106 may further include: The user terminal device obtains a second trigger operation from the user on the second page; the second trigger operation is used to request the closing of the second page.

[0104] In response to the second triggering operation, the overlay used to display the second page is closed; and, The area where the application interface of the host application is located is determined as the page display area of ​​the first mini program.

[0105] The current page of the first mini-program is displayed within the page display area.

[0106] In the embodiments described in this specification, the second page displayed on the screen typically includes a control for closing the second page. The user can click this control to perform a second triggered operation on the second page. Subsequently, the user's terminal device can display the current page of the first mini-program in full-screen mode, which is convenient and quick. The current page of the first mini-program can be either the first page itself or another page generated based on user actions; no specific limitation is made in this regard.

[0107] In the embodiments of this specification, the user terminal device may also have situations where it does not meet the preset page display conditions. In this case, the user terminal device usually cannot coordinate the display of the first page of the first mini-program and the second page outside the first mini-program. Therefore, the second page outside the first mini-program can be displayed in the existing full-screen display format to ensure that the second page is displayed to the user in a timely manner.

[0108] Based on this, step 104: determining whether the user terminal device meets the preset page display conditions, and after obtaining the determination result, may further include: If the determination result indicates that the user terminal device does not meet the preset page display conditions, then the first mini-program is controlled to change to a background running state; and, The area where the application interface of the host application is located is determined as the page display area of ​​the second page.

[0109] The second page is displayed within the specified page display area.

[0110] Figure 5 The embodiments provided in this specification correspond to Figure 1 The swimlane flow diagram illustrates the page display method in the example. Figure 5 As shown, the process displayed on this page may involve execution entities such as user terminal devices and server-side devices.

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

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

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

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

[0115] Based on the same idea, embodiments of this specification also provide apparatus corresponding to the above methods. Figure 6 The embodiments provided in this specification correspond to Figure 1 A schematic diagram of the structure of a page display device. For example... Figure 6 As shown, the device may include: The first acquisition module 602 is configured to enable the user terminal device to acquire a first trigger operation by the user on the first page of the first mini-program; the first trigger operation is used to request the display of a second page and the first page on the screen of the user terminal device; the second page is a page other than the application page of the first mini-program.

[0116] The judgment module 604 is used to determine whether the user terminal device meets the preset page display conditions based on the first trigger operation, and obtain the judgment result.

[0117] The first page display module 606 is used to display the second page and the first page on the screen if the judgment result indicates that the user terminal device meets the preset page display conditions.

[0118] based on Figure 6 The embodiments of this specification also provide some specific implementations of the device, which will be described below.

[0119] Optionally, the second page can be the application page of the second mini-program or a webpage.

[0120] Optionally, the determination module 604 may include: The first determination unit is used to 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 program files required to display the second page and the first page in a non-full-screen display format.

[0121] The second determination unit is used to determine whether the application version of the first mini-program is a second preset version; the first mini-program of the second preset version has program files required for displaying the second page and the first page in a non-full-screen display format.

[0122] The third judgment unit is used to determine whether the first page is an application page displayed in a non-full-screen display format.

[0123] Specifically, the third judgment unit can be used for: Obtain at least one of the startup parameters and lifecycle callback parameters of the first mini-program.

[0124] Based on at least one of the startup parameters and the lifecycle callback parameters, determine whether the first page is an application page displayed in a non-full-screen format.

[0125] Optionally, if the second page is the application page of the second mini-program, the judgment module 604 may further include: The sending unit is used to send an operation authentication request for the second page of the second mini-program displayed by the first mini-program in a non-full-screen display format to the server device.

[0126] The fourth judgment unit is used to determine, based on the operation authentication result fed back by the server device, whether it is allowed to display the second page and the first page on the screen in the non-full-screen display format.

[0127] Optionally, the operation authentication request may carry the first program identifier information of the first mini-program and the second program identifier information of the second mini-program.

[0128] The server device is used to generate an operation authentication result reflecting the permission to display the second page and the first page on the screen in the non-full-screen display format after determining, based on the first program identification information and the second program identification information, that the first mini-program and the second mini-program belong to the same organization, and / or that the organization to which the second mini-program belongs has granted the first mini-program permission to display the second page in the non-full-screen display format.

[0129] Optionally, the first page display module 606 may include: The determining unit is configured to determine, based on the preset application programming interface corresponding to the non-full-screen display format invoked by the first triggering operation, a first display area of ​​the first page within the application interface of the host application of the first mini-program, and a second display area of ​​the second page within the application interface of the host application; wherein the first area of ​​the application interface of the host application is larger than the second area of ​​the second display area.

[0130] A page display unit is used to display at least a portion of the page content of the first page in the first display area and at least a portion of the page content of the second page in the second display area.

[0131] Optionally, the first display area can be an area within 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 within the application interface of the host application with 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 may not overlap. Alternatively, the first display area and the second display area may have a small overlap, but the first display area should not be completely covered by the second display area.

[0132] The page display unit can be specifically used for: In the first display area of ​​the application interface of the host application, at least a portion of the page content of the first page is displayed as a floating layer; and in the second display area of ​​the application interface of the host application, at least a portion of the page content of the second page is displayed as a floating layer.

[0133] Optionally, the first display area may be the area where the application interface of the host application is located, and the second display area may be an area within the application interface of the host application that is smaller than the first area.

[0134] The page display unit can be specifically used for: A background image is generated based on the content of the first page currently displayed within the application interface of the host application.

[0135] The background image is displayed within the area of ​​the application interface of the host application.

[0136] In the second display area above the background image, at least a portion of the page content of the second page is displayed as a floating layer.

[0137] Optionally, the page display unit can be specifically used for: A screenshot is taken of the content of the first page currently displayed in the application interface of the host application to obtain a screenshot image.

[0138] Set the screenshot image as the background image; or... The screenshot image is subjected to Gaussian blur processing to obtain the background image; or, The transparency of the screenshot image is adjusted according to the preset transparency to obtain the background image.

[0139] Optionally, if the second page is an application page of a second mini-program, the number of second mini-programs is a positive integer greater than or equal to 1, and the second display area corresponding to different second mini-programs is different. If the second page is a webpage, the number of webpages is a positive integer greater than or equal to 1, and the second display area corresponding to different webpages is different.

[0140] Optional, Figure 6 The device may also include: The second acquisition module is used to enable the user terminal device to acquire the user's second trigger operation on the second page; the second trigger operation is used to request the closure of the second page.

[0141] The closing module is used to close the overlay used to display the second page in response to the second triggering operation; and, The determination module is used to determine the area where the application interface of the host application is located as the page display area of ​​the first mini-program.

[0142] The second page display module is used to display the current page of the first mini-program within the page display area.

[0143] Optionally, the determining unit may specifically be used for: Based on the target input parameter information carried in the call request of the first mini-program to the preset application programming interface, the second display area of ​​the second page within the application interface of the host application is determined; the target input parameter information is carried in the program file of the first mini-program.

[0144] Optional, Figure 6 The device may further include: The running status change module is used to control the first mini-program to change to background running status if the judgment result indicates that the user terminal device does not meet the preset page display conditions; and.

[0145] The page display area determination module is used to determine the area where the application interface of the host application is located as the page display area of ​​the second page.

[0146] The second page display module is used to display the second page within the page display area.

[0147] Based on the same idea, this specification also provides devices corresponding to the above methods in its embodiments.

[0148] Figure 7 The embodiments provided in this specification correspond to Figure 1 A schematic diagram of the structure of a page display device. For example... Figure 7 As shown, device 700 may include: At least one processor 710; and, Memory 730 communicatively connected to the at least one processor; wherein, The memory 730 stores instructions 720 that can be executed by the at least one processor 710, the instructions being executed by the at least one processor 710 to enable the at least one processor 710 to: The user terminal device obtains a first trigger operation from the user for the first page of the first mini-program; the first trigger operation is used to request the display of a second page and the first page on the screen of the user terminal device; the second page is a page other than the application page of the first mini-program.

[0149] Based on the first triggering operation, it is determined whether the user terminal device meets the preset page display conditions, and a determination result is obtained.

[0150] If the determination result indicates that the user terminal device meets the preset page display conditions, then the second page and the first page are displayed on the screen.

[0151] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on its differences from other embodiments. In particular, for... Figure 7 As the device shown is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.

[0152] In the 1990s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to methodology). However, with technological advancements, many methodological improvements today can be considered direct improvements to hardware circuit structures. Designers almost always obtain the corresponding hardware circuit structure by programming the improved methodology into the hardware circuit. Therefore, it cannot be said that a methodological improvement cannot be implemented using hardware physical modules. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. Designers can program a digital system themselves to "integrate" it onto a PLD, without needing chip manufacturers to design and manufacture dedicated integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing integrated circuit chips, this programming is mostly implemented using "logic compiler" software. Similar to the software compiler used in program development, the original code before compilation must also be written in a specific programming language, called a Hardware Description Language (HDL). There are many 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, and RHDL (Ruby Hardware Description Language). Currently, the most commonly used are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also understand that by simply performing some logic programming on the method flow using one of these hardware description languages ​​and programming it into an integrated circuit, the hardware circuit implementing the logical method flow can be easily obtained.

[0153] The controller can be implemented in any suitable manner. For example, it 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 AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320. A memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also recognize that, in addition to implementing the controller in purely computer-readable program code form, the same functionality can be achieved by logically programming the method steps to make the controller take the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.

[0154] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or any combination of these devices.

[0155] For ease of description, the above devices are described separately by function as various units. Of course, in implementing this application, the functions of each unit can be implemented in one or more software and / or hardware.

[0156] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0157] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0158] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0159] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0160] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0161] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0162] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, 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, CD-ROM, digital character versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0163] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0164] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0165] This application can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.

[0166] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A method for displaying a page, comprising: The user terminal device obtains the user's first trigger operation on the first page of the first mini-program; The first triggering operation is used to request the display of the second page and the first page on the screen of the user terminal device; the second page is a page other than the application page of the first mini-program; Based on the first triggering operation, it is determined whether the user terminal device meets the preset page display conditions, and a determination result is obtained; the preset page display conditions are used to indicate that the user terminal device has the ability and permission to collaboratively display the first page and the second page. If the determination result indicates that the user terminal device meets the preset page display conditions, then the second page and at least a portion of the content of the first page are displayed on the screen.

2. The method as described in claim 1, wherein the second page is the application page of the second mini-program, or the second page is a webpage.

3. The method as described in claim 1 or 2, wherein the content of the first page and the second page are business-related.

4. The method as described in claim 2, wherein determining whether the user terminal device meets the preset page display conditions specifically includes: 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 in the first preset version has program files required for displaying the second page and the first page in a non-full-screen display format; or, 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.

5. The method of claim 4, further comprising: If 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, then a judgment result is generated to indicate that the user terminal device meets the preset page display conditions.

6. The method as described in claim 2, wherein determining whether the user terminal device meets the preset page display conditions specifically includes: Determine whether the first page is an application page displayed in a non-full-screen format.

7. The method of claim 6, further comprising: If the first page is an application page displayed in a non-full-screen format, a judgment result is generated to indicate that the user terminal device does not meet the preset page display conditions; If the first page is not an application page displayed in a non-full-screen format, a judgment result is generated to indicate that the user terminal device meets the preset page display conditions.

8. The method as described in claim 6, wherein determining whether the first page is an application page displayed in a non-full-screen format specifically includes: Obtain at least one of the startup parameters and lifecycle callback parameters of the first mini-program; Based on at least one of the startup parameters and the lifecycle callback parameters, determine whether the first page is an application page displayed in a non-full-screen format.

9. The method as described in claim 8, wherein determining whether the first page is an application page displayed in a non-full-screen format based on at least one of the startup parameters and the lifecycle callback parameters specifically includes: If, based on at least one of the startup parameters and the lifecycle callback parameters, it is determined that the first page of the first mini-program corresponds to the non-full-screen display format identifier, then the first page indicates that it is an application page displayed in a non-full-screen format; otherwise, it indicates that the first page is not an application page displayed in a non-full-screen format.

10. The method of claim 1, wherein the screen is capable of displaying the complete content of the first page and / or the second page in response to the user performing a page swiping operation on the first page and / or the second page.

11. The method according to any one of claims 1-10, wherein if the second page is an application page of the second mini-program, the step of determining whether the user terminal device meets the preset page display conditions specifically includes: Send an operation authentication request to the server device for the second page of the second mini program displayed by the first mini program in a non-full-screen display format; Based on the operation authentication result fed back by the server device, it is determined whether to allow the second page and the first page to be displayed on the screen in the non-full-screen display format.

12. The method as described in claim 11, wherein the operation authentication request carries the first program identifier information of the first mini-program and the second program identifier information of the second mini-program; The server device is used to generate an operation authentication result reflecting the permission to display the second page and the first page on the screen in the non-full-screen display format after determining, based on the first program identification information and the second program identification information, that the first mini-program and the second mini-program belong to the same organization, and / or that the organization to which the second mini-program belongs has granted the first mini-program permission to display the second page in the non-full-screen display format.

13. The method of claim 2, wherein displaying the second page and the first page on the screen specifically includes: Based on the preset application programming interface corresponding to the non-full-screen display format invoked by the first trigger operation, the first display area of ​​the first page within the application interface of the host application of the first mini-program and the second display area of ​​the second page within the application interface of the host application are determined; wherein, the first area of ​​the application interface of the host application is larger than the second area of ​​the second display area. At least a portion of the content of the first page is displayed in the first display area, and at least a portion of the content of the second page is displayed in the second display area.

14. The method of claim 13, wherein the first display area is an area within the application interface of the host application whose area is less than or equal to the first area, and the second display area is an area within the application interface of the host application whose area is less than the first area; wherein, The first display area and the second display area are different areas; Displaying at least a portion of the content of the first page in the first display area and at least a portion of the content of the second page in the second display area specifically includes: In the first display area of ​​the application interface of the host application, at least a portion of the page content of the first page is displayed in the form of a floating layer; as well as, In the second display area of ​​the application interface of the host application, at least a portion of the page content of the second page is displayed as a floating layer.

15. The method of claim 14, wherein displaying at least a portion of the content of the first page in the form of a floating layer within the first display area of ​​the application interface of the host application specifically includes: The user terminal device renders the first page using a virtual machine created for the first mini-program based on the size information of the first display area in the application interface of the host application, so as to generate an updated first page adapted to the first display area. The updated first page is displayed in a floating layer in the first display area; The provision that at least a portion of the content of the second page is displayed as a floating layer within the second display area of ​​the application interface of the host application specifically includes: The user terminal device renders the second page using a virtual machine created for the second mini-program based on the size information of the second display area in the application interface of the host application, so as to generate a second page adapted to the second display area, and displays the second page adapted to the second display area in the overlay at the second display area.

16. The method as described in claim 13, wherein the first display area is specifically the area where the application interface of the host application is located, and the second display area is an area within the application interface of the host application that is smaller than the first area; Displaying at least a portion of the content of the first page in the first display area and at least a portion of the content of the second page in the second display area specifically includes: A background image is generated based on the content of the first page currently displayed in the application interface of the host application; The background image is displayed within the area of ​​the application interface of the host application; In the second display area above the background image, at least a portion of the page content of the second page is displayed as a floating layer.

17. The method of claim 16, wherein generating a background image based on the page content of the first page currently displayed within the application interface of the host application specifically includes: A screenshot is taken of the content of the first page currently displayed in the application interface of the host application to obtain a screenshot image; Set the screenshot image as the background image; or... The screenshot image is subjected to Gaussian blur processing to obtain the background image; or, The transparency of the screenshot image is adjusted according to the preset transparency to obtain the background image.

18. The method according to any one of claims 13-17, wherein if the second page is an application page of the second mini-program, the number of the second mini-programs is a positive integer greater than or equal to 1, and the second display area corresponding to different second mini-programs is different; If the second page is a webpage, then the number of webpages is a positive integer greater than or equal to 1, and the second display area corresponding to different webpages is different.

19. The method of any one of claims 14-17, wherein after displaying the second page and the first page on the screen, the method further comprises: The user terminal device acquires the user's second trigger operation on the second page; The second triggering operation is used to request the closure of the second page; In response to the second triggering operation, the overlay used to display the second page is closed; as well as, The area where the application interface of the host application is located is determined as the page display area of ​​the first mini program. The current page of the first mini-program is displayed within the page display area.

20. The method of claim 13, wherein determining the second display area of ​​the second page within the application interface of the host application based on the preset application programming interface corresponding to the non-full-screen display format invoked by the first triggering operation specifically includes: Based on the target input parameter information carried in the call request of the first mini-program to the preset application programming interface, the second display area of ​​the second page within the application interface of the host application is determined; the target input parameter information is carried in the program file of the first mini-program.

21. The method of claim 20, wherein the target input parameter information includes API input parameter information for determining the position and size of the second display area; And / or, The target input parameter information includes API input parameter information used to determine the position and size of the first display area corresponding to the first page.

22. The method of claim 1, further comprising, after determining whether the user terminal device meets the preset page display conditions and obtaining the determination result: If the judgment result indicates that the user terminal device does not meet the preset page display conditions, then the first mini program is controlled to change to background running state; as well as, The area where the application interface of the host application is located is determined as the page display area of ​​the second page; The second page is displayed within the specified page display area.

23. A page display device, comprising: The first acquisition module is used to enable the user terminal device to acquire the user's first trigger operation on the first page of the first mini-program; The first triggering operation is used to request the display of the second page and the first page on the screen of the user terminal device; the second page is a page other than the application page of the first mini-program; The judgment module is used to determine, based on the first triggering operation, whether the user terminal device meets the preset page display conditions, and to obtain a judgment result; the preset page display conditions are used to indicate that the user terminal device has the ability and permission to collaboratively display the first page and the second page. The first page display module is used to display the second page and at least a portion of the content of the first page on the screen if the judgment result indicates that the user terminal device meets the preset page display conditions.

24. The apparatus of claim 23, wherein the determining module comprises: The first judgment unit is used to 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 in the first preset version has program files required for displaying the second page and the first page in a non-full-screen display format; The second judgment unit is used to determine whether the application version of the first mini program is a second preset version; the first mini program of the second preset version has program files required for displaying the second page and the first page in a non-full-screen display format; The third judgment unit is used to determine whether the first page is an application page displayed in a non-full-screen display format.

25. A page display device, comprising: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to: The user terminal device obtains a first trigger operation from the user for the first page of the first mini-program; the first trigger operation is used to request the display of a second page and the first page on the screen of the user terminal device; the second page is a page other than the application page of the first mini-program. Based on the first triggering operation, it is determined whether the user terminal device meets the preset page display conditions, and a determination result is obtained; the preset page display conditions are used to indicate that the user terminal device has the ability and permission to collaboratively display the first page and the second page. If the determination result indicates that the user terminal device meets the preset page display conditions, then the second page and at least a portion of the content of the first page are displayed on the screen.