Movatterモバイル変換


[0]ホーム

URL:


CN115202760A - Page configuration modification method and device, storage medium and electronic equipment - Google Patents

Page configuration modification method and device, storage medium and electronic equipment
Download PDF

Info

Publication number
CN115202760A
CN115202760ACN202210891054.6ACN202210891054ACN115202760ACN 115202760 ACN115202760 ACN 115202760ACN 202210891054 ACN202210891054 ACN 202210891054ACN 115202760 ACN115202760 ACN 115202760A
Authority
CN
China
Prior art keywords
configuration
target page
item
value
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210891054.6A
Other languages
Chinese (zh)
Inventor
支文斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Soufun Science & Technology Development Co ltd
Original Assignee
Beijing Soufun Science & Technology Development Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Soufun Science & Technology Development Co ltdfiledCriticalBeijing Soufun Science & Technology Development Co ltd
Priority to CN202210891054.6ApriorityCriticalpatent/CN115202760A/en
Publication of CN115202760ApublicationCriticalpatent/CN115202760A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明提供了一种页面配置的修改方法及装置、存储介质及电子设备,该方法包括:当接收到用户通过目标页面发送的配置请求时,对其进行解析,获得配置对象信息,据此确定各个目标页面配置项。确定每个目标页面配置项的第一配置值。在目标页面中渲染各个目标页面配置项的第一配置值,响应于用户修改配置值的操作,确定每个目标页面配置项的第二配置值,以此进行配置值更新,得到每个目标页面配置项的最新配置值。将各个最新配置值发送至数据库,实现页面配置的修改。应用本发明的方法,用户可对各个系统页面的配置项统一进行配置修改,后台的配置修改操作可由配置组件处理,用户无需编写逻辑代码,可节省大量人力资源,提高配置修改效率。

Figure 202210891054

The present invention provides a method and device for modifying page configuration, a storage medium and an electronic device. The method includes: when receiving a configuration request sent by a user through a target page, parse it to obtain configuration object information, and determine accordingly. Each target page configuration item. Determine the first configuration value of each target page configuration item. The first configuration value of each target page configuration item is rendered in the target page, and in response to the user's operation of modifying the configuration value, the second configuration value of each target page configuration item is determined, and the configuration value is updated to obtain each target page. The latest configuration value of the configuration item. Send each latest configuration value to the database to modify the page configuration. By applying the method of the present invention, the user can uniformly configure and modify the configuration items of each system page, and the configuration modification operation in the background can be handled by the configuration component.

Figure 202210891054

Description

Translated fromChinese
页面配置的修改方法及装置、存储介质及电子设备Method and device for modifying page configuration, storage medium and electronic device

技术领域technical field

本发明涉及计算机技术领域,特别是涉及一种页面配置的修改方法及装置、存储介质及电子设备。The present invention relates to the field of computer technology, and in particular, to a method and device for modifying page configuration, a storage medium and an electronic device.

背景技术Background technique

在业务系统提供服务的过程中,通常会涉及多个系统页面,当业务需求的变化时,系统页面的配置通常需要修改。In the process of providing services in a business system, multiple system pages are usually involved. When business requirements change, the configuration of the system pages usually needs to be modified.

目前,当系统页面的配置需要修改时,工作人员需针对该系统页面编写配置修改的逻辑代码,以修改页面配置。而在实际的业务场景中,各个系统页面的配置可能会存在诸多关联,例如在不同的系统页面中部署有内容相同的组件模块,抑或是不同的系统页面之间存在数据的调用等等。当某个系统页面的页面配置需要修改时,相对应的,与该系统页面相关联的各个系统页面的配置也需要对应修改。At present, when the configuration of the system page needs to be modified, the staff needs to write the logic code of configuration modification for the system page to modify the page configuration. In actual business scenarios, the configuration of each system page may have many associations, such as deploying component modules with the same content in different system pages, or calling data between different system pages, and so on. When the page configuration of a system page needs to be modified, correspondingly, the configuration of each system page associated with the system page also needs to be modified accordingly.

基于现有的页面配置的修改方式,当需要修改多个系统页面的配置时,需要单独对每个系统页面进行配置修改,修改过程较为繁琐,需耗费大量人力资源和时间。Based on the existing modification method of page configuration, when the configuration of multiple system pages needs to be modified, it is necessary to modify the configuration of each system page separately. The modification process is cumbersome and requires a lot of human resources and time.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明实施例提供了一种页面配置的修改方法,以解决认为修改页面配置,过程较为繁琐,需耗费大量人力资源和时间的问题。In view of this, an embodiment of the present invention provides a method for modifying page configuration, so as to solve the problem that modifying page configuration is considered to be a cumbersome process and consumes a lot of human resources and time.

本发明实施例还提供了一种页面配置的修改装置,用以保证上述方法实际中的实现及应用。The embodiment of the present invention also provides an apparatus for modifying page configuration, so as to ensure the actual implementation and application of the above method.

为实现上述目的,本发明实施例提供如下技术方案:To achieve the above purpose, the embodiments of the present invention provide the following technical solutions:

一种页面配置的修改方法,包括:A method for modifying page configuration, including:

当配置组件接收到用户通过目标页面发送的配置请求时,对所述配置请求进行解析,获得配置对象信息;所述目标页面为所述配置组件对应的前端页面;When the configuration component receives the configuration request sent by the user through the target page, it parses the configuration request to obtain configuration object information; the target page is the front-end page corresponding to the configuration component;

确定所述配置对象信息对应的多个目标页面配置项;determining multiple target page configuration items corresponding to the configuration object information;

在业务系统的数据库中确定每个所述目标页面配置项对应的第一配置值;所述数据库中包含所述业务系统的各个系统页面的页面配置信息;每个所述目标页面配置项对应的第一配置值为该目标页面配置项的当前配置值;The first configuration value corresponding to each of the target page configuration items is determined in the database of the business system; the database contains page configuration information of each system page of the business system; each target page configuration item corresponds to The first configuration value is the current configuration value of the target page configuration item;

在所述目标页面中渲染各个所述目标页面配置项对应的第一配置值,以提示所述用户对各个所述目标页面配置项的配置值进行修改;rendering the first configuration value corresponding to each configuration item of the target page in the target page, to prompt the user to modify the configuration value of each configuration item of the target page;

响应于所述用户修改配置值的操作,确定每个所述目标页面配置项对应的第二配置值;每个所述第二配置项为所述用户通过所述目标页面输入的配置值;In response to an operation of modifying the configuration value by the user, determining a second configuration value corresponding to each of the target page configuration items; each of the second configuration items is a configuration value input by the user through the target page;

依据每个所述目标页面配置项对应的第二配置值,对每个所述目标页面配置项的配置值进行更新,得到每个所述目标页面配置项的最新配置值;updating the configuration value of each target page configuration item according to the second configuration value corresponding to each target page configuration item to obtain the latest configuration value of each target page configuration item;

将每个所述目标页面配置项的最新配置值发送至所述数据库,使所述数据库保存各个所述目标页面配置项的最新配置值,以对所述业务系统的页面配置进行修改。Send the latest configuration value of each target page configuration item to the database, so that the database saves the latest configuration value of each target page configuration item, so as to modify the page configuration of the business system.

上述的方法,可选的,所述在业务系统的数据库中确定每个所述目标页面配置项对应的第一配置值,包括:In the above method, optionally, determining the first configuration value corresponding to each of the target page configuration items in the database of the business system includes:

在所述数据库中,确定每个所述目标页面配置项对应的目标页面配置信息;In the database, determine the target page configuration information corresponding to each target page configuration item;

对于每个所述目标页面配置项,在其对应的目标页面配置信息中,获取该目标页面配置项的当前配置值,并将该目标页面配置项的当前配置值作为该目标页面配置项对应的第一配置值。For each target page configuration item, obtain the current configuration value of the target page configuration item in the corresponding target page configuration information, and use the current configuration value of the target page configuration item as the corresponding target page configuration item The first configuration value.

上述的方法,可选的,所述在所述目标页面中渲染各个所述目标页面配置项对应的第一配置值,包括:In the above method, optionally, rendering the first configuration value corresponding to each configuration item of the target page in the target page includes:

在所述配置组件对应的多个预设内部组件中,确定每个所述目标页面配置项对应的目标内部组件;Among the multiple preset internal components corresponding to the configuration component, determine the target internal component corresponding to each of the target page configuration items;

对于每个所述目标页面配置项,将该目标页面配置项对应的第一配置值发送给该目标页面配置项对应的目标内部组件,使该目标内部组件在所述目标页面中渲染该目标页面配置项对应的第一配置值。For each target page configuration item, the first configuration value corresponding to the target page configuration item is sent to the target internal component corresponding to the target page configuration item, so that the target internal component renders the target page in the target page The first configuration value corresponding to the configuration item.

上述的方法,可选的,所述依据每个所述目标页面配置项对应的第二配置值,对每个所述目标页面配置项的配置值进行更新,包括:In the above method, optionally, updating the configuration value of each target page configuration item according to the second configuration value corresponding to each target page configuration item includes:

使每个所述目标页面配置项对应的目标内部组件,将其对应的目标页面配置项所对应的第二配置值作为该目标页面配置项的配置值,以对该目标页面配置项的配置值进行更新。Make the target internal component corresponding to each target page configuration item use the second configuration value corresponding to the corresponding target page configuration item as the configuration value of the target page configuration item, so as to use the configuration value of the target page configuration item to update.

上述的方法,可选的,所述将每个所述目标页面配置项的最新配置值发送至所述数据库,包括:In the above method, optionally, the sending the latest configuration value of each target page configuration item to the database includes:

从每个所述目标页面配置项对应的目标内部组件中,提取每个所述目标页面配置项对应的最新配置值;Extract the latest configuration value corresponding to each target page configuration item from the target internal component corresponding to each target page configuration item;

通过预设接口将各个所述目标页面配置项的最新配置值发送给所述数据库。The latest configuration value of each target page configuration item is sent to the database through a preset interface.

上述的方法,可选的,所述数据库保存各个所述目标页面配置项的最新配置值的过程,包括:In the above method, optionally, the process of storing the latest configuration value of each target page configuration item in the database includes:

在所述数据库中,确定每个所述目标页面配置项对应的配置存储位置;In the database, determine a configuration storage location corresponding to each of the target page configuration items;

对于每个所述目标页面配置项,将该目标页面配置项的最新配置值存储至该目标页面配置项对应的配置存储位置,以将该目标页面配置项的最新配置值保存至该目标页面配置项对应的系统页面的页面配置信息中。For each target page configuration item, the latest configuration value of the target page configuration item is stored in the configuration storage location corresponding to the target page configuration item, so as to save the latest configuration value of the target page configuration item to the target page configuration In the page configuration information of the system page corresponding to the item.

一种页面配置的修改装置,包括:A device for modifying page configuration, comprising:

解析单元,用于当配置组件接收到用户通过目标页面发送的配置请求时,对所述配置请求进行解析,获得配置对象信息;所述目标页面为所述配置组件对应的前端页面;a parsing unit, configured to parse the configuration request to obtain configuration object information when the configuration component receives a configuration request sent by the user through the target page; the target page is the front-end page corresponding to the configuration component;

第一确定单元,用于确定所述配置对象信息对应的多个目标页面配置项;a first determining unit, configured to determine multiple target page configuration items corresponding to the configuration object information;

第二确定单元,用于在业务系统的数据库中确定每个所述目标页面配置项对应的第一配置值;所述数据库中包含所述业务系统的各个系统页面的页面配置信息;每个所述目标页面配置项对应的第一配置值为该目标页面配置项的当前配置值;The second determining unit is configured to determine the first configuration value corresponding to each target page configuration item in the database of the business system; the database contains page configuration information of each system page of the business system; the first configuration value corresponding to the target page configuration item is the current configuration value of the target page configuration item;

渲染单元,用于在所述目标页面中渲染各个所述目标页面配置项对应的第一配置值,以提示所述用户对各个所述目标页面配置项的配置值进行修改;a rendering unit, configured to render the first configuration value corresponding to each of the target page configuration items in the target page, so as to prompt the user to modify the configuration value of each of the target page configuration items;

第三确定单元,用于响应于所述用户修改配置值的操作,确定每个所述目标页面配置项对应的第二配置值;每个所述第二配置项为所述用户通过所述目标页面输入的配置值;A third determining unit, configured to determine a second configuration value corresponding to each configuration item of the target page in response to an operation of modifying the configuration value by the user; The configuration value entered on the page;

修改单元,用于依据每个所述目标页面配置项对应的第二配置值,对每个所述目标页面配置项的配置值进行更新,得到每个所述目标页面配置项的最新配置值;a modification unit, configured to update the configuration value of each target page configuration item according to the second configuration value corresponding to each target page configuration item, to obtain the latest configuration value of each target page configuration item;

保存单元,用于将每个所述目标页面配置项的最新配置值发送至所述数据库,使所述数据库保存各个所述目标页面配置项的最新配置值,以对所述业务系统的页面配置进行修改。A saving unit, configured to send the latest configuration value of each target page configuration item to the database, so that the database saves the latest configuration value of each of the target page configuration items, so as to configure the page of the business system to modify.

上述的装置,可选的,所述第二确定单元,包括:In the above-mentioned device, optionally, the second determining unit includes:

确定子单元,用于在所述数据库中,确定每个所述目标页面配置项对应的目标页面配置信息;A determination subunit, used for determining the target page configuration information corresponding to each of the target page configuration items in the database;

获取子单元,用于对于每个所述目标页面配置项,在其对应的目标页面配置信息中,获取该目标页面配置项的当前配置值,并将该目标页面配置项的当前配置值作为该目标页面配置项对应的第一配置值。The obtaining subunit is used to obtain the current configuration value of the target page configuration item in the corresponding target page configuration information for each target page configuration item, and use the current configuration value of the target page configuration item as the target page configuration item. The first configuration value corresponding to the target page configuration item.

一种存储介质,所述存储介质包括存储的指令,其中,在所述指令运行时控制所述存储介质所在的设备执行如上述的页面配置的修改方法。A storage medium, the storage medium comprising stored instructions, wherein when the instructions are executed, a device where the storage medium is located is controlled to execute the above-mentioned method for modifying page configuration.

一种电子设备,包括存储器,以及一个或者一个以上的指令,其中一个或者一个以上指令存储于存储器中,且经配置以由一个或者一个以上处理器执行如上述的页面配置的修改方法。An electronic device includes a memory, and one or more instructions, wherein the one or more instructions are stored in the memory and configured to perform, by one or more processors, a method of modifying a page configuration as described above.

基于上述本发明实施例提供的一种页面配置的修改方法,包括:当配置组件接收到用户通过目标页面发送的配置请求时,对该配置请求进行解析,获得配置对象信息,确定配置对象信息对应的多个目标页面配置项。在业务系统的数据库中确定每个目标页面配置项对应的第一配置值,每个目标页面配置项对应的第一配置值为该目标页面配置项的当前配置值。在目标页面中渲染各个目标页面配置项对应的第一配置值,以提示用户对各个目标页面配置项的配置值进行修改。响应于用户修改配置值的操作,确定每个目标页面配置项对应的第二配置值,依据每个目标页面配置项对应的第二配置值,对每个目标页面配置项的配置值进行更新,得到每个目标页面配置项的最新配置值。将每个目标页面配置项的最新配置值发送至数据库,使数据库保存各个目标页面配置项的最新配置值,以对业务系统的页面配置进行修改。应用本发明实施例提供的方法,工作人员可以通过目标页面对各个系统页面的页面配置项进行可视化的修改,配置组件可统一执行后台的配置修改操作。在修改页面配置的场景中,无需工作人员针对每个页面配置的需求,编写配置修改的逻辑代码,可节省大量的人力资源,提高配置修改效率。A method for modifying page configuration based on the above embodiments of the present invention includes: when a configuration component receives a configuration request sent by a user through a target page, parses the configuration request, obtains configuration object information, and determines the corresponding configuration object information Multiple target page configuration items for . The first configuration value corresponding to each target page configuration item is determined in the database of the business system, and the first configuration value corresponding to each target page configuration item is the current configuration value of the target page configuration item. The first configuration value corresponding to each target page configuration item is rendered in the target page to prompt the user to modify the configuration value of each target page configuration item. In response to the user's operation of modifying the configuration value, the second configuration value corresponding to each target page configuration item is determined, and the configuration value of each target page configuration item is updated according to the second configuration value corresponding to each target page configuration item, Get the latest configuration value of each target page configuration item. The latest configuration value of each target page configuration item is sent to the database, so that the database saves the latest configuration value of each target page configuration item, so as to modify the page configuration of the business system. By applying the method provided by the embodiment of the present invention, the staff can visually modify the page configuration items of each system page through the target page, and the configuration component can uniformly perform the configuration modification operation in the background. In the scenario of modifying page configuration, there is no need for staff to write the logic code for configuration modification according to the requirements of each page configuration, which can save a lot of human resources and improve the efficiency of configuration modification.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to illustrate the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that are used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only It is an embodiment of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to the provided drawings without creative efforts.

