CN106815005A - The method and device of data processing model and data processing is built based on framework - Google Patents
The method and device of data processing model and data processing is built based on framework Download PDFInfo
- Publication number
- CN106815005A CN106815005A CN201510867300.4A CN201510867300A CN106815005A CN 106815005 A CN106815005 A CN 106815005A CN 201510867300 A CN201510867300 A CN 201510867300A CN 106815005 A CN106815005 A CN 106815005A
- Authority
- CN
- China
- Prior art keywords
- data processing
- data
- application demand
- application
- framework
- 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 143
- 238000012545 processing Methods 0.000 title claims abstract description 108
- 239000000284 extract Substances 0.000 claims abstract description 6
- 238000013500 data storage Methods 0.000 claims description 12
- 238000000605 extraction Methods 0.000 claims description 6
- 238000010276 construction Methods 0.000 claims description 2
- 230000008569 process Effects 0.000 abstract description 9
- 238000013461 design Methods 0.000 abstract description 7
- 238000011161 development Methods 0.000 abstract description 7
- 230000000875 corresponding effect Effects 0.000 description 46
- 230000000007 visual effect Effects 0.000 description 12
- 230000006870 function Effects 0.000 description 11
- 238000012800 visualization Methods 0.000 description 11
- 230000005540 biological transmission Effects 0.000 description 9
- 238000013524 data verification Methods 0.000 description 6
- 238000013515 script Methods 0.000 description 6
- 238000013459 approach Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000002596 correlated effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000009467 reduction Effects 0.000 description 3
- 235000006719 Cassia obtusifolia Nutrition 0.000 description 2
- 235000014552 Cassia tora Nutrition 0.000 description 2
- 244000201986 Cassia tora Species 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 230000008676 import Effects 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 239000000126 substance Substances 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a kind of scheme that data processing model and data processing are built based on framework, the basic framework related data for matching is built based on application demand, obtain the corresponding application logical method of application demand, extract data access relevant information corresponding with application demand, according to data access relevant information, and basic framework related data is combined, the data processing related to application demand is performed by application logical method.By the solution of the present invention, the basic framework related data for matching is built based on application demand, it is capable of achieving the corresponding data processing model of generation, so as to be conducted interviews to data in a model, and customer service can accordingly be distributed rationally, ensure that the uniformity and reliability of data during data access, greatly improve the efficiency for building model, user is helped more intuitively to understand and estimate properties of product, and more effectively avoid being left to problem in Vision Design and development process, so as to effectively improve the efficiency of subsequent product exploitation.
Description
Technical field
The present invention relates to field of computer technology, specifically, taken based on framework the present invention relates to one kind
Build the method and device of data processing model and data processing.
Background technology
With continuing to develop for computer technology, all kinds of modelling instruments are also emerged in multitude therewith.One
Aspect, but most of existing modelling instrument relates only to the design of boundary layer, it is unreal
Existing data access, it is impossible to accurately estimate the actual performance of product, and using such modelling work
User requires a great deal of time in software in study during tool;On the other hand, it is necessary to compile
Journey or tester carry out the basic framework of implementation model from edlin input correlative code, and based on business
Demand custom-configures the specific business datum such as information, and this is to programming or the programming energy of tester itself
Power has higher requirements, and build model with the time it is more long, it is necessary to expend manpower higher and time into
This.Further, because the function that existing modelling instrument is provided has great limitation,
Therefore, may be that actual demand can produce larger difference with user by its model for building, so that
Initial product cannot more really be represented to envision.
Accordingly, it would be desirable to a kind of method that data processing model and data processing are built based on framework, can pole
The earth helps need according to application demand deisgn product or estimate related personnel's understanding product of properties of product
Product need summation function, play a part of displaying directly perceived and effective communication, more effectively avoid staying problem
To in Vision Design and development process, the duration of time used by model buildings is reduced, reduce manpower timely
Between Expenses Cost, so as to effectively improve development efficiency.
The content of the invention
To overcome above-mentioned technical problem or solving above-mentioned technical problem at least in part, spy proposes following
Technical scheme:
Embodiments of the invention propose one kind and build data processing model and data processing based on framework
Method, including:
The basic framework related data for matching is built based on application demand;
Obtain the corresponding application logical method of the application demand;
Extract data access relevant information corresponding with the application demand;
According to the data access relevant information, and the basic framework related data is combined, by institute
State and perform the data processing related to the application demand using logical method.
It is preferably based on application demand and builds the basic framework related data for matching, specifically includes:
It is that the database is set with the application demand phase according to user to the selection operation of database
The data storage and way to manage of pass;
The generation data access method related to the application demand.
Wherein, the data storage and way to manage include following at least any one:
Database framework information;
The tables of data relevant information related to the application demand;
The mathematical logic information related to the application demand.
Preferably, the corresponding application logical method of the application demand is obtained, is specifically included:
The corresponding application logical method of the application demand is extracted from the logical method set for pre-seting;
Or
According to the application demand, the corresponding application logical method of the demand is built and obtained.
Preferably, according to the data access relevant information, and the basic framework related data is combined,
The data processing related to the application demand is performed by the application logical method, is specifically included:
According to the data access relevant information, and the basic framework related data is combined, by institute
State and generate corresponding data processing model using logical method;
The data processing related to the application demand is performed based on the data processing model;
Wherein, SSH framework of the data processing model based on JavaWeb applications is built.
Another embodiment of the present invention proposes one kind and builds data processing model and data based on framework
The device for the treatment of, including:
Module is built, for building the basic framework related data for matching based on application demand;
Acquisition module, for obtaining the corresponding application logical method of the application demand;
Extraction module, for extracting data access relevant information corresponding with the application demand;
Performing module, for according to the data access relevant information, and the combination basic framework phase
Data are closed, the data processing related to the application demand is performed by the application logical method.
Preferably, the structure module is specifically included:
Setting unit, for the selection operation of database, set according to user the database with
The application demand related data storage and way to manage;
First generation unit, for generating the data access method related to the application demand.
Wherein, the data storage and way to manage include following at least any one:
Database framework information;
The tables of data relevant information related to the application demand;
The mathematical logic information related to the application demand.
Preferably, the acquisition module is specifically included:
Extraction unit, it is corresponding for extracting the application demand from the logical method set for pre-seting
Using logical method;Or
Construction unit, for according to the application demand, building and obtaining the corresponding application of the demand
Logical method.
Preferably, the performing module is specifically included:
Second generation unit, for according to the data access relevant information, and the combination basic frame
Frame related data, corresponding data processing model is generated by the application logical method;
Execution unit, for performing the number related to the application demand based on the data processing model
According to treatment;
Wherein, SSH framework of the data processing model based on JavaWeb applications is built.
In embodiments of the invention, it is proposed that one kind is built at data processing model and data based on framework
The scheme of reason, the basic framework related data for matching is built based on application demand, is capable of achieving generation phase
The data processing model answered, so as to be conducted interviews to data in a model, and can be carried out to customer service
Distribute rationally accordingly, it is ensured that the uniformity and reliability of data during data access;Due to logical
Crossing this programme can realize building the automation of data processing model basic framework, to the volume using instrument
The program capability requirement of journey or tester can be substantially reduced, and expanded using user crowd, and significantly
Model duration is built in reduction, lowers the manpower and time cost for expending;Meanwhile, by visualization
Pulling mode realize obtaining the corresponding application logical method of application demand, allow users to quickly
Solution product correlated performance, further, user can also create according to self-demand and use application logic
Method, greatly enriches the performance of product, meanwhile, user can also build according to self-demand
Encoded accordingly during model, the function of sophisticated model so that the model built is truer
The performance for meeting final products, greatly improve the efficiency for building model, help user more directly perceived
Understanding and estimate properties of product, and more effectively avoid for problem being left to Vision Design and development process
In, so as to effectively improve the efficiency of subsequent product exploitation.
The additional aspect of the present invention and advantage will be set forth in part in the description, and these will be from following
Description in become obvious, or by it is of the invention practice recognize.
Brief description of the drawings
The above-mentioned and/or additional aspect of the present invention and advantage to embodiment from retouching below in conjunction with the accompanying drawings
Be will be apparent in stating and be readily appreciated that, wherein:
Fig. 1 is that one embodiment is built at data processing model and data based on framework in the present invention
The flow chart of the method for reason;
Fig. 2 is that preferred embodiment builds data processing model and number based on framework in the present invention
According to the flow chart of the method for the treatment of;
Fig. 3 is that another preferred embodiment builds data processing model and number based on framework in the present invention
According to the flow chart of the method for the treatment of;
Fig. 4 is that another embodiment is built at data processing model and data based on framework in the present invention
The structural representation of the device of reason;
Fig. 5 is that another preferred embodiment builds data processing model and number based on framework in the present invention
According to the structural representation of the device for the treatment of;
Fig. 6 is that another preferred embodiment builds data processing model and number based on framework in the present invention
According to the structural representation of the device for the treatment of.
Specific embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, its
In from start to finish same or similar label represent same or similar element or with same or like
The element of function.Embodiment below with reference to Description of Drawings is exemplary, is only used for explaining this
Invention, and be not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative used herein
" one ", " one ", " described " and " being somebody's turn to do " may also comprise plural form.It is to be further understood that
Used in specification of the invention wording " including " refer to the presence of the feature, integer, step, behaviour
Make, element and/or component, but it is not excluded that in the presence of or add one or more other features, whole
Number, step, operation, element, component and/or their group.It should be understood that when we claim element
It is " connected " or during " coupled " to another element, it can be directly connected or coupled to other elements, or
Can also there is intermediary element in person.Additionally, " connection " used herein or " coupling " can be included wirelessly
Connection or wireless coupling.Wording "and/or" used herein includes one or more associated listing
The whole or any cell of item and all combination.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein
(including technical term and scientific terminology), with art of the present invention in those of ordinary skill
General understanding identical meaning.It should also be understood that those arts defined in such as general dictionary
Language, it should be understood that with the meaning that the meaning in the context with prior art is consistent, and remove
It is non-as here by specific definitions, will not otherwise be explained with idealization or excessively formal implication.
In the prior art, the framework based on JavaWeb applications mainly has Spring frameworks, Struts
Framework and Hibernate frameworks.Spring is a container frame for lightweight, it is adaptable to any Java
Using, Spring frameworks replace EJB (Enterprise JavaBean) using basic JavaBean,
And there is provided more enterprise's application functions, solve the complexity of enterprise's application and development.Struts is
One of earliest Java Open Frameworks, the general Controller of its definable (controller), pass through
Configuration file isolates Model (model) and View (view), with the concept of Action with to
Family request is encapsulated, and code is become apparent from readability, additionally, Struts is additionally provided automatically will
The data of request are filled into object and page-tag etc. simplifies the instrument of coding such that it is able to developed
Large-scale Java Web projects.Hibernate is an Object Relation Mapping framework for open source code,
It has been carried out very to JDBC (connection of Java Data Base Connectivity, Java database)
The object encapsulation of lightweight, can apply the occasion in any use JDBC, additionally, Hibernate
Can also be in J2EE (Java 2Platform Enterprise Edition, the Java2 platforms of application EJB
Enterprise version) replace CMP (Chip multiprocessors, chip multiprocessors) in framework.This
In inventive embodiment, the SSH frameworks that data processing model is based on JavaWeb applications are built, SSH
It is an integrated framework of Struts+Spring+Hibernate, wherein Spring frameworks can Automatic Combined
Relation between each DAO created in data processing model.
Fig. 1 is that one embodiment is built at data processing model and data based on framework in the present invention
The flow chart of the method for reason.
Step S110:The basic framework related data for matching is built based on application demand;Step
S120:Obtain the corresponding application logical method of application demand;Step S130:Extract and application demand
Corresponding data access relevant information;Step S140:According to data access relevant information, and combine
Basic framework related data, the data processing related to application demand is performed by application logical method.
In embodiments of the invention, it is proposed that one kind is built at data processing model and data based on framework
The scheme of reason, the basic framework related data for matching is built based on application demand, is capable of achieving generation phase
The data processing model answered, so as to be conducted interviews to data in a model, and can be carried out to customer service
Distribute rationally accordingly, it is ensured that the uniformity and reliability of data during data access;Due to logical
Crossing this programme can realize building the automation of data processing model basic framework, to the volume using instrument
The program capability requirement of journey or tester can be substantially reduced, and expanded using user crowd, and significantly
Model duration is built in reduction, lowers the manpower and time cost for expending;Meanwhile, by visualization
Pulling mode realize obtaining the corresponding application logical method of application demand, allow users to quickly
Solution product correlated performance, further, user can also create according to self-demand and use application logic
Method, greatly enriches the performance of product, meanwhile, user can also build according to self-demand
Encoded accordingly during model, the function of sophisticated model so that the model built is truer
The performance for meeting final products, greatly improve the efficiency for building model, help user more directly perceived
Understanding and estimate properties of product, and more effectively avoid for problem being left to Vision Design and development process
In, so as to effectively improve the efficiency of subsequent product exploitation.
Step S110:The basic framework related data for matching is built based on application demand.
In the present invention, SSH framework of the data processing model based on JavaWeb applications is built.
For example, building the visualization tool of data processing model and data processing based on Spring frameworks
In ModelTool, user is intended to build a data processing model by using ModelTool, can basis
The application demand of user, by the visual control in ModelTool by related Sql (structurings
Query language) script imported in ModelTool, and subsequent ModelTool can the corresponding data of generation
Storehouse object, the private variable, method in data base read-write access etc.;Then, can be according to user
Database is created to the selection of type of database by the visual control in ModelTool, is such as used
When the type of family selection database is MySql (Relational DBMS), ModelTool
Establishment MySql and MySql can be automatically generated to connect and the related code such as data access, including oneself
It is dynamic to generate MySql connection strings, create and manage the Buffer Pool of MySql connections and to user
Business is distributed rationally accordingly, wherein, customer service is carried out to distribute rationally as that can lead to accordingly
Cross using XML (Extensible Markup Language, extensible markup language) to database
The number of concurrent of access carries out corresponding configuration when reaching predefined number of thresholds, has thereby further ensured that number
According to the uniformity and reliability of data in storehouse;Then, complete to automatically generate and configure answering based on user
The correlation technique of data and transmission data is read in MySql with demand.
In a preferred embodiment, as shown in Fig. 2 building the basic frame for matching based on application demand
Frame related data, specifically includes step S211 and step S212.Step S211:According to user's logarithm
According to the selection operation in storehouse, the data storage and way to manage related to application demand of database is set;
Step S212:The generation data access method related to application demand
Wherein, data storage and way to manage include but is not limited to following any one:
Database framework information;
The tables of data relevant information related to application demand;
The mathematical logic information related to application demand.
For example, building the visualization tool of data processing model and data processing based on Spring frameworks
In ModelTool, user selects type of database to create by the visual control in ModelTool
Database is built, when user-selected number is MySql according to the type in storehouse, ModelTool can be automatically generated
The related methods of MySql are created, and is generated in MySql data by writing or importing Sql scripts
The method that the associative operations such as tables of data, field, the major key related to user's request are created in storehouse, to each
The method that tables of data generation creates view corresponding with user's request, and according to the specific of user's request
Function generation creates method of corresponding storing process (Stored Procedure) etc..
Again for example, building the visual chemical industry of data processing model and data processing based on Spring frameworks
In tool ModelTool, user by visual control in ModelTool select type of database come
Create database, if in ModelTool select type of database visual control in no user demand
Oracle database (Oracle Database) when, user can be by ModelTool from building
The method of vertical oracle database, then, ModelTool writes or imports Sql scripts according to user
Generate and the correlations such as tables of data, field, the major key related to user's request are created in oracle database
The method of operation, the method that view corresponding with user's request is created to the generation of each tables of data, Yi Jigen
Method of corresponding storing process etc. is created according to the specific function generation of user's request.
Step S120:Obtain the corresponding application logical method of application demand.
Wherein, the corresponding application logical method of application demand is obtained, following is specifically including but not limited to
One:
The corresponding application logical method of application demand is extracted from the logical method set for pre-seting;Or
According to application demand, the corresponding application logical method of demand is built and obtained.
For example, building the visualization tool of data processing model and data processing based on Spring frameworks
In ModelTool, completion automatically generates and configures the application demand based on user and read in MySql
After the correlation technique of data and transmission data, user can directly invoke ModelTool according to application demand
The corresponding application logical method of middle offer, provides data verification method and day in such as ModelTool
Will method, when user needs to verify the login relevant information that netizen logs in the website generated by the model
When, directly can verify netizen's register using the data verification method in ModelTool in a model
In relevant information;If netizen carries out financial transaction by the website that the model is generated, server hair
Fail Transaction failure is given birth to, user needs to record the concrete operations type of netizen, occurs in this case
The specific time of failure and the type of failure, so as to obtain such as " 2015:11:15:Due to net when 00 "
The financial transaction payment operation of the people there occurs the log information of server Fail Transaction failure, and user can be straight
Connect and realized using the log approach in ModelTool in a model.
Again for example, connect example, if netizen needs the website generated by the model with EXCEL file
When form derives financial transaction detail to local computing, EXCEL texts are not provided in ModelTool
Method derived from part, then user can be write using programming language in ModelTool and create EXCEL
Method derived from file, subsequent user can in a model use the new EXCEL for creating in ModelTool
Method derived from file.
Step S130:Extract data access relevant information corresponding with application demand.
For example, building the visualization tool of data processing model and data processing based on Spring frameworks
In ModelTool, user uses the data verification in ModelTool in a model according to application demand
After method and log approach, the configuration file of data access can be imported in ModelTool, such as wrapped
JSON (JavaScript Object Notation) files or XML file containing data transferring method,
The method that subsequent ModelTool is transmitted according to JSON files or XML file generation related data.
Step S140:According to data access relevant information, and basic framework related data is combined, led to
Cross and perform the data processing related to application demand using logical method.
In another being preferable to carry out, as shown in figure 3, according to data access relevant information, and combine base
Plinth framework related data, the data processing related to application demand, tool are performed by application logical method
Body includes step S341 and step S342.Step S341:According to data access relevant information, and tie
Basic framework related data is closed, corresponding data processing model is generated by application logical method;Step
S342:The data processing related to application demand is performed based on data processing model.
For example, example is connected, the MySql databases that the need selected in a model in advance based on user are created,
According to the method that JSON file generateds such as daily record data is transmitted is imported, to the phase of required log recording
Closing tables of data carries out data access, transmission and read-write operation, and the day by being provided in ModelTool
Will method generates data processing model, and user can use in the Page1 pages of model generation website
Programming language writes the application method of daily record data transmission in model, when netizen accesses Page1 pages of website
During face, the website of model generation can be according to detailed URL (the Uniform Resource of the Page1 pages
Locator, URL) address information, the corresponding operating to netizen carries out log recording.
Fig. 4 is that another embodiment is built at data processing model and data based on framework in the present invention
The structural representation of the device of reason.
Build module 410 and be based on the basic framework related data that application demand structure matches;Obtain mould
Block 420 obtains the corresponding application logical method of application demand;Extraction module 430 is extracted and application demand
Corresponding data access relevant information;Performing module 440 is combined according to data access relevant information
Basic framework related data, the data processing related to application demand is performed by application logical method.
In embodiments of the invention, it is proposed that one kind is built at data processing model and data based on framework
The scheme of reason, the basic framework related data for matching is built based on application demand, is capable of achieving generation phase
The data processing model answered, so as to be conducted interviews to data in a model, and can be carried out to customer service
Distribute rationally accordingly, it is ensured that the uniformity and reliability of data during data access;Due to logical
Crossing this programme can realize building the automation of data processing model basic framework, to the volume using instrument
The program capability requirement of journey or tester can be substantially reduced, and expanded using user crowd, and significantly
Model duration is built in reduction, lowers the manpower and time cost for expending;Meanwhile, by visualization
Pulling mode realize obtaining the corresponding application logical method of application demand, allow users to quickly
Solution product correlated performance, further, user can also create according to self-demand and use application logic
Method, greatly enriches the performance of product, meanwhile, user can also build according to self-demand
Encoded accordingly during model, the function of sophisticated model so that the model built is truer
The performance for meeting final products, greatly improve the efficiency for building model, help user more directly perceived
Understanding and estimate properties of product, and more effectively avoid for problem being left to Vision Design and development process
In, so as to effectively improve the efficiency of subsequent product exploitation.
Build module 410 and be based on the basic framework related data that application demand structure matches.
In the present invention, SSH framework of the data processing model based on JavaWeb applications is built.
For example, building the visualization tool of data processing model and data processing based on Spring frameworks
In ModelTool, user is intended to build a data processing model by using ModelTool, can basis
The application demand of user, by the visual control in ModelTool by related Sql (structurings
Query language) script imported in ModelTool, and subsequent ModelTool can the corresponding data of generation
Storehouse object, the private variable, method in data base read-write access etc.;Then, can be according to user
Database is created to the selection of type of database by the visual control in ModelTool, is such as used
When the type of family selection database is MySql (Relational DBMS), ModelTool
Establishment MySql and MySql can be automatically generated to connect and the related code such as data access, including oneself
It is dynamic to generate MySql connection strings, create and manage the Buffer Pool of MySql connections and to user
Business is distributed rationally accordingly, wherein, customer service is carried out to distribute rationally as that can lead to accordingly
Cross using XML (Extensible Markup Language, extensible markup language) to database
The number of concurrent of access carries out corresponding configuration when reaching predefined number of thresholds, has thereby further ensured that number
According to the uniformity and reliability of data in storehouse;Then, complete to automatically generate and configure answering based on user
The correlation technique of data and transmission data is read in MySql with demand.
In a preferred embodiment, as shown in figure 5, building module specifically includes the He of setting unit 511
First generation unit 512.According to user to the selection operation of database, setting unit 511 sets number
According to the data storage and way to manage related to application demand in storehouse;First generation unit 512 generate with
The related data access method of application demand
Wherein, data storage and way to manage include but is not limited to following any one:
Database framework information;
The tables of data relevant information related to application demand;
The mathematical logic information related to application demand.
For example, building the visualization tool of data processing model and data processing based on Spring frameworks
In ModelTool, user selects type of database to create by the visual control in ModelTool
Database is built, when user-selected number is MySql according to the type in storehouse, ModelTool can be automatically generated
The related methods of MySql are created, and is generated in MySql data by writing or importing Sql scripts
The method that the associative operations such as tables of data, field, the major key related to user's request are created in storehouse, to each
The method that tables of data generation creates view corresponding with user's request, and according to the specific of user's request
Function generation creates method of corresponding storing process (Stored Procedure) etc..
Again for example, building the visual chemical industry of data processing model and data processing based on Spring frameworks
In tool ModelTool, user by visual control in ModelTool select type of database come
Create database, if in ModelTool select type of database visual control in no user demand
Oracle database (Oracle Database) when, user can be by ModelTool from building
The method of vertical oracle database, then, ModelTool writes or imports Sql scripts according to user
Generate and the correlations such as tables of data, field, the major key related to user's request are created in oracle database
The method of operation, the method that view corresponding with user's request is created to the generation of each tables of data, Yi Jigen
Method of corresponding storing process etc. is created according to the specific function generation of user's request.
Acquisition module 420 obtains the corresponding application logical method of application demand.
Wherein, the corresponding application logical method of application demand is obtained, following is specifically including but not limited to
One:
The corresponding application logical method of application demand is extracted from the logical method set for pre-seting;Or
According to application demand, the corresponding application logical method of demand is built and obtained.
For example, building the visualization tool of data processing model and data processing based on Spring frameworks
In ModelTool, completion automatically generates and configures the application demand based on user and read in MySql
After the correlation technique of data and transmission data, user can directly invoke ModelTool according to application demand
The corresponding application logical method of middle offer, provides data verification method and day in such as ModelTool
Will method, when user needs to verify the login relevant information that netizen logs in the website generated by the model
When, directly can verify netizen's register using the data verification method in ModelTool in a model
In relevant information;If netizen carries out financial transaction by the website that the model is generated, server hair
Fail Transaction failure is given birth to, user needs to record the concrete operations type of netizen, occurs in this case
The specific time of failure and the type of failure, so as to obtain such as " 2015:11:15:Due to net when 00 "
The financial transaction payment operation of the people there occurs the log information of server Fail Transaction failure, and user can be straight
Connect and realized using the log approach in ModelTool in a model.
Again for example, connect example, if netizen needs the website generated by the model with EXCEL file
When form derives financial transaction detail to local computing, EXCEL texts are not provided in ModelTool
Method derived from part, then user can be write using programming language in ModelTool and create EXCEL
Method derived from file, subsequent user can in a model use the new EXCEL for creating in ModelTool
Method derived from file.
Extraction module 430 extracts data access relevant information corresponding with application demand.
For example, building the visualization tool of data processing model and data processing based on Spring frameworks
In ModelTool, user uses the data verification in ModelTool in a model according to application demand
After method and log approach, the configuration file of data access can be imported in ModelTool, such as wrapped
JSON (JavaScript Object Notation) files or XML file containing data transferring method,
The method that subsequent ModelTool is transmitted according to JSON files or XML file generation related data.
According to data access relevant information, and basic framework related data is combined, performing module 440 is led to
Cross and perform the data processing related to application demand using logical method.
In another being preferable to carry out, as shown in fig. 6, performing module specifically includes the second generation unit
641 and execution unit 642.According to data access relevant information, and basic framework related data is combined,
Second generation unit 641 generates corresponding data processing model by application logical method;Execution unit
642 perform the data processing related to application demand based on data processing model.
For example, example is connected, the MySql databases that the need selected in a model in advance based on user are created,
According to the method that JSON file generateds such as daily record data is transmitted is imported, to the phase of required log recording
Closing tables of data carries out data access, transmission and read-write operation, and the day by being provided in ModelTool
Will method generates data processing model, and user can use in the Page1 pages of model generation website
Programming language writes the application method of daily record data transmission in model, when netizen accesses Page1 pages of website
During face, the website of model generation can be according to detailed URL (the Uniform Resource of the Page1 pages
Locator, URL) address information, the corresponding operating to netizen carries out log recording.
Those skilled in the art of the present technique are appreciated that the present invention includes being related to for performing institute in the application
The equipment for stating one or more in operation.These equipment can be for needed for purpose and specially design and
Manufacture, or the known device in all-purpose computer can also be included.These equipment have storage at it
Interior computer program, these computer programs are optionally activated or reconstructed.Such computer journey
Sequence can be stored in equipment (for example, computer) computer-readable recording medium or store and be suitable to storage electricity
Sub-instructions are simultaneously coupled in any kind of medium of bus respectively, and the computer-readable medium includes
But be not limited to any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk),
ROM (Read-Only Memory, read-only storage), RAM (Random Access Memory,
Memory immediately), (Erasable Programmable Read-Only Memory, can for EPROM
Erasable programmable read only memory), EEPROM (Electrically Erasable Programmable
Read-Only Memory, EEPROM), flash memory, magnetic card or light
Card.It is, computer-readable recording medium includes being deposited in the form of it can read by equipment (for example, computer)
Storage or any medium of transmission information.
Those skilled in the art of the present technique are appreciated that can realize that these are tied with computer program instructions
Each frame and these structure charts and/or block diagram and/or flow graph in composition and/or block diagram and/or flow graph
In frame combination.Those skilled in the art of the present technique are appreciated that can be referred to these computer programs
Order is supplied to the processor of all-purpose computer, special purpose computer or other programmable data processing methods
Realize, so as to perform the present invention by the processor of computer or other programmable data processing methods
The scheme specified in the frame or multiple frames of disclosed structure chart and/or block diagram and/or flow graph.
Those skilled in the art of the present technique are appreciated that various operations, the side discussed in the present invention
Step, measure, scheme in method, flow can be replaced, changed, combined or deleted.Further
Ground, with other steps in various operations, method, the flow discussed in the present invention, arranges
Apply, scheme can also be replaced, changed, reset, decompose, combines or be deleted.Further, it is existing
Have in technology with various operations, method, the flow disclosed in the present invention in step, measure,
Scheme can also be replaced, changed, reset, decomposed, combined or be deleted.
The above is only some embodiments of the invention, it is noted that for the art
For those of ordinary skill, under the premise without departing from the principles of the invention, some improvement can also be made
And retouching, these improvements and modifications also should be regarded as protection scope of the present invention.
Claims (10)
1. a kind of method that data processing model and data processing are built based on framework, it is characterised in that including:
The basic framework related data for matching is built based on application demand;
Obtain the corresponding application logical method of the application demand;
Extract data access relevant information corresponding with the application demand;
According to the data access relevant information, and the basic framework related data is combined, the data processing related to the application demand is performed by the application logical method.
2. the method that data processing model and data processing are built based on framework according to claim 1, it is characterised in that the basic framework related data for matching is built based on application demand, is specifically included:
According to user to the selection operation of database, the data storage and way to manage related to the application demand of the database is set;
The generation data access method related to the application demand.
3. the method that data processing model and data processing are built based on framework according to claim 2, it is characterised in that the data storage and way to manage include following at least any one:
Database framework information;
The tables of data relevant information related to the application demand;
The mathematical logic information related to the application demand.
4. the method that data processing model and data processing are built based on framework according to claim any one of 1-3, it is characterised in that obtain the corresponding application logical method of the application demand, specifically include:
The corresponding application logical method of the application demand is extracted from the logical method set for pre-seting;Or
According to the application demand, the corresponding application logical method of the demand is built and obtained.
5. the method that data processing model and data processing are built based on framework according to claim any one of 1-3, it is characterized in that, according to the data access relevant information, and combine the basic framework related data, the data processing related to the application demand is performed by the application logical method, is specifically included:
According to the data access relevant information, and the basic framework related data is combined, corresponding data processing model is generated by the application logical method;
The data processing related to the application demand is performed based on the data processing model.
6. the method that data processing model and data processing are built based on framework according to any one of claim 1-3, it is characterised in that the SSH frameworks that the data processing model is based on JavaWeb applications are built.
7. a kind of device that data processing model and data processing are built based on framework, it is characterised in that including:
Module is built, for building the basic framework related data for matching based on application demand;
Acquisition module, for obtaining the corresponding application logical method of the application demand;
Extraction module, for extracting data access relevant information corresponding with the application demand;
Performing module, for according to the data access relevant information, and the combination basic framework related data, the data processing related to the application demand being performed by the application logical method.
8. the device that data processing model and data processing are built based on framework according to claim 7, it is characterised in that build module and specifically include:
Setting unit, to the selection operation of database, the data storage and way to manage related to the application demand of the database is set for according to user;
First generation unit, for generating the data access method related to the application demand.
9. the device that data processing model and data processing are built based on framework according to claim 8, it is characterised in that the data storage and way to manage include following at least any one:
Database framework information;
The tables of data relevant information related to the application demand;
The mathematical logic information related to the application demand.
10. the device that data processing model and data processing are built based on framework according to claim any one of 7-9, it is characterised in that the acquisition module is specifically included:
Extraction unit, for extracting the corresponding application logical method of the application demand from the logical method set for pre-seting;Or
Construction unit, for according to the application demand, building and obtaining the corresponding application logical method of the demand.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510867300.4A CN106815005A (en) | 2015-12-01 | 2015-12-01 | The method and device of data processing model and data processing is built based on framework |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510867300.4A CN106815005A (en) | 2015-12-01 | 2015-12-01 | The method and device of data processing model and data processing is built based on framework |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106815005A true CN106815005A (en) | 2017-06-09 |
Family
ID=59108051
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510867300.4A Pending CN106815005A (en) | 2015-12-01 | 2015-12-01 | The method and device of data processing model and data processing is built based on framework |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106815005A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107678735A (en) * | 2017-09-26 | 2018-02-09 | 郑州云海信息技术有限公司 | A kind of technical research system based on java platforms |
CN110839014A (en) * | 2019-10-12 | 2020-02-25 | 平安科技(深圳)有限公司 | Authentication method, device, computer system and readable storage medium |
-
2015
- 2015-12-01 CN CN201510867300.4A patent/CN106815005A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107678735A (en) * | 2017-09-26 | 2018-02-09 | 郑州云海信息技术有限公司 | A kind of technical research system based on java platforms |
CN110839014A (en) * | 2019-10-12 | 2020-02-25 | 平安科技(深圳)有限公司 | Authentication method, device, computer system and readable storage medium |
CN110839014B (en) * | 2019-10-12 | 2022-03-01 | 平安科技(深圳)有限公司 | Authentication method, authentication device, computer equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Zechar et al. | The Collaboratory for the Study of Earthquake Predictability perspective on computational earthquake science | |
Schweizer et al. | Systematically linking qualitative elements of scenarios across levels, scales, and sectors | |
EP3913560A1 (en) | Computer-implemented system and method for determining the state of a machine executable contract implemented using a blockchain | |
CN106528896B (en) | A kind of database optimizing method and device | |
CN107368346A (en) | A kind of code generating method and device based on metadata and script engine | |
Erikson et al. | Social networks and macrosocial change | |
CN109614457B (en) | Deep learning-based geographic information identification method and device | |
CN111061475A (en) | Software code generation method and device, computer equipment and storage medium | |
CN106779594A (en) | A kind of Workflow management method based on Activiti | |
CN107016524A (en) | Steered reference process extensibility framework | |
Lamela Seijas et al. | Towards property-based testing of restful web services | |
CN116186755A (en) | Privacy calculating method, device, terminal equipment and storage medium | |
Song et al. | [Retracted] System Design for Online Foreign Language Education Based on Blockchain Technology | |
CN107562894A (en) | A kind of API of web application systems behavior simulation obtains and methods for using them | |
CN106815005A (en) | The method and device of data processing model and data processing is built based on framework | |
US20150088482A1 (en) | Simulated component connector definition and connection process | |
Shipley | Inferential permutation tests for maximum entropy models in ecology | |
CN104133680A (en) | Fast building method of ERP form module | |
US20230402125A1 (en) | Drug screening model construction method, a drug screening model construction device, a drug screening method, apparatus and a medium | |
CN111124394A (en) | Form configuration method and device based on metadata, equipment and medium | |
CN115809241A (en) | Data storage method and device, computer equipment and storage medium | |
CN103135992A (en) | Method of fast designing website mall according to individual characteristics requires of customer | |
Reilly et al. | Tutorial: parallel computing of simulation models for risk analysis | |
CN105930404B (en) | A kind of Services Composition subject evolution figure building method based on symbiosis analysis | |
CN112486460A (en) | Method, system, device and medium for automatically importing interface document |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170609 |
|
WD01 | Invention patent application deemed withdrawn after publication |