[go: up one dir, main page]

CN101866297B - Method and device for generating management platform - Google Patents

Method and device for generating management platform Download PDF

Info

Publication number
CN101866297B
CN101866297B CN201010199061.7A CN201010199061A CN101866297B CN 101866297 B CN101866297 B CN 101866297B CN 201010199061 A CN201010199061 A CN 201010199061A CN 101866297 B CN101866297 B CN 101866297B
Authority
CN
China
Prior art keywords
information
menu
user
data dictionary
instruction
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.)
Expired - Fee Related
Application number
CN201010199061.7A
Other languages
Chinese (zh)
Other versions
CN101866297A (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.)
Sprint (chongqing) Science And Technology Development Co Ltd
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201010199061.7A priority Critical patent/CN101866297B/en
Publication of CN101866297A publication Critical patent/CN101866297A/en
Application granted granted Critical
Publication of CN101866297B publication Critical patent/CN101866297B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Storage Device Security (AREA)

Abstract

本发明揭示了一种管理平台生成方法,包括:获取用户输入的数据库名称;根据数据库名称将对应数据库中所有字段导入预置第一数据字典;获取用户输入的功能设置指令;根据功能设置指令设定第一数据字典的对应功能;获取用户输入的菜单信息;根据菜单信息设定第一数据字典的菜单;输出第一数据字典作为管理平台。本发明还提供了对应的装置。本发明采用预设数据字典,当开发人员需要进行开发应用时,通过调用该数据字典,在数据字典的基础上进行功能设置,降低了程序开发的门槛,提升了管理类软件的开发效率。

The invention discloses a method for generating a management platform, comprising: obtaining a database name input by a user; importing all fields in the corresponding database into a preset first data dictionary according to the database name; obtaining a function setting instruction input by the user; Determine the corresponding function of the first data dictionary; obtain the menu information input by the user; set the menu of the first data dictionary according to the menu information; output the first data dictionary as a management platform. The invention also provides a corresponding device. The present invention adopts a preset data dictionary, and when a developer needs to develop and apply, by calling the data dictionary, function setting is performed on the basis of the data dictionary, which reduces the threshold of program development and improves the development efficiency of management software.

Description

管理平台生成方法和装置Management platform generation method and device

技术领域technical field

本发明涉及到应用类软件开发领域,特别涉及到一种管理平台生成方法和装置。The invention relates to the field of application software development, in particular to a method and device for generating a management platform.

背景技术Background technique

随着企业对管理平台的需求越来越多样化,新型管理平台的研发也要求速度更快。现有的管理平台的研发必须由专门的研发人员进行开发,这类管理平台的特点是功能繁多,但大部分功能业务简单。As the needs of enterprises for management platforms become more and more diverse, the research and development of new management platforms also require faster speed. The research and development of the existing management platform must be developed by specialized R&D personnel. This type of management platform is characterized by a variety of functions, but most of the functions are simple.

在具体实施过程中,本发明的发明人发现,管理平台的研发占据着很多高水平的程序开发人员的工作时间,并且系统重复性劳动较多,开发人员生产率低下,所耗费的人力成本很高,最终的产出却很低。During the specific implementation process, the inventors of the present invention found that the research and development of the management platform occupies the working time of many high-level program developers, and the system has a lot of repetitive labor, the productivity of the developers is low, and the labor cost is very high. , but the final output is very low.

发明内容Contents of the invention

本发明的主要目的为提供降低程序开发的门槛,提升管理类软件的开发效率的管理平台生成方法以及相应的装置。The main purpose of the present invention is to provide a method for generating a management platform and a corresponding device that lowers the threshold of program development and improves the development efficiency of management software.

本发明提出一种管理平台生成方法,包括:The present invention proposes a method for generating a management platform, comprising:

获取用户输入的数据库名称;Get the database name entered by the user;

根据所述数据库名称将对应数据库中字段导入预置第一数据字典;importing fields in the corresponding database into the preset first data dictionary according to the database name;

根据用户输入的功能设置指令设定所述第一数据字典的对应功能;setting the corresponding function of the first data dictionary according to the function setting instruction input by the user;

根据用户输入的菜单信息设定所述第一数据字典的菜单;setting the menu of the first data dictionary according to the menu information input by the user;

输出所述第一数据字典作为管理平台。Outputting the first data dictionary as a management platform.

进一步,所述获取用户输入的数据库名称前包括:Further, before obtaining the database name input by the user, the method includes:

获取用户登录信息;Obtain user login information;

验证所述登录信息;verify said login information;

当所述登录信息验证通过时,接受用户登录。When the login information is verified, the user login is accepted.

进一步,所述用户输入的功能设置指令包括:Further, the function setting instruction input by the user includes:

获取用户输入的窗口设置指令和/或高级查询设置指令和/或报表设置指令和/或时间设置指令和/或工作流设置指令。Acquire window setting instructions and/or advanced query setting instructions and/or report setting instructions and/or time setting instructions and/or workflow setting instructions input by the user.

进一步,所述用户输入的菜单信息包括:获取用户输入的菜单基本信息和菜单对应功能信息。Further, the menu information input by the user includes: acquiring basic menu information and menu corresponding function information input by the user.

进一步,所述根据菜单信息设定第一数据字典的菜单后包括:Further, setting the menu of the first data dictionary according to the menu information includes:

获取用户输入的权限信息,所述设置权限信息包括菜单权限信息和/或功能权限信息和/或数据权限信息;Obtain permission information input by the user, where the setting permission information includes menu permission information and/or function permission information and/or data permission information;

根据所述权限信息设置菜单和权限的对应关系。A corresponding relationship between menus and permissions is set according to the permission information.

进一步,所述输出数据字典作为管理平台前包括:Further, before the output data dictionary is used as the management platform, it includes:

获取第二数据字典;Obtain the second data dictionary;

将所述第二数据字典导入所述第一数据字典。Importing the second data dictionary into the first data dictionary.

本发明还提出一种管理平台生成装置,包括:The present invention also proposes a management platform generation device, including:

获取模块,用于获取用户输入的数据库名称;获取用户输入的功能设置指令;获取用户输入的菜单信息;The acquiring module is used to acquire the database name input by the user; acquire the function setting instruction input by the user; acquire the menu information input by the user;

导入模块,用于根据所述数据库名称将对应数据库中所有字段导入预置第一数据字典;An import module, configured to import all fields in the corresponding database into the preset first data dictionary according to the database name;

设定模块,用于根据所述功能设置指令设定所述第一数据字典的对应功能;根据所述菜单信息设定所述第一数据字典的菜单;A setting module, configured to set a corresponding function of the first data dictionary according to the function setting instruction; set a menu of the first data dictionary according to the menu information;

输出模块,用于输出所述第一数据字典作为管理平台。An output module, configured to output the first data dictionary as a management platform.

进一步,所述装置还包括:Further, the device also includes:

验证模块,用于获取用户登录信息;验证所述登录信息;当所述登录信息验证通过时,接受用户登录。The verification module is used to acquire user login information; verify the login information; and accept user login when the verification of the login information is passed.

进一步,所述获取模块具体用于:获取用户输入的窗口设置指令和/或高级查询设置指令和/或报表设置指令和/或时间设置指令和/或工作流设置指令。Further, the acquiring module is specifically configured to: acquire a window setting instruction and/or an advanced query setting instruction and/or a report setting instruction and/or a time setting instruction and/or a workflow setting instruction input by a user.

进一步,所述获取模块具体用于:Further, the acquisition module is specifically used for:

获取用户输入的菜单基本信息和菜单对应功能信息。Obtain the basic information of the menu and the corresponding function information of the menu input by the user.

进一步,所述获取模块还用于获取用户输入的权限信息,所述设置权限信息包括菜单权限信息和/或功能权限信息和/或数据权限信息;Further, the obtaining module is also used to obtain permission information input by the user, and the setting permission information includes menu permission information and/or function permission information and/or data permission information;

所述设定模块还用于根据所述权限信息设置菜单和权限的对应关系。The setting module is also used to set the corresponding relationship between menus and permissions according to the permission information.

进一步,所述导入模块还用于:获取第二数据字典;将所述第二数据字典导入所述第一数据字典。Further, the import module is further configured to: obtain a second data dictionary; import the second data dictionary into the first data dictionary.

本发明采用预设数据字典,当开发人员需要进行开发应用时,通过调用该数据字典,在数据字典的基础上进行功能设置,降低了程序开发的门槛,提升了管理类软件的开发效率。The present invention adopts a preset data dictionary, and when a developer needs to develop and apply, by calling the data dictionary, function setting is performed on the basis of the data dictionary, which reduces the threshold of program development and improves the development efficiency of management software.

附图说明Description of drawings

图1为本发明一种管理平台生成方法一实施例的流程图;Fig. 1 is a flowchart of an embodiment of a method for generating a management platform of the present invention;

