Page display method and device, computer equipment and storage medium

By obtaining page configuration information and permission status information, the page architecture is rendered, and the problem of duplicate content in page development in financial business is solved, improving page development efficiency and performance.

CN119271333APending Publication Date: 2025-01-07PING AN BANK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411346925.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

When conducting financial business, there are a lot of duplicate content and repetitive work during the page development process, resulting in inefficiency. How to avoid duplicate development and improve the efficiency of page development.

Method used

By obtaining page configuration information and permission status information, determine page display parameters and target controls, rendering the page architecture and display page based on this information, avoiding repeated development of the same module.

Benefits of technology

It effectively avoids duplicate content in page development, improves page development efficiency, reduces code duplication, and improves the performance and fluency of page display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119271333A_ABST
    Figure CN119271333A_ABST
Patent Text Reader

Abstract

The invention relates to the field of page development, and provides a page display method, device and equipment and a computer storage medium, the method comprises the following steps: obtaining page configuration information corresponding to a current page, and determining page display parameters of the current page according to the page configuration information; the page architecture of the current page is rendered according to the page display parameters, and the page architecture comprises at least one target module corresponding to the page configuration information; obtaining permission state information of a user, and determining a target control of the current page according to the permission state information; and displaying the current page based on the page architecture and the target control. The current page is displayed according to the target module in the page configuration information and the permission state information of the user, repeated development of the same module is avoided, and the page development efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of page development, and in particular to a page display method, device, computer equipment and storage medium. Background Art

[0002] In the process of conducting financial business, users are often required to upload images of some documents and materials. For example, in credit business, it is necessary to upload the applicant's business license, the guarantor's customer license, the applicant's ID card, the credit report, the customer visit information, etc. Therefore, a large number of image upload pages need to be developed. However, different image upload pages have a lot of repeated content, and there is also a lot of repeated work in the page development process. How to avoid repeated development and improve the efficiency of page development has become an urgent problem to be solved. Summary of the invention

[0003] The main purpose of this application is to provide a page display method, device, equipment and computer storage medium, aiming to improve page development efficiency.

[0004] In a first aspect, the present application provides a page display method, the page display method comprising the following steps:

[0005] Obtaining page configuration information corresponding to the current page, and determining page display parameters of the current page according to the page configuration information;

[0006] Rendering a page framework of the current page according to the page display parameters, wherein the page framework includes at least one target module corresponding to the page configuration information;

[0007] Obtaining the user's permission status information, and determining the target control of the current page according to the permission status information;

[0008] The current page is displayed based on the page architecture and the target control.

[0009] In a second aspect, the present application further provides a page display device, the page display device comprising:

[0010] A configuration information acquisition module, used to acquire page configuration information corresponding to the current page, and determine page display parameters of the current page according to the page configuration information;

[0011] A page frame rendering module, used to render the page frame of the current page according to the page display parameters, wherein the page frame includes at least one target module corresponding to the page configuration information;

[0012] A target control determination module, used to obtain the user's permission status information, and determine the target control of the current page according to the permission status information;

[0013] The current page display module is used to display the current page based on the page architecture and the target control.

[0014] In a third aspect, the present application also provides a computer device, comprising a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the page display method as described above is implemented.

[0015] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, wherein when the computer program is executed by a processor, the page display method as described above is implemented.

[0016] The present application provides a page display method, device, equipment and computer storage medium, which obtains page configuration information corresponding to the current page, and determines the page display parameters of the current page according to the page configuration information; renders the page architecture of the current page according to the page display parameters, wherein the page architecture includes at least one target module corresponding to the page configuration information; obtains the user's permission status information, and determines the target control of the current page according to the permission status information; and displays the current page based on the page architecture and the target control. Displaying the current page according to the target module in the page configuration information and the user's permission status information avoids repeated development of the same module, thereby improving page development efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0018] Figure 1 A schematic diagram of a flow chart of a page display method provided in an embodiment of the present application;

[0019] Figure 2 A usage scenario diagram of a page display method provided in one embodiment of the present application;

[0020] Figure 3 A schematic block diagram of a page display device provided in an embodiment of the present application;

[0021] Figure 4 The present invention is a block diagram showing the structure of a computer device according to an embodiment of the present application. DETAILED DESCRIPTION

[0022] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0023] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.

[0024] Embodiments of the present application provide a page display method, apparatus, computer equipment, and computer-readable storage medium.

[0025] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0026] Please refer to Figure 1 , Figure 1 A flow chart of a page display method provided for an embodiment of the present application. The page display method can be used in a terminal or a server to realize the generation and display of the current page. Among them, the terminal can be an electronic device such as a mobile phone, a tablet computer, a laptop computer, a desktop computer, a personal digital assistant, and a wearable device; the server can be an independent server, or a server cluster, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms.

[0027] Please refer to Figure 2 , Figure 2 This is a usage scenario diagram provided by an embodiment of the present application. Figure 2 As shown, multiple target modules in the current page are determined according to the page configuration information, and the target control corresponding to the current page is determined according to the permission status information, and the current page is generated according to the target control and the target module.

[0028] like Figure 1 As shown, the page display method includes steps S101 to S104.

[0029] Step S101: Obtain page configuration information corresponding to the current page, and determine page display parameters of the current page according to the page configuration information.

[0030] Exemplarily, the page configuration information may be stored in a directory corresponding to the current page. Specifically, when a user opens a page, the browser requests a file in the root directory of the page, such as the index.html file. The root directory defines the page entry point, including the structure and layout of the page, and can be accessed based on the internal links therein (e.g. <link> The corresponding style sheet, <script>对应的脚本等)请求其他目录下的资源,比如CSS样式表、JavaScript脚本、图片等。

[0031] 在一些实施方式中,所述获取当前页面对应的页面配置信息,并根据所述页面配置信息确定当前页面的页面显示参数,包括:

[0032] 根据所述页面配置信息确定所述当前页面的目标模块及各所述目标模块的布局信息;

[0033] 根据所述目标模块和所述布局信息进行计算,得到所述页面显示参数。

[0034] 示例性的,本方案中的页面配置信息是基于目标模块及目标模块的布局信息确定的。可以理解的,在金融网页的资源上传页面中,存在大量相同的内容,为了降低复杂性,可以根据资源上传的类型将资源上传页面分为不同资源对应的模块,例如身份证上传模块、营业执照上传模块、征信报告上传模块,在不同的页面需要获取相应的资源时,直接将相应的模块作为页面配置信息中的目标模块并对目标模块进行布局,就能够得到相应页面的页面配置信息。

[0035] 示例性的,布局信息包括目标模块之间的相对位置关系,当然也不限于此,还可以包括目标模块在当前页面中的位置坐标,在此不做限定。

[0036] 示例性的,根据页面配置信息中的目标模块及各目标模块的布局信息,可以对当前页面在不同尺寸、不同操作系统的设备中进行显示,提高了页面配置信息的可重用性。

[0037] 步骤S102、根据所述页面显示参数对所述当前页面的页面架构进行渲染,其中,所述页面架构包括所述页面配置信息对应的至少一个目标模块。

[0038] 示例性的,在根据页面显示参数确定当前页面中的目标模块以及其它元素后,遍历渲染树,为每个目标模块和元素生成绘制指令,生成当前页面的页面框架。

[0039] 在一些实施方式中,所述根据所述页面显示参数对所述当前页面的页面架构进行渲染,包括:

[0040] 在所述目标模块包括子模块的情况下,调用递归组件对所述目标模块中的子模块进行渲染,得到所述当前页面的页面架构。

[0041] 示例性的,递归组件允许组件在其自身渲染逻辑中调用自己,适合用来处理具有层级或嵌套结构的数据。因此,检查传入的目标模块是否含有子模块,在目标模块包括子模块的情况下,渲染当前层级的目标模块时,可以通过递归组件将子模块的数据作为新的属性传递给目标模块的一个实例,减少了代码重复,以简洁的方式实现较为复杂的目标模块的渲染。

