CN108776569B - Method and device for modifying compiling option control file - Google Patents

Method and device for modifying compiling option control file Download PDF

Info

Publication number
CN108776569B
CN108776569B CN201810357614.3A CN201810357614A CN108776569B CN 108776569 B CN108776569 B CN 108776569B CN 201810357614 A CN201810357614 A CN 201810357614A CN 108776569 B CN108776569 B CN 108776569B
Authority
CN
China
Prior art keywords
option control
compiling
control file
compiling option
modified
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810357614.3A
Other languages
Chinese (zh)
Other versions
CN108776569A (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

Images

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 the technical field of computers, and particularly relates to a method and a device for modifying a compiling option control file. The method comprises the following steps: loading at least two compiling option control files and displaying identifiers or names corresponding to the loaded compiling option control files; responding to the selection operation of a user, and selecting at least two compiling option control files needing to be modified according to identifiers or names corresponding to the displayed compiling option control files; responding to the modification operation of the user, and respectively carrying out corresponding modification on the selected compiling option control files; the modified compilation option control file is saved. The method can be used for modifying the compiling option control file in batch, can reduce the error rate, simultaneously saves a great amount of time and energy for a user, and can improve the efficiency.

Description

Method and device for modifying compiling option control file
Technical Field
The invention belongs to the technical field of computers, and particularly relates to a method and a device for modifying a compiling option control file.
Background
The current IVR voice system uses a program code shared by multiple sites and multiple services, but a separate compiling option is usually used for controlling each service, and the compiling option usually exists in a compiling option control file. Because each voice platform service is different, different compiling option control files are usually available.
If a new service is to be released or an old service is to be deleted, a compiling option corresponding to the new service function needs to be added to a compiling option control file of the corresponding voice platform, or a compiling option corresponding to the old service function needs to be deleted. When a new service needs to be released or an old service needs to be deleted on a plurality of voice platforms, a plurality of compiling option control files need to be compiled.
In the prior art, if the compiling option control file needs to be modified, all contents in each compiling option control file needing to be modified are copied and put into a text, and then the compiling option control file is modified in the text, which is very easy to make mistakes. Moreover, if a plurality of compiling option control files need to be modified, the contents of different compiling option control files need to be repeatedly copied into the text and modified for many times, which further increases the error rate, and also needs a large amount of manpower, consumes a large amount of time and energy, and the compiling efficiency is still low; in addition, if the modified compiling options are checked, all the compiling options need to be copied separately for search and check, and the compiling efficiency is further reduced.
Disclosure of Invention
The invention provides a method and a device for modifying a compiling option control file, which can be used for modifying the compiling option control file in batch, can reduce the error rate, save a great deal of time and energy for a user and improve the efficiency.
The invention provides the following technical scheme:
in one aspect, an embodiment of the present invention provides a method for modifying a compilation option control file, including the following steps:
loading at least two compiling option control files and displaying identifiers or names corresponding to the loaded compiling option control files;
responding to the selection operation of a user, and selecting at least two compiling option control files needing to be modified according to identifiers or names corresponding to the displayed compiling option control files;
responding to the modification operation of the user, and respectively carrying out corresponding modification on the selected compiling option control files;
the modified compilation option control file is saved.
On the other hand, an embodiment of the present invention further provides a device for modifying a compilation option control file, including:
the loading module is used for loading at least two compiling option control files and displaying identifiers or names corresponding to the loaded compiling option control files;
the selection module is used for responding to the selection operation of a user and selecting at least two compiling option control files needing to be modified according to the identifiers or names corresponding to the displayed compiling option control files;
the modification module is used for responding to modification operation of a user and correspondingly modifying the selected compiling option control file respectively;
and the storage module is used for storing the modified compiling option control file.
The modification method for the compiling option control file of the embodiment of the invention can modify the compiling option control files needing the same modification in batch; moreover, the content in each compiling option control file to be modified does not need to be copied out and put into the text for modification, so that the error rate is reduced; when a large amount of compiling option control files need to be processed, the demand for manpower is reduced, and the compiling efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings used in the description of the present invention or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive labor.
Fig. 1 is a flow chart of a modification method for a compilation option control file in a preferred embodiment of the invention.
Fig. 2 is a flow chart of a modification method of the compiling option control file in another preferred embodiment of the invention.
Fig. 3 is a block diagram of a modification apparatus for compiling option control files in a preferred embodiment of the invention.
Fig. 3 is a block diagram of a modification apparatus for compiling option control files in another preferred embodiment of the present invention.
Fig. 4 is a block diagram of a modification apparatus for a compilation option control file in accordance with still another preferred embodiment of the present invention.
Fig. 5 is a block diagram of a modification apparatus for compiling option control files in accordance with still another preferred embodiment of the present invention.
Fig. 6 is a block diagram of a modification apparatus for a compilation option control file in accordance with still another preferred embodiment of the present invention.
Fig. 7 is a block diagram of a modification apparatus for a compilation option control file in accordance with still another preferred embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The steps of the embodiments of the present invention illustrated in the flowchart of the figures may be performed in a computer system, such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
The terms "first" and "second" in the embodiments of the present invention are used to distinguish some features, which are set for convenience of understanding and are not limited in other aspects.
The method for modifying the compiling option control file as shown in fig. 1 comprises the following steps:
s101: and loading at least two compiling option control files and displaying identifiers or names corresponding to the loaded compiling option control files.
When the user needs to modify the compiling option control file, the compiling option control file which needs to be modified can be loaded, and the identifier or the name corresponding to the loaded compiling option control file is displayed on the display. Typically the name of the compilation option control file may correspond to the name of a platform or system.
S102: and responding to the selection operation of the user, and selecting at least two compiling option control files needing to be modified according to the identifiers or names corresponding to the displayed compiling option control files.
For a plurality of systems sharing a set of codes, different service functions can be embodied in a different platform, but most or part of the corresponding compiling option control files are the same. When the same modification is required (e.g., adding the same compilation option or deleting the same compilation option), the selection may be performed simultaneously.
S103: and responding to the modification operation of the user, and correspondingly modifying the selected compiling option control file respectively.
When the user selects a plurality of compiling option control files at the same time, the user only needs to operate once to realize the pairing
The selected multiple compiling options control files to be simultaneously modified in the same way. For example, some same compilation option may be added or deleted or the same modification may be made to some common compilation option.
S104: the modified compilation option control file is saved.
The modification method for the compiling option control file of the embodiment of the invention can modify the compiling option control files needing the same modification in batch; moreover, the content in each compiling option control file to be modified does not need to be copied out and put into the text for modification, so that the error rate is reduced; when a large amount of compiling option control files need to be processed, the demand for manpower is reduced, and the compiling efficiency is improved.
Based on the modification method for the compiling option control file shown in fig. 1, wherein the correspondingly modifying the selected compiling option control file includes adding a corresponding compiling option to the selected compiling option control file; the adding of the corresponding compilation option comprises the following steps:
s201: inputting a compiling option to be added;
s202: respectively determining the insertion positions in the selected compiling option control files;
s203: and respectively inserting the compiling options to be added into corresponding inserting positions in the selected compiling option control file with the determined inserting positions.
Inputting a compiling option which needs to be added, and inputting one or more compiling options. The determining of the insertion position in the selected compiling option control file may respectively determine an insertion flag of the insertion position in the selected compiling option control file, and the insertion flag may be a character of other compiling options before or after the insertion position in the compiling option control file. Of course, if the insertion position to be inserted is unique, the insertion flag is also unique in the corresponding compilation option control file.
For example: three compiling option control files of A, B and C are selected (the names of the three compiling option control files are assumed to be A, B and C respectively), and a compiling option A needs to be inserted into the three compiling option control files respectively; firstly, inputting a compiling option A; and respectively determining the insertion positions in the compiling option control files A, B and C as follows: the insertion position of the first compilation option control file is immediately after compilation option a1, the insertion position of the second compilation option control file is immediately after compilation option a2, and the insertion position of the third compilation option control file is immediately after compilation option A3. Namely, the insertion flag of the insertion position of the first compilation option control file is A1, the insertion flag of the insertion position of the second compilation option control file is A2, and the insertion flag of the insertion position of the third compilation option control file is A3. Of course a1, a2, A3 may be the same compilation option or different compilation options.
The inserting the compiling options to be added into the corresponding inserting positions in the selected compiling option control file with the determined inserting positions respectively may be: and sequentially inserting the compiling options to be added into corresponding inserting positions in the selected compiling option control file with the determined inserting positions according to the sequence of identifiers or names of the compiling option control files.
The specific step of inserting the compiling option may include:
step 1: traversing the identifier or the name of the selected compiling option control file according to the sequence of the identifier or the name of the compiling option control file, and judging whether the compiling option control file corresponding to the identifier or the name of the traversed compiling option control file determines the insertion position;
step 2: if the compiling option control file corresponding to the identifier or the name of the traversed compiling option control file determines the insertion position, inserting the inputted compiling option to be added into the corresponding insertion position in the compiling option control file;
and repeating the step 1 and the step 2 until the compiling options to be added are respectively inserted into the corresponding inserting positions in the selected compiling option control file of the determined inserting positions.
According to the method for modifying the compiling option control file, the compiling options to be added can be inserted into the selected compiling option control file with the determined insertion position, and the compiling options to be added can be added into the compiling option control file in batch.
Based on the modification method for the compiling option control file shown in fig. 1, wherein the correspondingly modifying the selected compiling option control file includes deleting the corresponding compiling option from the selected compiling option control file; the deleting the corresponding compilation option comprises the following steps:
s301: inputting a compiling option needing to be deleted;
s302: respectively searching the deletion positions of the compiling options needing to be deleted in the selected compiling option control file according to the compiling options needing to be deleted;
s303: and deleting the compiling options needing to be deleted from the corresponding deleting positions in the selected compiling option control file in which the deleting positions are found.
Inputting a compiling option which needs to be added, and inputting one or more compiling options. The searching for the deletion position of the compiling option to be deleted in the selected compiling option control file may respectively search for a deletion flag of the deletion position in the selected compiling option control file, where the deletion flag may be a character of another compiling option before and after the deletion position in the compiling option control file, or a character of the compiling option to be deleted.
For example: after three compiling option control files of A, B and C are selected, respectively deleting the compiling options B in the three compiling option control files; firstly, inputting a compiling option B; and determining deletion positions in the compiling option control files A, B and C respectively, wherein the deletion positions are the specific positions of the compiling option B in the compiling option control files A, B and C respectively.
The deleting the compiling options to be deleted from the corresponding deletion positions in the selected compiling option control file in which the deletion positions have been found may be:
the method comprises the following steps: traversing the identifier or the name of the selected compiling option control file according to the sequence of the identifier or the name of the compiling option control file, and judging whether the compiling option control file corresponding to the identifier or the name of the traversed compiling option control file has a deletion position;
step two: and if the compiling option control file corresponding to the identifier or the name of the traversed compiling option control file has a deletion position, deleting the input compiling option needing to be deleted from the corresponding deletion position in the compiling option control file.
And repeating the first step and the second step until the compiling option needing to be deleted is respectively deleted from the corresponding deleting position in the selected compiling option control file with the deleted position found.
The method for modifying the compiling option control file of the embodiment of the invention can delete the compiling options to be deleted from the selected compiling option control file with the determined deletion position, and can delete the compiling options to be deleted from the corresponding compiling option control file in batch.
Based on the modification method for the compilation option control file shown in fig. 1, wherein the saving the modified compilation option control file further comprises:
s401: checking whether the format of the modified compiling option control file conforms to a preset format or not;
s402: and if the format of the modified compiling option control file does not conform to the preset format, adjusting the format of the modified compiling option control file, and enabling the adjusted format of the modified compiling option control file to conform to the preset format.
The format of the compiling option control file comprises a dividing symbol between the newly added compiling option and other compiling options, a blank space in the newly added compiling option and the like, and also comprises a dividing symbol between the remaining compiling options after the compiling option is deleted.
In the method for modifying the compiling option control file according to the embodiment of the invention, the format of the modified compiling option control file can be adjusted to meet the corresponding requirements. The manual work is avoided carrying out the check one by one, the manpower of saving has also further improved work efficiency.
Based on the modification method for the compiling option control file shown in fig. 1, after the selected compiling option control file is modified correspondingly, the method further includes:
s501: comparing the modified compiling option control file with a compiling option control file before modification corresponding to the compiling option control file;
s502: screening out the difference between the modified compiling option control file and the compiling option control file before modification;
s503: displaying the difference between the modified compilation option control file and the compilation option control file before modification.
The method for modifying the compiling option control file provided by the embodiment of the invention can screen and display the difference between the modified compiling option control file and the compiling option control file before modification, and facilitates the verification and confirmation of a compiler.
The method for modifying a compilation option control file based on fig. 1, wherein the displaying that the modified compilation option control file is different from the compilation option control file before modification, includes:
marking and displaying the difference in the modified compiling option control file by a symbol directly;
and/or the presence of a gas in the gas,
the differences are marked with symbols and displayed separately.
By using the method, the compiler can more conveniently and efficiently check and confirm.
Based on the modification method for the compiling option control file shown in fig. 1, it may further include:
selecting a compiling option control file to be queried;
inputting a compiling option to be searched;
searching the compiling option needing to be searched in the compiling option control file needing to be searched;
if the compiling option needing to be searched exists in the compiling option control file needing to be queried, marking the compiling option needing to be searched in the compiling option control file needing to be queried;
displaying the marked compiling options needing to be searched.
By using the method, the user can perform query operation more conveniently.
The method for modifying the compiling option control file as shown in fig. 2 comprises the following steps:
s601: a user determines a compiling option control file to be loaded, loads a batch compiling option control file according to the operation of the user, and displays a name corresponding to the loaded compiling option control file;
s602: responding to the selection operation of a user, and selecting the compiling option control files needing to be added with the same compiling option A according to the names corresponding to the displayed compiling option control files, wherein the names of the compiling option control files are A, B, C, D and the like;
s603: inputting a compiling option A to be added;
s604: respectively determining the insertion positions in the selected compiling option control files;
s605: traversing the names of the selected compiling option control files according to the sequence of the names of the compiling option control files, and judging whether the compiling option control files corresponding to the names of the traversed compiling option control files determine the insertion positions;
s606: if the compiling option control file corresponding to the name of the traversed compiling option control file determines the insertion position, inserting the input compiling option A needing to be added into the corresponding insertion position in the compiling option control file;
s607: repeating the step S605 and the step S606 until the compiling option A is respectively inserted into the corresponding inserting positions in the selected compiling option control file with the determined inserting positions;
s608: storing the compiling option control files A, B, C, D and the like added with the compiling option A;
s609: responding to the selection operation of a user, and selecting the compiling option control file needing to delete the same compiling option B according to the corresponding name of the displayed compiling option control file, wherein the names of the compiling option control file are respectively a platform 1, a platform 2, a platform 3, a platform 4 and the like;
s610: inputting a compiling option B needing to be deleted;
s611: respectively searching the deletion positions of the compiling options needing to be deleted in the selected compiling option control file according to the compiling options B needing to be deleted;
s612: traversing the names of the selected compiling option control files according to the sequence of the names of the compiling option control files, and judging whether the compiling option control files corresponding to the traversed names of the compiling option control files have deletion positions;
s613: if the compiling option control file corresponding to the name of the traversed compiling option control file has a deletion position, deleting the input compiling option B needing to be deleted from the corresponding deletion position in the compiling option control file;
s614: repeating S612 and S613 until the compiling option B needing to be deleted is respectively deleted from the corresponding deletion position in the selected compiling option control file in which the deletion position is found;
s615: the compiling option control file platforms 1, 2, 3, 4 and the like of the deleted compiling option B are saved;
s616: respectively comparing the modified compiling option control files A, B, C, D and the like, the platform 1, the platform 2, the platform 3, the platform 4 and the like with the corresponding compiling option control files before modification;
s617: screening out the differences between the modified compiling option control file and the corresponding compiling option control file before modification;
s618: and respectively displaying the differences between the modified compiling option control file and the corresponding compiling option control file before modification.
The apparatus for modifying the compiling option control file as shown in fig. 3 comprises:
the loading module is used for loading at least two compiling option control files and displaying identifiers or names corresponding to the loaded compiling option control files;
the selection module is used for responding to the selection operation of a user and selecting at least two compiling option control files needing to be modified according to the identifiers or names corresponding to the displayed compiling option control files;
the modification module is used for responding to modification operation of a user and correspondingly modifying the selected compiling option control file respectively;
and the storage module is used for storing the modified compiling option control file.
The modification device for the compiling option control file of the embodiment of the invention can be used for realizing the method shown in figure 1, and can modify the compiling option control files needing the same modification in batch; moreover, the content in each compiling option control file to be modified does not need to be copied out and put into the text for modification, so that the error rate is reduced; when a large amount of compiling option control files need to be processed, the demand for manpower is reduced, and the compiling efficiency is improved.
Based on the modification apparatus for the compiling option control file shown in fig. 3, as shown in fig. 4, the modification module includes an adding unit, and the adding unit is configured to add corresponding compiling options to the selected compiling option control file respectively; and the adding unit includes:
the first input subunit is used for inputting compiling options to be added;
a determining subunit, configured to determine insertion positions in the selected compiling option control file respectively;
and the adding subunit is used for respectively inserting the compiling options to be added into the corresponding inserting positions in the selected compiling option control file with the determined inserting positions.
Based on the modification apparatus for the compiling option control file shown in fig. 3, as shown in fig. 5, the modification module includes a deletion unit, where the deletion unit is configured to delete the corresponding compiling options for the selected compiling option control file; and the deletion unit includes:
the second input subunit is used for inputting compiling options needing to be deleted;
the searching subunit is used for respectively searching the deletion positions of the compiling options to be deleted in the selected compiling option control file according to the compiling options to be deleted;
and the deleting subunit is used for deleting the compiling options to be deleted from the corresponding deleting positions in the selected compiling option control file in which the deleting positions are found respectively.
Based on the modification apparatus for the compiling option control file shown in fig. 3, as shown in fig. 6, it further includes:
the checking module is used for checking whether the format of the modified compiling option control file conforms to the preset format before the modified compiling option control file is stored;
and the adjusting module is used for adjusting the format of the modified compiling option control file and enabling the adjusted format of the modified compiling option control file to accord with the preset format if the format of the modified compiling option control file does not accord with the preset format before the modified compiling option control file is stored.
Based on the modification apparatus for the compiling option control file shown in fig. 3, as shown in fig. 7, the apparatus further includes:
the comparison module is used for comparing the modified compiling option control file with the compiling option control file before modification corresponding to the compiling option control file after the selected compiling option control file is correspondingly modified;
the screening module is used for screening out the difference between the modified compiling option control file and the compiling option control file before modification after the selected compiling option control file is respectively and correspondingly modified;
and the display module is used for displaying the difference between the modified compiling option control file and the compiling option control file before modification after the selected compiling option control file is respectively and correspondingly modified.
Based on the modification apparatus for the compiling option control file shown in fig. 7, the display module includes:
the first display unit is used for directly marking and displaying the difference in the modified compiling option control file by a symbol;
and the second display unit is used for marking the difference with symbols and displaying the difference separately.
The modification device for the compiling option control file is based on the device shown in fig. 3, wherein:
the selection module is also used for selecting a compiling option control file needing to be inquired;
and further comprising:
the input module is used for inputting compiling options to be searched;
the searching module is used for searching the compiling option needing to be searched in the compiling option control file needing to be inquired;
the marking module is used for marking the compiling option needing to be searched in the compiling option control file needing to be inquired if the compiling option needing to be searched exists in the compiling option control file needing to be inquired;
the display module is further configured to display the marked compiling options to be searched.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a terminal device (which may be a mobile phone, a personal computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Those skilled in the art will appreciate that the modules in the devices in the embodiments may be distributed in the devices in the embodiments according to the description of the embodiments, and may be correspondingly changed in one or more devices different from the embodiments. The modules of the above embodiments may be integrated into one body, or may be separately deployed; the sub-modules can be combined into one module, or can be further split into a plurality of sub-modules.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and improvements can be made without departing from the principle of the present invention, and such modifications and improvements should also be considered within the scope of the present invention.

Claims (10)

1. A method for modifying a compilation option control file, comprising the steps of:
loading at least two compiling option control files and displaying identifiers or names corresponding to the loaded compiling option control files;
responding to the selection operation of a user, and selecting at least two compiling option control files needing to be modified according to identifiers or names corresponding to the displayed compiling option control files;
responding to the modification operation of the user, and respectively carrying out corresponding modification on the selected compiling option control files; adding corresponding compiling options to the selected compiling option control files respectively; deleting corresponding compiling options from the selected compiling option control file;
the modified compilation option control file is saved.
2. The method for modifying a compilation option control file according to claim 1, wherein the selected compilation option control file is modified correspondingly, and the adding of the corresponding compilation option comprises the following steps:
inputting a compiling option to be added;
respectively determining the insertion positions in the selected compiling option control files;
and respectively inserting the compiling options to be added into corresponding inserting positions in the selected compiling option control file with the determined inserting positions.
3. The method for modifying a compilation option control file according to claim 1, wherein the selected compilation option control file is modified correspondingly, and the deleting of the corresponding compilation option comprises the following steps:
inputting a compiling option needing to be deleted;
respectively searching the deletion positions of the compiling options needing to be deleted in the selected compiling option control file according to the compiling options needing to be deleted;
and deleting the compiling options needing to be deleted from the corresponding deleting positions in the selected compiling option control file in which the deleting positions are found.
4. The method for modifying a compilation option control file according to claim 1, wherein saving the modified compilation option control file further comprises:
checking whether the format of the modified compiling option control file conforms to a preset format or not;
and if the format of the modified compiling option control file does not conform to the preset format, adjusting the format of the modified compiling option control file, and enabling the adjusted format of the modified compiling option control file to conform to the preset format.
5. The method for modifying a compilation option control file according to claim 1, wherein after the corresponding modification is performed on the selected compilation option control file, the method further comprises:
comparing the modified compiling option control file with a compiling option control file before modification corresponding to the compiling option control file;
screening out the difference between the modified compiling option control file and the compiling option control file before modification;
displaying the difference between the modified compilation option control file and the compilation option control file before modification.
6. An apparatus for modifying a compilation option control file, comprising:
the loading module is used for loading at least two compiling option control files and displaying identifiers or names corresponding to the loaded compiling option control files;
the selection module is used for responding to the selection operation of a user and selecting at least two compiling option control files needing to be modified according to the identifiers or names corresponding to the displayed compiling option control files;
the modification module comprises an adding unit and a deleting unit;
the modification module is used for responding to modification operation of a user and correspondingly modifying the selected compiling option control file respectively;
and the storage module is used for storing the modified compiling option control file.
7. The apparatus for modifying a compilation option control file as claimed in claim 6, wherein the adding unit is configured to add corresponding compilation options to the selected compilation option control files; and the adding unit includes:
the first input subunit is used for inputting compiling options to be added;
a determining subunit, configured to determine insertion positions in the selected compiling option control file respectively;
and the adding subunit is used for respectively inserting the compiling options to be added into the corresponding inserting positions in the selected compiling option control file with the determined inserting positions.
8. The apparatus for modifying a compilation option control file according to claim 6,
the deleting unit is used for deleting corresponding compiling options from the selected compiling option control files respectively; and the deletion unit includes:
the second input subunit is used for inputting compiling options needing to be deleted;
the searching subunit is used for respectively searching the deletion positions of the compiling options to be deleted in the selected compiling option control file according to the compiling options to be deleted;
and the deleting subunit is used for deleting the compiling options to be deleted from the corresponding deleting positions in the selected compiling option control file in which the deleting positions are found respectively.
9. The apparatus for modifying a compilation option control file as recited in claim 6, further comprising:
the checking module is used for checking whether the format of the modified compiling option control file conforms to the preset format before the modified compiling option control file is stored;
and the adjusting module is used for adjusting the format of the modified compiling option control file and enabling the adjusted format of the modified compiling option control file to accord with the preset format if the format of the modified compiling option control file does not accord with the preset format before the modified compiling option control file is stored.
10. The apparatus for modifying a compilation option control file as recited in claim 6, further comprising:
the comparison module is used for comparing the modified compiling option control file with the compiling option control file before modification corresponding to the compiling option control file after the selected compiling option control file is correspondingly modified;
the screening module is used for screening out the difference between the modified compiling option control file and the compiling option control file before modification after the selected compiling option control file is respectively and correspondingly modified;
and the display module is used for displaying the difference between the modified compiling option control file and the compiling option control file before modification after the selected compiling option control file is respectively and correspondingly modified.
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 CN108776569A (en) 2018-11-09
CN108776569B true 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)

Families Citing this family (1)

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

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1862492A (en) * 2005-05-12 2006-11-15 施乐公司 Method for creating unique identification for copies of executable code and management thereof
CN105068813A (en) * 2015-08-19 2015-11-18 北京奇虎科技有限公司 Method and device for providing android package (APK) modification service

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7213201B2 (en) * 2003-03-03 2007-05-01 International Business Machines Corporation Meta editor for structured documents
KR100905494B1 (en) * 2007-09-07 2009-07-01 박수민 File Management System and Computer Readable Record Medium for the Same
CN103973905B (en) * 2013-02-01 2017-03-15 李建尧 The collocation method and device of IVR
CN104794131B (en) * 2014-01-21 2019-07-05 腾讯科技(深圳)有限公司 A kind of the batch edit methods and device of file
CN104391845B (en) * 2014-04-02 2018-10-12 贵阳朗玛信息技术股份有限公司 A kind of method and device generating database script
CN105094939B (en) * 2015-07-16 2018-05-01 南京富士通南大软件技术有限公司 A kind of software source file Static Analysis Method realized based on the automatic techniques of compiling of Makefile
CN105022844B (en) * 2015-08-25 2019-03-01 魅族科技(中国)有限公司 A kind of method and terminal of files in batch processing
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
CN106933967B (en) * 2017-02-09 2022-12-20 宇龙计算机通信科技(深圳)有限公司 Batch modification method and device for file contents
CN106951248B (en) * 2017-03-16 2020-09-18 网易(杭州)网络有限公司 Method and device for adding codes, readable storage medium and computing equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1862492A (en) * 2005-05-12 2006-11-15 施乐公司 Method for creating unique identification for copies of executable code and management thereof
CN105068813A (en) * 2015-08-19 2015-11-18 北京奇虎科技有限公司 Method and device for providing android package (APK) modification service

Also Published As

Publication number Publication date
CN108776569A (en) 2018-11-09

Similar Documents

Publication Publication Date Title
CN109510824B (en) Interface message checking method and device
CN102279749A (en) Method and equipment for merging codes
CN106933967B (en) Batch modification method and device for file contents
CN105335187A (en) Application processing method and apparatus
CN109726020B (en) System docking method, system docking device, storage medium and apparatus
CN1886976B (en) Method and apparatus for performing actions on a wireless device using action lists and versioning
CN102831104A (en) Method, device and terminal for adjusting terminal word
CN108776569B (en) Method and device for modifying compiling option control file
CN105138383A (en) Application display method and device
CN104219356A (en) Method and device for displaying and searching contact man information and mobile terminal
CN1787560A (en) Mobile terminal having user assignable hot keys and method for using same
CN115617780A (en) Data import method, device, equipment and storage medium
CA2487687C (en) Message file editing process
CN113077139A (en) Process configuration method, device, equipment and computer readable storage medium
CN107239303B (en) Application program update package generation method and device and application program update method and device
US20200293490A1 (en) File storing method, terminal, and computer-readable storage medium
CN112579141A (en) Firmware updating method, device, equipment and storage medium of embedded system
CN111932198A (en) File auditing method and related product
CN105867922A (en) Differential upgrade method and system
CN105511787A (en) Input method, electronic equipment and input system
CN111585810B (en) Operator parameter file customization method, customization device and readable storage medium
US8374593B2 (en) Method of providing mobile application
CN108762736B (en) Project branch management method, device and equipment and computer readable storage medium
CN105187633A (en) Mobile phone number display method and device
EP2434414A1 (en) Data combination system and data combination 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