CN108363566A - File configuration method, intelligent terminal and storage medium in a kind of project development process - Google Patents

File configuration method, intelligent terminal and storage medium in a kind of project development process Download PDF

Info

Publication number
CN108363566A
CN108363566A CN201810089587.6A CN201810089587A CN108363566A CN 108363566 A CN108363566 A CN 108363566A CN 201810089587 A CN201810089587 A CN 201810089587A CN 108363566 A CN108363566 A CN 108363566A
Authority
CN
China
Prior art keywords
properties files
parameter
file
bean
development process
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
Application number
CN201810089587.6A
Other languages
Chinese (zh)
Inventor
黄颂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201810089587.6A priority Critical patent/CN108363566A/en
Publication of CN108363566A publication Critical patent/CN108363566A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-oriented
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/73Program documentation

Abstract

The invention discloses file configuration method, intelligent terminal and storage mediums in a kind of project development process, including:Spring data source frames are built, and carry out the initial configuration of properties files based on Spring data source frames;Load object is created in the bean containers caused by Spring data source frames, and the parameter of properties files is called by way of note;The flow direction of bean containers is obtained, and the parameter of the properties files of calling is injected by corresponding function control layer according to the flow direction of bean containers, completes file configuration.By the present invention in that being configured to properties files with Spring data sources frame, and parameter is loaded by way of with note, effectively avoid that a large amount of xml is needed to configure in traditional file configuration method, keep overall code clear in structure, easy care.

Description

