CN105868357B - File managing and control system and method - Google Patents

File managing and control system and method Download PDF

Info

Publication number
CN105868357B
CN105868357B CN201610187539.1A CN201610187539A CN105868357B CN 105868357 B CN105868357 B CN 105868357B CN 201610187539 A CN201610187539 A CN 201610187539A CN 105868357 B CN105868357 B CN 105868357B
Authority
CN
China
Prior art keywords
list
unit
data
storage unit
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610187539.1A
Other languages
Chinese (zh)
Other versions
CN105868357A (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.)
Kaili power supply bureau
Original Assignee
Kaili power supply bureau
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 Kaili power supply bureau filed Critical Kaili power supply bureau
Priority to CN201610187539.1A priority Critical patent/CN105868357B/en
Publication of CN105868357A publication Critical patent/CN105868357A/en
Application granted granted Critical
Publication of CN105868357B publication Critical patent/CN105868357B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/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/24Querying
    • G06F16/248Presentation of query results

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Storage Device Security (AREA)

Abstract

The present invention discloses a kind of file managing and control system and method.The system comprises input units to receive static list;Acquiring unit receives static list and obtains the HTML code of static list;Separative unit isolates list model code according to HTML code and generates form controls list;Authorization unit generates user right list according to form controls list category authorization;First storage unit stores list model code, form controls list and user right list;List generation unit generates the list of different rights according to user right list;The list of different rights is merged generation merging data by data combination unit;Second storage unit stores merging data;Integral unit generates partial data table after being integrated the data of the data that the first storage unit stores and the storage of the second storage unit, and the demand that user's list version frequent updating is adapted in the case where not increasing database redundancy and complexity is realized with this.

Description