[0042] 在一些实施方式中,所述根据所述页面显示参数对所述当前页面的页面架构进行渲染,包括:

[0043] 创建所述当前页面的页面显示容器,并获取所述页面显示容器的可视区域尺寸;

[0044] 根据所述可视区域尺寸及所述当前页面中显示元素的元素尺寸,将至少一部分所述显示元素确定为当前显示元素;

[0045] 对所述当前显示元素进行渲染,得到所述当前页面的页面框架。

[0046] 示例性的,为了减少在显示当前页面时的渲染操作和所需的计算资源,提高页面显示的性能,可以在加载当前页面时只对可见的内容进行渲染,而不是直接一次性渲染当前页面中的所有内容。页面显示容器的高度或宽度决定了可以渲染多少显示元素,页面显示容器的大小通常被设置为能够容纳所有显示元素的总和,但实际上只渲染可视区域内的显示元素以实现内存资源的节省。

[0047] 示例性的,滚动容器通常指的是一个具有滚动条的元素,如div,它允许用户滚动查看超出其可视区域的内容,而可视区域是用户在任何给定时间可以看到的容器内部的部分。用户可见的当前显示元素可以根据可视区域尺寸和元素尺寸确定,具体地,确定每个显示元素的固定高度或平均高度,以及滚动容器的可视区域内可以显示多少个显示元素,从而确定需要渲染的当前显示元素。

[0048] 在一些实施方式中,所述根据所述可视区域尺寸及所述当前页面中显示元素的元素尺寸,将至少一部分所述显示元素确定为当前显示元素,还包括:

[0049] 响应于所述当前页面的滚动操作,根据滚动参数对所述当前显示元素进行更新。

[0050] 示例性的,为滚动容器添加滚动事件监听器,以便在用户滚动时做出响应,并在监听到滚动操作时,更新需要渲染的当前显示元素,其中滚动操作可以为上下滚动和左右滚动中的至少一者。具体地,滚动参数包括滚动方向和滚动距离,根据滚动方向和滚动距离确定进入可视区域和离开可视区域的显示元素,从而对当前显示元素进行更新。

[0051] 示例性的,滚动参数还可以包括滚动速度和 / 或滚动加速度,根据滚动速度和 / 或滚动加速度对滚动距离进行预测,从而对当前显示元素进行预测,提高当前页面的显示效果,从而提高滚动操作过程中页面显示的流畅性。具体地,可以通过计算连续两次滚动事件之间的时间差和滚动距离,可以估算出用户的滚动速度,如果滚动速度在变化,可以通过比较当前速度与前一次速度的差异来计算加速度,根据当前的滚动速度和加速度,可以预测用户接下来可能会滚动到的位置,从而预测并预加载即将进入可视区域的显示元素,提高滚动过程中页面显示的流畅性。

[0052] 步骤S103、获取用户的权限状态信息,并根据所述权限状态信息确定所述当前页面的目标控件。

[0053] 示例性的,在不同的用户角色之间,页面内容和控件通常会有所不同,以反映他们的权限和功能需求。通过分别对页面架构和目标控件进行独立处理,从而使得当前页面能够针对不同权限状态信息的用户进行分别显示,不需要针对不同权限分别进行页面开发,减少了页面开发的重复内容。

[0054] 示例性的,用户的权限状态信息包括访客用户、注册用户及管理员,其中访客用户为未登录状态的访问用户,注册用户为登录状态的访问用户,管理员为具有管理权限的访问用户,当然也不限于此,还可以包括其它状态的访问用户。举例而言,访客用户可能只看到基本的导航选项,如首页、产品、关于我们等;注册用户可能会看到额外的选项,如个人资料、我的订单、我的收藏等;管理员则可能拥有访问管理面板、用户管理、内容管理等高级功能的菜单项。

[0055] 在一些实施方式中,所述获取用户的权限状态信息,并根据所述权限状态信息确定所述当前页面的目标控件,包括:

[0056] 获取所述用户的用户标识;

[0057] 基于预设的权限列表确定所述用户标识对应的权限状态信息,所述权限状态信息包括:访客用户、注册用户及管理员中的至少一者;

[0058] 根据所述权限状态信息,确定所述当前页面对应的目标控件。

[0059] 示例性的,基于用户标识查询用于记录权限状态信息的权限列表,其中用户标识例如可以为用户的ID,权限列表用于记录具有管理员权限的用户ID,其中管理员还可以分为不同的级别,例如基本管理员和高级管理员。当然也不限于此,权限状态信息还可以是根据用户的登录状态进行区分的,已登录的用户属于注册用户,未登录的用户属于访客用户。

[0060] 示例性的,权限列表中还可以记载各个权限状态信息对应的资源类型,例如文件、数据库表或页面;以及不同权限状态信息的操作权限,如读取、写入、删除、执行等。因此,根据不同的资源类型和操作权限,可以对应不同的目标控件,例如用户可以操作的按钮控件等,从而根据权限状态信息在页面框架的基础上显示出对应的目标控件,得到不同权限状态信息的用户对应的当前页面,从而使得当前页面能够针对不同权限状态信息的用户进行分别显示,不需要针对不同权限分别进行页面开发,降低页面开发的重复性。

[0061] 步骤S104、基于所述页面架构和所述目标控件显示所述当前页面。

[0062] 示例性的,在步骤S102和步骤S103中渲染得到页面架构和以及确定目标控件后,将不同的目标控件放置在页面框架的适当位置,通过对页面架构和目标控件进行组合得到当前页面。

[0063] 可以理解的,本申请实施例对步骤S102和步骤S103的执行步骤不做限定,可以是步骤S102和步骤S103中的任意一者先行执行,或者二者同时执行,在此不做限定。

[0064] 在一些实施方式中,所述基于所述页面架构和所述目标控件显示所述当前页面,还包括:

[0065] 基于所述当前页面中的目标模块创建对应的目标表单;

[0066] 获取用户基于所述目标表单上传的图像信息,并对所述图像信息进行命名。

[0067] 示例性的,目标模块的作用是获取用户上传的图像信息,因此,需要通过创建表单来获取用户上传的图像,其中,每个目标模块对应一个或多个目标表单。

[0068] 示例性的,为了避免用户上传的图像信息的文件名包含潜在的脚本代码或特殊字符,需要修改所述图像信息的文件名,具体地,在获取到图像信息后,可以基于预设的命名规则对图像信息进行命名,命名规则例如可以包括用户的用户标识和图像信息的类型。

[0069] 具体地,可以在当前页面中通过<form>标签创建目标模块对应的目标表单,并设置enctype属性为multipart / form-data,以便能够上传图像信息,再在目标表单中通过<input type="file">添加文件输入控件,从而使用户能够选择要上传的文件,在用户选择文件后提交表单,其中表单提交可以是同步的或异步的(使用JavaScript)。

[0070] 示例性的,在表单的同步提交中,当用户提交目标表单时,浏览器会将表单数据发送到服务器,并等待服务器处理完成,例如对图像信息的质量进行检测,在服务器处理期间,浏览器通常会显示一个加载指示器,表示正在进行数据传输和处理,服务器处理完成后,浏览器会收到响应,可能是新页面的内容、重定向到另一个页面,或者是一个提示信息,用户在服务器响应之前不能进行其他操作。而在表单的异步提交中,用户提交表单后,浏览器会在后台向服务器发送请求,而不会中断当前页面的交互,用户可以继续与页面上的其他元素进行交互,而不需要等待服务器响应,服务器处理完成后,可以通过JavaScript动态更新页面的特定部分,而不是整个页面,这种方式可以提供更流畅的用户体验,因为它不需要重新加载整个页面。可以根据当前页面的实际情况,确定当前页面中的目标表单属于同步提交和 / 或异步提交。