图2为本发明一种管理平台生成方法另一实施例的流程图;Fig. 2 is a flow chart of another embodiment of a method for generating a management platform of the present invention;

图3为本发明一种管理平台生成装置一实施例的结构示意图。Fig. 3 is a schematic structural diagram of an embodiment of a management platform generation device according to the present invention.

本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose of the present invention, functional characteristics and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings.

具体实施方式Detailed ways

应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

参照图1,为本发明一种管理平台生成方法一实施例的流程图;Referring to Fig. 1, it is a flowchart of an embodiment of a method for generating a management platform of the present invention;

在本发明实施例中需要预先设计一组数据库表结构,也可以是一组文件的定义格式,也可以是一组存储介质上的其他存储方式,本发明实施例称为数据字典。In the embodiment of the present invention, a set of database table structures needs to be pre-designed, which can also be a defined format of a set of files, or other storage methods on a set of storage media. The embodiment of the present invention is called a data dictionary.

该数据字典可以包括以下信息:The data dictionary can include the following information:

界面窗口的数据字典、每个窗口下标签的数据字典、每个标签下属性的数据字典、每个属性对应下拉框的数据字典、每个属性对应触发事件的数据字典、报表或查询定义数据字典、部门角色权限数据字典、菜单数据字典、菜单和功能对应关系数据字典(功能可以是窗口,报表,查询)、工作流数据字典等。The data dictionary of the interface window, the data dictionary of the labels under each window, the data dictionary of the attributes under each label, the data dictionary of each attribute corresponding to the drop-down box, the data dictionary of each attribute corresponding to the trigger event, the report or query definition data dictionary , department role authority data dictionary, menu data dictionary, menu and function corresponding relationship data dictionary (function can be window, report, query), workflow data dictionary, etc.

预先设置导入导出功能,使得这些数据字典能够方便的导入导出,使得应用的开发可以在任何终端上进行,导入导出的文件格式可以是文本也可以是二进制的,比如可以是TXT的,可以是XML的。The import and export function is set in advance, so that these data dictionaries can be imported and exported conveniently, so that application development can be carried out on any terminal. The file format of import and export can be text or binary, such as TXT or XML of.

操作员进行二次研发时可以采用如下步骤实现:The operator can use the following steps to implement the secondary research and development:

步骤S101、操作员登录管理平台生成装置;Step S101, the operator logs into the management platform generating device;

操作员进行登录操作时,可以采用如下验证步骤:When the operator performs the login operation, the following verification steps can be used:

A、管理平台生成装置获取用户登录信息;A. The management platform generation device acquires user login information;

B、管理平台生成装置验证所述登录信息;B. The management platform generation device verifies the login information;

C、管理平台生成装置当所述登录信息验证通过时,接受用户登录。C. The management platform generation device accepts user login when the login information is verified.

步骤S102、管理平台生成装置导入数据字典;Step S102, the management platform generating device imports the data dictionary;

操作员可以使用管理平台生成装置提供的导入功能,输入数据库表名,管理平台生成装置会自动把该数据库表里所有的字段导入到数据字典里,所有属性默认为文本框。The operator can use the import function provided by the management platform generation device to input the name of the database table, and the management platform generation device will automatically import all the fields in the database table into the data dictionary, and all attributes are defaulted to text boxes.

步骤S103、管理平台生成装置获取用户输入的功能设置指令进行设置;Step S103, the management platform generation device acquires the function setting instruction input by the user and sets it;

具体的,管理平台生成装置获取操作员输入的功能设置指令;并根据所述功能设置指令设定所述第一数据字典的对应功能。Specifically, the management platform generation device acquires the function setting instruction input by the operator; and sets the corresponding function of the first data dictionary according to the function setting instruction.

操作员可以根据需求发送功能设置指令进行相关功能设置,其中功能包括窗口、高级查询、报表、时间和工作流等,同样的操作员发送到管理平台生成装置的功能设置指令也可以包括:窗口设置指令和/或高级查询设置指令和/或报表设置指令和/或时间设置指令和/或工作流设置指令等。窗口的相关信息又可以包括:窗口基本信息,标签基本信息,属性基本信息。属性基本信息供选择的信息有:属性展示方式,比如是编辑框、文本框、下拉框、弹出窗口、按钮,是可写还是只读,对齐方式,如果是按钮触发的事件类型,事件名称等等。Operators can send function setting instructions according to requirements to set related functions, and the functions include window, advanced query, report, time and workflow, etc. The same function setting instructions sent by the operator to the management platform generation device can also include: window setting Instructions and/or advanced query setting instructions and/or report setting instructions and/or time setting instructions and/or workflow setting instructions, etc. The relevant information of the window may further include: basic information of the window, basic information of the label, and basic information of the attribute. Basic attribute information The information for selection includes: attribute display mode, such as edit box, text box, drop-down box, pop-up window, button, whether it is writable or read-only, alignment, if it is the event type triggered by the button, event name, etc. wait.

步骤S104、管理平台生成装置获取菜单信息进行设置;Step S104, the management platform generation device acquires menu information and sets it;

管理平台生成装置获取操作员输入的菜单信息;并根据所述菜单信息设定所述第一数据字典的菜单。The management platform generation device acquires menu information input by the operator; and sets the menu of the first data dictionary according to the menu information.

所述菜单信息包括菜单的基本信息和菜单对应的功能信息。The menu information includes basic information of the menu and function information corresponding to the menu.

步骤S105、获取权限信息;Step S105, obtaining permission information;

管理平台生成装置获取操作员输入的权限信息;所述权限信息包括菜单权限,功能权限,数据权限。The management platform generation device obtains the authority information input by the operator; the authority information includes menu authority, function authority and data authority.

步骤S106、管理平台生成装置根据权限信息设置菜单和权限的对应关系;Step S106, the management platform generation device sets the corresponding relationship between the menu and the authority according to the authority information;

管理平台生成装置获取到全县信息后设置菜单和权限的对应关系。The management platform generation device sets the corresponding relationship between the menu and the authority after obtaining the information of the whole county.

步骤S107、导入其他数据字典;Step S107, importing other data dictionaries;

管理平台生成装置根据用户需求导入数据字典的定义,将从其它系统定义的数据字典或者备份的应用数据字典进行导入。The management platform generation device imports the definition of the data dictionary according to user requirements, and imports data dictionaries defined by other systems or backup application data dictionaries.

步骤S108、管理平台生成装置将数据字典导出。Step S108, the management platform generation device exports the data dictionary.

管理平台生成装置可以提供缓存的功能,把包含数据库字典的定义信息和其他一些必要的信息放到内存里进行缓冲,这样可以提升界面的展示速度。The management platform generation device can provide a caching function, and put the definition information including the database dictionary and other necessary information into the memory for buffering, so that the display speed of the interface can be improved.

管理平台生成装置可以是基于传统的C/S架构,也可以是基于B/S架构,也可以是其他提供终端界面的架构;The management platform generation device may be based on a traditional C/S architecture, or a B/S architecture, or other architectures that provide a terminal interface;

操作员或者二次开发者可以进入如下操作:Operators or secondary developers can enter the following operations:

设定要展示窗口的基本信息;Set the basic information of the window to be displayed;

设定每个窗口下标签的基本信息;Set the basic information of the label under each window;

根据系统提供的导入工具,输入数据库表名,把该表里所有的属性均导入到属性数据字典,每个属性都有一个默认值,比如每个属性默认为文本框;According to the import tool provided by the system, enter the name of the database table, and import all the attributes in the table into the attribute data dictionary. Each attribute has a default value, for example, each attribute defaults to a text box;

修改每个标签下每个属性的基本信息,比如把文本框修改为单选框;Modify the basic information of each attribute under each tag, such as modifying the text box to a radio box;

设定每个属性对应下拉框的基本信息;Set the basic information of each attribute corresponding to the drop-down box;

设定每个属性对应触发事件的基本信息;Set the basic information of each attribute corresponding to the trigger event;

设定部门角色权限基本信息;Set the basic information of department role permissions;

设定菜单基本信息;Set the basic information of the menu;

设定报表或者查询的基本信息;Set the basic information of the report or query;

设定菜单和功能对应关系;Set the corresponding relationship between menus and functions;

设定工作流基本信息;Set the basic information of the workflow;

本发明提供的导入导出功能,使得系统的移植升级变得简单方便。缓存机制可以提升界面展示的速度。The import and export function provided by the present invention makes the transplantation and upgrade of the system simple and convenient. The caching mechanism can improve the speed of interface display.

本发明实施例采用预设数据字典,当开发人员需要进行开发应用时,通过调用该数据字典,在数据字典的基础上进行功能设置,降低了程序开发的门槛,提升了管理类软件的开发效率。The embodiment of the present invention adopts a preset data dictionary. When a developer needs to develop an application, by calling the data dictionary, the function is set on the basis of the data dictionary, which reduces the threshold of program development and improves the development efficiency of management software. .