File managing and control system and method
Technical field
The present invention relates to the communications fields, more particularly to a kind of file managing and control system and method.
Background technique
Existing form design makes a report on system, and there are mainly two types of methods: the first is that system is raw according to form design dynamic At database table, database table field and list project are corresponded, and make a report on permission by list item dividing, this method is main The occasion relatively stable applied to list project, newdata library table is needed when list project changes, this will cause list The expansion of database table quantity is serious when version updating is more frequent, increases database O&M cost;Second is designed in system When creation there is the database table of larger redundant field, all form datas are stored in a tables of data, when form design Be manually specified the storage field of database table according to form item purpose data type, this method to the update adaptability of list compared with By force, when list project changes, the project of reassigning corresponds to literary name section, however the redundancy of tables of data will cause data inventory The waste in space is stored up, and amount of redundancy has determined at the beginning of system deployment, it is possible to the project table big beyond system redundancy amount It is single incompatible, but also user is needed to have considerable degree of understanding to database technology, otherwise it can be led in specified storage field Cause system mistake.
Summary of the invention
The invention mainly solves the technical problem of providing a kind of file management system and methods, not increase database The demand of user's list version frequent updating is adapted in the case where redundancy and complexity.
In order to solve the above technical problems, one technical scheme adopted by the invention is that: a kind of file managing and control system is provided, is wrapped It includes:
Input unit, for receiving static list;
Acquiring unit connects the input unit, for receiving static list from the input unit and obtaining described quiet The HTML code of state list;
Separative unit connects the acquiring unit, for receiving HTML code from the acquiring unit and according to described HTML code isolates list model code and generates form controls list;
Authorization unit connects the separative unit, for receiving the form controls list and root from the separative unit User right list is generated according to the form controls list category authorization;
First storage unit connects the separative unit and the authorization unit, for store the list model code, The form controls list and the user right list;
List generation unit connects first storage unit, for obtaining the user from first storage unit Permissions list and the list that different rights are generated according to the user right list;
Data combination unit connects the list generation unit, for receiving the difference from the list generation unit The list of different rights is simultaneously merged generation merging data by the list of permission;
Second storage unit connects the data combination unit, the merging generated for storing the data combination unit Data;And
Integral unit connects first storage unit and second storage unit, for first storage is single The data of member storage and the data of second storage unit storage generate partial data table after being integrated.
Wherein, first storage unit is form templat table, and second storage unit is user data table.
Wherein, the form templat table and the user data table store in the database.
Wherein, the list model code, the form controls list and the user right list are stored in the table The corresponding field of single template table, the merging data that the data combination unit generates are stored in the number of users of the user data table According to field, partial data table is generated after user data is merged with form templat data.
Wherein, the form controls list and the user right list are stored in described first by serializing and store list In member, the merging data is stored in second storage unit by serializing.
In order to solve the above technical problems, one technical scheme adopted by the invention is that: a kind of file management-control method is provided, is wrapped It includes:
Static list is received by input unit;
Static list is received from the input unit by acquiring unit and obtains the HTML code of the static list;
HTML code is received from the acquiring unit by separative unit and list sample is isolated according to the HTML code Formula code and generation form controls list;
By authorization unit from the separative unit reception form controls list and according to the form controls list Classification authorization generates user right list;
The list model code, the form controls list and user right column are stored by the first storage unit Table;
From first storage unit user right list is obtained by list generation unit and according to the user right The list of list generation different rights;
From the list generation unit list of the different rights is received by data combination unit and by different rights List merge generation merging data;
The merging data that the data combination unit generates is stored by the second storage unit;And
The data of the data for being stored first storage unit by integral unit and second storage unit storage Partial data table is generated after being integrated.
Wherein, first storage unit is form templat table, and second storage unit is user data table.
Wherein, the form templat table and the user data table store in the database.
Wherein, the list model code, the form controls list and the user right list are stored in the table The corresponding field of single template table, the merging data that the data combination unit generates are stored in the number of users of the user data table According to field, partial data table is generated after user data is merged with form templat data.
Wherein, the form controls list and the user right list are stored in described first by serializing and store list In member, the merging data is stored in second storage unit by serializing.
The beneficial effects of the present invention are: being in contrast to the prior art, the file managing and control system of the invention and side Method obtains the static list HTML code edited of user by the acquiring unit and isolates list model code and list control Part list, and user right list is generated by classification of the items authorization of the authorization unit to form controls list, by list Model code, form controls list and for permissions list deposit database form templat table in corresponding field, the list Generation unit is stored in the number of users of user data table after merging according to the list of different user permission build different rights and to it According to field, the integral unit, which merges user data with form templat data, generates partial data report, is realized with this not The demand of user's list version frequent updating is adapted in the case where increasing database redundancy and complexity.
Detailed description of the invention
Fig. 1 is the block diagram of file managing and control system of the invention;
Fig. 2 is the flow chart of file management-control method of the invention.
Specific embodiment
Referring to Fig. 1, being the block diagram of file managing and control system 1 of the invention.As shown in Figure 1, the file managing and control system 1 Including input unit 10, for receiving static list;Acquiring unit 20 connects the input unit 10, is used for from the input Unit 10 receives static list and obtains the HTML code of the static list;Separative unit 30 connects the acquiring unit 20, For receiving HTML code from the acquiring unit 20 and isolating list model code and generation table according to the HTML code Single list of controls;Authorization unit 40 connects the separative unit 30, for receiving the form controls from the separative unit 30 List simultaneously generates user right list according to the form controls list category authorization;First storage unit 50, described point of connection From unit 30 and the authorization unit 40, for storing the list model code, the form controls list and the user Permissions list;List generation unit 60 connects first storage unit 50, for obtaining institute from first storage unit 50 It states user right list and generates the list of different rights according to the user right list;Data combination unit 70 connects institute List generation unit 60 is stated, for receiving the list of the different rights from the list generation unit 60 and by different rights List merges generation merging data;Second storage unit 80 connects the data combination unit 70, for storing the number The merging data generated according to combining unit 70;Integral unit 90, connects first storage unit 50 and second storage is single Member 80, the data that the data for storing first storage unit 50 are stored with second storage unit 80 are integrated Partial data table is generated afterwards.
In the present embodiment, first storage unit 50 is form templat table, and second storage unit 80 is user Tables of data.The form templat table and user data table storage are in the database.
The list model code, the form controls list and the user right list are stored in the form templat The corresponding field of table, the merging data that the data combination unit 70 generates are stored in the user data word of the user data table Section generates partial data table after merging user data with form templat data.
The form controls list and the user right list pass through serializing and are stored in first storage unit 50 Interior, the merging data is stored in second storage unit 80 by serializing.The file managing and control system and method base It works in Browser/Server Mode.
Referring to FIG. 2, being the flow chart of file management-control method of the invention.As shown in Fig. 2, the file management-control method packet It includes:
Step S1: static list is received by input unit 10;
Step S2: static list is received from the input unit 10 by acquiring unit 20 and obtains the static list HTML code;
Step S3: HTML code is received from the acquiring unit by separative unit 30 and is separated according to the HTML code List model code and generation form controls list out;
Step S4: the form controls list from the separative unit 30 is received by authorization unit 40 and according to the table Single control part list category authorization generates user right list;
Step S5: the list model code, the form controls list and described are stored by the first storage unit 50 User right list;
Step S6: user right list from first storage unit 50 is obtained by list generation unit 60 and according to institute State the list that user right list generates different rights;
Step S7: the list of the different rights is received simultaneously from the list generation unit 60 by data combination unit 70 The list of different rights is merged into generation merging data;
Step S8: the merging data that the data combination unit generates is stored by the second storage unit 80;And
Step S9: the data and second storage unit for being stored first storage unit 50 by integral unit 90 The data of 80 storages generate partial data table after being integrated.
The file managing and control system and method obtain the static list HTML code that user edits by the acquiring unit And list model code and form controls list are isolated, and by the authorization unit to the classification of the items of form controls list Authorization generates user right list, by list model code, form controls list and is used for permissions list deposit database list Corresponding field in template table, the list generation unit according to the lists of different user permission build different rights and close it And it is stored in the user data fields of user data table afterwards, user data is merged generation with form templat data by the integral unit Partial data report is realized with this and adapts to user's list version in the case where not increasing database redundancy and complexity frequently more New demand.
Mode the above is only the implementation of the present invention is not intended to limit the scope of the invention, all to utilize this Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content, it is relevant to be applied directly or indirectly in other Technical field is included within the scope of the present invention.

