CN112527859A - Flexible configuration management method based on business object - Google Patents

Flexible configuration management method based on business object Download PDF

Info

Publication number
CN112527859A
CN112527859A CN202011397988.1A CN202011397988A CN112527859A CN 112527859 A CN112527859 A CN 112527859A CN 202011397988 A CN202011397988 A CN 202011397988A CN 112527859 A CN112527859 A CN 112527859A
Authority
CN
China
Prior art keywords
data
page
business
statistical analysis
attribute
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
Application number
CN202011397988.1A
Other languages
Chinese (zh)
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.)
Inspur Cloud Information Technology Co Ltd
Original Assignee
Inspur Cloud Information Technology 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 Inspur Cloud Information Technology Co Ltd filed Critical Inspur Cloud Information Technology Co Ltd
Priority to CN202011397988.1A priority Critical patent/CN112527859A/en
Publication of CN112527859A publication Critical patent/CN112527859A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2462Approximate or statistical queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Probability & Statistics with Applications (AREA)
  • Fuzzy Systems (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a flexible configuration management method based on business objects, which is applied to the management of the business objects with similar business behaviors. The method comprises the following steps: combing the characteristics of the business object and establishing a business object model; rendering an object page and performing data operation according to the object model; and establishing an object statistical analysis model according to the object model, and rendering a statistical analysis page. The method flexibly constructs the object model for the business object, solves the problem of repeated development of the system under the condition of variable business objects, and enhances the flexibility and expandability of the system.

Description

Flexible configuration management method based on business object
Technical Field
The invention relates to the technical field of computers, in particular to a flexible configuration management method based on a business object.
Background
With the development of information technology, more things in life need to be managed through an application system or a program, and a large number of things can be objectified. For example, government strengthens government affair informatization construction, requires to manage informatization asset objects, and needs to conduct operations such as import, report, check, statistical analysis and the like on various informatization assets. However, the characteristics of the asset objects are different, and different pages need to be customized to support the same business behavior. And the same asset object characteristics defined by different management departments are inconsistent, so that the same asset object is required to be customized to different management and statistical analysis pages, and the development workload is large and tedious.
Disclosure of Invention
In order to solve the technical problems, the invention provides a flexible configuration management method based on business objects, and various different feature objects can be generated through configuration and are supported by unified business behaviors. The repeated development workload is reduced, and the development and delivery efficiency is improved.
The technical scheme of the invention is as follows:
a flexible configuration management method based on business object, according to combing the content configuration business object to generate the business object model; rendering an object page and performing data operation according to the object model; and establishing an object statistical analysis model according to the object model, and rendering a statistical analysis page.
The method comprises the steps of object configuration management, object service management and object statistical analysis management;
the object configuration management can configure specific object information;
the object service management is used for displaying specific object behavior functions such as object information, object data import, object state modification and the like;
the object statistical analysis management is used for visualization functions such as object data statistical analysis.
Further, in the above-mentioned case,
the object configuration management defines a specific service object, and configures object basic information, object attribute information, object data association and sub-object setting;
basic information shows object name, object type and object code;
the object attribute information configures the specific attribute of the object and the attribute information;
the data association configures the association relation between the object and the database table and between the object attribute and the table field, and the database table can be manually created in the database according to the carding object information or automatically created according to the attribute.
The sub-object sets the related object of the current object for the related object of the business, the sub-object is a specific business object, the configuration mode is the same as that of the common object, and only the relation between the objects is set in the sub-object setting.
Further, in the above-mentioned case,
configuring independent menu display for the configured specific object in the object service, and acquiring specific object information by the page according to the transmitted object code for displaying object page data;
configuring a display search column, a display column and a search condition according to the object attribute, and querying associated data by using JDBC according to data association; the attribute of the dictionary is configured and displayed on the page after the data value in the table is translated according to the dictionary.
According to the asset object excel import requirement, an import template needs to be downloaded first, a corresponding excel template file is generated according to object attributes when the template is downloaded, and the names of file columns are attribute names; and when the specific data is imported, corresponding to the table fields in the database according to the attribute names, and storing the data in a database.
According to actual business requirements, the state modification operation can be customized on the page, the object data codes are uniformly transmitted when the modification state is appointed, and the field names of the state field database are unified.
If the business object has the associated sub-object, the name link of the sub-object is displayed after the data is listed, and the name is clicked to inquire the display information and the data of the sub-object.
Further, in the above-mentioned case,
establishing a statistical analysis model on the basis of the business object model, wherein the statistical analysis model is used for displaying the statistical analysis conditions of different business object data; the object statistical analysis model firstly needs to configure a page template and page layout, and configures a chart form and chart data statistics sql to be displayed under each page layout, wherein the sql can be generated by dragging object attributes through pages and selecting a polymerization method, and can also be generated by directly editing the sql.
The method comprises the steps that the front end of a statistical analysis page inquires page configuration according to an incoming template number (TEMP _ CODE), displays statistical page layout and chart styles, focuses on upper and lower levels (parent _ CODE), component display sequence (sort _ order), component display structures (line _ CODE and line _ weight) and chart styles (SHOW _ CONTENT) of component display; the back end configures sql (qry _ sql) according to different components, assembles the object statistical data into a json format and provides front-end display data (CONTENT _ KEY, SHOW _ CONTENT); different pages are dynamically generated by configuring different template numbers.
The invention has the advantages that
The flexible configuration method of the business object can flexibly configure the attribute characteristics of the business object and customize various business behaviors of the object, including inquiry, import, state modification, export and the like. The statistical analysis model can be expanded on the business object base, the object statistical analysis chart can be flexibly configured, and different pages can be rendered for different objects. The method reduces the development cost of multi-service object management, improves the development efficiency and reduces the workload of repeated code development. The system can flexibly configure the service objects to be managed according to different service requirements of different users, does not need to write new codes to support new objects, and improves the efficiency of service support.
Drawings
FIG. 1 is a schematic overall workflow of the present invention;
FIG. 2 is a schematic diagram of object configuration management;
FIG. 3 is a display page prototype view 1)
Fig. 4 is a display page prototype fig. 2).
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
The flexible configuration management method based on the business object displays different data information and different statistical analysis chart pages according to the object model configuration so as to realize the function of carrying out similar business behavior management on different objects. As shown in fig. 1, includes: combing the business object characteristics, the associated data and the associated business object; configuring a business object according to the carding content to generate a business object model; and configuring a statistical analysis page model according to the business object model.
And displaying an object management page according to the configuration of the business object, wherein the business behavior can be uniformly customized. And displaying an object statistical analysis chart page according to the object statistical analysis model configuration, wherein the object statistical analysis chart page comprises chart layout, display data content, chart description and the like.
The object configuration management can configure specific object information, the object service management is used for displaying specific object behavior functions such as object information, object data import, object state modification and the like, and the object statistical analysis management is used for visualization functions such as object data statistical analysis and the like.
As shown in fig. 2, the object configuration management defines a specific service object, and may configure object basic information, object attribute information, and object associated data. The basic information shows the object name, object type, object code. The object attribute information configures specific attributes of the object, and information of the attributes, such as a dictionary corresponding to the attributes, whether to search for the items, whether to display the items, whether to sort the items, and the like. The data association configures the association relation between the object and the database table and between the object attribute and the table field, and the database table can be manually created in the database according to the carding object information or automatically created according to the attribute. The sub-object sets the related object of the current object for the related object with business, the sub-object is a specific business object, the configuration mode is the same as that of the common object, and the relation between the objects is only set in the sub-object setting.
The configured specific object can be configured with an independent menu display in the object service, and the page acquires specific object information according to the transmitted object code for displaying the object page data. And configuring a display search column, a display column and a search condition according to the object attribute, and querying related data by using JDBC according to data association. The attribute of the dictionary is configured and displayed on the page after the data value in the table is translated according to the dictionary. According to the asset object excel import requirement, an import template needs to be downloaded first, a corresponding excel template file is generated according to object attributes when the template is downloaded, and the names of file columns are the attribute names. And when the specific data is imported, corresponding to the table fields in the database according to the attribute names, and storing the data in the database. According to actual business requirements, the state modification operation (submission, deletion and the like) can be customized on the page, the object data codes are uniformly transmitted when the modification state is appointed, and the state field database field names are unified. If the business object has the related sub-object, the name link of the sub-object is displayed after the data is listed, the name can be clicked to inquire the display information and the data of the sub-object, and the inquiry display mode is similar to that of a common object. Other business object behaviors can be uniformly customized. As shown in fig. 3.
A statistical analysis model can be established on the basis of the business object model and is used for flexibly displaying the statistical analysis conditions of different business object data. The object statistical analysis model firstly needs to configure a page template and page layout, and configures a chart form and chart data statistics sql to be displayed under each page layout, wherein the sql can be generated by dragging an object attribute through a page and selecting an aggregation method, or can be generated by directly editing the sql. Generation of the Main data Structure Table is shown below
Figure BDA0002815972860000051
Figure BDA0002815972860000061
The statistical analysis page front end inquires page configuration according to an incoming template number (TEMP _ CODE), displays statistical page layout and chart styles, and mainly focuses on upper and lower component display levels (parent _ CODE), component display sequence (sort _ order), component display structures (line _ CODE and line _ weight) and chart styles (SHOW _ CONTENT). And the rear end configures sql (qry _ sql) according to different components, assembles the object statistical data into a json format and provides front-end display data (CONTENT _ KEY and SHOW _ CONTENT). Different pages are dynamically generated by configuring different template numbers, and the function of displaying the statistical analysis page of different objects by the same set of codes is realized. As shown in fig. 4.
The above description is only a preferred embodiment of the present invention, and is only used to illustrate the technical solutions of the present invention, and not to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (8)

