CN109634606A - A kind of method and device of defined function menu - Google Patents
A kind of method and device of defined function menu Download PDFInfo
- Publication number
- CN109634606A CN109634606A CN201811504205.8A CN201811504205A CN109634606A CN 109634606 A CN109634606 A CN 109634606A CN 201811504205 A CN201811504205 A CN 201811504205A CN 109634606 A CN109634606 A CN 109634606A
- Authority
- CN
- China
- Prior art keywords
- user
- field
- dictionary
- function menu
- configuration information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000013499 data model Methods 0.000 claims abstract description 78
- 230000009897 systematic effect Effects 0.000 claims abstract description 21
- 238000012423 maintenance Methods 0.000 claims description 14
- 230000006870 function Effects 0.000 description 101
- 230000008569 process Effects 0.000 description 11
- 238000007726 management method Methods 0.000 description 7
- 238000012384 transportation and delivery Methods 0.000 description 7
- 238000013523 data management Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005315 distribution function Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/33—Intelligent editors
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention provides a kind of method and device of defined function menu, this method, comprising: receives the table information of the dictionary of user's input and the field information of dictionary;According to the table information and the field information, data model is generated;Receive the model configuration information for the data model of user's input;According to the model configuration information, the data model is configured;Receive the form configuration information of user's input;According to the form configuration information and the data model, dictionary list is generated;According to the dictionary list, systematic function menu.The present invention provides a kind of method and devices of defined function menu, can more easily realize function menu.
Description
Technical field
The present invention relates to field of computer technology, in particular to a kind of method and device of defined function menu.
Background technique
Existing enterprise software typically just has the function of general, still, is frequently encountered enterprise according to self-demand
The function menu of specific function is needed, developer is at this moment just needed to carry out secondary development on the basis of enterprise software, it is this
Implementation is more complicated.
Summary of the invention
The embodiment of the invention provides a kind of method and devices of defined function menu, can more easily realize function
Menu.
On the one hand, the embodiment of the invention provides a kind of methods of defined function menu, comprising:
Receive the table information of the dictionary of user's input and the field information of dictionary;
According to the table information and the field information, data model is generated;
Receive the model configuration information for the data model of user's input;
According to the model configuration information, the data model is configured;
Receive the form configuration information of user's input;
According to the form configuration information and the data model, dictionary list is generated;
According to the dictionary list, systematic function menu.
Preferably,
It is described according to the dictionary list, systematic function menu, comprising:
When receiving the publication order of user's input, catalogue selection interface is popped up;
Determine the catalogue to be released that user is selected by the target selection interface;
Receive the pad name of user's input;
Using the catalogue to be released as the catalogue of the function menu, using the pad name as the function menu
Title, the dictionary table list is issued as the function menu.
Preferably,
The expression configuration information, comprising: displayable field in the data model, editable in the data model
Field;
It is described according to the form configuration information and the data model, generate dictionary list, comprising:
Provide a user at least one form templat;
Determine the target list template that user selects from least one form templat;
According to displayable field and the number in the data model, the target list template, the data model
According to field editable in model, the dictionary list is generated.
Preferably,
This method further comprises:
Receive the menu privileges configuration information of user's input;
According to the menu privileges configuration information, configuration uses permission required for the function menu.
Preferably,
This method further comprises:
Receive the field privileges configuration information for aiming field of user's input;
According to the field privileges configuration information, required for the aiming field in function menu described in configuration access
Permission.
Preferably,
This method further comprises:
Receive the data permission configuration information for target data of user's input;
According to the data permission configuration information, weighed required for the target data in function menu described in configuration access
Limit.
Preferably,
The table information of the dictionary, comprising: the maintenance mode of table name, the dictionary;
The field information of the dictionary, comprising: whether length, the type of field, the field of field are empty.
Preferably,
Described according to the dictionary list, after systematic function menu, further comprise:
Operation log of the real-time recording needle to the function menu;
Versions of data of the real-time recording needle to the function menu.
On the other hand, the embodiment of the invention provides a kind of devices of defined function menu, comprising:
First receiving unit, for receiving the table information of the dictionary of user's input and the field information of dictionary;
Model generation unit, for generating data model according to the table information and the field information;
Second receiving unit, for receiving the model configuration information for the data model of user's input;
Model configuration unit, for being configured to the data model according to the model configuration information;
Third receiving unit, for receiving the form configuration information of user's input;
List generation unit, for generating dictionary list according to the form configuration information and the data model;
Menu generation unit, for according to the dictionary list, systematic function menu.
Preferably,
The Menu generation unit, is used for:
When receiving the publication order of user's input, catalogue selection interface is popped up;
Determine the catalogue to be released that user is selected by the target selection interface;
Receive the pad name of user's input;
Using the catalogue to be released as the catalogue of the function menu, using the pad name as the function menu
Title, the dictionary table list is issued as the function menu.
Preferably,
The expression configuration information, comprising: displayable field in the data model, editable in the data model
Field;
The list generation unit, is used for:
Provide a user at least one form templat;
Determine the target list template that user selects from least one form templat;
According to displayable field and the number in the data model, the target list template, the data model
According to field editable in model, the dictionary list is generated.
Preferably,
The device further comprises:
4th receiving unit, for receiving the menu privileges configuration information of user's input;
First authority configuration unit, for according to the menu privileges configuration information, configuration to use the function menu institute
The permission needed.
Preferably,
The device further comprises:
5th receiving unit, for receiving the field privileges configuration information for aiming field of user's input;
Second authority configuration unit, for according to the field privileges configuration information, in function menu described in configuration access
The aiming field required for permission.
Preferably,
The device further comprises:
6th receiving unit, for receiving the data permission configuration information for target data of user's input;
Third authority configuration unit, for according to the data permission configuration information, in function menu described in configuration access
Target data required for permission.
Preferably,
The table information of the dictionary, comprising: the maintenance mode of table name, the dictionary;
The field information of the dictionary, comprising: whether length, the type of field, the field of field are empty.
Preferably,
The device further comprises:
Recording unit, for real-time recording needle to the operation log of the function menu, real-time recording needle is to the function
The versions of data of menu.
In embodiments of the present invention, it according to the field information of the table information of the dictionary of user's input and dictionary, automatically generates
Data model automatically configures data model, according to the model configuration information that user inputs according to data model and user
The form configuration information of input automatically generates dictionary list, according to the dictionary list systematic function menu, whole process user without
Code need to be write, can automatic generation function menu, can more easily realize function menu through the embodiment of the present invention.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention
Some embodiments for those of ordinary skill in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow chart of the method for defined function menu that one embodiment of the invention provides;
Fig. 2 is the flow chart of the method for another defined function menu that one embodiment of the invention provides;
Fig. 3 is a kind of schematic diagram of the device for defined function menu that one embodiment of the invention provides;
Fig. 4 is the schematic diagram of the device for another defined function menu that one embodiment of the invention provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments, based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, the embodiment of the invention provides a kind of method of defined function menu, this method may include following
Step:
Step 101: receiving the table information of the dictionary of user's input and the field information of dictionary;
Step 102: according to the table information and the field information, generating data model;
Step 103: receiving the model configuration information for the data model of user's input;
Step 104: according to the model configuration information, the data model being configured;
Step 105: receiving the form configuration information of user's input;
Step 106: according to the form configuration information and the data model, generating dictionary list;
Step 107: according to the dictionary list, systematic function menu.
In embodiments of the present invention, it according to the field information of the table information of the dictionary of user's input and dictionary, automatically generates
Data model automatically configures data model, according to the model configuration information that user inputs according to data model and user
The form configuration information of input automatically generates dictionary list, according to the dictionary list systematic function menu, whole process user without
Code need to be write, can automatic generation function menu, can more easily realize function menu through the embodiment of the present invention.
It is in an embodiment of the present invention, described according to the dictionary list, systematic function menu, comprising:
When receiving the publication order of user's input, catalogue selection interface is popped up;
Determine the catalogue to be released that user is selected by the target selection interface;
Receive the pad name of user's input;
Using the catalogue to be released as the catalogue of the function menu, using the pad name as the function menu
Title, the dictionary table list is issued as the function menu.
In embodiments of the present invention, user can by catalogue selection interface come the catalogue where selection function menu,
When systematic function menu, which is put under the catalogue to be released of user's selection.User can be with configuration feature menu
Title.
In an embodiment of the present invention,
The expression configuration information, comprising: displayable field in the data model, editable in the data model
Field;
It is described according to the form configuration information and the data model, generate dictionary list, comprising:
Provide a user at least one form templat;
Determine the target list template that user selects from least one form templat;
According to displayable field and the number in the data model, the target list template, the data model
According to field editable in model, the dictionary list is generated.
In embodiments of the present invention, at least one form templat, comprising: support the template of the right card of left list, support
The template of the right card of left tree, the template for supporting multi-data source tabulating card and the template for supporting multi-data source tree card etc..
User can select when selecting form templat according to the characteristic of user demand and data model.
In an embodiment of the present invention, this method further comprises:
Receive the menu privileges configuration information of user's input;
According to the menu privileges configuration information, configuration uses permission required for the function menu.
In embodiments of the present invention, it is configured by menu privileges configuration information using permission required for function menu,
Only the operator with corresponding authority could use the function menu.For example, according to menu privileges configuration information, match
Setting using the permission of function menu is administrator, it is, only administrator could use function menu.
After systematic function menu, after access management person's Account Logon assigns power, announced function can be directly operated
Menu.
In an embodiment of the present invention, this method further comprises:
Receive the field privileges configuration information for aiming field of user's input;
According to the field privileges configuration information, required for the aiming field in function menu described in configuration access
Permission.
In embodiments of the present invention, by field privileges configuration information come permission required for configuration access aiming field,
Only the operator with corresponding authority could access the aiming field.For example, according to field privileges configuration information, match
The permission for setting access target field is line manager, that is to say, that only line manager could access target field.
By the implementation, user can according to need the permission for configuring any one field.
In an embodiment of the present invention, this method further comprises:
Receive the data permission configuration information for target data of user's input;
According to the data permission configuration information, weighed required for the target data in function menu described in configuration access
Limit.
In embodiments of the present invention, by data permission configuration information come permission required for configuration access target data,
Only the operator with corresponding authority could access the target data.For example, according to data permission configuration information, match
The permission for setting access target data is general manager, that is to say, that only general manager could access target data.
In an embodiment of the present invention, the table information of the dictionary, comprising: the maintenance mode of table name, the dictionary;
The field information of the dictionary, comprising: whether length, the type of field, the field of field are empty.
In embodiments of the present invention, the maintenance mode of dictionary includes: Tree structure or list mode.Table information can also wrap
Include the number of dictionary, if enable the attributes such as field permission.
The configuration to the data structure of dictionary is realized according to the field information of the table information of dictionary and dictionary, if database
It is middle without the dictionary table, corresponding dictionary table is created according to the table information and field information of configuration in the database.
In an embodiment of the present invention, it described according to the dictionary list, after systematic function menu, further wraps
It includes:
Operation log of the real-time recording needle to the function menu;
Versions of data of the real-time recording needle to the function menu.
In embodiments of the present invention, can operation log to be generated in real-time recording function menu operational process, can be with
The each versions of data for the data that real-time recording function menu is related to, it is subsequent to inquire these operation logs and versions of data.
In an embodiment of the present invention, model configuration information, comprising: the maintenance mode of field attribute, wherein field attribute
Maintenance mode include: manual typing mode, drop-down selection mode (enumerating mode), intelligent help mode etc..
Wherein, for drop-down selection mode, user's typing pulls down the number of selection, name-value, i.e. key-value pair, and system can deposit
Store up number value, display Name value.
For intelligent help mode, after typing help information, system can load corresponding intelligence automatically and help, selection
Afterwards, it shows the name-value intelligently helped, saves the Internal Code or number value intelligently helped.
As shown in Fig. 2, a kind of method of defined function menu provided in an embodiment of the present invention, comprising:
Step 201: receiving the table information of the dictionary of user's input and the field information of dictionary.
Wherein, the table name in table information is consistent with the table name of database purchase.
The tables of data that configures in selection previous step, configures its field attribute under the table, the length of field, type, could
It is that sky is consistent with database table structure corresponding to its business datum table, completes to be somebody's turn to do after configuration if be not present in database
Table, system can automatically create tables of data according to the table structure of configuration.
Step 202: according to the table information and the field information, generating data model.
Specifically, data object and data model can be generated according to field type, length of user configuration etc., and is formed
Timestamp attribute, hierarchical nature, approval process attribute.
Specifically, it clicks after generating data model, generates data object and data according to the dictionary and field information of configuration
Model.
Field permission is enabled if chosen when configuring dictionary information, field privilege can be enabled after generation automatically, otherwise write from memory
Think dead status.
Step 203: receiving the model configuration information for the data model of user's input.
Step 204: according to the model configuration information, the data model being configured.
Step 205: receiving in the data model of user's input editable field in displayable field and data model.
After completing modeling, user can create dictionary list according to the characteristic of data model and the demand of personalization.
Specifically, the form information that load dictionary includes.List maintenance function is opened, it is right that its is loaded according to the dictionary of selection
The form information answered.
Step 206: providing a user at least one form templat.
Step 207: determining the target list template that user selects from least one form templat.
Specifically, corresponding template is selected according to the individual demand of the characteristic of data model and user.After stencil-chosen,
System can parse data model, and configurable field is shown.
Step 208: according to displayable field in the data model, the target list template, the data model
With field editable in the data model, the dictionary list is generated.
It specifically, can also include: to fill in form number, form name during generating dictionary list, wherein table
Single number does not allow to repeat.
After generating dictionary list, capture with form metadata can be shown, user can carry out accordingly in dictionary list
Individual cultivation, to meet the needs of feature operation.
Specifically, configuration field in the field configuration interface parsed is participated in including list/tree display field and user
Editor's safeguards field.With a completion is postponed, it can automatically generate corresponding list according to user configuration and can safeguard boundary
It is shown in face.
Step 209: receiving the publication order of user's input, pop up catalogue selection interface.
Step 210: determining the catalogue to be released that user is selected by the target selection interface.
Step 211: receiving the pad name of user's input.
Step 212: using the catalogue to be released as the catalogue of the function menu, using the pad name as described in
The dictionary table list is issued as the function menu by the title of function menu.
Specifically, after the list of selection previous step creation, systematic function menu is clicked, will pop up function menu catalogue at this time
Selection interface after user selects corresponding catalogue as desired, safeguards the number and title of function menu, clicks determination, after
Platform can generate corresponding function menu according to configuration information.
In systematic function menu, it can be generated by a dictionary list, at least two dictionary lists can also be passed through
It generates, specifically, can determine the dictionary list for being used to systematic function menu according to the user's choice.
In embodiments of the present invention, examination & approval function can also be integrated, user carries to submit after creating list, in list and examine
Criticize and cancel examination & approval function, it is only necessary to easy configuration workflow.It can be by pre-set component certainly after examination & approval pass through
It is dynamic to generate corresponding actual data.
In embodiments of the present invention, modification application can also be integrated, the dictionary information after completing modeling can be issued directly
For modification application function menu, user can directly be used after publication.
In embodiments of the present invention, in the complete dictionary information of user maintenance and when saving, the corresponding business pair of the dictionary is generated
As and business operation.
In embodiments of the present invention, following functions be can integrate in the function menu of generation:
A. data exporting.(the side Excel is imported and exported according to what dictionary table and the configuration information of field completed data
Formula) operation.
B. the record of operation log.Record every single stepping of user, including newly-increased, deletion, modification, examination & approval, change etc..
C. the distribution of data.User sends data to the business in repository after can directly selecting data to be sent
In system.
D. the examination & approval of data.Examination & approval are submitted after supporting user maintenance request for data, in Shen out-of-date formation actual data all.
The embodiment of the present invention can be realized on ADP platform.
In embodiments of the present invention, it has got through master data modeling to model with ADP, and the two is established and is associated with;It is integrated with master
The distribution function of data, the data for defining the function menu maintenance come can directly carry out the distribution management of data.
In embodiments of the present invention, can quick definition meet the individual demand of dictionary data management needed for user;It can
Realize the application approval orderly management of dictionary data;It is integrated with log recording, the control of field attribute permission, form interface template
Etc. practical build-in function.Flexible and changeable configuration efficiently quickly customizes the individual demand for being able to satisfy different enterprises, significantly
The delivery speed of promotion project.
In embodiments of the present invention, personalization of the different projects to dictionary data management and application approval process is met
The demand of customization, user can be used the component and carry out personalized definition according to their own needs, be that an auxiliary enterprises carry out
Data management and the very useful computer technology for promoting project delivery efficiency, possess following significant feature: 1.
Can according to the dictionary data structure very simple of user, quickly define corresponding function menu and be managed;2. can be with
Support a variety of maintenance modes, tabulating card, tree card, principal and subordinate's tabulating card, principal and subordinate's tree card etc.;3. application approval can be supported
Procedure operation meets user newly-increased from data, administrator's examination & approval, a set of process for forming actual data;4. user uses should
The function of component definition, operation log that can be all under synchronous recording when doing data manipulation, it is ensured that the accuracy of data and can
Retrospective;5. user uses the function of the component definition, it can accomplish the control of field attribute permission, be precisely controlled different
People can only edit the attribute in its permission.The embodiment of the present invention can satisfy the personalized rapid configuration of user dictionary management, Shen
Please approval process management, data manipulation log recording and attribute field permission control, and can assist in project, pole
The big delivery speed for improving project.
The embodiment of the present invention greatly improves flexibility and the configurability of system, meets the individual demand of user,
By perfect data manipulation log recording, the quality and trackability of user data management are improved, the embodiment of the present invention can
To cover the Life cycle of data and support the distribution management of data, it is not necessarily to secondary development, reduces the use cost of user,
Through the embodiment of the present invention, the component can also be used to carry out the definition of function menu, in project delivery to meet of user
Property demand, is greatly improved the delivery speed of project.
As shown in Figure 3, Figure 4, the embodiment of the invention provides a kind of devices of defined function menu.Installation practice can be with
By software realization, can also be realized by way of hardware or software and hardware combining.For hardware view, as shown in figure 3,
For a kind of hardware structure diagram of equipment where a kind of device of defined function menu provided in an embodiment of the present invention, in addition to Fig. 3 institute
Except the processor, memory, network interface and the nonvolatile memory that show, the equipment in embodiment where device is usually also
It may include other hardware, such as be responsible for the forwarding chip of processing message.Taking software implementation as an example, as shown in figure 4, as one
Device on a logical meaning is to be referred to computer program corresponding in nonvolatile memory by the CPU of equipment where it
It enables and is read into memory what operation was formed.A kind of device of defined function menu provided in this embodiment, comprising:
First receiving unit 401, for receiving the table information of the dictionary of user's input and the field information of dictionary;
Model generation unit 402, for generating data model according to the table information and the field information;
Second receiving unit 403, for receiving the model configuration information for the data model of user's input;
Model configuration unit 404, for being configured to the data model according to the model configuration information;
Third receiving unit 405, for receiving the form configuration information of user's input;
List generation unit 406, for generating dictionary list according to the form configuration information and the data model;
Menu generation unit 407, for according to the dictionary list, systematic function menu.
In an embodiment of the present invention, the Menu generation unit, is used for:
When receiving the publication order of user's input, catalogue selection interface is popped up;
Determine the catalogue to be released that user is selected by the target selection interface;
Receive the pad name of user's input;
Using the catalogue to be released as the catalogue of the function menu, using the pad name as the function menu
Title, the dictionary table list is issued as the function menu.
In an embodiment of the present invention, the expression configuration information, comprising: displayable field in the data model,
Editable field in the data model;
The list generation unit, is used for:
Provide a user at least one form templat;
Determine the target list template that user selects from least one form templat;
According to displayable field and the number in the data model, the target list template, the data model
According to field editable in model, the dictionary list is generated.
In an embodiment of the present invention, which further comprises:
4th receiving unit, for receiving the menu privileges configuration information of user's input;
First authority configuration unit, for according to the menu privileges configuration information, configuration to use the function menu institute
The permission needed.
In an embodiment of the present invention, which further comprises:
5th receiving unit, for receiving the field privileges configuration information for aiming field of user's input;
Second authority configuration unit, for according to the field privileges configuration information, in function menu described in configuration access
The aiming field required for permission.
In an embodiment of the present invention, which further comprises:
6th receiving unit, for receiving the data permission configuration information for target data of user's input;
Third authority configuration unit, for according to the data permission configuration information, in function menu described in configuration access
Target data required for permission.
In an embodiment of the present invention, the table information of the dictionary, comprising: the maintenance mode of table name, the dictionary;
The field information of the dictionary, comprising: whether length, the type of field, the field of field are empty.
In an embodiment of the present invention, which further comprises:
Recording unit, for real-time recording needle to the operation log of the function menu, real-time recording needle is to the function
The versions of data of menu.
The contents such as the information exchange between each unit, implementation procedure in above-mentioned apparatus, due to implementing with the method for the present invention
Example is based on same design, and for details, please refer to the description in the embodiment of the method for the present invention, and details are not described herein again.
The embodiment of the invention provides a kind of readable mediums, including execute instruction, when the processor of storage control executes
Described when executing instruction, the storage control executes the side of any one defined function menu provided in an embodiment of the present invention
Method.
The embodiment of the invention provides a kind of storage controls, comprising: processor, memory and bus;
The memory is executed instruction for storing, and the processor is connect with the memory by the bus, when
When the storage control is run, the processor executes executing instruction for the memory storage, so that the storage controls
The method that device executes any one defined function menu provided in an embodiment of the present invention.
The each embodiment of the present invention at least has the following beneficial effects:
1, automatic raw in embodiments of the present invention, according to the field information of the table information of the dictionary of user's input and dictionary
Data model is configured automatically, according to the model configuration information that user inputs according to data model and use at data model
The form configuration information of family input, automatically generates dictionary list, according to the dictionary list systematic function menu, whole process user
Without writing code, can automatic generation function menu, can more easily realize function menu through the embodiment of the present invention.
2, the embodiment of the present invention greatly improves flexibility and the configurability of system, and meeting the personalized of user needs
It asks, by perfect data manipulation log recording, improves the quality and trackability of user data management, the embodiment of the present invention
The Life cycle of data can be covered and support the distribution management of data, be not necessarily to secondary development, reduce the use of user at
This can also be used the component to carry out the definition of function menu, in project delivery through the embodiment of the present invention to meet user's
Individual demand is greatly improved the delivery speed of project.
It should be noted that, in this document, such as first and second etc relational terms are used merely to an entity
Or operation is distinguished with another entity or operation, is existed without necessarily requiring or implying between these entities or operation
Any actual relationship or order.Moreover, the terms "include", "comprise" or its any other variant be intended to it is non-
It is exclusive to include, so that the process, method, article or equipment for including a series of elements not only includes those elements,
It but also including other elements that are not explicitly listed, or further include solid by this process, method, article or equipment
Some elements.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including
There is also other identical factors in the process, method, article or equipment of the element.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can store in computer-readable storage medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light
In the various media that can store program code such as disk.
Finally, it should be noted that the foregoing is merely presently preferred embodiments of the present invention, it is merely to illustrate skill of the invention
Art scheme, is not intended to limit the scope of the present invention.Any modification for being made all within the spirits and principles of the present invention,
Equivalent replacement, improvement etc., are included within the scope of protection of the present invention.
Claims (10)
1. a kind of method of defined function menu characterized by comprising
Receive the table information of the dictionary of user's input and the field information of dictionary;
According to the table information and the field information, data model is generated;
Receive the model configuration information for the data model of user's input;
According to the model configuration information, the data model is configured;
Receive the form configuration information of user's input;
According to the form configuration information and the data model, dictionary list is generated;
According to the dictionary list, systematic function menu.
2. the method according to claim 1, wherein
It is described according to the dictionary list, systematic function menu, comprising:
When receiving the publication order of user's input, catalogue selection interface is popped up;
Determine the catalogue to be released that user is selected by the target selection interface;
Receive the pad name of user's input;
Using the catalogue to be released as the catalogue of the function menu, using the pad name as the name of the function menu
Claim, the dictionary table list is issued as the function menu.
3. the method according to claim 1, wherein
The expression configuration information, comprising: displayable field in the data model, editable word in the data model
Section;
It is described according to the form configuration information and the data model, generate dictionary list, comprising:
Provide a user at least one form templat;
Determine the target list template that user selects from least one form templat;
According to displayable field and the data mould in the data model, the target list template, the data model
Editable field in type generates the dictionary list.
4. method according to claim 1 to 3, which is characterized in that
Further comprise:
Receive the menu privileges configuration information of user's input;
According to the menu privileges configuration information, configuration uses permission required for the function menu;
And/or
Further comprise:
Receive the field privileges configuration information for aiming field of user's input;
According to the field privileges configuration information, weighed required for the aiming field in function menu described in configuration access
Limit;
And/or
Further comprise:
Receive the data permission configuration information for target data of user's input;
According to the data permission configuration information, permission required for the target data in function menu described in configuration access.
5. method according to claim 1 to 3, which is characterized in that
The table information of the dictionary, comprising: the maintenance mode of table name, the dictionary;
The field information of the dictionary, comprising: whether length, the type of field, the field of field are empty;
And/or
Described according to the dictionary list, after systematic function menu, further comprise:
Operation log of the real-time recording needle to the function menu;
Versions of data of the real-time recording needle to the function menu.
6. a kind of device of defined function menu characterized by comprising
First receiving unit, for receiving the table information of the dictionary of user's input and the field information of dictionary;
Model generation unit, for generating data model according to the table information and the field information;
Second receiving unit, for receiving the model configuration information for the data model of user's input;
Model configuration unit, for being configured to the data model according to the model configuration information;
Third receiving unit, for receiving the form configuration information of user's input;
List generation unit, for generating dictionary list according to the form configuration information and the data model;
Menu generation unit, for according to the dictionary list, systematic function menu.
7. device according to claim 6, which is characterized in that
The Menu generation unit, is used for:
When receiving the publication order of user's input, catalogue selection interface is popped up;
Determine the catalogue to be released that user is selected by the target selection interface;
Receive the pad name of user's input;
Using the catalogue to be released as the catalogue of the function menu, using the pad name as the name of the function menu
Claim, the dictionary table list is issued as the function menu.
8. device according to claim 6, which is characterized in that
The expression configuration information, comprising: displayable field in the data model, editable word in the data model
Section;
The list generation unit, is used for:
Provide a user at least one form templat;
Determine the target list template that user selects from least one form templat;
According to displayable field and the data mould in the data model, the target list template, the data model
Editable field in type generates the dictionary list.
9. according to the device any in claim 6-8, which is characterized in that
Further comprise:
4th receiving unit, for receiving the menu privileges configuration information of user's input;
First authority configuration unit, for according to the menu privileges configuration information, configuration to be used required for the function menu
Permission;
And/or
Further comprise:
5th receiving unit, for receiving the field privileges configuration information for aiming field of user's input;
Second authority configuration unit, for the institute according to the field privileges configuration information, in function menu described in configuration access
State permission required for aiming field;
And/or
Further comprise:
6th receiving unit, for receiving the data permission configuration information for target data of user's input;
Third authority configuration unit, for the mesh according to the data permission configuration information, in function menu described in configuration access
Mark permission required for data.
10. according to the device any in claim 6-8, which is characterized in that
The table information of the dictionary, comprising: the maintenance mode of table name, the dictionary;
The field information of the dictionary, comprising: whether length, the type of field, the field of field are empty;
And/or
Further comprise:
Recording unit, for real-time recording needle to the operation log of the function menu, real-time recording needle is to the function menu
Versions of data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811504205.8A CN109634606A (en) | 2018-12-10 | 2018-12-10 | A kind of method and device of defined function menu |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811504205.8A CN109634606A (en) | 2018-12-10 | 2018-12-10 | A kind of method and device of defined function menu |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109634606A true CN109634606A (en) | 2019-04-16 |
Family
ID=66072444
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811504205.8A Pending CN109634606A (en) | 2018-12-10 | 2018-12-10 | A kind of method and device of defined function menu |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109634606A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111325009A (en) * | 2020-03-03 | 2020-06-23 | 山东浪潮通软信息科技有限公司 | Method and device for generating form |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20040078046A (en) * | 2003-02-24 | 2004-09-08 | 가부시키가이샤 히타치세이사쿠쇼 | Form definition data creation method and form handling machines |
CN101706720A (en) * | 2009-11-23 | 2010-05-12 | 浪潮集团山东通用软件有限公司 | Method for showing interface according to customized information during operation |
CN101866297A (en) * | 2010-06-11 | 2010-10-20 | 中兴通讯股份有限公司 | Method and device for generating management platform |
CN103246733A (en) * | 2013-05-13 | 2013-08-14 | 浪潮集团山东通用软件有限公司 | Dynamic form system based on metadata and generation method thereof |
CN104267949A (en) * | 2014-09-25 | 2015-01-07 | 成都国科海博信息技术股份有限公司 | Form designer and form design method |
-
2018
- 2018-12-10 CN CN201811504205.8A patent/CN109634606A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20040078046A (en) * | 2003-02-24 | 2004-09-08 | 가부시키가이샤 히타치세이사쿠쇼 | Form definition data creation method and form handling machines |
CN101706720A (en) * | 2009-11-23 | 2010-05-12 | 浪潮集团山东通用软件有限公司 | Method for showing interface according to customized information during operation |
CN101866297A (en) * | 2010-06-11 | 2010-10-20 | 中兴通讯股份有限公司 | Method and device for generating management platform |
CN103246733A (en) * | 2013-05-13 | 2013-08-14 | 浪潮集团山东通用软件有限公司 | Dynamic form system based on metadata and generation method thereof |
CN104267949A (en) * | 2014-09-25 | 2015-01-07 | 成都国科海博信息技术股份有限公司 | Form designer and form design method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111325009A (en) * | 2020-03-03 | 2020-06-23 | 山东浪潮通软信息科技有限公司 | Method and device for generating form |
CN111325009B (en) * | 2020-03-03 | 2023-11-14 | 浪潮通用软件有限公司 | Method and device for generating forms |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105447122B (en) | A kind of implementation method that archives economy can be independently created based on multilist association | |
CN112036736B (en) | Workflow creation method and device | |
US10296305B2 (en) | Method and device for the automated production and provision of at least one software application | |
US7788237B2 (en) | Method and system for tracking changes in a document | |
US10867273B2 (en) | Interface for expanding logical combinations based on relative placement | |
US9182963B2 (en) | Computerized migration tool and method | |
US20200065313A1 (en) | Extensible content object metadata | |
CN104133772A (en) | Automatic test data generation method | |
CN102542382A (en) | Method and device for managing business rule | |
CN103226478A (en) | Method for automatically generating and using code | |
US11783254B2 (en) | Method and system for implementing an adaptive data governance system | |
US20130173541A1 (en) | Database version management system | |
CN114115883B (en) | Method for quickly constructing front-end application by using middle station service capability | |
CN111784108B (en) | Modeling method and device of main data management platform | |
US20080263142A1 (en) | Meta Data Driven User Interface System and Method | |
US20010037228A1 (en) | System and method for using metadata to flexibly analyze data | |
WO2005094500A2 (en) | Document development platform | |
US20060047723A1 (en) | Custom database system and method of building the same | |
CN108228762B (en) | Method and system for configuring master database universal templates | |
CN108268615A (en) | A kind of data processing method, device and system | |
US20080263018A1 (en) | Method and System for Mapping Business Objects to Relational Database Tables | |
US10706225B2 (en) | Form management system and method | |
CN111680087B (en) | Main data model management platform and method | |
CN106951593B (en) | Method and device for generating configuration file of protection measurement and control device | |
CN109634606A (en) | A kind of method and device of defined function menu |
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: 20190416 |
|
RJ01 | Rejection of invention patent application after publication |