CN108776569A - A kind of amending method and device controlling compiling option file - Google Patents

A kind of amending method and device controlling compiling option file Download PDF

Info

Publication number
CN108776569A
CN108776569A CN201810357614.3A CN201810357614A CN108776569A CN 108776569 A CN108776569 A CN 108776569A CN 201810357614 A CN201810357614 A CN 201810357614A CN 108776569 A CN108776569 A CN 108776569A
Authority
CN
China
Prior art keywords
compiling option
compiling
control file
file
option
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
CN201810357614.3A
Other languages
Chinese (zh)
Other versions
CN108776569B (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.)
Guiyang Longmaster Information and Technology Co ltd
Original Assignee
Guiyang Longmaster Information and Technology 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 Guiyang Longmaster Information and Technology Co ltd filed Critical Guiyang Longmaster Information and Technology Co ltd
Priority to CN201810357614.3A priority Critical patent/CN108776569B/en
Publication of CN108776569A publication Critical patent/CN108776569A/en
Application granted granted Critical
Publication of CN108776569B publication Critical patent/CN108776569B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Abstract

The invention belongs to field of computer technology, and in particular to a kind of amending method and device controlling compiling option file.This approach includes the following steps:At least two compiling option of load controls file, and shows the corresponding identifier of compiling option control file loaded or title;The selection operation for responding user selects at least two to need the compiling option changed control file according to the corresponding identifier of compiling option control file or title having been displayed;The compiling option control file selected is changed in the modification operation for responding user accordingly respectively;Preserve the compiling option control file changed.This method can be used for batch and modify to compiling option control file, can reduce error rate, while user being made to save a large amount of time energy, can also improve just with efficiency.

Description