[0071] 上述实施例提供的页面显示方法,通过获取当前页面对应的页面配置信息,并根据所述页面配置信息确定当前页面的页面显示参数;根据所述页面显示参数对所述当前页面的页面架构进行渲染,其中,所述页面架构包括所述页面配置信息对应的至少一个目标模块;获取用户的权限状态信息,并根据所述权限状态信息确定所述当前页面的目标控件;基于所述页面架构和所述目标控件显示所述当前页面。根据页面配置信息中的目标模块及用户的权限状态信息显示当前页面,避免对相同的模块重复开发,提高了页面开发效率。

[0072] 请参阅图3,图3是本申请一实施例提供的一种页面显示装置的示意图,该页面显示装置可以配置于服务器或终端中,用于执行前述的页面显示方法。

[0073] 如图3所示,该页面显示装置,包括:配置信息获取模块110、页面框架渲染模块120、目标控件确定模块130、当前页面显示模块140。

[0074] 配置信息获取模块110,用于获取当前页面对应的页面配置信息,并根据所述页面配置信息确定当前页面的页面显示参数;

[0075] 页面框架渲染模块120,用于根据所述页面显示参数对所述当前页面的页面架构进行渲染,其中,所述页面架构包括所述页面配置信息对应的至少一个目标模块;

[0076] 目标控件确定模块130,用于获取用户的权限状态信息,并根据所述权限状态信息确定所述当前页面的目标控件;

[0077] 当前页面显示模块140,用于基于所述页面架构和所述目标控件显示所述当前页面。

[0078] 在一些实施方式中,页面框架渲染模块120在执行所述根据所述页面显示参数对所述当前页面的页面架构进行渲染的过程中,用于执行:

[0079] 在所述目标模块包括子模块的情况下,调用递归组件对所述目标模块中的子模块进行渲染,得到所述当前页面的页面架构。

[0080] 在一些实施方式中,页面框架渲染模块120在执行所述根据所述页面显示参数对所述当前页面的页面架构进行渲染的过程中,用于执行:

[0081] 创建所述当前页面的页面显示容器,并获取所述页面显示容器的可视区域尺寸;

[0082] 根据所述可视区域尺寸及所述当前页面中显示元素的元素尺寸,将至少一部分所述显示元素确定为当前显示元素;

[0083] 对所述当前显示元素进行渲染,得到所述当前页面的页面框架。

[0084] 在一些实施方式中,页面框架渲染模块120在执行所述根据所述可视区域尺寸及所述当前页面中显示元素的元素尺寸,将至少一部分所述显示元素确定为当前显示元素的过程中,用于执行:

[0085] 响应于所述当前页面的滚动操作,根据滚动参数对所述当前显示元素进行更新。

[0086] 在一些实施方式中,配置信息获取模块110在执行所述获取当前页面对应的页面配置信息,并根据所述页面配置信息确定当前页面的页面显示参数的过程中,用于执行:

[0087] 根据所述页面配置信息确定所述当前页面的目标模块及各所述目标模块的布局信息;

[0088] 根据所述目标模块和所述布局信息进行计算,得到所述页面显示参数。

[0089] 在一些实施方式中,目标控件确定模块130在执行所述获取用户的权限状态信息,并根据所述权限状态信息确定所述当前页面的目标控件的过程中,用于执行:

[0090] 获取所述用户的用户标识;

[0091] 基于预设的权限列表确定所述用户标识对应的权限状态信息,所述权限状态信息包括:访客用户、注册用户及管理员中的至少一者;

[0092] 根据所述权限状态信息,确定所述当前页面对应的目标控件。

[0093] 在一些实施方式中,当前页面显示模块140在执行所述基于所述页面架构和所述目标控件显示所述当前页面的过程中,用于执行:

[0094] 基于所述当前页面中的目标模块创建对应的目标表单;

[0095] 获取用户基于所述目标表单上传的图像信息,并对所述图像信息进行命名。

[0096] 需要说明的是,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的装置和各模块、单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。