File configuration method, intelligent terminal and storage medium in a kind of project development process
Technical field
The present invention relates to computer application development technical fields, and in particular to file configuration side in a kind of project development process Method, intelligent terminal and storage medium.
Background technology
During computer application development, generally require to configure a large amount of configuration file to be managed, such as existing A large amount of xml document is needed to configure when building web projects be used for management configuration in technology, and when project is very huge, It is each to need that the bean of Spring Container Managements is allowed to be required for configuring primary, the workload increase of project development in xml document, And the excessive phenomenon of the content in xml document is there is also, cause configuration file readable poor, maintenance cost is high, project development Cost is big.
Therefore, the existing technology needs to be improved and developed.
Invention content
The technical problem to be solved in the present invention is, for the drawbacks described above of the prior art, provides a kind of project development mistake File configuration method, intelligent terminal and storage medium in journey, it is intended to which solution needs to match in project development process in the prior art Set a large amount of xml document, development amount is big, and lead to problems such as file it is readable it is poor, maintenance cost is high.
The technical proposal for solving the technical problem of the invention is as follows:
File configuration method in a kind of project development process, wherein the method includes:
Spring data source frames are built, and the initial of properties files is carried out based on the Spring data sources frame Configuration;
Load object is created in the bean containers caused by Spring data source frames, and is called by way of note The parameter of properties files;
Obtain the flow direction of the bean containers, and according to the flow direction of the bean containers by the ginseng of the properties files of calling Number is injected into corresponding function control layer, completes file configuration.
File configuration method in the project development process, wherein it is described based on the Spring data sources frame into The initial configuration of row properties files specifically includes:
Spring boot Open Frameworks are built, and create properties files under the Spring boot Open Frameworks;
Obtain the file path of properties files;
According to the function of required realization in web projects, corresponding configuration information is written in the properties files.
File configuration method in the project development process, wherein the bean caused by Spring data source frames Load object is created in container, and is called by way of note before the parameter of properties files and further included:
Properties files are introduced into configuration file, and id the and bean containers of the bean containers defined in configuration file Attribute-name.
File configuration method in the project development process, wherein the bean containers define 2, and first The attribute-name of bean containers specifies the file path of the properties files, the attribute-name and first of second bean container The id of a bean containers is corresponded to.
File configuration method in the project development process, wherein described to call properties literary by way of note The parameter of part specifically includes:
The load object that the bean containers create is obtained, and reads the attribute description of the load object;
Note is parsed from the attribute description, and according to note loading configuration file from properties files Value, is called the parameter in the properties files.
File configuration method in the project development process, wherein the function control layer specifically includes:For with number The data access layer got in touch with according to library, the operation layer of the Logic application for designing business module and for business module The control layer that is controlled of flow.
File configuration method in the project development process, wherein the data access layer, operation layer and control layer The interface defined in Spring configuration files is needed to realize class.
File configuration method in the project development process, wherein the flow direction according to the bean containers will be adjusted The parameter of properties files is injected into corresponding function control layer and specifically includes:
When the layer in order to control of the flow direction in the injected bean containers of the parameter of the properties files, then will call The parameter of properties files injects control layer;
When the flow direction in the injected bean containers of the parameter of the properties files be operation layer, then will call The parameter of properties files injects operation layer;
When the flow direction in the injected bean containers of the parameter of the properties files be data access layer, then will call The parameter of properties files injects data access layer.
A kind of intelligent terminal, wherein including:Processor, memory and communication bus;
The computer-readable program that can be executed by the processor is stored on the memory;The communication bus realization processing Connection communication between device and memory;The processor realizes above-mentioned any one institute when executing the computer-readable program Step in the project development process stated in file configuration method.
A kind of storage medium, wherein the storage medium is stored with one or more program, one or more of Program can be executed by one or more processor, to realize file configuration in the project development process described in above-mentioned any one Step in method.
It is described in a kind of project development process provided by the invention in file configuration method, intelligent terminal and storage medium Method configures properties files by using Spring data sources frame, and adds by way of with note Parameter is carried, to realize the configuration of file, effectively avoids that a large amount of xml is needed to configure in traditional file configuration method, makes entirety Code structure is clear, reduces the workload and development cost of project development, and easy care.
Description of the drawings
Fig. 1 be the present invention project development process in file configuration method preferred embodiment flow chart;
Fig. 2 be the present invention project development process in file configuration method step S100 flow chart;
Fig. 3 be the present invention project development process in properties files are called by way of note in file configuration method Parameter flow chart;
Fig. 4 be the present invention project development process in file configuration method step S300 flow chart;
Fig. 5 is intelligent terminal preferred embodiment of the installation based on the file configuration program in project development process provided by the invention Running environment schematic diagram;
Fig. 6 is the functional block diagram that the intelligent terminal based on the file configuration program in project development process is installed in the present invention.
Specific implementation mode
It is managed for configuration due to needing to configure a large amount of xml document when building web projects in the prior art, project The workload of exploitation increases, and leads to the problems such as configuration file is readable poor, and maintenance cost is high, and project development cost is big.For Solution drawbacks described above, the present invention provide file configuration method in a kind of project development process, can effectively avoid traditional file A large amount of xml is needed in configuration method(Xml is the abbreviation of Extensible Markup Language, you can extending marking language Speech)Configuration, keeps overall code clear in structure, reduces the workload and development cost of project development, and easy care.
To make the objectives, technical solutions, and advantages of the present invention clearer and more explicit, develop simultaneously embodiment pair referring to the drawings The present invention is further described.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and do not have to It is of the invention in limiting.
As shown in Figure 1, Fig. 1 be the present invention project development process in file configuration method preferred embodiment flow Figure.File configuration method includes in the project development process:
Step S100, Spring data source frames are built, and properties texts are carried out based on the Spring data sources frame The initial configuration of part.
The frame that Spring data sources frame is created as the complexity for solving enterprise's application and development, is a lightweight Control reversion (IOC, Inversion of Control) and the container frame towards section, be also Java development fields the most Popular Open Framework, is widely used in the design and research and development of enterprise application software and government information system.In simple terms, Spring is Java SE/EEfull-stack (one-stop) lightweight open source frame of a layering.In the specific implementation, originally The completely new Spring boot Open Frameworks that invention is provided using Pivotal team(Spring Boot are the set in some libraries, it System can be built by Arbitrary Term purpose use, initial built and development process for simplify new Spring application).This Invention is matched after building Spring boot Open Frameworks, using Spring boot Open Frameworks to carry out initialization to file It sets, and the function of required realization in this project development process is written in the properties files, to be described Properties files have item-function parameter.The Spring boot Open Frameworks are a completely new frames, design mesh Be for simplify new Spring application it is initial build and development process, relative to traditional Spring data frameworks, this The Spring boot Open Frameworks of invention have used specific mode to be configured, therefore developer no longer needs to define The configuration of stereotyping, to effectively reduce the workload of developer.
Specifically, as shown in Fig. 2, described build Spring data source frames, and it is based on the Spring data sources frame The initial configuration for carrying out properties files specifically includes:
Step S101, Spring boot Open Frameworks are built, and are created under the Spring boot Open Frameworks Properties files;
Step S102, the file path of properties files is obtained;
Step S103, it according to the function of required realization in web projects, is written in the properties files corresponding Configuration information.
In the present embodiment, developer builds according to the function of required realization in the flow of project development first Spring boot Open Frameworks after putting up the Spring boot Open Frameworks, start to create properties files (Properties files are a kind of property files).For creating the mode of properties files, the present invention does not limit, Properties files can be created directly in programming software, or the extension name of plain text is changed .properties, no matter carrying out creating properties files using which kind of mode, the protection model of the present invention should be belonged to It encloses.Specifically, the properties files are a kind of utilization map interfaces(For describing mapping structure, Map interfaces allow The content of some mapping is checked in the form of keyset, value set or key-value mapping relations collection)Store key(Key)-value (Value)The configuration file of the data of format.Java.util.Properties packets are first imported when using it in Java files, Its format supported is mainly key-value types;Such as the properties texts in configuration one for safeguarding database function When part, it is only necessary to which the connection string code configuration of log database is entered.Such as:
# is configured
ip=192.168.0.4
username = 33
#password=133
To take out data when, due to the properties files storage be key-value formats data, use Corresponding value values just can be obtained in key modes, and can be mapped directly to map attributes using load is logged in.
Further, in the present embodiment, the properties files of above-mentioned establishment are specially key Value.properties files, and after key value.properties document creations completion, the present invention The file path of key value.properties files is also obtained, for example, the path obtained is src/main/ resources/META-INF/Spring/keyvalue.properties.Then (it is exactly according to the web projects of this exploitation The project run on the server, the page are by the obtained result of sequential operation on server.Common web projects are based on Calculation machine language point, has:Java Web (Java EE), ASP.Net, PHP project) in required realization function, described Corresponding configuration information is written in properties files.Such as write-in test.value=iloveyou.In the present embodiment, by Specific mode has been used to be configured in Spring Boot Open Frameworks, therefore during project development, exploit person Member no longer needs to define the configuration of stereotyping, to be effectively saved development amount.
Step S200, load object is created in the bean containers caused by Spring Boot Open Frameworks, and passes through note The mode of solution calls the parameter of properties files.
The bean containers are to form the main body of application program and by Spring IOC(Inversion of Control, Control reversion)The object that container is managed.When it is implemented, before creating load object in the bean containers, the present invention It also needs properties files being introduced into configuration file, and id the and bean containers of the bean containers defined in configuration file Attribute-name.File configuration method in the project development process, wherein the bean containers define 2, and first The attribute-name of bean containers specifies the file path of the properties files, the attribute-name and first of second bean container The id of a bean containers is corresponded to.Specifically, two bean defined in application context.xml configuration files hold The id of device;The id of first bean container is defined as " config properties ", the id of second bean container is determined Adopted " property configurer ", also, by the attribute-name of first bean container<property name>It is defined as " locations";The attribute-name of second bean container<property name>It is defined as " properties ", ref=" config properties".Wherein, first bean container<property>In specify the roads of properties files Diameter, second bean container<property>In ref it is corresponding with the id of first bean container.
Further, as shown in figure 3, the parameter for calling properties files by way of note is specifically wrapped It includes:
Step S201, the load object that the bean containers create is obtained, and reads the attribute description of the load object;
Step S202, note is parsed from the attribute description, and is loaded from properties files according to the note The value of configuration file is called the parameter in the properties files.
In present invention bean containers caused by Spring boot Open Frameworks create one load object, so as to from The value of the properties file acquisitions configuration file.Specifically, comment code is added in the present invention in program code, and leads to Cross the value of comment code loading configuration file from properties files.The form of the comment code does not limit, May include:@value(Value is explained)、@component(Affiliated level is explained)、@service(To business Layer is explained).The value that configuration file is obtained from properties files is explained in the present embodiment using@value.Specifically Ground, when reading configuration file by way of being explained@value, there are two types of modes:
a)@value("#{config properties['t1.msgname']}");There is " config in the configuration of this form Properties ", what it was specified is the load object of configuration file;
b)@value("${t1.msgname}");This form need not specify specific load object, at this time need a pass The object of key completes Preferences Place Holder Configurer, and the configuration of this object can utilize above a)In configuration, oneself can also directly make Profile Path by oneself.
It can be seen that by the present invention in that being read out to configuration file with the mode explained and calling properties literary Parameter in part effectively reduces the workload of project development process without the configuration xml document being repeated as many times, and relative to For the prior art, the program code of file configuration method of the invention is simpler, clear, and more easy care.
Step S300, the flow direction of the bean containers is obtained, and according to the flow direction of the bean containers by calling The parameter of properties files is injected into corresponding function control layer, completes file configuration.
In the present embodiment, the function control layer specifically includes:Data access layer for being got in touch with database, The operation layer of Logic application for designing business module and the control layer controlled for the flow to business module.And Stating control layer, operation layer and data access layer needs the interface defined in Spring configuration files to realize class, so as to the work( Energy control layer can be called in the configuration file of Spring.
Specifically, as shown in figure 4, the step S300 is specifically included:
Step S301, it when the layer in order to control of the flow direction in the injected bean containers of the parameter of the properties files, then will adjust Control layer is injected with the parameter of properties files;
Step S302, when the flow direction in the injected bean containers of the parameter of the properties files be operation layer, then will adjust Operation layer is injected with the parameter of properties files;
Step S303, when the flow direction in the injected bean containers of the parameter of the properties files be data access layer, then The parameter of properties files will be called to inject data access layer.
In the present embodiment, the present invention is to be injected into the parameter of properties files according to the flow direction in bean containers Corresponding function control layer, to realize the configuration of file.Specifically, the data access layer(Dao layers)Mainly do data The work of persistent layer is responsible for all being encapsulated in dao layers with some tasks that database is got in touch with.Dao layers of design is first The interface of dao is designed, the realization class of this interface defined in the configuration file of Spring calls this to connect in the module to realize Mouthful carry out the processing of data service, and without being concerned about which class is the specific implementation class of this interface be, it appears structure is very clear, Dao layers of data source configuration, and the parameter of related database connection are all configured in the configuration file of Spring.
The operation layer(Service layers)It is mainly responsible for the Logic application design of business module.Equally it is that design connects first Mouthful, the class of its realization is redesigned, the association of its realization is then configured in the configuration file of Spring.It can thus apply Middle calling service interfaces carry out business processing.Service layers of business realizing will specifically be called dao layers defined Interface, service layer of service logic of encapsulation is conducive to the independence and reusing of general service logic, and program is shown It obtains very succinct.
The control layer(Controller layers(Namely control layers))It is responsible for the control of specific business module flow, Service layers of interface is called to control operation flow this layer of the inside, and the configuration of control is similarly matching in Spring It sets and is carried out inside file.Flow for the specific business has different controllers, can be by flow in specific design process Abstract generalization is carried out, the subelement process module that can be reused is designed, not only program structure is made to be apparent from this way, Greatly reduce size of code.
By that can be obtained in above-described embodiment, by the present invention in that with Spring boot Open Frameworks come pair Properties files are configured, and parameter is loaded by way of with note, to realize the configuration of file, are effectively avoided Need a large amount of xml to configure in traditional file configuration method, keep overall code clear in structure, reduce the workload of project development with And development cost, and easy care.
As shown in figure 5, being based on above-described embodiment, the present invention further correspondingly provides a kind of realize in the project development process The intelligent terminal of file configuration method, the terminal device during project development by receive the operational order of user into The configuration of style of writing part for example, building Spring data source frames, and is carried out based on the Spring data sources frame The initial configuration of properties files;Load object is created in the bean containers caused by Spring data source frames, and The parameter of properties files is called by way of note;The flow direction of the bean containers is obtained, and according to the bean The parameter of the properties files of calling is injected into corresponding function control layer by the flow direction of container, completes file configuration.
The intelligent terminal can be the computing devices such as desktop PC, notebook, palm PC and server.Specifically As shown in figure 5, the intelligent terminal includes processor 10, memory 20 and display 30.Fig. 5 illustrates only the portion of intelligent terminal Subassembly, it should be understood that being not required for implementing all components shown, the implementation that can be substituted is more or less Component.
The memory 20 can be the internal storage unit of the intelligent terminal in some embodiments, such as intelligence is eventually The hard disk or memory at end.The memory 20 can also be that the external storage of the intelligent terminal is set in further embodiments Plug-in type hard disk that is standby, such as being equipped on the intelligent terminal, intelligent memory card(Smart Media Card, SMC), safety Number(Secure Digital, SD)Card, flash card(Flash Card)Deng.Further, the memory 20 can also be both Internal storage unit including institute's intelligent terminal also includes External memory equipment.The memory 20 is installed on described for storage The application software and Various types of data of intelligent terminal, such as the program code etc. for installing intelligent terminal.The memory 20 is also It can be used for temporarily storing the data that has exported or will export.In one embodiment, it is stored on memory 20 useful In the file configuration program 40 in project development process, this document configurator 30 can be performed by processor 10, to real In existing the application in project development process file configuration method.
The processor 10 can be a central processing unit in some embodiments(Central Processing Unit, CPU), microprocessor or other data processing chips, for running the program code stored in the memory 20 or processing number According to, such as execute described file configuration method etc. in project development process.
The display 30 can be light-emitting diode display, liquid crystal display, touch-control liquid crystal display in some embodiments And OLED(Organic Light-Emitting Diode, Organic Light Emitting Diode)Touch device etc..The display 30 is used In the information for being shown in the intelligent terminal and for showing visual user interface.The component 10- of the intelligent terminal 30 are in communication with each other by system bus.
In one embodiment, following step is realized when processor 10 executes the file configuration program 40 in the memory 20 Suddenly:
Spring data source frames are built, and the initial of properties files is carried out based on the Spring data sources frame Configuration;
Load object is created in the bean containers caused by Spring data source frames, and is called by way of note The parameter of properties files;
Obtain the flow direction of the bean containers, and according to the flow direction of the bean containers by the ginseng of the properties files of calling Number is injected into corresponding function control layer, completes file configuration.
The initial configuration that properties files are carried out based on the Spring data sources frame is specifically included:
Spring boot Open Frameworks are built, and create properties files under the Spring boot Open Frameworks;
Obtain the file path of properties files;
According to the function of required realization in web projects, corresponding configuration information is written in the properties files.
Load object is created in the bean containers caused by Spring Boot Open Frameworks, and by way of note It calls before the parameter of properties files and further includes:
Properties files are introduced into configuration file, and id the and bean containers of the bean containers defined in configuration file Attribute-name.
The bean containers define 2, and the attribute-name of first bean container specifies the properties files File path, the id correspondences of the attribute-name and first bean container of second bean container.
The parameter that properties files are called by way of note specifically includes:
The load object that the bean containers create is obtained, and reads the attribute description of the load object;
Note is parsed from the attribute description, and according to note loading configuration file from properties files Value, is called the parameter in the properties files.
The function control layer specifically includes:Data access layer for being got in touch with database, for designing business The operation layer of the Logic application of module and the control layer controlled for the flow to business module.
The data access layer, operation layer and control layer need the interface defined in Spring configuration files to realize class.
The parameter of the properties files of calling is injected into corresponding work(by the flow direction according to the bean containers Energy control layer specifically includes:
When the layer in order to control of the flow direction in the injected bean containers of the parameter of the properties files, then will call The parameter of properties files injects control layer;
When the flow direction in the injected bean containers of the parameter of the properties files be operation layer, then will call The parameter of properties files injects operation layer;
When the flow direction in the injected bean containers of the parameter of the properties files be data access layer, then will call The parameter of properties files injects data access layer.
The present invention also provides a kind of storage mediums, wherein is stored in project development process on the storage medium In file configuration program, described in the file configuration program in project development process is realized when being executed by processor Project development process in file configuration method the step of.
Referring to Fig. 6, it is the functional block diagram of terminal device of the present invention.In the present embodiment, the storage of terminal device The program of device storage can be divided into one or more modules, and one or more of modules are by one or more processors (The present embodiment is the processor 10)It is performed, to complete the present invention.For example, in figure 6, the memory of terminal device stores Program file initial configuration module 610, parameter calling module 620 and parameter injection module 630.The so-called mould of the present invention Block is the series of computation machine program instruction section for referring to complete specific function, than program more suitable for describing the concurrency control Implementation procedure of the program of method processed in the terminal device.The work(of the module 610-630 will specifically be introduced by being described below Energy.
File initial configuration module 610 for building Spring data source frames, and is based on the Spring data Source frame carries out the initial configuration of properties files;
Parameter calling module 620 for creating load object in the bean containers caused by Spring data source frames, and leads to Cross the parameter that the mode explained calls properties files;
Parameter injection module 630, the flow direction for obtaining the bean containers, and will be called according to the flow direction of the bean containers The parameters of properties files be injected into corresponding function control layer, complete file configuration.
In conclusion file configuration method, intelligent terminal and storage are situated between in a kind of project development process provided by the invention Matter, including:Spring data source frames are built, and properties files are carried out based on the Spring data sources frame Initial configuration;Load object, and the tune by way of note are created in the bean containers caused by Spring data source frames With the parameter of properties files;The flow direction of the bean containers is obtained, and will be called according to the flow direction of the bean containers The parameters of properties files be injected into corresponding function control layer, complete file configuration.By the present invention in that with Spring boot frames configure properties files, and parameter is loaded by way of with note, effectively avoid It needs a large amount of xml to configure in traditional file configuration method, keeps overall code clear in structure, easy care.
Certainly, one of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, It is that can instruct related hardware by computer program(Such as processor, controller etc.)It completes, the program can store In a computer-readable storage medium, which may include the flow such as above-mentioned each method embodiment when being executed.Its Described in storage medium can be memory, magnetic disc, CD etc..
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can With improvement or transformation based on the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention Protect range.

Claims (10)

1. file configuration method in a kind of project development process, which is characterized in that the method includes:
Spring data source frames are built, and the initial of properties files is carried out based on the Spring data sources frame Configuration;
Load object is created in the bean containers caused by Spring data source frames, and is called by way of note The parameter of properties files;
Obtain the flow direction of the bean containers, and according to the flow direction of the bean containers by the ginseng of the properties files of calling Number is injected into corresponding function control layer, completes file configuration.
2. according to file configuration method in the project development process described in claim 1, which is characterized in that described to be based on institute The initial configuration for stating Spring data source frames progress properties files specifically includes:
Spring boot Open Frameworks are built, and create properties files under the Spring boot Open Frameworks;
Obtain the file path of properties files;
According to the function of required realization in web projects, corresponding configuration information is written in the properties files.
3. according to file configuration method in the project development process described in claim 1, which is characterized in that in Spring numbers Object is loaded according to being created in bean containers caused by the frame of source, and calls the ginseng of properties files by way of note Further include before number:
Properties files are introduced into configuration file, and id the and bean containers of the bean containers defined in configuration file Attribute-name.
4. according to file configuration method in the project development process described in claim 3, which is characterized in that the bean containers 2 are defined, and the attribute-name of first bean container specifies the file path of the properties files, second bean to hold The id of the attribute-name of device and first bean container is corresponded to.
5. according to file configuration method in the project development process described in claim 1, which is characterized in that described to pass through note Mode call the parameter of properties files to specifically include:
The load object that the bean containers create is obtained, and reads the attribute description of the load object;
Note is parsed from the attribute description, and according to note loading configuration file from properties files Value, is called the parameter in the properties files.
6. according to file configuration method in the project development process described in claim 1, which is characterized in that the function control Layer specifically includes:The business of data access layer for being got in touch with database, the Logic application for designing business module Layer and the control layer controlled for the flow to business module.
7. according to file configuration method in the project development process described in claim 6, which is characterized in that the data access Layer, operation layer and control layer need the interface defined in Spring configuration files to realize class.
8. according to file configuration method in the project development process described in claim 1, which is characterized in that described in the basis The parameter of the properties files of calling is injected into corresponding function control layer and specifically included by the flow direction of bean containers:
When the layer in order to control of the flow direction in the injected bean containers of the parameter of the properties files, then will call The parameter of properties files injects control layer;
When the flow direction in the injected bean containers of the parameter of the properties files be operation layer, then will call The parameter of properties files injects operation layer;
When the flow direction in the injected bean containers of the parameter of the properties files be data access layer, then will call The parameter of properties files injects data access layer.
9. a kind of intelligent terminal, which is characterized in that including:Processor, memory and communication bus;
The computer-readable program that can be executed by the processor is stored on the memory;The communication bus realization processing Connection communication between device and memory;The processor realizes such as claim 1-8 when executing the computer-readable program Step in project development process described in any one in file configuration method.
10. a kind of storage medium, which is characterized in that the storage medium is stored with one or more program, it is one or The multiple programs of person can be executed by one or more processor, to realize that the project as described in claim 1-8 any one is opened Step during hair in file configuration method.
CN201810089587.6A 2018-01-30 2018-01-30 File configuration method, intelligent terminal and storage medium in a kind of project development process Pending CN108363566A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810089587.6A CN108363566A (en) 2018-01-30 2018-01-30 File configuration method, intelligent terminal and storage medium in a kind of project development process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810089587.6A CN108363566A (en) 2018-01-30 2018-01-30 File configuration method, intelligent terminal and storage medium in a kind of project development process

Publications (1)

Publication Number Publication Date
CN108363566A true CN108363566A (en) 2018-08-03

Family

ID=63007658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810089587.6A Pending CN108363566A (en) 2018-01-30 2018-01-30 File configuration method, intelligent terminal and storage medium in a kind of project development process

Country Status (1)

Country Link
CN (1) CN108363566A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109597849A (en) * 2018-11-30 2019-04-09 福建亿榕信息技术有限公司 A kind of spring start-up parameter configuration method and storage medium based on database
CN109634569A (en) * 2018-12-13 2019-04-16 深圳前海微众银行股份有限公司 Process implementation method, device, equipment and readable storage medium storing program for executing based on note
CN110262848A (en) * 2019-06-05 2019-09-20 阿里巴巴集团控股有限公司 The method and apparatus of loading application programs example in application development framework
CN110502273A (en) * 2019-08-27 2019-11-26 浪潮云信息技术有限公司 A kind of method, terminal and computer readable storage medium constructing local project
CN111221570A (en) * 2019-12-30 2020-06-02 中国平安财产保险股份有限公司 Migration method, device, equipment and storage medium of microservice framework
CN111752601A (en) * 2020-06-19 2020-10-09 贝壳技术有限公司 Data configuration method, device and system, electronic equipment and storage medium thereof
CN112861059A (en) * 2021-03-17 2021-05-28 平安消费金融有限公司 Visual component generation method and device, computer equipment and readable storage medium
CN113360212A (en) * 2021-06-30 2021-09-07 远光软件股份有限公司 Application program starting method, computer device and computer readable storage medium
CN114895975A (en) * 2022-04-27 2022-08-12 上海万物新生环保科技集团有限公司 Preheating method and equipment for server-side system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1904920A (en) * 2006-08-07 2007-01-31 山东浪潮齐鲁软件产业股份有限公司 Method for implementing configuration work flow transfer filtering system
US20120266229A1 (en) * 2011-04-12 2012-10-18 Salesforce.Com, Inc. Inter-application management of user credential data
WO2013146279A1 (en) * 2012-03-30 2013-10-03 新日鐵住金株式会社 Analysis device, analysis method, and computer program
CN105677326A (en) * 2015-12-28 2016-06-15 国云科技股份有限公司 Software interface parameter validation method
CN105843609A (en) * 2016-03-18 2016-08-10 浪潮软件集团有限公司 MVC frame based on Spring and MyBatis
CN106528391A (en) * 2016-12-16 2017-03-22 郑州云海信息技术有限公司 Recording method of operating log by management platform on SSR
CN107133083A (en) * 2017-04-13 2017-09-05 大连理工大学 A kind of virtual data center resource provider method based on virtualization technology
CN107179907A (en) * 2017-05-15 2017-09-19 北京奇艺世纪科技有限公司 One kind configuration system and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1904920A (en) * 2006-08-07 2007-01-31 山东浪潮齐鲁软件产业股份有限公司 Method for implementing configuration work flow transfer filtering system
US20120266229A1 (en) * 2011-04-12 2012-10-18 Salesforce.Com, Inc. Inter-application management of user credential data
WO2013146279A1 (en) * 2012-03-30 2013-10-03 新日鐵住金株式会社 Analysis device, analysis method, and computer program
CN105677326A (en) * 2015-12-28 2016-06-15 国云科技股份有限公司 Software interface parameter validation method
CN105843609A (en) * 2016-03-18 2016-08-10 浪潮软件集团有限公司 MVC frame based on Spring and MyBatis
CN106528391A (en) * 2016-12-16 2017-03-22 郑州云海信息技术有限公司 Recording method of operating log by management platform on SSR
CN107133083A (en) * 2017-04-13 2017-09-05 大连理工大学 A kind of virtual data center resource provider method based on virtualization technology
CN107179907A (en) * 2017-05-15 2017-09-19 北京奇艺世纪科技有限公司 One kind configuration system and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
分享牛: "Springboot中PropertySource注解的使用", 《HTTPS://BLOG.CSDN.NET/QQ_30739519/ARTICLE/DETAILS/78791142》 *
武哥聊编程: "Spring加载properties文件的两种方式", 《HTTPS://BLOG.CSDN.NET/ESON_15/ARTICLE/DETAILS/51365707》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109597849A (en) * 2018-11-30 2019-04-09 福建亿榕信息技术有限公司 A kind of spring start-up parameter configuration method and storage medium based on database
CN109634569B (en) * 2018-12-13 2022-01-25 深圳前海微众银行股份有限公司 Method, device and equipment for realizing flow based on annotation and readable storage medium
CN109634569A (en) * 2018-12-13 2019-04-16 深圳前海微众银行股份有限公司 Process implementation method, device, equipment and readable storage medium storing program for executing based on note
CN110262848A (en) * 2019-06-05 2019-09-20 阿里巴巴集团控股有限公司 The method and apparatus of loading application programs example in application development framework
CN110262848B (en) * 2019-06-05 2022-03-04 创新先进技术有限公司 Method and device for loading application program instance in application development framework
CN110502273A (en) * 2019-08-27 2019-11-26 浪潮云信息技术有限公司 A kind of method, terminal and computer readable storage medium constructing local project
CN111221570A (en) * 2019-12-30 2020-06-02 中国平安财产保险股份有限公司 Migration method, device, equipment and storage medium of microservice framework
CN111221570B (en) * 2019-12-30 2022-07-15 中国平安财产保险股份有限公司 Migration method, device and equipment of microservice framework and storage medium
CN111752601A (en) * 2020-06-19 2020-10-09 贝壳技术有限公司 Data configuration method, device and system, electronic equipment and storage medium thereof
CN112861059A (en) * 2021-03-17 2021-05-28 平安消费金融有限公司 Visual component generation method and device, computer equipment and readable storage medium
CN113360212A (en) * 2021-06-30 2021-09-07 远光软件股份有限公司 Application program starting method, computer device and computer readable storage medium
CN114895975A (en) * 2022-04-27 2022-08-12 上海万物新生环保科技集团有限公司 Preheating method and equipment for server-side system
CN114895975B (en) * 2022-04-27 2023-07-25 上海万物新生环保科技集团有限公司 Preheating method and equipment of server system

Similar Documents

Publication Publication Date Title
CN108363566A (en) File configuration method, intelligent terminal and storage medium in a kind of project development process
US10656971B2 (en) Agile framework for vertical application development and delivery
US10114861B2 (en) Expandable ad hoc domain specific query for system management
US9459859B2 (en) Template derivation for configuration object management
CN104517181B (en) Enterprise content management system and method for nuclear power station
CN109657177A (en) The generation method of the page, device, storage medium and computer equipment after upgrading
CN114996619A (en) Page display method and device, computer equipment and storage medium
US9626251B2 (en) Undo configuration transactional compensation
Di Pierro web2py
US10291746B2 (en) Context switch of database connections
MacDonald et al. Pro Asp. net 2.0 in C# 2005
Theisz et al. An Algebraic Instantiation Technique Illustrated by Multilevel Design Patterns.
Prokopec Learning Concurrent Programming in Scala
Mongiello et al. AC-contract: Run-time verification of context-aware applications
Stancapiano Mastering Java EE Development with WildFly
Bretet Spring mvc cookbook
Sasidharan Full stack development with JHipster: build full stack applications and microservices with Spring Boot and modern JavaScript frameworks
CN113626016A (en) Front-end and back-end separated reusable component based on Vue + Element UI + Koa2
TWI414995B (en) Development and execution platform
CN109597611A (en) Front end data flow control Components Development system, method, equipment and storage medium
Margaria et al. Leveraging Applications of Formal Methods, Verification and Validation. Specialized Techniques and Applications: 6th International Symposium, ISoLA 2014, Imperial, Corfu, Greece, October 8-11, 2014, Proceedings, Part II
Wetherbee et al. Beginning EJB 3: Java EE 7 Edition
Iglesias Hands-On Microservices with Kotlin: Build reactive and cloud-native microservices with Kotlin using Spring 5 and Spring Boot 2.0
Žemlička et al. Software architecture and software quality
Belyaev et al. On the formalization, design, and implementation of component-oriented access control in lightweight virtualized server environments

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180803