图1为本发明实施例提供的一种页面配置的修改方法的方法流程图;1 is a method flowchart of a method for modifying a page configuration provided by an embodiment of the present invention;

图2为本发明实施例提供的一种页面配置的修改方法的又一方法流程图;Fig. 2 is another method flowchart of a method for modifying page configuration provided by an embodiment of the present invention;

图3为本发明实施例提供的一种页面配置的修改装置的结构示意图;3 is a schematic structural diagram of a device for modifying page configuration provided by an embodiment of the present invention;

图4为本发明实施例提供的一种页面配置的修改装置的又一结构示意图;4 is another schematic structural diagram of a device for modifying page configuration provided by an embodiment of the present invention;

图5为本发明实施例提供的一种电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

在本申请中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。In this application, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a list of elements includes not only those elements, but also no Other elements expressly listed, or which are also inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

由背景技术可知,在现有的页面配置的修改方法中,需要人工编写代码对每个需要修改配置的项目进行修改,常常需要进行重复性的工作,且实际修改过程中,接口返回结果嵌套较深,数据保存也较为复杂,面对一个小改动可能需要通过对象的点方法持续修改才能更新数据,配置修改的过程较为繁琐,需耗费大量的人力资源和时间,修改配置的效率较低。It can be known from the background art that in the existing page configuration modification method, it is necessary to manually write code to modify each item whose configuration needs to be modified, which often requires repetitive work, and in the actual modification process, the interface returns nested results. It is deeper and the data storage is more complicated. In the face of a small change, it may be necessary to continuously modify the data through the point method of the object. The configuration modification process is cumbersome, requires a lot of human resources and time, and the efficiency of modifying the configuration is low.

因此,本发明实施例提供了一种页面配置的修改方法,构建配置组件执行后台的配置修改操作,用户可通过可视化界面对各个系统页面的页面配置进行统一修改,无需编写代码,可节省大量人力资源和时间。Therefore, the embodiment of the present invention provides a method for modifying page configuration. A configuration component is constructed to perform a configuration modification operation in the background. Users can uniformly modify the page configuration of each system page through a visual interface without writing code, which can save a lot of manpower. resources and time.

本发明实施例提供了一种页面配置的修改方法,所述方法可应用于页面配置系统,其执行主体可以为系统的处理器,所述方法的方法流程图如图1所示,包括:An embodiment of the present invention provides a method for modifying a page configuration. The method can be applied to a page configuration system, and the execution body of the method can be a processor of the system. The method flowchart of the method is shown in FIG. 1 , including:

S101:当配置组件接收到用户通过目标页面发送的配置请求时,对所述配置请求进行解析,获得配置对象信息;所述目标页面为所述配置组件对应的前端页面;S101: When a configuration component receives a configuration request sent by a user through a target page, it parses the configuration request to obtain configuration object information; the target page is a front-end page corresponding to the configuration component;

本发明实施例提供的方法中,页面配置系统具体可为预先构建的配置组件,可用于对数据库中的页面配置数据进行修改。用户可访问该配置组件对应的前端页面,在该前端页面中输入当前需要修改的配置项的相关信息,即指明需对哪些系统页面的哪些配置项进行修改,以此向处理器发送配置请求。系统页面的配置项指的是用于配置诸如查询栏目的查询条件、控件的特定样式、动态接口、操作按钮等页面内容的配置项。In the method provided by the embodiment of the present invention, the page configuration system may specifically be a pre-built configuration component, which may be used to modify the page configuration data in the database. The user can access the front-end page corresponding to the configuration component, and enter the relevant information of the configuration item that needs to be modified in the front-end page, that is, specify which configuration items of which system pages need to be modified, so as to send a configuration request to the processor. The configuration items of the system page refer to the configuration items used to configure the page content such as the query conditions of the query column, the specific style of the control, the dynamic interface, and the operation buttons.

本发明实施例提供的方法中,当配置组件接收到配置请求时,可对该请求进行解析,继而获得配置对象信息,即用户当前需要修改的配置项的相关信息。In the method provided by the embodiment of the present invention, when the configuration component receives a configuration request, it can parse the request, and then obtain configuration object information, that is, information about the configuration item that the user currently needs to modify.

S102:确定所述配置对象信息对应的多个目标页面配置项;S102: Determine multiple target page configuration items corresponding to the configuration object information;

本发明实施例提供的方法中,根据配置对象信息可确定用户当前需要修改配置的各个目标页面配置项。In the method provided by the embodiment of the present invention, each target page configuration item that the user currently needs to modify the configuration can be determined according to the configuration object information.

S103:在业务系统的数据库中确定每个所述目标页面配置项对应的第一配置值;所述数据库中包含所述业务系统的各个系统页面的页面配置信息;每个所述目标页面配置项对应的第一配置值为该目标页面配置项的当前配置值;S103: Determine the first configuration value corresponding to each target page configuration item in the database of the business system; the database contains page configuration information of each system page of the business system; each target page configuration item The corresponding first configuration value is the current configuration value of the target page configuration item;

本发明实施例提供的方法中,数据库中存储有业务系统各个系统页面的页面配置信息,即记录该系统页面的页面配置的信息,具体可以包括与该系统页面相关联的各个页面配置项的当前配置值。In the method provided by the embodiment of the present invention, the database stores the page configuration information of each system page of the business system, that is, records the page configuration information of the system page, which may specifically include the current status of each page configuration item associated with the system page. configuration value.

本发明实施例提供的方法中,可调用预设的数据获取接口从数据库中获取各个目标页面配置项的相关数据,对返回的数据进行数据处理,筛选出各个目标页面配置项的当前配置值,以确定每个目标页面配置项对应的第一配置值。具体的页面配置项和配置值的数据内容可由具体的业务场景确定。In the method provided by the embodiment of the present invention, a preset data acquisition interface can be invoked to acquire relevant data of each target page configuration item from a database, data processing is performed on the returned data, and the current configuration value of each target page configuration item is filtered out, to determine the first configuration value corresponding to each target page configuration item. The data content of specific page configuration items and configuration values can be determined by specific business scenarios.

S104:在所述目标页面中渲染各个所述目标页面配置项对应的第一配置值,以提示所述用户对各个所述目标页面配置项的配置值进行修改;S104: Rendering the first configuration value corresponding to each of the target page configuration items in the target page, to prompt the user to modify the configuration value of each of the target page configuration items;

本发明实施例提供的方法中,获得各个目标页面配置项对应的第一配置值后,可在目标页面,即配置组件的前端页面中,显示每个目标页面配置项的第一配置值,同时,提供输入配置值的控件,以提示用户输入用于对目标页面配置项的配置值进行修改的配置值,也就是对目标页面配置项进行修改后所应用的配置值。In the method provided by the embodiment of the present invention, after obtaining the first configuration value corresponding to each target page configuration item, the first configuration value of each target page configuration item can be displayed on the target page, that is, the front-end page of the configuration component, and at the same time , provides a control for inputting configuration values to prompt the user to input the configuration values used to modify the configuration values of the target page configuration items, that is, the configuration values applied after the target page configuration items are modified.

S105:响应于所述用户修改配置值的操作,确定每个所述目标页面配置项对应的第二配置值;每个所述第二配置项为所述用户通过所述目标页面输入的配置值;S105: In response to the user's operation of modifying the configuration value, determine a second configuration value corresponding to each of the target page configuration items; each of the second configuration items is a configuration value input by the user through the target page ;