Claims (10)

1. a kind of file managing and control system, which is characterized in that the file managing and control system includes:
Input unit, for receiving static list;
Acquiring unit connects the input unit, for receiving static list from the input unit and obtaining the static table Single HTML code;
Separative unit connects the acquiring unit, for receiving HTML code from the acquiring unit and according to the HTML generation Code isolates list model code and generates form controls list;
Authorization unit connects the separative unit, for receiving the form controls list from the separative unit and according to institute It states form controls list category authorization and generates user right list;
First storage unit connects the separative unit and the authorization unit, for storing the list model code, described Form controls list and the user right list;
List generation unit connects first storage unit, for obtaining the user right from first storage unit List and the list that different rights are generated according to the user right list;
Data combination unit connects the list generation unit, for receiving the different rights from the list generation unit List and generate merging data after being handled the form data of different rights;
Second storage unit connects the data combination unit, the merging data generated for storing the data combination unit; And
Integral unit connects first storage unit and second storage unit, for depositing first storage unit The data of storage and the data of second storage unit storage generate partial data table after being handled.
2. file managing and control system according to claim 1, which is characterized in that first storage unit refers to form templat Table, second storage unit refer to user data table.
3. file managing and control system according to claim 2, which is characterized in that the form templat table and the user data Table stores in the database.
4. file managing and control system according to claim 2, which is characterized in that the list model code, the list control Part list and the user right list are stored in the corresponding field of the form templat table, what the data combination unit generated Merging data is stored in the user data fields of the user data table, after user data and form templat data are handled Generate partial data table.
5. file managing and control system according to claim 1, which is characterized in that the form controls list and user power Limit list is stored in first storage unit by serializing, and the merging data is stored in described second by serializing In storage unit.
6. a kind of file management-control method, which is characterized in that the file management-control method includes:
Static list is received by input unit;
Static list is received from the input unit by acquiring unit and obtains the HTML code of the static list;
HTML code is received from the acquiring unit by separative unit and list pattern generation is isolated according to the HTML code Code and generation form controls list;
By authorization unit from the separative unit reception form controls list and according to the form controls list category Authorization generates user right list;
The list model code, the form controls list and the user right list are stored by the first storage unit;
From first storage unit user right list is obtained by list generation unit and according to the user right list Generate the list of different rights;
From the list generation unit list of the different rights is received by data combination unit and by the table of different rights Forms data generates merging data after being handled;
The merging data that the data combination unit generates is stored by the second storage unit;And
The data for being stored first storage unit by integral unit and the data of second storage unit storage carry out Partial data table is generated after processing.
7. file management-control method according to claim 6, which is characterized in that first storage unit refers to form templat Table, second storage unit refer to user data table.
8. file management-control method according to claim 7, which is characterized in that the form templat table and the user data Table stores in the database.
9. file management-control method according to claim 7, which is characterized in that the list model code, the list control Part list and the user right list are stored in the corresponding field of the form templat table, what the data combination unit generated Merging data is stored in the user data fields of the user data table, after user data and form templat data are handled Generate partial data table.
10. file management-control method according to claim 6, which is characterized in that the form controls list and the user Permissions list is stored in first storage unit by serializing, and the merging data is stored in described the by serializing In two storage units.
CN201610187539.1A 2016-03-29 2016-03-29 File managing and control system and method Active CN105868357B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610187539.1A CN105868357B (en) 2016-03-29 2016-03-29 File managing and control system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610187539.1A CN105868357B (en) 2016-03-29 2016-03-29 File managing and control system and method

