CN110502214A - A kind of method, apparatus and storage medium generating business form - Google Patents
A kind of method, apparatus and storage medium generating business form Download PDFInfo
- Publication number
- CN110502214A CN110502214A CN201910561201.1A CN201910561201A CN110502214A CN 110502214 A CN110502214 A CN 110502214A CN 201910561201 A CN201910561201 A CN 201910561201A CN 110502214 A CN110502214 A CN 110502214A
- Authority
- CN
- China
- Prior art keywords
- business
- layer
- list
- row
- logical relation
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/24—Object-oriented
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
A kind of method, apparatus and storage medium generating business form, method includes: generation form framework, generates five layers of container object according to the form framework;Single-row dynamic table, dynamic table uniline, dynamic list pattern, the attribute of form templat and logical relation attribute are respectively set in form framework according to the first logical relation between each layer container object;Multiple business forms are generated according to the first logical relation;Respectively every business form configures each cell control type, and the equilibrium relation configured between different business list verifies rule;The second logical relation between the component of configuration service list, the operation that encapsulation form object is interacted with database;The business datum of multiple business type is acquired according to the first logical relation;Classify according to type of service to business form and business datum, the business datum for belonging to identical services type is filled to the srvice instance list for obtaining multiple business system to belonging in the business form of identical services type according to the first logical relation.
Description
Technical field
The present invention relates to data collection process field more particularly to a kind of method, apparatus and storage for generating business form
Medium.
Background technique
In government affairs big data field, many functional government departments can all acquire the number between various types of operation systems
According to the data between various types of operation systems are integrated and are shared.In operation system, most of business form is
It is realized by way of hard coded.
Currently, most of business form is by way of hard coded in the operation system of functional department, governments at all levels
It realizes, therefore during user actually uses this kind of operation system, coder needs to be carried out according to the business demand of user
Code revision and code adjustment, when especially needing to acquire a large amount of business datum from operation system, it is numerous to will lead to workload
Weight and inefficiency, and modify and adjust code and be also subject to many limitations.
Summary of the invention
In view of the above technical problems, the embodiment of the invention provides a kind of method, apparatus and storage for generating business form
Medium.
In a first aspect, the embodiment of the present invention provides a kind of method for generating business form, the business form is for acquiring
Business datum in operation system, the operation system include the form system based on micro services framework, the micro services framework
Including application layer, Business Logic, data abstraction layer, data access layer and data storage layer;The described method includes:
Form framework is generated, the application layer, the Business Logic, institute are respectively corresponded according to form framework generation
State the container object of data abstraction layer, the data access layer and the data storage layer;Each layer container object is used for structure
Make business form;
The first logical relation between each layer container object is created, according to the first logical relation between each layer container object
Be respectively set in the form framework single-row dynamic table, dynamic table uniline, dynamic list pattern, form templat attribute and
Logical relation attribute between form templat;The pattern refers to the list being made of multiple grid and with inherent logic data
Object;
Multiple business forms are generated according to the first logical relation between each layer container object;
Each cell control type in respectively every business form configuration form templat, and configuration be not of the same trade or business
Equilibrium relation between business list verifies rule;The second logic configured between the component of every business form is closed
System, and all operations that each form object of encapsulation is interacted with database;
According to the business datum of the first logical relation acquisition multiple business type between each layer container object;
Classify according to type of service to multiple described business forms, and classifies to multiple business datums, root
According to the first logical relation between each layer container object by the business datum for belonging to identical services type fill to belong to mutually the same trade
In the business form of service type, to obtain the srvice instance list of multiple business system.
In a kind of possible design, the Business Logic for describe forms traffic process flow and form object it
Between cooperation relation;
The data abstraction layer includes data access operation library, ADO Data access library and fundamental objects library;The data are taken out
As layer is used to be packaged ADO Data access library in data access operation library;The fundamental objects library defines the list system
The foundation class of system, the foundation class is used to encapsulate the fundamental operation to the database, and is responsible for the basic data
Access and management operation;
The data access layer is used to seal using SpringBoot+MyBatis data access mode and object-oriented way
Fill the access object of database;
The data storage layer is used for using at least one mode in index, view and function in the database
Business datum to be processed stored, is read and batch processing.
In a kind of possible design, the logical relation according between each layer container object generates multiple traffic tables
It is single, comprising:
The business form for receiving user customizes request, and the business form customization request includes the instruction letter made a report on according to row
Breath or the instruction information made a report on according to column;
The business form made a report on according to row is generated according to the control type of the form templat row, or according to the list
The control type of template column generates the business form made a report on according to column;
A two-dimensional table is generated, every row of the two-dimensional table is arranged according to the row table control type of form templat row
Row input control, or according to form templat arrange list control type be arranged the two-dimensional table each column column input control;
The period is made a report in setting so that the form system automatically generate it is each make a report on the period make a report on task;
First logical relation according between each layer container object fills out the business datum for belonging to identical services type
It is charged in the business form for belonging to identical services type, comprising:
According to the first logical relation between each layer container object, after calling the row input control to combine business datum
It stores in the row for storing the business form, and after calling the column input control to combine business datum to the business
In the column of list, to obtain the srvice instance list of multiple business system.
In a kind of possible design, after the srvice instance list for obtaining multiple business system, the method is also
Include:
The first inquiry instruction is received, first inquiry instruction indicates multiple form templats;
The mark of multiple form templats of the first inquiry instruction instruction is inquired according to the form object;
Calling list Lower level logical library to traverse in the database according to the mark of the multiple form templat, satisfaction is default to be looked into
All form templats of inquiry condition;
All form templats for meeting preset query condition traversed are parsed respectively, obtain multiple parsing knots
Fruit;
The multiple parsing result is merged, is exported multiple parsing results after merging as the srvice instance list
To and show.
In a kind of possible design, first logical relation according between each layer container object acquires multiple business
After the business datum of type, the method also includes:
In the data storage layer, using at least one mode in index, view and function, and the basis is called
Class carries out batch format processing to business datum relevant to forms traffic in the database according to preset format, obtains institute
State the business datum of preset format.
Second aspect, the embodiment of the invention provides a kind of for generating the device of business form, and described device is used for industry
Business system, the operation system include the form system based on micro services framework, and the micro services framework includes application layer, business
Logical layer, data abstraction layer, data access layer and data storage layer.Business form in the form system is used for capturing service
Business datum in system.Described device includes:
Processing module respectively corresponds the application layer, described according to form framework generation for generating form framework
Business Logic, the data abstraction layer, the data access layer and the data storage layer container object;Each layer holds
Device object is for constructing business form;
The first logical relation between each layer container object is created, according to the first logical relation between each layer container object
Be respectively set in the form framework single-row dynamic table, dynamic table uniline, dynamic list pattern, form templat attribute and
Logical relation attribute between form templat;The pattern refers to the list being made of multiple grid and with inherent logic data
Object;
Multiple business forms are generated according to the first logical relation between each layer container object;
Each cell control type in respectively every business form configuration form templat, and configuration be not of the same trade or business
Equilibrium relation between business list verifies rule;The second logic configured between the component of every business form is closed
System, and all operations that each form object of encapsulation is interacted with database;
Acquisition module, for the business according to the first logical relation acquisition multiple business type between each layer container object
Data;
The processing module is also used to classify to multiple described business forms according to type of service, and to multiple industry
Business data are classified, and the business datum of identical services type will be belonged to according to the first logical relation between each layer container object
Filling is to belonging in the business form of identical services type, to obtain the srvice instance list of multiple business system.
In a kind of possible design, the Business Logic for describe forms traffic process flow and form object it
Between cooperation relation;
The data abstraction layer includes data access operation library, ADO Data access library and fundamental objects library;The data are taken out
As layer is used to be packaged ADO Data access library in data access operation library;The fundamental objects library defines the list system
The foundation class of system, the foundation class is used to encapsulate the fundamental operation to the database, and is responsible for the basic data
Access and management operation;
The data access layer is used to seal using SpringBoot+MyBatis data access mode and object-oriented way
Fill the access object of database;
The data storage layer is used for using at least one mode in index, view and function in the database
Business datum to be processed stored, is read and batch processing.
In a kind of possible design, described device further includes input/output module, and the input/output module is used for:
The business form for receiving user customizes request, and the business form customization request includes the instruction letter made a report on according to row
Breath or the instruction information made a report on according to column;
The processing module is specifically used for generating the business made a report on according to row according to the control type of the form templat row
List, or the business form made a report on according to column is generated according to the control type of form templat column;Generate a bivariate table
The row input control of every row of the two-dimensional table is arranged according to the row table control type of form templat row for lattice, or according to list
The column input control of each column of the two-dimensional table is arranged in the list control type of template column;
The period is made a report in setting so that the form system automatically generate it is each make a report on the period make a report on task;
According to the first logical relation between each layer container object, after calling the row input control to combine business datum
It stores in the row for storing the business form, and after calling the column input control to combine business datum to the business
In the column of list, to obtain the srvice instance list of multiple business system.
In a kind of possible design, the processing module after obtaining the srvice instance list of multiple business system,
It is also used to:
It is also used to receive the first inquiry instruction by the input/output module, first inquiry instruction indicates multiple tables
Single mode plate;
The mark of multiple form templats of the first inquiry instruction instruction is inquired according to the form object;
Calling list Lower level logical library to traverse in the database according to the mark of the multiple form templat, satisfaction is default to be looked into
All form templats of inquiry condition;
All form templats for meeting preset query condition traversed are parsed respectively, obtain multiple parsing knots
Fruit;
The multiple parsing result is merged, is exported multiple parsing results after merging as the srvice instance list
To and show.
In a kind of possible design, the processing module is in the acquisition module according between each layer container object
After one logical relation acquires the business datum of multiple business type, it is also used to:
In the data storage layer, using at least one mode in index, view and function, and the basis is called
Class carries out batch format processing to business datum relevant to forms traffic in the database according to preset format, obtains institute
State the business datum of preset format.
The another aspect of the application provides a kind of computer equipment comprising processor, the memory of at least one connection
And transceiver, wherein the memory is used to call the program in the memory for storing program code, the processor
Code executes method described in above-mentioned first aspect.
The another aspect of the application provides a kind of computer storage medium comprising instruction, when it runs on computers
When, so that computer executes method described in above-mentioned first aspect.
Compared with current mechanism, in technical solution provided in an embodiment of the present invention, five layers are generated according to the form framework
Container object;It is single-row, dynamic that dynamic table is respectively set in form framework according to the first logical relation between each layer container object
State form line, dynamic list pattern, the attribute of form templat and logical relation attribute;Multiple industry are generated according to the first logical relation
Business list;Respectively every business form configuration line table control type and list control type configure between different business list
Equilibrium relation verify rule;The second logical relation between the component of configuration service list encapsulates form object and number
According to the operation of library interaction;The business datum of multiple business type is acquired according to the first logical relation;According to type of service to business
List and business datum classification, fill the business datum for belonging to identical services type according to the first logical relation identical to belonging to
In the business form of type of service, the srvice instance list of multiple business system is obtained.As it can be seen that after using this programme, by adopting
It with the scheme of dynamic creation business form, can be adjusted flexibly, and be carried out any on demand on original business form
Extension, therefore can be realized the data acquisition and storage concentrated to different business list.
Detailed description of the invention
Fig. 1 is a kind of structural schematic diagram of the functional module of micro services framework in the embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of the hierarchical structure of micro services framework in the embodiment of the present invention;
Fig. 3 is a kind of flow diagram that the method for business form is generated in the embodiment of the present invention;
Fig. 4 is in the embodiment of the present invention for generating a kind of structural schematic diagram of the device of business form.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those skilled in the art's every other implementation obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
For ease of understanding, term appeared in the embodiment of the present invention is first introduced below:
Micro services framework: a kind of architecture mode is advocated the application of monolithic framework being divided into one group of small service, services it
Between coordinate mutually, work in coordination, provide final value for user.Each service operation is in its independent process, service and clothes
It is communicated with each other between business using the communication mechanism of lightweight.Each service is constructed around specific business, and can be by
It is independent to be deployed to production environment, class production environment etc..
Form framework: refer to the blank template for making business form.
Business form: to the general designation of all tables filled in or do not filled in.
Pattern: the form object with inherent logic data being made of multiple grid.
Srvice instance list: the instance object of template, i.e., with the list of full service data.
In order to solve the above technical problems, the embodiment of the present invention provides following scheme:
Based on the data acquisition Internet-based of micro services architectures, Direct Network Reporting System platform, it is fixed to provide pure web report
System, the definition of equilibrium relation rule, the audit of multi -index difference, strict data check, automated data such as summarize at the functions.Finding
I.e. resulting to import and export, large user measures Volume data and reports and submits, and effectively solution data collecting standard is lack of standardization and balance is closed
It is ungratified problem.
Wherein, micro services framework includes application layer, Business Logic, data abstraction layer, data access layer and data storage
Layer, the functional module of micro services framework is as shown in Figure 1, the hierarchical structure of micro services framework is as shown in Figure 2.
Application layer: the application platform of dynamic list handling and operation interacts for user and system and provides entrance.
Business Logic: description forms traffic process flow and form object between cooperation relation, and provide and its
His operation system carries out the standard interface of information exchange.
Data abstraction layer: including data access operation library, ADO Data access library and fundamental objects library;The data abstraction
Layer is for being packaged ADO Data access library in data access operation library;The fundamental objects library defines the entire form system
Foundation class, the foundation class is used to encapsulate fundamental operation to the database, and responsible deposits to the basic data
Take and manage operation.Data access operation library may make operation to database more after being packaged to ADO Data access library
Add it is understandable and conveniently, further, since foundation class encapsulates the fundamental operation to database, and be responsible for access to basic data and
Management work handles information in relevant to forms traffic so can be realized by foundation class by a kind of unified mode
Function.
Data access layer: SpringBoot+MyBatis data access mode and object-oriented way encapsulation of data library are used
Access object.The convenient access operation to database.
Data storage layer: it is main that data storage and reading service are provided, such as return to data result, the storage of application layer retrieval
The processing result etc. of application layer.MySql can be used and carry out data management;In addition, due to the application to system processes data efficiency
Demand, the data storage layer be used for using in index, view and function at least one of mode in the database to
Processing business data are stored, are read and batch processing.
As shown in Figure 2, the call relation between above each layer is from up to down, not allow cross-layer to call, and in this way can
The safety and stability of data access, scalability of enhancing system function and robustness are improved, and is provided and other business
System carries out a possibility that information integration of safety.
It is one embodiment that the method for business form is generated in the embodiment of the present invention, the traffic table refering to Fig. 3, Fig. 1
The business datum in capturing service system is applied alone, the operation system includes form system, and the micro services framework includes answering
With layer, Business Logic, data abstraction layer, data access layer and data storage layer.The embodiment of the present invention includes:
301, form framework is generated, the application layer, the service logic are respectively corresponded according to form framework generation
Layer, the data abstraction layer, the data access layer and the data storage layer container object.
Wherein, each layer container object is for constructing business form.
302, the first logical relation between each layer container object is created, according to the first logic between each layer container object
The attribute of single-row dynamic table, dynamic table uniline, dynamic list pattern, form templat is respectively set in relationship in the form framework
And the logical relation attribute between form templat.
Wherein, the pattern refers to the form object being made of multiple grid and with inherent logic data.
303, multiple business forms are generated according to the first logical relation between each layer container object.
In some embodiments, the logical relation according between each layer container object generates multiple business forms, packet
It includes:
The business form for receiving user customizes request, and the business form customization request includes the instruction letter made a report on according to row
Breath or the instruction information made a report on according to column;
The business form made a report on according to row is generated according to the control type of the form templat row, or according to the list
The control type of template column generates the business form made a report on according to column;
A two-dimensional table is generated, every row of the two-dimensional table is arranged according to the row table control type of form templat row
Row input control, or according to form templat arrange list control type be arranged the two-dimensional table each column column input control;
The period is made a report in setting so that the form system automatically generate it is each make a report on the period make a report on task;
Correspondingly, first logical relation according between each layer container object will belong to the business of identical services type
Data are filled to belonging in the business form of identical services type, comprising:
According to the first logical relation between each layer container object, after calling the row input control to combine business datum
It stores in the row for storing the business form, and after calling the column input control to combine business datum to the business
In the column of list, to obtain the srvice instance list of multiple business system.
As it can be seen that being adjusted flexibly on demand on original business form by the above-mentioned means, can be realized, guaranteeing industry
While business list is consistent with the input and output of business datum, moreover it is possible to the form system of the application be enabled to be suitable for a variety of industry
Business system, and do not have to separately design a set of form system exclusively for every kind of operation system, reduce code expenditure.
It 304, is respectively each cell control type in every business form configuration form templat, and configuration is not
Rule is verified with the equilibrium relation between business form;Configure the second logic between the component of every business form
Relationship, and all operations that each form object of encapsulation is interacted with database.
Wherein, cell control type includes row table control type and list control type.
305, according to the business datum of the first logical relation acquisition multiple business type between each layer container object.
306, classify according to type of service to multiple described business forms, and multiple business datums are divided
Class fills the business datum for belonging to identical services type to belonging to phase according to the first logical relation between each layer container object
With in the business form of type of service, to obtain the srvice instance list of multiple business system.
Compared with current mechanism, in the embodiment of the present invention, five layers of container object are generated according to the form framework;According to each
The first logical relation between layer container object is respectively set that dynamic table is single-row, dynamic table uniline, dynamic table in form framework
Single pattern, the attribute of form templat and logical relation attribute;Multiple business forms are generated according to the first logical relation;It is respectively every
Business form configuration line table control type and list control type are opened, the equilibrium relation configured between different business list verifies rule
Then;The second logical relation between the component of configuration service list, the operation that encapsulation form object is interacted with database;Root
According to the business datum of the first logical relation acquisition multiple business type;According to type of service to business form and business datum point
Class fills the business datum for belonging to identical services type to the traffic table for belonging to identical services type according to the first logical relation
Dan Zhong obtains the srvice instance list of multiple business system.As it can be seen that in one side, being created by using dynamic after using this programme
The scheme of business form is built, can be adjusted flexibly on demand on original business form, and carries out arbitrary extension, therefore
It can be realized the data acquisition and storage concentrated to different business list.In another aspect, the form system in the application may be used also
To enable and quickly generate business form using user towards user is specifically used, user experience is improved.
In addition, in the application, by between forms traffic process flow and form object defined in Business Logic
Cooperation relation, and by providing the standard interface with other operation systems progress information exchange in Business Logic, can make
It obtains administrative staff and Function Extension is carried out to existing operation system by providing standard interface specifications, to reduce exploitation list system
The cost of system.
Optionally, in some embodiments of the present application, after the srvice instance list for obtaining multiple business system,
The method also includes:
The first inquiry instruction is received, first inquiry instruction indicates multiple form templats;
The mark of multiple form templats of the first inquiry instruction instruction is inquired according to the form object;
Calling list Lower level logical library to traverse in the database according to the mark of the multiple form templat, satisfaction is default to be looked into
All form templats of inquiry condition;
All form templats for meeting preset query condition traversed are parsed respectively, obtain multiple parsing knots
Fruit;
The multiple parsing result is merged, is exported multiple parsing results after merging as the srvice instance list
To and show.
Optionally, in some embodiments of the present application, first logical relation according between each layer container object
After the business datum for acquiring multiple business type, the method also includes:
In the data storage layer, using at least one mode in index, view and function, and the basis is called
Class carries out batch format processing to business datum relevant to forms traffic in the database according to preset format, obtains institute
State the business datum of preset format.
As it can be seen that data-handling efficiency on the one hand can be accelerated by carrying out batch format processing to business datum, it is another
Aspect can guarantee data summarization and the single cause of acquisition tables, to solve that data collecting standard is lack of standardization and equilibrium relation is discontented
The problem of foot.
The method of the generation business form in the embodiment of the present invention is described above, below to the embodiment of the present invention
In the device for generating business form be described, refering to Fig. 4, described device is used for operation system, the operation system
Including the form system based on micro services framework, the micro services framework include application layer, Business Logic, data abstraction layer,
Data access layer and data storage layer.Business form in the form system is for the business datum in capturing service system.
Described device includes processing module, acquisition module and input/output module.
In some embodiments, the processing module can be used for generating form framework, be generated according to the form framework
Respectively correspond the application layer, the Business Logic, the data abstraction layer, the data access layer and data storage
The container object of layer;Each layer container object is for constructing business form;
The first logical relation between each layer container object is created, according to the first logical relation between each layer container object
Be respectively set in the form framework single-row dynamic table, dynamic table uniline, dynamic list pattern, form templat attribute and
Logical relation attribute between form templat;The pattern refers to the list being made of multiple grid and with inherent logic data
Object;
Multiple business forms are generated according to the first logical relation between each layer container object;
Each cell control type in respectively every business form configuration form templat, and configuration be not of the same trade or business
Equilibrium relation between business list verifies rule;The second logic configured between the component of every business form is closed
System, and all operations that each form object of encapsulation is interacted with database;
The acquisition module can be used for acquiring multiple business type according to the first logical relation between each layer container object
Business datum;
The processing module is also used to classify to multiple described business forms according to type of service, and to multiple industry
Business data are classified, and the business datum of identical services type will be belonged to according to the first logical relation between each layer container object
Filling is to belonging in the business form of identical services type, to obtain the srvice instance list of multiple business system.
Compared with current mechanism, in the embodiment of the present application, the processing module generates five layers of appearance according to the form framework
Device object;According to the first logical relation between each layer container object be respectively set in form framework dynamic table it is single-row, dynamic
Form line, dynamic list pattern, the attribute of form templat and logical relation attribute;Multiple business are generated according to the first logical relation
List;Respectively every business form configuration line table control type and list control type configure between different business list
Equilibrium relation verification rule;The second logical relation between the component of configuration service list encapsulates form object and data
The operation of library interaction;The business datum of multiple business type is acquired according to the first logical relation;According to type of service to traffic table
The classification of single and business datum fills the business datum for belonging to identical services type to belonging to the mutually same trade according to the first logical relation
In the business form of service type, the srvice instance list of multiple business system is obtained.As it can be seen that by using dynamic creation traffic table
Single scheme, can be adjusted flexibly on demand on original business form, and carry out arbitrary extension, therefore can be realized
Concentrate the data acquisition and storage to different business list.
In some embodiments, the Business Logic is for describing between forms traffic process flow and form object
Cooperation relation;
The data abstraction layer includes data access operation library, ADO Data access library and fundamental objects library;The data are taken out
As layer is used to be packaged ADO Data access library in data access operation library;The fundamental objects library defines the list system
The foundation class of system, the foundation class is used to encapsulate the fundamental operation to the database, and is responsible for the basic data
Access and management operation;
The data access layer is used to seal using SpringBoot+MyBatis data access mode and object-oriented way
Fill the access object of database;
The data storage layer is used for using at least one mode in index, view and function in the database
Business datum to be processed stored, is read and batch processing.
In some embodiments, described device further includes input/output module, and the input/output module is used for:
The business form for receiving user customizes request, and the business form customization request includes the instruction letter made a report on according to row
Breath or the instruction information made a report on according to column;
The processing module is specifically used for generating the business made a report on according to row according to the control type of the form templat row
List, or the business form made a report on according to column is generated according to the control type of form templat column;Generate a bivariate table
The row input control of every row of the two-dimensional table is arranged according to the row table control type of form templat row for lattice, or according to list
The column input control of each column of the two-dimensional table is arranged in the list control type of template column;
The period is made a report in setting so that the form system automatically generate it is each make a report on the period make a report on task;
According to the first logical relation between each layer container object, after calling the row input control to combine business datum
It stores in the row for storing the business form, and after calling the column input control to combine business datum to the business
In the column of list, to obtain the srvice instance list of multiple business system.
In some embodiments, the processing module is after obtaining the srvice instance list of multiple business system, also
For:
It is also used to receive the first inquiry instruction by the input/output module, first inquiry instruction indicates multiple tables
Single mode plate;
The mark of multiple form templats of the first inquiry instruction instruction is inquired according to the form object;
Calling list Lower level logical library to traverse in the database according to the mark of the multiple form templat, satisfaction is default to be looked into
All form templats of inquiry condition;
All form templats for meeting preset query condition traversed are parsed respectively, obtain multiple parsing knots
Fruit;
The multiple parsing result is merged, is exported multiple parsing results after merging as the srvice instance list
To and show.
In some embodiments, the processing module is in the acquisition module according to first between each layer container object
After logical relation acquires the business datum of multiple business type, it is also used to:
In the data storage layer, using at least one mode in index, view and function, and the basis is called
Class carries out batch format processing to business datum relevant to forms traffic in the database according to preset format, obtains institute
State the business datum of preset format.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, the technical solution of the application substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM), including some instructions are used so that a terminal (can be mobile phone, computer, server or network are set
It is standby etc.) execute method described in each embodiment of the application.
Embodiments herein is described above in conjunction with attached drawing, but the application be not limited to it is above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the enlightenment of the application, when not departing from the application objective and scope of the claimed protection, can also it make very much
Form, it is all using equivalent structure or equivalent flow shift made by present specification and accompanying drawing content, directly or indirectly
Other related technical areas are used in, these are belonged within the protection of the application.
Claims (10)
1. a kind of method for generating business form, the business form is for the business datum in capturing service system, feature
It is, the operation system includes the form system based on micro services framework, and the micro services framework includes that application layer, business are patrolled
Collect layer, data abstraction layer, data access layer and data storage layer;The described method includes:
Form framework is generated, the application layer, the Business Logic, the number are respectively corresponded according to form framework generation
According to level of abstraction, the container object of the data access layer and the data storage layer;Each layer container object is for constructing industry
Business list;
The first logical relation between each layer container object is created, according to the first logical relation between each layer container object in institute
State the attribute and form templat that single-row dynamic table, dynamic table uniline, list pattern, form templat are respectively set in form framework
Between logical relation attribute;The pattern refers to the form object being made of multiple grid and with inherent logic data;
Multiple business forms are generated according to the first logical relation between each layer container object;
Each cell control type in respectively every business form configuration form templat, and configuration different business table
Equilibrium relation between list verifies rule;The second logical relation between the component of every business form is configured, with
And all operations that each form object of encapsulation is interacted with database;
According to the business datum of the first logical relation acquisition multiple business type between each layer container object;
Classify according to type of service to multiple described business forms, and classify to multiple business datums, according to each
The first logical relation between layer container object fills the business datum for belonging to identical services type to belonging to same service class
In the business form of type, to obtain the srvice instance list of multiple business system.
2. the method according to claim 1, wherein the Business Logic is for describing forms traffic processing stream
Cooperation relation between journey and form object;
The data abstraction layer includes data access operation library, ADO Data access library and fundamental objects library;The data abstraction layer
For being packaged in data access operation library to ADO Data access library;The fundamental objects library defines the form system
Foundation class, the foundation class is used to encapsulate the fundamental operation to the database, and is responsible for the access to the basic data
It is operated with management;
The data access layer is used to encapsulate number using SpringBoot+MyBatis data access mode and object-oriented way
According to the access object in library;
The data storage layer be used for using in index, view and function at least one of mode in the database wait locate
Reason business datum is stored, is read and batch processing.
3. according to the method described in claim 2, it is characterized in that, described raw according to the logical relation between each layer container object
At multiple business forms, comprising:
The business form for receiving user customizes request, business form customization request include the instruction information made a report on according to row or
The instruction information made a report on according to column;
The business form made a report on according to row is generated according to the control type of the form templat row, or according to the form templat
The control type of column generates the business form made a report on according to column;
A two-dimensional table is generated, the row for every row that the two-dimensional table is arranged according to the row table control type of form templat row is defeated
Enter control, or the column input control of each column of the two-dimensional table is set according to the list control type that form templat arranges;
The period is made a report in setting so that the form system automatically generate it is each make a report on the period make a report on task;
First logical relation according between each layer container object by the business datum for belonging to identical services type fill to
Belong in the business form of identical services type, comprising:
According to the first logical relation between each layer container object, stored after calling the row input control to combine business datum
It stores into the row of the business form, and after calling the column input control to combine business datum to the business form
Column in, to obtain the srvice instance list of multiple business system.
4. according to the method in claim 2 or 3, which is characterized in that the srvice instance table for obtaining multiple business system
After list, the method also includes:
The first inquiry instruction is received, first inquiry instruction indicates multiple form templats;
The mark of multiple form templats of the first inquiry instruction instruction is inquired according to the form object;
List Lower level logical library is called to traverse the default inquiry item of satisfaction in the database according to the mark of the multiple form templat
All form templats of part;
All form templats for meeting preset query condition traversed are parsed respectively, obtain multiple parsing results;
The multiple parsing result is merged, is exported multiple parsing results after merging as the srvice instance list to simultaneously
Display.
5. according to the method described in claim 4, it is characterized in that, first logic according between each layer container object is closed
After the business datum of system's acquisition multiple business type, the method also includes:
In the data storage layer, using at least one mode in index, view and function, and the foundation class is called to press
Batch format processing is carried out to business datum relevant to forms traffic in the database according to preset format, is obtained described pre-
If the business datum of format.
6. a kind of for generating the device of business form, described device is used for operation system, which is characterized in that the operation system
Including the form system based on micro services framework, the micro services framework include application layer, Business Logic, data abstraction layer,
Data access layer and data storage layer.Business form in the form system is for the business datum in capturing service system;
Described device includes:
Processing module respectively corresponds the application layer, the business according to form framework generation for generating form framework
Logical layer, the data abstraction layer, the data access layer and the data storage layer container object;Each layer container pair
As for constructing business form;
The first logical relation between each layer container object is created, according to the first logical relation between each layer container object in institute
State the attribute and list that single-row dynamic table, dynamic table uniline, dynamic list pattern, form templat are respectively set in form framework
Logical relation attribute between template;The pattern refers to the list pair being made of multiple grid and with inherent logic data
As;
Multiple business forms are generated according to the first logical relation between each layer container object;
Each cell control type in respectively every business form configuration form templat, and configuration different business table
Equilibrium relation between list verifies rule;The second logical relation between the component of every business form is configured, with
And all operations that each form object of encapsulation is interacted with database;
Acquisition module, for the business number according to the first logical relation acquisition multiple business type between each layer container object
According to;
The processing module is also used to classify to multiple described business forms according to type of service, and to multiple business numbers
According to classifying, the business datum for belonging to identical services type is filled according to the first logical relation between each layer container object
To belonging in the business form of identical services type, to obtain the srvice instance list of multiple business system.
7. device according to claim 6, which is characterized in that the Business Logic is for describing forms traffic processing stream
Cooperation relation between journey and form object;
The data abstraction layer includes data access operation library, ADO Data access library and fundamental objects library;The data abstraction layer
For being packaged in data access operation library to ADO Data access library;The fundamental objects library defines the form system
Foundation class, the foundation class is used to encapsulate the fundamental operation to the database, and is responsible for the access to the basic data
It is operated with management;
The data access layer is used to encapsulate number using SpringBoot+MyBatis data access mode and object-oriented way
According to the access object in library;
The data storage layer be used for using in index, view and function at least one of mode in the database wait locate
Reason business datum is stored, is read and batch processing.
8. device according to claim 7, which is characterized in that described device further includes input/output module, the input
Output module is used for:
The business form for receiving user customizes request, business form customization request include the instruction information made a report on according to row or
The instruction information made a report on according to column;
The processing module is specifically used for generating the business form made a report on according to row according to the control type of the form templat row,
Or the business form made a report on according to column is generated according to the control type of form templat column;Generate a two-dimensional table, root
The row input control of every row of the two-dimensional table is set according to the row table control type of form templat row, or is arranged according to form templat
List control type be arranged the two-dimensional table each column column input control;
The period is made a report in setting so that the form system automatically generate it is each make a report on the period make a report on task;
According to the first logical relation between each layer container object, stored after calling the row input control to combine business datum
It stores into the row of the business form, and after calling the column input control to combine business datum to the business form
Column in, to obtain the srvice instance list of multiple business system.
9. device according to claim 8, which is characterized in that the processing module is obtaining the business of multiple business system
After example list, it is also used to:
It is also used to receive the first inquiry instruction by the input/output module, first inquiry instruction indicates multiple list moulds
Plate;
The mark of multiple form templats of the first inquiry instruction instruction is inquired according to the form object;
List Lower level logical library is called to traverse the default inquiry item of satisfaction in the database according to the mark of the multiple form templat
All form templats of part;
All form templats for meeting preset query condition traversed are parsed respectively, obtain multiple parsing results;
The multiple parsing result is merged, is exported multiple parsing results after merging as the srvice instance list to simultaneously
Display.
10. a kind of calculating and storage medium, which is characterized in that it includes instruction, when run on a computer, so that calculating
Machine executes method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910561201.1A CN110502214A (en) | 2019-06-26 | 2019-06-26 | A kind of method, apparatus and storage medium generating business form |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910561201.1A CN110502214A (en) | 2019-06-26 | 2019-06-26 | A kind of method, apparatus and storage medium generating business form |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110502214A true CN110502214A (en) | 2019-11-26 |
Family
ID=68585905
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910561201.1A Pending CN110502214A (en) | 2019-06-26 | 2019-06-26 | A kind of method, apparatus and storage medium generating business form |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110502214A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111191432A (en) * | 2019-12-26 | 2020-05-22 | 广东飞企互联科技股份有限公司 | Smart park big data rapid import method |
CN112528616A (en) * | 2020-12-18 | 2021-03-19 | 平安银行股份有限公司 | Business form generation method and device, electronic equipment and computer storage medium |
CN113468459A (en) * | 2021-07-22 | 2021-10-01 | 浪潮软件科技有限公司 | Display method of dynamic data form |
CN113641671A (en) * | 2021-07-14 | 2021-11-12 | 广州市玄武无线科技股份有限公司 | Processing device and processing method for external data of form configuration module |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030233296A1 (en) * | 2000-12-01 | 2003-12-18 | Wagner Brad H. | System and method for automated form generation and comparison |
US20100281355A1 (en) * | 2009-05-04 | 2010-11-04 | Lockheed Martin Corporation | Dynamically generated web surveys for use with census activities, and associated methods |
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 |
US8082539B1 (en) * | 2006-12-11 | 2011-12-20 | Parallels Holdings, Ltd. | System and method for managing web-based forms and dynamic content of website |
CN109359281A (en) * | 2018-09-25 | 2019-02-19 | 天津字节跳动科技有限公司 | Dynamic list generation method and device |
CN109558126A (en) * | 2018-11-27 | 2019-04-02 | 南方电网调峰调频发电有限公司信息通信分公司 | Form Designer |
US20190155894A1 (en) * | 2017-11-17 | 2019-05-23 | Adobe Systems Incorporated | Automated form generation system |
-
2019
- 2019-06-26 CN CN201910561201.1A patent/CN110502214A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030233296A1 (en) * | 2000-12-01 | 2003-12-18 | Wagner Brad H. | System and method for automated form generation and comparison |
US8082539B1 (en) * | 2006-12-11 | 2011-12-20 | Parallels Holdings, Ltd. | System and method for managing web-based forms and dynamic content of website |
US20100281355A1 (en) * | 2009-05-04 | 2010-11-04 | Lockheed Martin Corporation | Dynamically generated web surveys for use with census activities, and associated methods |
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 |
US20190155894A1 (en) * | 2017-11-17 | 2019-05-23 | Adobe Systems Incorporated | Automated form generation system |
CN109359281A (en) * | 2018-09-25 | 2019-02-19 | 天津字节跳动科技有限公司 | Dynamic list generation method and device |
CN109558126A (en) * | 2018-11-27 | 2019-04-02 | 南方电网调峰调频发电有限公司信息通信分公司 | Form Designer |
Non-Patent Citations (1)
Title |
---|
郭永辉: "动态表单系统设计与实现", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111191432A (en) * | 2019-12-26 | 2020-05-22 | 广东飞企互联科技股份有限公司 | Smart park big data rapid import method |
CN111191432B (en) * | 2019-12-26 | 2023-09-08 | 广东飞企互联科技股份有限公司 | Rapid importing method for big data of intelligent park |
CN112528616A (en) * | 2020-12-18 | 2021-03-19 | 平安银行股份有限公司 | Business form generation method and device, electronic equipment and computer storage medium |
CN112528616B (en) * | 2020-12-18 | 2023-08-22 | 平安银行股份有限公司 | Service form generation method and device, electronic equipment and computer storage medium |
CN113641671A (en) * | 2021-07-14 | 2021-11-12 | 广州市玄武无线科技股份有限公司 | Processing device and processing method for external data of form configuration module |
CN113468459A (en) * | 2021-07-22 | 2021-10-01 | 浪潮软件科技有限公司 | Display method of dynamic data form |
CN113468459B (en) * | 2021-07-22 | 2023-07-18 | 浪潮软件科技有限公司 | Dynamic data form display method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110502214A (en) | A kind of method, apparatus and storage medium generating business form | |
US11004157B2 (en) | XBRL-based intelligent financial cloud platform system, construction method and business implementation method thereof | |
CN105320690B (en) | A kind of statistics list rapid generation and system based on metadata | |
CN103336813B (en) | A kind of Internet of Things data integrated management scheme based on middleware framework | |
US8949291B2 (en) | Automatic conversion of multidimentional schema entities | |
CN104463957B (en) | A kind of three-dimensional scenic Core Generator integrated approach based on material | |
CN108259371A (en) | A kind of network flow data analysis method and device based on stream process | |
CN110549336A (en) | Transformer substation patrols and examines robot centralized control main website system | |
US20020038218A1 (en) | Methods for graphically representing interactions among entities | |
CN106713018A (en) | Message queue business data scheduling method and message queue implementation method | |
CN105183610B (en) | A kind of cloud data center service monitoring system and method based on Resource Dependence relationship | |
CN101807267A (en) | Method for realizing distributed collaborative modeling in integrated data platform | |
CN108366109A (en) | A kind of meteorological data numerical forecast cloud shared platform and data sharing method | |
CN104111998A (en) | Method and device for sorting coding and integrated exchange and management of heterogeneous data of enterprise | |
CN111552728B (en) | Data processing method, system, terminal and storage medium of block chain | |
CN106775752A (en) | Forestry informationlization platform construction method and Forestry informationlization platform based on Business Process Modeling | |
CN109189844A (en) | A kind of inspection examining report business management system | |
CN107590181A (en) | A kind of intelligent analysis system of big data | |
US10338900B2 (en) | Method for generating software architectures for managing data | |
CN103970872A (en) | Multi-level data processing method based on service aperture | |
CN115858651A (en) | Support platform is used in integration of wisdom city | |
CN106713428A (en) | Business operation support system applied to Internet-of-things self-management platform | |
CN114254033A (en) | Data processing method and system based on BS architecture | |
CN104123394B (en) | Processing method for the report file of database | |
CN109361737A (en) | Agricultural supervisory system based on Internet of Things |
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: 20191126 |
|
RJ01 | Rejection of invention patent application after publication |