1. A method for flexible configuration management based on business objects,
configuring a business object according to the carding content to generate a business object model; rendering an object page and performing data operation according to the object model; and establishing an object statistical analysis model according to the object model, and rendering a statistical analysis page.
2. The method of claim 1,
the method comprises the steps of object configuration management, object service management and object statistical analysis management;
the object configuration management can configure specific object information;
the object service management is used for displaying specific object behavior functions such as object information, object data import, object state modification and the like;
the object statistical analysis management is used for visualization functions such as object data statistical analysis.
3. The method of claim 1,
the object configuration management defines a specific service object, and configures object basic information, object attribute information, object data association and sub-object setting;
basic information shows object name, object type and object code;
the object attribute information configures the specific attribute of the object and the attribute information;
the data association configures the association relation between the object and the database table and between the object attribute and the table field, the database table can be manually created in the database according to the carding object information, and can also be automatically created according to the attribute;
the sub-object sets the related object of the current object for the related object of the business, the sub-object is a specific business object, the configuration mode is the same as that of the common object, and only the relation between the objects is set in the sub-object setting.
4. The method of claim 3,
configuring independent menu display for the configured specific object in the object service, and acquiring specific object information by the page according to the transmitted object code for displaying object page data;
configuring a display search column, a display column and a search condition according to the object attribute, and querying associated data by using JDBC according to data association; the attribute of the dictionary is configured, and the data values in the table are translated according to the dictionary and then displayed on a page;
according to the asset object excel import requirement, an import template needs to be downloaded first, a corresponding excel template file is generated according to object attributes when the template is downloaded, and the names of file columns are attribute names; and when the specific data is imported, corresponding to the table fields in the database according to the attribute names, and storing the data in the database.
5. The method of claim 4,
according to actual business requirements, the state modification operation can be customized on the page, the object data codes are uniformly transmitted when the modification state is appointed, and the field names of the state field database are unified.
6. The method of claim 5,
if the business object has the associated sub-object, the name link of the sub-object is displayed after the data is listed, and the name is clicked to inquire the display information and the data of the sub-object.
7. The method of claim 3,
establishing a statistical analysis model on the basis of the business object model, wherein the statistical analysis model is used for displaying the statistical analysis conditions of different business object data; the object statistical analysis model firstly needs to configure a page template and page layout, and configures a chart form and chart data statistics sql to be displayed under each page layout, wherein the sql can be generated by dragging object attributes through pages and selecting a polymerization method, and can also be generated by directly editing the sql.
8. The method of claim 7,
the method comprises the steps that the front end of a statistical analysis page inquires page configuration according to an incoming template number (TEMP _ CODE), displays statistical page layout and chart styles, focuses on upper and lower levels (parent _ CODE), component display sequence (sort _ order), component display structures (line _ CODE and line _ weight) and chart styles (SHOW _ CONTENT) of component display; the back end configures sql (qry _ sql) according to different components, assembles the object statistical data into a json format and provides front-end display data (CONTENT _ KEY and SHOW _ CONTENT); different pages are dynamically generated by configuring different template numbers.
CN202011397988.1A 2020-12-04 2020-12-04 Flexible configuration management method based on business object Pending CN112527859A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011397988.1A CN112527859A (en) 2020-12-04 2020-12-04 Flexible configuration management method based on business object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011397988.1A CN112527859A (en) 2020-12-04 2020-12-04 Flexible configuration management method based on business object

Publications (1)

Publication Number Publication Date
CN112527859A true CN112527859A (en) 2021-03-19

Family

ID=74997316

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011397988.1A Pending CN112527859A (en) 2020-12-04 2020-12-04 Flexible configuration management method based on business object

Country Status (1)

Country Link
CN (1) CN112527859A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102034134A (en) * 2009-09-27 2011-04-27 和舰科技(苏州)有限公司 Integrated project management system and method
CN106920067A (en) * 2017-01-18 2017-07-04 上海爱韦讯信息技术有限公司 The organization assetses management system and method for customizable
CN109445794A (en) * 2018-11-12 2019-03-08 北京中电普华信息技术有限公司 A kind of page building method and device
CN110321113A (en) * 2019-07-09 2019-10-11 苏宁消费金融有限公司 Using project batch as the integrated pipeline system and its working method of standard

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102034134A (en) * 2009-09-27 2011-04-27 和舰科技(苏州)有限公司 Integrated project management system and method
CN106920067A (en) * 2017-01-18 2017-07-04 上海爱韦讯信息技术有限公司 The organization assetses management system and method for customizable
CN109445794A (en) * 2018-11-12 2019-03-08 北京中电普华信息技术有限公司 A kind of page building method and device
CN110321113A (en) * 2019-07-09 2019-10-11 苏宁消费金融有限公司 Using project batch as the integrated pipeline system and its working method of standard

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
于雪薇: "基于BIM平台的电力工程造价管理系统的设计与实现", 《中国优秀博硕士学位论文全文数据库(硕士) 工程科技Ⅱ辑》 *

