CN105204917B - The method and device of loading configuration file in application program launching - Google Patents

The method and device of loading configuration file in application program launching Download PDF

Info

Publication number
CN105204917B
CN105204917B CN201510746183.6A CN201510746183A CN105204917B CN 105204917 B CN105204917 B CN 105204917B CN 201510746183 A CN201510746183 A CN 201510746183A CN 105204917 B CN105204917 B CN 105204917B
Authority
CN
China
Prior art keywords
application program
configuration file
application
development framework
configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510746183.6A
Other languages
Chinese (zh)
Other versions
CN105204917A (en
Inventor
段兵营
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510746183.6A priority Critical patent/CN105204917B/en
Publication of CN105204917A publication Critical patent/CN105204917A/en
Application granted granted Critical
Publication of CN105204917B publication Critical patent/CN105204917B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of method and device of loading configuration file in application program launching, it is at least able to solve the high technical problem of development cost caused by the tool that parsing configuration file is provided in existing way by application program.Wherein, application program is the application program realized based on application development framework, this method comprises: receiving the enabled instruction issued for application program by release module corresponding with application development framework;Release module reads the configuration file for including in application program, and parsing result is sent to application development framework after parsing to configuration file;Parsing result is loaded into memory by application development framework, so that application program is read in the process of running.

Description

The method and device of loading configuration file in application program launching
Technical field
The present invention relates to network communication technology fields, and in particular to a kind of loading configuration file in application program launching Method and device.
Background technique
With the rapid development of Internet, disparate networks application and web services layer go out not poor, either network application Or network service is realized by corresponding application program.Currently, developer is developing a network application or net When application program corresponding to network service, needs to write a large amount of code and be just able to achieve corresponding function.In order to simplify exploit person Member workload, there is diversified application development framework, such as web frame etc., using these application development frameworks come The development cost of developer can be significantly reduced by writing application program.
Although application development framework can bring many conveniences for developer, there are still many insufficient.For example, Some environmental variances can be used in application program corresponding to each network application or network service, these environmental variances Specific value may change with the running environment of application program and be changed, for this purpose, being usually stored in these environmental variances In configuration file, when application program launching, the specific value of environmental variance is obtained by loading the configuration file.Existing In technology, developer's one network application of every exploitation or network service, it is necessary to special for the network application or network service The configuration file of complete set is write, also, also provides the tool for parsing the configuration file, so that energy when application program launching Configuration file after enough load parsings.Writing and parsing and need to expend developer's a large amount of time and essence due to configuration file Power, therefore, existing way obviously increase the workload of developer, improve development cost.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State the method and device of loading configuration file in application program launching of problem.
According to one aspect of the present invention, a kind of method of loading configuration file in application program launching is provided, In, application program is the application program realized based on application development framework, this method comprises: by opposite with application development framework The release module answered receives the enabled instruction issued for application program;Release module reads the configuration text for including in application program Part, and parsing result is sent to application development framework after parsing to configuration file;Parsing is tied by application development framework Fruit is loaded into memory, so that application program is read in the process of running.
Another aspect according to the present invention provides a kind of device of loading configuration file in application program launching, In, application program is the application program realized based on application development framework, the device include: application development framework and with application The corresponding release module of Development Framework;Wherein, release module is suitable for receiving the enabled instruction issued for application program Afterwards, the configuration file for including in application program is read, and is sent to apply parsing result after parsing configuration file and open Send out frame;Application development framework is suitable for for parsing result being loaded into memory, so that application program is read in the process of running.
The method and device of the loading configuration file provided by the invention in application program launching is provided not only to apply and be opened Frame is sent out, release module corresponding with the application development framework is additionally provided, therefore, is realized by the application development framework Application program can be completed the operations relevant to starting such as publication, debugging by release module.Specifically, it answers when needing to start this When with program, firstly, receiving enabled instruction by release module;Then, release module reads the configuration for including in the application program File, and parsing result is sent to application development framework after parsing to configuration file;Finally, will by application development framework Parsing result is loaded into memory, so that application program is read in the process of running.It can be seen that in the present invention, Neng Goutong Release module is crossed to parse configuration file, and parsing result is loaded into memory by application development framework, application program Developer needs not be provided the tool of parsing configuration file, to reduce the development cost of application program.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the stream of the method for the loading configuration file provided by one embodiment of the present invention in application program launching Cheng Tu;
Fig. 2 shows the methods of loading configuration file in application program launching that a specific embodiment of the invention provides Flow chart;And
Fig. 3 shows the knot of the device of the loading configuration file provided by one embodiment of the present invention in application program launching Composition.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
The embodiment of the invention provides a kind of method and devices of loading configuration file in application program launching, at least can It enough solves to be provided the high technology of the development cost caused by the tool of parsing configuration file by application program in existing way to ask Topic.
Fig. 1 shows the stream of the method for the loading configuration file provided by one embodiment of the present invention in application program launching Cheng Tu.Wherein, application program is the application program realized based on application development framework, as shown in Figure 1, this method includes following step It is rapid:
Step S110: the starting issued for application program is received by release module corresponding with application development framework Instruction.
Wherein, release module can cooperate with application development framework, so that realized based on the application development framework Application program can complete start-up operation by the release module, strike the cumbersome of code starting application program by hand to eliminate Operation.
Step S120: release module reads the configuration file for including in application program, and parses to the configuration file Parsing result is sent to application development framework afterwards.
Wherein, in order to simplify the workload of developer, the configuration file for including in above-mentioned application program can by with Under type creation: presetting profile template library, comprising multiple configuration items and each matches in profile template library Set the format specification of item;At least one configuration item is selected from the profile template library, and according to selected configuration item The corresponding contents of a project are arranged for it in format specification.Due to pre-setting profile template library, developer can be with Configuration file is directly quickly generated according to the format specification in template library, the formation efficiency of configuration file is improved, simplifies out The workload of hair personnel.Correspondingly, release module in the following manner parses above-mentioned configuration file: obtaining configuration file In include each configuration item;The format specification of each configuration item is inquired from profile template library;According to format specification pair Each configuration item is parsed.
Step S130: parsing result is loaded into memory by above-mentioned application development framework, so that application program is being run It reads in the process.
Wherein, application development framework parsing result loaded into memory is each configuration item for including in configuration file Particular content.Specifically, the configuration item in configuration file can be environmental variance relevant to application development framework, be also possible to Environmental variance relevant to application program.In addition, being opened for the ease of the parsing result in application program access memory in the application The reading interface for reading the parsing result loaded in memory for application program is additionally provided in hair frame.
In the above-described embodiments, configuration file can be parsed by release module, and will be solved by application development framework Analysis result is loaded into memory, and the developer of application program needs not be provided the tool of parsing configuration file, is answered to reduce With the development cost of program.
Fig. 2 shows the methods of loading configuration file in application program launching that a specific embodiment of the invention provides Flow chart.In this specific embodiment, it is illustrated so that application development framework is Hero frame as an example, in order to make it easy to understand, First simply introduced the Hero frame in the present invention: Hero frame is a kind of high performance exploitation frame that inventor proposes Frame, code therein can be compiled by Go language, since Go language is specifically for multicomputer system application program Programming is optimized, thus using Go language compilation program have execute speed faster, and it is safer, support and advance The many advantages such as journey.Has above-mentioned advantage just because of Hero frame, therefore, when developer is to the performance requirement of some interface When higher, if may dispose ten servers by common Development Framework is just able to achieve target value, and through the invention in Hero frame only need a server to can be realized as target value.It can be seen that the Hero frame in the present invention is especially suitable Exploitation service in high-performance field.Specifically, the component pool of specification is provided in Hero frame, includes multiple in component pool Different component, wherein different components can complete different processing logics and have the interface for receiving data and send data Interface so that user can select more than two components according to self-demand from component pool, by it using respective Reception data interface and send data interface successively contact to realize specific business demand.It can be seen that the frame In establish normative component pool so that the component for being put into component pool design feature having the same, directly by multiple components Certain function can be realized in simple series winding, significantly reduces the cost that developer writes elaborated code.Specifically, component pool Each of part can meet following constraint rule: each component includes: handle before happening unit, service logic unit and subsequent Processing unit;The next-higher assembly of component series winding where handle before happening unit receives the request data of user terminal or receives itself The data of transmission are sent to service logic unit after being prepared processing to the data received;Service logic unit is in advance The data that processing unit is sent are handled according to the processing logic of this component, are judged whether there is and component series winding where itself The component of next stage is that data are sent to next level assembly by treated, and otherwise by treated, data are sent to afterwards Processing unit;Component series winding is next where post processing unit receives the data that service logic unit is sent or receives itself The data that level assembly is sent carry out the upper level group of component series winding where being sent to itself after ending processing to the data received Part returns to user terminal.Due in each component comprising for being connected with next-higher assembly handle before happening unit and Therefore post processing unit for being connected with next level assembly can be torn open from multiple components of series winding according to actual needs Except a component, or a New Parent is inserted into multiple components of series winding, scalability is very strong.It can be seen that passing through this hair Hero Development of Framework application program in bright can significantly improve development efficiency, reduce the workload of developer.Due to application After program development is completed, it is also necessary to publish on internet, and be managed to the resource on line, therefore, in this hair In bright, release module also is provided for Hero frame, all application programs based on Hero Development of Framework can pass through the hair Cloth module such as is issued, is debugged at the work, also, the release module can also be monitored the resource being published on internet And management.In the present embodiment, it is illustrated so that release module is Rigger tool as an example, Rigger tool is a kind of hair version work Tool, can complete the functions such as version publication, the resource management of application program, be changed in the present embodiment to Rigger tool Into, can assist Hero frame complete configuration file load.In other embodiments of the invention, application development framework Be also possible to other frames, such as other common web Development Frameworks etc., and release module can also by other tools come It realizes, which is not limited by the present invention.
Next, the detailed stream of the method for the description loading configuration file provided in this embodiment in application program launching Journey.Specifically, this method comprises the following steps:
Step S210:Rigger tool receives the enabled instruction issued for game application.
In the present embodiment, it is illustrated so that application program is game application as an example.When needing to game application journey It when sequence is issued or debugged, first has to start the game application, since the game application is based on Hero frame It realizes, therefore, opening about the game application can be received by Rigger tool corresponding with Hero frame Dynamic instruction.Specifically, it can be achieved in that firstly, Rigger tool is opened, then, in Rigger tool The option of selection " starting application program ", finally, inputting the title and/or routing information of application program to be started.It is logical Starting mode can be simplified by crossing Rigger instrument start-up game application, knock in the side that code is started with traditional craft Formula is compared, more efficient and convenient.
Step S220:Rigger tool reads the configuration file for including in the game application.
Wherein, the configuration file for including in game application can create in the following manner: preset configuration text Part template library, the format specification in the profile template library comprising multiple configuration items and each configuration item;From configuration file At least one configuration item is selected in template library, and is arranged in corresponding project according to the format specification of selected configuration item for it Hold.Specifically, which can be provided by the tools chain of other in the present invention (such as applying composing software).Example Such as, when developer creates an application program by a specific application composing software, composing software root is applied by this It is automatically that the application program generates a profile template according to pre-stored profile template library.Wherein, using volume Translating software can be all kinds of softwares such as Go language compilation software, VC composing software.Matched by this using what composing software automatically generated It sets comprising multiple configuration items in file template, developer only need to therefrom select several configuration items, and according to selected configuration The format specification of item is that the corresponding contents of a project are arranged in it.
It can be seen that by the above-mentioned means, complete configuration file can be quickly generated according to profile template library, and The generating mode of configuration file is very simple and direct, significantly reduces program development cost.Specifically, the configuration for including in configuration file Item is either environmental variance relevant to Hero frame, is also possible to environmental variance relevant to the game application.Example Such as, environmental variance relevant to Hero frame includes: service load path, Go language path (being also GoPass) etc..With the trip The relevant environmental variance of play application program includes: that the game application needs the dynamic link library or number that call in the process of running According to the information etc. in library, wherein the information of database includes database port, username and password of database etc. again.Except this it Outside, developer can be with other various configurations items of flexible configuration.
Optionally, each configuration item in configuration file can be stored by way of Key-Value, configuration item Project name indicates that the detailed programs content of configuration item is indicated by Value by Key.Key-Value storage mode energy Memory space is enough saved, search efficiency is improved.In the present embodiment, configuration file is write by YAML language, in this hair In bright others embodiment, configuration file can also be write other language by XML, JS etc..
When Rigger tool reads above-mentioned configuration file, a reading can both be provided previously by game application Configuration file interface, so that Rigger tool actively obtains the configuration file;It can also be by game application by configuration file It is sent to Rigger tool.
Parsing result is sent to Hero frame after parsing to the configuration file read by step S230:Rigger tool Frame.
In the present embodiment, Rigger tool can be realized by Python, therefore, when configuration file is YAML When the file of format, library can be parsed by the third party YAML provided in Python to parse configuration file.Specific solution When analysis, Rigger tool obtains each configuration item for including in above-mentioned configuration file, and the configuration text mentioned from step S220 The format specification that each configuration item is inquired in part template library parses each configuration item according to the format specification inquired, And parsing result is sent to Hero frame.
Parsing result is loaded into memory by step S240:Hero frame, in the process of running for game application It reads.
Wherein, after Hero frame receives the parsing result that Rigger tool is sent, parsing result is loaded into line by line In memory.For the ease of the parsing result in game application access memory, it is provided in Hero frame for for game Application program reads the reading interface of the parsing result loaded in memory, and game application calls directly the reading interface The parsing result loaded in access memory.
It can be seen that in embodiments of the present invention, on the one hand, game application directly utilizes preset configuration file mould Plate library can quickly generate complete configuration file, alleviate developer oneself and write whole codes in configuration file Troublesome operation.On the other hand, Rigger tool can parse configuration file, therefore exploit person according to the profile template library Member need not write the code of parsing configuration file, it may be assumed that the work for parsing configuration file replaces developer complete by Rigger tool At to significantly reduce the development cost of developer.It can be seen that the method in through the invention, developer is utilized The application program that Hero frame is write can realize the work such as hair version, debugging by Rigger tool, and whenever application program is logical When crossing Rigger instrument start-up, Rigger tool automatically can obtain and parse configuration file before application program launching is completed, And the result after parsing is loaded into memory for application call by Hero frame.
Fig. 3 shows the knot of the device of the loading configuration file provided by one embodiment of the present invention in application program launching Composition.Wherein, application program is the application program realized based on application development framework.As shown in figure 3, the device 300 includes: to answer With Development Framework 31 and release module 32 corresponding with application development framework 31.Wherein, release module can be opened with application It sends out frame to cooperate, the application program realized based on the application development framework is enabled to complete to start by the release module Operation, to eliminate the troublesome operation for striking code starting application program by hand.
Specifically, release module 32 is suitable for after receiving the enabled instruction issued for application program, reads and applies journey The configuration file for including in sequence, and parsing result is sent to application development framework 31 after parsing to configuration file;Using Development Framework 31 is suitable for for parsing result being loaded into memory, so that application program is read in the process of running.
Wherein, in order to simplify the workload of developer, the configuration file for including in above-mentioned application program can by with Under type creation: presetting profile template library, comprising multiple configuration items and each matches in profile template library Set the format specification of item;At least one configuration item is selected from the profile template library, and according to selected configuration item The corresponding contents of a project are arranged for it in format specification.Due to pre-setting profile template library, developer can be with Configuration file is directly quickly generated according to the format specification in template library, the formation efficiency of configuration file is improved, simplifies out The workload of hair personnel.Correspondingly, release module in the following manner parses above-mentioned configuration file: obtaining configuration file In include each configuration item;The format specification of each configuration item is inquired from profile template library;According to format specification pair Each configuration item is parsed.
Wherein, application development framework parsing result loaded into memory is each configuration item for including in configuration file Particular content.Specifically, the configuration item in configuration file includes: environmental variance relevant to application development framework, and/or, with The relevant environmental variance of application program.
For the ease of application program read memory in as a result, the application development framework further comprises: read interface, For reading the parsing result loaded in memory for application program.
Concrete operating principle about above-mentioned modules can refer to the description of corresponding steps in embodiment of the method, herein not It repeats again.
In addition, the application development framework in the present embodiment can be realized by preset exploitation template.Specifically, it applies Development Framework can be Hero frame or others web Development Framework etc..Release module can by various hair version tools, such as Rigger tool is realized.
The method and device of the loading configuration file provided by the invention in application program launching is provided not only to apply and be opened Frame is sent out, release module corresponding with the application development framework is additionally provided, therefore, is realized by the application development framework Application program can be completed the operations relevant to starting such as publication, debugging by release module.Specifically, it answers when needing to start this When with program, firstly, receiving enabled instruction by release module;Then, release module reads the configuration for including in the application program File, and parsing result is sent to application development framework after parsing to configuration file;Finally, will by application development framework Parsing result is loaded into memory, so that application program is read in the process of running.It can be seen that in the present invention, Neng Goutong Release module is crossed to parse configuration file, and parsing result is loaded into memory by application development framework, application program Developer needs not be provided the tool of parsing configuration file, to reduce the development cost of application program.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments in this include institute in other embodiments Including certain features rather than other feature, but the combination of the feature of different embodiment means in the scope of the present invention Within and form different embodiments.For example, in the following claims, embodiment claimed it is any it One can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) realize some or all portions in device according to an embodiment of the present invention The some or all functions of part.The present invention is also implemented as a part or complete for executing method as described herein The device or device program (for example, computer program and computer program product) in portion.It is such to realize program of the invention It can store on a computer-readable medium, or may be in the form of one or more signals.Such signal can be with It downloads from internet website, is perhaps provided on the carrier signal or is provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.

Claims (8)

1. a kind of method of the loading configuration file in application program launching, wherein the application program is based on application and development The application program that frame is realized, this method comprises:
The enabled instruction issued for the application program is received by release module corresponding with the application development framework; Wherein, the release module with the application development framework for matching, so as to be answered based on what the application development framework was realized With program start-up operation can be completed by the release module;
The release module reads the configuration file for including in the application program, and incites somebody to action after parsing to the configuration file Parsing result is sent to the application development framework;
The parsing result is loaded into memory by the application development framework, in the process of running for the application program It reads;
Wherein, the configuration item in the configuration file includes: environmental variance relevant to the application program, the environmental variance Change with the running environment of application program and changes;Also, it is provided in the application development framework for being answered described in confession The reading interface of the parsing result loaded in memory is read with program.
2. according to the method described in claim 1, wherein, the configuration file for including in the application program is created in the following manner It builds:
Profile template library is preset, includes multiple configuration items and each configuration item in the profile template library Format specification;
At least one configuration item is selected from the profile template library, and is according to the format specification of selected configuration item The corresponding contents of a project are arranged in it.
3. according to the method described in claim 2, wherein, the release module in the following manner carries out the configuration file Parsing:
Obtain each configuration item for including in the configuration file;
The format specification of each configuration item is inquired from the profile template library;
Each configuration item is parsed according to the format specification.
4. according to the method in claim 2 or 3, wherein the configuration item in the configuration file includes: to open with the application Send out the relevant environmental variance of frame.
5. method according to claim 1 to 3, wherein the enabled instruction includes that publication instruction and/or debugging refer to It enables.
6. a kind of device of the loading configuration file in application program launching, wherein the application program is based on application and development The application program that frame is realized, the device include: the application development framework and corresponding with the application development framework Release module;Wherein,
The release module is suitable for after receiving the enabled instruction issued for the application program, reads the application program In include configuration file, and parsing result is sent to the application development framework after parsing to the configuration file; Wherein, the release module with the application development framework for matching, so as to be answered based on what the application development framework was realized With program start-up operation can be completed by the release module;
The application development framework is suitable for for the parsing result being loaded into memory, so that the application program is in operational process Middle reading;
Wherein, the configuration item in the configuration file includes: environmental variance relevant to the application program, the environmental variance Change with the running environment of application program and changes;Also, the application development framework further comprises: interface is read, For reading the parsing result loaded in memory for the application program.
7. device according to claim 6, wherein the configuration file for including in the application program passes through preset configuration File template library creates, the format specification in the profile template library comprising multiple configuration items and each configuration item;And And the release module is specifically used for: each configuration item for including in the configuration file is obtained, from the profile template The format specification of each configuration item is inquired in library, and each configuration item is parsed according to the format specification.
8. device according to claim 6 or 7, wherein the configuration item in the configuration file includes: to open with the application Send out the relevant environmental variance of frame.
CN201510746183.6A 2015-11-05 2015-11-05 The method and device of loading configuration file in application program launching Active CN105204917B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510746183.6A CN105204917B (en) 2015-11-05 2015-11-05 The method and device of loading configuration file in application program launching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510746183.6A CN105204917B (en) 2015-11-05 2015-11-05 The method and device of loading configuration file in application program launching

Publications (2)

Publication Number Publication Date
CN105204917A CN105204917A (en) 2015-12-30
CN105204917B true CN105204917B (en) 2019-03-01

Family

ID=54952617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510746183.6A Active CN105204917B (en) 2015-11-05 2015-11-05 The method and device of loading configuration file in application program launching

Country Status (1)

Country Link
CN (1) CN105204917B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168726B (en) * 2017-03-30 2021-04-27 武汉斗鱼网络科技有限公司 Method and device for dynamically configuring application program
CN107153572B (en) * 2017-04-14 2020-08-07 武红华 Application program implementation method and device
CN107621954A (en) * 2017-09-19 2018-01-23 深圳市华傲数据技术有限公司 Interface interchange method and device
CN108958746B (en) * 2018-06-27 2022-04-12 Oppo(重庆)智能科技有限公司 Configuration file processing method, mobile terminal and computer readable storage medium
CN110262833B (en) * 2019-06-21 2022-02-01 四川长虹电器股份有限公司 Method for configuring application program function
CN111913759B (en) * 2020-07-31 2024-02-02 中国工商银行股份有限公司 Method, apparatus, computing device and medium for controlling execution of application program

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685568A (en) * 2013-12-31 2014-03-26 曙光云计算技术有限公司 Platform service application deployment method and system of PAAS (Platform As A Service) platform under cloud computing environment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7984119B2 (en) * 2005-04-21 2011-07-19 Sap Ag Template configuration tool for application servers

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685568A (en) * 2013-12-31 2014-03-26 曙光云计算技术有限公司 Platform service application deployment method and system of PAAS (Platform As A Service) platform under cloud computing environment

Also Published As

Publication number Publication date
CN105204917A (en) 2015-12-30

Similar Documents

Publication Publication Date Title
CN105204917B (en) The method and device of loading configuration file in application program launching
Burns Designing distributed systems: patterns and paradigms for scalable, reliable services
CA2915619C (en) Method and apparatus for customized software development kit (sdk) generation
CN110457143B (en) Micro-service calling method and device
CN106547527B (en) JavaScript file construction method and device
US20150195346A1 (en) Open platform, open platform access system, storage medium, and method for allowing third party application to access open platform
CN108228444B (en) Test method and device
Herron Node web development
CN110069259B (en) ID L file-based parsing method and device, electronic equipment and storage medium
CN109885355A (en) A kind of application starting method and relevant apparatus
CN109766099A (en) Front end source code Compilation Method, device, storage medium and computer equipment
US8938712B2 (en) Cross-platform virtual machine and method
CN111026634A (en) Interface automation test system, method, device and storage medium
CN104915239A (en) Method and device for carrying out multi-process startup by container
CN110442399B (en) Method and device for executing read Native service of application, storage medium and terminal equipment
CN110659022B (en) Method for automatically calling Python script based on Java
CN110489124B (en) Source code execution method, source code execution device, storage medium and computer equipment
JP2006236327A (en) Code morphing
WO2016048294A1 (en) Infrastructure rule generation
CN110362317B (en) Code conversion method, device and storage medium
CN113495723B (en) Method, device and storage medium for calling functional component
CN105871927B (en) The automatic logging method and device at micro- end
CN114238831A (en) HTML code fragment processing method, system, electronic equipment and storage medium
CN105138342A (en) Service development method and device
CN106570143B (en) Method and device for sending response object

Legal Events

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

Effective date of registration: 20220713

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right