参阅图2,为本发明一种管理平台生成方法另一实施例的流程图;Referring to Fig. 2, it is a flowchart of another embodiment of a method for generating a management platform of the present invention;

本发明实施例以一个具体的示例来展示上述实施例的二次开发过程,本实施例以需要开发一个银行账户系统为例,其中有一个功能是客户信息,客户信息功能有一个窗口,窗口下有一个标签,标签下要展示客户姓名,客户性别,客户密码,客户所属城市四个属性,其中客户姓名为编辑框,客户性别为单选框,客户密码为密码编辑框,客户所属城市为下拉框,下面对该功能进行开发。The embodiment of the present invention uses a specific example to demonstrate the secondary development process of the above embodiment. This embodiment takes the need to develop a bank account system as an example. One of the functions is customer information, and the customer information function has a window. There is a label under the label to display four attributes: customer name, customer gender, customer password, and customer city. Among them, the customer name is an edit box, customer gender is a radio button, customer password is a password edit box, and the customer city is a drop-down box, the function will be developed below.

步骤S201、在数据库中建立一个客户信息表,包括客户姓名,客户性别,客户密码,客户所属城市四个字段;Step S201. Create a customer information table in the database, including four fields: customer name, customer gender, customer password, and the city to which the customer belongs;

步骤S202、管理平台生成装置根据操作员输入指令新建一个窗口,名字为银行客户信息维护;Step S202, the management platform generation device creates a new window according to the operator's input instruction, and the name is bank customer information maintenance;

步骤S203、管理平台生成装置新建一个标签,名字为客户基本信息,选择该标签对应的客户信息表表名;Step S203, the management platform generation device creates a new label, the name is the basic information of the customer, and selects the name of the customer information table corresponding to the label;

步骤S204、管理平台生成装置把客户信息表下面的四个字段导入到平台,默认为四个编辑框;Step S204, the management platform generation device imports the four fields below the customer information table into the platform, which are four edit boxes by default;

步骤S205、管理平台生成装置根据操作员控制进行属性维护;Step S205, the management platform generation device performs attribute maintenance according to the operator's control;

操作员可以控制管理平台生成装置查询客户信息相关的四个属性,逐一进行修改,客户名称编辑框保持不变,客户性别选择为单选框,客户密码选择为密码编辑框,客户所属城市修改为下拉框;The operator can control the management platform generating device to query the four attributes related to customer information and modify them one by one. The customer name edit box remains unchanged, the customer gender selection is a radio box, the customer password selection is a password edit box, and the customer's city is changed to drop-down box;

步骤S206、管理平台生成装置增加客户所属城市;Step S206, the management platform generation device adds the city to which the customer belongs;

管理平台生成装置根据操作员要求新增一个列表,对应于客户所属城市;The management platform generation device adds a new list according to the operator's request, corresponding to the city to which the customer belongs;

步骤S207、管理平台生成装置新增客户信息维护;Step S207, the management platform generation device adds customer information maintenance;

管理平台生成装置根据操作员要求新增一个菜单,关联客户信息维护窗口,名称为客户信息维护;The management platform generation device adds a new menu according to the operator's requirements, which is associated with the customer information maintenance window, and the name is customer information maintenance;

步骤S208、管理平台生成装置设置权限;Step S208, setting authority of the management platform generation device;

管理平台生成装置根据操作员要求新增一个角色,银行信息管理员,并为该角色赋予客户信息维护菜单权限;The management platform generation device adds a new role, bank information administrator, according to the operator's requirements, and grants the customer information maintenance menu authority to this role;

步骤S209、管理平台生成装置根据权限设置操作员角色。Step S209, the management platform generation device sets the operator role according to the authority.

管理平台生成装置根据操作员要求新增一个操作员bank001,为该操作员赋予银行信息管理员角色;The management platform generating device adds an operator bank001 according to the operator's request, and assigns the bank information administrator role to the operator;

到处设定完成的数据字典作为新的系统。The completed data dictionary is set everywhere as a new system.

操作员bank001可以登录到系统,可以使用客户信息维护功能,也可以进行增、删、改、查等操作。Operator bank001 can log in to the system, use the customer information maintenance function, and perform operations such as adding, deleting, modifying, and checking.

本发明实施例可以提升应用系统的开发效率,对开发人员的技术能力要求很低,只要经过简单培训就可以进行开发,另外本发明也可以对熟练的客户开发部分功能,让他们选择自己需要的窗口属性,自己需要的高级查询,统计报表。The embodiment of the present invention can improve the development efficiency of the application system, and has very low requirements on the technical ability of the developers. It can be developed only after simple training. In addition, the present invention can also develop some functions for skilled customers, allowing them to choose what they need Window properties, advanced queries you need, statistical reports.

参阅图3,为本发明一种管理平台生成装置一实施例的结构示意图。Referring to FIG. 3 , it is a schematic structural diagram of an embodiment of a management platform generating device according to the present invention.

本发明实施例提出的管理平台生成装置,包括:The management platform generating device proposed by the embodiment of the present invention includes:

获取模块31,用于获取用户输入的数据库名称;获取用户输入的功能设置指令;获取用户输入的菜单信息;The obtaining module 31 is used to obtain the database name input by the user; obtain the function setting instruction input by the user; obtain the menu information input by the user;

导入模块32,用于根据所述数据库名称将对应数据库中所有字段导入预置第一数据字典;An import module 32, configured to import all fields in the corresponding database into the preset first data dictionary according to the database name;

设定模块33,用于根据所述功能设置指令设定所述第一数据字典的对应功能;根据所述菜单信息设定所述第一数据字典的菜单;A setting module 33, configured to set the corresponding function of the first data dictionary according to the function setting instruction; set the menu of the first data dictionary according to the menu information;

输出模块34,用于输出所述第一数据字典作为管理平台。An output module 34, configured to output the first data dictionary as a management platform.

进一步,所述装置还包括:Further, the device also includes:

验证模块35,用于获取用户登录信息;验证所述登录信息;当所述登录信息验证通过时,接受用户登录。The verification module 35 is configured to acquire user login information; verify the login information; and accept user login when the verification of the login information is passed.

进一步,所述获取模块31具体用于:获取用户输入的窗口设置指令和/或高级查询设置指令和/或报表设置指令和/或时间设置指令和/或工作流设置指令。Further, the acquiring module 31 is specifically configured to: acquire a window setting instruction and/or an advanced query setting instruction and/or a report setting instruction and/or a time setting instruction and/or a workflow setting instruction input by a user.

进一步,所述获取模块31具体用于:Further, the acquiring module 31 is specifically used for:

获取用户输入的菜单基本信息和菜单对应功能信息。Obtain the basic information of the menu and the corresponding function information of the menu input by the user.

进一步,所述获取模块31还用于获取用户输入的权限信息,所述设置权限信息包括菜单权限信息和/或功能权限信息和/或数据权限信息;Further, the obtaining module 31 is also used to obtain permission information input by the user, and the setting permission information includes menu permission information and/or function permission information and/or data permission information;

所述设定模块33还用于根据所述权限信息设置菜单和权限的对应关系。The setting module 33 is further configured to set a corresponding relationship between menus and permissions according to the permission information.

进一步,所述导入模块32还用于:获取第二数据字典;将所述第二数据字典导入所述第一数据字典。Further, the import module 32 is further configured to: obtain a second data dictionary; import the second data dictionary into the first data dictionary.

用户可以使用管理平台生成装置提供的导入模块32,输入数据库表名,导入模块32会把该数据库表里所有的字段导入到数据字典里,所有属性默认为文本框。The user can use the import module 32 provided by the management platform generating device to input the name of the database table, and the import module 32 will import all fields in the database table into the data dictionary, and all attributes are defaulted to text boxes.

获取模块31获取用户根据需求发送功能设置指令进行相关功能设置,其中功能包括窗口、高级查询、报表、时间和工作流等,同样的用户发送到管理平台生成装置的功能设置指令也可以包括:窗口设置指令和/或高级查询设置指令和/或报表设置指令和/或时间设置指令和/或工作流设置指令等。窗口的相关信息又可以包括:窗口基本信息,标签基本信息,属性基本信息。属性基本信息供选择的信息有:属性展示方式,比如是编辑框、文本框、下拉框、弹出窗口、按钮,是可写还是只读,对齐方式,如果是按钮触发的事件类型,事件名称等等。The acquisition module 31 obtains the user to send a function setting instruction according to the requirement to set related functions, wherein the functions include window, advanced query, report, time and workflow, etc., and the same function setting instruction sent by the user to the management platform generation device may also include: window Setting instructions and/or advanced query setting instructions and/or report setting instructions and/or time setting instructions and/or workflow setting instructions, etc. The relevant information of the window may further include: basic information of the window, basic information of the label, and basic information of the attribute. Basic attribute information The information for selection includes: attribute display mode, such as edit box, text box, drop-down box, pop-up window, button, whether it is writable or read-only, alignment, if it is the event type triggered by the button, event name, etc. wait.

用户可以通过设定模块33进行如下操作:The user can perform the following operations through the setting module 33:

设定要展示窗口的基本信息;Set the basic information of the window to be displayed;

设定每个窗口下标签的基本信息;Set the basic information of the label under each window;

根据系统提供的导入工具,输入数据库表名,把该表里所有的属性均导入到属性数据字典,每个属性都有一个默认值,比如每个属性默认为文本框;According to the import tool provided by the system, enter the name of the database table, and import all the attributes in the table into the attribute data dictionary. Each attribute has a default value, for example, each attribute defaults to a text box;

修改每个标签下每个属性的基本信息,比如把文本框修改为单选框;Modify the basic information of each attribute under each tag, such as modifying the text box to a radio box;

设定每个属性对应下拉框的基本信息;Set the basic information of each attribute corresponding to the drop-down box;

设定每个属性对应触发事件的基本信息;Set the basic information of each attribute corresponding to the trigger event;

设定部门角色权限基本信息;Set the basic information of department role permissions;

设定菜单基本信息;Set the basic information of the menu;

设定报表或者查询的基本信息;Set the basic information of the report or query;

设定菜单和功能对应关系;Set the corresponding relationship between menus and functions;

设定工作流基本信息。Set basic workflow information.

本发明实施例可以提升应用系统的开发效率,对开发人员的技术能力要求很低,只要经过简单培训就可以进行开发,另外本发明也可以对熟练的客户开发部分功能,让他们选择自己需要的窗口属性,自己需要的高级查询,统计报表。The embodiment of the present invention can improve the development efficiency of the application system, and has very low requirements on the technical ability of the developers. It can be developed only after simple training. In addition, the present invention can also develop some functions for skilled customers, allowing them to choose what they need Window properties, advanced queries you need, statistical reports.

以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related All technical fields are equally included in the scope of patent protection of the present invention.

Claims (7)

1. a management platform generation method, is characterized in that, comprising:
Obtain the database table name of user's input;
According to field in the database table star correspondence database table obtaining, import the first preset data dictionary;
According to the function setting instruction of user's input, set the corresponding function of described the first data dictionary; Described function setting instruction comprises: window arranges instruction and/or advanced inquiry and instruction and/or form are set instruction and/or set of time instruction and/or workflow are set instruction is set;
According to the menu information of user's input, set the menu of described the first data dictionary; Described menu information comprises: the function information that the essential information of menu and menu are corresponding;
The authority information that obtains user's input, described authority information comprises menu authority information and/or function privilege information and/or data permission information;
The corresponding relation of menu and authority is set according to described authority information;
Export described the first data dictionary as management platform.
2. method according to claim 1, is characterized in that, described in comprise before obtaining the database table name of user input:
Obtain user login information;
Verify described log-on message;
When described log-on message is verified, accept user's login.
3. a management platform generating apparatus, is characterized in that, comprising:
Acquisition module, for obtaining the database table name of user's input; Obtain the function setting instruction of user's input; Obtain the menu information of user's input;
Import module, for importing preset the first data dictionary according to all fields of described database table star correspondence database table;
Setting module, for setting the corresponding function of described the first data dictionary according to described function setting instruction; According to described menu information, set the menu of described the first data dictionary; Described function setting instruction comprises: window arranges instruction and/or advanced inquiry and instruction and/or form are set instruction and/or set of time instruction and/or workflow are set instruction is set; Described menu information comprises: the function information that the essential information of menu and menu are corresponding;
Output module, for exporting described the first data dictionary as management platform;
Described acquisition module is also for obtaining the authority information of user's input, and described authority information comprises menu authority information and/or function privilege information and/or data permission information;
Described setting module is also for arranging the corresponding relation of menu and authority according to described authority information.
4. device according to claim 3, is characterized in that, described device also comprises:
Authentication module, for obtaining user login information; Verify described log-on message; When described log-on message is verified, accept user's login.
5. device according to claim 3, it is characterized in that, described acquisition module arranges instruction and/or advanced inquiry specifically for: the window that obtains user input and instruction and/or form are set instruction and/or set of time instruction and/or workflow are set instruction is set.
6. device according to claim 3, is characterized in that, described acquisition module specifically for:
Obtain menu essential information and the menu corresponding function information of user's input.
7. according to arbitrary described device in claim 3 to 6, it is characterized in that, described importing module also for: obtain the second data dictionary; Described the second data dictionary is imported to described the first data dictionary.
CN201010199061.7A 2010-06-11 2010-06-11 Method and device for generating management platform Expired - Fee Related CN101866297B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010199061.7A CN101866297B (en) 2010-06-11 2010-06-11 Method and device for generating management platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010199061.7A CN101866297B (en) 2010-06-11 2010-06-11 Method and device for generating management platform

Publications (2)

Publication Number Publication Date
CN101866297A CN101866297A (en) 2010-10-20
CN101866297B true CN101866297B (en) 2014-11-05

Family

ID=42958032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010199061.7A Expired - Fee Related CN101866297B (en) 2010-06-11 2010-06-11 Method and device for generating management platform

Country Status (1)

Country Link
CN (1) CN101866297B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108280099A (en) * 2017-01-11 2018-07-13 广州市动景计算机科技有限公司 Data dictionary management method, apparatus and server
CN109634606A (en) * 2018-12-10 2019-04-16 山东浪潮通软信息科技有限公司 A kind of method and device of defined function menu
CN119049326A (en) * 2024-07-29 2024-11-29 深圳市盛世基业物联网有限公司 Automatic parking management system with position prompt function

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101034349A (en) * 2007-04-06 2007-09-12 西安万年科技实业有限公司 Database application system development platform based on function design

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001142717A (en) * 1999-11-17 2001-05-25 Matsushita Electric Ind Co Ltd Data processing device
TW200849044A (en) * 2007-06-15 2008-12-16 Tsu-Shun Lin Database files-management system, integration module and browsing interface of database files-management system, database files-management method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101034349A (en) * 2007-04-06 2007-09-12 西安万年科技实业有限公司 Database application system development platform based on function design

Also Published As

Publication number Publication date
CN101866297A (en) 2010-10-20

Similar Documents

Publication Publication Date Title
CN104133772B (en) Automatic test data generation method
CN103353899B (en) The accurate searching method of a kind of integrated information
CN110457891A (en) A kind of authority configuration interface display method, device, terminal and storage medium
CN104123227A (en) Method for automatically generating testing cases
CN106569801A (en) Complex parameter-based configuration display control system
CN113031936B (en) Method and system for automatically building page and immediately publishing page
CN109189379A (en) code generating method and device
CN110069246A (en) The plateform system and its application that a kind of Java Web application is quickly developed
CN112650659B (en) Buried point setting method and device, computer equipment and storage medium
CN103455338A (en) Method and device for acquiring data
CN105224544A (en) A kind of data editing method of database and device
CN105975489A (en) Metadata-based online SQL code completion method
CN112541692A (en) Scientific data management plan generation method and device
CN115809241A (en) Data storage method, device, computer equipment and storage medium
CN115827051A (en) Software integration management system, method and server
CN110795387B (en) Data import method, data export device and data processing system
CN101866297B (en) Method and device for generating management platform
CN114238273A (en) Database management method, device, equipment and storage medium
CN104573053A (en) Configuration item template dynamic customizing method based on XML
CN105827873A (en) Method and device for solving limitation in service handling of nonlocal customers
CN102436444A (en) Drawing checking method and system
CN106502977B (en) A form processing method and form system based on B/S framework
CN101841567B (en) Domain user login-based realization method of application system integration platform
CN116232910A (en) Open cloud platform and its construction method, storage medium
CN105955718B (en) A kind of software customized method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170810

Address after: The streets of Huayuan Road Nanping Nan'an District of Chongqing City Road 400060 No. 63 (two) 2, 3, 4, 5

Patentee after: Chuang Yue world (Chongqing) Technology Development Co., Ltd.

Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Patentee before: ZTE Corporation

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180516

Address after: 400060 No. third, No. C16, No. 05, No. 06, No. 07, No. 63, six, Nanping Road, Nan'an District, Chongqing.

Patentee after: Sprint (Chongqing) science and Technology Development Co., Ltd.

Address before: 400060 2, 3, 4 and 5 floors of No. 63 (two) Nanping Road, Huayuan Road street, Nan'an District, Chongqing.

Patentee before: Chuang Yue world (Chongqing) Technology Development Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20141105

Termination date: 20180611