CN114489857A - Page configuration method, device and computer system based on universal configuration platform - Google Patents
Page configuration method, device and computer system based on universal configuration platform Download PDFInfo
- Publication number
- CN114489857A CN114489857A CN202210119649.XA CN202210119649A CN114489857A CN 114489857 A CN114489857 A CN 114489857A CN 202210119649 A CN202210119649 A CN 202210119649A CN 114489857 A CN114489857 A CN 114489857A
- Authority
- CN
- China
- Prior art keywords
- page
- configuration
- information
- link
- present disclosure
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 61
- 230000004044 response Effects 0.000 claims abstract description 22
- 238000009877 rendering Methods 0.000 claims abstract description 8
- 230000015654 memory Effects 0.000 claims description 11
- 230000001960 triggered effect Effects 0.000 claims description 10
- 230000007246 mechanism Effects 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 19
- 238000004590 computer program Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 11
- 238000004891 communication Methods 0.000 description 10
- 238000011161 development Methods 0.000 description 8
- 238000007726 management method Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000001747 exhibiting effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000004806 packaging method and process Methods 0.000 description 2
- 239000000758 substrate Substances 0.000 description 2
- 108010001267 Protein Subunits Proteins 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
- G06F9/4451—User profiles; Roaming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present disclosure provides a page configuration method based on a general configuration platform, which includes: displaying a page link table matched with the user authority according to the user authority, wherein the page link table comprises at least one page link; in response to a selection operation for a target page link in the page link table, obtaining metadata associated with the target page link from a database; rendering according to metadata associated with the target page link to obtain a configuration page; and responding to the configuration operation aiming at the page elements in the configuration page, and configuring the page elements in the configuration page. The disclosure also provides a page configuration device, a computer system and a computer readable storage medium based on the general configuration platform.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a page configuration method and apparatus based on a general configuration platform, a computer system, and a computer-readable storage medium.
Background
With the rapid development of internet technology, internet services are increasing in order to meet increasing business demands. In the related art, the internet service is generally implemented by developing a page.
In the process of implementing the concept disclosed herein, the inventor finds that various internet services are pages developed by using configuration platforms which are built by business parties, and the pages generally require developers to perform a series of development work such as library building, table building, data planning, program development, interface development and the like, and have high requirements on the developers and complex development processes. Therefore, there is a need in the art for a flexible page allocation method.
Disclosure of Invention
In view of the above, the present disclosure provides a page configuration method, device, computer system and computer-readable storage medium based on a general configuration platform.
One aspect of the present disclosure provides a page configuration method based on a universal configuration platform, including:
displaying a page link table matched with the user authority according to the user authority, wherein the page link table comprises at least one page link;
in response to a selection operation for a target page link in the page link table, obtaining metadata associated with the target page link from a database;
rendering according to metadata associated with the target page link to obtain a configuration page;
and responding to the configuration operation aiming at the page elements in the configuration page, and configuring the page elements in the configuration page.
According to the embodiment of the disclosure, the target page link has a page identifier;
according to an embodiment of the present disclosure, the method further includes: after configuring the page elements in the configuration page in response to the configuration operation on the page elements in the configuration page, storing the configuration information generated according to the configuration operation in association with the metadata in the database based on the page identifier.
According to an embodiment of the present disclosure, the method further includes:
generating reminding information according to the configuration information;
and broadcasting the reminding information to an information receiving party associated with the user based on an information broadcasting mechanism so that the information receiving party reads the configuration information from the database according to the reminding information.
According to an embodiment of the present disclosure, the metadata is generated by:
responding to a self-defined page configuration operation triggered on a configuration interface and used for configuring page elements, and generating a configuration page;
and generating the metadata associated with the configuration page according to the page elements which are configured by responding to the user-defined page configuration operation.
According to an embodiment of the present disclosure, the generating a configuration page in response to the custom page configuration operation triggered in the configuration interface and used for configuring the page element includes:
acquiring a page element dragging instruction, and dragging the page element to be configured to a preset area of the configuration interface according to the page element dragging instruction;
acquiring attribute information aiming at the page elements to be configured;
and configuring the page elements to be configured by using the attribute information to generate the configuration page.
According to an embodiment of the present disclosure, the page element to be configured, which is located in a preset area of the configuration interface, has page element identification information;
the generating the metadata associated with the configuration page according to the page element configured based on the custom page configuration operation includes:
and generating the metadata according to the page element identification information and the attribute information.
According to an embodiment of the present disclosure, further comprising:
generating a page identifier corresponding to the configuration page in response to generating the configuration page;
and storing the page identification and the metadata into the database in a correlation manner.
Another aspect of the present disclosure provides a page configuring apparatus based on a universal configuration platform, including:
the display module is used for displaying a page link table matched with the user authority according to the user authority, wherein the page link table comprises at least one page link;
a first obtaining module, configured to, in response to a selection operation for a target page link in the page link table, obtain metadata associated with the target page link from a database;
the first generation module is used for rendering according to metadata associated with the target page link to obtain a configuration page; and
and the configuration module is used for responding to the configuration operation aiming at the page elements in the configuration page and configuring the page elements in the configuration page.
Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions for implementing the method of the embodiments of the present disclosure when executed.
Another aspect of the present disclosure provides a computer program comprising computer executable instructions for implementing the method of an embodiment of the present disclosure when executed.
Another aspect of the present disclosure provides a computer system, including: one or more processors; memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the methods of embodiments of the present disclosure.
According to the embodiment of the disclosure, the universal configuration platform can be used for showing the page link table matched with the authority of the user, after the user clicks the target page link in the page link table, the metadata associated with the target page link is obtained, then the configured page is rendered by using the configured metadata, and the user can configure the page elements in the rendered configured page. Because the interface is not required to be redeveloped when the page configuration is carried out, the configuration page can be generated directly through the page generation capability of the general configuration platform, and the universal configuration platform can be used for realizing the unified management control of the authority without independently establishing a configuration library, the technical problems that in the related technology, a model needs to be redefined when new page configuration is required, and the configuration page needs to be generated through a series of development work, so that the requirements on developers are high, and the development process is complicated are solved, and the technical effect of flexibly generating the configuration page is achieved.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments of the present disclosure with reference to the accompanying drawings, in which:
fig. 1 schematically illustrates an exemplary system architecture to which a page configuration method and apparatus based on a general configuration platform may be applied according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates a flowchart of a generic configuration platform based page configuration method according to an embodiment of the disclosure;
FIG. 3 schematically illustrates a flow diagram of a generic configuration platform based page configuration method according to another embodiment of the present disclosure;
FIG. 4 schematically shows a flow diagram for generating metadata according to an embodiment of the present disclosure;
FIG. 5 schematically illustrates a flow diagram for generating a configuration page in response to a custom page configuration operation for configuring a page element triggered at a configuration interface according to an embodiment of the present disclosure;
fig. 6 schematically illustrates a schematic diagram of acquiring a page element dragging instruction, and dragging a page element to be configured to a preset area of a configuration interface according to the page element dragging instruction according to the embodiment of the present disclosure;
FIG. 7 schematically illustrates a flow diagram of a generic configuration platform based page configuration method according to another embodiment of the disclosure;
FIG. 8 is a schematic diagram that illustrates the generation of metadata associated with a configuration page from page elements that are configured based on custom page configuration operations, according to an embodiment of the present disclosure;
FIG. 9 is a schematic diagram illustrating a general configuration platform based page configuration method according to an embodiment of the disclosure;
fig. 10 schematically shows a block diagram of a generic configuration platform based page configuration apparatus according to an embodiment of the present disclosure; and
FIG. 11 schematically illustrates a block diagram of a computer system suitable for implementing the above-described method, according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
The embodiment of the disclosure provides a page configuration method and device based on a universal configuration platform. The method comprises the steps of displaying a page link table matched with user authority according to the user authority, wherein the page link table comprises at least one page link; in response to a selection operation for a target page link in the page link table, obtaining metadata associated with the target page link from a database; rendering according to metadata associated with the target page link to obtain a configuration page; the page elements in the configuration page are configured in response to a configuration operation directed to the page elements in the configuration page.
Fig. 1 schematically illustrates an exemplary system architecture 100 to which a page configuration method and apparatus based on a general configuration platform may be applied according to an embodiment of the present disclosure. It should be noted that fig. 1 is only an example of a system architecture to which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, and does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, the system architecture 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired and/or wireless communication links, and so forth.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have installed thereon various communication client applications, such as a shopping-like application, a web browser application, a search-like application, an instant messaging tool, a mailbox client, and/or social platform software, etc. (by way of example only).
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (for example only) providing support for websites browsed by users using the terminal devices 101, 102, 103. The background management server may analyze and perform other processing on the received data such as the user request, and feed back a processing result (e.g., a webpage, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that the page configuration method based on the general configuration platform provided by the embodiment of the present disclosure may be executed by the terminal device 101, 102, or 103, or may also be executed by another terminal device different from the terminal device 101, 102, or 103. Accordingly, the page configuration apparatus based on the universal configuration platform provided by the embodiment of the present disclosure may be disposed in the terminal device 101, 102, or 103, or disposed in another terminal device different from the terminal device 101, 102, or 103.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Fig. 2 schematically shows a flowchart of a page configuration method based on a generic configuration platform according to an embodiment of the present disclosure.
As shown in fig. 2, the method includes operations S201 to S204.
In operation S201, a page link table matched with the user authority is displayed according to the user authority, where the page link table includes at least one page link.
According to an embodiment of the present disclosure, a page link table may be shown in a list form on an electronic device having a display screen for a user to select. Electronic devices include, but are not limited to, smart phones, tablet computers, notebook computers, desktop computers, and the like.
According to the embodiment of the disclosure, each page link in the page link table may respectively correspond to at least one configuration page created in advance based on the general configuration platform.
According to the embodiment of the disclosure, the user may be a user who has performed a registration operation on the general configuration platform in advance, and the registration operation may refer to that the user uploads own user information to the general configuration platform, so that an administrator of the general configuration platform verifies the identity of the user according to the user information.
According to the embodiment of the disclosure, after the administrator of the universal configuration platform acquires the identity information of the user, the administrator can assign roles to the user according to the identity information.
According to the embodiment of the disclosure, an administrator of the universal configuration platform can create a plurality of roles in advance, and a plurality of users belonging to the same role can have the same authority.
According to an embodiment of the present disclosure, for example, ten configuration pages are generated based on a common configuration platform creation in advance, each configuration page having a respective page link. The role of the user A in the general configuration platform is a primary user, when the administrator sets up the association relationship between five page links in the ten page links and the primary user, the user A under the role of the primary user can view the five page links in the ten page links, and the five page links form a page link table seen by the user A on the display screen.
In operation S202, in response to a selection operation for a target page link in the page link table, metadata associated with the target page link is acquired from the database.
According to an embodiment of the present disclosure, the selection operation may include a click operation, which may be triggered by an input device such as a mouse, a touch pad, or the like, or may be triggered by a user directly clicking on a target link.
According to an embodiment of the present disclosure, the metadata may be description data of a configuration page corresponding to the target link, and specifically, the metadata may characterize a page attribute of the target page, a page element attribute of a page element included in the target page, and the like, and the page element attribute of the page element may include, for example, a position, a size, a function, a communication manner, and the like of the page element in the target page.
In operation S203, a configuration page is rendered according to metadata associated with the destination page link.
According to the embodiment of the disclosure, after the metadata associated with the target page link is acquired, an initial page can be generated first, then the initial page is rendered by using the metadata, and the configuration page which is configured in advance by the general configuration platform is obtained by restoring.
In operation S204, page elements in the configuration page are configured in response to a configuration operation for the page elements in the configuration page.
According to the embodiment of the disclosure, the user can configure the page elements based on the personalized function requirements of the user on the page elements in the configuration page.
According to embodiments of the present disclosure, configuration operations may include new creation, editing, deletion, save, and the like.
In the embodiment of the disclosure, a general configuration platform can be used for displaying a page link table matched with the authority of a user, after the user clicks a target page link in the page link table, metadata associated with the target page link is obtained, then the configured page is rendered by using the configured metadata, and the user can configure page elements in the rendered configured page. Because the interface is not required to be redeveloped when the page configuration is carried out, the configuration page can be generated directly through the page generation capability of the general configuration platform, and the universal configuration platform can be used for realizing the unified management control of the authority without independently establishing a configuration library, the technical problems that in the related technology, a model needs to be redefined when new page configuration is required, and the configuration page needs to be generated through a series of development work, so that the requirements on developers are high, and the development process is complicated are solved, and the technical effect of flexibly generating the configuration page is achieved.
The method shown in fig. 2 is further described with reference to fig. 3-8 in conjunction with specific embodiments.
According to an embodiment of the present disclosure, the target page link has a page identification.
According to another embodiment of the present disclosure, after operation S204, the method for configuring a page based on a generic configuration platform further includes the following operations:
and storing the configuration information generated according to the configuration operation in a database in association with the metadata based on the page identification.
According to the embodiment of the disclosure, since the page link and the metadata are generated according to the configuration page created by the general configuration platform, when the metadata is stored in the database, the metadata and the page identifier of the page link can be bound and stored.
According to the embodiment of the disclosure, after the user performs the configuration operation on the configuration page generated according to the target page link, the configuration information corresponding to the configuration operation may be generated, and then the configuration information may be stored into another data table associated with the data table storing the metadata in the database according to the page identifier of the target page link.
According to an embodiment of the present disclosure, the database may comprise a distributed file storage database, which may be, for example, a MongoDB.
According to the embodiment of the disclosure, the inventor finds that, in the related art, after the user performs configuration operation on the configuration page to generate the configuration information, there is no uniform storage mode, which is inconvenient for the expansion and management of the metadata and the configuration information. In the embodiment of the disclosure, a unified data storage scheme is realized by performing associated storage on the configuration information and the metadata, so that information management is facilitated.
Fig. 3 schematically shows a flowchart of a general configuration platform based page configuration method according to another embodiment of the present disclosure.
As shown in fig. 3, the method includes operations S301 to S302.
In operation S301, a reminder is generated according to the configuration information.
In operation S302, the reminder information is broadcasted to an information receiver associated with the user based on the information broadcasting mechanism, so that the information receiver reads the configuration information from the database according to the reminder information.
According to the embodiment of the disclosure, the reminding information can represent the change of the configuration page before and after the configuration operation of the user. For example, in the case that the configuration page is a commodity sales page, before the user performs configuration operation, the commodity sales page maintains a commodity a, the user can put a product B on the sales page through the configuration operation, and then, the user can generate reminding information according to information of the product B, that is, configuration information, where the reminding information may include a storage location of data related to the product B in the database.
According to embodiments of the present disclosure, the information broadcast mechanism may be built based on an event bus, such as Eventbus.
According to the embodiment of the disclosure, through broadcasting the reminding information based on the information broadcasting mechanism, the information receiver associated with the user can timely and accurately know the change of the user to the configuration page, so that the information receiver can timely synchronize the information according to the change of the user to the configuration page.
FIG. 4 schematically shows a flow diagram for generating metadata according to an embodiment of the disclosure.
As shown in fig. 4, the method includes operations S401 to S402.
In operation S401, a configuration page is generated in response to a custom page configuration operation for configuring a page element, which is triggered in a configuration interface.
According to the embodiment of the disclosure, the configuration page can be subjected to the custom configuration operation according to the actual functional requirements of the configuration page, and the custom configuration operation can configure the functions, positions, sizes and the like of the page elements shown in the configuration page.
According to embodiments of the present disclosure, a page element may include a view, a text box, a button, etc., and may also include components for developing a window, a text box, a button, etc.
In operation S402, metadata associated with the configuration page is generated according to the page elements that are configured in response to the custom page configuration operation.
According to an embodiment of the present disclosure, metadata may be generated according to information of functions, positions, sizes, and the like of page elements.
Through the embodiment of the disclosure, the communication of the service line, the user authority and the metadata can be realized, and the corresponding crowd can be managed through the configuration interface.
FIG. 5 schematically illustrates a flowchart for generating a configuration page in response to a custom page configuration operation for configuring a page element triggered at a configuration interface according to an embodiment of the present disclosure.
As shown in fig. 5, the method includes operations S501 to S503.
In operation S501, a page element dragging instruction is obtained, and a page element to be configured is dragged to a preset area of a configuration interface according to the page element dragging instruction.
In operation S502, attribute information for a page element to be configured is acquired.
In operation S503, the page element to be configured is configured by using the attribute information, and a configuration page is generated.
According to an embodiment of the present disclosure, the initial configuration page may include a first preset area, and one or more page elements to be selected are displayed in the first preset area.
According to embodiments of the present disclosure, the page element drag instruction may include a selection instruction and a drag instruction. The selection instruction is used for selecting at least one page element to be selected in the first preset area, and the dragging instruction is used for dragging the page element selected based on the selection instruction to a second preset area on the initial configuration page.
Fig. 6 schematically illustrates a schematic diagram of acquiring a page element dragging instruction and dragging a page element to be configured to a preset area of a configuration interface according to the page element dragging instruction according to the embodiment of the present disclosure.
601 may represent a first preset region and 602 may represent a second preset region. The first preset area 601 may include a first page element 6011 and a second page element 6012 therein.
Based on the page element selection instruction, a first page element 6011 may be selected from the first preset area 601, and then based on the drag instruction, the first page element 6011 is dragged along the drag trajectory 603 into the second preset area 602.
According to the embodiment of the disclosure, after the page element is dragged to the second preset area, the attribute information configured for the page element in the second preset area may be acquired, and the attribute information may include information such as an attribute name, an implementation value, and a character string of the page element.
According to the embodiment of the disclosure, after the attribute information is acquired, the page elements can be configured by using the attribute information to generate the configuration page.
Fig. 7 schematically shows a flowchart of a general configuration platform-based page configuration method according to another embodiment of the present disclosure.
As shown in fig. 7, the method includes operations S501 to S503 and operations S701 to S702, where the operations S501 to S503 are the same as or similar to the method shown in fig. 5, and are not repeated here.
In operation S701, in response to generating the configuration page, a page identification corresponding to the configuration page is generated.
According to an embodiment of the present disclosure, the page identifier may be an array of a preset length generated based on a random number generator, and the array has a unique corresponding relationship with the configuration page.
In operation S702, the page identification is stored in association with the metadata in the database.
According to the embodiment of the disclosure, the page element to be configured, which is located in the preset area of the configuration interface, has page element identification information.
According to an embodiment of the present disclosure, generating metadata associated with a configuration page from page elements configured based on a custom page configuration operation includes:
and generating metadata according to the page element identification information and the attribute information.
FIG. 8 is a schematic diagram that illustrates generating metadata associated with a configuration page from page elements that are configured based on custom page configuration operations, according to an embodiment of the present disclosure.
801 may represent a page element presentation area, and page element 8011 in page element presentation area 801 may be generated by a page element drag instruction.
Page element identification information of page element 8011 may be determined according to the position of page element 8011 in page element presentation area 802 and the size of page element 8011.
802 to 804 may represent attribute information for page element 8011, and attribute information 802, attribute information 803, and attribute information 804 may configure basic information, text content, communication method, and the like for page element 8011, respectively.
Fig. 9 schematically shows a schematic diagram of a page configuration method based on a general configuration platform according to an embodiment of the present disclosure.
As shown in fig. 9, the administrator 901 may create a configuration page by dragging a page element in the configuration interface, and after the creation of the configuration page is completed, may generate a page identifier and metadata of the configuration page, and store the page identifier and metadata in association with each other in the montogdb database 902. And generating a page link corresponding to the configuration page, and distributing the authority of the user to the page link based on a pre-created role.
When user 903 logs onto the universal configuration platform, the universal configuration platform may present one or more page links to user 903 that match their permissions. After the user 903 clicks the page link, metadata corresponding to the page identifier is obtained from the mongoDB database 902 according to the page identifier of the page link, and a configuration page is generated by rendering through a metadata rendering engine according to the metadata and displayed to the user 903.
When the user 903 needs to edit the configuration page, custom operations such as adding, deleting, modifying, editing and the like can be performed on the page elements in the configuration page.
The configuration information may be generated according to a custom operation of the user 903. According to an embodiment of the present disclosure, the generated configuration information may be stored in association with metadata in the MongoDB database 902. And reminding information can be generated according to the configuration information, and the reminding information is broadcasted to an information receiving party 904 associated with the user 903 based on an EventBus information broadcasting mechanism, so that the information receiving party 904 can read the MongoDB database 902 according to the reminding information, acquire the configuration information and complete data synchronization. According to an embodiment of the present disclosure, the information recipient 904 may be, for example, an actual business oriented application.
Through the page configuration method based on the universal configuration platform provided by the embodiment of the disclosure, a user can easily complete the design of a front-end interface, and all subsequent creation, editing and listing are not required to be realized by the user, so that the efficiency can be effectively improved.
Fig. 10 schematically shows a block diagram of a general configuration platform based page configuration apparatus according to an embodiment of the present disclosure.
As shown in fig. 10, the page configuring apparatus 1000 based on the common configuration platform may include a presentation module 1001, a first acquisition module 1002, a first generation module 1003, and a configuration module 1004.
The presentation module 1001 is configured to present a page link table matched with the user permission according to the user permission, where the page link table includes at least one page link.
A first obtaining module 1002, configured to obtain metadata associated with a target page link from a database in response to a selection operation for the target page link in a page link table.
A first generating module 1003, configured to render the configuration page according to the metadata associated with the target page link.
A configuration module 1004 for configuring the page elements in the configuration page in response to a configuration operation directed to the page elements in the configuration page.
According to an embodiment of the present disclosure, the target page link has a page identification.
According to an embodiment of the present disclosure, the page configuration apparatus 1000 based on the general configuration platform further includes a first storage module.
And the first storage module is used for storing the configuration information generated according to the configuration operation and the metadata in a database in an associated manner based on the page identification.
According to an embodiment of the present disclosure, the page configuring apparatus 1000 based on the general configuration platform further includes a second generating module and a broadcasting module.
And the second generating module is used for generating reminding information according to the configuration information.
And the broadcasting module is used for broadcasting the reminding information to an information receiving party associated with the user based on an information broadcasting mechanism so that the information receiving party can read the configuration information from the database according to the reminding information.
According to an embodiment of the present disclosure, the page configuring apparatus 1000 based on the generic configuration platform further includes a third generating module and a fourth generating module.
The third generation module is used for responding to the self-defined page configuration operation which is triggered on the configuration interface and is used for configuring the page elements, and generating a configuration page;
and the fourth generation module is used for generating metadata associated with the configuration page according to the page elements which are configured by responding to the custom page configuration operation.
According to an embodiment of the present disclosure, the third generation module includes a first acquisition unit, a second acquisition unit, and a first generation unit.
The first acquisition unit is used for acquiring a page element dragging instruction and dragging the page element to be configured to a preset area of the configuration interface according to the page element dragging instruction;
the second acquisition unit is used for acquiring attribute information of the page elements to be configured;
and the first generating unit is used for configuring the page element to be configured by utilizing the attribute information to generate a configuration page.
According to the embodiment of the disclosure, the page element to be configured, which is located in the preset area of the configuration interface, has page element identification information.
According to an embodiment of the present disclosure, the fourth generating module includes a second generating unit.
And the second generation unit is used for generating metadata according to the page element identification information and the attribute information.
According to an embodiment of the present disclosure, the page configuring apparatus 1000 based on a general configuration platform further includes a fifth generating module and a second storing module.
The fifth generation module is used for responding to the generation of the configuration page and generating a page identifier corresponding to the configuration page;
and the second storage module is used for storing the page identification and the metadata into the database in an associated manner.
It should be noted that, the embodiments of the apparatus portion of the present disclosure correspond to the same or similar embodiments of the method portion of the present disclosure, and the detailed description of the present disclosure is omitted here.
Any of the modules, units, or at least part of the functionality of any of them according to embodiments of the present disclosure may be implemented in one module. Any one or more of the modules and units according to the embodiments of the present disclosure may be implemented by being split into a plurality of modules. Any one or more of the modules, units according to the embodiments of the present disclosure may be implemented at least partially as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented by any other reasonable means of hardware or firmware by integrating or packaging the circuits, or in any one of three implementations of software, hardware and firmware, or in any suitable combination of any of them. Alternatively, one or more of the modules, units according to embodiments of the present disclosure may be implemented at least partly as computer program modules, which, when executed, may perform the respective functions.
For example, any plurality of the presentation module 1001, the first obtaining module 1002, the first generating module 1003, and the configuring module 1004 may be combined to be implemented in one module/unit/sub-unit, or any one of the modules/units/sub-units may be split into a plurality of modules/units/sub-units. Alternatively, at least part of the functionality of one or more of these modules/units/sub-units may be combined with at least part of the functionality of other modules/units/sub-units and implemented in one module/unit/sub-unit. According to an embodiment of the present disclosure, at least one of the exhibiting module 1001, the first obtaining module 1002, the first generating module 1003, and the configuring module 1004 may be at least partially implemented as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented by hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or implemented by any one of three implementations of software, hardware, and firmware, or implemented by a suitable combination of any several of them. Alternatively, at least one of the exhibiting module 1001, the first obtaining module 1002, the first generating module 1003 and the configuring module 1004 may be at least partly implemented as a computer program module, which when executed may perform a corresponding function.
FIG. 11 schematically illustrates a block diagram of a computer system suitable for implementing the above-described method, according to an embodiment of the present disclosure. The electronic device shown in fig. 11 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 11, a computer system 1100 according to an embodiment of the present disclosure includes a processor 1101, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)1102 or a program loaded from a storage section 1108 into a Random Access Memory (RAM) 1103. The processor 1101 may comprise, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 1101 may also include on-board memory for caching purposes. The processor 1101 may include a single processing unit or multiple processing units for performing different actions of the method flows according to embodiments of the present disclosure.
In the RAM 1103, various programs and data necessary for the operation of the computer system 1100 are stored. The processor 1101, the ROM 1102, and the RAM 1103 are connected to each other by a bus 1104. The processor 1101 performs various operations of the method flow according to the embodiments of the present disclosure by executing programs in the ROM 1102 and/or the RAM 1103. It is noted that the programs may also be stored in one or more memories other than the ROM 1102 and RAM 1103. The processor 1101 may also perform various operations of the method flows according to the embodiments of the present disclosure by executing programs stored in the one or more memories.
According to embodiments of the present disclosure, method flows according to embodiments of the present disclosure may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication portion 1109 and/or installed from the removable medium 1111. The computer program, when executed by the processor 1101, performs the above-described functions defined in the system of the embodiment of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist alone without being assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. Examples may include, but are not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
For example, according to embodiments of the present disclosure, a computer-readable storage medium may include the ROM 1102 and/or the RAM 1103 and/or one or more memories other than the ROM 1102 and the RAM 1103 described above.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.
Claims (10)
1. A page configuration method based on a universal configuration platform comprises the following steps:
displaying a page link table matched with the user authority according to the user authority, wherein the page link table comprises at least one page link;
in response to a selection operation for a target page link in the page link table, obtaining metadata associated with the target page link from a database;
rendering according to metadata associated with the target page link to obtain a configuration page;
and responding to the configuration operation aiming at the page elements in the configuration page, and configuring the page elements in the configuration page.
2. The method of claim 1, wherein the target page link has a page identification;
the method further comprises the following steps:
after configuring the page elements in the configuration page in response to a configuration operation for the page elements in the configuration page, storing configuration information generated according to the configuration operation in association with the metadata in the database based on the page identification.
3. The method of claim 2, further comprising:
generating reminding information according to the configuration information;
and broadcasting the reminding information to an information receiving party associated with the user based on an information broadcasting mechanism so that the information receiving party can read the configuration information from the database according to the reminding information.
4. The method of claim 1, wherein the metadata is generated by:
responding to a self-defined page configuration operation triggered on a configuration interface and used for configuring page elements, and generating a configuration page;
and generating the metadata associated with the configuration page according to the page elements which are configured in response to the user-defined page configuration operation.
5. The method of claim 4, wherein generating a configuration page in response to a custom page configuration operation triggered at a configuration interface for configuring a page element comprises:
acquiring a page element dragging instruction, and dragging the page element to be configured to a preset area of the configuration interface according to the page element dragging instruction;
acquiring attribute information aiming at the page elements to be configured;
and configuring the page elements to be configured by using the attribute information to generate the configuration page.
6. The method according to claim 5, wherein the page element to be configured, which is located in a preset area of the configuration interface, has page element identification information;
the generating the metadata associated with the configuration page from the page elements configured based on the custom page configuration operation comprises:
and generating the metadata according to the page element identification information and the attribute information.
7. The method of claim 4, further comprising:
generating a page identifier corresponding to the configuration page in response to generating the configuration page;
and storing the page identification and the metadata in the database in an associated mode.
8. A page configuration device based on a general configuration platform comprises:
the display module is used for displaying a page link table matched with the user authority according to the user authority, wherein the page link table comprises at least one page link;
the first acquisition module is used for responding to the selection operation of a target page link in the page link table and acquiring metadata associated with the target page link from a database;
the first generation module is used for rendering according to metadata associated with the target page link to obtain a configuration page; and
and the configuration module is used for responding to the configuration operation aiming at the page elements in the configuration page and configuring the page elements in the configuration page.
9. A computer system, comprising:
one or more processors;
a memory for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-7.
10. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to carry out the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210119649.XA CN114489857B (en) | 2022-02-08 | 2022-02-08 | Page configuration method and device based on general configuration platform and computer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210119649.XA CN114489857B (en) | 2022-02-08 | 2022-02-08 | Page configuration method and device based on general configuration platform and computer system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114489857A true CN114489857A (en) | 2022-05-13 |
CN114489857B CN114489857B (en) | 2024-06-25 |
Family
ID=81479094
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210119649.XA Active CN114489857B (en) | 2022-02-08 | 2022-02-08 | Page configuration method and device based on general configuration platform and computer system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114489857B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020104069A1 (en) * | 2000-07-07 | 2002-08-01 | Gouge Christopher S. | System and method for configuring software components |
US20150121268A1 (en) * | 2013-10-30 | 2015-04-30 | Salesforce.Com, Inc. | System and method for metadata management via a user interface page |
US20170123642A1 (en) * | 2015-10-28 | 2017-05-04 | International Business Machines Corporation | Generating component pages to render in a configuration page in a graphical user interface to configure a computing resource |
US20170131853A1 (en) * | 2015-11-10 | 2017-05-11 | International Business Machines Corporation | Generating a configuration page for rendering in a graphical user interface (gui) for managing provisioning of storage resources in a storage system |
US20180157391A1 (en) * | 2016-12-02 | 2018-06-07 | Alibaba Group Holding Limited | Page Information Personalization Method, Apparatus and System |
EP3525090A1 (en) * | 2018-02-13 | 2019-08-14 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method and apparatus for launching application page, and electronic device |
WO2020253066A1 (en) * | 2019-06-18 | 2020-12-24 | 平安科技(深圳)有限公司 | Page management method and apparatus, and computer device and storage medium |
CN112561640A (en) * | 2020-12-15 | 2021-03-26 | 中国建设银行股份有限公司 | Commodity page template generation method and device, computer equipment and storage medium |
WO2021136362A1 (en) * | 2020-01-02 | 2021-07-08 | 阿里巴巴集团控股有限公司 | Page access processing method and apparatus, page configuration processing method and apparatus, and electronic device |
CN113553123A (en) * | 2021-07-21 | 2021-10-26 | 中国工商银行股份有限公司 | Data processing method and device, electronic equipment and storage medium |
CN113760385A (en) * | 2021-01-18 | 2021-12-07 | 北京京东拓先科技有限公司 | Page configuration method and device, electronic equipment and computer readable storage medium |
-
2022
- 2022-02-08 CN CN202210119649.XA patent/CN114489857B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020104069A1 (en) * | 2000-07-07 | 2002-08-01 | Gouge Christopher S. | System and method for configuring software components |
US20150121268A1 (en) * | 2013-10-30 | 2015-04-30 | Salesforce.Com, Inc. | System and method for metadata management via a user interface page |
US20170123642A1 (en) * | 2015-10-28 | 2017-05-04 | International Business Machines Corporation | Generating component pages to render in a configuration page in a graphical user interface to configure a computing resource |
US20170131853A1 (en) * | 2015-11-10 | 2017-05-11 | International Business Machines Corporation | Generating a configuration page for rendering in a graphical user interface (gui) for managing provisioning of storage resources in a storage system |
US20180157391A1 (en) * | 2016-12-02 | 2018-06-07 | Alibaba Group Holding Limited | Page Information Personalization Method, Apparatus and System |
EP3525090A1 (en) * | 2018-02-13 | 2019-08-14 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method and apparatus for launching application page, and electronic device |
WO2020253066A1 (en) * | 2019-06-18 | 2020-12-24 | 平安科技(深圳)有限公司 | Page management method and apparatus, and computer device and storage medium |
WO2021136362A1 (en) * | 2020-01-02 | 2021-07-08 | 阿里巴巴集团控股有限公司 | Page access processing method and apparatus, page configuration processing method and apparatus, and electronic device |
CN112561640A (en) * | 2020-12-15 | 2021-03-26 | 中国建设银行股份有限公司 | Commodity page template generation method and device, computer equipment and storage medium |
CN113760385A (en) * | 2021-01-18 | 2021-12-07 | 北京京东拓先科技有限公司 | Page configuration method and device, electronic equipment and computer readable storage medium |
CN113553123A (en) * | 2021-07-21 | 2021-10-26 | 中国工商银行股份有限公司 | Data processing method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114489857B (en) | 2024-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11550534B2 (en) | Computerized system and method for generating and dynamically updating a dashboard of multiple processes and operations across platforms | |
US10194288B2 (en) | Sticker distribution system for messaging apps | |
US10769350B2 (en) | Document link previewing and permissioning while composing an email | |
CN104769581B (en) | System and method for providing linked note-taking | |
US10599759B2 (en) | Content sharing web page overlay system | |
KR20130113340A (en) | Techniques for advertiser geotargeting using map coordinates | |
Dambruch et al. | Leveraging public participation in urban planning with 3D web technology | |
JP2019021316A (en) | Method and system for processing highlighted comment in content | |
US20140089379A1 (en) | Systems and methods for collaborative mobile device applications | |
US20170090705A1 (en) | Conversation and version control for objects in communications | |
CN114115844A (en) | Page generation method and device, computer equipment and storage medium | |
CN111045653A (en) | System generation method and device, computer readable medium and electronic equipment | |
KR20200010903A (en) | Method and computer program for providing integrated lecture-related information | |
US11586695B2 (en) | Iterating between a graphical user interface and plain-text code for data visualization | |
CN115344688A (en) | Business data display method and device, electronic equipment and computer readable medium | |
CN107741934A (en) | page processing method and page processing system | |
JP7459272B2 (en) | Page operation processing method, device, equipment, and storage medium | |
US20160321229A1 (en) | Technique for clipping and aggregating content items | |
US12118188B2 (en) | Automation tool for generating web pages and links | |
CN114489857B (en) | Page configuration method and device based on general configuration platform and computer system | |
WO2018217406A1 (en) | Providing instant preview of cloud based file | |
CN113656041A (en) | Data processing method, device, equipment and storage medium | |
US20160259850A1 (en) | Datastructure generation and application | |
US10602332B2 (en) | Programming organizational links that propagate to mobile applications | |
CN110888583A (en) | Page display method, system and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |