CN109766139A - The configuration method and device of configuration file - Google Patents

The configuration method and device of configuration file Download PDF

Info

Publication number
CN109766139A
CN109766139A CN201811527504.3A CN201811527504A CN109766139A CN 109766139 A CN109766139 A CN 109766139A CN 201811527504 A CN201811527504 A CN 201811527504A CN 109766139 A CN109766139 A CN 109766139A
Authority
CN
China
Prior art keywords
configuration
module
sentence
configuration module
file
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.)
Granted
Application number
CN201811527504.3A
Other languages
Chinese (zh)
Other versions
CN109766139B (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.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201811527504.3A priority Critical patent/CN109766139B/en
Publication of CN109766139A publication Critical patent/CN109766139A/en
Application granted granted Critical
Publication of CN109766139B publication Critical patent/CN109766139B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a kind of configuration method of configuration file and devices, are suitable for exploitation auxiliary tool, include a plurality of configuration sentence in configuration file this method comprises: obtaining configuration file;A plurality of configuration sentence in configuration file is divided into multiple configuration modules;Determine that the configuration sentence state of each configuration module in multiple configuration modules, configuration sentence state include configuration sentence modifiable state and/or configuration sentence not modifiable state;It sets and configures sentence state in multiple configuration modules as the corresponding configuration sentence modification control of each target configuration module of modifiable state;Target configuration file is generated according to multiple configuration modules and the corresponding configuration sentence modification control of each target configuration module, and target configuration file is shown by granularity of configuration module.Using the embodiment of the present invention, the configuration flexibility of configuration file can be enhanced, improve configuration personnel to the configuration accuracy rate and allocative efficiency of configuration file, applicability is stronger.

Description

The configuration method and device of configuration file
Technical field
The present invention relates to the technical field of data processing more particularly to the configuration methods and device of a kind of configuration file.
Background technique
Micro services are an emerging software architectures, it can split a large-scale single application program or service thin The micro services for turning to dozens of allow the function of the application program of the single large size common by multiple micro services of fractionation The division of labor is completed, to allow work to become easy, so widely used in enterprise.
At present in the configuration management process of micro services, if it is desired to which the micro services configuration for modifying certain then needs pair Entire configuration file is edited, and this operation behavior is easy to bring fault, is changed to configuration personnel and is not needed change Extra workload is caused in place, increases difficulty to the work of configuration personnel, is unfavorable for the configuration that configuration personnel carry out micro services And management, it is poor for applicability.
Summary of the invention
The embodiment of the invention provides a kind of configuration method of configuration file and devices, can enhance the configuration spirit of configuration file Activity improves configuration personnel to the configuration accuracy and allocative efficiency of configuration file, and applicability is higher.
In a first aspect, the embodiment of the invention provides a kind of configuration methods of configuration file, this method comprises:
Configuration file is obtained, includes a plurality of configuration sentence in above-mentioned configuration file;
Above-mentioned a plurality of configuration sentence in above-mentioned configuration file is divided into multiple configuration modules, above-mentioned multiple configuration modules In include at least one configuration sentence in any configuration module;
Determine that the configuration sentence state of each configuration module in above-mentioned multiple configuration modules, above-mentioned configuration sentence state include Configure sentence modifiable state and/or configuration sentence not modifiable state;
It is corresponding as each target configuration module of modifiable state to set configuration sentence state in above-mentioned multiple configuration modules Configuration sentence modify control, above-mentioned configuration sentence modification control enters configuration sentence modification mould for triggering target configuration module Formula;
It is raw according to above-mentioned multiple configuration modules and the corresponding configuration sentence modification control of above-mentioned each target configuration module It is shown at target configuration file, and by above-mentioned target configuration file by granularity of configuration module.
In embodiments of the present invention, the configuration file of each micro services is shown by granularity of configuration module, makes to configure Personnel are the modifications that configuration file is carried out using each configuration module as granularity when the configuration to micro services is modified, without It is to modify using a configuration file as granularity to configuration file, this display mode can make the control of the configuration of micro services Granularity refinement enhances the flexibility of configuration.Above-mentioned configuration module can be by realizing that a plurality of configuration sentence of same function combines It generates.It is arranged to that a modification control, the modification control can be automatically generated respectively behind the configuration module of modification content Control is modified for the configuration sentence of configuration module, configuration sentence modification control enters configuration language for triggering target configuration module Sentence modification mode, preventing maloperation causes accidentally to modify and increase configuration personnel's extra workload, addition modification control Operation is conducive to improve the accuracy rate of the modification of configuration file and improves the allocative efficiency of configuration file, and applicability is stronger.
With reference to first aspect, in a kind of possible embodiment, it is above-mentioned by above-mentioned target configuration file with configuration module Carrying out display for granularity includes:
The above-mentioned multiple configuration modules for including in above-mentioned target configuration file, which are respectively indicated as configuration sentence, to be modified Mode, and the corresponding configuration sentence of above-mentioned each target configuration module is shown in the designated position of above-mentioned each target configuration module Modify control.
With reference to first aspect, in a kind of possible embodiment, the above method further include:
It is controlled when detecting that the corresponding configuration sentence of either objective configuration module for including in above-mentioned target configuration file is modified When the first user operation instruction on part, any of the above-described target configuration module is shown as configuration sentence modification mode, for matching Personnel are set to modify to configuration sentence included by any of the above-described target configuration module.
With reference to first aspect, in a kind of possible embodiment, the above method further include:
It is controlled when detecting that the corresponding configuration sentence of either objective configuration module for including in above-mentioned target configuration file is modified It is corresponding to cancel any of the above-described target configuration module based on above-mentioned second user operational order for second user operational order on part It configures sentence and modifies control, setting configuration sentence for the configuration sentence state of any of the above-described target configuration module can not modify State.
With reference to first aspect, in a kind of possible embodiment, the above method further include:
Set the configuration module title of above-mentioned each target configuration module, and by the configuration of above-mentioned each target configuration module Module title is set as the index of the configuration module search of above-mentioned target configuration file, to support configuration personnel to be based on any configuration Module title is searched for from above-mentioned target configuration file obtains the corresponding target configuration module of any of the above-described configuration module title.
With reference to first aspect, in a kind of possible embodiment, the above method further include:
Configuration module catalogue is generated according to the configuration module title of above-mentioned each target configuration module and shows above-mentioned configuration Module directory;
When detecting the user's operation of the configuration module of either objective configuration module in above-mentioned configuration module catalogue nominally When instruction, the position of any of the above-described target configuration module is determined from above-mentioned target configuration file and shows any of the above-described target Configuration module.
With reference to first aspect, in a kind of possible embodiment, above-mentioned acquisition configuration file includes:
Obtain the configuration file that configuration personnel write in real time.
Alternatively, obtaining configuration file from preset configuration document data bank.
Second aspect, the embodiment of the invention provides a kind of configuration device of configuration file, which includes: to obtain list Member, module division unit, configuration status determination unit, modification control generation unit, display unit;
Above-mentioned acquiring unit, for obtaining configuration file, above-mentioned configuration file includes a plurality of configuration sentence;
Module division unit, the above-mentioned a plurality of configuration sentence in the configuration file for getting above-mentioned acquiring unit are drawn It is divided into multiple configuration modules, includes at least one configuration sentence in any configuration module in above-mentioned multiple configuration modules;
Above-mentioned configuration status determination unit, for determining the above-mentioned multiple configuration moulds divided by above-mentioned module division unit The configuration sentence state of block, above-mentioned configuration sentence state include that configuration sentence modifiable state and/or configuration sentence can not be modified State.
Above-mentioned modification control generation unit, for setting configuration module that status determining unit through the above configuration determines It configures the corresponding configuration sentence of each target configuration module that sentence state is modifiable state and modifies control, above-mentioned configuration sentence Modification control enters configuration sentence modification mode for triggering target configuration module.
Above-mentioned display unit, above-mentioned multiple configuration modules for being divided according to above-mentioned module division unit and above-mentioned is repaired Changing the corresponding configuration sentence modification control of above-mentioned each target configuration module of control generation unit generation, to generate target configuration literary Part, and above-mentioned target configuration file is shown by granularity of configuration module.
In conjunction with second aspect, in some possible embodiments, above-mentioned display unit is used for:
The above-mentioned multiple configuration modules for including in above-mentioned target configuration file, which are respectively indicated as configuration sentence, to be modified Mode, and the corresponding configuration sentence of above-mentioned each target configuration module is shown in the designated position of above-mentioned each target configuration module Modify control.
In conjunction with second aspect, in some possible embodiments, above-mentioned display unit is used for:
It is controlled when detecting that the corresponding configuration sentence of either objective configuration module for including in above-mentioned target configuration file is modified When the first user operation instruction on part, any of the above-described target configuration module is shown as configuration sentence modification mode, for matching Personnel are set to modify to configuration sentence included by any of the above-described target configuration module.
In conjunction with second aspect, in some possible embodiments, above-mentioned display unit is used for:
It is controlled when detecting that the corresponding configuration sentence of either objective configuration module for including in above-mentioned target configuration file is modified It is corresponding to cancel any of the above-described target configuration module based on above-mentioned second user operational order for second user operational order on part It configures sentence and modifies control, setting configuration sentence for the configuration sentence state of any of the above-described target configuration module can not modify State.
In conjunction with second aspect, in some possible embodiments, above-mentioned module division unit is used for:
Set the configuration module title of above-mentioned each target configuration module, and by the configuration of above-mentioned each target configuration module Module title is set as the index of the configuration module search of above-mentioned target configuration file, to support configuration personnel to be based on any configuration Module title is searched for from above-mentioned target configuration file obtains the corresponding target configuration module of any of the above-described configuration module title.
In conjunction with second aspect, in some possible embodiments, above-mentioned module division unit is used for:
Configuration module catalogue is generated according to the configuration module title of above-mentioned each target configuration module and shows above-mentioned configuration Module directory;
When detecting the user's operation of the configuration module of either objective configuration module in above-mentioned configuration module catalogue nominally When instruction, the position of any of the above-described target configuration module is determined from above-mentioned target configuration file and shows any of the above-described target Configuration module.
In conjunction with second aspect, in some possible embodiments, above-mentioned acquiring unit is used for:
Obtain the configuration file that configuration personnel write in real time.
Alternatively, obtaining configuration file from preset configuration document data bank.
The third aspect, the embodiment of the invention also provides a kind of terminal device, which includes display, processor And memory, the display, processor and memory are connected with each other.The memory supports the terminal device to execute for storing The computer program of the method for first aspect and/or any possible implementation offer of first aspect, the computer journey are provided Sequence includes program instruction, and the display and processor are configured for calling above procedure instruction, execute above-mentioned first aspect and/ Or method provided by any possible embodiment of first aspect.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage mediums Matter is stored with computer program, which includes program instruction, which makes at this when being executed by a processor It manages device and executes method provided by above-mentioned first aspect and/or any possible embodiment of first aspect.
In embodiments of the present invention, the configuration file of each micro services is shown by granularity of configuration module, makes to configure Personnel are the modifications that configuration file is carried out using each configuration module as granularity when the configuration to micro services is modified, without It is to modify using a configuration file as granularity to configuration file, this display mode can make the control of the configuration of micro services Granularity refinement enhances the flexibility of configuration.Above-mentioned configuration module can be by realizing that a plurality of configuration sentence of same function combines It generates.Configuration personnel are supported to be named above-mentioned configuration module, by configuring personnel's searching to the title of corresponding configuration module Suo Zhiling navigates to the position of corresponding configuration module, convenient for enabling configuration personnel quickly to navigate to the position of corresponding configuration module The configuration for carrying out configuration file, enhances the convenience of configuration, effectively improves working efficiency.Being arranged to can matching by modification content It sets and automatically generates a modification control behind module respectively, which is that the configuration sentence of configuration module modifies control, Configuration sentence modification control enters configuration sentence modification mode for triggering target configuration module, and preventing maloperation causes It accidentally modifies and increases configuration personnel's extra workload, the operation of addition modification control is conducive to improve the modification of configuration file Accuracy rate and the allocative efficiency for improving configuration file, applicability are stronger.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment Attached drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill of field, without creative efforts, it can also be obtained according to these attached drawings others Attached drawing.
Fig. 1 is the flow diagram of the configuration method of configuration file provided in an embodiment of the present invention;
Fig. 2 is the configuration interface schematic diagram of configuration file provided in an embodiment of the present invention;
Fig. 3 is the structural schematic diagram of the configuration device of configuration file provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of the configurating terminal of configuration file provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention provides a kind of configuration method of configuration file and devices, are applicable to exploitation auxiliary, specifically The implementation of exploitation auxiliary tool be can be used as developing in auxiliary.The configuration side of configuration file provided in an embodiment of the present invention Method (or configuration method provided in an embodiment of the present invention or method provided in an embodiment of the present invention) is supported to getting The configuration file of micro services is configured, thus control the above-mentioned configuration file being set is configured (configuration sentence and/ Or the configuration module being made of configuration sentence, be configurable to example for convenience of description and be illustrated) modification movement.The present invention is real The configuration method of example offer is provided, modification control can be increased configuration file, according to the wish and/or other demands pair of configuration personnel Configuration to be modified may be needed to increase above-mentioned modification control, by the above-mentioned possible configuration sentence state for needing configuration to be modified It is both configured to modifiable state, and is led to the configuration for not needing to modify according to the wish of configuration personnel and/or other demands Increase modification control is crossed to be set as the not configuration of modifiable state or be not provided with modification control to guarantee not needing to modify Configuration do not modified accidentally.Configuration method provided in an embodiment of the present invention is with configuration module to the configuration file of single micro services Granularity is shown, makes configuration personnel when the configuration to micro services is modified, and is carried out by granularity of each configuration module The modification of configuration file, rather than modify using a configuration file as granularity to configuration file, this display mode can be with The Control granularity of the configuration of micro services is refined, the flexibility of configuration is enhanced.Above-mentioned configuration module is according to the configuration of configuration file Demand is combined merging by a plurality of configuration sentence and generates configuration module (or configuration combination etc.), configuration module can be by Realize the module of a plurality of configuration sentence combination producing of same function.It is above-mentioned be arranged to the configuration module of modifiable state after Face all automatically generates a modification control respectively, which is the configuration language that can trigger configuration module and enter the configuration module Sentence modification mode, preventing maloperation causes accidentally to modify and increase configuration personnel's extra workload, addition modification button (or Claim modification control) operation be conducive to raising configuration file modification accuracy rate, and improve the allocative efficiency of configuration file.
The configuration file of above-mentioned micro services can be the configuration file not being set got, such as developer compiles The original configuration file etc. that code obtains, configuration method provided in an embodiment of the present invention can support that configuration personnel are original to what is got Configuration file carries out the configuration modification operation of above-mentioned configuration file.What the accessory file of above-mentioned micro services was also possible to get matches The configuration file of completion is set, configuration method provided in an embodiment of the present invention can support what configuration personnel completed the configuration got Configuration file carries out configuration modification, for example increase modification control etc., it can specifically be determined according to practical application scene, not limited herein System.
Configuration method provided in an embodiment of the present invention is applicable not only to the configuration file of micro services, is apply equally as well to other The configuration file write by certain computer language, it will not be described herein.Above-mentioned configuration method is for single micro- The operation that the configuration file of service is configured, the content illustrated later are carried out again for the configuration file of single micro services Operation, hereafter no longer it is explained.
Configuration method provided in an embodiment of the present invention can match horizontalization in any associated terminal device by configuration personnel It is executed on platform, determines that this is not restricted according to the application scenarios of the computer language of configuration personnel's actual use.
Configuration method provided in an embodiment of the present invention and device are illustrated respectively below in conjunction with Fig. 1 to Fig. 4.This hair The configuration method that bright embodiment provides may include obtain configuration file, a plurality of configuration sentence in configuration module is divided into it is multiple Configuration module, the modification control for configuring sentence state, generating configuration module of setting configuration module are shown by granularity of configuration module Show the data processing stages such as above-mentioned configuration file.Wherein, the implementation of above-mentioned each data processing stage can be found in following Fig. 1 The implementation of each step.
It is the flow diagram of the configuration method of configuration file provided in an embodiment of the present invention referring to Fig. 1, Fig. 1.The present invention The configuration method that embodiment provides may include following steps S11 to S15:
S11 obtains configuration file, includes a plurality of configuration sentence in above-mentioned configuration file.
In some possible embodiments, terminal device can obtain configuration file, which can be exploit person The configuration file that member's real-time coding generates, is also possible to the configuration file of general utility functions module stored in configuration files database Deng, it specifically can be determining according to practical application scene, this is not restricted.It include a plurality of configuration sentence in above-mentioned configuration file, it can Choosing, which can be power function, code, functional configuration module etc., it is determined with specific reference to practical application scene, this Place is with no restriction.
Optionally, in some possible embodiments, there can be the functional module of certain specific function by obtaining Template carries out the configuration of configuration file based on functional module template.For certain modules with specific function, and the function mould Block is very universal and/or common, then can be write according to the functional requirement of every micro services has the function of certain specific function Module template, for example the available functional module with different function of different functional modules is added to newly-built configuration file Functional module template is added in template database template, supports configuration personnel when creating a configuration file, can be with The functional module template with certain specific function in above-mentioned template database is called directly as needed, further according to practical need Voluntarily to add the configuration for realizing other function.If calling functional modules template carries out writing for configuration file, function mould The configuration content of general utility functions part defined in block template is not revisable content, from what is be added into functional module template The configuration content of custom feature module section be all can modify content, while can also support can developer according to itself wish The somewhere of the configuration content for the custom feature module section that self-setting is added into functional module template is configured to repair The content changed.Configuration method provided in an embodiment of the present invention can support that matching for part can be modified in developer's functional module template The configuration content that custom feature module section is added in content is set, based on the configuration content that custom feature module section is added The Function Extension for realizing each functional module, can be improved the allocative efficiency of the configuration file of each functional module, and applicability is stronger.
Above-mentioned a plurality of configuration sentence in above-mentioned configuration file is divided into multiple configuration modules, above-mentioned multiple configurations by S12 It include at least one configuration sentence in any configuration module in module.
In some possible embodiments, right in the compiling procedure of the configuration file of micro services in certain scenes It can be combined into a module in a plurality of configuration sentence for realizing the same function, need to realize certain specific function at this time A plurality of configuration sentence (such as lines of code or multiple functions etc.) is merged into a module.Optionally, single configures language The boundary line of sentence can be distinguished by a branch, such as uniline code or single function etc., can also be can reach by other The same operation realization for distinguishing function, herein with no restriction.By dividing the operation of configuration module, entire configuration file is divided For multiple configuration modules, configuration personnel can be allowed quickly to understand the structure of configuration file, improve configuration personnel and read to change configuration file Efficiency, by it is aftermentioned using configuration module as granularity show configuration file so that configuration personnel match to configuration file It is as unit of configuration module when setting, rather than single character or single configure sentence, referring specifically to hereafter.Matched by setting The operation of module is set, it is apparent to the view of configuration file framework when writing configuration file convenient for programmer while also advantageous The structure and content of configuration file can be quickly understood when first contacts need the configuration file modified in configuration personnel.
In some possible embodiments, above-mentioned module can be one function of common realizations certain in configuration file The configurations of multiple singles merge the configuration module generated, every configuration sentence for not carrying out module division can be understood as automatically The configuration module one by one generated.
Optionally, in some possible embodiments, each configuration module of above-mentioned generation can with different colors into Row display, provides a color libraries, is shown by the color that color libraries carry out each configuration module, configuration personnel can be supported from face The color and colour type number that selecting module library is shown in color library, such as three kinds of yellowish green indigo plants of color of selection, then according to adjacent two The display rule that a configuration module is not homochromy, arbitrarily shows the color of each configuration module with yellow, green, blue.If not making The color that modules are shown with color libraries, can support configuration personnel can be with the color of each configuration module of self-setting.Pass through Configuration modules different in configuration file are carried out with the display of different colours, convenient for programmer when writing configuration file to configuration text The view of part framework is apparent, while being also beneficial to configuration personnel can be quickly clear in the configuration file that first contacts need to modify The structure and content of Chu's configuration file.
In some possible embodiments, referring to fig. 2, Fig. 2 is the configuration text of micro services provided in an embodiment of the present invention The configuration interface schematic diagram of part.As shown in Fig. 2, wherein 21,22,23 being respectively used to indicate configuration module 21,22 and of configuration module 3 configuration modules of configuration module 23.Wherein configuration module 21 and configuration module 22 are matched for what single configuration sentence automatically generated Module is set, not by dividing, also it is not named, configuration module 23 is the configuration mould according to the division of operations of configuration personnel Block, and the function of the configuration module 23 can be named as function 1.Such as Fig. 2, can by using color libraries to each configuration module into Row display, is selected for bluish-green two kinds of colors, and the implementation of different colours is shown according to two adjacent configuration modules, can be made Configuration module 21 is shown as blue, and configuration module 22 is shown in green, and configuration module 23 is shown as blue.It is wherein above-mentioned each to match Setting the corresponding display color of module can be the color being randomly assigned, and can also make configuration module 21,23 green of configuration module, configuration Module 22 is blue etc., can specifically be determined according to practical application scene, herein with no restrictions.
In some possible embodiments, support configuration personnel that can be named to above-mentioned each configuration module, i.e., It can support configuration personnel behind the configuration content of each configuration module or other designated positions carry out each configuration module Function name, optionally, terminal device can be shown on the user interface for the configuration module that configuration personnel are chosen to this The editable window that configuration module is named obtains the title for the functional module that configuration personnel input in the window, completes Name to the configuration module.Wherein, it can be the function or in fact of realizing according to configuration module to the naming method of module The keyword of existing function is named, and supports that configuration personnel are configuring configuration file when writing and modifying, can be with The position of corresponding functional module is navigated to according to the name keys fast search of the functional module of configuration personnel input, in turn Configuration content corresponding to the functional module can be achieved and carry out checking and/or editing for configuration content, the functional module named Title can be shown in the beginning and/or ending of the configuration content of functional module.The process of above-mentioned keyword search includes: A keyword search window is provided in the page of configuration file, the range of keyword search is entire configuration file, including complete Portion configures sentence and configures the title that personnel are modules name.When the configuration personnel by acquiring are in keyword search It, can also be according to the configuration personnel acquired when the keyword of window input cannot navigate to the position of corresponding configuration module The certain function names (English) inputted to keyword search window carry out the search of configuration sentence, find in configuration file automatically There is the position of the corresponding configuration of the keyword inputted for the first time, while keyword search window can provide the choosing at " next place " , " next place " is clicked by configuring personnel, automatic positioning to next place configuration personnel occurs and inputs to keyword search window The corresponding configuration of keyword position.
Optionally, in some possible embodiments, the title for the configuration module that can be named according to configuration personnel is pressed The successive position of lighting module automatically generates a catalogue, and the page of the catalogue of generation before configuration file is shown, passes through Configuration personnel click the title of corresponding configuration module in catalogue, then can automatic jump to the corresponding configuration module of click Position carries out the quick lookup and positioning of configuration module convenient for configuration personnel.
S13 determines the configuration sentence state of each configuration module in above-mentioned multiple configuration modules, above-mentioned configuration sentence state Including configuration sentence modifiable state and/or configure sentence not modifiable state.
In some possible embodiments, if the above-mentioned configuration file got is what developer's real-time coding generated Configuration file, then in the cataloged procedure of the configuration file, can support developer (or configuration personnel) according to it is each in incognito Whether the somewhere configuration (such as some above-mentioned configuration module) of the functional requirement self-setting of the business configuration file can be modified.It is optional , not revisable content can be set by the configuration of configuration file basic framework part, others configuration is set as to repair The content changed, this operation are not required.If some configuration module of the configuration file is arranged to not revisable content, The configuration sentence state of configuration module is not modifiable state herein, and the configuration personnel after configuration is not supported at this are to the configuration Configuration carries out configuration modification at this of file.If some configuration module of the configuration file is arranged to revisable content, Then the configuration sentence state of configuration module is modifiable state herein, and configuration personnel is supported to modify configuration module at this.
Optionally, in some alternative embodiments, it when getting one not by the configuration file by setting, then props up It holds configuration personnel not operated by the modification etc. that the configuration file by setting carries out configuration content to what is got, specific implementation side Formula can be found in the implementation of the modification of the configuration content of above-mentioned above-mentioned newly-built configuration file, and details are not described herein again.
Optionally, in some alternative embodiments, configuration can also be provided in configuration method provided in an embodiment of the present invention The configuration of file cancels function, this revocation feature difference is provided herein in the revocation function of writing configuration to configuration file Revocation function is exclusively used in carrying out configuration file the setting revocation of configuration modification.In the modification for carrying out configuration module to configuration file During the setting of state, configuration personnel is supported to set in discovery to the configuration sentence state of the somewhere configuration module of configuration file When setting mistake, option and installment cancels function, that is, cancels the setting to the configuration sentence state of configuration module at this.Optionally, may be used To modify control by the corresponding configuration sentence of the configuration sentence state for choosing configuration at this, and select to cancel the configuration sentence shape The corresponding configuration sentence of state modifies control, completes the reduction of the configuration sentence state to the configuration content configured at this, that is, cancels Setting to the configuration sentence modification control configured at this.
S14 sets and configures sentence state in above-mentioned multiple configuration modules as each target configuration module of modifiable state Corresponding configuration sentence modifies control, and above-mentioned configuration sentence modification control enters configuration sentence for triggering target configuration module and repairs Change mode.
In some possible embodiments, if some configuration module of the configuration file is arranged to revisable interior Hold, then can all generate a modification control at this behind the corresponding content of configuration module in the configuration file (i.e. based on configuration Sentence status control is set as that the increased modification control of configuration module of content can be modified), which can be modification control Button processed determines, herein with no restriction with specific reference to practical application scene.Each configuration module is corresponding to generate a modification control Part, the configuration personnel after which can support repair the content of configuration module corresponding to the modification control Change.For example, configuration personnel can choose the modification control, the configuration sentence entrance for triggering the corresponding configuration module of modification control can Modification mode, and then can modify to the corresponding configuration content of the modification control.It, should if configuring the unselected button of personnel The corresponding configuration content of modification control is in not revisable mode, and configuration people also can not be to configuration corresponding to the modification control It modifies, supports configuration personnel when modifying to configuration file, be as unit of single configuration module to configuration file Edit-modify is carried out, rather than entire configuration file is edited, i.e., editor's range is that can modify to be selected modification in configuration Each configuration module of control, rather than entire configuration file can prevent reception configuration personnel from overdue equal maloperations row occurs For and trigger operation error instruction and to the configuration content of configuration file carry out without modification.As shown in Fig. 2, each configuration module Below with a modification button (i.e. configuration sentence modifies control), such as the circle in Fig. 2.If after detecting configuration module 23 Face with modification button on user operation instruction, then can determine selected configuration module be configuration module 23, then can trigger The modification mode of the configuration sentence of configuration module 23, so as to support configuration personnel to compile the configuration content of configuration module 23 Volume.If behind configuration module 22 with modification button on user operation instruction, can determine selected configuration module be with Module 22 is set, then can trigger the modification mode of the configuration sentence of configuration module 22, so as to support configuration personnel to configuration module 22 configuration content is edited, herein with no restrictions.
It in some possible embodiments, can be by another operation revocation on any modification control to this The setting operation of the configuration sentence state of the one corresponding configuration module of modification control, so that the corresponding configuration of any modification control The configuration sentence state of module is restored, and carries out setting again for configuration sentence state to configure personnel to the configuration module It sets.Above-mentioned another operation, which can be, modifies the operation of control by long-pressing to cancel the configuration sentence state to the configuration module Setting operation, be also possible to other modes, with specific reference to practical application scene determine, herein with no restriction.By above-mentioned another A kind of operation achievees the effect that have distinguished the triggering mode by clicking the configuration modifiable state for carrying out the configuration module.
S15, according to above-mentioned multiple configuration modules and the corresponding configuration sentence modification control of above-mentioned each target configuration module Part generates target configuration file, and above-mentioned target configuration file is shown by granularity of configuration module.
In some possible embodiments, the configuration module set using configuration personnel is granularity to above-mentioned configuration file It is shown, each configuration module is corresponding with a modification control, and each configuration module is an independent unit, configures mould It is then to be shown with single configuration sentence inside block, supports configuration personnel when carrying out configuration modification to configuration file, to match Setting module is the modification that unit carries out configuration file.By showing configuration file by granularity of configuration module, make to configure The Control granularity of file refines, and can cause some maloperations to avoid when carrying out configuration modification to configuration file.
In embodiments of the present invention, the configuration file of each micro services is shown by granularity of configuration module, makes to configure Personnel are the modifications that configuration file is carried out using each configuration module as granularity when the configuration to micro services is modified, without It is to modify using a configuration file as granularity to configuration file, this display mode can make the control of the configuration of micro services Granularity refinement enhances the flexibility of configuration.Above-mentioned configuration module can be by realizing that a plurality of configuration sentence of same function combines It generates.Configuration personnel are supported to be named above-mentioned configuration module, by configuring personnel's searching to the title of corresponding configuration module Suo Zhiling navigates to the position of corresponding configuration module, convenient for enabling configuration personnel quickly to navigate to the position of corresponding configuration module The configuration for carrying out configuration file, enhances the convenience of configuration, effectively improves working efficiency.Being arranged to can matching by modification content It sets and automatically generates a modification control behind module respectively, which is that the configuration sentence of configuration module modifies control, Configuration sentence modification control enters configuration sentence modification mode for triggering target configuration module, and preventing maloperation causes It accidentally modifies and increases configuration personnel's extra workload, the operation of addition modification control is conducive to improve the modification of configuration file Accuracy rate and the allocative efficiency for improving configuration file, applicability are stronger.
It is the structural schematic diagram of the configuration device of configuration file provided in an embodiment of the present invention referring to Fig. 3, Fig. 3.The present invention The configuration device of a kind of configuration file that embodiment provides includes:
Acquiring unit 31, for obtaining configuration file, above-mentioned configuration file includes a plurality of configuration sentence.
Module division unit 32, the above-mentioned a plurality of configuration sentence in the configuration file for getting above-mentioned acquiring unit Multiple configuration modules are divided into, include at least one configuration sentence in any configuration module in above-mentioned multiple configuration modules.
Configuration status determination unit 33, for determining the above-mentioned multiple configuration modules divided by above-mentioned module division unit Configuration sentence state, above-mentioned configuration sentence state include configuration sentence modifiable state and/or configuration sentence can not modify shape State.
Control generation unit 34 is modified, the configuration module for set status determining unit through the above configuration determination is matched It sets the corresponding configuration sentence of each target configuration module that sentence state is modifiable state and modifies control, above-mentioned configuration sentence is repaired Change control and enters configuration sentence modification mode for triggering target configuration module.
Display unit 35, above-mentioned multiple configuration modules and above-mentioned modification for being divided according to above-mentioned module division unit The corresponding configuration sentence modification control generation target configuration file of the above-mentioned each target configuration module that control generation unit generates, And above-mentioned target configuration file is shown by granularity of configuration module.
In some possible embodiments, above-mentioned acquiring unit 31 is used for:
Obtain the configuration file that configuration personnel write in real time;
Alternatively, obtaining configuration file from preset configuration document data bank.
In some possible embodiments, above-mentioned module division unit 32 is used for:
Set the configuration module title of above-mentioned each target configuration module, and by the configuration of above-mentioned each target configuration module Module title is set as the index of the configuration module search of above-mentioned target configuration file, to support configuration personnel to be based on any configuration Module title is searched for from above-mentioned target configuration file obtains the corresponding target configuration module of any of the above-described configuration module title.
In some possible embodiments, above-mentioned module division unit 32 is used for:
Configuration module catalogue is generated according to the configuration module title of above-mentioned each target configuration module and shows above-mentioned configuration Module directory;
When detecting the user's operation of the configuration module of either objective configuration module in above-mentioned configuration module catalogue nominally When instruction, the position of any of the above-described target configuration module is determined from above-mentioned target configuration file and shows any of the above-described target Configuration module.
In some possible embodiments, above-mentioned display unit 35 is used for:
The above-mentioned multiple configuration modules for including in above-mentioned target configuration file, which are respectively indicated as configuration sentence, to be modified Mode, and the corresponding configuration sentence of above-mentioned each target configuration module is shown in the designated position of above-mentioned each target configuration module Modify control.
In some possible embodiments, above-mentioned display unit 35 is used for:
It is controlled when detecting that the corresponding configuration sentence of either objective configuration module for including in above-mentioned target configuration file is modified When the first user operation instruction on part, any of the above-described target configuration module is shown as configuration sentence modification mode, for matching Personnel are set to modify to configuration sentence included by any of the above-described target configuration module.
In some possible embodiments, above-mentioned display unit 35 is used for:
It is controlled when detecting that the corresponding configuration sentence of either objective configuration module for including in above-mentioned target configuration file is modified It is corresponding to cancel any of the above-described target configuration module based on above-mentioned second user operational order for second user operational order on part It configures sentence and modifies control, setting configuration sentence for the configuration sentence state of any of the above-described target configuration module can not modify State.
In embodiments of the present invention, by display unit 35 to the configuration files of each micro services using configuration module as granularity into Row display, makes configuration personnel when the configuration to micro services is modified, and is to carry out configuration text by granularity of each configuration module The modification of part, rather than modify using a configuration file as granularity to configuration file, this display mode can make in incognito The Control granularity of the configuration of business refines, and enhances the flexibility of configuration.Above-mentioned configuration module can be by realizing the more of same function Item configures sentence combination producing.Based on module division unit 32, supports configuration personnel to be named above-mentioned configuration module, pass through Configuration personnel navigate to the position of corresponding configuration module to the search instruction of the title of corresponding configuration module, convenient for making to configure people The position that member can quickly navigate to corresponding configuration module carries out the configuration of configuration file, enhances the convenience of configuration, effectively improves Working efficiency.Being arranged to can be by automatic raw respectively by modification control generation unit 34 behind the configuration module of modification content At a modification control, which is that the configuration sentence of configuration module modifies control, and configuration sentence modification control is used for Triggering target configuration module enters configuration sentence modification mode, and preventing maloperation causes accidentally to modify and increase configuration personnel's volume The operation of outer workload, addition modification control is conducive to improve the accuracy rate of the modification of configuration file and improves configuration file Allocative efficiency, applicability are stronger.
Referring to fig. 4, Fig. 4 is the structural schematic diagram of terminal device provided in an embodiment of the present invention.As shown in figure 4, this implementation The terminal of example may include one or more processors 41, display 42 and memory 43, above-mentioned processor 41, display 42 and deposit Reservoir 43 is connected by bus 44.For memory 43 for storing computer program, which includes program instruction, processing The program instruction that device 41 and display 42 are used to that memory 43 to be called to store, performs the following operations:
Configuration file is obtained, includes a plurality of configuration sentence in above-mentioned configuration file;
Above-mentioned a plurality of configuration sentence in above-mentioned configuration file is divided into multiple configuration modules, above-mentioned multiple configuration modules In include at least one configuration sentence in any configuration module;
Determine that the configuration sentence state of each configuration module in above-mentioned multiple configuration modules, above-mentioned configuration sentence state include Configure sentence modifiable state and/or configuration sentence not modifiable state;
It is corresponding as each target configuration module of modifiable state to set configuration sentence state in above-mentioned multiple configuration modules Configuration sentence modify control, above-mentioned configuration sentence modification control enters configuration sentence modification mould for triggering target configuration module Formula;
It is raw according to above-mentioned multiple configuration modules and the corresponding configuration sentence modification control of above-mentioned each target configuration module It is shown at target configuration file, and by above-mentioned target configuration file by granularity of configuration module.
In some possible embodiments, above-mentioned processor 41 is used for:
Set the configuration module title of above-mentioned each target configuration module, and by the configuration of above-mentioned each target configuration module Module title is set as the index of the configuration module search of above-mentioned target configuration file, to support configuration personnel to be based on any configuration Module title is searched for from above-mentioned target configuration file obtains the corresponding target configuration module of any of the above-described configuration module title.
In some possible embodiments, above-mentioned processor 41 is used for:
Configuration module catalogue is generated according to the configuration module title of above-mentioned each target configuration module and shows above-mentioned configuration Module directory;
When detecting the user's operation of the configuration module of either objective configuration module in above-mentioned configuration module catalogue nominally When instruction, the position of any of the above-described target configuration module is determined from above-mentioned target configuration file and shows any of the above-described target Configuration module.
In some possible embodiments, above-mentioned processor 41 is used for:
Obtain the configuration file that configuration personnel write in real time.
Alternatively, obtaining configuration file from preset configuration document data bank.
In some possible embodiments, above-mentioned processor 41 is used for:
It is controlled when detecting that the corresponding configuration sentence of either objective configuration module for including in above-mentioned target configuration file is modified It is corresponding to cancel any of the above-described target configuration module based on above-mentioned second user operational order for second user operational order on part It configures sentence and modifies control, setting configuration sentence for the configuration sentence state of any of the above-described target configuration module can not modify State.
In some possible embodiments, aforementioned display device 42 is used for:
The above-mentioned multiple configuration modules for including in above-mentioned target configuration file, which are respectively indicated as configuration sentence, to be modified Mode, and the corresponding configuration sentence of above-mentioned each target configuration module is shown in the designated position of above-mentioned each target configuration module Modify control.
In some possible embodiments, aforementioned display device 42 is used for:
It is controlled when detecting that the corresponding configuration sentence of either objective configuration module for including in above-mentioned target configuration file is modified When the first user operation instruction on part, any of the above-described target configuration module is shown as configuration sentence modification mode, for matching Personnel are set to modify to configuration sentence included by any of the above-described target configuration module.
In some possible embodiments, aforementioned display device 42 is used for:
The terminal operation interface of display configuration file carries out configuration operation to configure personnel to above-mentioned configuration file.
It should be appreciated that in some possible embodiments, above-mentioned processor 41 can be central processing unit (central processing unit, CPU), which can also be other general processors, digital signal processor (digital signal processor, DSP), specific integrated circuit (application specific integrated Circuit, ASIC), ready-made programmable gate array (field programmable gate array, FPGA) or other can Programmed logic device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor Or the processor is also possible to any conventional processor etc..The memory 43 may include read-only memory and arbitrary access Memory, and instruction and data is provided to processor 41.The a part of of memory 43 can also include that non-volatile random accesses Memory.For example, memory 43 can be with the information of storage device type.
In the specific implementation, above-mentioned terminal device can execute such as each step of above-mentioned Fig. 1 by each functional module built in it Implementation provided by rapid, details are not described herein.
In embodiments of the present invention, the configuration file of each micro services is shown by granularity of configuration module, makes to configure Personnel are the modifications that configuration file is carried out using each configuration module as granularity when the configuration to micro services is modified, without It is to modify using a configuration file as granularity to configuration file, this display mode can make the control of the configuration of micro services Granularity refinement enhances the flexibility of configuration.Above-mentioned configuration module can be by realizing that a plurality of configuration sentence of same function combines It generates.Configuration personnel are supported to be named above-mentioned configuration module, by configuring personnel's searching to the title of corresponding configuration module Suo Zhiling navigates to the position of corresponding configuration module, convenient for enabling configuration personnel quickly to navigate to the position of corresponding configuration module The configuration for carrying out configuration file, enhances the convenience of configuration, effectively improves working efficiency.Being arranged to can matching by modification content It sets and automatically generates a modification control behind module respectively, which is that the configuration sentence of configuration module modifies control, Configuration sentence modification control enters configuration sentence modification mode for triggering target configuration module, and preventing maloperation causes It accidentally modifies and increases configuration personnel's extra workload, the operation of addition modification control is conducive to improve the modification of configuration file Accuracy rate and the allocative efficiency for improving configuration file, applicability are stronger.
The embodiment of the present invention also provides a kind of computer readable storage medium, which has meter Calculation machine program, the computer program include program instruction, which realizes each step institute in Fig. 1 when being executed by processor The configuration method of the configuration file of offer, for details, reference can be made to implementations provided by above-mentioned each step, and details are not described herein.
Above-mentioned computer readable storage medium can be the configuration file that aforementioned any embodiment provides configuration device or The internal storage unit of the above-mentioned terminal device of person, such as the hard disk or memory of electronic equipment.The computer readable storage medium It can be the plug-in type hard disk being equipped on the External memory equipment of the electronic equipment, such as the electronic equipment, intelligent memory card (smart media card, SMC), secure digital (secure digital, SD) card, flash card (flash card) etc..Into One step, the computer readable storage medium can also both internal storage units including the electronic equipment or including external storage Equipment.The computer readable storage medium is for storing other program sum numbers needed for the computer program and the electronic equipment According to.The computer readable storage medium can be also used for temporarily storing the data that has exported or will export.
Claims of the present invention and term " first " in specification and attached drawing, " second ", " third ", " the 4th " etc. It is to be not use to describe a particular order for distinguishing different objects.In addition, term " includes " and " having " and they are any Deformation, it is intended that cover and non-exclusive include.Such as contain the process, method, system, product of a series of steps or units Or equipment is not limited to listed step or unit, but optionally further comprising the step of not listing or unit, or can Selection of land further includes the other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing at least one embodiment of the present invention.It is identical that each position in the description shows that the phrase might not be each meant Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.In description of the invention and appended power Term "and/or" used in sharp claim refers to any combination of one or more of associated item listed and owns It may combine, and including these combinations.Configuration method provided in an embodiment of the present invention and relevant apparatus are real referring to the present invention The structural schematic diagram of the configuration method flow chart that example provides and/or configuration device is applied to describe, it specifically can be by computer program In each flow and/or block and flowchart and/or the block diagram for instructing implementation method flow chart and/or structural schematic diagram Process and/or box combination.These computer program instructions can provide general purpose computer, special purpose computer, embedded Processor or the processor of other programmable data processing devices are to generate a machine, so that passing through computer or other can compile The instruction that the processor of journey data processing equipment executes generates for realizing in one or more flows of the flowchart and/or knot The device for the function of being specified in structure schematic diagram one box or multiple boxes.These computer program instructions, which may also be stored in, to be drawn It leads in computer or other programmable data processing devices computer-readable memory operate in a specific manner, so that being stored in Instruction in the computer-readable memory generates the manufacture including command device, which realizes at flow chart one The function of being specified in process or multiple processes and/or structural schematic diagram one box or multiple boxes.
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (10)

1. a kind of configuration method of configuration file characterized by comprising
Configuration file is obtained, includes a plurality of configuration sentence in the configuration file;
The a plurality of configuration sentence in the configuration file is divided into multiple configuration modules, is appointed in the multiple configuration module It include at least one configuration sentence in one configuration module;
Determine that the configuration sentence state of each configuration module in the multiple configuration module, the configuration sentence state include configuration Sentence modifiable state and/or configuration sentence not modifiable state;
Configuration sentence state in the multiple configuration module is set to match as each target configuration module of modifiable state is corresponding Sentence modification control is set, the configuration sentence modification control enters configuration sentence modification mode for triggering target configuration module;
Mesh is generated according to the multiple configuration module and the corresponding configuration sentence modification control of each target configuration module Configuration file is marked, and the target configuration file is shown by granularity of configuration module.
2. the method according to claim 1, wherein it is described by the target configuration file using configuration module as grain Degree carries out display
The multiple configuration module for including in the target configuration file, which is respectively indicated as configuration sentence, can not modify mode, And the corresponding configuration sentence modification of each target configuration module is shown in the designated position of each target configuration module Control.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
When detecting on the corresponding configuration sentence modification control of the either objective configuration module that includes in the target configuration file The first user operation instruction when, by the either objective configuration module be shown as configuration sentence modification mode, for configure people Member modifies to configuration sentence included by the either objective configuration module.
4. according to the method described in claim 2, it is characterized in that, the method also includes:
When detecting on the corresponding configuration sentence modification control of the either objective configuration module that includes in the target configuration file Second user operational order, the corresponding configuration of the either objective configuration module is cancelled based on the second user operational order Sentence modifies control, and shape can not be modified by setting configuration sentence for the configuration sentence state of the either objective configuration module State.
5. method according to claim 1 or 4, which is characterized in that the method also includes:
Set the configuration module title of each target configuration module, and by the configuration module of each target configuration module Title is set as the index of the configuration module search of the target configuration file, to support configuration personnel to be based on any configuration module Title is searched for from the target configuration file obtains the corresponding target configuration module of any configuration module title.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
Configuration module catalogue is generated according to the configuration module title of each target configuration module and shows the configuration module Catalogue;
When detecting the user operation instruction of the configuration module of either objective configuration module in the configuration module catalogue nominally When, the position of the either objective configuration module is determined from the target configuration file and shows the either objective configuration Module.
7. method according to claim 1-6, which is characterized in that the acquisition configuration file includes:
Obtain the configuration file that configuration personnel write in real time;
Alternatively, obtaining configuration file from preset configuration document data bank.
8. a kind of configuration device of configuration file characterized by comprising
Acquiring unit, for obtaining configuration file, the configuration file includes a plurality of configuration sentence;
Module division unit, a plurality of configuration sentence in the configuration file for getting the acquiring unit are divided into Multiple configuration modules include at least one configuration sentence in any configuration module in the multiple configuration module;
Configuration status determination unit, for determining the configuration of the multiple configuration module divided by the module division unit Sentence state, the configuration sentence state include configuration sentence modifiable state and/or configuration sentence not modifiable state;
Control generation unit is modified, for setting the configuration sentence of the configuration module determined by the configuration status determination unit State is that the corresponding configuration sentence of each target configuration module of modifiable state modifies control, and the configuration sentence modifies control Enter configuration sentence modification mode for triggering target configuration module;
Display unit, the multiple configuration module and the modification control for being divided according to the module division unit are raw The corresponding configuration sentence modification control generation target configuration file of each target configuration module generated at unit, and by institute Target configuration file is stated to be shown by granularity of configuration module.
9. a kind of terminal device, which is characterized in that including display, processor and memory, the display, the processor It is connected with each other with the memory, wherein for the memory for storing computer program, the computer program includes program Instruction, the display and the processor are configured for calling described program instruction, execute such as any one of claim 1-7 The method.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence, the computer program include program instruction, and described program instruction executes the processor such as The described in any item methods of claim 1-7.
CN201811527504.3A 2018-12-13 2018-12-13 Configuration method and device of configuration file Active CN109766139B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811527504.3A CN109766139B (en) 2018-12-13 2018-12-13 Configuration method and device of configuration file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811527504.3A CN109766139B (en) 2018-12-13 2018-12-13 Configuration method and device of configuration file

Publications (2)

Publication Number Publication Date
CN109766139A true CN109766139A (en) 2019-05-17
CN109766139B CN109766139B (en) 2023-02-14

Family

ID=66451785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811527504.3A Active CN109766139B (en) 2018-12-13 2018-12-13 Configuration method and device of configuration file

Country Status (1)

Country Link
CN (1) CN109766139B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111949613A (en) * 2020-08-11 2020-11-17 深圳市前海手绘科技文化有限公司 Method for editing and saving JSON configuration file
CN112116908A (en) * 2020-11-18 2020-12-22 北京声智科技有限公司 Wake-up audio determining method, device, equipment and storage medium
WO2021051590A1 (en) * 2019-09-18 2021-03-25 平安科技(深圳)有限公司 Application environment file configuration method and apparatus, computer device, and storage medium
CN112650542A (en) * 2020-08-28 2021-04-13 成都格斗科技有限公司 Simple and general method for generating and managing configuration file under micro-service architecture

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6691138B1 (en) * 2000-06-21 2004-02-10 Bellsouth Intellectual Property Corporation Flexible configuration file manager
US20070283345A1 (en) * 2006-04-10 2007-12-06 Brother Kogyo Kabushiki Kaisha Storage Medium Storing Installation Package For Installing Application Program On Computer
CN101393517A (en) * 2007-09-20 2009-03-25 上海宝信软件股份有限公司 Method and apparatus for implementing collocation based on XML and control
US20100228920A1 (en) * 2009-03-04 2010-09-09 Canon Kabushiki Kaisha Parallel processing processor system
CN101977121A (en) * 2010-10-25 2011-02-16 中兴通讯股份有限公司 Configuration file processing method, device and system
CN103488632A (en) * 2012-06-11 2014-01-01 上海宝信软件股份有限公司 Universal dynamic adjustment method for multi-data-item display
US20140337753A1 (en) * 2013-05-07 2014-11-13 Brian McKellar System and method for editing the appearance of a user interface
CN104298686A (en) * 2013-07-18 2015-01-21 深圳市腾讯计算机系统有限公司 Method and device for modifying server configuration file
US9519463B1 (en) * 2012-11-15 2016-12-13 Advanced Testing Technologies Inc. Application for automatically generating graphical flowcharts based on configurable means
CN108415742A (en) * 2018-01-26 2018-08-17 上海电气分布式能源科技有限公司 Modular interface configuration method and device in distributed energy management system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6691138B1 (en) * 2000-06-21 2004-02-10 Bellsouth Intellectual Property Corporation Flexible configuration file manager
US20070283345A1 (en) * 2006-04-10 2007-12-06 Brother Kogyo Kabushiki Kaisha Storage Medium Storing Installation Package For Installing Application Program On Computer
CN101393517A (en) * 2007-09-20 2009-03-25 上海宝信软件股份有限公司 Method and apparatus for implementing collocation based on XML and control
US20100228920A1 (en) * 2009-03-04 2010-09-09 Canon Kabushiki Kaisha Parallel processing processor system
CN101977121A (en) * 2010-10-25 2011-02-16 中兴通讯股份有限公司 Configuration file processing method, device and system
CN103488632A (en) * 2012-06-11 2014-01-01 上海宝信软件股份有限公司 Universal dynamic adjustment method for multi-data-item display
US9519463B1 (en) * 2012-11-15 2016-12-13 Advanced Testing Technologies Inc. Application for automatically generating graphical flowcharts based on configurable means
US20140337753A1 (en) * 2013-05-07 2014-11-13 Brian McKellar System and method for editing the appearance of a user interface
CN104298686A (en) * 2013-07-18 2015-01-21 深圳市腾讯计算机系统有限公司 Method and device for modifying server configuration file
CN108415742A (en) * 2018-01-26 2018-08-17 上海电气分布式能源科技有限公司 Modular interface configuration method and device in distributed energy management system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021051590A1 (en) * 2019-09-18 2021-03-25 平安科技(深圳)有限公司 Application environment file configuration method and apparatus, computer device, and storage medium
CN111949613A (en) * 2020-08-11 2020-11-17 深圳市前海手绘科技文化有限公司 Method for editing and saving JSON configuration file
WO2022033130A1 (en) * 2020-08-11 2022-02-17 深圳市前海手绘科技文化有限公司 Method for editing and saving json configuration file
CN112650542A (en) * 2020-08-28 2021-04-13 成都格斗科技有限公司 Simple and general method for generating and managing configuration file under micro-service architecture
CN112116908A (en) * 2020-11-18 2020-12-22 北京声智科技有限公司 Wake-up audio determining method, device, equipment and storage medium
CN112116908B (en) * 2020-11-18 2021-02-23 北京声智科技有限公司 Wake-up audio determining method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN109766139B (en) 2023-02-14

Similar Documents

Publication Publication Date Title
CN109766139A (en) The configuration method and device of configuration file
US10489503B2 (en) Automated form layout based upon usage patterns
US9811233B2 (en) Building applications for configuring processes
CN109446218A (en) SQL statement generation method, device and computer readable storage medium
CA2939799C (en) Compound controls
US9448705B2 (en) Configuring graphical displays
CN106933889A (en) For regular collocation method, display methods and the client screened
CN109787957A (en) The configuration method and relevant apparatus of configuration file
CN107644286A (en) Workflow processing method and device
CN110851134A (en) Low-code page design device and page design method
CN108027721A (en) For configuring the technology of general program using control
US7340715B2 (en) Visual programming method and system thereof
CN108388623B (en) ER relationship generation method and device, computer equipment and storage medium
CN107562777A (en) Data processing method and its equipment
CN105446725A (en) Method and system for model driven development
CN103186632A (en) Method and device for customizing operation and maintenance form
WO2012063147A1 (en) Circuit visualization using flightlines
US20060236288A1 (en) Window operation interface for graphically revising electrical constraint set and method of using the same
US10078723B1 (en) Method and apparatus for design rules driven interactive violation display
Tran et al. Refactoring of Simulink diagrams via composition of transformation steps
CN113268227A (en) Zero-code visualization software development platform and development method
US8434051B2 (en) Schematic wire annotation tool
CN114185874A (en) Big data based modeling method and device, development framework and equipment
KR20180135654A (en) Intuitive method of making a program
CN105446788B (en) A kind of information processing method and electronic equipment

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
GR01 Patent grant
GR01 Patent grant