本发明实施例提供的方法中,用户可通过目标页面输入每个目标页面配置项需应用的配置值,并点击“保存按钮”确定以当前输入的信息修改配置值。配置组件响应于用户在目标页面中修改配置值的操作,可获取用户通过目标页面输入的配置值,以此确定每个目标页面配置项的第二配置值。In the method provided by the embodiment of the present invention, the user can input the configuration value to be applied to each target page configuration item through the target page, and click the "save button" to confirm to modify the configuration value with the currently input information. In response to the user's operation of modifying the configuration value in the target page, the configuration component can obtain the configuration value input by the user through the target page, so as to determine the second configuration value of each target page configuration item.

S106:依据每个所述目标页面配置项对应的第二配置值,对每个所述目标页面配置项的配置值进行更新,得到每个所述目标页面配置项的最新配置值;S106: According to the second configuration value corresponding to each of the target page configuration items, update the configuration value of each of the target page configuration items to obtain the latest configuration value of each of the target page configuration items;

本发明实施例提供的方法中,对于每个目标页面配置项,可依据该目标页面配置项对应的第二配置值,对该目标页面配置项应用的配置值进行更新,更新后所应用的配置值即为其最新配置值。每个目标页面配置项应用的最新配置值则是其对应的第二配置值。In the method provided by the embodiment of the present invention, for each target page configuration item, the configuration value applied to the target page configuration item may be updated according to the second configuration value corresponding to the target page configuration item, and the applied configuration after the update may be updated. The value is its latest configured value. The latest configuration value applied by each target page configuration item is its corresponding second configuration value.

S107:将每个所述目标页面配置项的最新配置值发送至所述数据库,使所述数据库保存各个所述目标页面配置项的最新配置值,以对所述业务系统的页面配置进行修改。S107: Send the latest configuration value of each target page configuration item to the database, so that the database saves the latest configuration value of each target page configuration item, so as to modify the page configuration of the business system.

本发明实施例提供的方法中,对各个目标页面配置项应用的配置值进行修改后,可将各个目标页面配置项的最新配置值发送至数据库,触发数据库对各个目标页面配置项的最新配置值进行保存,以此对相关联的页面配置进行修改。In the method provided by the embodiment of the present invention, after modifying the configuration value applied by each target page configuration item, the latest configuration value of each target page configuration item can be sent to the database, and the database can be triggered to update the latest configuration value of each target page configuration item. Save to modify the associated page configuration.

基于本发明实施例提供的方法,当配置组件接收到用户通过目标页面发送的配置请求时,可对配置请求进行解析,获得配置对象信息;所述目标页面为所述配置组件对应的前端页面;确定配置对象信息对应的多个目标页面配置项;在业务系统的数据库中确定每个目标页面配置项对应的第一配置值;数据库中包含业务系统的各个系统页面的页面配置信息;每个目标页面配置项对应的第一配置值为该目标页面配置项的当前配置值;在目标页面中渲染各个目标页面配置项对应的第一配置值,以提示用户对各个目标页面配置项的配置值进行修改;响应于用户修改配置值的操作,确定每个目标页面配置项对应的第二配置值;每个第二配置项为用户通过目标页面输入的配置值;依据每个目标页面配置项对应的第二配置值,对每个目标页面配置项的配置值进行更新,得到每个目标页面配置项的最新配置值;将每个目标页面配置项的最新配置值发送至数据库,使数据库保存各个目标页面配置项的最新配置值,以对业务系统的页面配置进行修改。应用本发明实施例提供的方法,工作人员(即用户)可以通过目标页面对各个系统页面的页面配置项进行可视化的修改,配置组件可统一执行后台的配置修改操作。在修改页面配置的场景中,无需工作人员针对每个页面配置的需求,编写配置修改的逻辑代码,可节省大量的人力资源,提高配置修改效率。Based on the method provided by the embodiment of the present invention, when the configuration component receives the configuration request sent by the user through the target page, it can parse the configuration request to obtain configuration object information; the target page is the front-end page corresponding to the configuration component; Determine multiple target page configuration items corresponding to the configuration object information; determine the first configuration value corresponding to each target page configuration item in the database of the business system; the database contains page configuration information of each system page of the business system; each target The first configuration value corresponding to the page configuration item is the current configuration value of the target page configuration item; the first configuration value corresponding to each target page configuration item is rendered in the target page to prompt the user to perform the configuration value of each target page configuration item. Modify; in response to the user's operation of modifying the configuration value, determine the second configuration value corresponding to each target page configuration item; each second configuration item is a configuration value input by the user through the target page; according to the corresponding configuration item of each target page The second configuration value is to update the configuration value of each target page configuration item to obtain the latest configuration value of each target page configuration item; send the latest configuration value of each target page configuration item to the database, so that the database saves each target page The latest configuration value of the page configuration item to modify the page configuration of the business system. By applying the method provided by the embodiment of the present invention, the staff (ie, the user) can visually modify the page configuration items of each system page through the target page, and the configuration component can uniformly perform the configuration modification operation in the background. In the scenario of modifying page configuration, there is no need for staff to write the logic code for configuration modification according to the requirements of each page configuration, which can save a lot of human resources and improve the efficiency of configuration modification.

在图1所示方法的基础上,本发明实施例提供了又一种页面配置的修改方法,参考图2所示流程图,本发明实施例提供的方法中,步骤S103中提及的在业务系统的数据库中确定每个所述目标页面配置项对应的第一配置值的过程,包括:On the basis of the method shown in FIG. 1 , an embodiment of the present invention provides another method for modifying page configuration. Referring to the flowchart shown in FIG. 2 , in the method provided by the embodiment of the present invention, in the service mentioned in step S103 The process of determining the first configuration value corresponding to each of the target page configuration items in the database of the system includes:

S201:在所述数据库中,确定每个所述目标页面配置项对应的目标页面配置信息;S201: In the database, determine target page configuration information corresponding to each target page configuration item;

本发明实施例提供的方法中,可在数据库包含的各个系统页面的页面配置信息中,确定每个目标页面配置项所属的目标页面配置信息,也就是该目标页面配置项所关联的系统页面的页面配置信息。In the method provided by the embodiment of the present invention, the target page configuration information to which each target page configuration item belongs may be determined from the page configuration information of each system page contained in the database, that is, the system page associated with the target page configuration item. Page configuration information.

S202:对于每个所述目标页面配置项,在其对应的目标页面配置信息中,获取该目标页面配置项的当前配置值;S202: For each target page configuration item, obtain the current configuration value of the target page configuration item in its corresponding target page configuration information;

本发明实施例提供的方法中,可从每个目标页面配置信息中,获取其对应的目标页面配置项的当前配置值。In the method provided by the embodiment of the present invention, the current configuration value of the corresponding target page configuration item can be obtained from the configuration information of each target page.

S203:将该目标页面配置项的当前配置值作为该目标页面配置项对应的第一配置值。S203: Use the current configuration value of the target page configuration item as the first configuration value corresponding to the target page configuration item.

本发明实施例提供的方法中,将每个目标页面配置项的当前配置值作为其对应的第一配置值。In the method provided by the embodiment of the present invention, the current configuration value of each target page configuration item is used as its corresponding first configuration value.

在图1所示方法的基础上,本发明实施例提供的方法中,步骤S104中提及的在所述目标页面中渲染各个所述目标页面配置项对应的第一配置值的过程,包括:On the basis of the method shown in FIG. 1 , in the method provided by the embodiment of the present invention, the process of rendering the first configuration value corresponding to each configuration item of the target page in the target page mentioned in step S104 includes:

在所述配置组件对应的多个预设内部组件中,确定每个所述目标页面配置项对应的目标内部组件;Among the multiple preset internal components corresponding to the configuration component, determine the target internal component corresponding to each of the target page configuration items;

本发明实施例提供的方法中,配置组件是一套复合组件,其中包含多个预设的内部组件,也就是内层组件。在具体的工作过程中,每个目标页面配置项对应的配置修改工作可由对应的预设内部组件执行,故可在各个预设内部组件中,确定执行每个目标页面配置项的配置修改操作的预设内部组件,对于每个目标页面配置项,将执行其配置修改操作的预设内部组件作为其对应的目标内部组件。In the method provided by the embodiment of the present invention, the configuration component is a set of composite components, which includes a plurality of preset internal components, that is, inner layer components. In the specific work process, the configuration modification work corresponding to each target page configuration item can be performed by the corresponding preset internal component, so the configuration modification operation of each target page configuration item can be determined in each preset internal component. For preset internal components, for each target page configuration item, the preset internal component that performs its configuration modification operation is taken as its corresponding target internal component.

