A method and system for developing a custom homepage based on visual configuration
By introducing a method based on visual configuration into the software system, users can customize the homepage without coding, including adjusting the position and layout of modules and components. This solves the problem of the inability to customize the homepage in the existing technology and improves the degree of customization and convenience of operation. sex.
Patent Information
- Application Number
- CN202110980199.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-25
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2041-08-25
AI Technical Summary
The homepage of the existing software system cannot be customized, and users cannot adjust the operation interface according to their own needs. Customized configurations are limited to module position and size, and the layout of internal components of the module cannot be adjusted, which limits users' customization capabilities.
Using a method based on visual configuration, through the collaborative work of the control end and the display end, users can customize the homepage without coding, including adjusting the position and layout of modules and components, and providing a visual page to facilitate user operations.
The degree of customization of the homepage has been improved. Users can adjust the layout of modules and components according to their own preferences, which enhances operational convenience, adapts to the needs of different users, and lowers the technical threshold.
Smart Images

Figure CN113849172B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of computer application, and relates to a method and system for developing a custom homepage based on visual configuration. Background Art
[0002] With the rapid development of the Internet, there are more and more software applications in various operation terminals. However, the existing software is designed and developed in a modular way. The layout settings of the homepage of the existing software system do not consider whether users need to customize the homepage layout. For example, in many software applications on mobile phones, the search bar is usually fixed at a certain position on the top, the bottom is the indicator bar, and the middle is the corresponding operation module. The modules in various positions cannot be moved by users when in use, and users cannot configure the operation interface suitable for themselves. Most software now does not consider whether users need to configure the operation homepage by themselves, which is not convenient for users.
[0003] Some existing self-configurable systems are not aimed at users, but at front-end professionals. When adjusting the interface, relevant technical knowledge is needed, and some logics need to be configured in code. They are not easy to customize for non-professional users. Moreover, during custom configuration, only the corresponding position, size and other parameters of each module are adjusted, and the modules are moved and configured as a whole. The components inside each module are determined during back-end development, and the corresponding layout inside the module cannot be adjusted. Neither users nor front-end adjustment professionals can make adjustments. Front-end professionals can only adjust the relevant parameters of each large module. The degree of customization is low, and it is not convenient for users to customize the adjustment operations. Summary of the invention
[0004] The present invention provides a method and system for developing a customized homepage based on visual configuration; the present invention is aimed at non-professional users and can be configured without any technical foundation at the code level, and is not only configured for modules, but users can also customize the configuration of components within the modules.
[0005] The specific technical solution is as follows:
[0006] The present invention discloses a method for developing a custom homepage based on visual configuration, comprising the following steps:
[0007] A: The editing system of the control end configures a plurality of components with function information, and encapsulates a plurality of the components into different modules with module information;
[0008] B: The display terminal generates a corresponding visualization page based on the module information and component information configured by the editing system;
[0009] C: The module generates a corresponding module frame in the visualization page, and the component generates a component unit in the module frame;
[0010] D: The operating system of the control end receives the trigger instruction and modifies the layout of the module frame on the visualization page generated by the display end;
[0011] E: trigger the operating system of the control end to receive the layout instruction and modify the position layout of the component units on the visualization page within the module frame;
[0012] F: Save the page layout modified by the operating system, and the display end generates a visualization page of the new layout based on the module and component information of the modified control end;
[0013] The order of step D and step E can be swapped, and the layout of the module on the page can be modified first, or the layout of the components within the module can be modified first.
[0014] The present invention also discloses a system for developing a custom homepage based on visual configuration, comprising a memory, a processor and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the above method.
[0015] The method and system for developing a custom homepage based on visual configuration provided by the present invention improves the problem that the software homepage in the existing technology on the market cannot be customized and edited. The specific technical effects are as follows:
[0016] 1. The technical solution provided by the present invention is to divide the controller into two parts: the editing system and the operating system. The editing system is used as the editing end for developers to configure. Developers configure and write modules and components of the homepage unit. It can be expanded and developed according to user needs, which is convenient for upgrading and maintaining the software.
[0017] The operating system is a tool for users to operate the homepage. The controller is divided into two parts according to the users, so that users do not need any relevant technical knowledge when operating. The operating system has no technical requirements at the code level, and users can customize the homepage according to their preferences.
[0018] 2. In the existing customized homepage solutions, customized settings are performed for the modules in the page. During customized configuration, only the corresponding position of each module on the page is adjusted, and the module is moved and configured as a whole. The components inside each module are determined during the back-end development. The corresponding layout and functional components inside the module cannot be adjusted by the user. The present invention takes this problem as an inventive concept and improves the customized homepage, so that the modular page can also customize the internal components of the module, and the position of the components is adjusted inside the module, which is more suitable for the use of different users, improves the customization level of the homepage, and is more convenient for users to customize and adjust. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 This is a flow chart of the method for customizing a home page of the present invention;
[0020] Figure 2 This is a specific flowchart of the method for customizing the home page of the present invention;
[0021] Figure 3 It is a structural schematic diagram of the customized homepage system of the present invention. DETAILED DESCRIPTION
[0022] The following is a further detailed description of a method and system for developing a custom homepage based on visual configuration of the present invention in conjunction with the accompanying drawings and the following embodiments.
[0023] Example
[0024] In some embodiments of the present invention, referring to Figure 1 As shown, a method for developing a custom homepage based on visual configuration is disclosed, including the following steps:
[0025] A: The editing system of the control end configures a plurality of components with function information, and encapsulates a plurality of the components into different modules with module information;
[0026] B: The display terminal generates a corresponding visualization page based on the module information and component information configured by the editing system;
[0027] C: The module generates a corresponding module frame in the visualization page, and the component generates a component unit in the module frame;
[0028] D: The operating system of the control end receives the trigger instruction and modifies the layout of the module frame on the visualization page generated by the display end;
[0029] E: trigger the operating system of the control end to receive the layout instruction and modify the position layout of the component units on the visualization page within the module frame;
[0030] F: Save the modified page layout of the operating system, and the display end generates a visualization page of a new layout based on the modified module and component information of the control end; wherein the order of step D and step E can be swapped.
[0031] Further integration Figure 2 As shown, some embodiments further include the following steps:
[0032] A1: Edit component information one by one through the component configuration module in the editing system, configure the data source of the component through the data source configuration module, and transmit it to the server for storage;
[0033] A2: The editing system further associates the data source with the properties in the component and encapsulates the configured components into modules.
[0034] A3: Select and combine the components required for each module, configure them into the required modules one by one, and transmit them to the server for storage through the data source configuration module;
[0035] A4: The editing system is associated with the display terminal.
[0036] Furthermore, the specific steps of step B include:
[0037] B1: The editing system generates a specific main identifier for each module one by one, and associates it with the display terminal through the main identifier;
[0038] B2: The display terminal obtains data information of the editing system of the control terminal through the main identifier, and the data information includes module functions, display size of the module frame on the display terminal, module color layout indicators, and component data information corresponding to the module;
[0039] B3: Component data information includes component sub-identification, component function, component location information within the module, and component display information;
[0040] B4: The display end parses the relevant information of the modules and components through the parser and generates a visualization page on the display end.
[0041] Furthermore, the specific steps of step C include:
[0042] C1: The editing system of the control end generates a specific main identifier for the configured module, and a main frame for matching the module is formed in the visualization page, and the module is inserted into the main frame through the main identifier;
[0043] C2: A plurality of module frames for inserting the modules are provided in the main frame, and main frame identifiers are formed corresponding to the module frames, and the modules are matched with corresponding main frame identifiers through the main identifiers;
[0044] C3: Transmitted to the server for storage through the data source configuration module.
[0045] Furthermore, step C also includes:
[0046] C4: The editing system of the control end generates a specific sub-identification for the component in each module, and a sub-frame for matching the sub-identification of the component is formed in the main frame of the visualization page;
[0047] C4.1: The sub-identity is associated with the main identification of its corresponding module;
[0048] C5: a plurality of component frames for displaying the components are provided in the subframe, a subframe identifier is formed in the component frame, and the components are matched with corresponding subframe identifiers through the subidentifiers;
[0049] C6: Transmit to the server for storage through the data source configuration module.
[0050] Furthermore, step D further includes:
[0051] D1: Trigger the operating system of the control end to select and search for modules and select the required module;
[0052] D2: After selecting the module, the module is parsed by the parser in the control end;
[0053] D3: The operating system identifies the main frame and main identifier, and modifies the data information of the module on the control end;
[0054] D3.1: Modify the position of the module frame in the main frame of the display terminal, the display size of the module frame of the module on the display terminal, and the module color layout index of the module frame through the operating system;
[0055] D4: Repeat the above steps to modify and configure the data information of multiple modules;
[0056] D5: Save the modified parameters, parse the module through the parser and further save it to the server.
[0057] Furthermore, step D further includes:
[0058] D1.1: There is a search panel in the operating system, through which you can directly search for the required module and select it;
[0059] The D1.2 operating system also has a list section, which is associated with the main identifier. The main identifier of each module generates a specific mark in the list section, and the required module is selected through the mark.
[0060] Furthermore, step D further includes:
[0061] D2.1: There is a preview panel in the operating system. After selecting the required module, the preview panel is triggered and the selected module is enlarged and previewed on the display end;
[0062] D3.2: After modifying the required module, the preview panel is triggered, and the selected modified module is enlarged and previewed on the display end.
[0063] Furthermore, step E also includes:
[0064] E1: After triggering the operating system, select the required module, trigger the editing panel in the operating system, and the parser in the control end parses the components in the module;
[0065] E2: Edit the module to identify the subframe and sub-identification, and modify the data information of the components in the module;
[0066] E2.1: Edit the panel to modify the component's location information within the module and the component display information;
[0067] E3: Repeat the above steps to modify and configure component information in multiple modules;
[0068] E4: Save the modified parameters, parse the component information in the module through the parser and further save it to the server.
[0069] In summary, through this method, the back-end developer edits the components in the module through the operating system, configures the corresponding functions of each component, and configures the functional information of each component in the editing system, and encapsulates multiple components into different modules; the display end generates a corresponding visualization page based on the module and component information configured by the editing system; the module generates a corresponding module frame in the visualization page, and the component generates a component unit in the module frame;
[0070] When in use, the user triggers the operating system of the control end, first modifies the layout of the module frame on the visualization page generated by the display end, modifies the position, color, size and other parameters of the module on the page, and configures it to the initial state of the page; the user then modifies the position layout of the component units on the visualization page in the module frame, and configures the component positions inside each module, such as not placing the close button and minimize button in the module in the upper right corner, and not placing the search bar at the top. The user configures each module by himself and chooses his favorite module layout and overall page layout; saves the page layout modified by the operating system, and the display end generates a visualization page with a new layout based on the module and component information of the modified control end.
[0071] This method uses the operating system as the operating end configured by developers. Developers configure and write modules and components of the home page unit, which can be expanded and developed according to user needs, facilitating software upgrades and maintenance. The editing system serves as a tool for users to edit the home page, and the controller is divided into two parts according to the users, so that users do not need any relevant technical foundation when editing. There are no technical requirements at the code level for operating the editing system, and users can customize the home page according to their preferences.
[0072] Compared with the existing customized homepage solutions, the method of the present invention not only adjusts the corresponding position of each module on the page during customized configuration, but also uses modules and components as different unit bodies to move and configure. The corresponding layout and functional components inside the module cannot be adjusted by the user. The present invention takes this problem as an inventive concept and improves the customized homepage, so that the modular page can also customize the internal components of the module, adjust the position of the components inside the module, better adapt to the use of different users, improve the customization level of the homepage, and make it more convenient for users to customize and adjust.
[0073] In some embodiments, based on the above method, a system for developing a custom homepage based on visual configuration is provided, including a memory, a processor, and a computer program stored in the memory, and the computer program implements the steps of the above method when executed by the processor. The specific contents of the system include:
[0074] It includes a display terminal 1 and a control terminal 2. The control terminal 2 includes an editing system 3 and an operating system 4. The display terminal is associated with the control terminal; each module 5 includes a subframe 51 and a component 52. The component 52 is arranged in the subframe 51. The position of the component 52 in the subframe 51 is changed by the editing system 3; the visualization page generated by the display terminal 1 includes a main frame 11. A plurality of module frames 12 are arranged in the main frame 11. The modules 5 in this embodiment include modules A, B, C, etc., and each module is correspondingly provided with a component 52. For example, a subframe of module B is correspondingly provided with a component B1 and a component B2. Each module is placed in a module frame corresponding to the main frame. The modules 5 are correspondingly arranged in the module frame 12. A plurality of component frames for displaying the components are arranged in the subframe. A subframe identifier is formed in the component frame. The component is matched with the corresponding subframe identifier through the subidentifier. The main frame 11 and the module frame 12 are edited and previewed by the operating system 4;
[0075] The operating system 4 is used to perform background configuration of the functions of the module 5 and the component 52; after the module 5 is configured on the operating system 4, a specific identifier is generated to enter the editing system 3; the editing system 3 configures the layout of the module 5 in the main frame 11 and the position of the component 52 in the sub-frame 51 through the identifier.
[0076] During specific configuration, the editing system 3 includes a data source definition module 31 and a component content configuration module 32. The component content configuration module 32 is associated with the data source definition module 31. The data source definition module generates a specific main identifier for each module 5 and a specific sub-identifier for the component 52. The component content configuration module 42 is used to edit the content of the component 52 and combine and package it into a module 5.
[0077] In a specific implementation, the operating system 4 includes a list panel 41 and a preview panel 42. Each module 5 is selectively arranged and displayed on the list panel 41 through an identification association. The preview panel 42 is used to independently enlarge and preview each module 5. The component 52 is associated with the module 5 through an identification, and is assembled into a specific module 5 by dragging the identification of the component 52 on the sub-frame 51.
[0078] The operating system 4 is provided with a search panel 43 and an editing panel 44. The search panel 43 is associated with the identifier of the module 5. The search panel 43 is used to search for the module 5. The module 5 is dragged into the editing panel 44. The module 5 can be scaled in the editing panel 44. The module 5 edits the layout of the component 52 and the subframe 51 in the editing panel 44. In the operating system 4, the module 5 is selected through the search panel 43, or the module is placed in a suitable area by dragging and other operations; the operating system is a tool for users to edit the homepage, and the controller is divided into two parts according to the user, so that the user does not need any relevant technical foundation when editing. The operating system has no technical requirements at the code level, and the user can customize the homepage according to his own preferences.
[0079] At this time, the controller will obtain the identification ID of this module and save it in JSON format; when the user completes editing, the configuration characters in this JSON format are saved to the database through the interface.
[0080] A parser 13 is provided in the display terminal 1. The parser 13 is used to parse the module 5 and the component 52. The parser 13 is associated with the editing system 3. After the module 5 is edited in the editing system 3, it is dragged into the display terminal 1. The parser 13 parses the module 5 and then parses the component 52 in the module 5, so that the module 5 is displayed in the main frame 11.
[0081] The framework, modules and components of the display end are all configured by back-end developers on the operating system. Users can customize the editing, preview and layout of the homepage through the operating system, and then save it, and parse and display it through the parser in the display end.
[0082] The underlying components of the page can be independently developed and edited by back-end developers, or basic bar charts, curve charts, and radar charts can be encapsulated in the Echarts open source data visualization chart library, and multiple business customized components can be encapsulated based on server data. In addition, back-end technicians can encapsulate and configure multiple modules and components based on the icon library in combination with user needs and server data. The components support users to choose and configure the data to be drawn and the drawing color. Users only care about what modules need to be displayed and what indicators the modules need to display, and can customize the chart color style.
[0083] The page shown in this embodiment refers to a page that appears as a statistical page, which usually contains a large number of charts and statistical data. It is a lightweight configuration system. The homepage system of a lightweight configuration system is rich and complex in content. Not all businesses will develop a large screen, but developing and configuring a page that displays statistical data with charts is of practical significance to most systems. After the application of this system, technical personnel only need to develop basic components and configuration modules, and non-technical users configure the homepage, thereby achieving a ready-to-use, what-you-see-is-what-you-get homepage effect, greatly improving project delivery efficiency.
[0084] Although this specification contains many specific implementation details, these should not be interpreted as limitations on the scope of any invention or the scope of what can be claimed, but rather as an illustration of features that can concretize a particular embodiment of a particular invention. The specific features described in this specification in the context of independent embodiments can also be implemented in combination with a single embodiment. Conversely, the various features described in the context of a single embodiment can also be implemented independently in multiple embodiments, or in any suitable sub-combination. In addition, although the features can be described above as a combination effect and even initially required, one or more features from the required combination can be removed from the combination in some cases, and the required combination can be turned to a sub-combination or a variation of the sub-combination.
[0085] In addition, although the operations are described in the drawings in a specific order, it should not be understood that: in order to achieve the desired results, such operations are required to be performed in the specific order shown or in a sequential order, or all the illustrated operations are performed. In certain cases, multitasking and parallel processing can be advantageous. The encapsulation of various modules and components in the above-mentioned embodiments should not be understood as requiring such encapsulation in all embodiments, and it should be understood that program components and systems can generally be integrated in a single software product or packaged into multiple software products.
[0086] The embodiments described above are merely descriptions of preferred implementations of the present invention and are not intended to limit the scope of the present invention. All other implementations obtained by those skilled in the art based on the implementations in the present invention without creative work are within the scope of protection of the present invention. Without departing from the concept of the present invention, various modifications and improvements made to the technical solutions of the present invention by those of ordinary skill in the art should fall within the scope of protection determined by the claims of the present invention.
Claims
1. A method for developing a custom homepage based on visualization configuration, wherein the homepage is a visualization page that displays statistical data in charts, characterized in that: The steps include: A: The editing system of the control end configures a plurality of components with functional information, and encapsulates a plurality of the components into different modules with module information; the components include charts, and the charts include basic bar charts, curve charts, and radar charts; the functional information includes statistical data; B: The display terminal generates a corresponding visualization page based on the module information and component information configured by the editing system; C: The module generates a corresponding module frame in the visualization page, and the component generates a component unit in the module frame; D: The operating system of the control end receives the trigger instruction and modifies the layout of the module frame on the visualization page generated by the display end; E: trigger the operating system of the control end to receive the layout instruction and modify the position layout of the component units on the visualization page within the module frame; F: Save the page layout modified by the operating system, and the display end generates a visualization page of the new layout based on the module and component information of the modified control end; Wherein, the order of step D and step E can be swapped; The specific steps of step A include: A1: Edit component information one by one through the component configuration module in the editing system, configure the data source of the component through the data source configuration module, and transmit it to the server for storage; A2: The editing system further associates the data source with the properties in the component and encapsulates the configured component into a module; A3: Select and combine the components required for each module, configure them into the required modules one by one, and transmit them to the server for storage through the data source configuration module; A4: The editing system is associated with the display terminal; The specific steps of step B include: B1: The editing system generates a specific main identifier for each module one by one, and associates it with the display terminal through the main identifier; B2: The display terminal obtains data information of the editing system of the control terminal through the main identifier, and the data information includes module functions, display size of the module frame on the display terminal, module color layout indicators, and component data information corresponding to the module; B3: Component data information includes component sub-identification, component function, component location information within the module, and component display information; B4: The display end parses the relevant information of the modules and components through the parser and generates a visualization page on the display end; The specific steps of step C include: C1: The editing system of the control end generates a specific main identifier for the configured module, and a main frame for matching the module is formed in the visualization page, and the module is inserted into the main frame through the main identifier; C2: A plurality of module frames for inserting the modules are provided in the main frame, and main frame identifiers are formed corresponding to the module frames, and the modules are matched with corresponding main frame identifiers through the main identifiers; C3: transmitted to the server for storage through the data source configuration module; The steps of step C also include: C4: The editing system of the control end generates a specific sub-identification for the component in each module, and a sub-frame for matching the sub-identification of the component is formed in the main frame of the visualization page; C4.1: The sub-identity is associated with the main identification of its corresponding module; C5: a plurality of component frames for displaying the components are provided in the subframe, a subframe identifier is formed in the component frame, and the components are matched with corresponding subframe identifiers through the subidentifiers; C6: Transmit to the server for storage through the data source configuration module.
2. The method for developing a custom homepage based on visual configuration according to claim 1, characterized in that: The steps of step D also include: D1: Trigger the operating system of the control end to select and search for modules and select the required module; D2: After selecting the module, the module is parsed by the parser in the control end; D3: The operating system identifies the main frame and main identifier, and modifies the data information of the module on the control end; D3.1: Modify the position of the module frame in the main frame of the display terminal, the display size of the module frame of the module on the display terminal, and the module color layout index of the module frame through the operating system; D4: Repeat the above steps to modify and configure the data information of multiple modules; D5: Save the modified parameters, parse the module through the parser and further save it to the server.
3. The method for developing a custom homepage based on visual configuration according to claim 2, characterized in that: The steps of step D also include: D1.1: There is a search panel in the operating system, through which you can directly search for the required module and select it; The D1.2 operating system also has a list section, which is associated with the main identifier. The main identifier of each module generates a specific mark in the list section, and the required module is selected through the mark.
4. The method for developing a custom homepage based on visual configuration according to claim 2, characterized in that: The steps of step D also include: D2.1: There is a preview panel in the operating system. After selecting the required module, the preview panel is triggered and the selected module is enlarged and previewed on the display end; D3.2: After modifying the required module, the preview panel is triggered, and the selected modified module is enlarged and previewed on the display end.
5. The method for developing a custom homepage based on visual configuration according to claim 1, characterized in that: The steps of step E also include: E1: After triggering the operating system, select the required module, trigger the editing panel in the operating system, and the parser in the control end parses the components in the module; E2: Edit the module to identify the subframe and sub-identification, and modify the data information of the components in the module; E2.1: Edit the panel to modify the component's location information within the module and the component display information; E3: Repeat the above steps to modify and configure component information in multiple modules; E4: Save the modified parameters, parse the component information in the module through the parser and further save it to the server.
6. A system for developing a custom homepage based on visual configuration, comprising a memory, a processor, and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the steps of the method according to any one of claims 1 to 5.