Similar Documents

Publication Publication Date Title
US9727836B2 (en) Systems and methods for generating data visualization dashboards
WO2019095424A1 (en) Data acquisition method and device, storage medium and terminal
CN103020158A (en) Report form creation method, device and system
CN112015412A (en) Device and method for generating business model based on form engine
CN115544183B (en) Data visualization method, device, computer equipment and storage medium
CN112000687A (en) Business account table generation method and device, computer equipment and storage medium
CN111340447A (en) Configuration-based business process management method and device
CN108363684A (en) List creation method, device and server
CN113032633A (en) Method for customizing table by using reference data item
CN113741860A (en) Data processing method and device based on RPA robot
CN114327458A (en) Method and system for quickly building enterprise informatization system
CN116401407A (en) Node attribute configuration method, device, equipment and storage medium of mind map
CN113535749A (en) Query statement generation method and device
US12086538B2 (en) Method for generating online report using form structure definition DB, and computer program for same
CN109033157B (en) Complex data retrieval method and system based on user-defined search condition tree
CN112527859A (en) Flexible configuration management method based on business object
EP2830289B1 (en) Adaptable reporting in a multi-client telecommunication network
CN110780970A (en) Data screening method, device, equipment and computer readable storage medium
CN112164433A (en) Hospital background data processing method and system
CN112905558A (en) Report system implementation method and system based on database configuration
CN115586888B (en) Data management method and system for configuring budget
CN113704593B (en) Operation data processing method and related device
CN111222012A (en) System for configuring and displaying dynamic view of electronic file
CN116991401A (en) Website construction and loading method and device, electronic equipment and storage medium
CN116644063A (en) Label generating method, label generating device, and computer 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210319

RJ01 Rejection of invention patent application after publication