A kind of amending method and device controlling compiling option file
Technical field
The invention belongs to field of computer technology, and in particular to a kind of amending method and dress controlling compiling option file It sets.
Background technology
Current IVR voice systems are to share a program code using more site multi-services, still, for each business It typically uses individually compiling option to be controlled, compiling option is typically present in compiling option control file.Due to Each voice platform business is different, it will usually have different compiling option control files.
If issue new business or delete old business, it is necessary in the compiling option control of corresponding voice platform Compiling option corresponding with the new business function is added on file processed, or deletes compiling corresponding with the old business function Option.It needs when issuing new business on multiple voice platforms or deleting old business, it is necessary to compile multiple compiling options Control file.
In the prior art, if desired modification compiling option controls file, typically each compiling option for needing to change Content in control file, which all copies out, to be put into text, is then repaiied in the text to compiling option control file Change, such case is very easy to error.Moreover, when if desired changing multiple compiling option control files, it is necessary to copy repeatedly It in the content to text of different compiling option control files, and repeatedly modifies, this further increases error rates, but also need A large amount of manpower is wanted, takes a substantial amount of time energy, and it is still relatively low to compile efficiency;If in addition, to modified compiling option It is audited, it is also desirable to individually copy all compiling options and out scan for checking, further reduce compiling efficiency.
Invention content
Solution above-mentioned technical problem, the present invention provide the amending method and device for controlling compiling option file, the party Method can be used for batch and modify to compiling option control file, can reduce error rate, while it is a large amount of so that user is saved Time energy can also improve just with efficiency.
The present invention provides the following technical solutions:
On the one hand, a kind of amending method that file is controlled compiling option is provided in the embodiment of the present invention comprising following Step:
At least two compiling option of load controls file, and shows the corresponding mark of compiling option control file loaded Symbol or title;
The selection operation for responding user controls the corresponding identifier of file or title according to the compiling option having been displayed, Selection at least two needs the compiling option changed control file;
The compiling option control file selected is changed in the modification operation for responding user accordingly respectively;
Preserve the compiling option control file changed.
On the other hand, a kind of modification device controlling compiling option file is also provided in the embodiment of the present invention comprising:
Load-on module controls file for loading at least two compiling options, and shows the compiling option control loaded The corresponding identifier of file or title;
Selecting module, the selection operation for responding user, according to the corresponding mark of compiling option control file having been displayed Know symbol or title, selects at least two to need the compiling option changed control file;
Modified module, the modification for responding user operate, and phase is carried out respectively to the compiling option control file selected The modification answered;
Preserving module controls file for preserving the compiling option changed.
The embodiment of the present invention to compiling option control file amending method, can change in bulk need to carry out it is identical The compiling option of modification controls file;And without needing the content in the compiling option control file changed all to copy each It is out put into text and modifies, reduce error rate;When needing a large amount of processing compiling options to control file, reduce pair The demand of manpower improves compiling efficiency.
Description of the drawings
It, below will be to the present invention or the prior art in order to illustrate more clearly of the present invention or technical solution in the prior art Attached drawing needed in description is briefly described, it should be apparent that, the accompanying drawings in the following description is only the present invention's Some embodiments for those of ordinary skill in the art without having to pay creative labor, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is the flow chart of the amending method for controlling compiling option file in one embodiment of the present invention.
Fig. 2 is the flow chart of the amending method for controlling compiling option file in another preferred embodiment of the present invention.
Fig. 3 is the structure chart of the modification device for controlling compiling option file in one embodiment of the present invention.
Fig. 3 is the structure chart of the modification device for controlling compiling option file in another preferred embodiment of the present invention.
Fig. 4 is the structure chart of the modification device for controlling compiling option file in another preferred embodiment of the present invention.
Fig. 5 is the structure chart of the modification device for controlling compiling option file in another preferred embodiment of the present invention.
Fig. 6 is the structure chart of the modification device for controlling compiling option file in another preferred embodiment of the present invention.
Fig. 7 is the structure chart of the modification device for controlling compiling option file in another preferred embodiment of the present invention.
Specific implementation mode
Below in conjunction with the attached drawing in the present invention, technical scheme of the present invention is clearly and completely described, it is clear that Described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, originally The every other embodiment that field those of ordinary skill is obtained without making creative work, belongs to the present invention The range of protection.
Step shown in the flowchart of the accompanying drawings of the embodiment of the present invention can be in such as a group of computer-executable instructions It is executed in computer system.Also, although logical order is shown in flow charts, and it in some cases, can be with not The sequence being same as herein executes shown or described step.
" first ", " second " in the embodiment of the present invention, only discriminatively call certain features, this be in order to Facilitate and understand setting, has no otherwise restriction.
The amending method for controlling compiling option file as shown in Figure 1 comprising following steps:
S101:At least two compiling option of load controls file, and shows that the compiling option control file loaded corresponds to Identifier or title.
When user needs to change compiling option control file, the required compiling option control file changed can be loaded, And the corresponding identifier of compiling option control file loaded or title are shown over the display.Usually compiling option control The title of file processed can correspond to the title of a platform or system.
S102:The selection operation for responding user, according to the compiling option corresponding identifier of control file having been displayed or Title selects at least two to need the compiling option changed control file.
Multiple systems for sharing a set of code can embody different business functions, still in obstructed platform Usually most of or part is identical in its corresponding compiling option control file.When needing similarly to be changed (such as:Increase identical compiling option or delete identical compiling option), selection can be carried out at the same time.
S103:The compiling option control file selected is changed in the modification operation for responding user accordingly respectively.
When the multiple compiling options of user's simultaneous selection control file, user need to only operate once, so that it may with realization pair
The multiple compiling options control file selected is carried out at the same time identical modification.For example, it is identical to increase some Compiling option or delete some identical compiling option or identical modification carried out to some shared compiling option.
S104:Preserve the compiling option control file changed.
The embodiment of the present invention to compiling option control file amending method, can change in bulk need to carry out it is identical The compiling option of modification controls file;And without needing the content in the compiling option control file changed all to copy each It is out put into text and modifies, reduce error rate;When needing a large amount of processing compiling options to control file, reduce pair The demand of manpower improves compiling efficiency.
Based on the amending method shown in FIG. 1 for controlling compiling option file, wherein the compiling option to having selected Control file is changed accordingly respectively, includes being added corresponding volume respectively to the compiling option control file selected Translate option;The corresponding compiling option of addition includes the following steps:
S201:Input needs compiling option to be added;
S202:The insertion position in the compiling option control file selected is determined respectively;
S203:Need compiling option to be added is inserted respectively into the compiling choosing selected for having determined that insertion position Correspondence insertion position in item control file.
The input needs compiling option to be added, can input one or more compiling option.It is described to determine respectively Insertion position in the compiling option control file selected, can determine respectively in the compiling option control file selected The insertion mark of insertion position, the insertion mark can be front or rear other for compiling the insertion position in option control file Compile the character of option.Certainly, the insertion position if necessary to be inserted into is unique, then the insertion mark is in corresponding compiling It is also unique that option, which controls in file,.
Such as:Select first, second, the third three compiling option control files (assuming that this three compiling options control files Title be respectively first, second, the third), option A will be compiled by, which needing, is inserted respectively into this three compiling options control files;Need elder generation Input compiling option A;Determine that the insertion position in first, second, the third three compiling option control files is respectively again:First compiles option The insertion position for controlling file is close to behind compiling option A1, and the insertion position that second compiles option control file is close to volume It translates behind option A2, the insertion position of the third compiling option control file is close to behind compiling option A3.That is first compiling choosing The insertion mark of the insertion position of item control file is A1, and second compiles the insertion flag bit of the insertion position of option control file A2, the insertion flag bit A3 of the insertion position of the third compiling option control file.Certain A1, A2, A3 can be identical compiling choosings Item or different compiling options.
Described be inserted respectively into need compiling option to be added has determined that the compiling of insertion position selected is selected Correspondence insertion position in item control file, Ke Yiwei:By the need compiling option to be added according to compiling option control text The identifier of part or the sequence of title are successively inserted into the compiling option control file selected for having determined that insertion position Corresponding insertion position.
Specifically being inserted into the step of compiling option may include:
Step 1:The identifier of file or the sequence of title are controlled according to compiling option, traverses the compiling option control selected The identifier or title of file processed, and judge identifier or the corresponding compiling choosing of title of traversed compiling option control file Whether item control file has determined that insertion position;
Step 2:If the identifier or the corresponding compiling option control text of title of the compiling option control file traversed Part has determined that insertion position, then pair being inserted into the need inputted compiling option to be added in compiling option control file Answer insertion position;
Step 1, step 2 are repeated, insertion position is had determined that until the need compiling option to be added to be inserted respectively into Selected compiling option control file in correspondence insertion position.
The amending method for controlling compiling option file of the embodiment of the present invention, can be to having determined that the choosing of insertion position The compiling option control file selected, which is inserted into, needs compiling option to be added, and can need compiling option progress to be added in batches It is added in compiling option control file.
Based on the amending method shown in FIG. 1 for controlling compiling option file, wherein the compiling option to having selected Control file is changed accordingly respectively, includes carrying out deleting corresponding volume respectively to the compiling option control file selected Translate option;The corresponding compiling option of deletion includes the following steps:
S301:Input needs the compiling option deleted;
S302:According to the compiling option for needing to delete, search respectively in the compiling option control file selected The delete position of the compiling option for needing to delete;
S303:Need the compiling option deleted respectively from the compiling option selected for having found delete position by described It is deleted in correspondence delete position in control file.
The input needs compiling option to be added, can input one or more compiling option.It is described to search respectively The delete position for the compiling option that the needs in the compiling option control file selected are deleted, can search and select respectively The deleted marker of delete position in the compiling option control file selected, the deleted marker can be in compiling option control file Delete position other forward and backward compiling options character or the character of compiling option deleted of the needs.
Such as:First, second, the third three compiling option control files have been selected, this three compiling options are controlled into files In compiling option B delete respectively;Compiling option B need to first be inputted;Determine first, second, the third three compiling option control texts respectively again Delete position in part, the delete position are respectively the tool for compiling option B in first, second, the third three compiling option control files Body position.
It is described to need the compiling option deleted respectively from the compiling option selected for having found delete position by described It is deleted in correspondence delete position in control file, Ke Yiwei:
Step 1:The identifier of file or the sequence of title are controlled according to compiling option, traverses the compiling option selected The identifier or title of file are controlled, and judges identifier or the corresponding compiling of title of traversed compiling option control file Option controls file and whether there is delete position;
Step 2:If the identifier or the corresponding compiling option control text of title of the compiling option control file traversed There are delete positions for part, then the compiling option that the needs inputted are deleted is controlled corresponding in file from the compiling option deletes It is deleted in position.
It repeats Step 1: step 2, until needing the compiling option deleted respectively from having found delete position by described Selected compiling option control file in correspondence delete position in delete.
The amending method for controlling compiling option file of the embodiment of the present invention, can be to having determined that the choosing of delete position The compiling option control file selected, which is deleted, needs the compiling option deleted, and can will need the compiling option that delete in bulk from It is deleted in corresponding compiling option control file.
Based on the amending method shown in FIG. 1 for controlling compiling option file, wherein described to preserve the compiling choosing changed Further include before item control file:
S401:Check whether the format of the compiling option changed control file meets pre-set format;
S402:If the format for the compiling option control file changed does not meet pre-set format, to having repaiied The format of the compiling option control file changed is adjusted, and makes the format of the compiling option control file changed after adjustment Meet pre-set format.
The format of the compiling option control file includes between newly added compiling option and other compiling options Space etc. in segmentation symbol and newly added compiling option also includes after deleting compiling option, remaining compiling option it Between segmentation symbol.
In the amending method for controlling compiling option file of the embodiment of the present invention, compiling option control that can be to having changed The format of file processed is adjusted, and complies with corresponding requirement.It avoids and is manually verified one by one, the manpower of saving, Also working efficiency is further improved.
Based on the amending method shown in FIG. 1 for controlling compiling option file, wherein the compiling option to having selected After control file is changed accordingly respectively, further include:
S501:Before the compiling option control file changed and modification corresponding with compiling option control file Compiling option control file be compared;
S502:Filter out the compiling option control file changed and the compiling option control file before the modification Difference;
S503:Show the compiling option control file changed and the compiling option control file before the modification Difference.
The amending method for controlling compiling option file of the embodiment of the present invention can screen and show described changed Compiling option control file and the modification before compiling option control file difference, facilitate translator and compiler to carry out core Look into confirmation.
Based on the amending method shown in FIG. 1 for controlling compiling option file, wherein described to show described changed The difference of option control file and the compiling option control file before the modification is compiled, including:
It directly with sign flag and is shown in the compiling option control file that the difference has been changed described Come;
And/or
It shows difference sign flag and individually.
Using this method, the translator and compiler that can be more convenient for efficiently carry out verification confirmation.
Based on the amending method shown in FIG. 1 for controlling compiling option file, can also include:
Selection needs the compiling option inquired control file;
Input the compiling option required to look up;
It needs to search the compiling option required to look up in the compiling option inquired control file described;
If described need there is the compiling option required to look up in the compiling option inquired control file, in institute State the compiling option for needing to be required to look up described in label in the compiling option inquired control file;
Show the marked compiling option required to look up.
Using this method, the user that can be more convenient for carries out inquiry operation.
The amending method for controlling compiling option file as shown in Figure 2 comprising following steps:
S601:User determines the compiling option control file for needing to load, and depending on the user's operation, loads batch compilation Option controls file, and shows the corresponding title of compiling option control file loaded;
S602:The selection operation for responding user, according to the corresponding title of compiling option control file having been displayed, selection needs The compiling option control file of identical compiling option A is added, title is respectively first, second, third, fourth etc.;
S603:Input needs compiling option A to be added;
S604:The insertion position in the compiling option control file selected is determined respectively;
S605:The sequence that the title of file is controlled according to compiling option traverses the compiling option control file selected Title, and judge whether the corresponding compiling option control file of title of traversed compiling option control file has determined that insertion Position;
S606:If the corresponding compiling option control file of the title of the compiling option control file traversed has determined that slotting Enter position, then the need inputted compiling option A to be added is inserted into the corresponding insertion position in compiling option control file It sets;
S607:Step S605, step S606 are repeated, is inserted respectively into until option A will be compiled and has determined that insertion position Correspondence insertion position in the compiling option control file selected;
S608:Preserve the compiling option control file first, second for having added compiling option A, third, fourth etc.;
S609:The selection operation for responding user, according to the corresponding title of compiling option control file having been displayed, selection needs The compiling option control file of identical compiling option B is deleted, title is respectively platform 1, platform 2, platform 3, platform 4 etc.;
S610:Input needs the compiling option B deleted;
S611:The compiling option B deleted as needed is searched described in the compiling option control file selected respectively Need the delete position of compiling option deleted;
S612:The sequence that the title of file is controlled according to compiling option traverses the compiling option control file selected Title, and judge that the corresponding compiling option control file of title of traversed compiling option control file whether there is and delete position It sets;
S613:It is deleted if the corresponding compiling option control file of title of the compiling option control file traversed exists Position then deletes the compiling option B that the needs inputted are deleted from the correspondence delete position that the compiling option controls in file It removes;
S614:S612, S613 are repeated, until the compiling option B that will need to delete is respectively from having found delete position It is deleted in correspondence delete position in the compiling option control file selected;
S615:Preserve the compiling option control document platform 1 for having deleted compiling option B, platform 2, platform 3, platform 4 etc.;
S616:By the compiling option changed control file first, second, third, fourth etc. and platform 1, platform 2, platform 3, put down Platform 4 etc. is compared with the compiling option control file before corresponding modification respectively;
S617:The compiling option control file changed is filtered out respectively controls text with the compiling option before corresponding modification The difference of part;
S618:Show that the compiling option control file changed controls text with the compiling option before corresponding modification respectively The difference of part.
The modification device for controlling compiling option file as shown in Figure 3 comprising:
Load-on module controls file for loading at least two compiling options, and shows the compiling option control loaded The corresponding identifier of file or title;
Selecting module, the selection operation for responding user, according to the corresponding mark of compiling option control file having been displayed Know symbol or title, selects at least two to need the compiling option changed control file;
Modified module, the modification for responding user operate, and phase is carried out respectively to the compiling option control file selected The modification answered;
Preserving module controls file for preserving the compiling option changed.
The modification device for controlling compiling option file of the embodiment of the present invention, can be used for realizing method shown in FIG. 1, The compiling option control file for needing to carry out equivalent modifications can be changed in bulk;And without needing the compiling changed to select each Content in item control file, which all copies out to be put into text, modifies, and reduces error rate;When a large amount of processing of needs When compiling option control file, the demand to manpower is reduced, compiling efficiency is improved.
Based on the modification device shown in Fig. 3 for controlling compiling option file, as shown in figure 4, the modified module includes Adding device, the adding device are used to be added corresponding compiling choosing respectively to the compiling option control file selected ?;And the adding device includes:
First input subelement, compiling option to be added is needed for inputting;
Determination subelement, for determining the insertion position in the compiling option control file selected respectively;
Subelement is added, for need compiling option to be added to be inserted respectively into the choosing for having determined that insertion position Correspondence insertion position in the compiling option control file selected.
Based on the modification device shown in Fig. 3 for controlling compiling option file, as shown in figure 5, the modified module includes Deleting unit, the deleting unit are used to carry out deleting corresponding compiling choosing respectively to the compiling option control file selected ?;And the deleting unit includes:
Second input subelement, for inputting the compiling option for needing to delete;
Subelement is searched, for according to the compiling option for needing to delete, searching the compiling option control selected respectively The delete position for the compiling option that the needs in file processed are deleted;
Subelement is deleted, for needing the compiling option deleted respectively from the selection for having found delete position by described Compiling option control file in correspondence delete position in delete.
Based on the modification device shown in Fig. 3 for controlling compiling option file, as shown in fig. 6, it further includes:
Module is checked, for before preserving the compiling option changed control file, checking the compiling option control changed Whether the format of file processed meets pre-set format;
Module is adjusted, for preserving before the compiling option changed controls file, if the compiling option control changed The format of file processed does not meet pre-set format, then the format for controlling the compiling option changed file is adjusted, And the format of the compiling option control file changed after adjustment is made to meet pre-set format.
Based on the modification device shown in Fig. 3 for controlling compiling option file, as shown in fig. 7, it further includes:
Comparing module, for it is described to selected compiling option control file changed accordingly respectively after, will Compiling option before the compiling option control file changed and modification corresponding with compiling option control file controls File is compared;
Screening module, for it is described to selected compiling option control file changed accordingly respectively after, sieve Select the difference of the compiling option control file changed and the compiling option control file before the modification;
Display module, for it is described to selected compiling option control file changed accordingly respectively after, show The difference of the compiling option control file changed and the compiling option control file before the modification is shown.
Based on it is shown in Fig. 7 to compiling option control file modification device, the display module, including:
First display unit, for directly using the difference in the compiling option control file changed Sign flag is simultaneously shown;
Second display unit, for showing difference sign flag and individually.
Based on the modification device shown in Fig. 3 for controlling compiling option file, wherein:
The selecting module is additionally operable to selection and needs the compiling option inquired control file;
And further include:
Input module, for inputting the compiling option required to look up;
Searching module, for needing to search the compiling required to look up choosing in the compiling option inquired control file described ?;
Mark module, if needing there is the volume required to look up in the compiling option inquired control file for described Option is translated, then the compiling option required to look up described in label in the compiling option control file that the needs are inquired;
The display module is additionally operable to show the marked compiling option required to look up.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by Software adds the mode of required general hardware platform to realize, naturally it is also possible to which by hardware, but the former is more in many cases Good embodiment.Based on this understanding, technical scheme of the present invention substantially in other words contributes to the prior art Part can be expressed in the form of software products, which is stored in a storage medium, if including Dry instruction is used so that terminal device (can be mobile phone, personal computer, server or the network equipment etc.) executes the present invention Method described in each embodiment.
It will be appreciated by those skilled in the art that the module in device in embodiment can describe be divided according to embodiment It is distributed in the device of embodiment, respective change can also be carried out and be located in one or more devices different from the present embodiment.On Stating the module of embodiment can be integrated in one, and can also be deployed separately;A module is can be merged into, can also further be torn open It is divided into multiple submodule.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered Depending on protection scope of the present invention.

Claims (10)

1. a kind of amending method controlling compiling option file, which is characterized in that include the following steps:
At least two compiling options of load control files, and show the compiling option corresponding identifier of control file loaded or Person's title;
The selection operation for responding user, according to the corresponding identifier of compiling option control file or title having been displayed, selection At least two need the compiling option changed control file;
The compiling option control file selected is changed in the modification operation for responding user accordingly respectively;
Preserve the compiling option control file changed.
2. the amending method according to claim 1 for controlling compiling option file, which is characterized in that described to having selected Compiling option control file changed accordingly respectively, include to selected compiling option control file add respectively Add corresponding compiling option;The corresponding compiling option of addition includes the following steps:
Input needs compiling option to be added;
The insertion position in the compiling option control file selected is determined respectively;
Need compiling option to be added is inserted respectively into and has determined that the compiling option of insertion position selected controls text Correspondence insertion position in part.
3. the amending method according to claim 1 for controlling compiling option file, which is characterized in that described to having selected Compiling option control file changed accordingly respectively, include to selected compiling option control file delete respectively Except corresponding compiling option;The corresponding compiling option of deletion includes the following steps:
Input needs the compiling option deleted;
According to the compiling option for needing to delete, the needs searched respectively in the compiling option control file selected are deleted The delete position of the compiling option removed;
The compiling option deleted is needed to control file from the compiling option selected for having found delete position respectively by described In correspondence delete position in delete.
4. the amending method according to claim 1 for controlling compiling option file, which is characterized in that the preservation has been repaiied Further include before the compiling option control file changed:
Check whether the format of the compiling option changed control file meets pre-set format;
If the format for the compiling option control file changed does not meet pre-set format, the compiling changed is selected The format of item control file is adjusted, and so that the format of the compiling option control file changed after adjustment is met and set in advance The format set.
5. the amending method according to claim 1 for controlling compiling option file, which is characterized in that described to having selected Compiling option control file changed accordingly respectively after, further include:
Compiling before the compiling option control file changed and modification corresponding with compiling option control file is selected Item control file is compared;
Filter out the compiling option control file changed it is different with the compiling option control file before the modification it Place;
Show the compiling option control file changed it is different with the compiling option control file before the modification it Place.
6. a kind of modification device controlling compiling option file, which is characterized in that including:
Load-on module controls file for loading at least two compiling options, and shows the compiling option control file loaded Corresponding identifier or title;
Selecting module, the selection operation for responding user, according to the corresponding identifier of compiling option control file having been displayed Or title, select at least two to need the compiling option changed control file;
Modified module, the modification for responding user operate, and are carried out respectively accordingly to the compiling option control file selected Modification;
Preserving module controls file for preserving the compiling option changed.
7. the modification device according to claim 6 for controlling compiling option file, which is characterized in that the modified module Including adding device, the adding device is used to be added corresponding compiling respectively to the compiling option control file selected Option;And the adding device includes:
First input subelement, compiling option to be added is needed for inputting;
Determination subelement, for determining the insertion position in the compiling option control file selected respectively;
Add subelement, for by it is described need to compiling option to be added be inserted respectively into and have determined that having selected for insertion position Compile the correspondence insertion position in option control file.
8. the modification device according to claim 6 for controlling compiling option file, which is characterized in that
The modified module includes deleting unit, the deleting unit be used for selected compiling option control file respectively into Row deletes corresponding compiling option;And the deleting unit includes:
Second input subelement, for inputting the compiling option for needing to delete;
Subelement is searched, for according to the compiling option for needing to delete, searching the compiling option control text selected respectively The delete position for the compiling option that the needs in part are deleted;
Subelement is deleted, for needing the compiling option deleted respectively from the volume selected for having found delete position by described It translates and is deleted in the correspondence delete position in option control file.
9. the modification device according to claim 6 for controlling compiling option file, which is characterized in that further include:
Module is checked, for before preserving the compiling option changed control file, checking the compiling option control text changed Whether the format of part meets pre-set format;
Module is adjusted, for before preserving the compiling option changed control file, if the compiling option control changed is literary The format of part does not meet pre-set format, then the format for controlling the compiling option changed file is adjusted, and is made The format of the compiling option control file changed after adjustment meets pre-set format.
10. the modification device according to claim 6 for controlling compiling option file, which is characterized in that further include:
Comparing module, for it is described the compiling option control file selected is changed accordingly respectively after, will be described Compiling option before the compiling option control file changed and modification corresponding with compiling option control file controls file It is compared;
Screening module, for it is described to selected compiling option control file changed accordingly respectively after, filter out The difference of the compiling option control file changed and the compiling option control file before the modification;
Display module, for it is described to selected compiling option control file changed accordingly respectively after, show The difference of the compiling option control file changed and the compiling option control file before the modification.
CN201810357614.3A 2018-04-20 2018-04-20 Method and device for modifying compiling option control file Active CN108776569B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810357614.3A CN108776569B (en) 2018-04-20 2018-04-20 Method and device for modifying compiling option control file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810357614.3A CN108776569B (en) 2018-04-20 2018-04-20 Method and device for modifying compiling option control file

Publications (2)

Publication Number Publication Date
CN108776569A true CN108776569A (en) 2018-11-09
CN108776569B CN108776569B (en) 2021-10-15

Family

ID=64026468

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810357614.3A Active CN108776569B (en) 2018-04-20 2018-04-20 Method and device for modifying compiling option control file

Country Status (1)

Country Link
CN (1) CN108776569B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113312317A (en) * 2021-05-18 2021-08-27 珠海金山办公软件有限公司 File processing method and device, electronic equipment and storage medium

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040177321A1 (en) * 2003-03-03 2004-09-09 International Business Machines Corporation Meta editor for structured documents
CN1862492A (en) * 2005-05-12 2006-11-15 施乐公司 Method for creating unique identification for copies of executable code and management thereof
CN101842772A (en) * 2007-09-07 2010-09-22 朴琇民 File management system and computer readable record medium for the same
CN103973905A (en) * 2013-02-01 2014-08-06 中兴通讯股份有限公司 IVR (interactive voice response) configuration method and device
CN104391845A (en) * 2014-04-02 2015-03-04 贵阳朗玛信息技术股份有限公司 Method and device for generating database scripts
CN104794131A (en) * 2014-01-21 2015-07-22 腾讯科技(深圳)有限公司 File bulk-editing method and device
CN105022844A (en) * 2015-08-25 2015-11-04 魅族科技(中国)有限公司 Method for batch processing of files as well as terminal
CN105068813A (en) * 2015-08-19 2015-11-18 北京奇虎科技有限公司 Method and device for providing android package (APK) modification service
CN105094939A (en) * 2015-07-16 2015-11-25 南京富士通南大软件技术有限公司 Method for realizing static analysis of software source files based on Makefile automatic compilation technology
CN106021359A (en) * 2016-05-10 2016-10-12 北京数码大方科技股份有限公司 CAD file modification method and device
CN106202490A (en) * 2016-07-19 2016-12-07 浪潮电子信息产业股份有限公司 A kind of SolrCloud configuration file amending method, Apparatus and system
CN106648660A (en) * 2016-12-22 2017-05-10 深圳怡化电脑股份有限公司 Method and device for service development
CN106775896A (en) * 2017-01-10 2017-05-31 环球智达科技(北京)有限公司 A kind of method for changing configuration file
CN106933967A (en) * 2017-02-09 2017-07-07 宇龙计算机通信科技(深圳)有限公司 The batch modification method and batch modification device of file content
CN106951248A (en) * 2017-03-16 2017-07-14 网易(杭州)网络有限公司 Add method, device and the readable storage medium storing program for executing of code

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040177321A1 (en) * 2003-03-03 2004-09-09 International Business Machines Corporation Meta editor for structured documents
CN1862492A (en) * 2005-05-12 2006-11-15 施乐公司 Method for creating unique identification for copies of executable code and management thereof
CN101842772A (en) * 2007-09-07 2010-09-22 朴琇民 File management system and computer readable record medium for the same
CN103973905A (en) * 2013-02-01 2014-08-06 中兴通讯股份有限公司 IVR (interactive voice response) configuration method and device
CN104794131A (en) * 2014-01-21 2015-07-22 腾讯科技(深圳)有限公司 File bulk-editing method and device
CN104391845A (en) * 2014-04-02 2015-03-04 贵阳朗玛信息技术股份有限公司 Method and device for generating database scripts
CN105094939A (en) * 2015-07-16 2015-11-25 南京富士通南大软件技术有限公司 Method for realizing static analysis of software source files based on Makefile automatic compilation technology
CN105068813A (en) * 2015-08-19 2015-11-18 北京奇虎科技有限公司 Method and device for providing android package (APK) modification service
CN105022844A (en) * 2015-08-25 2015-11-04 魅族科技(中国)有限公司 Method for batch processing of files as well as terminal
CN106021359A (en) * 2016-05-10 2016-10-12 北京数码大方科技股份有限公司 CAD file modification method and device
CN106202490A (en) * 2016-07-19 2016-12-07 浪潮电子信息产业股份有限公司 A kind of SolrCloud configuration file amending method, Apparatus and system
CN106648660A (en) * 2016-12-22 2017-05-10 深圳怡化电脑股份有限公司 Method and device for service development
CN106775896A (en) * 2017-01-10 2017-05-31 环球智达科技(北京)有限公司 A kind of method for changing configuration file
CN106933967A (en) * 2017-02-09 2017-07-07 宇龙计算机通信科技(深圳)有限公司 The batch modification method and batch modification device of file content
CN106951248A (en) * 2017-03-16 2017-07-14 网易(杭州)网络有限公司 Add method, device and the readable storage medium storing program for executing of code

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113312317A (en) * 2021-05-18 2021-08-27 珠海金山办公软件有限公司 File processing method and device, electronic equipment and storage medium
CN113312317B (en) * 2021-05-18 2023-12-26 珠海金山办公软件有限公司 File processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN108776569B (en) 2021-10-15

Similar Documents

Publication Publication Date Title
CN103092621B (en) The method and device that a kind of chart generates
CN101788906B (en) Resource management method and system thereof
CN1240966A (en) Method for dynamically displaying controls in toolbar display based on control usage
US9606968B2 (en) Footnote formatting and layout of multi-section documents
CN109726020B (en) System docking method, system docking device, storage medium and apparatus
CN112748844B (en) Message processing method and device and electronic equipment
CN108762654A (en) Method, apparatus, terminal and the computer readable storage medium of text editing
CN108776569A (en) A kind of amending method and device controlling compiling option file
CN103259913A (en) Multimedia message editing method and device for mobile terminal and mobile terminal
US8280850B2 (en) Method for producing a size-optimized delta-file
CN102831267A (en) Method for automatically cataloging construction drawings based on CAD (computer-aided design) software
CN100362512C (en) Portable terminal equipment and method for browsing E-mail
CN105511787A (en) Input method, electronic equipment and input system
CN103257854A (en) Multi-desktop switching based dockbar management method and equipment
CN111078337B (en) Style adjustment method, system and computer readable storage medium
CN110362319A (en) Application management method and device, computer installation and computer readable storage medium
CN109144503B (en) Method, device and equipment for storing data through Redox and readable storage medium
US20040103190A1 (en) Apparatus, system and method for supporting computer users
US20030145051A1 (en) Method and system for selecting multiple sets of data in an application
CN112051945A (en) Method and related device for arranging multiple icons
CN106681744A (en) Virtual machine upgrading method and device
JP6724605B2 (en) Image processing apparatus, image processing method, and image processing program
JP3395347B2 (en) Document processing device
CN104615416A (en) Picture copying and processing method and device
CN105117420A (en) Method and apparatus for updating word stock of input method

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
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20181109

Assignee: Guiyang Longma Video Technology Co.,Ltd.

Assignor: GUIYANG LONGMASTER INFORMATION & TECHNOLOGY Co.,Ltd.

Contract record no.: X2022520000003

Denomination of invention: A modification method and device for compiling option control file

Granted publication date: 20211015

License type: Common License

Record date: 20220302

EE01 Entry into force of recordation of patent licensing contract