CN114254234A - Page generation system and method based on BS framework and storage medium - Google Patents
Page generation system and method based on BS framework and storage medium Download PDFInfo
- Publication number
- CN114254234A CN114254234A CN202111519827.XA CN202111519827A CN114254234A CN 114254234 A CN114254234 A CN 114254234A CN 202111519827 A CN202111519827 A CN 202111519827A CN 114254234 A CN114254234 A CN 114254234A
- Authority
- CN
- China
- Prior art keywords
- page
- configuration
- application
- configuration information
- architecture
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a page generating system, a page generating method and a storage medium based on a BS framework, wherein the system comprises: the component library module is used for providing various components required by the page generation; a configuration management module to: newly building an application, and configuring required components and layout modes according to business requirements to generate a page example; associating the page instance with the newly-built application; the database module is used for storing information generated by page configuration; the page display module: the terminal page is used for generating a final page according to the information of the page configuration so as to meet the application operation of a client; the beneficial effects are as follows: through the component library and different configuration information of a user, various functional pages can be quickly generated according to the configuration information, the application range is wide, and different service scenes and customer requirements can be met; the client can configure and manage the self-generated page according to the actual situation; the development cost of manpower and time resources is reduced, the development period is shortened, and the work is simpler and more efficient.
Description
Technical Field
The invention relates to the technical field of software, in particular to a page generation system and method based on a BS framework and a storage medium.
Background
The B/S architecture is a browser and server architecture mode, and in the B/S architecture, a user work interface is realized through a WWW browser. At present, with the development of scientific technology and the change of life style, people generate different data information at all times. In order to collect, count, process and display the data information, different page functions need to be customized, so that a great deal of manpower and time resources are consumed, and the working efficiency is low.
Disclosure of Invention
The invention aims to: a page generating system, method and storage medium based on a BS architecture are provided to reduce consumption of human and time resources.
In a first aspect: a page generation system based on a BS architecture, the system comprising:
the component library module is used for providing various components required by the page generation;
a configuration management module to:
newly building an application, and configuring required components and layout modes according to business requirements to generate a page example;
associating the page instance with the newly-built application;
the database module is used for storing information generated by page configuration;
the page display module: and generating a final page according to the page configuration information so as to meet the application operation of the client.
As an optional implementation manner of the present application, during configuration, a page effect may be previewed, and a layout manner and attributes of each component may be modified and adjusted according to the page effect.
As an optional implementation manner of the present application, when a page is loaded, configuration information of the page and content data related to the page are obtained, and then required components are called according to the configuration information and are filled in an original skeleton page together, so as to generate a complete page effect.
As an optional implementation manner of the present application, the configuration management module is provided with a configuration management page, and when editing an existing application, first, configuration information of an original page is obtained and displayed on the configuration management page, so as to facilitate modification and maintenance.
As an optional implementation manner of the present application, the database module is further configured to store basic data displayed by the generated page.
In a second aspect: a page generating method based on BS architecture, applied to the page generating system based on BS architecture in the first aspect, the method includes:
newly building an application;
configuring required components and layout modes according to business requirements to generate a page example;
associating the page instance with the newly-built application;
storing information generated by the page configuration;
and generating a final page according to the page configuration information so as to meet the application operation of the client.
As an optional implementation manner of the present application, during configuration, a page effect may be previewed, and a layout manner and attributes of each component may be modified and adjusted according to the page effect.
As an optional implementation manner of the present application, when a page is loaded, configuration information of the page and content data related to the page are obtained, and then required components are called according to the configuration information and are filled in an original skeleton page together, so as to generate a complete page effect.
As an optional implementation manner of the present application, when editing an existing application, first, the configuration information of an original page is obtained and displayed on a configuration management page.
In a third aspect: a computer-readable storage medium, in which a computer program is stored, characterized in that the computer program comprises program instructions, which, when executed by a processor, cause the processor to carry out the steps of the method according to the second aspect.
By adopting the technical scheme, the method has the following advantages: according to the page generation system, method and storage medium based on the BS framework, provided by the invention, various functional pages can be quickly generated according to the configuration information through the component library and different configuration information of a user, the application range is wide, and different service scenes and customer requirements can be met; the client can configure and manage the self-generated page according to the actual situation; the development cost of manpower and time resources is reduced, the development period is shortened, and the work is simpler and more efficient.
Drawings
Fig. 1 is a flowchart of a page generation system based on a BS architecture according to an embodiment of the present invention;
fig. 2 is a schematic block diagram of a page generation method based on a BS architecture according to an embodiment of the present invention.
Detailed Description
Specific embodiments of the present invention will be described in detail below, and it should be noted that the embodiments described herein are only for illustration and are not intended to limit the present invention. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be apparent to one of ordinary skill in the art that: it is not necessary to employ these specific details to practice the present invention.
Throughout the specification, reference to "one embodiment," "an embodiment," "one example," or "an example" means: the particular features, structures, or characteristics described in connection with the embodiment or example are included in at least one embodiment of the invention. Thus, the appearances of the phrases "in one embodiment," "in an embodiment," "one example" or "an example" in various places throughout this specification are not necessarily all referring to the same embodiment or example. Furthermore, the particular features, structures, or characteristics may be combined in any suitable combination and/or sub-combination in one or more embodiments or examples. Further, those of ordinary skill in the art will appreciate that the illustrations provided herein are for illustrative purposes and are not necessarily drawn to scale.
The present invention will be described in detail below with reference to the accompanying drawings.
Referring to fig. 1, an embodiment of the present invention provides a page generation system based on a BS architecture, where the system includes:
and the component library module is used for providing various components required by the generated page.
Specifically, the component library module comprises a component library; the various components include text boxes, input boxes, drop down menus, radio groups, multiple radio groups, form components, time points, upload components, picture presentation components, video playback components, and layout components, among others.
A configuration management module to:
newly building an application, and configuring required components and layout modes according to business requirements to generate a page example;
associating the page instance with the newly-built application;
specifically, a user firstly enters a page configuration management module, establishes an application (for example, a statistical application, a chart display application and the like) of the user, and then selects an applicable layout mode and a basic component according to the business requirement of the user; namely, configuring information such as component types, field names, input necessity, uniqueness, field data lengths, remarks and the like to be used, and selecting a proper layout mode;
and generating a page instance, and finally associating the correspondingly generated page instance with the established application.
And during configuration operation, the page effect can be previewed, and the layout mode, the related modules and the attributes of each component are modified and adjusted according to the page effect.
And the database module is used for storing the information generated by the page configuration.
Specifically, the information is to select a corresponding component, a layout style, and a corresponding attribute, etc.
The page display module: and generating a final page according to the page configuration information so as to meet the application operation of the client.
Specifically, the application operates to: the user opens own application, enters the generated page window, and performs own business operation, including information input, data statistics, data processing, information query and the like;
data generated by user operation is used as basic data displayed (or related) by the page;
similarly, the database module is also used for storing basic data displayed by the generated page for subsequent query, modification, deletion and the like.
Furthermore, when the page is loaded, the configuration information of the page and the content data related to the page are obtained, then the required components are called according to the configuration information and are filled into the original skeleton page together, so that a complete page effect is generated; the Skeleton Page (skeeleton Page) refers to that when you open a mobile end web Page, the user is first presented with the approximate style of the Page before Page parsing and data loading. In the skeleton page, pictures, characters and icons are displayed through gray rectangular blocks or circular blocks, and before a real page is displayed, a user can perceive the basic CSS style and the page layout of a page to be loaded.
In implementation, in order to facilitate later adjustment, the configuration management module is provided with a configuration management page, and when editing an existing application, configuration information of an original page is obtained and displayed on the configuration management page so as to facilitate modification and maintenance.
According to the scheme, various functional pages can be quickly generated according to the configuration information through the component library and different configuration information of the user, the application range is wide, and different service scenes and customer requirements can be met; the client can configure and manage the self-generated page according to the actual situation; the development cost of manpower and time resources is reduced, the development period is shortened, and the work is simpler and more efficient.
In another embodiment, to further reduce the workload of duplication, the page presentation module also has a function of exporting content data; therefore, when the external system needs the content data, the content data does not need to be re-filled, and the needed content data can be directly exported and transmitted; the data derivation is only an example and not a limitation.
Based on the same inventive concept, referring to fig. 2, an embodiment of the present invention further provides a page generating method based on a BS architecture, which is applied to the page generating system based on the BS architecture in the first aspect, and the method includes:
and S101, newly building an application.
Specifically, the step is executed by the page configuration management module, and the front end responds to the operation information of the user entering the page configuration management module for the first time to establish an application of the front end.
And S102, configuring required components and layout modes according to business requirements to generate a page example.
Specifically, according to the service requirement, information such as the type of the component to be used, the field name, whether the component needs to be input or not, whether the component is unique, the field data length, the remark and the like is configured, and a suitable layout mode is selected.
S103, associating the page instance with the newly-built application;
s104, storing information generated by page configuration;
and S105, generating a final page according to the page configuration information so as to meet the application operation of the client. Specifically, the application operates to: the user opens own application, enters the generated page window, and performs own business operation, including information input, data statistics, data processing, information query and the like;
data generated by the user performing the application operation, which is the basic data exposed (or referred) by the page, will also be stored in the database (i.e., the database module) for subsequent query and editing.
It should be noted that, during configuration, page effects can be previewed, and the layout mode and the attributes of each component are modified and adjusted according to the page effects.
Further, on the basis of the above scheme, when the page is loaded, the configuration information of the page and the content data related to the page are obtained, and then the required components are called according to the configuration information and are filled into the original skeleton page together, so as to generate a complete page effect.
After the corresponding page is generated, adjustment can still be performed; when the existing application is edited, the configuration information of the original page is firstly acquired and displayed on the configuration management page, so that modification and maintenance are facilitated.
In another embodiment, based on the foregoing scheme, to further reduce the workload of repetition, the method further comprises: exporting the generated content; this facilitates further use of other services outside.
It should be noted that, for the specific steps of the method, reference is made to the text description of the foregoing system embodiment, and details are not described here again.
Through the application of the scheme, the method has the following advantages: 1. the application range is wide, and different service scenes and customer requirements can be met; 2. the client can configure and manage the self-generated page according to the actual situation; 3. the development cost is reduced, and the development period is shortened.
The invention also provides an embodiment of a computer-readable storage medium, in which a computer program is stored, which computer program comprises program instructions which, when executed by a processor, cause the processor to carry out the steps of the method described above for an embodiment of the method.
The code of the computer program may be in a source code form, an object code form, an executable file or some intermediate form, etc.
The computer readable storage medium may be an internal storage unit, such as a hard disk or a memory, where the foregoing system embodiments exist. The computer readable storage medium may also be a separate external storage device such as a hard drive that is equipped with a plug-in, Smart Media Card (SMC), Secure Digital (SD) Card, Flash memory Card (Flash Card), or the like. Further, the computer-readable storage medium may also include both the internal storage unit and the external storage device. The computer readable storage medium may also be used to temporarily store data that has been output or is to be output.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention, and they should be construed as being included in the following claims and description.
Claims (10)
1. A page generation system based on BS architecture, the system comprising:
the component library module is used for providing various components required by the page generation;
a configuration management module to:
newly building an application, and configuring required components and layout modes according to business requirements to generate a page example;
associating the page instance with the newly-built application;
the database module is used for storing information generated by page configuration;
the page display module: and generating a final page according to the page configuration information so as to meet the application operation of the client.
2. The system of claim 1, wherein during configuration, page effects can be previewed, and layout and properties of each component can be modified and adjusted according to the page effects.
3. The system of claim 2, wherein when a page is loaded, the configuration information of the page and the content data related to the page are obtained, and then the required components are called according to the configuration information and are filled into an original skeleton page together to generate a complete page effect.
4. The system of claim 2, wherein the configuration management module is provided with a configuration management page, and when editing an existing application, configuration information of an original page is first obtained and displayed on the configuration management page for modification and maintenance.
5. The BS architecture-based page generation system of claim 2, wherein the database module is further configured to store basic data shown by the generated page.
6. A page generating method based on BS architecture, applied to the page generating system based on BS architecture of claim 1, the method comprising:
newly building an application;
configuring required components and layout modes according to business requirements to generate a page example;
associating the page instance with the newly-built application;
storing information generated by the page configuration;
and generating a final page according to the page configuration information so as to meet the application operation of the client.
7. The BS architecture-based page generation method of claim 6, wherein during configuration, page effects can be previewed, and layout ways and properties of each component are modified and adjusted according to the page effects.
8. The method of claim 7, wherein when the page is loaded, the configuration information of the page and the content data related to the page are obtained, and then the required components are called according to the configuration information and are filled in an original skeleton page together to generate a complete page effect.
9. The BS architecture-based page generation method of claim 7, wherein when editing an existing application, first obtaining configuration information of an original page and displaying the configuration information on a configuration management page.
10. A computer-readable storage medium, in which a computer program is stored, characterized in that the computer program comprises program instructions, which, when executed by a processor, cause the processor to carry out the steps of the method according to any one of claims 6-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111519827.XA CN114254234A (en) | 2021-12-13 | 2021-12-13 | Page generation system and method based on BS framework and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111519827.XA CN114254234A (en) | 2021-12-13 | 2021-12-13 | Page generation system and method based on BS framework and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114254234A true CN114254234A (en) | 2022-03-29 |
Family
ID=80794895
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111519827.XA Pending CN114254234A (en) | 2021-12-13 | 2021-12-13 | Page generation system and method based on BS framework and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114254234A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115016776A (en) * | 2022-08-09 | 2022-09-06 | 合肥汉泰网络科技有限公司 | Portal page generation method and system and computer equipment |
-
2021
- 2021-12-13 CN CN202111519827.XA patent/CN114254234A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115016776A (en) * | 2022-08-09 | 2022-09-06 | 合肥汉泰网络科技有限公司 | Portal page generation method and system and computer equipment |
CN115016776B (en) * | 2022-08-09 | 2022-11-15 | 合肥汉泰网络科技有限公司 | Portal page generation method and system and computer equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111669623B (en) | Video special effect processing method and device and electronic equipment | |
CN112291484B (en) | Video synthesis method and device, electronic equipment and storage medium | |
CN111079047B (en) | Web-oriented page construction system | |
CN107092625B (en) | Data configuration method, data processing method and device | |
CN109727298A (en) | Poster generation method, device, equipment and computer storage medium | |
US10014030B2 (en) | Method, device and system for playing video | |
CN109614565B (en) | Webpage generation method and device | |
CN102298491B (en) | Embedded graphical interface system and image generation method thereof | |
CN105808277A (en) | Card type desktop realization method, device and system | |
CN106933887A (en) | A kind of data visualization method and device | |
CN114115883A (en) | Method for quickly constructing front-end application by using middle station service capability | |
CN109272449A (en) | Image display method and device, computer installation and readable storage medium storing program for executing | |
CN111651966A (en) | Data report file generation method and device and electronic equipment | |
CN107436785B (en) | Revit software information interaction system and interaction method based on information system | |
CN114254234A (en) | Page generation system and method based on BS framework and storage medium | |
CN110888634B (en) | Game floor page generation method, game floor page generation device, computer equipment and storage medium | |
KR100606080B1 (en) | Apparatus and method for creation of animation using hand-held terminal | |
CN110765610B (en) | PDM integration method, PDM integration device, computer equipment and storage medium | |
CN104111768B (en) | Interactive window and method and system for customizing, quoting and synchronizing interactive window | |
CN113626438B (en) | Data table management method, device, computer equipment and storage medium | |
CN114969603A (en) | 5G message-based picture acquisition and picture generation method and system | |
CN115170695A (en) | Method and device for generating chart picture, electronic equipment and storage medium | |
KR20040006962A (en) | Method for editing and apparatus thereof | |
CN116611418B (en) | Report processing method and device based on online editing, electronic equipment and medium | |
CN113347465B (en) | Video generation method and device, electronic equipment and storage medium |
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 |