Page display method, system and device
Through the hybrid rendering method of client-side rendering function control layer and server-side rendering information interaction layer, the problem of slow H5 page startup is solved and the user experience is improved.
Patent Information
- Application Number
- CN202510736727.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-03
- Publication Date
- 2025-09-26
AI Technical Summary
In the prior art, the rendering process of H5 pages causes slow page startup, affecting user experience.
By determining the basic data of the page on the client and sending a rendering request to the server, after receiving the configuration data, the function control layer and the information interaction layer are rendered separately to achieve hybrid rendering.
It improves the page startup speed, avoids the white screen phenomenon, and improves the user experience.
Smart Images

Figure CN120704781A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of this specification relate to the field of page display technology, and more particularly to a page display method, system, and device. Background Art
[0002] With the development of computer and Internet technologies, more and more services are becoming online, and users need to experience online services through web pages, apps, or mini-programs. In programs with interactive requirements, H5 is usually used to render pages in order to provide users with flexible and varied page layouts. This processing method can support the server to layout page content on demand and supports iterative updates at any time, without having to update the program itself to achieve the purpose of displaying new content. However, the implementation of the entire page through H5 has the problem of slow page startup. The H5 page needs to rely on data sent by the server to complete the rendering. During this process, the program needs to load the built-in browser first, and then load the web page to successfully display the page content. The entire process will appear white screen for a period of time, seriously affecting the user experience. Therefore, an effective solution is urgently needed to solve the above problems. Summary of the Invention
[0003] In view of this, embodiments of this specification provide a page display method. One or more embodiments of this specification also relate to a page display system, a page display device, a computing device, a computer-readable storage medium, and a computer program product to address technical deficiencies in the prior art.
[0004] According to a first aspect of an embodiment of this specification, a page display method is provided, which is applied to a client and includes: Determining page basic data in response to a selection instruction submitted for a target program, and sending a page rendering request to a server associated with the target program; Receive page configuration data fed back by the server in response to the page rendering request; Rendering the function control layer according to the page basic data, and rendering the information interaction layer according to the page configuration data; An interactive window page corresponding to the target program is generated and displayed based on the function control layer and the information interaction layer.
[0005] According to a second aspect of an embodiment of this specification, another page display method is provided, which is applied to a client and includes: determining page basic data in response to a selection instruction submitted for a model application, and sending a page rendering request to a server associated with the model application; Receive page configuration data fed back by the server in response to the page rendering request; Rendering the function control layer according to the page basic data, and rendering the information interaction layer according to the page configuration data; A question-and-answer interaction page corresponding to the model application is generated and displayed based on the function control layer and the information interaction layer.
[0006] According to a third aspect of the embodiments of this specification, a page display system is provided, including a client and a server, including: The client is configured to receive a selection instruction submitted for a target program, determine basic page data according to the selection instruction, and send a page rendering request to the server; The server is configured to obtain page configuration data in response to the page rendering request and send the page configuration data to the client; The client is used to render the function control layer according to the page basic data, and to render the information interaction layer according to the page configuration data; and to generate and display the interactive window page corresponding to the target program based on the function control layer and the information interaction layer.
[0007] According to a fourth aspect of the embodiments of this specification, a page display device is provided, which is applied to a client and includes: a determination module configured to determine page basic data in response to a selection instruction submitted for a target program, and to send a page rendering request to a server associated with the target program; A receiving module is configured to receive page configuration data fed back by the server in response to the page rendering request; a rendering module configured to render a function control layer according to the page basic data and to render an information interaction layer according to the page configuration data; The generation module is configured to generate and display an interactive window page corresponding to the target program based on the function control layer and the information interaction layer.
[0008] According to a fifth aspect of the embodiments of this specification, another page display device is provided, which is applied to a client and includes: a data determination module configured to determine page basic data in response to a selection instruction submitted for a model application, and to send a page rendering request to a server associated with the model application; A data receiving module is configured to receive page configuration data fed back by the server in response to the page rendering request; A rendering layer module is configured to render a function control layer according to the page basic data, and to render an information interaction layer according to the page configuration data; The page generation module is configured to generate and display the question-and-answer interaction page corresponding to the model application based on the function control layer and the information interaction layer.
[0009] According to a sixth aspect of the embodiments of this specification, a computing device is provided, including: memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the above-mentioned page display method are implemented.
[0010] According to a seventh aspect of the embodiments of this specification, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the instructions are executed by a processor, the steps of the above-mentioned page display method are implemented.
[0011] According to an eighth aspect of the embodiments of this specification, a computer program product is provided, including a computer program or instructions, which implement the steps of the above-mentioned page display method when executed by a processor.
[0012] The page display method provided in this embodiment can, in order to avoid the problem of slow page startup and improve the user experience, first determine the page basic data configured by the target program itself after determining that the user submits a selection instruction for the target program, and at the same time send a page rendering request to the server of the target program and receive the page configuration data fed back by the server in response to the page rendering request; based on this, the function control layer can be rendered according to the page basic data, and the information interaction layer can be rendered according to the page configuration data; and then the interactive window page corresponding to the target program can be generated and displayed based on the function control layer and the information interaction layer. When the program is started to display the interactive window page, the function control layer in the page is rendered by the basic data configured by the program itself, and the information interaction layer in the page is rendered by the configuration data sent by the server, thereby realizing a hybrid rendering method to improve the page startup speed and avoid the problems of fixed page content or slow page startup when using a single rendering method. At the same time, the page display method is not limited by the client carrier, and any client that starts the target program can use this method to render the interactive window page, thereby effectively improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 This is a schematic diagram of a page display method provided by an embodiment of this specification; Figure 2 This is a flow chart of a page display method provided by one embodiment of this specification; Figure 3a This is a schematic diagram of an interactive window in a page display method provided by an embodiment of this specification; Figure 3b This is a schematic diagram of an interactive window page in a page display method provided by an embodiment of this specification; Figure 3c This is a schematic diagram of a pop-up window in a page display method provided by an embodiment of this specification; Figure 3d This is a schematic diagram of a method for invoking an information input component in a page display method provided in one embodiment of this specification; Figure 4 This is a flowchart of another page display method provided by an embodiment of this specification; Figure 5 This is a process flow chart of a page display method provided by an embodiment of this specification; Figure 6 This is a structural diagram of a page display system provided by an embodiment of this specification; Figure 7 This is a structural diagram of a page display device provided by an embodiment of this specification; Figure 8 This is a structural diagram of another page display device provided by an embodiment of this specification; Figure 9 This is a structural block diagram of a computing device provided by one embodiment of this specification. DETAILED DESCRIPTION
[0014] The following description sets forth many specific details to facilitate a thorough understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the scope of this specification. Therefore, this specification is not limited to the specific implementations disclosed below.
[0015] The terms used in one or more embodiments of this specification are for the purpose of describing specific embodiments only and are not intended to limit one or more embodiments of this specification. The singular forms "a," "the," and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.
[0016] It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of this specification, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0017] In addition, it should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in one or more embodiments of this specification are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0018] In one or more embodiments of this specification, a large model refers to a deep learning model with large-scale model parameters, typically containing hundreds of millions, tens of billions, hundreds of billions, trillions, or even more than ten trillion model parameters. A large model can also be called a foundation model. It is pre-trained on a large amount of unlabeled corpus to produce a pre-trained model with more than 100 million parameters. This model can adapt to a wide range of downstream tasks and has good generalization capabilities, such as large language models (LLMs) and multi-modal pre-training models.
[0019] When large models are used in practice, only a small number of samples are needed to fine-tune the pre-trained model and it can be applied to different tasks. Large models can be widely used in natural language processing (NLP), computer vision and other fields. Specifically, they can be applied to computer vision tasks such as visual question answering (VQA), image caption (IC), and image generation, as well as natural language processing tasks such as text-based sentiment classification, text summary generation, and machine translation. The main application scenarios of large models include digital assistants, intelligent robots, search, online education, office software, e-commerce, and intelligent design.
[0020] First, the terms involved in one or more embodiments of this specification are explained.
[0021] HTML5 is the latest version of HTML (Hypertext Markup Language). It not only includes standard tags for describing web page structure but also introduces many new features, such as video playback, graphics drawing (Canvas), and local storage, without relying on third-party plug-ins. In mobile application development, HTML5 is often used to build cross-platform application interfaces that can be displayed on mobile devices through WebView.
[0022] WebView is a component that allows web content to be embedded and rendered within native applications. Simply put, it's like a lightweight browser that can load URLs or directly load HTML strings and display them within a specific part of the application. With WebView, developers can leverage web technologies (HTML, CSS, JavaScript) to build part or all of the application's user interface while also accessing native functionality (such as the camera and location), making hybrid applications possible.
[0023] NativeBar typically refers to a navigation bar or toolbar created by native code in hybrid apps. This layer sits above the WebView but is typically implemented natively, providing fixed UI controls such as the back button and menu button. This approach ensures consistency and performance of these controls while also enabling easier access to native features and services.
[0024] H5Dialog refers to a method for displaying pop-up dialog boxes within applications built using HTML5 technology. It can be a modal dialog box implemented within a WebView using JavaScript and HTML / CSS, or a dialog box triggered by native code but visually integrated into the WebView. H5Dialog is primarily used when the user needs to enter information, confirm an action, or display important notifications. Because it is implemented based on H5 technology, it has good cross-platform compatibility.
[0025] This specification provides a page display method. One or more embodiments of this specification also involve a page display system, a page display device, a computing device, a computer-readable storage medium, and a computer program product, each of which is described in detail in the following embodiments.
[0026] See also Figure 1As shown in the schematic diagram, the page display method provided by this embodiment can, in order to avoid the problem of slow page startup and improve the user experience, first determine the page basic data configured by the target program itself after determining that the user submits a selection instruction for the target program, and at the same time send a page rendering request to the server of the target program and receive the page configuration data fed back by the server in response to the page rendering request; based on this, the function control layer can be rendered according to the page basic data, and the information interaction layer can be rendered according to the page configuration data; then, the interactive window page corresponding to the target program can be generated and displayed based on the function control layer and the information interaction layer. When the program is started to display the interactive window page, the function control layer in the page is rendered by the basic data configured by the program itself, and the information interaction layer in the page is rendered by the configuration data sent by the server, thereby realizing a hybrid rendering method to improve the page startup speed, avoiding the problems of fixed page content or slow page startup when using a single rendering method. At the same time, the page display method is not limited by the client carrier, and can be used by any client that starts the target program to render the interactive window page, thereby effectively improving the user experience.
[0027] See also Figure 2 , Figure 2 A flow chart of a page display method provided according to an embodiment of the present specification is shown, which is applied to a client and specifically includes the following steps.
[0028] Step S202 : determining page basic data in response to a selection instruction submitted for a target program, and sending a page rendering request to a server associated with the target program.
[0029] The page display method provided in this embodiment can be applied to any scenario that relies on a target program to display an interactive window page, wherein the target program can be an APP installed on the client or a mini-program; the service function provided by the target program is used to interact with the user, such as the target program provides a question-and-answer interactive service, supports users to enter questions in the generated interactive window page, and displays the answers corresponding to the questions to the users after processing by the model deployed by the server; for example, the target program provides an image processing service, supports users to enter images to be processed in the generated interactive window page, and displays the processed images to the users after processing by the service provided by the server; for example, the target program provides a search service, supports users to enter search keywords in the interactive window page, and displays the search results to the users after processing by the server.
[0030] This embodiment illustrates the page display method by taking the target program providing question-answering model services as an example. Other page display methods with interactive window page display requirements can refer to the same or corresponding descriptions in this embodiment, and this embodiment will not be elaborated on here.
[0031] Specifically, the target program refers to a program that provides interactive services to users, such as question-and-answer interactive services, search services, multimedia data processing services, etc.; correspondingly, the selection instruction refers to an instruction to start the target program or select the target program from multiple applets. Correspondingly, the page basic data refers to the data configured by the target program itself to generate the function control layer in the interactive window page. It is stored on the client side, and when the target program is started, the page basic data can be directly read from the corresponding folder and used, so that the subsequent function control layer rendering can be completed quickly, saving time and avoiding the problem of a long white screen. Correspondingly, a page rendering request refers to a request sent to the server to request the corresponding data of other layers in the interactive window page.
[0032] Based on this, in order to avoid the problem of slow page startup and improve the user experience, after determining that the user submits a selection instruction for the target program, the page basic data configured by the target program itself can be determined first, and at the same time, a page rendering request can be sent to the server of the target program, and the page configuration data fed back by the server for the page rendering request can be received; based on this, the function control layer can be rendered according to the page basic data, and the information interaction layer can be rendered according to the page configuration data; and then the interactive window page corresponding to the target program can be generated and displayed based on the function control layer and the information interaction layer. When the program is started to display the interactive window page, the function control layer in the page is rendered by the basic data configured by the program itself, and the information interaction layer in the page is rendered by the configuration data sent by the server, thereby realizing a hybrid rendering method to improve the page startup speed, avoiding the problem of fixed page content or slow page startup when using a single rendering method. At the same time, this page display method is not limited by the client carrier, and any client that starts the target program can use this method to render the interactive window page, thereby effectively improving the user experience.
[0033] Furthermore, after the target program is started, considering that the target program may be in the latest state or the historical state, and different states require different content to be displayed, when sending a page rendering request to the server, different information needs to be carried to request different data for use in the subsequent rendering information interaction layer. In this embodiment, the specific implementation is as follows: (1) When the selection instruction is associated with historical interaction information, a page rendering request including call information is generated according to the selection instruction and sent to a server associated with the target program, wherein the call information is used to add the historical interaction information to the page configuration data.
[0034] Specifically, historical interaction information refers to interaction information generated by the user using the target program before the current moment; correspondingly, call information refers to the request field for requesting the server to call the historical interaction information and send it to the client.
[0035] Based on this, when the selection instruction is associated with historical interaction information, it means that the interactive window page to be displayed needs to include historical interaction information, and further indicates that the user needs to perform subsequent interactive operations based on the historical interaction information. Therefore, a page rendering request containing call information can be generated according to the selection instruction and sent to the server associated with the target program, so that the server can send historical interaction information to the client according to the call information in the request, so that when the page is generated later, the historical interaction information can be added to the interactive window page and displayed to the user.
[0036] (2) When the selection instruction is associated with non-historical interaction information, a program cold start request is generated according to the selection instruction, and the program cold start request is used as a page rendering request and sent to the server associated with the target program.
[0037] Specifically, non-historical interaction information refers to information associated with an empty set of selected instructions, which indicates that the currently launched target program is a new interactive task. Correspondingly, a program cold start request refers to a request to start a program for a new interactive task. In this case, the server only needs to provide basic information about the interactive window page based on this request.
[0038] Based on this, when the selection instruction is associated with non-historical interaction information, it means that the user is using the target program as a new interaction task at this time. Therefore, a program cold start request can be generated according to the selection instruction, and the program cold start request can be used as a page rendering request and sent to the server associated with the target program to facilitate subsequent interaction processing.
[0039] For example, when a user uses the large language model interactive service provided by platform A, according to the user's instruction to start program A, the page basic data used to render the NativeBar layer (function control layer) can be read from the program data stored on the client according to the startup instruction. The page basic data can then be used to render the NativeBar layer in the interactive window to display the content of the fixed top bar, input box, and specified function controls in the program; at the same time, a page rendering request can be sent to platform A according to the startup instruction to request the server to send data for rendering the WebView dialog layer and H5Dialog layer, which is used to dynamically generate corresponding dynamic content, thereby quickly completing the interactive window startup operation.
[0040] In summary, by sending different page rendering requests to the server for different selection instructions, the server can feedback the data required by the client according to the request content, thereby ensuring that the subsequently generated interactive window page is more accurate and improving the user's interactive experience.
[0041] Step S204: receiving page configuration data fed back by the server in response to the page rendering request.
[0042] Step S206: rendering the function control layer according to the page basic data, and rendering the information interaction layer according to the page configuration data.
[0043] Specifically, after determining the basic data of the page locally and sending a page rendering request to the server, you can first receive the page configuration data fed back by the server in response to the page rendering request; on this basis, all the data required for rendering the interactive window page is determined, and then you can render the function control layer according to the basic data of the page, and render the information interaction layer according to the page configuration data, so that you can subsequently display the interactive window page that provides interactive services to users based on the function control layer and the information interaction layer.
[0044] Among them, page configuration data specifically refers to the data sent by the server for rendering the information interaction layer, which is used to configure dynamically changing information in the interactive window page, such as historical interaction information, interaction information with users, etc.; correspondingly, the function control layer specifically refers to the window layer used to display fixed functional components and content in the interactive window page, which can be used to display the top navigation bar, bottom input box, specified function controls, etc. It can be implemented through Native to solve the white screen problem on the startup page. It can be understood that the function control layer can display the general information that the page needs to display. By using Native implementation, rendering can be completed directly based on locally stored data, thereby improving the page startup time while avoiding the white screen problem.
[0045] Correspondingly, the information interaction layer specifically refers to the window layer used to display the dynamically changing content in the interactive window page. It can be used to display the interactive information generated during the interaction with the user, historical interactive information, etc. It can be implemented through H5 and used to update the rendering in real time in combination with the interactive information with the user, thereby solving the problem of flexible display. It can be understood that the information interaction layer can display the interactive information that needs to change in real time on the page. Figure 3a As shown in the schematic diagram, when the target program is started and the interactive window is entered, the WebVie dialogue layer can be implemented through H5, while the top bar and multi-modal input box can be implemented through Native, thereby improving the page startup speed through hybrid rendering, avoiding the white screen problem, and improving the user experience.
[0046] In actual applications, considering that the page configuration data is sent by the server and the basic page data is stored locally on the client, when rendering the function control layer, the function control layer can be rendered directly after obtaining the basic page data, and loaded into the initial interaction window page for direct display, thereby avoiding the problem of a white screen affecting the user experience while waiting for the information interaction layer to render.
[0047] Furthermore, rendering the function control layer according to the page basic data and rendering the information interaction layer according to the page configuration data include: Rendering a function control layer including an information editing component and a navigation component according to the page basic data; rendering an information interaction layer including interactive information according to the page configuration data; Specifically, the editing component refers to the component that supports users to make selections and input information, including but not limited to input boxes, setting function controls, such as document upload controls, image upload controls, etc.; correspondingly, the navigation component refers to the component located at the top of the page for guiding user operations, such as the return to homepage component, the new task component, etc.; correspondingly, the interactive information refers to the interactive information generated by the user when using the target program, such as the question and answer content generated during the question and answer interaction process.
[0048] Based on this, when rendering the function control layer and the information interaction layer, the function control layer containing information editing components and navigation components can be rendered according to the basic data of the page; the information interaction layer containing interactive information can be rendered according to the page configuration data, so that the function control layer and the information interaction layer can be combined to generate an interactive window page to display to the user and provide corresponding interactive services to the user.
[0049] Continuing with the above example, after determining the basic data of the page and sending a page rendering request to Platform A, the page configuration data fed back by Platform A in response to the page rendering request can be received. Based on this, the NativeBar layer based on Native can be rendered according to the basic data of the page. The NativeBar layer can be used to display input boxes, document upload controls, submit controls, and navigation bars. Based on the page configuration data fed back by the platform, the WebView dialogue layer based on H5 can be rendered. The WebView dialogue layer can be used to display the interactive information generated during the interaction between the user and the large language model, such as the answers, images, and videos fed back by the model to the user. Subsequently, the above information can be combined to render an interactive page to support user question-and-answer interaction.
[0050] In summary, by rendering different window layers in different ways, the page startup speed can be improved while avoiding the degradation of the user experience caused by the white screen.
[0051] Step S208: Generate and display an interactive window page corresponding to the target program based on the function control layer and the information interaction layer.
[0052] Specifically, after rendering the functional control layer and information interaction layer, an interactive window page corresponding to the target program can be generated and displayed based on the functional control layer and information interaction layer. This allows subsequent users to use interactive services through the interactive window page, such as question-and-answer interaction with the large language model, thus saving users the time of waiting for the page to launch. The interactive window page provides users with interactive service functions, allowing users to enter information and view the corresponding interactive results.
[0053] In addition, when the target program is running, there are cases where pop-up window contents are displayed to the user, such as asking the user whether to delete the specified content or close the program, etc., which can all be achieved through pop-up windows. Therefore, the pop-up window interaction layer can also be rendered based on the pop-up window configuration data sent by the server. In this embodiment, the specific implementation method is as follows: Receive pop-up window configuration data fed back by the server in response to the page rendering request, and render a pop-up window interaction layer according to the pop-up window configuration data; use the pop-up window interaction layer to update the interactive window page, and display the interactive window page containing the target pop-up window based on the update result; wherein the pop-up window interaction layer and the information interaction layer have the same rendering strategy but different carrier containers, and the pop-up window interaction layer has a higher display priority than the information interaction layer. Render the pop-up window interaction layer containing the target pop-up window according to the pop-up window configuration data.
[0054] Specifically, pop-up configuration data refers to the data sent by the server for rendering the pop-up interaction layer. This data is used to configure dynamic pop-up information at the top layer of the interactive window page, such as page closing pop-ups, new session inquiry pop-ups, and reminder information pop-ups. Correspondingly, the pop-up interaction layer refers to the window layer used to display specific reminder information. This layer can be implemented through H5 and belongs to a different window layer from the information interaction layer, giving it a higher display priority during the page display phase.
[0055] Based on this, when the server receives pop-up configuration data in response to the page rendering request, it means that the page needs to display pop-up content at this time. Therefore, the pop-up interaction layer can be rendered according to the pop-up configuration data, and then the pop-up interaction layer can be used to update the interactive window page, and the interactive window page containing the target pop-up window can be displayed according to the update result.
[0056] On this basis, to make the displayed content more in line with the user's browsing needs, the pop-up interaction layer and the information interaction layer can be controlled to have the same rendering strategy but different carrier containers. This can be understood as both being implemented based on H5 but belonging to different window layers. At the same time, the display priority of the pop-up interaction layer can be set higher than that of the information interaction layer, so that pop-ups are displayed first. In specific implementation, the pop-up interaction layer containing the target pop-up can be rendered according to the pop-up configuration data.
[0057] Following the above example, after rendering the NativeBar layer based on Native and the WebView dialog layer based on H5, you can now generate and display the following Figure 3b The interactive page shown supports users using the large model Q&A service. For example, if a user asks a question about {specific implementation of code generation technology}, they can submit the question to Platform A, which then inputs the question into the deployed large language model for processing and obtains the corresponding answer. By sending the question to the client and rendering it on the interactive page, the corresponding answer information can be displayed to the user. {Code generation technology refers to the process of automatically generating source code through specific tools or algorithms. This technology can...}.
[0058] On this basis, when the user selects the link in the answer information (the reference link for generating the answer), a pop-up display request can be sent to the server, and the server can receive the data fed back by the request. Then, based on the fed-back data, the H5Dialog layer can be rendered through H5 and updated to the interactive page, which can be displayed as follows: Figure 3c The pop-up window shown is used to ask the user whether to jump to document 1, thereby facilitating subsequent user interaction.
[0059] In summary, by using Native to implement the function control layer and H5 to implement the information interaction layer and pop-up interaction layer, the rendering speed of page display content can be improved through hybrid rendering, thereby improving the user experience.
[0060] Furthermore, when the user uses the interactive window page for interactive operations, in order to avoid a single display method affecting the user input experience, the page can be updated in combination with the initial interaction information. In this embodiment, the specific implementation method is as follows: Receive an input instruction submitted to the information input box in the interactive window page; determine initial interactive information in the interactive window page according to the input instruction; update the interactive window page according to the information ratio value corresponding to the initial interactive information, and display the interactive window page containing the information input component and the target interactive information according to the update result.
[0061] Specifically, the input instruction specifically refers to the instruction triggered when the user needs to input information in the information input box in the interactive window page; correspondingly, the initial interaction information specifically refers to the interactive information displayed by the information interaction layer in the interactive window page at the current moment, such as the answer information fed back by the model to the user's question; correspondingly, the information proportion value specifically refers to the proportion of the screen area occupied by the initial interaction information when it is displayed. Correspondingly, the target interaction information specifically refers to the interactive information that needs to be displayed at the current moment determined in the initial interaction information. The information input component specifically refers to the component that supports user input information, such as a virtual keyboard, handwriting panel, etc.
[0062] Based on this, considering that when the user needs to use the interactive window page for interactive operations, in order to make the displayed content more in line with the user's current interactive needs, when the input instruction submitted to the information input box in the interactive window page is received, the initial interaction information can be first determined in the interactive window page according to the input instruction; then the interactive window page can be updated according to the information proportion value corresponding to the initial interaction information. For example, if the proportion value is too large, part of the interaction information can be selected in the initial interaction information as the target interaction information. When the proportion value is too small, the initial interaction information can be used as the target interaction information, thereby realizing the display of the interactive window page containing the information input component and the target interaction information according to the update result.
[0063] On this basis, different methods can be used to complete the update operation according to different situations. In this embodiment, the specific implementation method is as follows: When the information proportion value is less than a preset proportion threshold, the initial interaction information is used as the target interaction information, and an interaction window page including an information input component and the target interaction information is displayed; If the information proportion value is greater than or equal to the preset proportion threshold, and the interaction window page displays the first interaction sub-information corresponding to the target position in the initial interaction information, the first interaction sub-information is used as the target interaction information, and the interaction window page including the information input component and the target interaction information is displayed; When the information proportion value is greater than or equal to the preset proportion threshold, and the interaction window page displays the second interaction sub-information corresponding to the non-target position in the initial interaction information, the second interaction sub-information is used as the target interaction information, and an interaction window page including an information input component and the target interaction information is displayed.
[0064] First, when the information ratio value is less than the preset ratio threshold, it means that the initial interaction information content determined at this time is not very large, and the area of the screen is small. After the information input component needs to be called up, it may not cause the problem of the initial interaction information being blocked. That is, the initial interaction information can still be displayed normally after the information input component is called up. Therefore, the initial interaction information can be used as the target interaction information, and the interaction window page containing the information input component and the target interaction information can be displayed.
[0065] See for example Figure 3d In the schematic diagram shown in (1), when the user clicks the input box to call up the virtual keyboard, it is determined that the initial interaction information will not be hidden or blocked. Therefore, the virtual keyboard can be called up directly, and the initial interaction information can be displayed above the virtual keyboard at the same time to facilitate the user to perform subsequent question and answer operations.
[0066] Secondly, when the information proportion value is greater than or equal to the preset proportion threshold, and the interaction window page displays the first interaction sub-information corresponding to the target position in the initial interaction information, it means that the initial interaction information content determined at this time is relatively large and occupies a larger area of the screen. At the same time, the current page displays the interaction information content that was last fed back to the user in the initial interaction information, that is, the first interaction sub-information corresponding to the target position in the initial interaction information. This shows that the user needs to refer to the last interaction content for subsequent interaction processing. Therefore, the first interaction sub-information can be used as the target interaction information, and the interaction window page containing the information input component and the target interaction information can be displayed; it can be understood that when the information input component is evoked, the initial interaction information is pushed up as a whole, and after the information input component is displayed, the information pushed up displays the last feedback interaction information in the initial interaction information, so that the user can continue to interact.
[0067] See for example Figure 3d In the schematic diagram shown in (2), when the user clicks the input box to invoke the virtual keyboard, it is determined that the initial interaction information is too much to be displayed in the remaining area after the virtual keyboard is invoked. At the same time, it is determined that the current page displays the latest feedback answer information in the initial interaction information. Therefore, the latest feedback interaction information can be selected as the target interaction information in the initial interaction information, so that after the virtual keyboard is invoked, only the target interaction information and the virtual keyboard are displayed, and the remaining interaction information can be hidden.
[0068] Thirdly, when the information proportion value is greater than or equal to the preset proportion threshold, and the interaction window page displays the second interaction sub-information corresponding to the non-target position in the initial interaction information, it means that the initial interaction information determined at this time is relatively large and occupies a larger area of the screen. At the same time, the current page displays other interaction information before the last feedback interaction information in the initial interaction information, further indicating that the user currently needs to refer to other interaction information for subsequent interaction processing. In order to avoid the user calling up the information input component, which causes the referenced other interaction information to be hidden or blocked, the second interaction sub-information can be used as the target interaction information, and the interaction window page containing the information input component and the target interaction information can be displayed.
[0069] See for example Figure 3d In the schematic diagram shown in (3), when the user clicks the input box to invoke the virtual keyboard, it is determined that the initial interactive information content is too large to be displayed in the remaining area after invoking the virtual keyboard. At the same time, it is determined that the intermediate answer information in the interactive information displayed on the current page is displayed. Therefore, it is indicated that the user needs to refer to the intermediate answer information for subsequent interaction. On this basis, the intermediate answer information can be selected as the target interactive information to achieve that after invoking the virtual keyboard, the information will not jump due to the invoking operation, but the intermediate interactive information will be displayed in the remaining area, thereby facilitating the user to conduct interactive questions and answers.
[0070] In summary, by selecting different target interaction information for different trigger operations to update the page, the user's interaction experience can be effectively improved.
[0071] In addition, the first interaction protocol between the client and the server, the interface protocol between the client and the global management server, the platform configuration protocol corresponding to the target program, and the second interaction protocol associated with the client are the same.
[0072] It can be understood that the page display method provided in this embodiment can support the client, server, global management server, and Agent platform, and the interfaces and protocols of each module are unified, thereby supporting the access of different Agents, thereby making communication more efficient and supporting different application scenarios.
[0073] The page display method provided in this embodiment can, in order to avoid the problem of slow page startup and improve the user experience, first determine the page basic data configured by the target program itself after determining that the user submits a selection instruction for the target program, and at the same time send a page rendering request to the server of the target program and receive the page configuration data fed back by the server in response to the page rendering request; based on this, the function control layer can be rendered according to the page basic data, and the information interaction layer can be rendered according to the page configuration data; and then the interactive window page corresponding to the target program can be generated and displayed based on the function control layer and the information interaction layer. When the program is started to display the interactive window page, the function control layer in the page is rendered by the basic data configured by the program itself, and the information interaction layer in the page is rendered by the configuration data sent by the server, thereby realizing a hybrid rendering method to improve the page startup speed and avoid the problems of fixed page content or slow page startup when using a single rendering method. At the same time, the page display method is not limited by the client carrier, and any client that starts the target program can use this method to render the interactive window page, thereby effectively improving the user experience.
[0074] See also Figure 4 , Figure 4 A flowchart of another page display method provided according to an embodiment of this specification is shown, which is applied to a client and specifically includes the following steps.
[0075] Step S402 : determining page basic data in response to a selection instruction submitted to the model application, and sending a page rendering request to a server associated with the model application.
[0076] Step S404: receiving page configuration data fed back by the server in response to the page rendering request.
[0077] Step S40: rendering the function control layer according to the page basic data, and rendering the information interaction layer according to the page configuration data.
[0078] Step S408: Generate and display a question-and-answer interaction page corresponding to the model application based on the function control layer and the information interaction layer.
[0079] Another page display method provided in this embodiment is applied to the question-and-answer interactive page display scenario corresponding to the model application. It belongs to the same concept as the page display method provided in the above embodiment. The content not fully described in this embodiment can refer to the same or corresponding description in the above embodiment. This embodiment will not be elaborated here.
[0080] The following combined Figure 5, taking the application of the page display method provided in this specification in a large model interactive page as an example, the page display method is further explained. Figure 5 A flowchart of a page display method according to an embodiment of the present disclosure is shown, which specifically includes the following steps.
[0081] Step S502 : determining page basic data in response to a selection instruction submitted for the target program, and sending a page rendering request to a server associated with the target program.
[0082] Step S504: receiving page configuration data and pop-up window configuration data fed back by the server in response to the page rendering request.
[0083] Step S506 , rendering the function control layer according to the page basic data, rendering the information interaction layer according to the page configuration data, and rendering the pop-up window interaction layer according to the pop-up window configuration data.
[0084] Step S508: Generate and display an interactive window page corresponding to the target program based on the function control layer, the information interaction layer, and the pop-up window interaction layer.
[0085] Step S510: receiving an input instruction submitted to the information input box in the interactive window page.
[0086] Step S512: determining initial interaction information in the interaction window page according to the input instruction, and determining an information ratio value corresponding to the initial interaction information.
[0087] Step S514: when the information ratio is less than the preset ratio threshold, the initial interaction information is used as the target interaction information, and an interaction window page including the information input component and the target interaction information is displayed.
[0088] Step S516: When the information proportion value is greater than or equal to the preset proportion threshold, and the interaction window page displays the first interaction sub-information corresponding to the target position in the initial interaction information, the first interaction sub-information is used as the target interaction information, and the interaction window page containing the information input component and the target interaction information is displayed.
[0089] Step S518: When the information proportion value is greater than or equal to the preset proportion threshold, and the interaction window page displays the second interaction sub-information corresponding to the non-target position in the initial interaction information, the second interaction sub-information is used as the target interaction information, and the interaction window page containing the information input component and the target interaction information is displayed.
[0090] In summary, in order to avoid the problem of slow page startup and improve the user experience, after determining that the user submits a selection instruction for the target program, the page basic data configured by the target program itself can be determined first, and at the same time, a page rendering request can be sent to the server of the target program, and the page configuration data fed back by the server for the page rendering request can be received; based on this, the function control layer can be rendered according to the page basic data, and the information interaction layer can be rendered according to the page configuration data; and then the interactive window page corresponding to the target program can be generated and displayed based on the function control layer and the information interaction layer. When the program is started to display the interactive window page, the function control layer in the page is rendered by the basic data configured by the program itself, and the information interaction layer in the page is rendered by the configuration data sent by the server, thereby realizing a hybrid rendering method to improve the page startup speed, avoiding the problem of fixed page content or slow page startup when using a single rendering method. At the same time, this page display method is not limited by the client carrier, and any client that starts the target program can use this method to render the interactive window page, thereby effectively improving the user experience.
[0091] Corresponding to the above method embodiment, this specification also provides a page display system embodiment, Figure 6 FIG. 1 shows a schematic diagram of a page display system provided by an embodiment of this specification. Figure 6 As shown, the page display system 600 includes a client 610 and a server 620, including: The client 610 is configured to receive a selection instruction submitted for a target program, determine basic page data according to the selection instruction, and send a page rendering request to the server; The server 620 is configured to obtain page configuration data in response to the page rendering request and send the page configuration data to the client; The client 610 is used to render the function control layer according to the page basic data, and render the information interaction layer according to the page configuration data; generate and display the interactive window page corresponding to the target program based on the function control layer and the information interaction layer.
[0092] In an optional embodiment, sending a page rendering request to a server associated with the target program includes: In the case where the selection instruction is associated with historical interaction information, a page rendering request containing call information is generated according to the selection instruction and sent to the server associated with the target program, wherein the call information is used to add the historical interaction information to the page configuration data; in the case where the selection instruction is associated with non-historical interaction information, a program cold start request is generated according to the selection instruction, and the program cold start request is used as a page rendering request and sent to the server associated with the target program.
[0093] In an optional embodiment, after the step of receiving the page configuration data fed back by the server in response to the page rendering request is executed, the method further includes: Receive the pop-up configuration data fed back by the server in response to the page rendering request, and render the pop-up interaction layer according to the pop-up configuration data; use the pop-up interaction layer to update the interactive window page, and display the interactive window page containing the target pop-up window according to the update result; wherein, the pop-up interaction layer and the information interaction layer have the same rendering strategy but different carrier containers, and the display priority of the pop-up interaction layer is greater than that of the information interaction layer.
[0094] In an optional embodiment, after the step of generating and displaying the interactive window page corresponding to the target program based on the function control layer and the information interaction layer is executed, the method further includes: Receive an input instruction submitted to the information input box in the interactive window page; determine initial interactive information in the interactive window page according to the input instruction; update the interactive window page according to the information ratio value corresponding to the initial interactive information, and display the interactive window page containing the information input component and the target interactive information according to the update result.
[0095] In an optional embodiment, the method further includes: When the information proportion value is less than the preset proportion threshold, the initial interaction information is used as the target interaction information, and an interaction window page containing the information input component and the target interaction information is displayed; when the information proportion value is greater than or equal to the preset proportion threshold, and the interaction window page displays the first interaction sub-information corresponding to the target position in the initial interaction information, the first interaction sub-information is used as the target interaction information, and an interaction window page containing the information input component and the target interaction information is displayed; when the information proportion value is greater than or equal to the preset proportion threshold, and the interaction window page displays the second interaction sub-information corresponding to the non-target position in the initial interaction information, the second interaction sub-information is used as the target interaction information, and an interaction window page containing the information input component and the target interaction information is displayed.
[0096] In an optional embodiment, the rendering function control layer according to the page basic data and the rendering information interaction layer according to the page configuration data include: Rendering a functional control layer including an information editing component and a navigation component according to the page basic data; rendering an information interaction layer including interactive information according to the page configuration data; wherein, rendering a pop-up window interaction layer according to the pop-up window configuration data includes: rendering a pop-up window interaction layer including a target pop-up window according to the pop-up window configuration data.
[0097] In an optional embodiment, the first interaction protocol between the client and the server, the interface protocol between the client and the global management server, the platform configuration protocol corresponding to the target program, and the second interaction protocol associated with the client are the same.
[0098] The page display system provided in this embodiment can, in order to avoid the problem of slow page startup and improve the user experience, first determine the page basic data configured by the target program itself after determining that the user submits a selection instruction for the target program, and at the same time send a page rendering request to the server of the target program and receive the page configuration data fed back by the server in response to the page rendering request; based on this, the function control layer can be rendered according to the page basic data, and the information interaction layer can be rendered according to the page configuration data; and then the interactive window page corresponding to the target program can be generated and displayed based on the function control layer and the information interaction layer. When the program is started to display the interactive window page, the function control layer in the page is rendered by the basic data configured by the program itself, and the information interaction layer in the page is rendered by the configuration data sent by the server, thereby realizing a hybrid rendering method to improve the page startup speed, avoiding the problem of fixed page content or slow page startup when using a single rendering method. At the same time, the page display method is not limited by the client carrier, and any client that starts the target program can use this method to render the interactive window page, thereby effectively improving the user experience.
[0099] The above is a schematic diagram of a page display system according to this embodiment. It should be noted that the technical solution of the page display system and the technical solution of the page display method described above are based on the same concept. For details not described in detail in the technical solution of the page display system, please refer to the description of the technical solution of the page display method described above.
[0100] Corresponding to the above method embodiment, this specification also provides a page display device embodiment, Figure 7 FIG1 shows a schematic diagram of the structure of a page display device provided by an embodiment of this specification. Figure 7 As shown, the device is applied to the client and includes: The determination module 702 is configured to determine page basic data in response to a selection instruction submitted for a target program, and to send a page rendering request to a server associated with the target program; The receiving module 704 is configured to receive page configuration data fed back by the server in response to the page rendering request; A rendering module 706 is configured to render a function control layer according to the page basic data and an information interaction layer according to the page configuration data; The generating module 708 is configured to generate and display an interactive window page corresponding to the target program based on the function control layer and the information interaction layer.
[0101] In an optional embodiment, sending a page rendering request to a server associated with the target program includes: In the case where the selection instruction is associated with historical interaction information, a page rendering request containing call information is generated according to the selection instruction and sent to the server associated with the target program, wherein the call information is used to add the historical interaction information to the page configuration data; in the case where the selection instruction is associated with non-historical interaction information, a program cold start request is generated according to the selection instruction, and the program cold start request is used as a page rendering request and sent to the server associated with the target program.
[0102] In an optional embodiment, after the step of receiving the page configuration data fed back by the server in response to the page rendering request is executed, the method further includes: Receive the pop-up configuration data fed back by the server in response to the page rendering request, and render the pop-up interaction layer according to the pop-up configuration data; use the pop-up interaction layer to update the interactive window page, and display the interactive window page containing the target pop-up window according to the update result; wherein, the pop-up interaction layer and the information interaction layer have the same rendering strategy but different carrier containers, and the display priority of the pop-up interaction layer is greater than that of the information interaction layer.
[0103] In an optional embodiment, after the step of generating and displaying the interactive window page corresponding to the target program based on the function control layer and the information interaction layer is executed, the method further includes: Receive an input instruction submitted to the information input box in the interactive window page; determine initial interactive information in the interactive window page according to the input instruction; update the interactive window page according to the information ratio value corresponding to the initial interactive information, and display the interactive window page containing the information input component and the target interactive information according to the update result.
[0104] In an optional embodiment, the method further includes: When the information proportion value is less than the preset proportion threshold, the initial interaction information is used as the target interaction information, and an interaction window page containing the information input component and the target interaction information is displayed; when the information proportion value is greater than or equal to the preset proportion threshold, and the interaction window page displays the first interaction sub-information corresponding to the target position in the initial interaction information, the first interaction sub-information is used as the target interaction information, and an interaction window page containing the information input component and the target interaction information is displayed; when the information proportion value is greater than or equal to the preset proportion threshold, and the interaction window page displays the second interaction sub-information corresponding to the non-target position in the initial interaction information, the second interaction sub-information is used as the target interaction information, and an interaction window page containing the information input component and the target interaction information is displayed.
[0105] In an optional embodiment, the rendering function control layer according to the page basic data and the rendering information interaction layer according to the page configuration data include: Rendering a functional control layer including an information editing component and a navigation component according to the page basic data; rendering an information interaction layer including interactive information according to the page configuration data; wherein, rendering a pop-up window interaction layer according to the pop-up window configuration data includes: rendering a pop-up window interaction layer including a target pop-up window according to the pop-up window configuration data.
[0106] In an optional embodiment, the first interaction protocol between the client and the server, the interface protocol between the client and the global management server, the platform configuration protocol corresponding to the target program, and the second interaction protocol associated with the client are the same.
[0107] The page display device provided in this embodiment can, in order to avoid the problem of slow page startup and improve the user experience, first determine the page basic data configured by the target program itself after determining that the user submits a selection instruction for the target program, and at the same time send a page rendering request to the server of the target program and receive the page configuration data fed back by the server in response to the page rendering request; based on this, the function control layer can be rendered according to the page basic data, and the information interaction layer can be rendered according to the page configuration data; and then the interactive window page corresponding to the target program can be generated and displayed based on the function control layer and the information interaction layer. When the program is started to display the interactive window page, the function control layer in the page is rendered according to the basic data configured by the program itself, and the information interaction layer in the page is rendered according to the configuration data sent by the server, thereby realizing a hybrid rendering method to improve the page startup speed, avoiding the problems of fixed page content or slow page startup when using a single rendering method. At the same time, the page display method is not limited by the client carrier, and any client that starts the target program can use this method to render the interactive window page, thereby effectively improving the user experience.
[0108] The above is a schematic diagram of a page display device according to this embodiment. It should be noted that the technical solution of the page display device and the technical solution of the above-mentioned page display method are based on the same concept. For details not described in detail in the technical solution of the page display device, please refer to the description of the technical solution of the above-mentioned page display method.
[0109] Corresponding to the above method embodiment, this specification also provides another page display device embodiment, Figure 8 FIG. 1 shows a schematic diagram of another page display device provided by an embodiment of this specification. Figure 8 As shown, the device is applied to the client and includes: The data determination module 802 is configured to determine page basic data in response to a selection instruction submitted for the model application, and to send a page rendering request to a server associated with the model application; The data receiving module 804 is configured to receive page configuration data fed back by the server in response to the page rendering request; The rendering layer module 806 is configured to render the function control layer according to the page basic data and render the information interaction layer according to the page configuration data; The page generation module 808 is configured to generate and display a question-and-answer interaction page corresponding to the model application based on the function control layer and the information interaction layer.
[0110] The above is a schematic scheme of another page display device of this embodiment. It should be noted that the technical scheme of this page display device and the technical scheme of the above-mentioned page display method are based on the same concept. For details not described in detail in the technical scheme of the page display device, please refer to the description of the technical scheme of the above-mentioned page display method.
[0111] Figure 9 The block diagram of a computing device 900 according to one embodiment of the present disclosure is shown. Components of the computing device 900 include, but are not limited to, a memory 910 and a processor 920. The processor 920 is connected to the memory 910 via a bus 930, and a database 950 is used to store data.
[0112] The computing device 900 also includes an access device 940 that enables the computing device 900 to communicate via one or more networks 960. Examples of such networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 940 may include one or more of any type of network interface (e.g., a network interface card (NIC)) whether wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a Worldwide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, or a near field communication (NFC) interface.
[0113] In one embodiment of the present specification, the above components of the computing device 900 and Figure 9 Other components not shown in the figure may also be connected to each other, for example, via a bus. Figure 9 The computing device structure block diagram shown is for illustrative purposes only and is not intended to limit the scope of this specification. Those skilled in the art may add or replace other components as needed.
[0114] Computing device 900 can be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, personal digital assistant, laptop computer, notebook computer, netbook computer, etc.), a mobile phone (e.g., a smartphone), a wearable computing device (e.g., a smartwatch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or personal computer (PC). Computing device 900 can also be a mobile or stationary server.
[0115] The processor 920 is configured to execute the following computer-executable instructions, which, when executed by the processor, implement the steps of the above-mentioned page display method.
[0116] The above is a schematic solution of a computing device of this embodiment. It should be noted that the technical solution of the computing device and the technical solution of the above-mentioned page display method are of the same concept. For details not described in detail in the technical solution of the computing device, please refer to the description of the technical solution of the above-mentioned page display method.
[0117] An embodiment of the present specification further provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the above-mentioned page display method.
[0118] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of this storage medium and the technical scheme of the above-mentioned page display method are based on the same concept. For details not described in detail in the technical scheme of the storage medium, please refer to the description of the technical scheme of the above-mentioned page display method.
[0119] An embodiment of the present specification further provides a computer program, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above-mentioned page display method.
[0120] The above is a schematic scheme of a computer program of this embodiment. It should be noted that the technical scheme of the computer program and the technical scheme of the above-mentioned page display method are of the same concept. For details not described in detail in the technical scheme of the computer program, please refer to the description of the technical scheme of the above-mentioned page display method.
[0121] An embodiment of the present specification further provides a computer program product, including a computer program or instructions, which implement the steps of the above-mentioned page display method when executed by a processor.
[0122] The above is a schematic solution of a computer program product of this embodiment. It should be noted that the technical solution of this computer program product and the technical solution of the above-mentioned page display method are based on the same concept. For details not described in detail in the technical solution of the computer program product, please refer to the description of the technical solution of the above-mentioned page display method.
[0123] The foregoing description of this specification describes specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0124] The computer instructions include computer program code, which may be in source code form, object code form, executable file, or some intermediate form. The computer-readable medium may include any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal, and software distribution medium. It should be noted that the content of the computer-readable medium may be appropriately increased or decreased based on the requirements of patent practice. For example, in some regions, according to patent practice, computer-readable media does not include electric carrier signals and telecommunication signals.
[0125] It should be noted that for the aforementioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of this specification are not limited by the order of the actions described, because according to the embodiments of this specification, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of this specification.
[0126] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0127] The preferred embodiments disclosed above are intended only to help illustrate this specification. The optional embodiments do not exhaustively describe all details, nor do they limit the invention to the specific embodiments described. Obviously, many modifications and variations can be made based on the content of the embodiments of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of this specification, so that those skilled in the art can better understand and utilize this specification. This specification is limited only by the claims and their full scope and equivalents.
Claims
1. A page display method, applied to a client, comprising: Determining page basic data in response to a selection instruction submitted for a target program, and sending a page rendering request to a server associated with the target program; Receive page configuration data fed back by the server in response to the page rendering request; Rendering the function control layer according to the page basic data, and rendering the information interaction layer according to the page configuration data; An interactive window page corresponding to the target program is generated and displayed based on the function control layer and the information interaction layer.
2. The page display method according to claim 1, wherein sending a page rendering request to a server associated with the target program comprises: In a case where the selection instruction is associated with historical interaction information, generating a page rendering request including call information according to the selection instruction and sending the request to a server associated with the target program, wherein the call information is used to add the historical interaction information to the page configuration data; In a case where the selection instruction is associated with non-historical interaction information, a program cold start request is generated according to the selection instruction, and the program cold start request is used as a page rendering request and sent to a server associated with the target program.
3. The page display method according to claim 1, after the step of receiving the page configuration data fed back by the server in response to the page rendering request is executed, further comprising: Receive pop-up window configuration data fed back by the server in response to the page rendering request, and render the pop-up window interaction layer according to the pop-up window configuration data; Using the pop-up window interaction layer to update the interactive window page, and displaying the interactive window page including the target pop-up window according to the update result; The pop-up window interaction layer and the information interaction layer have the same rendering strategy but different carrier containers, and the display priority of the pop-up window interaction layer is higher than that of the information interaction layer.
4. The page display method according to claim 1, further comprising: Receiving an input instruction submitted to the information input box in the interactive window page; determining initial interaction information in the interaction window page according to the input instruction; The interaction window page is updated according to the information ratio value corresponding to the initial interaction information, and the interaction window page including the information input component and the target interaction information is displayed according to the update result.
5. The page display method according to claim 4, further comprising: When the information proportion value is less than a preset proportion threshold, the initial interaction information is used as the target interaction information, and an interaction window page including an information input component and the target interaction information is displayed; If the information proportion value is greater than or equal to the preset proportion threshold, and the interaction window page displays the first interaction sub-information corresponding to the target position in the initial interaction information, the first interaction sub-information is used as the target interaction information, and the interaction window page including the information input component and the target interaction information is displayed; When the information proportion value is greater than or equal to the preset proportion threshold, and the interaction window page displays the second interaction sub-information corresponding to the non-target position in the initial interaction information, the second interaction sub-information is used as the target interaction information, and an interaction window page including an information input component and the target interaction information is displayed.
6. The page display method according to claim 3, wherein the rendering of the function control layer according to the page basic data and the rendering of the information interaction layer according to the page configuration data include: Rendering a function control layer including an information editing component and a navigation component according to the page basic data; Rendering an information interaction layer containing interactive information according to the page configuration data; The rendering of the pop-up window interaction layer according to the pop-up window configuration data includes: A pop-up window interaction layer including a target pop-up window is rendered according to the pop-up window configuration data.
7. According to the page display method according to any one of claims 1 to 6, the first interaction protocol between the client and the server, the interface protocol between the client and the global management server, the platform configuration protocol corresponding to the target program, and the second interaction protocol associated with the client are the same.
8. A page display method, applied to a client, comprising: determining page basic data in response to a selection instruction submitted for a model application, and sending a page rendering request to a server associated with the model application; Receive page configuration data fed back by the server in response to the page rendering request; Rendering the function control layer according to the page basic data, and rendering the information interaction layer according to the page configuration data; A question-and-answer interaction page corresponding to the model application is generated and displayed based on the function control layer and the information interaction layer.
9. A page display system, comprising a client and a server, including: The client is configured to receive a selection instruction submitted for a target program, determine basic page data according to the selection instruction, and send a page rendering request to the server; The server is configured to obtain page configuration data in response to the page rendering request and send the page configuration data to the client; The client is used to render the function control layer according to the page basic data, and to render the information interaction layer according to the page configuration data; and to generate and display the interactive window page corresponding to the target program based on the function control layer and the information interaction layer.
10. A page display device, applied to a client, comprising: a determination module configured to determine page basic data in response to a selection instruction submitted for a target program, and to send a page rendering request to a server associated with the target program; A receiving module is configured to receive page configuration data fed back by the server in response to the page rendering request; a rendering module configured to render a function control layer according to the page basic data and to render an information interaction layer according to the page configuration data; The generation module is configured to generate and display an interactive window page corresponding to the target program based on the function control layer and the information interaction layer.
11. A page display device, applied to a client, comprising: a data determination module configured to determine page basic data in response to a selection instruction submitted for a model application, and to send a page rendering request to a server associated with the model application; A data receiving module is configured to receive page configuration data fed back by the server in response to the page rendering request; A rendering layer module is configured to render a function control layer according to the page basic data, and to render an information interaction layer according to the page configuration data; The page generation module is configured to generate and display the question-and-answer interaction page corresponding to the model application based on the function control layer and the information interaction layer.
12. A computing device comprising: memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the method according to any one of claims 1 to 8 are implemented.
13. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement the steps of the method according to any one of claims 1 to 8.
14. A computer program product comprising a computer program or instructions, which implement the steps of the method according to any one of claims 1 to 8 when executed by a processor.
Citation Information
Patent Citations
Method and device for displaying third-party page
CN105760527A
Page processing method and device
CN114090938A
Data display method and device, equipment and storage medium
CN115905742A
Page rendering method, server, client, equipment and storage medium
CN119537729A