CN107506193B - Development method of subsystem pages, storage medium and server - Google Patents

Development method of subsystem pages, storage medium and server Download PDF

Info

Publication number
CN107506193B
CN107506193B CN201710711628.6A CN201710711628A CN107506193B CN 107506193 B CN107506193 B CN 107506193B CN 201710711628 A CN201710711628 A CN 201710711628A CN 107506193 B CN107506193 B CN 107506193B
Authority
CN
China
Prior art keywords
page
data
developed
page template
template
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.)
Active
Application number
CN201710711628.6A
Other languages
Chinese (zh)
Other versions
CN107506193A (en
Inventor
朱振
丁明珠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201710711628.6A priority Critical patent/CN107506193B/en
Priority to PCT/CN2017/104539 priority patent/WO2019033520A1/en
Publication of CN107506193A publication Critical patent/CN107506193A/en
Application granted granted Critical
Publication of CN107506193B publication Critical patent/CN107506193B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a development method of a subsystem page, which is used for solving the problems that a large amount of development code redundancy is easily caused by page development and the development efficiency is low. The method provided by the invention comprises the following steps: when a new subsystem is accessed, determining the function type of a page to be developed of the subsystem; selecting a target page template matched with the function type of the page to be developed from a preset page template library; the target page template is preset with page layout corresponding to the function type of the page to be developed and more than one component, the component is provided with more than one data filter, and the data filter is used for screening data from a specified docking database and presenting the data on the component; if the target page template has the data item to be configured, configuring the data value of the data item; and generating the page to be developed according to the target page template and the configured data values of the data items. The invention also provides a storage medium and a server.

Description

Development method of subsystem pages, storage medium and server
Technical Field
The invention relates to the technical field of page development, in particular to a development method of a subsystem page, a storage medium and a server.
Background
At present, when a new subsystem is accessed to a large system, a page effect graph is generally generated according to the requirements of the subsystem, then the page effect graph is dynamically changed, then a back-end developer writes a page code file according to the dynamic page front end, and finally a corresponding page is generated according to the code file.
However, pages required by a plurality of subsystems in a large system are often substantially the same in layout, and if the pages of the new subsystems are developed by adopting the method, a large amount of development code redundancy is easily caused, the development efficiency is low, and the development cost is increased.
Disclosure of Invention
The embodiment of the invention provides a development method of a subsystem page, a storage medium and a server, which can reduce redundant codes of page development, improve development efficiency and reduce development cost.
In a first aspect, a method for developing a sub-system page is provided, including:
when a new subsystem is accessed, determining the function type of a page to be developed of the subsystem;
selecting a target page template matched with the function type of the page to be developed from a preset page template library; the target page template is preset with page layout corresponding to the function type of the page to be developed and more than one component, the component is provided with more than one data filter, and the data filter is used for screening data from a specified docking database and presenting the data on the component;
if the target page template has a data item to be configured, configuring a data value of the data item;
and generating the page to be developed according to the target page template and the configured data values of the data items.
In a second aspect, a computer-readable storage medium is provided, which stores a computer program that, when executed by a processor, implements the steps of the above-described method for developing a subsystem page.
In a third aspect, a server is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the following steps when executing the computer program:
when a new subsystem is accessed, determining the function type of a page to be developed of the subsystem;
selecting a target page template matched with the function type of the page to be developed from a preset page template library; the target page template is preset with page layout corresponding to the function type of the page to be developed and more than one component, the component is provided with more than one data filter, and the data filter is used for screening data from a specified docking database and presenting the data on the component;
if the target page template has a data item to be configured, configuring a data value of the data item;
and generating the page to be developed according to the target page template and the configured data values of the data items.
According to the technical scheme, the embodiment of the invention has the following advantages:
in the embodiment of the invention, when a new subsystem is accessed, firstly, the function type of a page to be developed of the subsystem is determined; then, selecting a target page template matched with the function type of the page to be developed from a preset page template library; the target page template is preset with page layout corresponding to the function type of the page to be developed and more than one component, the component is provided with more than one data filter, and the data filter is used for screening data from a specified docking database and presenting the data on the component; if the target page template has a data item to be configured, configuring a data value of the data item; and finally, generating the page to be developed according to the target page template and the configured data values of the data items. Therefore, when a new subsystem is accessed under a large system, the page development of the subsystem can be rapidly completed by selecting the page template matched with the function type and configuring necessary data items, the repeated development on the page layout and other common parameters (such as data screened from a database by a data filter) is avoided, redundant codes are reduced, the development efficiency is improved, and the development cost is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a flowchart of an embodiment of a method for developing a sub-system page according to the present invention;
FIG. 2 is a schematic flow chart illustrating a method for developing a sub-system page in an application scenario in which a page template is generated in advance according to an embodiment of the present invention;
FIG. 3 is a schematic flowchart illustrating a data filter configuration process in an application scenario for a method for developing a sub-system page according to an embodiment of the present invention;
FIG. 4 is a schematic flowchart illustrating a method for developing a sub-system page according to an embodiment of the present invention, in which a data filter is idle and triggered in an application scenario;
FIG. 5 is a diagram illustrating an embodiment of a development apparatus for a sub-system page according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a server according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a development method of a subsystem page, a storage medium and a server, which are used for solving the problems that a large amount of development code redundancy is easily caused by page development and the development efficiency is low.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, an embodiment of a method for developing a sub-system page according to an embodiment of the present invention includes:
101. when a new subsystem is accessed, determining the function type of a page to be developed of the subsystem;
in this embodiment, when a new subsystem needs to be accessed to a large system, the subsystem may have multiple pages to be developed, such as a home page, a service application page, a search page, and the like, most of the pages are commonly used by the subsystems, and most of the pages are the same in page layout and functional components, so that a corresponding page template can be found from a preset page template library. In this embodiment, the page templates are classified according to the types of page functions, so that the function type of the page to be developed of the subsystem needs to be determined first.
It is understood that the above-mentioned function types may include "show", "search", "interact", "basic", and the like, and each page template in the page template library may be classified according to the function types.
102. Selecting a target page template matched with the function type of the page to be developed from a preset page template library; the target page template is preset with page layout corresponding to the function type of the page to be developed and more than one component, the component is provided with more than one data filter, and the data filter is used for screening data from a specified docking database and presenting the data on the component;
after the function type of the page to be developed is determined, a target page template matched with the function type of the page to be developed can be selected from a preset page template library. For example, if the function type of the page to be developed is "show", the page template classified as "show" from the page template library may be determined as the target page template. If more than two page templates classified as 'show' exist, one page template can be randomly selected from the page templates, or the page templates in the 'show' classification can be all provided for the user to select, and one of the page templates selected by the user is determined as the target page template.
It should be noted that, in this embodiment, each page template includes a page layout corresponding to the function classification and more than one component. The attributes of each component may include static data and/or dynamic data, the static data includes text, pictures, etc., and the dynamic data is obtained by filtering through a data filter accessing a designated docking database. Therefore, if the attribute of a component needs to include dynamic data, the component needs to be provided with more than one data filter correspondingly, and the data filters can dynamically screen out data meeting requirements or conditions from an accessed docking database and then import the screened data into the component for presentation.
Further, with respect to the properties of the components, the server executing the development method of the subsystem page may employ a component configuration file to configure the properties of the components. The storage address of each static data of the component and each data filter can be defined in the component configuration file, and the definition and configuration of the component attributes are completed. Therefore, the attributes of the components on the server are uniformly configured in a component configuration file mode, management and maintenance of the components are facilitated, and therefore when the components are used by the page templates in the page template library, addition, deletion and attribute modification of the components are more flexible, and flexibility of configuration of the page templates is indirectly improved.
Further, as shown in fig. 2, the page template in the page template library may be generated in advance by the following steps:
201. determining a first page layout required by a page template to be generated;
202. selecting more than one first assembly from a preset assembly library;
203. inserting the selected first component into the designated position of the first page layout;
204. configuring static data and/or data filters for each of the first components on the first page layout;
205. after the configuration of each first component on the first page layout is completed, generating a new page template according to the first page layout and each first component on the first page layout;
206. establishing a corresponding relation between the new page template and at least one function type;
207. and storing the new page template to the page template library.
For step 201, when a new page template needs to be generated, it is first necessary to determine what page layout is needed for the page template to be generated, i.e., determine the first page layout. Preferably, the operation of the user is simple, one page layout can be selected from the page layouts used by the existing page templates, and the first page layout is obtained by modifying the selected page layout.
For step 202, after the first page layout is determined, components need to be set on the first page layout, so that a required component, i.e., the first component described above, can be selected from the component library. The component library of the embodiment is pre-stored with each existing component on the server, so that each component can be managed and used uniformly.
For step 203, after the first components are selected, the first components are inserted into the designated positions of the first page layout. For example, a configuration bit of the component is reserved at the top end right above the first page layout, and the "search" component may be inserted into the configuration bit to complete the configuration of the "search" component on the first page layout.
With respect to step 204, it can be understood that, for the first components configured on the first page layout, some first components may not need to configure corresponding static data or data filters, and some first components may need to configure static data and/or data filters according to personalized needs of the user, at this time, the server may prompt the user to configure the static data and/or data filters for the first components that need to be configured.
For steps 205 and 206, after each first component on the first page layout completes configuration, a new page template may be generated according to the first page layout and each first component on the first page layout, and then a corresponding relationship between the new page template and a function type is established. One page template can establish a corresponding relationship with one function type, and can also establish a corresponding relationship with more than two function types.
For step 207, after the new page template is generated, it needs to be stored in the page template library, which is convenient for other subsequently accessed subsystems to use.
103. Judging whether a data item to be configured exists on the target page template, if so, executing a step 104, otherwise, executing a step 105;
it will be appreciated that most page templates have data items to be configured that can only be used normally after configuring the corresponding attribute values. For example, a page template is configured with a "text scroll" component that functions to scroll through the text content on the page. Since the text scrolling component exists as a part of the template on the page template, the text content required to be displayed for different subsystems is different and needs to be set or configured by the user, and thus the text content displayed by the text scrolling component is the above-mentioned "data item to be configured".
104. Configuring a data value of the data item;
it can be understood that if the data items to be configured exist on the target page template, the user can perform personalized configuration on the data items according to the needs of the subsystem.
105. And generating the page to be developed according to the target page template and the configured data values of the data items.
After the target page template is obtained and each data item on the target page template is configured (either pre-configured or configured by the user in step 104), the page to be developed may be generated according to the target page template and the configured data value of each data item, so as to complete the rapid development of the page to be developed on the subsystem.
It should be noted that, if two or more pages to be developed exist on the subsystem, the server may perform the above steps 101 to 105 on each page to be developed, respectively generate corresponding pages, and complete the page development of the new subsystem accessed this time after all pages to be developed of the subsystem are generated.
Further, in this embodiment, in order to improve the configurability of the data filter, as shown in fig. 3, the data filter may be configured by the following steps:
301. establishing a corresponding relation between the data filter and a specified docking database;
302. setting a screening condition when the data filter screens data;
303. and setting the time interval of screening data by the data filter and the appointed storage position of the screened data.
It can be understood that, for the above steps 301 to 303, since the data filter needs to screen data from the docking database, the docking database accessed by the data filter needs to be configured when the data filter is set; on the other hand, it is necessary to set a filtering condition, a time interval (or a filtering cycle) and a storage location of the filtered data when filtering the data by the data filter. The filtering condition can be determined according to the actual needs of the subsystem, for example, if the current data filter is used for filtering the customer name in the database, the filtering condition can be set as the filtering rule of the related name. The time interval may be every hour, every two hours, or even every day, and is not particularly limited.
It should be noted that, in order to ensure that dynamic data on a page can be quickly acquired after the page is loaded in this embodiment, if a plurality of data filters are arranged in a certain page and the data volume of the docking database corresponding to the data filters is huge, the real-time data screening inevitably causes slow loading of the page, and even causes phenomena such as loading errors and server locking. Therefore, in this embodiment, a time interval may be set for each data filter, and after the time interval is reached, no matter whether the page is loaded or not, the server automatically triggers the corresponding data filter to perform data screening, and stores the screened data in the specified storage location. Therefore, when the page is loaded, the data screened last time is directly acquired from the specified storage position and is imported into the page, so that the acquisition and loading of dynamic data can be completed, the burden of a system and a server is lightened, and the loading speed of the subsystem page is improved.
Therefore, preferably, after the page to be developed is generated according to the target page template and the configured data values of the data items, when the page to be developed is loaded, the screened data may be obtained from the specified storage location of the data filter, and the screened data is presented on the component where the data filter is located on the page to be developed.
Further, when the number of data filters for accessing the database is huge, in order to reduce the burden of interfacing the database, as shown in fig. 4, the method for developing the subsystem page may further include:
401. establishing a task to be executed for the data filter when the current system time meets the time interval requirement of the data filter;
402. judging whether the current system time is a designated system idle time period or an idle time period of the docking database, if so, executing a step 403, and if not, continuing to wait;
403. and triggering the data filter to screen data according to the task to be executed, and storing the screened data to the specified storage position.
With respect to step 401, it can be appreciated that, assuming the time interval is set to be hourly, a task to be performed is established for the data filter every other hour. If N data filters exist and the time intervals of the data filters are all 1 hour, N tasks to be executed are established every other hour.
With respect to steps 402 and 403, it is understood that if the data filtering operation of the data filter is performed when the system or the database is busy, the data filtering operation of the data filter is likely to cause an overload on the system or the docking database, and in a severe case, the system or the docking database is down. For this purpose, the data screening work may be selected when the system or the docking database is in the idle time period, and by determining whether the current system time is the specified system idle time period or the idle time period of the docking database, if yes, the data screening work in step 403 is executed, and if not, the data screening work is continued to wait.
It can be understood that, when step 102 is executed, since not all the function types may necessarily find the corresponding page templates in the page template library, there may be a case that a matching target page template cannot be found, and therefore, in this embodiment, when there is no target page template matching the function type of the page to be developed from a preset page template library, the function type and the page requirement of the page to be developed may be sent to a designated administrator, so that the designated administrator develops a corresponding page template according to the function type and the page requirement of the page to be developed, and stores the developed page template in the page template library.
In this embodiment, when a new subsystem is accessed, first, the function type of a page to be developed of the subsystem is determined; then, selecting a target page template matched with the function type of the page to be developed from a preset page template library; the target page template is preset with page layout corresponding to the function type of the page to be developed and more than one component, the component is provided with more than one data filter, and the data filter is used for screening data from a specified docking database and presenting the data on the component; if the target page template has a data item to be configured, configuring a data value of the data item; and finally, generating the page to be developed according to the target page template and the configured data values of the data items. Therefore, when a new subsystem is accessed under a large system, the page development of the subsystem can be rapidly completed by selecting the page template matched with the function type and configuring necessary data items, the repeated development on the page layout and other common parameters (such as data screened from a database by a data filter) is avoided, redundant codes are reduced, the development efficiency is improved, and the development cost is reduced.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
The development method of the sub-system page is mainly described above, and a detailed description will be given below of a development device of the sub-system page.
Fig. 5 is a block diagram illustrating an embodiment of a development apparatus for a sub-system page according to an embodiment of the present invention.
In this embodiment, an apparatus for developing a sub-system page includes:
a function type determining module 501, configured to determine a function type of a page to be developed of a new subsystem when the new subsystem is accessed;
a page template selecting module 502, configured to select a target page template matching the function type of the page to be developed from a preset page template library; the target page template is preset with page layout corresponding to the function type of the page to be developed and more than one component, the component is provided with more than one data filter, and the data filter is used for screening data from a specified docking database and presenting the data on the component;
a data value configuration module 503, configured to configure a data value of a data item to be configured if the data item exists on the target page template;
a page generating module 504, configured to generate the page to be developed according to the target page template and the configured data values of the data items.
Further, the page template in the page template library may be generated in advance by:
the page layout determining module is used for determining a first page layout required by a page template to be generated;
the first component selection module is used for selecting more than one first component from a preset component library;
the component inserting module is used for inserting the selected first component into the specified position of the first page layout;
a data configuration module for configuring static data and/or data filters for each of the first components on the first page layout;
a page template generating module, configured to generate a new page template according to the first page layout and each first component on the first page layout after each first component on the first page layout completes configuration;
the page relation establishing module is used for establishing the corresponding relation between the new page template and at least one function type;
and the template storage module is used for storing the new page template to the page template library.
Further, the data filter may be configured by:
the filter relation establishing module is used for establishing the corresponding relation between the data filter and the appointed docking database;
the screening condition setting module is used for setting screening conditions when the data filter screens data;
the storage position setting module is used for setting the time interval of the data filter for screening the data and the designated storage position of the screened data;
the device for developing the subsystem page may further include:
and the data presentation module is used for acquiring the screened data from the specified storage position of the data filter when the page to be developed is loaded, and presenting the screened data on the component where the data filter is positioned on the page to be developed.
Further, the device for developing the subsystem page may further include:
the task establishing module is used for establishing a task to be executed for the data filter when the current system time meets the time interval requirement of the data filter;
the idle judging module is used for judging whether the current system time is the designated system idle time period or the idle time period of the docking database;
and the data screening module is used for triggering the data filter to screen data according to the task to be executed if the judgment result of the idle judgment module is positive, and storing the screened data to the specified storage position.
Further, the device for developing the subsystem page may further include:
and the sending module is used for sending the function type and the page requirement of the page to be developed to a designated administrator if a target page template matched with the function type of the page to be developed does not exist in a preset page template library, so that the designated administrator develops a corresponding page template according to the function type and the page requirement of the page to be developed and stores the developed page template to the page template library.
Fig. 6 is a schematic diagram of a server according to an embodiment of the present invention. As shown in fig. 6, the server 6 of this embodiment includes: a processor 60, a memory 61 and a computer program 62 stored in said memory 61 and executable on said processor 60, such as a program performing the above described method of development of a subsystem page. The processor 60, when executing the computer program 62, implements the steps in the above-described embodiments of the method for developing a subsystem page, such as the steps 101 to 105 shown in fig. 1. Alternatively, the processor 60, when executing the computer program 62, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 501 to 504 shown in fig. 5.
Illustratively, the computer program 62 may be partitioned into one or more modules/units that are stored in the memory 61 and executed by the processor 60 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 62 in the server 6.
The server 6 may be a local server, a cloud server, or other computing device. The server may include, but is not limited to, a processor 60, a memory 61. Those skilled in the art will appreciate that fig. 6 is merely an example of a server 6 and does not constitute a limitation of the server 6, and may include more or fewer components than shown, or some components in combination, or different components, e.g., the server may also include input output devices, network access devices, buses, etc.
The Processor 60 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 61 is at least one type of computer readable storage medium, and may be an internal storage unit of the server 6, such as a hard disk or a memory of the server 6. The memory 61 may also be an external storage device of the server 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a flash memory Card (FlashCard), and the like, which are provided on the server 6. Further, the memory 61 may also include both an internal storage unit of the server 6 and an external storage device. The memory 61 is used for storing the computer program and other programs and data required by the server. The memory 61 may also be used to temporarily store data that has been output or is to be output.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art would appreciate that the modules, elements, and/or method steps of the various embodiments described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A development method of a subsystem page is characterized by comprising the following steps:
when a new subsystem is accessed, determining the function type of a page to be developed of the subsystem;
selecting a target page template matched with the function type of the page to be developed from a preset page template library; the target page template is preset with page layout corresponding to the function type of the page to be developed and more than one component, the component is provided with more than one data filter, and the data filter is used for screening data from a specified docking database and presenting the data on the component; wherein the data filter is configured by: establishing a corresponding relation between the data filter and a specified docking database; setting a screening condition when the data filter screens data; setting a time interval for screening data by the data filter and an appointed storage position of the screened data;
if the target page template has a data item to be configured, configuring a data value of the data item;
generating the page to be developed according to the target page template and the configured data values of the data items;
the method further comprises the following steps: when a target page template matched with the function type of the page to be developed does not exist in a preset page template library, the function type and the page requirement of the page to be developed are sent to a designated administrator, the designated administrator develops a corresponding page template according to the function type and the page requirement of the page to be developed, and the developed page template is stored in the page template library.
2. The method for developing the subsystem page according to claim 1, wherein the page template in the page template library is generated in advance by the following steps:
determining a first page layout required by a page template to be generated;
selecting more than one first assembly from a preset assembly library;
inserting the selected first component into the designated position of the first page layout;
configuring static data and/or data filters for each of the first components on the first page layout;
after the configuration of each first component on the first page layout is completed, generating a new page template according to the first page layout and each first component on the first page layout;
establishing a corresponding relation between the new page template and at least one function type;
and storing the new page template to the page template library.
3. The method for developing a subsystem page according to claim 1,
after the page to be developed is generated according to the target page template and the configured data values of the data items, the method further comprises the following steps:
and when the page to be developed is loaded, acquiring the screened data from the specified storage position of the data filter, and displaying the screened data on the component where the data filter is positioned on the page to be developed.
4. The method for developing a subsystem page according to claim 3, wherein the method for developing a subsystem page further comprises:
establishing a task to be executed for the data filter when the current system time meets the time interval requirement of the data filter;
judging whether the current system time is a designated system idle time period or an idle time period of the docking database;
and if the current system time is the designated system idle time period or the current system time is the idle time period of the butting database, triggering the data filter to screen data according to the task to be executed, and storing the screened data to the designated storage position.
5. The method for developing the subsystem page according to any one of claims 1 to 4, wherein the method for developing the subsystem page further comprises:
if the target page template matched with the function type of the page to be developed does not exist in a preset page template library, the function type and the page requirement of the page to be developed are sent to a designated administrator, so that the designated administrator can develop a corresponding page template according to the function type and the page requirement of the page to be developed, and the developed page template is stored in the page template library.
6. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method for developing a subsystem page according to any one of claims 1 to 5.
7. A server comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor when executing the computer program implements the steps of:
when a new subsystem is accessed, determining the function type of a page to be developed of the subsystem;
selecting a target page template matched with the function type of the page to be developed from a preset page template library; the target page template is preset with page layout corresponding to the function type of the page to be developed and more than one component, the component is provided with more than one data filter, and the data filter is used for screening data from a specified docking database and presenting the data on the component; wherein the data filter is configured by: establishing a corresponding relation between the data filter and a specified docking database; setting a screening condition when the data filter screens data; setting a time interval for screening data by the data filter and an appointed storage position of the screened data;
if the target page template has a data item to be configured, configuring a data value of the data item;
generating the page to be developed according to the target page template and the configured data values of the data items;
the processor, when executing the computer program, further implements: when a target page template matched with the function type of the page to be developed does not exist in a preset page template library, the function type and the page requirement of the page to be developed are sent to a designated administrator, the designated administrator develops a corresponding page template according to the function type and the page requirement of the page to be developed, and the developed page template is stored in the page template library.
8. The server according to claim 7, wherein the page template in the page template library is generated in advance by:
determining a first page layout required by a page template to be generated;
selecting more than one first assembly from a preset assembly library;
inserting the selected first component into the designated position of the first page layout;
configuring static data and/or data filters for each of the first components on the first page layout;
after the configuration of each first component on the first page layout is completed, generating a new page template according to the first page layout and each first component on the first page layout;
establishing a corresponding relation between the new page template and at least one function type;
and storing the new page template to the page template library.
9. The server according to claim 7, further comprising, after generating the page to be developed according to the target page template and the configured data values of the data items:
and when the page to be developed is loaded, acquiring the screened data from the specified storage position of the data filter, and displaying the screened data on the component where the data filter is positioned on the page to be developed.
10. The server of claim 9, wherein the processor, when executing the computer program, further comprises:
establishing a task to be executed for the data filter when the current system time meets the time interval requirement of the data filter;
judging whether the current system time is a designated system idle time period or an idle time period of the docking database;
and if the current system time is the designated system idle time period or the current system time is the idle time period of the butting database, triggering the data filter to screen data according to the task to be executed, and storing the screened data to the designated storage position.
CN201710711628.6A 2017-08-18 2017-08-18 Development method of subsystem pages, storage medium and server Active CN107506193B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710711628.6A CN107506193B (en) 2017-08-18 2017-08-18 Development method of subsystem pages, storage medium and server
PCT/CN2017/104539 WO2019033520A1 (en) 2017-08-18 2017-09-29 Subsystem page development method, storage medium and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710711628.6A CN107506193B (en) 2017-08-18 2017-08-18 Development method of subsystem pages, storage medium and server

Publications (2)

Publication Number Publication Date
CN107506193A CN107506193A (en) 2017-12-22
CN107506193B true CN107506193B (en) 2020-05-22

Family

ID=60691166

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710711628.6A Active CN107506193B (en) 2017-08-18 2017-08-18 Development method of subsystem pages, storage medium and server

Country Status (2)

Country Link
CN (1) CN107506193B (en)
WO (1) WO2019033520A1 (en)

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228175A (en) * 2017-12-29 2018-06-29 深圳乐信软件技术有限公司 Movable backstage development approach, device, server and medium
CN108762729A (en) * 2018-05-07 2018-11-06 北京五八信息技术有限公司 A kind of method, apparatus of page makeup, computer equipment and storage medium
CN110968311B (en) * 2018-09-30 2024-01-05 北京嘀嘀无限科技发展有限公司 Front-end page construction method and device and electronic equipment
CN109542433A (en) * 2018-10-17 2019-03-29 深圳壹账通智能科技有限公司 Product page face generates method, apparatus, computer equipment and storage medium
CN109542399B (en) * 2018-10-25 2021-08-10 深圳市金证科技股份有限公司 Software development method and device, terminal equipment and computer readable storage medium
CN111367514B (en) * 2018-12-25 2023-04-28 阿里巴巴集团控股有限公司 Page card development method and device, computing device and storage medium
CN111435300A (en) * 2019-01-15 2020-07-21 北大方正信息产业集团有限公司 Web system development method, device, equipment and storage medium
CN110209378A (en) * 2019-04-26 2019-09-06 平安科技(深圳)有限公司 Page generation method, device, terminal and storage medium
CN110058856B (en) * 2019-04-28 2023-08-01 恒生电子股份有限公司 Page configuration method and device
CN110263618B (en) * 2019-04-30 2023-10-20 创新先进技术有限公司 Iteration method and device of nuclear body model
CN110347953B (en) * 2019-05-20 2024-05-28 中国平安财产保险股份有限公司 Page generation method, page generation device, computer equipment and storage medium
CN110308905B (en) * 2019-06-26 2023-09-08 北京奇艺世纪科技有限公司 Page component matching method and device
CN110427186B (en) * 2019-07-26 2023-08-15 广东信通通信有限公司 Command service page information display method, device and equipment based on window
CN110457026A (en) * 2019-08-01 2019-11-15 上海麦克风文化传媒有限公司 A kind of configurable method for updating pages
CN112329413A (en) * 2019-08-02 2021-02-05 阿里巴巴集团控股有限公司 Template building method, file generation method, template system, device and computer equipment
CN110928613A (en) * 2019-09-29 2020-03-27 京东数字科技控股有限公司 Method and device for acquiring page data, electronic equipment and readable storage medium
CN110968309B (en) * 2019-10-15 2021-11-12 京东数字科技控股有限公司 Template generation method and device, electronic equipment and storage medium
CN111027299A (en) * 2019-10-18 2020-04-17 深圳智慧园区信息技术有限公司 Form generation method and system
CN110908657A (en) * 2019-11-15 2020-03-24 中国人民财产保险股份有限公司 Product generation method and device
CN111209312B (en) * 2020-01-02 2023-11-03 微民保险代理有限公司 Page data processing method, device, computer equipment and storage medium
CN111190657B (en) * 2020-01-07 2022-07-05 北京字节跳动网络技术有限公司 Activity configuration method and device, readable medium and electronic equipment
CN111400145B (en) * 2020-03-31 2022-09-09 厦门科灿信息技术有限公司 Configuration method and device of flow chart monitoring page and terminal equipment
CN111857810A (en) * 2020-07-30 2020-10-30 上海妙一生物科技有限公司 Front-end development file creating method and device and electronic equipment
CN112667237A (en) * 2020-12-30 2021-04-16 长沙市到家悠享网络科技有限公司 Page generation method and device, electronic equipment and storage medium
CN114816568B (en) * 2022-04-13 2024-05-14 北京达佳互联信息技术有限公司 Page configuration method, page configuration device, electronic equipment and storage medium
CN115543323B (en) * 2022-11-29 2023-03-17 共道网络科技有限公司 Page development method and device
CN116009858A (en) * 2022-12-20 2023-04-25 东方邦信金融科技(上海)有限公司 Page development method, page development device, electronic equipment and computer readable storage medium
CN116610242A (en) * 2023-05-05 2023-08-18 广州市玄武无线科技股份有限公司 Service subsystem integration method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708484A (en) * 2015-11-13 2017-05-24 阿里巴巴集团控股有限公司 Page creating method and apparatus
CN106775645A (en) * 2016-11-23 2017-05-31 山东浪潮云服务信息科技有限公司 A kind of page info collocation method and device
CN106933551A (en) * 2015-12-30 2017-07-07 北京国双科技有限公司 Configuration processing method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101165685A (en) * 2006-10-19 2008-04-23 国际商业机器公司 Dynamic web page generation method and system
CN101354725B (en) * 2008-09-08 2011-08-10 中兴通讯股份有限公司 Method and apparatus for constructing and analyzing WAP page

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708484A (en) * 2015-11-13 2017-05-24 阿里巴巴集团控股有限公司 Page creating method and apparatus
CN106933551A (en) * 2015-12-30 2017-07-07 北京国双科技有限公司 Configuration processing method and device
CN106775645A (en) * 2016-11-23 2017-05-31 山东浪潮云服务信息科技有限公司 A kind of page info collocation method and device

Also Published As

Publication number Publication date
WO2019033520A1 (en) 2019-02-21
CN107506193A (en) 2017-12-22

Similar Documents

Publication Publication Date Title
CN107506193B (en) Development method of subsystem pages, storage medium and server
CN108958714B (en) Business component type development method and device, computer equipment and storage medium
CN109783757B (en) Method, device and system for rendering webpage, storage medium and electronic device
CN108038894B (en) Animation creation method, animation creation device, electronic equipment and computer-readable storage medium
CN108304318B (en) Device compatibility testing method and terminal device
CN110928802A (en) Test method, device, equipment and storage medium based on automatic generation of case
CN109145034B (en) Resource presentation method and device and computer terminal
CN110084486B (en) Resource management method and device
CN109491763A (en) A kind of system deployment method, apparatus and electronic equipment
CN110837366A (en) Form generation method, electronic device and computer readable storage medium
US10204187B1 (en) Method and system for implementing data reduction for waveform data
CN106020752A (en) Method and system for self-adaptation display
CN113641719A (en) Data processing method, data processing device, computer and storage medium
CN109871205A (en) GUI code method of adjustment, device, computer installation and storage medium
CN106648338B (en) Method and device for editing data
CN113407254A (en) Form generation method and device, electronic equipment and storage medium
CN112765505A (en) Data loading method and device and storage medium
CN112527280A (en) Interface display method and device, server and readable storage medium
CN108255549B (en) Server program visual control method and device
CN112559576A (en) Data display method, system, device, storage medium and electronic equipment
CN113272785A (en) Method for mounting file system, terminal equipment and storage medium
CN114356330A (en) Page configuration method and device, electronic equipment and storage medium
CN112463202B (en) Configuration method and device of operating system functional components
CN114020187A (en) Font icon display method and device and electronic equipment
CN112631949A (en) Debugging method and device, computer 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
GR01 Patent grant
GR01 Patent grant