Page template configuration publishing method, system, storage medium and server
Through the browser-based web page template configuration publishing method, using multiple template systems and configuration publishing systems, the semi-automated process from project construction to release is realized, solving the complexity of customized page generation and management in the existing technology. The problem has improved efficiency and quality and lowered the technical threshold.
Patent Information
- Application Number
- CN202011112434.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-16
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2040-10-16
AI Technical Summary
In the prior art, the rapid generation and link distribution of customized pages have problems such as many manual operations, high technical thresholds, complex code management, and prone to errors.
Provide a browser-based web page template configuration publishing method. Through multiple template systems, configuration publishing systems and instance systems, the semi-automated process from project construction to final release is realized, the technical threshold is lowered, the code is automatically managed, and the sharing is provided. Resource Package Mode to simplify template updates.
It realizes high-quality and efficient page generation and publishing, lowers technical thresholds, reduces manual operations, simplifies code management, shortens project cycles, and ensures that template updates can update all instances at once.
Smart Images

Figure CN112230919B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet technology, and in particular to a method, system, storage medium and server for publishing a templated configuration of a Web page based on a browser. Background Art
[0002] In the process of web page development, in order to achieve rapid launch, a set of version configuration release mechanism is required; in the prior art, the method and system for rapid generation and link distribution of customized pages, page code injection, configuration data encrypted transmission, rewriting pages, and generating static files; the present invention also provides two release methods, which can be released as independent deployment packages, or the deployment package can be released as a resource common type as needed, so the template body is updated. In the prior art, pages with similar requirements need to be manually rebuilt, and there will be many manual operations; the technical threshold is high, and professional developers are required to complete it; project code management is troublesome, whether it is opening a branch or merging a trunk, it is easy to make mistakes. Summary of the invention
[0003] The purpose of the present invention is to overcome the shortcomings of the prior art. The present invention provides a browser-based Web page template configuration publishing method, system, storage medium and server, which can realize an integrated semi-automatic publishing process from project construction, page development, debugging and testing to final publishing; and achieve high-quality and efficient page generation and publishing.
[0004] In order to solve at least one of the above technical problems, an embodiment of the present invention provides a browser-based Web page template configuration publishing method, comprising: multiple sets of template systems, a configuration publishing system and an instance system; wherein the configuration publishing system is connected to the multiple sets of template systems and the instance system respectively, and the configuration publishing system performs template configuration and template management on the multiple sets of templates in the multiple sets of template systems; the configuration publishing system publishes the configured templates in the instance system; the method comprises:
[0005] Based on the configuration items provided by the configuration publishing system, multiple sets of templates in the multiple sets of template systems are read, and configuration update processing is performed to obtain updated templates, where the parameters of the multiple sets of templates include one or more combinations of interface lists, themes, layout interaction process channel information, and global variables;
[0006] Reading the configuration parameters of the updated template in the configuration publishing system to perform effect preview processing;
[0007] After the effect preview process is completed, a copy project file is generated based on the configuration parameters, and a corresponding link address is generated;
[0008] After the test passes, the corresponding link address is published in the instance system.
[0009] Optionally, the method further includes:
[0010] The configuration publishing system manages the multiple sets of templates updated by the development user into the multiple sets of template systems based on template management;
[0011] The management operations include storage, naming, file size scanning and grouping; the development user updates the multiple sets of templates in the multiple sets of template systems based on the external interfaces provided by the multiple sets of template systems.
[0012] Optionally, the reading of multiple sets of templates in the multiple sets of template systems based on the configuration items provided by the configuration publishing system, and performing configuration update processing to obtain the updated templates includes:
[0013] After reading multiple sets of templates in the multiple sets of template systems based on the configuration items provided by the configuration publishing system, presenting the multiple sets of templates in the form of a form;
[0014] The operator edits the presented form and saves it after editing;
[0015] When saving, the configuration publishing system will modify the physical file of the corresponding template page, and perform update configuration processing to obtain the template after the update configuration.
[0016] Optionally, the reading of the configuration parameters of the updated template in the configuration publishing system to perform effect preview processing includes:
[0017] After the configuration publishing system reads the configuration parameters of the updated template, the configuration parameters are passed to the corresponding template project, and the effect preview is displayed and edited in the corresponding template project.
[0018] Optionally, generating a copy project file based on the configuration parameters and generating a corresponding link address includes:
[0019] The configuration publishing system enters the configuration parameters, generates a copy project file after entering the configuration parameters, and generates a corresponding link address, wherein the content of the link address is in a grayscale publishing state.
[0020] Optionally, publishing the corresponding link address in the instance system includes:
[0021] The configuration publishing system pushes the corresponding link address to the instance system, and the instance system publishes the corresponding link address based on the selected publishing mode;
[0022] The publishing modes include an independent package publishing mode and a shared resource package publishing mode.
[0023] Optionally, the example system publishes the corresponding link address based on the selected publishing mode, including:
[0024] When the example system publishes the corresponding link address according to the independent package publishing mode, the published content is an independent directory address and an independent link; after the publication, if there is an update iteration, it is necessary to find the corresponding independent package address and republish;
[0025] When the instance system publishes the corresponding link address according to the shared resource package publishing mode, the published content is a uniformly defined directory and shared resource files, with different parameters configured in the reserved page as a distinction, and links with the same web page address prefix; after publishing, if there is an update or iteration, only the updated or iterated files need to be updated.
[0026] In addition, an embodiment of the present invention also provides a browser-based Web page templated configuration publishing system, which includes multiple sets of template systems, a configuration publishing system and an instance system; wherein the configuration publishing system is connected to the multiple sets of template systems and the instance system respectively, and the configuration publishing system performs template configuration and template management on the multiple sets of templates in the multiple sets of template systems; the configuration publishing system publishes the configured templates in the instance system; the Web page templated configuration publishing system is configured to execute any one of the above-mentioned Web page templated configuration publishing methods.
[0027] In addition, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method for publishing a templated Web page described in any one of the above is implemented.
[0028] In addition, an embodiment of the present invention further provides a server, which includes:
[0029] one or more processors;
[0030] Memory;
[0031] One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to: execute any one of the above-mentioned methods for publishing templated Web pages.
[0032] In the embodiment of the present invention, most of the manual operations are solved, and an integrated semi-automatic publishing process is formed from project construction, page development, debugging and testing to final release; the technical threshold is relatively low, and no professional developers are required to complete the release, and the original template has passed the test acceptance standard. The template does not need to continue regression testing during the entire release process, and it is only necessary to ensure that the configuration information entered by the operator is correct; the code management is better, and only the template needs to be managed and provided to the system to complete the remaining operations; a shared resource package mode is provided, and if the template is updated, it can be released once and all instances can be updated; the project version cycle is short, and except for the template development environment, the rest of the entire process is handed over to the system and configuration, which greatly shortens the project cycle; a flexible template configuration function is provided, and the generation and release of pages are completed with the highest quality and efficiency through system configuration. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0034] Figure 1 It is a flow chart of a method for publishing a browser-based Web page template configuration in an embodiment of the present invention;
[0035] Figure 2 It is a schematic diagram of the structure of a browser-based Web page template configuration publishing system in an embodiment of the present invention;
[0036] Figure 3 It is a schematic diagram of the structural composition of the server in an embodiment of the present invention. DETAILED DESCRIPTION
[0037] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0038] Example
[0039] See also Figure 1 , Figure 1 It is a flowchart of a method for publishing a browser-based Web page template configuration in an embodiment of the present invention.
[0040] like Figure 1 As shown, a browser-based Web page template configuration publishing method includes: multiple sets of template systems, a configuration publishing system and an instance system; wherein the configuration publishing system is connected to the multiple sets of template systems and the instance system respectively, and the configuration publishing system performs template configuration and template management on the multiple sets of templates in the multiple sets of template systems; the configuration publishing system publishes the configured templates in the instance system.
[0041] Specifically, multiple sets of template systems, configuration publishing systems and instance systems can be deployed on the same server at the same time or on different servers respectively; and multiple sets of template systems, configuration publishing systems and instance systems can access and operate data, that is, the configuration publishing system is connected to multiple sets of template systems and instance systems respectively, and the configuration publishing system performs template configuration and template management on multiple sets of templates in the multiple template systems; the configuration publishing system publishes the configured templates in the instance system.
[0042] The method comprises:
[0043] S11: reading multiple sets of templates in the multiple sets of template systems based on the configuration items provided by the configuration publishing system, and performing update configuration processing to obtain updated configured templates, wherein the parameters of the multiple sets of templates include one or more combinations of interface lists, themes, layout interaction process channel information, and global variables;
[0044] In the specific implementation process of the present invention, the configuration items provided by the configuration publishing system are used to read multiple sets of templates in the multiple sets of template systems, and configuration update processing is performed to obtain the templates after updated configuration, including: after reading multiple sets of templates in the multiple sets of template systems based on the configuration items provided by the configuration publishing system, the multiple sets of templates are presented in the form of a form; the operator edits based on the presented form and saves the edited form after the editing is completed; when saving, the configuration publishing system will modify the physical file of the corresponding template page, and update the configuration processing to obtain the template after updated configuration.
[0045] Specifically, in the configuration publishing system, a connection relationship is established with multiple sets of template systems through the corresponding bus or application interface. The operator reads multiple sets of templates in the multiple sets of template systems through the configuration item reading interface provided on the configuration publishing system, and then presents the read multiple sets of templates in the form of a form; then, the operator can edit the presented form and save it after the editing is completed; when saving, the configuration publishing system will modify the physical file of the corresponding template page, and then update the configuration of the corresponding modification to obtain the updated configured template; the parameters of the multiple sets of templates include one or more combinations of interface lists, themes, layout interaction process channel information and global variables; among them, the operator can be a developer, or a general person such as a tester or a product manager. The operator does not have to be a technical developer, but only needs to be a person who understands the relevant configuration publishing rules; this can reduce the requirements for technical thresholds, and the configuration and publishing operations of related templates can be completed without professional developers.
[0046] Among them, the interface list is used for the interface list required in each template project, and is designed in a configurable form to facilitate the flexible configuration of the interface path, input and output parameters and other attributes; therefore, the same page can be reused in different projects; instances can be generated by configuring the input parameters. The theme is used for the management of theme packages, and multiple styles can be managed under one template, and instances can be generated by configuring the input parameters; such as color, background, size, position, font, font size, etc. The layout is used for the flexible reorganization and construction of the page structure, such as the box model, spacing margins, position and positioning, floating, etc. of the section style in the web page; instances can be generated by configuring the input parameters. The interactive process is used for data transmission and jump between pages, event types, event paths, interactive steps, etc. of the page; even the combination of multiple templates to generate and publish into the same project. Instances can be generated by configuring the input parameters. In addition, more access interfaces for module parameters are reserved, so that subsequent templates can be further expanded, with good extensibility.
[0047] S12: reading configuration parameters of the updated template in the configuration publishing system to perform effect preview processing;
[0048] In the specific implementation process of the present invention, the configuration parameters of the updated configured template are read in the configuration publishing system to perform effect preview processing, including: after the configuration publishing system reads the configuration parameters of the updated configured template, the configuration parameters are passed to the corresponding template project, and the effect preview display editing is performed in the corresponding template project.
[0049] Specifically, after the configuration publishing system reads the configuration parameters of the updated template, it passes the configuration parameters to the corresponding template project, and displays and edits the effect preview within the corresponding template project; by displaying and editing the effect preview, it is convenient for operators to perform subsequent editing operations based on the preview effect, thereby improving the efficiency of editing operations and making the edited content more in line with the required requirements.
[0050] S13: after the effect preview process is completed, a copy project file is generated based on the configuration parameters, and a corresponding link address is generated;
[0051] In the specific implementation process of the present invention, the generation of a copy project file based on the configuration parameters and the generation of a corresponding link address include: the configuration publishing system enters the configuration parameters, generates a copy project file after entering the configuration parameters, and generates a corresponding link address, wherein the content of the link address is in a grayscale publishing state.
[0052] In the specific implementation process of the present invention, after the configuration parameters are entered into the configuration publishing system, a copy project file is generated using the entered configuration parameters, and a corresponding link address of the copy project file is generated; and the content of the link address is in a grayscale publishing state, and can be published after subsequent tests are passed.
[0053] S14: After the test passes, the corresponding link address is published in the instance system.
[0054] In the specific implementation process of the present invention, the corresponding link address is published in the instance system, including: the configuration publishing system pushes the corresponding link address to the instance system, and the instance system publishes the corresponding link address based on the selected publishing mode; the publishing mode includes an independent package publishing mode and a shared resource package publishing mode.
[0055] Furthermore, the instance system publishes the corresponding link address based on the selected publishing mode, including: when the instance system publishes the corresponding link address according to the independent package publishing mode, the published content is an independent directory address and an independent link; after the publication, if there is an update iteration, it is necessary to find the corresponding independent package address and republish; when the instance system publishes the corresponding link address according to the shared resource package publishing mode, the published content is a uniformly defined directory and a shared resource file, and the different parameters configured in the reserved page are used as a distinction, and the links with the same web page address prefix are shared; after the publication, if there is an update iteration, it is only necessary to update the updated iterative file.
[0056] Specifically, the configuration publishing system pushes the corresponding link address to the instance system, and publishes the corresponding link address in the instance system according to the selected publishing mode; wherein the publishing mode includes an independent package publishing mode and a shared resource package publishing mode.
[0057] In the independent package release mode, when the instance system officially releases the corresponding link address, the published content is an independent directory address and an independent link, and after the release, if there is a need for update and iteration, it is necessary to find the corresponding independent package address and re-publish it; in the shared resource package release mode, when the instance system officially releases the corresponding link address, the published content is a uniformly defined directory and shared resource files, and the parameters configured in the reserved page are different as a distinction, and the links have the same web page address prefix; after the release, if there is an update and iteration, only the updated file needs to be updated; for example, if there are ten corresponding link addresses and the shared resource file has been changed, only the updated shared resource file needs to be released, and the corresponding link address will have the effect after the release.
[0058] In the specific implementation process of the present invention, the method also includes: the configuration publishing system performs management operations on the multiple sets of templates updated by the development user to the multiple sets of template systems based on template management; wherein the management operations include storage, naming, file size scanning and grouping; the development user updates the multiple sets of templates in the multiple sets of template systems based on the external interface provided by the multiple sets of template systems.
[0059] Specifically, developers upload multiple templates to multiple template systems through the external interfaces provided by the multiple template systems to update the templates. After the update, the configuration publishing system manages the updated multiple templates through template management, including storage, naming, file size scanning and grouping; the development user updates the multiple templates in the multiple template systems according to the external interfaces provided by the multiple template systems.
[0060] In the specific implementation process of the present invention, in the embodiment of the present invention, most of the manual operations are solved, from project construction, page development, debugging and testing to final release, forming an integrated semi-automatic release process; the technical threshold is relatively low, and no professional developers are required to complete the release, and the original template has passed the test acceptance standard. During the entire release process, the template no longer needs to continue regression testing, and it is only necessary to ensure that the configuration information entered by the operator is correct; the code management is better, and only the template needs to be managed and provided to the system to complete the remaining operations; a shared resource package mode is provided, and if the template is updated, it can be released once and all instances can be updated; the project version cycle is short, and except for the template development environment, the rest of the entire process is handed over to the system and configuration, which greatly shortens the project cycle; a flexible template configuration function is provided, and the generation and release of pages are completed with the highest quality and efficiency through system configuration.
[0061] Example
[0062] See also Figure 2 , Figure 2 It is a schematic diagram of the structural composition of a browser-based Web page template configuration publishing system in an embodiment of the present invention.
[0063] like Figure 2 As shown, a browser-based Web page template configuration publishing system includes multiple sets of template systems 21, a configuration publishing system 22 and an instance system 23; wherein the configuration publishing system 22 is connected to the multiple sets of template systems 21 and the instance system 23 respectively, and the configuration publishing system 22 performs template configuration and template management on the multiple sets of templates in the multiple sets of template systems 21; the configuration publishing system 22 publishes the configured templates in the instance system 23; the Web page template configuration publishing system is configured to execute any one of the above-mentioned Web page template configuration publishing methods.
[0064] Specifically, multiple sets of template systems 21, configuration publishing systems 22 and instance systems 23 can be deployed on the same server at the same time or on different servers respectively; and data access and operations can be performed between multiple sets of template systems 21, configuration publishing systems 22 and instance systems 23, that is, the configuration publishing system 22 is connected to the multiple sets of template systems 21 and the instance systems 23 respectively, and the configuration publishing system 22 performs template configuration and template management on the multiple sets of templates in the multiple sets of template systems 21; the configuration publishing system 22 publishes the configured templates in the instance system 23.
[0065] In the specific implementation process of the present invention, the configuration items provided by the configuration publishing system are used to read multiple sets of templates in the multiple sets of template systems, and configuration update processing is performed to obtain the templates after updated configuration, including: after reading multiple sets of templates in the multiple sets of template systems based on the configuration items provided by the configuration publishing system, the multiple sets of templates are presented in the form of a form; the operator edits based on the presented form and saves the edited form after the editing is completed; when saving, the configuration publishing system will modify the physical file of the corresponding template page, and update the configuration processing to obtain the template after updated configuration.
[0066] Specifically, in the configuration publishing system, a connection relationship is established with multiple sets of template systems through the corresponding bus or application interface. The operator reads multiple sets of templates in the multiple sets of template systems through the configuration item reading interface provided on the configuration publishing system, and then presents the read multiple sets of templates in the form of a form; then, the operator can edit the presented form and save it after the editing is completed; when saving, the configuration publishing system will modify the physical file of the corresponding template page, and then update the configuration of the corresponding modification to obtain the updated configured template; the parameters of the multiple sets of templates include one or more combinations of interface lists, themes, layout interaction process channel information and global variables; among them, the operator can be a developer, or a general person such as a tester or a product manager. The operator does not have to be a technical developer, but only needs to be a person who understands the relevant configuration publishing rules; this can reduce the requirements for technical thresholds, and the configuration and publishing operations of related templates can be completed without professional developers.
[0067] Among them, the interface list is used for the interface list required in each template project, and is designed in a configurable form to facilitate the flexible configuration of the interface path, input and output parameters and other attributes; therefore, the same page can be reused in different projects; instances can be generated by configuring the input parameters. The theme is used for the management of theme packages, and multiple styles can be managed under one template, and instances can be generated by configuring the input parameters; such as color, background, size, position, font, font size, etc. The layout is used for the flexible reorganization and construction of the page structure, such as the box model, spacing margins, position and positioning, floating, etc. of the section style in the web page; instances can be generated by configuring the input parameters. The interactive process is used for data transmission and jump between pages, event types, event paths, interactive steps, etc. of the page; even the combination of multiple templates to generate and publish into the same project. Instances can be generated by configuring the input parameters. In addition, more access interfaces for module parameters are reserved, so that subsequent templates can be further expanded, with good extensibility.
[0068] In the specific implementation process of the present invention, the configuration parameters of the updated configured template are read in the configuration publishing system to perform effect preview processing, including: after the configuration publishing system reads the configuration parameters of the updated configured template, the configuration parameters are passed to the corresponding template project, and the effect preview display editing is performed in the corresponding template project.
[0069] Specifically, after the configuration publishing system reads the configuration parameters of the updated template, it passes the configuration parameters to the corresponding template project, and displays and edits the effect preview within the corresponding template project; by displaying and editing the effect preview, it is convenient for operators to perform subsequent editing operations based on the preview effect, thereby improving the efficiency of editing operations and making the edited content more in line with the required requirements.
[0070] In the specific implementation process of the present invention, the generation of a copy project file based on the configuration parameters and the generation of a corresponding link address include: the configuration publishing system enters the configuration parameters, generates a copy project file after entering the configuration parameters, and generates a corresponding link address, wherein the content of the link address is in a grayscale publishing state.
[0071] In the specific implementation process of the present invention, after the configuration parameters are entered into the configuration publishing system, a copy project file is generated using the entered configuration parameters, and a corresponding link address of the copy project file is generated; and the content of the link address is in a grayscale publishing state, and can be published after subsequent tests are passed.
[0072] In the specific implementation process of the present invention, the corresponding link address is published in the instance system, including: the configuration publishing system pushes the corresponding link address to the instance system, and the instance system publishes the corresponding link address based on the selected publishing mode; the publishing mode includes an independent package publishing mode and a shared resource package publishing mode.
[0073] Furthermore, the instance system publishes the corresponding link address based on the selected publishing mode, including: when the instance system publishes the corresponding link address according to the independent package publishing mode, the published content is an independent directory address and an independent link; after the publication, if there is an update iteration, it is necessary to find the corresponding independent package address and republish; when the instance system publishes the corresponding link address according to the shared resource package publishing mode, the published content is a uniformly defined directory and a shared resource file, and the different parameters configured in the reserved page are used as a distinction, and the links with the same web page address prefix are shared; after the publication, if there is an update iteration, it is only necessary to update the updated iterative file.
[0074] Specifically, the configuration publishing system pushes the corresponding link address to the instance system, and publishes the corresponding link address in the instance system according to the selected publishing mode; wherein the publishing mode includes an independent package publishing mode and a shared resource package publishing mode.
[0075] In the independent package release mode, when the instance system officially releases the corresponding link address, the published content is an independent directory address and an independent link, and after the release, if there is a need for update and iteration, it is necessary to find the corresponding independent package address and re-publish it; in the shared resource package release mode, when the instance system officially releases the corresponding link address, the published content is a uniformly defined directory and shared resource files, and the parameters configured in the reserved page are different as a distinction, and the links have the same web page address prefix; after the release, if there is an update and iteration, only the updated file needs to be updated; for example, if there are ten corresponding link addresses and the shared resource file has been changed, only the updated shared resource file needs to be released, and the corresponding link address will have the effect after the release.
[0076] In the specific implementation process of the present invention, the method also includes: the configuration publishing system performs management operations on the multiple sets of templates updated by the development user to the multiple sets of template systems based on template management; wherein the management operations include storage, naming, file size scanning and grouping; the development user updates the multiple sets of templates in the multiple sets of template systems based on the external interface provided by the multiple sets of template systems.
[0077] Specifically, developers upload multiple templates to multiple template systems through the external interfaces provided by the multiple template systems to update the templates. After the update, the configuration publishing system manages the updated multiple templates through template management, including storage, naming, file size scanning and grouping; the development user updates the multiple templates in the multiple template systems according to the external interfaces provided by the multiple template systems.
[0078] In the specific implementation process of the present invention, in the embodiment of the present invention, most of the manual operations are solved, from project construction, page development, debugging and testing to final release, forming an integrated semi-automatic release process; the technical threshold is relatively low, and no professional developers are required to complete the release, and the original template has passed the test acceptance standard. During the entire release process, the template no longer needs to continue regression testing, and it is only necessary to ensure that the configuration information entered by the operator is correct; the code management is better, and only the template needs to be managed and provided to the system to complete the remaining operations; a shared resource package mode is provided, and if the template is updated, it can be released once and all instances can be updated; the project version cycle is short, and except for the template development environment, the rest of the entire process is handed over to the system and configuration, which greatly shortens the project cycle; a flexible template configuration function is provided, and the generation and release of pages are completed with the highest quality and efficiency through system configuration.
[0079] An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, a method for publishing a templated configuration of a Web page in any of the above embodiments is implemented. The computer-readable storage medium includes, but is not limited to, any type of disk (including floppy disk, hard disk, optical disk, CD-ROM, and magneto-optical disk), ROM (Read-Only Memory), RAM (Random Access Memory), EPROM (EraSable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or optical card. That is, the storage device includes any medium that can store or transmit information in a readable form by a device (for example, a computer, a mobile phone), which can be a read-only memory, a disk or an optical disk, etc.
[0080] An embodiment of the present invention further provides a computer application program, which runs on a computer and is used to execute the Web page template configuration publishing method of any one of the above embodiments.
[0081] also, Figure 3 It is a schematic diagram of the structural composition of the server in an embodiment of the present invention.
[0082] The embodiment of the present invention also provides a server, such as Figure 3 The server includes a processor 302, a memory 303, an input unit 304, a display unit 305 and other devices. Those skilled in the art will understand that Figure 3 The device structure device shown does not constitute a limitation on all devices, and may include more or fewer components than shown, or combine certain components. The memory 303 can be used to store the application 301 and various functional modules, and the processor 302 runs the application 301 stored in the memory 303, thereby executing various functional applications and data processing of the device. The memory can be an internal memory or an external memory, or include both internal and external memories. The internal memory may include a read-only memory (ROM), a programmable ROM (PROM), an electrically programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), a flash memory, or a random access memory. The external memory may include a hard disk, a floppy disk, a ZIP disk, a U disk, a magnetic tape, etc. The memory disclosed in the present invention includes but is not limited to these types of memories. The memory disclosed in the present invention is only used as an example and not as a limitation.
[0083] The input unit 304 is used to receive the input of the signal and the keyword input by the user. The input unit 304 may include a touch panel and other input devices. The touch panel can collect the user's touch operation on or near it (such as the user's operation on or near the touch panel using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program; other input devices may include but are not limited to one or more of a physical keyboard, a function key (such as a playback control key, a switch key, etc.), a trackball, a mouse, a joystick, etc. The display unit 305 can be used to display the information input by the user or the information provided to the user and various menus of the server. The display unit 305 can be in the form of a liquid crystal display, an organic light emitting diode, etc. The processor 302 is the control center of the server, which uses various interfaces and lines to connect various parts of the entire device, and executes various functions and processes data by running or executing software programs and / or modules stored in the memory 302, and calling data stored in the memory.
[0084] As an embodiment, the server includes: one or more processors 302, a memory 303, and one or more applications 301, wherein the one or more applications 301 are stored in the memory 303 and are configured to be executed by the one or more processors 302, and the one or more applications 301 are configured to execute the Web page templated configuration publishing method in any one of the above-mentioned embodiments.
[0085] In the embodiment of the present invention, most of the manual operations are solved, and an integrated semi-automatic publishing process is formed from project construction, page development, debugging and testing to final release; the technical threshold is relatively low, and no professional developers are required to complete the release, and the original template has passed the test acceptance standard. The template does not need to continue regression testing during the entire release process, and it is only necessary to ensure that the configuration information entered by the operator is correct; the code management is better, and only the template needs to be managed and provided to the system to complete the remaining operations; a shared resource package mode is provided, and if the template is updated, it can be released once and all instances can be updated; the project version cycle is short, and except for the template development environment, the rest of the entire process is handed over to the system and configuration, which greatly shortens the project cycle; a flexible template configuration function is provided, and the generation and release of pages are completed with the highest quality and efficiency through system configuration.
[0086] In addition, the above is a detailed introduction to a browser-based Web page template configuration publishing method, system, storage medium and server provided in an embodiment of the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for a person skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for publishing a templated configuration of a Web page based on a browser, characterized in that: include: Multiple sets of template systems, configuration publishing systems and instance systems; wherein the configuration publishing systems are connected to the multiple sets of template systems and the instance systems respectively, and the configuration publishing systems perform template configuration and template management on the multiple sets of templates in the multiple sets of template systems; the configuration publishing system publishes the configured templates in the instance system; the method comprises: Based on the configuration items provided by the configuration publishing system, multiple sets of templates in the multiple sets of template systems are read, and configuration update processing is performed to obtain updated templates, where the parameters of the multiple sets of templates include one or more combinations of interface lists, themes, layout interaction process channel information, and global variables; Reading the configuration parameters of the updated template in the configuration publishing system to perform effect preview processing; After the effect preview process is completed, a copy project file is generated based on the configuration parameters, and a corresponding link address is generated; After the test is passed, the corresponding link address is published in the instance system; The publishing of the corresponding link address in the instance system includes: The configuration publishing system pushes the corresponding link address to the instance system, and the instance system publishes the corresponding link address based on the selected publishing mode; The publishing modes include independent package publishing mode and shared resource package publishing mode; The example system publishes the corresponding link address based on the selected publishing mode, including: When the example system publishes the corresponding link address according to the independent package publishing mode, the published content is an independent directory address and an independent link; after the publication, if there is an update iteration, it is necessary to find the corresponding independent package address and republish; When the example system publishes the corresponding link address according to the shared resource package publishing mode, the published content is a uniformly defined directory and a shared resource file, and the parameters configured in the reserved page are different as a distinction, and the links with the same web page address prefix are shared; after the publication, if there is an update iteration, only the updated iterative file needs to be updated; The configuration items provided by the configuration publishing system are used to read multiple sets of templates in the multiple sets of template systems, and update the configurations to obtain the updated templates, including: After reading multiple sets of templates in the multiple sets of template systems based on the configuration items provided by the configuration publishing system, presenting the multiple sets of templates in the form of a form; The operator edits the presented form and saves it after editing; When saving, the configuration publishing system will modify the physical file of the corresponding template page, and perform update configuration processing to obtain the template after the update configuration.
2. The method for publishing a templated Web page according to claim 1, characterized in that: The method further comprises: The configuration publishing system manages the multiple sets of templates updated by the development user into the multiple sets of template systems based on template management; The management operations include storage, naming, file size scanning and grouping; the development user updates the multiple sets of templates in the multiple sets of template systems based on the external interfaces provided by the multiple sets of template systems.
3. The method for publishing a Web page template configuration according to claim 1, characterized in that: The step of reading the configuration parameters of the updated template in the configuration publishing system to perform effect preview processing includes: After the configuration publishing system reads the configuration parameters of the updated template, the configuration parameters are passed to the corresponding template project, and the effect preview is displayed and edited in the corresponding template project.
4. The method for publishing a Web page template configuration according to claim 1, characterized in that: The generating of the copy project file based on the configuration parameters and generating the corresponding link address includes: The configuration publishing system enters the configuration parameters, generates a copy project file after entering the configuration parameters, and generates a corresponding link address, wherein the content of the link address is in a grayscale publishing state.
5. A browser-based Web page template configuration publishing system, characterized in that: The Web page templated configuration publishing system includes multiple sets of template systems, configuration publishing systems and instance systems; wherein the configuration publishing systems are respectively connected to the multiple sets of template systems and instance systems, and the configuration publishing system performs template configuration and template management on the multiple sets of templates in the multiple sets of template systems; the configuration publishing system publishes the configured templates in the instance system; the Web page templated configuration publishing system is configured to execute the Web page templated configuration publishing method as described in any one of claims 1-4.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for publishing a templated configuration of a Web page as described in any one of claims 1 to 4 is implemented.
7. A server, characterized in that: It includes: one or more processors; Memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to: execute the Web page templated configuration publishing method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Page configuration method and device
CN110058856A