The multiple dynamic page design method that complicated business drives
Technical field
The present invention relates to multiple dynamic page design or method for updating that complicated business drives, multiple dynamic page design of especially telecommunication service system or method for updating.
Background technology
At present, the telecommunication service system generally is designed to the multi-layer framework of B/S/S (Browse/Application Server/Database Server), wherein the forms of static Web or individual layer dynamic page are adopted at the interface of system more, the component that the static Web page is about to the page writes in the html file, the individual layer dynamic page is the data that the part component on the page is taken from certain table in the data bank service data definition layer, such as the content of combo box on the page etc., this individual layer dynamic page is because there is partial content to take from the database, therefore than static Web flexible page.
But the individual layer dynamic page directly reads the information of business datum definition layer in the operation system mostly, and along with the changes in demand of telecommunication service system, the information of the business datum definition layer of operation system also can change thereupon, and often need corresponding modification is carried out at the interface this moment.And if the frequent variation of the information that the individual layer dynamic page uses, this moment system maintenance workload will increase.
Support the method for dynamic updating of page as the CN01103786.5 that has been authorized to: when new page of exploitation, utilize initialization module with regional initialization; Utilize refresh module to give this initialization area to refresh this zone with text strings; Utilize zone after data exchange module refreshes this to carry out exchanges data, finish dynamically updating and operation that Data Dynamic provides of this page thus to show fresh content in this square; Utilize the internal control of replacement module again initialization to be carried out in the zone of having upgraded.Realize whole or certain local the dynamically updating of the page, and support that finishing dynamic data provides.
CN200410009821.8 realizes the method for tree in the B/S structure: 1) interface that generates data is set, by the setting that the paired tree of setting up of profile information is shown, the information of needs setting is write the ini file of configuration; 2) the free configuring static pattern of user; 3) dynamic data imports into, and dynamic data imports a tabulation into by the called side program, will data presented import into; 4) information acquisition of server end and the tree generating structure, by having used node object and tree object, finished the function that tree generates; 5) server-side dynamic pages generates jsp; 6) client terminal web page dynamic script layer, client are chosen in the user page is once asked after with the download of information of tree to local; 7) data in the tree are preserved in the demonstration effect of Html static page, with the child node of the same father node in the tree, are presented in the page with the form of div, and cooperate the script of the page to carry out the demonstration of data.
Summary of the invention
The present invention seeks to: propose the multiple dynamic page design method that a kind of complicated business drives, at the changeable characteristics of telecommunication service system requirements, for increasing the dirigibility of INTERFACE DESIGN, reduce the maintenance workload of system, when INTERFACE DESIGN, adopted the method for designing of multiple dynamic page, made the parametrization configuration that separates and realize the INTERFACE DESIGN element of the business datum definition layer of INTERFACE DESIGN element and operation system.
The technology of the present invention solution is: the multiple dynamic page design method that complicated business drives just adds one deck INTERFACE DESIGN element definition layer between the business datum definition layer of operation system database and operation system interface.INTERFACE DESIGN element definition layer is also realized in database, in database, defined entities such as the detailed attribute of database object, database object detail, design object, design object detail, design object relation, design object attribute, design object and described INTERFACE DESIGN element definition layer, the relation of these inter-entity as shown in Figure 1:
At first, with the entity information format record on request in the operation system business datum definition layer in the database object entity, simultaneously with the details format record on request of these entities in the detailed entity of database object, next with the design element format record on request that needs in the INTERFACE DESIGN in the design object entity, simultaneously with the details format record on request of these design objects in the detailed entity of design object, and set up the mapping relations of the detailed and database object detail of design object, define the mapping relations between design object entity and the design object detail entity simultaneously.
When carrying out INTERFACE DESIGN, on the page, choose the appropriate designs object, by the mapping relations between design object and design object detail, and the mapping relations between design object detail and database object detail, promptly know on the interface, present those business elements, rather than directly directly read the business datum definition layer and obtain these information by program.
When business demand changes, business information in the business datum definition layer can be along with changing, at this moment, by the definition of configuration tool to database object, database object detail, and the mapping relations between design object detail and the database object detail are made amendment, promptly these variations can be embodied on the interface, and not need to realize this function by revising the dynamic page program.
Owing to add INTERFACE DESIGN element definition layer, thereby changed the situation on the data definition that individual layer dynamic page design median surface design element directly corresponds to operation system, but the business information in the business datum definition layer of definition of the design element in the INTERFACE DESIGN element definition layer and operation system is set up mapping relations, this mapping relations are mapping relations of a kind of multi-to-multi, be a design element in the INTERFACE DESIGN element definition layer business information in can corresponding one or more business datum definition layer, and a business information of business datum definition layer also can be mapped in one or more INTERFACE DESIGN element definitions.
Characteristics of the present invention are: realize the separating of business datum definition layer of INTERFACE DESIGN element and operation system, and realized the parametrization configuration of INTERFACE DESIGN element.When carrying out the dynamic page design, the design element of the page is directly taken from the design object in the INTERFACE DESIGN element definition layer, like this when carrying out the INTERFACE DESIGN of operation system, only need design some masterplates by the art designing personnel, and in these masterplates, insert the design object that needs by the developer, improved the efficient of INTERFACE DESIGN so greatly.Simultaneously when business demand changes, as long as by INTERFACE DESIGN element arrangements instrument to the business demand variable effect to the INTERFACE DESIGN element definition make amendment, and do not need directly to revise the dynamic page file, this maintaining method has improved the convenience of system maintenance work greatly, has reduced the workload of maintenance work.
Description of drawings
Fig. 1 is a dynamic page block diagram of the present invention
Wherein:
● database object: the information of having described entity in the operation system business datum definition layer.
● database object detail: the details of having described entity in the operation system business datum definition layer.
● design object: described design element in the INTERFACE DESIGN element definition layer
● design object detail: the details of having described design element in the INTERFACE DESIGN element definition layer
● design object relation: described the logical relation between design element in the INTERFACE DESIGN element definition layer (relatively prime, comprise etc.).
● relation is detailed: describe the details that concern between design element.
● design object attribute: the attribute of having described design element in the INTERFACE DESIGN element definition layer.
● the detailed attribute of design object: the attribute of having described design element detail in the INTERFACE DESIGN element definition layer.
● attribute type: the type that has defined the detailed attribute of design object attribute and design object.
Embodiment
Suppose and will develop a telecommunication service system now, the business datum definition layer has designed and has finished, and is exactly below to carry out user interface design, and several steps was finished below INTERFACE DESIGN work this moment divided:
1, at first by configuration tool LC_PAGE_DYNCONFIG (dbase?) content of entities such as definition database object, database object detail, design object, design object detail, design object relation, design object relation detail, design object attribute, design object detail attribute, the content of these entities is by business datum definition layer and the decision of interface demand, and the form of record is by the organization definition of showing in the INTERFACE DESIGN element definition layer.Design object is to need the design considerations that presents on the interface, such as a combo box that has comprised multinomial telecommunication service is exactly a design object, having described the telecommunication service title that comprises in the combo box by the design object detail obtains in which is shown in the business datum definition layer, by the design object attribute description attribute of combo box, such as the size of combo box, the border width of combo box, border color of combo box or the like.
2, then design a series of interfaces masterplate by the art designing personnel, masterplate has defined the style (color, font, fixing picture etc.) at interface and the position of design object, can place 2 combo box class design objects, 3 button class design objects such as masterplate A, masterplate B can place 5 radio box class design objects, 1 one list box class design objects.(and insert in these masterplates by the developer design object that needs).
3, come masterplate is configured by design object configuration tool LC_DYNOBJECT, prepare to adopt masterplate A such as interface in the system, by selecting 3 combo box class objects and 2 button class objects in the design object of configuration tool from the INTERFACE DESIGN element definition layer that the first step defines, can generate a dynamic page.
4, with the dynamic page file distribution to server, this moment use browser to call this page, combo box and the button object that can on the page, select.
When 5, business demand changed, after the mapping relations by configuration tool modification database object, database object detail, design object detail and database object detail, when this opened the page with browser, content was exactly new content on the page.