CN113760237A - Compiling address updating method and device, terminal equipment and readable storage medium - Google Patents

Compiling address updating method and device, terminal equipment and readable storage medium Download PDF

Info

Publication number
CN113760237A
CN113760237A CN202111234430.6A CN202111234430A CN113760237A CN 113760237 A CN113760237 A CN 113760237A CN 202111234430 A CN202111234430 A CN 202111234430A CN 113760237 A CN113760237 A CN 113760237A
Authority
CN
China
Prior art keywords
text
updated
updating
address
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111234430.6A
Other languages
Chinese (zh)
Inventor
刘均
钟宇恒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch 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 Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN202111234430.6A priority Critical patent/CN113760237A/en
Publication of CN113760237A publication Critical patent/CN113760237A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The application is applicable to the technical field of data updating, and provides a compiling address updating method, a compiling address updating device, terminal equipment and a readable storage medium, wherein the method comprises the following steps: the method comprises the steps of determining a target folder, traversing the target folder, determining all texts to be updated in the target folder, acquiring an original compiling address and a new compiling address input by a user, updating the original compiling address in the texts to be updated into the new compiling address, automatically updating the compiling addresses of all the texts to be updated in the target folder at one time, avoiding the situations of missing update or wrong update, and improving the updating efficiency and accuracy of the compiling addresses.

Description

Compiling address updating method and device, terminal equipment and readable storage medium
Technical Field
The present application belongs to the technical field of data updating, and in particular, to an updating method and apparatus for a compiled address, a terminal device, and a readable storage medium.
Background
During the course of a project development, hundreds or thousands of project files are typically generated, each having a compiled address for the project file.
The existing method for updating the compilation address of the engineering file generally has the conditions of complex operation, large engineering quantity and possible update error or missing update.
Disclosure of Invention
The embodiment of the application provides a compiling address updating method, a compiling address updating device, terminal equipment and a readable storage medium, and can solve the problems that a related updating method is complex in operation, large in engineering quantity and prone to error updating or missing updating.
In a first aspect, an embodiment of the present application provides a method for updating a compiled address, including:
determining a target folder;
traversing the target folder, and determining all texts to be updated in the target folder;
acquiring an original compiling address and a new compiling address input by a user;
and updating the original compiling address in the text to be updated into the new compiling address.
In one embodiment, the traversing the target folder and determining all texts to be updated in the target folder includes:
traversing the target folder;
determining a storage path of each text to be updated in the target folder;
adding the storage path of each text to be updated into a path set;
correspondingly, the updating the original compiling address in the text to be updated to the new compiling address includes:
searching each text to be updated according to the path set;
and updating the original compiling address in the text to be updated into the new compiling address.
In one embodiment, before said traversing said target folder and determining all texts to be updated in said target folder, further comprises:
acquiring a target text type;
correspondingly, after searching each text to be updated according to the path set, the method includes:
judging whether the text type of the text to be updated is the target text type;
if yes, determining the text to be updated as a target update text;
correspondingly, the updating the original compiling address in the text to be updated to the new compiling address includes:
and updating the original compiling address in the target updating text into the new compiling address.
In one embodiment, the method further comprises:
and when detecting that all the texts to be updated are completely updated, generating and displaying an update completion notification.
In one embodiment, the traversing the target folder and determining all texts to be updated in the target folder includes:
traversing all files in the target folder;
acquiring the file attribute of the file;
and if the file is an engineering text, determining the engineering text as the text to be updated.
In a second aspect, an embodiment of the present application provides an apparatus for updating a compiled address, including:
the data acquisition module is used for determining a target folder;
the searching module is used for traversing the target folder and determining all texts to be updated in the target folder;
the compiling address obtaining module is used for obtaining an original compiling address and a new compiling address input by a user;
and the compiling address updating module is used for updating the original compiling address in the text to be updated into the new compiling address.
In one embodiment, the lookup module includes:
the first traversal unit is used for traversing the target folder;
the path determining unit is used for determining a storage path of each text to be updated in the target folder;
the data adding unit is used for adding each storage path of the text to be updated into a path set;
correspondingly, the compiled address update module includes:
the searching unit is used for searching each text to be updated according to the path set;
and the compiling address updating unit is used for updating the original compiling address in the text to be updated into the new compiling address.
In one embodiment, the apparatus further comprises:
the type acquisition unit is used for acquiring a target text type;
correspondingly, the compiled address updating module further includes:
the judging unit is used for judging whether the text type of the text to be updated is the target text type;
the target determining unit is used for determining the text to be updated as a target updating text if the text type of the text to be updated is the target text type;
correspondingly, the compiled address updating unit includes:
and the compiling address updating subunit is used for updating the original compiling address in the target updating text into the new compiling address.
In one embodiment, the apparatus further comprises:
and the generating module is used for generating and displaying an update completion notification when detecting that all the texts to be updated are completely updated.
In one embodiment, the lookup module includes:
the second traversal unit is used for traversing all files in the target folder;
an attribute obtaining unit, configured to obtain a file attribute of the file;
and the text determining unit is used for determining the engineering text as the text to be updated if the file is the engineering text.
In a third aspect, an embodiment of the present application provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method for updating a compiled address according to any one of the above first aspects when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, where a computer program is stored, and when executed by a processor, the computer program implements the method for updating a compiled address according to any one of the first aspect.
In a fifth aspect, an embodiment of the present application provides a computer program product, which, when running on a terminal device, causes the terminal device to execute the method for updating a compiled address according to any one of the above first aspects.
Compared with the prior art, the embodiment of the application has the advantages that: the method comprises the steps of determining a target folder, traversing the target folder, determining all texts to be updated in the target folder, acquiring an original compiling address and a new compiling address input by a user, updating the original compiling address in the texts to be updated into the new compiling address, automatically updating the compiling addresses of all the texts to be updated in the target folder at one time, avoiding the situations of missing update or wrong update, and improving the updating efficiency and accuracy of the compiling addresses.
It is understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description of the first aspect, and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method for updating a compile address according to an embodiment of the present disclosure;
fig. 2 is a flowchart illustrating a step S102 of a method for updating a compile address according to a second embodiment of the present application;
fig. 3 is a schematic structural diagram of an apparatus for updating a compile address according to a third embodiment of the present application;
fig. 4 is a schematic structural diagram of a terminal device according to a fourth embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
The method for updating the compiled address provided by the embodiment of the application can be applied to terminal devices such as a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, a notebook computer, a super-mobile personal computer (UMPC), a netbook, and a Personal Digital Assistant (PDA), and the embodiment of the application does not limit the specific type of the terminal device.
Fig. 1 shows a schematic flow chart of an update method of a compiled address provided by the present application, which may be applied to the above-mentioned vehicle-mounted device by way of example and not limitation.
S101, determining a target folder;
specifically, the target folders in which all texts to be updated that need to execute the compiling address updating operation are located are obtained.
S102, traversing the target folder, and determining all texts to be updated in the target folder;
specifically, the target folder is traversed, and all files meeting preset conditions under the target folder are determined to serve as the text to be updated. The preset conditions can be specifically set according to actual conditions.
In the present embodiment, the preset condition includes a preset type of file. For example, the preset condition is a file of an engineering text type.
S103, acquiring an original compiling address and a new compiling address input by a user;
specifically, an original compiling address of each text to be updated, which is input by a user and needs to execute compiling address updating operation, and a new compiling address corresponding to each original compiling address are obtained. The original compiling address of the text to be updated is obtained to filter the corresponding text, so that the compiling address of the text is updated to be a new compiling address from the original compiling address.
S104, updating the original compiling address in the text to be updated into the new compiling address.
Specifically, the original compiling address of the text to be updated is obtained and updated to the corresponding new compiling address.
According to the method and the device, the target folder is determined, the target folder is traversed, all the texts to be updated in the target folder are determined, the original compiling address and the new compiling address input by a user are obtained, the original compiling address in the texts to be updated is updated to the new compiling address, the compiling addresses of all the texts to be updated in the target folder are automatically updated at one time, the situations of missing updating or updating errors are avoided, and the updating efficiency and the accuracy of the compiling addresses are improved.
Example two
The present embodiment is further described in the first embodiment, and reference may be specifically made to the related description of the first embodiment where the same or similar to the first embodiment, and details are not described herein again. As shown in fig. 2, the traversing the target folder and determining all texts to be updated in the target folder in this embodiment includes:
s1021, traversing the target folder;
s1022, determining a storage path of each text to be updated in the target folder;
and S1023, adding each storage path of the text to be updated into a path set.
Specifically, a target folder where the text to be updated is located is traversed, each text meeting preset conditions in the target folder is determined as the text to be updated, a storage path of each text to be updated is determined, and the storage path of each text to be updated is added into a path set. The path set is used for storing all storage paths of the text to be updated.
Correspondingly, the updating the original compiling address in the text to be updated to the new compiling address includes:
searching each text to be updated according to the path set;
and updating the original compiling address in the text to be updated into the new compiling address.
Specifically, each text to be updated is found according to each storage path in the path set, and each original compiling address is updated to a new compiling address which is input by a user and corresponds to the original compiling address.
In the embodiment, the storage path of each text to be updated in the target folder is determined by traversing the target folder, and the storage path of each text to be updated is added into the path set, so that all the texts to be updated in the target folder can be quickly detected through the path set, the condition of update omission can be avoided, and the precision of compiling address updating operation is improved.
In one embodiment, before said traversing said target folder and determining all texts to be updated in said target folder, further comprises:
and acquiring a target text type.
Specifically, the type of text that needs to perform the compiling address updating operation is acquired as the target text type.
Correspondingly, after searching each text to be updated according to the path set, the method includes:
judging whether the text type of the text to be updated is the target text type;
if yes, determining the text to be updated as a target update text;
specifically, whether the text type of the text to be updated is the same as the target text type or not is detected and judged, and when the text type of the text to be updated is detected to be the same as the target text type, the text to be updated is used as the target updated text.
Correspondingly, the updating the original compiling address in the text to be updated to the new compiling address includes:
and updating the original compiling address in the target updating text into the new compiling address.
Specifically, the original compiling address of all the target updated texts is updated to the new compiling address corresponding to the original compiling address and input by the user.
In this embodiment, the compiled address of the same text type can be updated at once.
In one embodiment, the method further comprises:
and when detecting that all the texts to be updated are completely updated, generating and displaying an update completion notification.
Specifically, the compiling address updating operation state of each text to be updated is detected in real time, and when all the texts to be updated are detected to execute the compiling address updating operation, a corresponding updating completion notification is generated and displayed through the display device.
In one embodiment, the traversing the target folder and determining all texts to be updated in the target folder includes:
traversing all files in the target folder;
acquiring the file attribute of the file;
and if the file is an engineering text, determining the engineering text as the text to be updated.
Specifically, all files in the target folder are traversed, the file attribute of each file is obtained, and when the target file is detected to be a project text, the project text is determined to be a text to be updated.
In this embodiment, by determining the attributes of the files, the files of the non-engineering texts can be eliminated, so as to screen out the engineering texts for which the compiling address update is desired.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
EXAMPLE III
Fig. 3 shows a block diagram of a device for updating a compiled address according to an embodiment of the present application, which corresponds to the method for updating a compiled address described in the foregoing embodiment.
Referring to fig. 3, the apparatus 100 for updating compiled addresses includes:
a data acquisition module 101, configured to determine a target folder;
the searching module 102 is configured to traverse the target folder and determine all texts to be updated in the target folder;
a compiling address obtaining module 103, configured to obtain an original compiling address and a new compiling address input by a user;
a compiling address updating module 104, configured to update the original compiling address in the text to be updated to the new compiling address.
In one embodiment, the lookup module includes:
the first traversal unit is used for traversing the target folder;
the path determining unit is used for determining a storage path of each text to be updated in the target folder;
the data adding unit is used for adding each storage path of the text to be updated into a path set;
correspondingly, the compiled address update module includes:
the searching unit is used for searching each text to be updated according to the path set;
and the compiling address updating unit is used for updating the original compiling address in the text to be updated into the new compiling address.
In one embodiment, the apparatus further comprises:
the type acquisition unit is used for acquiring a target text type;
correspondingly, the compiled address updating module further includes:
the judging unit is used for judging whether the text type of the text to be updated is the target text type;
the target determining unit is used for determining the text to be updated as a target updating text if the text type of the text to be updated is the target text type;
correspondingly, the compiled address updating unit includes:
and the compiling address updating subunit is used for updating the original compiling address in the target updating text into the new compiling address.
In one embodiment, the apparatus further comprises:
and the generating module is used for generating and displaying an update completion notification when detecting that all the texts to be updated are completely updated.
In one embodiment, the lookup module includes:
the second traversal unit is used for traversing all files in the target folder;
an attribute obtaining unit, configured to obtain a file attribute of the file;
and the text determining unit is used for determining the engineering text as the text to be updated if the file is the engineering text.
According to the method and the device, the target folder is determined, the target folder is traversed, all the texts to be updated in the target folder are determined, the original compiling address and the new compiling address input by a user are obtained, the original compiling address in the texts to be updated is updated to the new compiling address, the compiling addresses of all the texts to be updated in the target folder are automatically updated at one time, the situations of missing updating or updating errors are avoided, and the updating efficiency and the accuracy of the compiling addresses are improved.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
Example four
Fig. 4 is a schematic structural diagram of the terminal device provided in this embodiment. As shown in fig. 4, the terminal device 4 of this embodiment includes: at least one processor 40 (only one shown in fig. 4), a memory 41, and a computer program 42 stored in the memory 41 and executable on the at least one processor 40, wherein the processor 40 executes the computer program 42 to implement the steps in any of the above-mentioned compiling address updating method embodiments.
The terminal device 4 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 40, a memory 41. Those skilled in the art will appreciate that fig. 4 is merely an example of the terminal device 4, and does not constitute a limitation of the terminal device 4, and may include more or less components than those shown, or combine some components, or different components, such as an input-output device, a network access device, and the like.
The Processor 40 may be a Central Processing Unit (CPU), and the Processor 40 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may in some embodiments be an internal storage unit of the terminal device 4, such as a hard disk or a memory of the terminal device 4. In other embodiments, the memory 41 may also be an external storage device of the terminal device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital Card (SD), a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the terminal device 4. The memory 41 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of the computer program. The memory 41 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
An embodiment of the present application further provides a terminal device, where the terminal device includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, the processor implementing the steps of any of the various method embodiments described above when executing the computer program.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the above-mentioned method embodiments.
The embodiments of the present application provide a computer program product, which when running on a mobile terminal, enables the mobile terminal to implement the steps in the above method embodiments when executed.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A compiled address updating method, comprising:
determining a target folder;
traversing the target folder, and determining all texts to be updated in the target folder;
acquiring an original compiling address and a new compiling address input by a user;
and updating the original compiling address in the text to be updated into the new compiling address.
2. The method for updating compiled address of claim 1, wherein said traversing said target folder and determining all texts to be updated in said target folder comprises:
traversing the target folder;
determining a storage path of each text to be updated in the target folder;
adding the storage path of each text to be updated into a path set;
correspondingly, the updating the original compiling address in the text to be updated to the new compiling address includes:
searching each text to be updated according to the path set;
and updating the original compiling address in the text to be updated into the new compiling address.
3. The method for updating compiled addresses of claim 2, wherein before said traversing said target folder and determining all text to be updated in said target folder, further comprising:
acquiring a target text type;
correspondingly, after searching each text to be updated according to the path set, the method includes:
judging whether the text type of the text to be updated is the target text type;
if yes, determining the text to be updated as a target update text;
correspondingly, the updating the original compiling address in the text to be updated to the new compiling address includes:
and updating the original compiling address in the target updating text into the new compiling address.
4. The method for updating compiled address of claim 1, further comprising:
and when detecting that all the texts to be updated are completely updated, generating and displaying an update completion notification.
5. The method for updating compiled address of claim 1, wherein said traversing said target folder and determining all texts to be updated in said target folder comprises:
traversing all files in the target folder;
acquiring the file attribute of the file;
and if the file is an engineering text, determining the engineering text as the text to be updated.
6. An apparatus for updating a compiled address, comprising:
the data acquisition module is used for determining a target folder;
the searching module is used for traversing the target folder and determining all texts to be updated in the target folder;
the compiling address obtaining module is used for obtaining an original compiling address and a new compiling address input by a user;
and the compiling address updating module is used for updating the original compiling address in the text to be updated into the new compiling address.
7. The apparatus for updating compiled address of claim 6, wherein said lookup module comprises:
the first traversal unit is used for traversing the target folder;
the path determining unit is used for determining a storage path of each text to be updated in the target folder;
the data adding unit is used for adding each storage path of the text to be updated into a path set;
correspondingly, the compiled address update module includes:
the searching unit is used for searching each text to be updated according to the path set;
and the compiling address updating unit is used for updating the original compiling address in the text to be updated into the new compiling address.
8. The apparatus for updating compiled address of claim 7, wherein said apparatus further comprises:
the type acquisition unit is used for acquiring a target text type;
correspondingly, the compiled address updating module further includes:
the judging unit is used for judging whether the text type of the text to be updated is the target text type;
the target determining unit is used for determining the text to be updated as a target updating text if the text type of the text to be updated is the target text type;
correspondingly, the compiled address updating unit includes:
and the compiling address updating subunit is used for updating the original compiling address in the target updating text into the new compiling address.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 5.
CN202111234430.6A 2021-10-22 2021-10-22 Compiling address updating method and device, terminal equipment and readable storage medium Pending CN113760237A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111234430.6A CN113760237A (en) 2021-10-22 2021-10-22 Compiling address updating method and device, terminal equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111234430.6A CN113760237A (en) 2021-10-22 2021-10-22 Compiling address updating method and device, terminal equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN113760237A true CN113760237A (en) 2021-12-07

Family

ID=78784311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111234430.6A Pending CN113760237A (en) 2021-10-22 2021-10-22 Compiling address updating method and device, terminal equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113760237A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114564226A (en) * 2022-02-25 2022-05-31 深圳市云视机器人有限公司 Code deployment method and device, electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110032375A (en) * 2019-04-16 2019-07-19 山东浪潮通软信息科技有限公司 Support the multi-page method and device of increment publication in a kind of front end
CN110515683A (en) * 2019-07-15 2019-11-29 平安普惠企业管理有限公司 A kind of method, apparatus and storage medium of front end Vue page visual configuration
CN110780882A (en) * 2019-11-08 2020-02-11 网易(杭州)网络有限公司 Code file processing method, device and system, electronic equipment and storage medium
CN112612448A (en) * 2020-12-16 2021-04-06 平安普惠企业管理有限公司 Front-end internationalized multi-page packaging method and device and computer equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110032375A (en) * 2019-04-16 2019-07-19 山东浪潮通软信息科技有限公司 Support the multi-page method and device of increment publication in a kind of front end
CN110515683A (en) * 2019-07-15 2019-11-29 平安普惠企业管理有限公司 A kind of method, apparatus and storage medium of front end Vue page visual configuration
CN110780882A (en) * 2019-11-08 2020-02-11 网易(杭州)网络有限公司 Code file processing method, device and system, electronic equipment and storage medium
CN112612448A (en) * 2020-12-16 2021-04-06 平安普惠企业管理有限公司 Front-end internationalized multi-page packaging method and device and computer equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
94COOL: "利用Nuget打包添加tools下intsall.ps1【powershell脚本】修改.csproj文件", 《HTTPS://WWW.CNBLOGS.COM/94COOL/P/9219228.HTML》, pages 1 - 3 *
DEBUGGERS_0506: "修改VS2010中工程文件的输出路径Output", 《HTTPS://BLOG.CSDN.NET/GX_489587482/ARTICLE/DETAILS/72821920》, pages 1 *
JKOSTIKIADIS: "Getting the path of the required folder and its content", 《HTTPS://STACKOVERFLOW.COM/QUESTIONS/50919984/GETTING-THE-PATH-OF-THE-REQUIRED-FOLDER-AND-ITS-CONTENT》, pages 1 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114564226A (en) * 2022-02-25 2022-05-31 深圳市云视机器人有限公司 Code deployment method and device, electronic equipment and readable storage medium
CN114564226B (en) * 2022-02-25 2023-03-17 深圳市云视机器人有限公司 Code deployment method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN109814524B (en) Vehicle diagnosis method, device and system
CN112395322B (en) List data display method and device based on hierarchical cache and terminal equipment
CN111078689B (en) Data processing method and system of discontinuous pre-ordering traversal tree algorithm
CN111159329A (en) Sensitive word detection method and device, terminal equipment and computer-readable storage medium
CN112068874B (en) Continuous integration method and device for software items, terminal equipment and storage medium
CN112580315A (en) Webpage table display method and device, terminal equipment and medium
CN111611813A (en) Document translation method and device, electronic equipment and storage medium
CN112631649A (en) Intelligent contract management method, device, terminal equipment and medium
CN113495728A (en) Dependency relationship determination method, dependency relationship determination device, electronic equipment and medium
CN113760237A (en) Compiling address updating method and device, terminal equipment and readable storage medium
CN111930363A (en) Block interface code generation method and device
CN109324838B (en) Execution method and execution device of single chip microcomputer program and terminal
CN111290961A (en) Interface test management method and device and terminal equipment
CN114816772B (en) Debugging method, debugging system and computing device for application running based on compatible layer
CN111694992A (en) Data processing method and device
CN114860362A (en) Interface updating method and device
CN113609128A (en) Method and device for generating database entity class, terminal equipment and storage medium
CN113986592A (en) Log recording method and device, terminal equipment and readable storage medium
CN114416057A (en) Project code packaging method and device, terminal equipment and storage medium
CN112015459A (en) Method and device for upgrading image file, terminal and readable storage medium
CN108363614B (en) Application service module management method and device and server
CN111142965A (en) Language configuration method and device, electronic equipment and storage medium
CN110838001A (en) Sample analysis method and sample analysis system for nuclear power plant
CN108897849B (en) Method and terminal for improving application performance of database
CN112199428B (en) Application management system, method and terminal equipment of functional data block

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