[0097] 本申请的方法、装置可用于众多通用或专用的计算系统环境或配置中。例如:个人计算机、服务器计算机、手持设备或便携式设备、平板型设备、多处理器系统、基于微处理器的系统、机顶盒、可编程的消费电子设备、网络PC、小型计算机、大型计算机、包括以上任何系统或设备的分布式计算环境等等。本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。

[0098] 示例性地,上述的方法、装置可以实现为一种计算机程序的形式,该计算机程序可以在如图4所示的计算机设备上运行。

[0099] 请参阅图4,图4为本申请实施例提供的一种计算机设备的结构示意性框图。该计算机设备可以为服务器或终端。

[0100] 如图4所示,该计算机设备包括通过系统总线连接的处理器、存储器和网络接口,其中,存储器可以包括存储介质和内存储器。

[0101] 存储介质可存储操作系统和计算机程序。该计算机程序包括程序指令,该程序指令被执行时,可使得处理器执行任意一种页面显示方法。

[0102] 处理器用于提供计算和控制能力,支撑整个计算机设备的运行。

[0103] 内存储器为存储介质中的计算机程序的运行提供环境,该计算机程序被处理器执行时,可使得处理器执行任意一种页面显示方法。

[0104] 该网络接口用于进行网络通信,如发送分配的任务等。本领域技术人员可以理解,图4中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。

[0105] 应当理解的是,处理器可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。其中,通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。

[0106] 其中,在一个实施例中,所述处理器用于运行存储在存储器中的计算机程序,以实现如下步骤:

[0107] 获取当前页面对应的页面配置信息,并根据所述页面配置信息确定当前页面的页面显示参数;

[0108] 根据所述页面显示参数对所述当前页面的页面架构进行渲染,其中,所述页面架构包括所述页面配置信息对应的至少一个目标模块;

[0109] 获取用户的权限状态信息,并根据所述权限状态信息确定所述当前页面的目标控件;

[0110] 基于所述页面架构和所述目标控件显示所述当前页面。

[0111] 在一些实施例中,所述处理器在实现所述根据所述页面显示参数对所述当前页面的页面架构进行渲染的过程中,用于实现:

[0112] 在所述目标模块包括子模块的情况下,调用递归组件对所述目标模块中的子模块进行渲染,得到所述当前页面的页面架构。

[0113] 在一些实施例中,所述处理器在实现所述根据所述页面显示参数对所述当前页面的页面架构进行渲染的过程中,用于实现:

[0114] 创建所述当前页面的页面显示容器,并获取所述页面显示容器的可视区域尺寸;

[0115] 根据所述可视区域尺寸及所述当前页面中显示元素的元素尺寸,将至少一部分所述显示元素确定为当前显示元素;

[0116] 对所述当前显示元素进行渲染,得到所述当前页面的页面框架。

[0117] 在一些实施例中,所述处理器在实现所述根据所述可视区域尺寸及所述当前页面中显示元素的元素尺寸,将至少一部分所述显示元素确定为当前显示元素的过程中,用于实现:

[0118] 响应于所述当前页面的滚动操作,根据滚动参数对所述当前显示元素进行更新。

[0119] 在一些实施例中,所述处理器在实现所述获取当前页面对应的页面配置信息,并根据所述页面配置信息确定当前页面的页面显示参数的过程中,用于实现:

[0120] 根据所述页面配置信息确定所述当前页面的目标模块及各所述目标模块的布局信息;

[0121] 根据所述目标模块和所述布局信息进行计算,得到所述页面显示参数。

[0122] 在一些实施例中,所述处理器在实现所述获取用户的权限状态信息,并根据所述权限状态信息确定所述当前页面的目标控件的过程中,用于实现:

[0123] 获取所述用户的用户标识;

[0124] 基于预设的权限列表确定所述用户标识对应的权限状态信息,所述权限状态信息包括:访客用户、注册用户及管理员中的至少一者;

[0125] 根据所述权限状态信息,确定所述当前页面对应的目标控件。

[0126] 在一些实施例中,所述处理器在实现所述基于所述页面架构和所述目标控件显示所述当前页面的过程中,用于实现:

[0127] 基于所述当前页面中的目标模块创建对应的目标表单;

[0128] 获取用户基于所述目标表单上传的图像信息,并对所述图像信息进行命名。

[0129] 需要说明的是,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述页面显示的具体工作过程,可以参考前述页面显示控制方法实施例中的对应过程,在此不再赘述。

[0130] 本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序中包括程序指令,所述程序指令被执行时所实现的方法可参照本申请页面显示方法的各个实施例。

[0131] 其中,所述计算机可读存储介质可以是前述实施例所述的计算机设备的内部存储单元,例如所述计算机设备的硬盘或内存。所述计算机可读存储介质也可以是所述计算机设备的外部存储设备,例如所述计算机设备上配备的插接式硬盘,智能存储卡(SmartMedia Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。

[0132] 应当理解,在此本申请说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。如在本申请说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的"一”、"一个”及"该”意在包括复数形式。

[0133] 还应当理解,在本申请说明书和所附权利要求书中使用的术语"和 / 或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。需要说明的是,在本文中,术语"包括”、"包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句"包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。

[0134] 上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。< / script>

Claims

1. A page display method, characterized in that: The method comprises: Obtaining page configuration information corresponding to the current page, and determining page display parameters of the current page according to the page configuration information; Rendering a page framework of the current page according to the page display parameters, wherein the page framework includes at least one target module corresponding to the page configuration information; Obtaining the user's permission status information, and determining the target control of the current page according to the permission status information; The current page is displayed based on the page architecture and the target control.

2. The page display method according to claim 1, characterized in that: The rendering of the page structure of the current page according to the page display parameters includes: In the case where the target module includes sub-modules, the recursive component is called to render the sub-modules in the target module to obtain the page architecture of the current page.

3. The page display method according to claim 1, characterized in that: The rendering of the page structure of the current page according to the page display parameters includes: Creating a page display container for the current page, and obtaining the visible area size of the page display container; Determining at least a portion of the display elements as current display elements according to the size of the visible area and the element sizes of the display elements in the current page; The current display element is rendered to obtain a page frame of the current page.

4. The page display method according to claim 3, characterized in that: The step of determining at least a portion of the display elements as current display elements according to the size of the visible area and the element sizes of the display elements in the current page further includes: In response to a scrolling operation of the current page, the current display element is updated according to a scrolling parameter.

5. The page display method according to claim 1, characterized in that: The acquiring of page configuration information corresponding to the current page, and determining page display parameters of the current page according to the page configuration information, includes: Determine the target module of the current page and layout information of each target module according to the page configuration information; The page display parameters are obtained by performing calculations according to the target module and the layout information.

6. The page display method according to claim 1, characterized in that: The obtaining the user's permission status information and determining the target control of the current page according to the permission status information includes: Obtaining a user ID of the user; Determining permission status information corresponding to the user identification based on a preset permission list, the permission status information including: at least one of a guest user, a registered user, and an administrator; According to the permission status information, a target control corresponding to the current page is determined.

7. The page display method according to claim 1, characterized in that: The displaying of the current page based on the page architecture and the target control further includes: Create a corresponding target form based on the target module in the current page; The image information uploaded by the user based on the target form is obtained, and the image information is named.

8. A page display device, characterized in that: The page display device comprises: A configuration information acquisition module, used to acquire page configuration information corresponding to the current page, and determine page display parameters of the current page according to the page configuration information; A page frame rendering module, used to render the page frame of the current page according to the page display parameters, wherein the page frame includes at least one target module corresponding to the page configuration information; A target control determination module, used to obtain the user's permission status information, and determine the target control of the current page according to the permission status information; The current page display module is used to display the current page based on the page architecture and the target control.

9. A computer device, characterized in that: The computer device includes a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the steps of the page display method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer readable storage The storage medium stores a computer program, wherein when the computer program is executed by the processor, Implement the steps of the page display method as described in any one of claims 1 to 7.