CN111475479A - Project file management method and device - Google Patents

Project file management method and device Download PDF

Info

Publication number
CN111475479A
CN111475479A CN202010271142.7A CN202010271142A CN111475479A CN 111475479 A CN111475479 A CN 111475479A CN 202010271142 A CN202010271142 A CN 202010271142A CN 111475479 A CN111475479 A CN 111475479A
Authority
CN
China
Prior art keywords
project
file
design model
files
design
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010271142.7A
Other languages
Chinese (zh)
Other versions
CN111475479B (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.)
Cccc Water Transport Planning And Design Institute Co ltd
Original Assignee
Cccc Water Transport Planning And Design Institute 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 Cccc Water Transport Planning And Design Institute Co ltd filed Critical Cccc Water Transport Planning And Design Institute Co ltd
Priority to CN202010271142.7A priority Critical patent/CN111475479B/en
Publication of CN111475479A publication Critical patent/CN111475479A/en
Application granted granted Critical
Publication of CN111475479B publication Critical patent/CN111475479B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/18File system types
    • G06F16/1873Versioning file systems, temporal file systems, e.g. file system supporting different historic versions of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Physics & Mathematics (AREA)
  • Operations Research (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Stored Programmes (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a project file management method and device. The management method comprises the following steps: acquiring reference relations among a plurality of design model files in a target project, wherein the design model files are used for creating source files corresponding to the design models of all subfiles in the target project, and the reference relations are used for indicating the link relations of a certain design model stored in the design model files to at least one design model in the design model files or in external design model files; obtaining a modified design model file in a target project; and uploading the modified design model file or all the design model files to a server based on the reference relation, wherein all the design model files comprise the modified design model file and the historically stored unmodified design model file, and a second version control System (SVN) is operated in the server and is used for cooperatively managing all the design model files of the target project.

Description

Project file management method and device
Technical Field
The invention relates to the technical field of file management, in particular to a project file management method and device.
Background
In the related technology, computer CAD drawing is widely applied in the fields of mechanical manufacturing, civil engineering design and the like, so that the drawing changing efficiency of engineers and designers is greatly improved, and the progress of manufacturing industries of various types is greatly promoted. In the process, with the help of the change of the production mode, the individual working efficiency of engineers is greatly improved, but problems such as difficult re-import after the modification of upstream drawings, no drawing authority control, no version management, difficult project drawing arrangement, no backup, unsmooth communication and the like are also exposed in the production process of a team. For example, the problem that files are difficult and inefficient to transfer through means such as a USB flash disk or a chat tool inside a project group; or the professional files are difficult to merge, or the problem of difficulty in re-importing the files after the scheme is changed occurs. In the traditional mode, files need to be recombined every time the sub-professional files are changed, the content imported by the original sub-professional needs to be deleted in the final assembly file, and then the content imported in the new sub-professional file needs to be reintroduced, so that errors are very easy to occur in the process; the problem of file version control and the problem of project history file loss caused by the problem; the time for changing and modifying the design result in the design work may occupy 80% of the time of the whole project cycle, and all the above problems greatly affect the change and modification work.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a project file management method and device, which are used for at least solving the technical problem of low transmission efficiency in the related art that project files are transmitted through an external transmission tool.
According to an aspect of the embodiments of the present invention, there is provided a method for managing a project file, which is applied to a project terminal, where the project terminal runs a first version control system SVN, and the method includes: obtaining a reference relation among a plurality of design model files in a target project, wherein the design model files are used for creating source files corresponding to the design models of all subfiles in the target project, and the reference relation is used for indicating a link relation of a certain design model stored in the design model files to at least one design model in the design model files or in an external design model file; obtaining a modified design model file in the target project; and uploading the modified design model file or all the design model files to a server side based on the reference relation, wherein all the design model files comprise the modified design model file and the historically stored unmodified design model file, and the server side runs a second version control System (SVN) which is used for cooperatively managing all the design model files of the target project.
Optionally, after uploading the modified design model file or all the design model files to the server, the management method further includes: determining a project design file which is stored in the server and is modified within a target time period, wherein the project design file is used for guiding a project terminal to complete the target project; downloading a project design file which is stored in the server and is modified within a target time period; acquiring a file identifier of the project design file, and searching whether other project files identical to the file identifier exist in a project folder; and if other project files with the same file identification exist in the search, replacing the other project files with the project design file.
Optionally, after replacing the other project files with the project design files, the management method further includes: all design models referenced by the current design model file are updated in the model display window.
Optionally, the management method further includes: determining all folders and design model files recorded in the item directory of the target item; and setting user access authority for all folders and design model files in the project catalog.
Optionally, the management method further includes: receiving a history backtracking instruction, wherein the history backtracking instruction is used for downloading a project design file in a specified time period of a history process; based on the history backtracking instruction, downloading project design files stored in a server within a specified time period of the history process into a project folder on the project terminal; and if other files with the same file identification exist in the project folder, replacing the other files with the project design files.
According to another aspect of the embodiments of the present invention, there is also provided a method for managing project files, where the method is applied to a server, the server establishes a connection relationship with a project terminal in advance, and the server runs a version control system SVN, and the method includes: receiving a design model file which is modified in a project terminal or a whole design model file, wherein the whole design model file comprises the modified design model file and a historically stored unmodified design model file; updating the project file library by the modified design model file or all the design model files; receiving a project file downloading instruction, wherein the project file downloading instruction is used for indicating to download a project design file in a target time period; and transmitting the project design file which is modified within the stored target time period to the project terminal based on the project file downloading instruction.
Optionally, before receiving the design model file or the entire design model file that is modified in the project terminal, the management method further includes: constructing an initial target project and a project empty folder based on the project request information; selecting project attribute parameters in a project attribute library of the SVN; creating project design files for project group members through project design software, and setting reference relations among the project design files; determining the model coordinate position of the design model in the referred model space in each project design file; and constructing a project catalog based on the project attribute parameters, the reference relation among the project design files and the model coordinate positions of the design models.
Optionally, the management method further includes: determining all folders and design model files within the project catalog; and setting user access authority for all folders and design model files in the project catalog.
According to another aspect of the embodiments of the present invention, there is also provided a project file management apparatus, which is applied to a project terminal, where the project terminal runs a first version control system SVN, and the management apparatus includes: a first obtaining unit, configured to obtain reference relationships between multiple design model files in a target project, where the design model files are used to create source files corresponding to design models of respective subfiles in the target project, and the reference relationships are used to indicate a link relationship between a certain design model stored in the design model file and at least one design model in the design model file or in an external design model file; the second acquisition unit is used for acquiring the modified design model file in the target project; and the uploading unit is used for uploading the modified design model files or all the design model files to a server side based on the reference relation, wherein all the design model files comprise the modified design model files and the historically stored unmodified design model files, and the server side runs a second version control system SVN which is used for cooperatively managing all the design model files of the target project.
Optionally, the management apparatus of the project file further includes: the system comprises a first determining unit, a second determining unit and a third determining unit, wherein the first determining unit is used for determining a project design file which is modified within a target time period and stored in a server after uploading the modified design model file or all the design model files to the server, and the project design file is used for guiding a project terminal to complete the target project; the download unit is used for downloading the project design file which is stored in the server and is modified within the target time period; a third obtaining unit, configured to obtain a file identifier of the project design file, and search for whether there are other project files that are the same as the file identifier in a project folder; and the replacing unit is used for replacing other project files with the project design file when other project files with the same file identifications exist in the search.
Optionally, the management apparatus of the project file further includes: and the updating unit is used for updating all design models referenced by the current design model file in the model display window after replacing the other project files with the project design files.
Optionally, the management apparatus of the project file further includes: a second determination unit configured to determine all folders and design model files described in the item directory of the target item; and the setting unit is used for setting user access authority for all folders and design model files in the project directory.
Optionally, the management apparatus of the project file further includes: the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a history backtracking instruction, and the history backtracking instruction is used for downloading a project design file in a specified time period of a history process; the downloading module is used for downloading project design files stored in the server within a specified time period of the historical process into a project folder on the project terminal based on the historical backtracking instruction; and the replacing module is used for replacing other files with the project design files when the other files with the same file identification exist in the project folder.
According to another aspect of the embodiments of the present invention, there is also provided a management apparatus for project files, which is applied to a server, where the server establishes a connection relationship with a project terminal in advance, and a version control system SVN operated by the server is provided, the management apparatus includes: a first receiving unit, configured to receive a design model file that is modified in a project terminal or a whole design model file, where the whole design model file includes the modified design model file and a historically stored unmodified design model file; an updating unit, configured to update the project file library with the modified design model file or all the design model files; the second receiving unit is used for receiving a project file downloading instruction, wherein the project file downloading instruction is used for indicating the downloading of a project design file in a target time period; and the transmission unit is used for transmitting the project design file which is modified within the stored target time period to the project terminal based on the project file downloading instruction.
Optionally, the management apparatus of the project file further includes: a construction unit for constructing an initial target project and a project empty folder based on project request information before receiving a design model file modified in a project terminal or all the design model files; the selecting unit is used for selecting the item attribute parameters in the item attribute library of the version control system SVN; the system comprises a creating unit, a searching unit and a processing unit, wherein the creating unit is used for creating project design files for project group members through project design software and setting reference relations among the project design files; the first determining module is used for determining the model coordinate position of the design model in the referred model space in each project design file; and the construction module is used for constructing a project catalog based on the project attribute parameters, the reference relation among the project design files and the model coordinate positions of the design models.
Optionally, the management apparatus of the project file further includes: a second determination module for determining all folders and design model files within the project catalog; and the setting module is used for setting user access rights for all folders and design model files in the project directory.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the project file management method of any one of the above via execution of the executable instructions.
In the embodiment of the invention, the reference relationship among a plurality of design model files in the target project is acquired, then the modified design model files in the target project are acquired, finally the modified design model files or all the design model files can be uploaded to the server based on the reference relationship, all the design model files comprise the modified design model files and the historically stored unmodified design model files, the server runs a second version control system SVN, and the second version control system SVN is used for cooperatively managing all the design model files of the target project. In the embodiment, unified version management and project file centralized management can be realized among multiple terminals through an SVN terminal (architecture system software with network transmission, centralized storage, version control and authority management characteristics) and an SVN server in a collaborative system, modified files can be quickly transmitted to the server through a reference function (reference between files, reference between models and cross-file reference), project files and design model files can also be quickly downloaded, the design model files do not need to be transmitted through an external USB flash disk or chatting software and the like, the file transmission speed is increased, the transmission efficiency is obviously improved, and the technical problem of low transmission efficiency in the related technology that project files are transmitted through an external transmission tool is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of an alternative project file management method according to an embodiment of the present invention;
FIG. 2 is a flowchart of an alternative project file management method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an alternative project file management apparatus according to an embodiment of the present invention;
fig. 4 is a schematic diagram of another alternative project file management apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
To facilitate understanding of the invention by those skilled in the art, some terms or nouns referred to in the embodiments of the invention are explained below:
SVN, abbreviation of Subversion, is a version control system for developing source codes, and realizes multi-user collaborative development by functions of centralized management of code documents, folder/user authority control, branch management and the like. The following embodiments of the invention provide a project file management mode by combining a multi-user project file centralized management function, a unified version management function and a user authority control function of an SVN system and a reference function of project design software with a reference function, project files modified by all terminals can be cooperatively transmitted to a unified server, and project file management level and transmission efficiency are improved.
Software procurement in the embodiment of the invention: the software required by the application needs to purchase the cost of the design software with the reference and citation function, and the collaborative management function of the design file is replaced by the free open source SVN related software, so that the purchase cost of the collaborative system and the system dependent on the collaborative system is saved.
Regarding system deployment issues: compared with the existing product, the method and the system do not need to be configured with other dependent systems such as database software except for deploying the most basic server and client programs. And for the stability of the system: the collaborative system comprises an SVN server, an SVN client and design drawing software supporting a reference function, wherein the design drawing software is the same as other schemes, and the SVN server and the client software have longer history and wider application range compared with a mainstream special platform. The present invention will be described in detail with reference to examples.
Example one
In accordance with an embodiment of the present invention, there is provided an embodiment of a method for managing project files, it should be noted that the steps illustrated in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
The project file management method in the embodiment of the invention is applied to a project terminal, and the project terminal runs a first version control system SVN. The management of project files is realized by combining the multi-user project document centralized management function, the unified version management function and the user authority control function of the SVN system and the reference citation function of design software with the reference citation function, and the reference citation among design model files, the cross-file model reference citation and the model reference citation in the design model files can be mainly realized.
Fig. 1 is a flowchart of an alternative project file management method according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S102, obtaining reference relations among a plurality of design model files in the target project, wherein the design model files are used for creating source files corresponding to the design models of all subfiles in the target project, and the reference relations are used for indicating the link relations of a certain design model stored in the design model files to at least one design model in the design model files or in external design model files;
step S104, obtaining a modified design model file in the target project;
and step S106, uploading the modified design model file or all the design model files to a server side based on the reference relation, wherein all the design model files comprise the modified design model file and the historically stored unmodified design model file, and a second version control system SVN is operated in the server side and is used for cooperatively managing all the design model files of the target project.
Through the steps, the reference relation among a plurality of design model files in the target project can be obtained firstly, then the modified design model files in the target project are obtained, finally the modified design model files or all the design model files can be uploaded to the server side based on the reference relation, all the design model files comprise the modified design model files and the historically stored unmodified design model files, the server side runs the second version control system SVN, and the second version control system SVN is used for cooperatively managing all the design model files of the target project. In the embodiment, by coordinating the SVN terminal (architecture system software with network transmission, centralized storage, version control and authority management characteristics) and the SVN server in the system, uniform version management and project file centralized management can be realized among multiple terminals, by the reference and citation function (reference and citation among files, reference and citation among models, and cross-file model citation realization), multi-element combination (SVN system and model reference and citation) is realized, the modified files can be quickly transmitted to a server, project files and design model files can be quickly downloaded, the design model files do not need to be transmitted in the modes of external USB flash disks or chatting software, the file transmission speed is improved, the transmission efficiency is obviously improved, therefore, the technical problem that the project files are transmitted through an external transmission tool in the related art, and the transmission efficiency is low is solved.
The hardware equipment, the service end and the project terminal related in the embodiment of the invention can be selected by self according to various implementation environments, for example, the service end is set to be a cpu with a core i of more than 5, a memory with a minimum of 4g, a disk of more than 2t and a network with a bandwidth of more than giga, the server operating system can use Windows \ L inux, SVN server software can select open source software Apache Subversion, and the project terminal needs to install auxiliary design tool software (for example, installation CAD) and SVN terminal software TotosiseSVN which support version control functions, such as AutoCAD and MicroStation.
The following describes embodiments of the present invention in detail with reference to the above steps.
Step S102, obtaining reference relations among a plurality of design model files in the target project, wherein the design model files are used for creating source files corresponding to the design models of all subfiles in the target project, and the reference relations are used for indicating the link relations of a certain design model stored in the design model files to at least one design model in the design model files or in external design model files.
In embodiments of the present invention, the types of target items may include, but are not limited to: engineering projects, shipping port projects, pile foundation projects, and the like. Each project may include a plurality of sub-design models, each sub-design model corresponding to a project design terrain, for example, in a port of shipping project, including: when designing a wharf sub-model, a port terrain three-dimensional model, a container model and the like, reference relations among design model files corresponding to different design models need to be considered.
For each target project, a project storage folder needs to be created, a project is created at an SVN server by receiving a request of a project responsible terminal, after the project is created at the SVN server, a preset SVN project library is selected from a check-out dialog box on a local empty folder (hereinafter abbreviated as EP), the EP is set as a local work directory (hereinafter abbreviated as FP), and after a determination button of the dialog box is clicked, the setting of the local work directory FP is completed. Setting a directory structure of the FP according to requirements in the FP, creating and presetting design files for professional project terminals through design software, and setting reference relations among the design files and correct coordinate positions of models in the referenced design files in a referenced model space; after the setting of the directory structure is completed, the working directory FP is submitted to the SVN server, and an administrator is requested to set the inquiry and modification permission of each subfolder setting of each project group member in the FP.
In the embodiment of the invention, the reference relation among design model files is as follows: a function of loading a design model file/drawing model file in a read-only mode is to load another design model file into a current working view in a read-only mode while only one design model file is usually opened for editing and modifying, wherein the design model loaded by referring to a reference relation can be displayed in a drawing view port as the other models in the current design file, and can integrally move, rotate and zoom all models referring to the drawing view port, but can not edit and modify other attribute parameters of the reference model, such as the relative position of each graphic element in the reference model. The modeling software can simultaneously reference a plurality of design model files according to needs, and simultaneously the link relation between the currently opened design model file and the reference file and the relative space transformation relation between the currently edited model and the design model in the reference file can also be stored in the currently opened design file. Currently mainstream design software such as Autodesk AutoCAD and MicroStation supports the quote function. For example, if two design files a and B respectively store a terrain three-dimensional model and a certain office building three-dimensional design model in the same project file, after the B file refers to the reference file a and the relative position relationship between the B model and the a model is adjusted in the B file, the a file is modified later, and as long as the computer storage path is unchanged, the B file is re-opened, or the reference file is updated in the B file, the model of the a can be immediately updated in the graphic view of the B file.
And step S104, acquiring the modified design model file in the target project.
And step S106, uploading the modified design model file or all the design model files to a server side based on the reference relation, wherein all the design model files comprise the modified design model file and the historically stored unmodified design model file, and a second version control system SVN is operated in the server side and is used for cooperatively managing all the design model files of the target project.
The submission operation of the terminal SVN software can be executed, and the modified part or all of the design model files in the current terminal project folder can be uploaded to the SVN server.
In this embodiment of the present invention, after uploading the modified design model file or all the design model files to the server, the management method further includes: determining a project design file which is stored in a server and is modified within a target time period, wherein the project design file is used for guiding a project terminal to complete a target project; downloading a project design file which is stored in the server and is modified within a target time period; acquiring a file identifier of a project design file, and searching whether other project files identical to the file identifier exist in a project folder; and if other project files with the same file identifications exist in the search, replacing the other project files with project design files.
Namely, in the embodiment of the invention, the update operation of terminal SVN software can be executed, part or all of the latest project design files of the server can be downloaded into the project folder on the terminal, if the terminal project folder has the files with the same name, the latest project design files are replaced, the download of the latest project design files is completed, and then the design model files can be modified and updated again.
Alternatively, after replacing the other project files with the project design files, the management method further includes: all design models referenced by the current design model file are updated in the model display window.
The design models referenced by the references are updated in the model display window after the project design model file is reopened or after the design models have been opened.
As another optional embodiment of the present invention, the management method further includes: determining all folders and design model files recorded in an item directory of a target item; user access rights are set for all folders and design model files in the project catalog.
The embodiment of the invention can realize access authority control, set user name and password for each user, and set the access authority of each user for any folder or file in any item directory, wherein the authority comprises 4 authorities of reading and writing, reading, writing or forbidding reading and writing.
As another optional embodiment of the present invention, the management method further includes: receiving a history backtracking instruction, wherein the history backtracking instruction is used for downloading the project design files in the appointed time period of the history process; based on a history backtracking instruction, downloading project design files stored in a server within a specified time period of a history process into a project folder on a project terminal; and if other files with the same file identification exist in the project folder, replacing the other files with the project design files.
Namely, the embodiment of the invention can realize data backtracking, namely, part or all of project design files at the appointed time of the server can be downloaded into the project folder on the terminal, and if the project folder of the terminal has files with the same name, the project design files are replaced.
Through the embodiment, the collaborative work among the project terminals can be realized, the design model files of the projects are modified, updated, uploaded and downloaded in the project terminals, the convenience and quickness in file transmission among the project terminals are ensured, and the file transmission efficiency is improved.
The invention is illustrated below by means of a further alternative embodiment.
The method for managing the project file in the following embodiment is applied to a server, a connection relationship is pre-established between the server and a project terminal, and a version control system SVN is operated by the server.
Fig. 2 is a flowchart of another alternative project file management method according to an embodiment of the present invention, and as shown in fig. 2, the management method includes:
step S202, receiving a design model file which is modified in a project terminal or all the design model files, wherein all the design model files comprise the modified design model file and a historically stored unmodified design model file;
step S204, updating the project file library by the modified design model file or all the design model files;
step S206, receiving a project file downloading instruction, wherein the project file downloading instruction is used for indicating to download the project design file in the target time period;
and step S208, transmitting the project design file which is modified within the stored target time period to the project terminal based on the project file downloading instruction.
Through the steps, the design model file or all the design model files which are modified in the project terminal can be received, then the project file library is updated according to the modified design model file or all the design model files, then a project file downloading instruction can be received, and finally the project design file which is modified in the stored target time period can be transmitted to the project terminal based on the project file downloading instruction. In the embodiment, the SVN server can store modified design model files transmitted by all project terminals through the SVN terminal and the SVN server in the collaborative system, so that the project file centralized management is realized, the project terminals are supported to download the design model files quickly, the design model files are not required to be transmitted in the modes of external USB (universal serial bus) or chat software and the like, the file transmission speed is increased, the transmission efficiency is obviously improved, and the technical problem of low transmission efficiency in the related technology that project files are transmitted through an external transmission tool is solved.
In an alternative embodiment of the present invention, before receiving the design model file or the entire design model file that is modified in the project terminal, the management method further includes: constructing an initial target project and a project empty folder based on the project request information; selecting project attribute parameters in a project attribute library of the SVN; creating project design files for project group members through project design software, and setting reference relations among the project design files; determining the model coordinate position of the design model in the referred model space in each project design file; and constructing a project catalog based on the project attribute parameters, the reference relation among the project design files and the model coordinate positions of the design models.
The above embodiment illustrates that a project can be created and a project directory can be constructed at the SVN server, wherein after the project is created at the SVN server, a "SVN CheckOut" button can be selected on a local empty folder (hereinafter abbreviated as EP), a preset SVN project attribute library is selected in a check-out dialog, the EP is set as a project directory (hereinafter abbreviated as FP), and the setting of the project directory FP is completed after a determination button of the dialog is clicked; the SVN server sets a directory structure of the FP as required in the FP, creates and presets design files for professional project terminals through design software, and sets reference relations among the design files and correct coordinate positions of the models in the referenced design files in a referenced model space.
Optionally, the management method further includes: determining all folders and design model files in the project catalog; user access rights are set for all folders and design model files in the project catalog. After the configuration of the directory structure is completed, submitting the project directory FP to the SVN server, and requesting an administrator to configure the reference and modification authority of each sub-folder in the FP for each project terminal.
For each project terminal, the FP can be downloaded to the local, that is, the project terminal can select any local EP, open the right-click menu on the EP, and click the SVN Checkout, that is, the EP can be downloaded and synchronized to the FP. Meanwhile, after the project terminal stores the modification of the design model in charge of the completion, a right-click menu can be opened on the stored file or on the FP folder after the modification of a plurality of design files is completed, and after the SVN Update is clicked, the modification of one or more design files can be submitted to the SVN server; meanwhile, the SVN server will backup the currently replaced version as the historical version.
If other involved models are referenced in the design file of a project terminal, model updates may be made, for example, the AutoCAD can open an 'insert' tab, click an 'adjust' tab under a 'reference' menu to complete updating, open the design software to load or select a button with a similar function of 'update reference model' in a dialog box of the reference function of the design software, the update can be completed for MicroStation by clicking "Reload" or "Reload All" under the menu of "Tools" in the open "References" window, for Autodesk Revit, the user can select the management tab, click the management link button, click the external link file to be updated by using a mouse, click the reload button, click the confirmation button, and after the operation is finished, the modified design models of the other members displayed in the model view can be automatically updated.
The invention is illustrated below by means of a further alternative embodiment.
Fig. 3 is a schematic diagram of an optional project file management apparatus according to an embodiment of the present invention, which is applied to a project terminal, where the project terminal runs a first version control system SVN, as shown in fig. 3, the management apparatus includes: a first acquiring unit 31, a second acquiring unit 33, an uploading unit 35, wherein,
a first obtaining unit 31, configured to obtain reference referencing relationships between multiple design model files in a target project, where a design model file is used to create a source file corresponding to a design model of each subfile in the target project, and a reference referencing relationship is used to indicate a link relationship of a certain design model stored in the design model file to at least one design model in the design model file or in an external design model file;
a second obtaining unit 33, configured to obtain a modified design model file in the target project;
and the uploading unit 35 is configured to upload the modified design model file or all the design model files to the server based on the reference relationship, where all the design model files include the modified design model file and the historically stored unmodified design model file, and the server runs the second version control system SVN, and the second version control system SVN is used to cooperatively manage all the design model files of the target project.
The management device for the project files can acquire reference relations among a plurality of design model files in a target project through the first acquisition unit 31, then acquire the design model files modified in the target project through the second acquisition unit 33, and finally upload the modified design model files or all the design model files to the server through the upload unit 35 based on the reference relations, wherein all the design model files comprise the modified design model files and the historically stored unmodified design model files, the server runs the second version control system SVN, and the second version control system SVN is used for cooperatively managing all the design model files of the target project. In the embodiment, unified version management and project file centralized management can be realized among multiple terminals through an SVN terminal (containing architecture system software with network transmission, centralized storage, version control and authority management characteristics) and an SVN server in a collaborative system, modified files can be quickly transmitted to the server through a reference function, project files and design model files can be quickly downloaded, the design model files do not need to be transmitted through an external USB flash disk or chatting software and the like, the file transmission speed is increased, the transmission efficiency is obviously improved, and the technical problem that the transmission efficiency is low when project files are transmitted through an external transmission tool in the related technology is solved.
Optionally, the management apparatus for project files further includes: the system comprises a first determining unit, a second determining unit and a third determining unit, wherein the first determining unit is used for determining a project design file which is modified within a target time period and stored in a server after the modified design model file or all the design model files are uploaded to the server, and the project design file is used for guiding a project terminal to complete a target project; the download unit is used for downloading the project design file which is stored in the server and is modified within the target time period; the third acquisition unit is used for acquiring the file identifier of the project design file and searching whether other project files with the same file identifier exist in the project folder or not; and the replacing unit is used for replacing other project files with the project design file when other project files with the same file identifications exist in the search.
Alternatively, the management apparatus for project files further includes: and the updating unit is used for updating all design models referenced by the current design model file in the model display window after replacing other project files with project design files.
Optionally, the management apparatus for project files further includes: a second determination unit configured to determine all folders and design model files described in the item directory of the target item; and the setting unit is used for setting user access rights for all folders and design model files in the project directory.
Optionally, the management apparatus for project files further includes: the receiving module is used for receiving a history backtracking instruction, wherein the history backtracking instruction is used for downloading the project design files in the appointed time period of the history process; the downloading module is used for downloading project design files stored in the server within a specified time period of a historical process into a project folder on a project terminal based on a historical backtracking instruction; and the replacing module is used for replacing other files with the project design file when other files with the same file identification exist in the project folder.
Fig. 4 is a schematic diagram of another optional management apparatus for project files according to an embodiment of the present invention, which is applied to a server, where the server establishes a connection relationship with a project terminal in advance, and a version control system SVN is run by the server, as shown in fig. 4, the management apparatus includes: a first receiving unit 41, an updating unit 43, a second receiving unit 45, a transmitting unit 47, wherein,
a first receiving unit 41, configured to receive a design model file that is modified in a project terminal or a whole design model file, where the whole design model file includes the modified design model file and a historically stored unmodified design model file;
an updating unit 43 for updating the project file library with the modified design model file or the entire design model file;
a second receiving unit 45, configured to receive a project file downloading instruction, where the project file downloading instruction is used to instruct to download a project design file in a target time period;
and a transmission unit 47, configured to transmit the project design file that is modified within the stored target time period to the project terminal based on the project file download instruction.
The project file management apparatus may receive the design model file modified in the project terminal or the entire design model file through the first receiving unit 41, update the project file library with the modified design model file or the entire design model file through the updating unit 43, receive the project file download instruction through the second receiving unit 45, and transmit the project design file modified within the stored target time period to the project terminal through the transmitting unit 47 based on the project file download instruction. In the embodiment, the SVN server can store modified design model files transmitted by all project terminals through the SVN terminal and the SVN server in the collaborative system, so that the project file centralized management is realized, the project terminals are supported to download the design model files quickly, the design model files are not required to be transmitted in the modes of external USB (universal serial bus) or chat software and the like, the file transmission speed is increased, the transmission efficiency is obviously improved, and the technical problem of low transmission efficiency in the related technology that project files are transmitted through an external transmission tool is solved.
Optionally, the management apparatus for project files further includes: a construction unit for constructing an initial target project and a project empty folder based on project request information before receiving a design model file modified in a project terminal or all the design model files; the selecting unit is used for selecting the item attribute parameters in the item attribute library of the version control system SVN; the system comprises a creating unit, a searching unit and a processing unit, wherein the creating unit is used for creating project design files for project group members through project design software and setting reference relations among the project design files; the first determining module is used for determining the model coordinate position of the design model in the referred model space in each project design file; and the construction module is used for constructing a project catalog based on the project attribute parameters, the reference relation among the project design files and the model coordinate positions of the design models.
Optionally, the management apparatus for project files further includes: a second determination module for determining all folders and design model files within the project catalog; and the setting module is used for setting user access rights for all folders and design model files in the project directory.
The above-mentioned management apparatus for project files may further include a processor and a memory, the above-mentioned first obtaining unit 31, the second obtaining unit 33, the uploading unit 35, the first receiving unit 41, the updating unit 43, the second receiving unit 45, the transmitting unit 47, and the like are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to implement corresponding functions.
The processor comprises a kernel, and the kernel calls a corresponding program unit from the memory. The kernel can be set to be one or more, and the design model file of the project is transmitted between the server and the project terminal by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including: a processor; and a memory for storing executable instructions for the processor; wherein the processor is configured to perform the method of managing project files of any of the above via execution of executable instructions.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: acquiring reference relations among a plurality of design model files in a target project, wherein the design model files are used for creating source files corresponding to the design models of all subfiles in the target project, and the reference relations are used for indicating the link relations of a certain design model stored in the design model files to at least one design model in the design model files or in external design model files; obtaining a modified design model file in a target project; and uploading the modified design model file or all the design model files to a server based on the reference relation, wherein all the design model files comprise the modified design model file and the historically stored unmodified design model file, and a second version control System (SVN) is operated in the server and is used for cooperatively managing all the design model files of the target project.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. 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, units or modules, and may be in an electrical 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 units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
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, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
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 decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (11)

1. A project file management method is applied to a project terminal, wherein the project terminal runs a first version control System (SVN), and the management method comprises the following steps:
obtaining a reference relation among a plurality of design model files in a target project, wherein the design model files are used for creating source files corresponding to the design models of all subfiles in the target project, and the reference relation is used for indicating a link relation of a certain design model stored in the design model files to at least one design model in the design model files or in an external design model file;
obtaining a modified design model file in the target project;
and uploading the modified design model file or all the design model files to a server side based on the reference relation, wherein all the design model files comprise the modified design model file and the historically stored unmodified design model file, and the server side runs a second version control System (SVN) which is used for cooperatively managing all the design model files of the target project.
2. The management method according to claim 1, wherein after uploading the modified design model file or all the design model files to the server, the management method further comprises:
determining a project design file which is stored in the server and is modified within a target time period, wherein the project design file is used for guiding a project terminal to complete the target project;
downloading a project design file which is stored in the server and is modified within a target time period;
acquiring a file identifier of the project design file, and searching whether other project files identical to the file identifier exist in a project folder;
and if other project files with the same file identification exist in the search, replacing the other project files with the project design file.
3. The management method according to claim 2, wherein after replacing the other project file with the project design file, the management method further comprises:
all design models referenced by the current design model file are updated in the model display window.
4. The management method according to claim 1, wherein the management method further comprises:
determining all folders and design model files recorded in the item directory of the target item;
and setting user access authority for all folders and design model files in the project catalog.
5. The management method according to claim 1, wherein the management method further comprises:
receiving a history backtracking instruction, wherein the history backtracking instruction is used for downloading a project design file in a specified time period of a history process;
based on the history backtracking instruction, downloading project design files stored in a server within a specified time period of the history process into a project folder on the project terminal;
and if other files with the same file identification exist in the project folder, replacing the other files with the project design files.
6. A management method for project files is characterized in that the management method is applied to a server side, the server side and a project terminal are connected in advance, a version control system SVN operated by the server side is provided, and the management method comprises the following steps:
receiving a design model file which is modified in a project terminal or a whole design model file, wherein the whole design model file comprises the modified design model file and a historically stored unmodified design model file;
updating the project file library by the modified design model file or all the design model files;
receiving a project file downloading instruction, wherein the project file downloading instruction is used for indicating to download a project design file in a target time period;
and transmitting the project design file which is modified within the stored target time period to the project terminal based on the project file downloading instruction.
7. The management method according to claim 6, wherein before receiving the design model file or the entire design model file completed by modification in the project terminal, the management method further comprises:
constructing an initial target project and a project empty folder based on the project request information;
selecting project attribute parameters in a project attribute library of the SVN;
creating project design files for project group members through project design software, and setting reference relations among the project design files;
determining the model coordinate position of the design model in the referred model space in each project design file;
and constructing a project catalog based on the project attribute parameters, the reference relation among the project design files and the model coordinate positions of the design models.
8. The management method according to claim 7, further comprising:
determining all folders and design model files within the project catalog;
and setting user access authority for all folders and design model files in the project catalog.
9. A project file management device is applied to a project terminal, the project terminal runs a first version control System (SVN), and the management device comprises:
a first obtaining unit, configured to obtain reference relationships between multiple design model files in a target project, where the design model files are used to create source files corresponding to design models of respective subfiles in the target project, and the reference relationships are used to indicate a link relationship between a certain design model stored in the design model file and at least one design model in the design model file or in an external design model file;
the second acquisition unit is used for acquiring the modified design model file in the target project;
and the uploading unit is used for uploading the modified design model files or all the design model files to a server side based on the reference relation, wherein all the design model files comprise the modified design model files and the historically stored unmodified design model files, and the server side runs a second version control system SVN which is used for cooperatively managing all the design model files of the target project.
10. A management device for project files is characterized in that the management device is applied to a server side, the server side and a project terminal are connected in advance, a version control system SVN operated by the server side comprises:
a first receiving unit, configured to receive a design model file that is modified in a project terminal or a whole design model file, where the whole design model file includes the modified design model file and a historically stored unmodified design model file;
an updating unit, configured to update the project file library with the modified design model file or all the design model files;
the second receiving unit is used for receiving a project file downloading instruction, wherein the project file downloading instruction is used for indicating the downloading of a project design file in a target time period;
and the transmission unit is used for transmitting the project design file which is modified within the stored target time period to the project terminal based on the project file downloading instruction.
11. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of managing project files of any of claims 1 to 8 via execution of the executable instructions.
CN202010271142.7A 2020-04-08 2020-04-08 Project file management method and device Active CN111475479B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010271142.7A CN111475479B (en) 2020-04-08 2020-04-08 Project file management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010271142.7A CN111475479B (en) 2020-04-08 2020-04-08 Project file management method and device

Publications (2)

Publication Number Publication Date
CN111475479A true CN111475479A (en) 2020-07-31
CN111475479B CN111475479B (en) 2023-06-02

Family

ID=71750626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010271142.7A Active CN111475479B (en) 2020-04-08 2020-04-08 Project file management method and device

Country Status (1)

Country Link
CN (1) CN111475479B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114580679A (en) * 2022-03-11 2022-06-03 国能黄骅港务有限责任公司 Method and device for determining equipment stability and production operation system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160246899A1 (en) * 2015-02-25 2016-08-25 Onshape Inc. Multi-User Cloud Parametric Feature-Based 3D CAD System
CN106446026A (en) * 2016-08-30 2017-02-22 广联达科技股份有限公司 File management method and file management system
CN107016094A (en) * 2017-04-06 2017-08-04 深圳创维-Rgb电子有限公司 A kind of project shared file multi-person synergy development approach, apparatus and system
CN108009784A (en) * 2017-06-15 2018-05-08 中工国际工程股份有限公司 A kind of inside and outside collaborative office management system based on project document
CN108629552A (en) * 2017-03-22 2018-10-09 北京鸿业同行科技有限公司 BIM cooperative design platforms based on cloud
CN110555904A (en) * 2018-05-31 2019-12-10 红塔烟草(集团)有限责任公司 remote 3D modeling cooperative management method based on SVN

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160246899A1 (en) * 2015-02-25 2016-08-25 Onshape Inc. Multi-User Cloud Parametric Feature-Based 3D CAD System
CN106446026A (en) * 2016-08-30 2017-02-22 广联达科技股份有限公司 File management method and file management system
CN108629552A (en) * 2017-03-22 2018-10-09 北京鸿业同行科技有限公司 BIM cooperative design platforms based on cloud
CN107016094A (en) * 2017-04-06 2017-08-04 深圳创维-Rgb电子有限公司 A kind of project shared file multi-person synergy development approach, apparatus and system
CN108009784A (en) * 2017-06-15 2018-05-08 中工国际工程股份有限公司 A kind of inside and outside collaborative office management system based on project document
CN110555904A (en) * 2018-05-31 2019-12-10 红塔烟草(集团)有限责任公司 remote 3D modeling cooperative management method based on SVN

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨永毅;赵芳;赵思亮;: "基于SVN技术实现气象项目源代码管理", 气象水文海洋仪器 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114580679A (en) * 2022-03-11 2022-06-03 国能黄骅港务有限责任公司 Method and device for determining equipment stability and production operation system
CN114580679B (en) * 2022-03-11 2023-06-06 国能黄骅港务有限责任公司 Method and device for determining equipment stability and production operation system

Also Published As

Publication number Publication date
CN111475479B (en) 2023-06-02

Similar Documents

Publication Publication Date Title
EP1868087B1 (en) System and method for configuration application programs
CN105324769B (en) For generating the solution for being used for the set of scripts of automated data library migration
US6782305B2 (en) Method of geometric information sharing and parametric consistency maintenance in a collaborative design environment
JP5369116B2 (en) Multi-client collaboration to access and update structured data elements
US7496890B2 (en) Generation of configuration instructions using an abstraction technique
US20090327405A1 (en) Enhanced Client And Server Systems for Operating Collaboratively Within Shared Workspaces
CN103019718A (en) Use of distributed source control in centralized source control environment
JP4829256B2 (en) Information processing program and information processing apparatus
CN106446026B (en) File management method and file management system
TW200532516A (en) Product data exchange
CN112947992B (en) Code version management method and device
CN111569427B (en) Resource processing method and device, storage medium and electronic device
CN115146337A (en) Multi-terminal collaborative modeling method and device and readable storage medium
WO2020209832A1 (en) Tracking attribution of content in an online collaborative electronic document
CN104699034A (en) Managing design updates in a manufacturing execution system
CN114386920A (en) Information operation system and method based on data sharing
CN111475479A (en) Project file management method and device
US8812660B2 (en) Workflow processes and systems
CN105512039A (en) Software test request form generating method and device
CN115809084A (en) Version generation method and device, electronic equipment and storage medium
EP1725951A1 (en) Service for verifying consistency of replicated data
CN115129360A (en) Code file management method and device, electronic equipment and storage medium
US20190205482A1 (en) Computer Aided Design Model Conversion
JP5594256B2 (en) Information processing method, information processing program, and information processing apparatus
TWI729620B (en) Module-oriented flow programming 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