对于每个所述目标页面配置项,将该目标页面配置项对应的第一配置值发送给该目标页面配置项对应的目标内部组件,使该目标内部组件在所述目标页面中渲染该目标页面配置项对应的第一配置值。For each target page configuration item, the first configuration value corresponding to the target page configuration item is sent to the target internal component corresponding to the target page configuration item, so that the target internal component renders the target page in the target page The first configuration value corresponding to the configuration item.

本发明实施例提供的方法中,可将每个目标页面配置项对应的第一配置值发送给其对应的目标内部组件,触发该目标内部组件在目标页面中对该第一配置值进行渲染。同时,亦可通过目标页面配置项对应的目标内部组件接收用户通过目标页面输入的该目标页面配置项对应的第二配置值。In the method provided by the embodiment of the present invention, the first configuration value corresponding to each target page configuration item can be sent to its corresponding target internal component, and the target internal component is triggered to render the first configuration value in the target page. At the same time, the second configuration value corresponding to the target page configuration item input by the user through the target page can also be received through the target internal component corresponding to the target page configuration item.

在上述实施例提供的方法的基础上,本发明实施例提供的方法中,步骤S106中提及的依据每个所述目标页面配置项对应的第二配置值,对每个所述目标页面配置项的配置值进行更新的过程,包括:On the basis of the method provided by the above embodiment, in the method provided by the embodiment of the present invention, the configuration for each target page mentioned in step S106 is based on the second configuration value corresponding to each target page configuration item. The process of updating the configuration value of an item, including:

使每个所述目标页面配置项对应的目标内部组件,将其对应的目标页面配置项所对应的第二配置值作为该目标页面配置项的配置值,以对该目标页面配置项的配置值进行更新。Make the target internal component corresponding to each target page configuration item use the second configuration value corresponding to the corresponding target page configuration item as the configuration value of the target page configuration item, so as to use the configuration value of the target page configuration item to update.

本发明实施例提供的方法中,对于每个目标页面配置项,当该目标页面配置项对应的目标内部组件接收到该目标页面配置项对应的第二配置值后,可对该目标页面配置项应用的配置值进行更新,即以该第二配置值作为该目标页面配置项应用的配置值。In the method provided by the embodiment of the present invention, for each target page configuration item, after the target internal component corresponding to the target page configuration item receives the second configuration value corresponding to the target page configuration item, the target page configuration item can be configured The configuration value of the application is updated, that is, the second configuration value is used as the configuration value of the target page configuration item application.

在上述实施例提供的方法的基础上,本发明实施例提供的方法中,步骤S107中提及的将每个所述目标页面配置项的最新配置值发送至所述数据库的过程,包括:On the basis of the method provided by the above embodiment, in the method provided by the embodiment of the present invention, the process of sending the latest configuration value of each target page configuration item to the database mentioned in step S107 includes:

从每个所述目标页面配置项对应的目标内部组件中,提取每个所述目标页面配置项对应的最新配置值;Extract the latest configuration value corresponding to each target page configuration item from the target internal component corresponding to each target page configuration item;

通过预设接口将各个所述目标页面配置项的最新配置值发送给所述数据库。The latest configuration value of each target page configuration item is sent to the database through a preset interface.

本发明实施例提供的方法中,当各个目标内部组件完成数据的修改工作后,可从各个目标内部组件中提取各个目标页面配置项的最新配置值。调用预先设置的数据传输接口(即预设接口)将各个最新配置值发送给后端的数据库。In the method provided by the embodiment of the present invention, after each target internal component completes the data modification work, the latest configuration value of each target page configuration item can be extracted from each target internal component. Call a preset data transmission interface (ie, preset interface) to send each latest configuration value to the backend database.

在图1所示方法的基础上,本发明实施例提供的方法中,步骤S107提及的数据库保存各个所述目标页面配置项的最新配置值的过程,包括:On the basis of the method shown in FIG. 1, in the method provided by the embodiment of the present invention, the process of saving the latest configuration value of each target page configuration item in the database mentioned in step S107 includes:

在所述数据库中,确定每个所述目标页面配置项对应的配置存储位置;In the database, determine a configuration storage location corresponding to each of the target page configuration items;

对于每个所述目标页面配置项,将该目标页面配置项的最新配置值存储至该目标页面配置项对应的配置存储位置,以将该目标页面配置项的最新配置值保存至该目标页面配置项对应的系统页面的页面配置信息中。For each target page configuration item, the latest configuration value of the target page configuration item is stored in the configuration storage location corresponding to the target page configuration item, so as to save the latest configuration value of the target page configuration item to the target page configuration In the page configuration information of the system page corresponding to the item.

本发明实施例提供的方法中,在数据库的相应位置中存储有各个系统页面的页面配置信息,其中包含用于页面配置的各个页面配置项的配置值。当数据库接收到各个目标页面配置项的最新配置值时,可确定每个目标页面配置项对应的配置存储位置,也就是数据库中存储目标页面配置项应用的配置值的位置。通过预设的数据存储指令,可将每个目标页面配置项的最新配置值存储至每个目标页面配置项对应的配置存储位置中,以在相关系统页面的页面配置信息中保存目标页面配置项的最新配置值,用于后续的页面配置。该保存操作也就是将目标页面配置项应用的配置值由该目标页面配置项对应的第一配置值修改为其对应的第二配置值。In the method provided by the embodiment of the present invention, the page configuration information of each system page is stored in the corresponding position of the database, which includes the configuration value of each page configuration item used for page configuration. When the database receives the latest configuration value of each target page configuration item, it can determine the configuration storage location corresponding to each target page configuration item, that is, the location in the database where the configuration value applied by the target page configuration item is stored. Through the preset data storage instruction, the latest configuration value of each target page configuration item can be stored in the configuration storage location corresponding to each target page configuration item, so as to save the target page configuration item in the page configuration information of the relevant system page The latest configuration value for subsequent page configuration. The saving operation is to modify the configuration value applied by the target page configuration item from the first configuration value corresponding to the target page configuration item to its corresponding second configuration value.

为了更好地说明本发明实施例提供的方法,在上述实施例提供的方法的基础上,本发明实施例提供了又一种页面配置的修改方法,以对本发明实施例提供的方法作示例性的简要整体说明。In order to better describe the methods provided by the embodiments of the present invention, on the basis of the methods provided by the foregoing embodiments, the embodiments of the present invention provide another method for modifying page configuration, to exemplify the methods provided by the embodiments of the present invention brief overall description.

本发明实施例提供的方法可应用于预先构建的配置组件,本组件是一套复合组件,通过前端页面给本组件传递对应的配置参数,即需要修改配置的配置项(如查询条件、特定样式、动态接口、操作按钮等),拿到配置参数后统一获取数据,通过数据处理方法将接口返回的数据做逻辑处理,筛选出前端页面上需要的字段(即需要修改的配置项的当前配置值)后,将字段数据通过循环的方式分发给本组件的内层组件。内层组件负责渲染数据(渲染当前配置值)、修改数据(将配置项应用的配置值修改为用户输入的配置值)。基于用户使用保存按钮的操作,统一将内层组件更新后的数据提取出来,统一由本组件调用保存接口传递给后端。The method provided by the embodiment of the present invention can be applied to a pre-built configuration component. This component is a set of composite components, and corresponding configuration parameters are passed to the component through the front-end page, that is, the configuration items that need to be modified (such as query conditions, specific styles, etc.) , dynamic interface, operation buttons, etc.), obtain the data uniformly after getting the configuration parameters, perform logical processing on the data returned by the interface through the data processing method, and filter out the required fields on the front-end page (that is, the current configuration value of the configuration item that needs to be modified) ), distribute the field data to the inner components of this component in a circular manner. The inner component is responsible for rendering data (rendering the current configuration value) and modifying the data (modifying the configuration value applied by the configuration item to the configuration value entered by the user). Based on the user's operation of using the save button, the updated data of the inner component is extracted uniformly, and the component calls the save interface and transfers it to the backend.

基于本发明实施例提供的方法,通过传递对应的配置参数,可实现快速、统一、出错率小、方便维护、符合产品需求、符合业务场景的页面配置修改操作。Based on the method provided by the embodiment of the present invention, by passing corresponding configuration parameters, a page configuration modification operation that is fast, unified, has a small error rate, is convenient to maintain, meets product requirements, and meets business scenarios can be realized.

与图1所示的一种页面配置的修改方法相对应的,本发明实施例还提供了一种页面配置的修改装置,用于对图1中所示方法的具体实现,其结构示意图如图3所示,包括:Corresponding to a method for modifying a page configuration shown in FIG. 1 , an embodiment of the present invention further provides a device for modifying a page configuration, which is used for the specific implementation of the method shown in FIG. 1 , the schematic diagram of which is shown in the figure. 3, including:

解析单元301,用于当配置组件接收到用户通过目标页面发送的配置请求时,对所述配置请求进行解析,获得配置对象信息;所述目标页面为所述配置组件对应的前端页面;Aparsing unit 301, configured to parse the configuration request to obtain configuration object information when the configuration component receives a configuration request sent by a user through a target page; the target page is a front-end page corresponding to the configuration component;

第一确定单元302,用于确定所述配置对象信息对应的多个目标页面配置项;a first determiningunit 302, configured to determine multiple target page configuration items corresponding to the configuration object information;

第二确定单元303,用于在业务系统的数据库中确定每个所述目标页面配置项对应的第一配置值;所述数据库中包含所述业务系统的各个系统页面的页面配置信息;每个所述目标页面配置项对应的第一配置值为该目标页面配置项的当前配置值;The second determiningunit 303 is configured to determine the first configuration value corresponding to each of the target page configuration items in the database of the business system; the database contains page configuration information of each system page of the business system; each The first configuration value corresponding to the target page configuration item is the current configuration value of the target page configuration item;

渲染单元304,用于在所述目标页面中渲染各个所述目标页面配置项对应的第一配置值,以提示所述用户对各个所述目标页面配置项的配置值进行修改;Arendering unit 304, configured to render the first configuration value corresponding to each of the target page configuration items in the target page, so as to prompt the user to modify the configuration value of each of the target page configuration items;

第三确定单元305,用于响应于所述用户修改配置值的操作,确定每个所述目标页面配置项对应的第二配置值;每个所述第二配置项为所述用户通过所述目标页面输入的配置值;The third determiningunit 305 is configured to, in response to the operation of modifying the configuration value by the user, determine the second configuration value corresponding to each configuration item of the target page; The configuration value entered on the target page;

修改单元306,用于依据每个所述目标页面配置项对应的第二配置值,对每个所述目标页面配置项的配置值进行更新,得到每个所述目标页面配置项的最新配置值;The modifyingunit 306 is configured to update the configuration value of each target page configuration item according to the second configuration value corresponding to each target page configuration item to obtain the latest configuration value of each target page configuration item ;

保存单元307,用于将每个所述目标页面配置项的最新配置值发送至所述数据库,使所述数据库保存各个所述目标页面配置项的最新配置值,以对所述业务系统的页面配置进行修改。The savingunit 307 is configured to send the latest configuration value of each configuration item of the target page to the database, so that the database saves the latest configuration value of the configuration item of each target page, so as to store the latest configuration value of the configuration item of the business system Configuration to modify.

基于本发明实施例提供的装置,当配置组件接收到用户通过目标页面发送的配置请求时,可对配置请求进行解析,获得配置对象信息;所述目标页面为所述配置组件对应的前端页面;确定配置对象信息对应的多个目标页面配置项;在业务系统的数据库中确定每个目标页面配置项对应的第一配置值;数据库中包含业务系统的各个系统页面的页面配置信息;每个目标页面配置项对应的第一配置值为该目标页面配置项的当前配置值;在目标页面中渲染各个目标页面配置项对应的第一配置值,以提示用户对各个目标页面配置项的配置值进行修改;响应于用户修改配置值的操作,确定每个目标页面配置项对应的第二配置值;每个第二配置项为用户通过目标页面输入的配置值;依据每个目标页面配置项对应的第二配置值,对每个目标页面配置项的配置值进行更新,得到每个目标页面配置项的最新配置值;将每个目标页面配置项的最新配置值发送至数据库,使数据库保存各个目标页面配置项的最新配置值,以对业务系统的页面配置进行修改。应用本发明实施例提供的装置,工作人员(即用户)可以通过目标页面对各个系统页面的页面配置项进行可视化的修改,配置组件可统一执行后台的配置修改操作。在修改页面配置的场景中,无需工作人员针对每个页面配置的需求,编写配置修改的逻辑代码,可节省大量的人力资源,提高配置修改效率。Based on the device provided by the embodiment of the present invention, when the configuration component receives the configuration request sent by the user through the target page, it can parse the configuration request to obtain configuration object information; the target page is the front-end page corresponding to the configuration component; Determine multiple target page configuration items corresponding to the configuration object information; determine the first configuration value corresponding to each target page configuration item in the database of the business system; the database contains page configuration information of each system page of the business system; each target The first configuration value corresponding to the page configuration item is the current configuration value of the target page configuration item; the first configuration value corresponding to each target page configuration item is rendered in the target page to prompt the user to perform the configuration value of each target page configuration item. Modify; in response to the user's operation of modifying the configuration value, determine the second configuration value corresponding to each target page configuration item; each second configuration item is a configuration value input by the user through the target page; according to the corresponding configuration item of each target page The second configuration value is to update the configuration value of each target page configuration item to obtain the latest configuration value of each target page configuration item; send the latest configuration value of each target page configuration item to the database, so that the database saves each target page The latest configuration value of the page configuration item to modify the page configuration of the business system. By applying the device provided by the embodiment of the present invention, staff (ie, users) can visually modify the page configuration items of each system page through the target page, and the configuration component can uniformly perform background configuration modification operations. In the scenario of modifying page configuration, there is no need for staff to write the logic code for configuration modification according to the requirements of each page configuration, which can save a lot of human resources and improve the efficiency of configuration modification.

本发明实施例提供了又一种页面配置的修改装置,其结构示意图如图4所示,在图3所示装置的基础上,本发明实施例提供的装置中,所述第二确定单元303,包括:An embodiment of the present invention provides another apparatus for modifying page configuration, the schematic diagram of which is shown in FIG. 4 . On the basis of the apparatus shown in FIG. 3 , in the apparatus provided by the embodiment of the present invention, the second determiningunit 303 ,include:

确定子单元308,用于在所述数据库中,确定每个所述目标页面配置项对应的目标页面配置信息;Adetermination subunit 308, configured to determine, in the database, target page configuration information corresponding to each of the target page configuration items;

获取子单元309,用于对于每个所述目标页面配置项,在其对应的目标页面配置信息中,获取该目标页面配置项的当前配置值,并将该目标页面配置项的当前配置值作为该目标页面配置项对应的第一配置值。The obtainingsubunit 309 is configured to, for each target page configuration item, obtain the current configuration value of the target page configuration item in its corresponding target page configuration information, and use the current configuration value of the target page configuration item as the target page configuration item. The first configuration value corresponding to the target page configuration item.

在图3所示装置的基础上,本发明实施例提供的装置还可以进一步细化出其他单元,具体的单元功能可参考前文对于页面配置的修改方法所提供的各个实施例中的说明,在此不再进一步举例说明。On the basis of the device shown in FIG. 3 , the device provided by the embodiment of the present invention may further refine other units. For specific unit functions, refer to the descriptions in the respective embodiments provided in the previous page configuration modification method. This will not be further exemplified.

本发明实施例还提供了一种存储介质,所述存储介质包括存储的指令,其中,在所述指令运行时控制所述存储介质所在的设备执行如上述的页面配置的修改方法。An embodiment of the present invention further provides a storage medium, where the storage medium includes stored instructions, wherein when the instructions are executed, a device where the storage medium is located is controlled to execute the above-mentioned method for modifying page configuration.

本发明实施例还提供了一种电子设备,其结构示意图如图5所示,具体包括存储器401,以及一个或者一个以上的指令402,其中一个或者一个以上指令402存储于存储器401中,且经配置以由一个或者一个以上处理器403执行所述一个或者一个以上指令402进行以下操作:An embodiment of the present invention also provides an electronic device, the schematic structural diagram of which is shown in FIG. 5 , and specifically includes amemory 401 and one ormore instructions 402 , wherein one ormore instructions 402 are stored in thememory 401 and processed through thememory 401 . The one ormore instructions 402 are configured to be executed by the one ormore processors 403 to:

当配置组件接收到用户通过目标页面发送的配置请求时,对所述配置请求进行解析,获得配置对象信息;所述目标页面为所述配置组件对应的前端页面;When the configuration component receives the configuration request sent by the user through the target page, it parses the configuration request to obtain configuration object information; the target page is the front-end page corresponding to the configuration component;

确定所述配置对象信息对应的多个目标页面配置项;determining multiple target page configuration items corresponding to the configuration object information;

在业务系统的数据库中确定每个所述目标页面配置项对应的第一配置值;所述数据库中包含所述业务系统的各个系统页面的页面配置信息;每个所述目标页面配置项对应的第一配置值为该目标页面配置项的当前配置值;The first configuration value corresponding to each of the target page configuration items is determined in the database of the business system; the database contains page configuration information of each system page of the business system; each target page configuration item corresponds to The first configuration value is the current configuration value of the target page configuration item;

在所述目标页面中渲染各个所述目标页面配置项对应的第一配置值,以提示所述用户对各个所述目标页面配置项的配置值进行修改;rendering the first configuration value corresponding to each configuration item of the target page in the target page, to prompt the user to modify the configuration value of each configuration item of the target page;

响应于所述用户修改配置值的操作,确定每个所述目标页面配置项对应的第二配置值;每个所述第二配置项为所述用户通过所述目标页面输入的配置值;In response to an operation of modifying the configuration value by the user, determining a second configuration value corresponding to each of the target page configuration items; each of the second configuration items is a configuration value input by the user through the target page;

依据每个所述目标页面配置项对应的第二配置值,对每个所述目标页面配置项的配置值进行更新,得到每个所述目标页面配置项的最新配置值;updating the configuration value of each target page configuration item according to the second configuration value corresponding to each target page configuration item to obtain the latest configuration value of each target page configuration item;

将每个所述目标页面配置项的最新配置值发送至所述数据库,使所述数据库保存各个所述目标页面配置项的最新配置值,以对所述业务系统的页面配置进行修改。Send the latest configuration value of each target page configuration item to the database, so that the database saves the latest configuration value of each target page configuration item, so as to modify the page configuration of the business system.

本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统或系统实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的系统及系统实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for related parts. The systems and system embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, It can be located in one place, or it can be distributed over multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment. Those of ordinary skill in the art can understand and implement it without creative effort.

专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Professionals may further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two, in order to clearly illustrate the possibilities of hardware and software. Interchangeability, the above description has generally described the components and steps of each example in terms of functionality. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

Translated fromChinese
1.一种页面配置的修改方法,其特征在于,包括:1. a modification method of page configuration, is characterized in that, comprises:当配置组件接收到用户通过目标页面发送的配置请求时,对所述配置请求进行解析,获得配置对象信息;所述目标页面为所述配置组件对应的前端页面;When the configuration component receives the configuration request sent by the user through the target page, it parses the configuration request to obtain configuration object information; the target page is the front-end page corresponding to the configuration component;确定所述配置对象信息对应的多个目标页面配置项;determining multiple target page configuration items corresponding to the configuration object information;在业务系统的数据库中确定每个所述目标页面配置项对应的第一配置值;所述数据库中包含所述业务系统的各个系统页面的页面配置信息;每个所述目标页面配置项对应的第一配置值为该目标页面配置项的当前配置值;The first configuration value corresponding to each of the target page configuration items is determined in the database of the business system; the database contains page configuration information of each system page of the business system; each target page configuration item corresponds to The first configuration value is the current configuration value of the target page configuration item;在所述目标页面中渲染各个所述目标页面配置项对应的第一配置值,以提示所述用户对各个所述目标页面配置项的配置值进行修改;rendering the first configuration value corresponding to each configuration item of the target page in the target page, to prompt the user to modify the configuration value of each configuration item of the target page;响应于所述用户修改配置值的操作,确定每个所述目标页面配置项对应的第二配置值;每个所述第二配置项为所述用户通过所述目标页面输入的配置值;In response to an operation of modifying the configuration value by the user, determining a second configuration value corresponding to each of the target page configuration items; each of the second configuration items is a configuration value input by the user through the target page;依据每个所述目标页面配置项对应的第二配置值,对每个所述目标页面配置项的配置值进行更新,得到每个所述目标页面配置项的最新配置值;updating the configuration value of each target page configuration item according to the second configuration value corresponding to each target page configuration item to obtain the latest configuration value of each target page configuration item;将每个所述目标页面配置项的最新配置值发送至所述数据库,使所述数据库保存各个所述目标页面配置项的最新配置值,以对所述业务系统的页面配置进行修改。Send the latest configuration value of each target page configuration item to the database, so that the database saves the latest configuration value of each target page configuration item, so as to modify the page configuration of the business system.2.根据权利要求1所述的方法,其特征在于,所述在业务系统的数据库中确定每个所述目标页面配置项对应的第一配置值,包括:2. The method according to claim 1, wherein the determining, in the database of the business system, the first configuration value corresponding to each of the target page configuration items, comprises:在所述数据库中,确定每个所述目标页面配置项对应的目标页面配置信息;In the database, determine the target page configuration information corresponding to each target page configuration item;对于每个所述目标页面配置项,在其对应的目标页面配置信息中,获取该目标页面配置项的当前配置值,并将该目标页面配置项的当前配置值作为该目标页面配置项对应的第一配置值。For each target page configuration item, obtain the current configuration value of the target page configuration item in the corresponding target page configuration information, and use the current configuration value of the target page configuration item as the corresponding target page configuration item The first configuration value.3.根据权利要求1所述的方法,其特征在于,所述在所述目标页面中渲染各个所述目标页面配置项对应的第一配置值,包括:3. The method according to claim 1, wherein rendering the first configuration value corresponding to each configuration item of the target page in the target page comprises:在所述配置组件对应的多个预设内部组件中,确定每个所述目标页面配置项对应的目标内部组件;Among the multiple preset internal components corresponding to the configuration component, determine the target internal component corresponding to each of the target page configuration items;对于每个所述目标页面配置项,将该目标页面配置项对应的第一配置值发送给该目标页面配置项对应的目标内部组件,使该目标内部组件在所述目标页面中渲染该目标页面配置项对应的第一配置值。For each target page configuration item, the first configuration value corresponding to the target page configuration item is sent to the target internal component corresponding to the target page configuration item, so that the target internal component renders the target page in the target page The first configuration value corresponding to the configuration item.4.根据权利要求3所述的方法,其特征在于,所述依据每个所述目标页面配置项对应的第二配置值,对每个所述目标页面配置项的配置值进行更新,包括:4. The method according to claim 3, wherein the updating the configuration value of each target page configuration item according to the second configuration value corresponding to each target page configuration item comprises:使每个所述目标页面配置项对应的目标内部组件,将其对应的目标页面配置项所对应的第二配置值作为该目标页面配置项的配置值,以对该目标页面配置项的配置值进行更新。Make the target internal component corresponding to each target page configuration item use the second configuration value corresponding to the corresponding target page configuration item as the configuration value of the target page configuration item, so as to use the configuration value of the target page configuration item to update.5.根据权利要求4所述的方法,其特征在于,所述将每个所述目标页面配置项的最新配置值发送至所述数据库,包括:5. The method according to claim 4, wherein the sending the latest configuration value of each target page configuration item to the database comprises:从每个所述目标页面配置项对应的目标内部组件中,提取每个所述目标页面配置项对应的最新配置值;Extract the latest configuration value corresponding to each target page configuration item from the target internal component corresponding to each target page configuration item;通过预设接口将各个所述目标页面配置项的最新配置值发送给所述数据库。The latest configuration value of each target page configuration item is sent to the database through a preset interface.6.根据权利要求1所述的方法,其特征在于,所述数据库保存各个所述目标页面配置项的最新配置值的过程,包括:6. The method according to claim 1, wherein the process of storing the latest configuration value of each of the target page configuration items in the database comprises:在所述数据库中,确定每个所述目标页面配置项对应的配置存储位置;In the database, determine a configuration storage location corresponding to each of the target page configuration items;对于每个所述目标页面配置项,将该目标页面配置项的最新配置值存储至该目标页面配置项对应的配置存储位置,以将该目标页面配置项的最新配置值保存至该目标页面配置项对应的系统页面的页面配置信息中。For each target page configuration item, the latest configuration value of the target page configuration item is stored in the configuration storage location corresponding to the target page configuration item, so as to save the latest configuration value of the target page configuration item to the target page configuration In the page configuration information of the system page corresponding to the item.7.一种页面配置的修改装置,其特征在于,包括:7. A device for modifying page configuration, comprising:解析单元,用于当配置组件接收到用户通过目标页面发送的配置请求时,对所述配置请求进行解析,获得配置对象信息;所述目标页面为所述配置组件对应的前端页面;a parsing unit, configured to parse the configuration request to obtain configuration object information when the configuration component receives a configuration request sent by the user through the target page; the target page is the front-end page corresponding to the configuration component;第一确定单元,用于确定所述配置对象信息对应的多个目标页面配置项;a first determining unit, configured to determine multiple target page configuration items corresponding to the configuration object information;第二确定单元,用于在业务系统的数据库中确定每个所述目标页面配置项对应的第一配置值;所述数据库中包含所述业务系统的各个系统页面的页面配置信息;每个所述目标页面配置项对应的第一配置值为该目标页面配置项的当前配置值;The second determining unit is configured to determine the first configuration value corresponding to each target page configuration item in the database of the business system; the database contains page configuration information of each system page of the business system; the first configuration value corresponding to the target page configuration item is the current configuration value of the target page configuration item;渲染单元,用于在所述目标页面中渲染各个所述目标页面配置项对应的第一配置值,以提示所述用户对各个所述目标页面配置项的配置值进行修改;a rendering unit, configured to render the first configuration value corresponding to each of the target page configuration items in the target page, so as to prompt the user to modify the configuration value of each of the target page configuration items;第三确定单元,用于响应于所述用户修改配置值的操作,确定每个所述目标页面配置项对应的第二配置值;每个所述第二配置项为所述用户通过所述目标页面输入的配置值;A third determining unit, configured to determine a second configuration value corresponding to each configuration item of the target page in response to an operation of modifying the configuration value by the user; The configuration value entered on the page;修改单元,用于依据每个所述目标页面配置项对应的第二配置值,对每个所述目标页面配置项的配置值进行更新,得到每个所述目标页面配置项的最新配置值;a modification unit, configured to update the configuration value of each target page configuration item according to the second configuration value corresponding to each target page configuration item, to obtain the latest configuration value of each target page configuration item;保存单元,用于将每个所述目标页面配置项的最新配置值发送至所述数据库,使所述数据库保存各个所述目标页面配置项的最新配置值,以对所述业务系统的页面配置进行修改。A saving unit, configured to send the latest configuration value of each target page configuration item to the database, so that the database saves the latest configuration value of each of the target page configuration items, so as to configure the page of the business system to modify.8.根据权利要求7所述的装置,其特征在于,所述第二确定单元,包括:8. The apparatus according to claim 7, wherein the second determining unit comprises:确定子单元,用于在所述数据库中,确定每个所述目标页面配置项对应的目标页面配置信息;A determination subunit, used for determining the target page configuration information corresponding to each of the target page configuration items in the database;获取子单元,用于对于每个所述目标页面配置项,在其对应的目标页面配置信息中,获取该目标页面配置项的当前配置值,并将该目标页面配置项的当前配置值作为该目标页面配置项对应的第一配置值。The obtaining subunit is used to obtain the current configuration value of the target page configuration item in the corresponding target page configuration information for each target page configuration item, and use the current configuration value of the target page configuration item as the target page configuration item. The first configuration value corresponding to the target page configuration item.9.一种存储介质,其特征在于,所述存储介质包括存储的指令,其中,在所述指令运行时控制所述存储介质所在的设备执行如权利要求1~6任意一项所述的页面配置的修改方法。9 . A storage medium, wherein the storage medium comprises stored instructions, wherein when the instructions are executed, a device where the storage medium is located is controlled to execute the page according to any one of claims 1 to 6 Configuration modification method.10.一种电子设备,其特征在于,包括存储器,以及一个或者一个以上的指令,其中一个或者一个以上指令存储于存储器中,且经配置以由一个或者一个以上处理器执行如权利要求1~6任意一项所述的页面配置的修改方法。10. An electronic device, comprising a memory, and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by one or more processors as claimed in claims 1- 6. The modification method of the page configuration described in any one of the items.
CN202210891054.6A2022-07-272022-07-27Page configuration modification method and device, storage medium and electronic equipmentPendingCN115202760A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202210891054.6ACN115202760A (en)2022-07-272022-07-27Page configuration modification method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210891054.6ACN115202760A (en)2022-07-272022-07-27Page configuration modification method and device, storage medium and electronic equipment