Publications (2)

Publication Number Publication Date
CN105868357A CN105868357A (en) 2016-08-17
CN105868357B true CN105868357B (en) 2019-02-22

Family

ID=56625250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610187539.1A Active CN105868357B (en) 2016-03-29 2016-03-29 File managing and control system and method

Country Status (1)

Country Link
CN (1) CN105868357B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107330344A (en) 2017-07-01 2017-11-07 成都牵牛草信息技术有限公司 A kind of related information authorization method of list
CN107292588A (en) * 2017-07-01 2017-10-24 成都牵牛草信息技术有限公司 The method authorized respectively to list operating right according to form field values
CN107315931A (en) 2017-07-05 2017-11-03 成都牵牛草信息技术有限公司 Form field values operating right authorization method
CN116702111B (en) * 2023-08-02 2023-11-14 中国物品编码中心 Webpage form data authority control method and computer storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101329624A (en) * 2007-06-22 2008-12-24 上海容恒实业有限公司 Computer flexible management construction system
CN102135990A (en) * 2011-03-11 2011-07-27 北京神舟航天软件技术有限公司 Java server page (JSP) template-based intelligent table system capable of being defined freely and generating method
WO2014065227A1 (en) * 2012-10-22 2014-05-01 株式会社モリサワ Font delivery system and font delivery method
CN104090768A (en) * 2014-07-18 2014-10-08 武汉市科尔创新软件技术有限公司 Automatic intelligent smart phone form generating system and method
CN104461519A (en) * 2014-11-23 2015-03-25 国云科技股份有限公司 Method for dynamically producing flow chart and controlling authority
CN105302550A (en) * 2015-10-12 2016-02-03 江苏中威科技软件系统有限公司 Method and system for converting page into layout data stream file

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101329624A (en) * 2007-06-22 2008-12-24 上海容恒实业有限公司 Computer flexible management construction system
CN102135990A (en) * 2011-03-11 2011-07-27 北京神舟航天软件技术有限公司 Java server page (JSP) template-based intelligent table system capable of being defined freely and generating method
WO2014065227A1 (en) * 2012-10-22 2014-05-01 株式会社モリサワ Font delivery system and font delivery method
CN104090768A (en) * 2014-07-18 2014-10-08 武汉市科尔创新软件技术有限公司 Automatic intelligent smart phone form generating system and method
CN104461519A (en) * 2014-11-23 2015-03-25 国云科技股份有限公司 Method for dynamically producing flow chart and controlling authority
CN105302550A (en) * 2015-10-12 2016-02-03 江苏中威科技软件系统有限公司 Method and system for converting page into layout data stream file

Also Published As

Publication number Publication date
CN105868357A (en) 2016-08-17

Similar Documents

Publication Publication Date Title
CN102779040B (en) A kind of method and apparatus generating customizing form
CN105868357B (en) File managing and control system and method
CN103368765B (en) A kind of privileges of management system adding method and device
US8380588B2 (en) Side-by-side comparison of associations for multi-level bills of material
CN103593443A (en) Method for electronic file metadata expansion
CN109472446B (en) BIM model-based engineering budget estimate planning method
CN105022615A (en) Interface generating method and system
CN103246733A (en) Dynamic form system based on metadata and generation method thereof
CN103678532A (en) Alternation statement reverse analysis method, database alternating and backspacing method and database alternating and backspacing system
CN101452441A (en) Electronic table general-purpose data parsing and leading-in method
CN105683940A (en) Processing a data flow graph of a hybrid flow
CN103914290A (en) Operating command processing method and device
CN103929325A (en) Organization mechanism and user right uniform control method in information system integration
CN108205454A (en) Data management automatic production of HTML page method and system based on Extensible template library
CN101739526A (en) Service system-oriented and oriented object-based rights management method
Ma et al. The development of a standard component library for plastic injection mould design using an object-oriented approach
CN103838837A (en) Remote-sensing metadata integration method based on lexeme templates
CN102722368B (en) Plug-in software designing method based on document tree and message pump
CN103186628A (en) Method for mapping between common information model and relational database
US20050192925A1 (en) Enterprise information system architecture (EISA)
US10140387B2 (en) Model for managing variations in a product structure for a product
EP2698734A2 (en) Model for managing variations in a product structure for a product
Böger et al. Standardized names for object types and attributes as basis for cooperation between planning and building
CN104679740A (en) Data processing system
CN101477457A (en) Application module management system, application module execution method and virtual machine

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant