A method and system for invoking an external resource library
A technology of external resources and resources, applied in database management systems, database distribution/replication, special data processing applications, etc., can solve problems such as data redundancy, low work efficiency, import resources, etc., to achieve fast import speed and high work efficiency , the effect of less data
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] refer to figure 1 , the present invention provides a method for invoking an external resource library, comprising steps:
[0043] S1. For the selected target directory, create the first xml file, and after traversing all folders under the target directory, create corresponding nodes in the first xml file; here, the target directory refers to other files outside the project directory Directory, generally refers to the library directory of a certain type of equipment;
[0044] S2. Automatically import the first xml file into the Process Design software to generate a resource library recording the reference relationship of external resources;
[0045] S3. Projecting the selected resource tree, thereby automatically invoking the external resource corresponding to the resource node.
[0046] In this solution, after traversing the selected target directory, the corresponding node is created in the first xml file, and then the first xml file can be automatically imported int...
Embodiment 2
[0065] This embodiment is a detailed embodiment on the basis of Embodiment 1. The main process of this embodiment is as follows image 3 as shown, image 3 In the step, at the beginning of the step, for the selected welding gun library directory, first traverse and judge the selected target directory, that is, traverse the welding gun library directory to see if it contains the cojt folder, if so, continue, otherwise prompt, and do not execute this step.
[0066] image 3 , the first-level subdirectory of the current directory is traversed, and the current directory is set as the value in the TempDir variable after the traversal is completed. The TempDir variable is a temporary variable used to point to the directory location currently traversed.
[0067] pass image 3 After realizing the purpose of importing the welding torch library from external resources, you can expand the welding torch library in the ProcessDesign software, and you can see that the welding torch librar...
Embodiment 3
[0070] The present invention also provides an external resource library calling system, including a storage medium and a processor, the storage medium stores at least one instruction, and the processor is used to load the at least one instruction, thereby performing the following steps:
[0071] For the selected target directory, create a first xml file, and after traversing all folders under the target directory, create corresponding nodes in the first xml file;
[0072] The first xml file is automatically imported into the Process Design software to generate a resource library recording the reference relationship of external resources;
[0073] Itemize the selected resource tree, thereby automatically calling the external resource corresponding to the resource node.
[0074] As a further preferred implementation, the step of projecting the selected resource tree so as to automatically call the external resource corresponding to the resource node includes the following steps:...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com