Publications (1)

Publication NumberPublication Date
CN115202760Atrue CN115202760A (en)2022-10-18

Family

ID=83584470

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210891054.6APendingCN115202760A (en)2022-07-272022-07-27Page configuration modification method and device, storage medium and electronic equipment

Country Status (1)

CountryLink
CN (1)CN115202760A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106484239A (en)*2016-10-182017-03-08江西博瑞彤芸科技有限公司The setting change method of system homepage display information
CN113065082A (en)*2021-02-262021-07-02北京达佳互联信息技术有限公司Data processing method and device, electronic equipment and storage medium
CN113779469A (en)*2021-01-222021-12-10北京沃东天骏信息技术有限公司 Website page modification method and device, electronic device and storage medium
CN114237593A (en)*2021-11-152022-03-25广东万丈金数信息技术股份有限公司 A front-end page generation method, computer device and storage medium
CN114296824A (en)*2021-12-292022-04-08北京三快在线科技有限公司Page information configuration method, device, equipment and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106484239A (en)*2016-10-182017-03-08江西博瑞彤芸科技有限公司The setting change method of system homepage display information
CN113779469A (en)*2021-01-222021-12-10北京沃东天骏信息技术有限公司 Website page modification method and device, electronic device and storage medium
CN113065082A (en)*2021-02-262021-07-02北京达佳互联信息技术有限公司Data processing method and device, electronic equipment and storage medium
CN114237593A (en)*2021-11-152022-03-25广东万丈金数信息技术股份有限公司 A front-end page generation method, computer device and storage medium
CN114296824A (en)*2021-12-292022-04-08北京三快在线科技有限公司Page information configuration method, device, equipment and computer readable storage medium

Similar Documents

PublicationPublication DateTitle
US20220247833A1 (en)Installable web applications
CN108388622B (en)API interface dynamic generation method and device, computer equipment and storage medium
CN111753064B (en) A human-computer interaction method and device thereof
WO2020052337A1 (en)Information processing method and apparatus, storage medium, and electronic device
CN104573093B (en) A method and device for managing file directories
CN109445841B (en)Interface document management method, device, server and storage medium
CN113761588A (en)Data verification method and device, terminal equipment and storage medium
CN109597825B (en)Rule engine calling method, device, equipment and computer readable storage medium
WO2019223136A1 (en)Data acquisition method and apparatus, and computer device and storage medium
CN105094811B (en)A kind of method and apparatus of event handling
WO2017172668A1 (en)System and method for migrating data in a system using extensions
WO2021128918A1 (en)Terminal device control method, terminal device, and storage medium
CN106648875A (en)Application switching method and device
CN107506494B (en)file processing method, mobile terminal and computer readable storage medium
CN109614271A (en) Control method, device, device and storage medium for data consistency of multiple clusters
CN109791444A (en) Method and device for invoking input method, server and terminal
CN108809763B (en)Network performance parameter acquisition method, terminal device and storage medium
CN114489651A (en)Page field display method and device
CN114222003A (en)Service calling method, system, device, equipment and storage medium
US12050581B2 (en)Method and apparatus for processing table of document, and device and medium
CN109062929A (en)A kind of query task communication means and system
CN115202760A (en)Page configuration modification method and device, storage medium and electronic equipment
CN113448995A (en)Database operation method, device and system, electronic equipment and storage medium
CN114281822B (en)Data processing method, device, electronic equipment and storage medium
WO2019164774A1 (en)In-line event handlers across domains

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp