CN115934148A - Drawing version merging method, platform, equipment and storage medium - Google Patents

Drawing version merging method, platform, equipment and storage medium Download PDF

Info

Publication number
CN115934148A
CN115934148A CN202211248071.4A CN202211248071A CN115934148A CN 115934148 A CN115934148 A CN 115934148A CN 202211248071 A CN202211248071 A CN 202211248071A CN 115934148 A CN115934148 A CN 115934148A
Authority
CN
China
Prior art keywords
version
conflict
frame data
versions
drawings
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
CN202211248071.4A
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.)
Wanyi Technology Co Ltd
Original Assignee
Wanyi 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 Wanyi Technology Co Ltd filed Critical Wanyi Technology Co Ltd
Priority to CN202211248071.4A priority Critical patent/CN115934148A/en
Publication of CN115934148A publication Critical patent/CN115934148A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application relates to a drawing version merging method, a drawing version merging platform, drawing version merging equipment and a storage medium. The method provided by the embodiment of the application determines and displays the conflict drawing according to the version merging instruction by receiving the version merging instruction, wherein the version merging instruction indicates that the drawing files of N versions are merged into the drawing file of one merged version, the conflict drawing is the drawing with the same drawing identification in the drawing files of the N versions, and N is a natural number and is more than or equal to 2; determining drawings needing to be reserved in conflict drawings; and acquiring the drawing files of the combined versions based on the drawings which need to be reserved and the drawing files of the N versions. According to the method provided by the embodiment of the application, the drawing management platform automatically judges the conflicting drawings according to the drawing identification, and replaces and combines the drawings, so that the uniqueness of the same drawing is ensured. The drawing management platform can automatically and accurately process drawing merging requirements in large batches, and the problem that manual merging efficiency is low and mistakes are easy to make is solved.

Description

Drawing version merging method, platform, equipment and storage medium
Technical Field
The present application relates to the field of design, and in particular, to a method, a platform, a device, and a storage medium for merging drawings.
Background
The drawing version management in the existing industry is also based on the management of a file system, and mainly depends on the file management function of an operating system. The periodic results are respectively named and are placed in different folders for management.
If the management process is used, the drawings of two versions are combined, a large number of drawing files of different versions need to be manually copied and pasted repeatedly, and the process is very complicated and is easy to make mistakes. Therefore, the prior art cannot provide a convenient method for merging the versions of the drawings with extremely low error rate.
Disclosure of Invention
The application provides a drawing version merging method, a platform, equipment and a storage medium, and can provide a convenient drawing version merging method with extremely low error rate.
In a first aspect, an embodiment of the present application provides a drawing version merging method, which is applied to a cloud service centralized drawing management platform, and is characterized by including:
receiving a version merging instruction, and determining and displaying a conflict drawing according to the version merging instruction, wherein the version merging instruction indicates that drawing files of N versions are merged into a drawing file of a merged version, the conflict drawing is a drawing with the same drawing identifier in the drawing files of the N versions, and N is a natural number and is more than or equal to 2;
determining drawings needing to be reserved in the conflict drawings;
and acquiring the drawing file of the combined version based on the drawing to be reserved and the drawing files of the N versions.
Optionally, the determining and displaying the conflict drawing includes:
extracting all picture frame data in the drawing files of the N versions, wherein each piece of picture frame data in the picture frame data is provided with a drawing identification corresponding to each piece of picture frame data;
comparing drawing marks of all the drawing frame data, and taking the drawing frame data corresponding to the same comparison result as conflict drawings;
and displaying each piece of frame data in the conflict drawing.
Optionally, the displaying each piece of drawing frame data in the conflict drawing includes:
and displaying each piece of frame data in the conflict drawing in a list form, wherein the list comprises drawing identification of each piece of frame data.
Optionally, the determining the drawing that needs to be reserved in the conflict drawings includes:
receiving a reservation instruction, wherein the reservation instruction indicates drawings which need to be reserved in the conflict drawings;
or the like, or, alternatively,
extracting all primitives in each piece of frame data in the conflict drawing; and determining the drawing needing to be reserved in the conflict drawings according to the graphic element.
Optionally, the determining, according to the primitive, a drawing that needs to be reserved in the conflict drawing includes:
acquiring and comparing the modification time of the graphic primitive; taking the picture frame data of the picture element with the latest modification time as the drawing needing to be reserved in the conflict drawing;
or the like, or, alternatively,
comparing the number of the primitives; when the number of the primitives in each drawing frame data is the same, taking any drawing frame data as the drawing needing to be reserved in the conflict drawing; or receiving a reservation instruction when the number of the primitives in each drawing frame data is different, wherein the reservation instruction indicates drawings which need to be reserved in the conflict drawings.
Optionally, the obtaining the drawing file of the merged version based on the drawing to be retained and the drawing files of the N versions includes:
adding the drawing frame data of the non-conflict drawings in the drawing files of the N versions into the drawing file of the combined version;
and adding the drawing to be reserved into the drawing file of the merged version to obtain the drawing file of the merged version.
Optionally, after obtaining the drawing file of the merged version based on the drawing to be retained and the drawing files of the N versions, the method further includes:
acquiring a version branch instruction, copying the drawing file of the combined version according to the version branch instruction, and taking the copied drawing file as the drawing file of the branch version;
adding a source mark for the drawing file of the branch version, wherein the source mark indicates that the drawing file of the branch version is derived from the drawing file of the merged version.
In a second aspect, a cloud service centralized drawing management platform is provided, which includes:
the system comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for receiving a version merging instruction, and determining and displaying a conflict drawing according to the version merging instruction, the version merging instruction indicates that drawing files of N versions are merged into a drawing file of a merged version, the conflict drawing is a drawing with the same drawing identification in the drawing files of the N versions, and N is a natural number and is greater than or equal to 2;
the second determining module is used for determining the drawing needing to be reserved in the conflict drawings;
and the acquisition module is used for acquiring the drawing file of the combined version based on the drawing to be reserved and the drawing files of the N versions.
In a third aspect, an electronic device is provided, including: the system comprises a processor, a memory and a communication bus, wherein the processor and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor is configured to execute the program stored in the memory, and implement the drawing version merging method according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the method for merging the drawing versions in the first aspect is implemented.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: the method provided by the embodiment of the application determines and displays the conflict drawing according to the version merging instruction by receiving the version merging instruction, wherein the version merging instruction indicates that drawing files of N versions are merged into a drawing file of a merged version, the conflict drawing is a drawing with the same drawing identifier in the drawing files of the N versions, and N is a natural number and is more than or equal to 2; determining drawings needing to be reserved in conflict drawings; and acquiring the drawing files of the combined versions based on the drawings to be reserved and the drawing files of the N versions. According to the method provided by the embodiment of the application, the conflicting drawings are automatically judged according to the drawing identification through the drawing management platform, and the drawings are replaced and combined, so that the uniqueness of the same drawing is ensured. The drawing management platform can automatically and accurately process drawing merging requirements in large batches, and the problem that manual merging efficiency is low and mistakes are easy to make is solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic flow chart of a drawing version merging method in an embodiment of the present application.
Fig. 2 is a schematic flow chart of a specific implementation of a drawing version merging method according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of a cloud service centralized drawing management platform according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of an electronic device shown in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all 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 application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application 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 should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be implemented 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.
The embodiment of the application provides a drawing version merging method, which is applied to a cloud service centralized drawing management platform, and as shown in fig. 1, the method can comprise the following steps:
step 101, receiving a version merging instruction, determining and displaying a conflict drawing according to the version merging instruction, wherein the version merging instruction indicates that the drawing files of N versions are merged into one drawing file of a merged version, the conflict drawing is a drawing with the same drawing identification in the drawing files of the N versions, and N is a natural number and is greater than or equal to 2.
It should be understood that at least 2 versions of the drawing files are required for the drawing version combination, and therefore, the value of N is greater than or equal to 2. In practical application, 2 versions of drawing files are often used, but there is a need to merge more versions of drawing files. When the number of versions of drawings combined at one time is increased, the cost saved by the method provided by the application is also increased.
In an exemplary embodiment, determining and displaying a conflict drawing includes: extracting all picture frame data in the drawing files of the N versions, wherein each piece of picture frame data in the picture frame data is provided with a drawing identification corresponding to each piece of picture frame data; comparing drawing marks of all the drawing frame data, and taking the drawing frame data corresponding to the same comparison result as conflict drawings; and displaying each piece of frame data in the conflict drawing.
In the drawing design, the electronized drawing may be stored with the suffix of. A single drawing sheet may include multiple frames, as is customary by designers, i.e., a single dwg document may include multiple frames. For example, some designers will package the drawings of the three types of bedrooms in building 1 in one of dwg, where "bedroom dwg" includes at least three frames (at least one corresponding frame for each type of apartment). However, some designers can select to upload three files of 'bedroom A.dwg', 'bedroom B.dwg' and 'bedroom C.dwg' respectively. These different design habits can be problematic when multiple designers' drawings are uploaded in a centralized fashion. Therefore, the scheme is designed. The drawing management platform uses a drawing parsing engine to parse and extract all drawing frame data in each dwg. After extraction, all uploaded drawing data can uniformly take the picture frame as a management unit.
Each piece of extracted drawing data has a drawing identifier, which may also be referred to as a drawing identifier. For example, the drawing identification may include professional + subentry + drawing number + drawing name, and the drawing identification in "bedroom a" in the above example may be "floor 1-bedroom-1-bedroom a".
In order to reduce the workload of designers in the process of drawing merging, the drawing management platform can automatically compare and select all drawing frame data extracted from all drawing files, and the drawing frame data with the repeated drawing identifiers are used as conflict drawings. The conflict drawing is generally generated by repeatedly uploading different versions of the same drawing file by a designer, for example, designer a draws a drawing frame with drawing identification "building-No. 1 building-JS 001-floor plan" in version a, and designer B modifies the length and position of a wall in the drawing frame based on drawing frame data in version a in version B. Obviously, if version A and version B are combined, the frame of "building-1, building-JS 001-level plan" will become the conflicting drawing.
It should be noted that after the comparison between the drawing files of the N versions, a plurality of repeated drawing identifiers are often found. At this time, the drawing frame data corresponding to the repeated drawing identifiers needs to be grouped according to the drawing identifiers, and all drawing frame data with the same drawing identifiers are grouped into one group. Subsequent steps are performed within the groups, such as determining a drawing to be retained, which defines a frame to be retained within each group.
In an exemplary embodiment, displaying each piece of frame data in the conflict drawing includes: and displaying each piece of frame data in the conflict drawing in a list form, wherein the list comprises the drawing identification of each piece of frame data.
The method for displaying each piece of frame data in the conflict drawing in a list is a clear and definite display mode. The list may include important information about each piece of frame data, such as drawing identification of each piece of frame data. If multiple sets of conflicting drawings exist, each set can be separately listed.
And 102, determining the drawing needing to be reserved in the conflict drawings.
In an exemplary embodiment, determining the drawing needing to be reserved in the conflict drawings includes: receiving a reservation instruction, wherein the reservation instruction indicates a drawing which needs to be reserved in the conflict drawings; or extracting all the primitives in each piece of frame data in the conflict drawing; and determining the drawing needing to be reserved in the conflict drawings according to the graphic elements.
It should be appreciated that the present application provides two methods, as described above, for determining which of the conflicting drawings needs to be retained. In step 101, the conflict drawings are already displayed, and the user may issue a reservation instruction after receiving the displayed information, that is, the user selects which drawing to select for reservation from among the conflict drawings. Or, the drawing management platform extracts the primitive data in the drawing frame, and automatically judges the drawing to be reserved.
In an exemplary embodiment, determining a drawing to be reserved in a conflict drawing according to a primitive includes: acquiring and comparing the modification time of the graphic primitive; taking the picture frame data of the picture element with the latest modification time as the drawing needing to be reserved in the conflict drawing; or comparing the number of the primitives; when the number of the primitives in each picture frame data is the same, taking any picture frame data as the drawing needing to be reserved in the conflict drawing; or receiving a reservation instruction when the number of the primitives in each drawing frame data is different, wherein the reservation instruction indicates drawings which need to be reserved in conflict drawings.
After the primitive data in the picture frame are extracted, considering that designers mostly store the drawing files of the latest version, the modification time of all the primitives in the picture frame can be detected, the picture frame data where the primitive with the modification time closest to the current time is located can be regarded as the latest design drawing of the designers, and the picture frame data is used as the drawing to be reserved in the conflict drawing.
On the other hand, the number of primitives may also be compared. In a frame, there are a large number of primitives, and in most cases, the number of primitives after the drawing modification changes. Therefore, when the number of the primitives is equal, the drawing management platform considers that the contents of all the frames are the same, and one frame data is selected from the frames to be reserved. If the number of the graphics primitives is different, the modified frame is indicated. At this time, the user is required to assist in judging which Zhang Tuzhi needs to be reserved and sending a reservation instruction to control the drawing management platform to determine the drawing needing to be reserved.
And 103, acquiring the drawing files of the combined versions based on the drawings to be reserved and the drawing files of the N versions.
In an exemplary embodiment, obtaining a drawing file of a merged version based on a drawing that needs to be retained and drawing files of N versions includes: adding the picture frame data of non-conflicting drawings in the drawing files of the N versions into the drawing file of the combined version; and adding the drawing to be reserved into the drawing file of the combined version to obtain the drawing file of the combined version.
It should be appreciated that the drawings require additional processing due to conflicts. Therefore, the drawing which does not need extra processing and does not conflict can be added into the drawing file of the combined version, and the working error rate of the part is extremely low. And then adding the drawing which is determined to be reserved in the conflict drawings into the drawing file of the merged version, wherein the error rate of the part of work is higher than that of the previous step due to more operations. Therefore, the two drawings are separately processed, so that the working efficiency of the drawing management platform can be improved, the working logic of the drawing management platform is optimized, and the accuracy is improved.
In an exemplary embodiment, after acquiring the drawing files of the merged version based on the drawing to be retained and the drawing files of the N versions, the method further includes: acquiring a version branch instruction, copying a drawing file of a combined version according to the version branch instruction, and taking the copied drawing file as the drawing file of a branch version; and adding a source mark for the drawing file of the branch version, wherein the source mark indicates that the drawing file of the branch version is derived from the drawing file of the combined version.
It should be understood that in the design flow, not only the drawings need to be merged, but also the drawings need to be branched. For example, a drawing of a certain version is divided into two branch versions, which are respectively designed by different design groups, and finally merged for screening and preference selection.
Accordingly, the present application also provides a method of creating a branch version for a drawing. After receiving the version branch instruction, the drawing management platform creates a branch version with the same content as the current drawing, and adds a mark on the branch version to explain the source of the version, namely the parent version from which the branch version comes and the time when the branch is generated. And the two drawing versions can be modified and designed without mutual influence after the branching step. If desired in the future, the two branch versions may be merged into one again according to steps 101-103.
The drawing version merging method described above is illustrated by a specific embodiment, as shown in fig. 2.
Step 201, data extraction
The method comprises the steps that drawing picture frame data are analyzed and extracted from drawings by using a drawing analysis engine, the drawing identification of each piece of the obtained drawing picture frame data is 'professional + subentry + drawing number + drawing name', each piece of the drawing picture frame data further comprises some drawing attributes (such as professional, stage, subentry and the like), and the countersign column of the drawings comprises the drawing attributes.
Step 202, compare and retain
All drawing frame data are compared based on drawing identification of 'professional + subentry + drawing number + drawing name'. If two or more than two picture frame data with consistent 'professional + sub-item + picture number + picture name' exist, the picture frame data are defined as conflict picture frame data and are displayed in a list form. At this time, a piece of data needs to be selected from the drawing frame data in the conflict list for reservation, and the reserved drawing frame data is merged into the drawing file of the merged version, so that merging under the conflict condition is realized, and the drawing data in the drawing file of the merged version is ensured to be unique.
When the drawing files of different versions are conflicted and combined, a new combined drawing version file can be generated, and the final result can be set to be placed in one of the existing drawing files of one version. For example, the version set a and the version set B are merged, so that the version set a, the version set B, and the merged version set C can be obtained, or only the version set a and the version set B can be obtained, where the version set a is merged data and the version set B is unchanged.
And if the conflicting drawing frame data occur, displaying the conflicting drawing frame data to a user in a list form, prompting the user that the conflict occurs, and selecting which data to keep by the user to ensure that the version is concentrated and the drawing frame data corresponding to the drawing identification of each 'professional + subentry + drawing number + drawing name' is unique.
Step 203, branch management
For example, a version drawing a is made for the land parcel a, and the land parcel B is also required to be constructed in the same manner, so that the version drawing a can be copied by the drawing management platform to generate a version drawing B, the version drawing B is a drawing for the land parcel B, and the version drawing a and the version drawing B are independent of each other. A token refers to a token for version set B, which is a branch of version set A (i.e., the source of token version set B).
Based on the same concept, the embodiment of the present application provides a cloud service centralized drawing management platform, and specific implementation of the platform may refer to the description of the method embodiment section, and repeated parts are not described again, as shown in fig. 3, the cloud service centralized drawing management platform mainly includes:
the first determining module 301 is configured to receive a version merging instruction, determine and display a conflict drawing according to the version merging instruction, where the version merging instruction indicates to merge N versions of drawing files into one merged version of drawing file, the conflict drawing is a drawing with the same drawing identifier in the N versions of drawing files, and N is a natural number and is greater than or equal to 2;
a second determining module 302, configured to determine a drawing to be reserved in the conflict drawings;
the obtaining module 303 is configured to obtain the drawing files of the combined versions based on the drawing to be retained and the drawing files of the N versions.
It should be noted that the cloud service centralized drawing management platform provided in this embodiment further has the following characteristics:
firstly, a drawing management platform provides cloud services for a user, namely the platform user can use the platform to realize cloud services such as cloud storage and viewing of drawing files.
Secondly, the drawing management platform has a centralization function, namely, the drawings uploaded by a plurality of users can be received and centralized together to form a full-professional engineering drawing file designed by a plurality of users.
Thirdly, the drawing management platform is at least software running on conventional electronic equipment, and the conventional electronic equipment can be universal electronic equipment such as computers, mobile phones and intelligent equipment. For example, by purchasing a server resource provided by a network operator, software is deployed on the purchased server resource, and a designer interacts with the drawing management platform through a personal computer. Optionally, the cloud service centralized drawing management platform may also be hardware such as a dedicated server cluster designed based on the content in the implementation method embodiment. At this time, the drawing management platform includes not only software, but also hardware such as the dedicated server cluster.
Based on the same concept, an embodiment of the present application further provides an electronic device, as shown in fig. 4, the electronic device mainly includes: a processor 401, a memory 402 and a communication bus 403, wherein the processor 401 and the memory 402 communicate with each other via the communication bus 403. The memory 402 stores a program executable by the processor 401, and the processor 401 executes the program stored in the memory 402, so as to implement the following steps:
receiving a version merging instruction, determining and displaying conflict drawings according to the version merging instruction, wherein the version merging instruction indicates that the drawing files of N versions are merged into one drawing file of a merged version, the conflict drawings are drawings with the same drawing identification in the drawing files of the N versions, and N is a natural number and is more than or equal to 2;
determining drawings needing to be reserved in conflict drawings;
and acquiring the drawing files of the combined versions based on the drawings which need to be reserved and the drawing files of the N versions. .
The communication bus 403 mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 403 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 4, but this does not indicate only one bus or one type of bus.
The Memory 402 may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the aforementioned processor 401.
The Processor 401 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc., and may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components.
In yet another embodiment of the present application, there is also provided a computer-readable storage medium having a computer program stored therein, which, when run on a computer, causes the computer to execute the drawing version merging method described in the above embodiment.
In the above embodiments, all or part of the implementation may be realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The available media may be magnetic media (e.g., floppy disks, hard disks, tapes, etc.), optical media (e.g., DVDs), or semiconductor media (e.g., solid state drives), among others.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A drawing version merging method is applied to a cloud service centralized drawing management platform and is characterized by comprising the following steps:
receiving a version merging instruction, and determining and displaying a conflict drawing according to the version merging instruction, wherein the version merging instruction indicates that drawing files of N versions are merged into a drawing file of a merged version, the conflict drawing is a drawing with the same drawing identification in the drawing files of the N versions, and N is a natural number and is greater than or equal to 2;
determining the drawing needing to be reserved in the conflict drawings;
and acquiring the drawing file of the combined version based on the drawing to be reserved and the drawing files of the N versions.
2. The method of claim 1, wherein the determining and displaying the conflicting drawing comprises:
extracting all picture frame data in the drawing files of the N versions, wherein each piece of picture frame data in the picture frame data is provided with a drawing identification corresponding to each piece of picture frame data;
comparing drawing marks of all the drawing frame data, and taking the drawing frame data corresponding to the same comparison result as conflict drawings;
and displaying each piece of drawing frame data in the conflict drawing.
3. The method of claim 2, wherein the displaying the respective pieces of frame data in the conflict drawing comprises:
and displaying each piece of frame data in the conflict drawing in a list form, wherein the list comprises drawing identification of each piece of frame data.
4. The method of claim 2, wherein the determining the drawing needing to be reserved in the conflict drawings comprises:
receiving a reservation instruction, wherein the reservation instruction indicates a drawing which needs to be reserved in the conflict drawings;
or the like, or a combination thereof,
extracting all the primitives in each piece of frame data in the conflict drawing; and determining the drawing needing to be reserved in the conflict drawings according to the graphic element.
5. The method of claim 4, wherein the determining, according to the primitive, the drawing that needs to be retained in the conflicting drawings comprises:
acquiring and comparing the modification time of the graphic primitive; taking the picture frame data of the picture element with the latest modification time as the drawing needing to be reserved in the conflict drawing;
or the like, or, alternatively,
comparing the number of the primitives; when the number of the primitives in each drawing frame data is the same, taking any drawing frame data as the drawing needing to be reserved in the conflict drawing; or when the number of the primitives in each drawing frame data is different, receiving a reservation instruction, wherein the reservation instruction indicates drawings which need to be reserved in the conflict drawings.
6. The method of claim 2, wherein the obtaining the merged version of the drawing file based on the drawing to be retained and the N versions of the drawing files comprises:
adding the drawing frame data of the non-conflict drawings in the drawing files of the N versions into the drawing file of the combined version;
and adding the drawing to be reserved into the drawing file of the combined version to obtain the drawing file of the combined version.
7. The method according to claim 1, wherein after obtaining the merged version of the drawing file based on the drawing to be retained and the N versions of the drawing files, the method further comprises:
acquiring a version branch instruction, copying the drawing file of the combined version according to the version branch instruction, and taking the copied drawing file as the drawing file of the branch version;
adding a source mark for the drawing file of the branch version, wherein the source mark indicates that the drawing file of the branch version is derived from the drawing file of the merged version.
8. The utility model provides a centralized drawing management platform of cloud service which characterized in that includes:
the system comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for receiving a version merging instruction, and determining and displaying a conflict drawing according to the version merging instruction, the version merging instruction indicates that drawing files of N versions are merged into a drawing file of a merged version, the conflict drawing is a drawing with the same drawing identification in the drawing files of the N versions, and N is a natural number and is greater than or equal to 2;
the second determining module is used for determining the drawing needing to be reserved in the conflict drawings;
and the acquisition module is used for acquiring the drawing file of the combined version based on the drawing to be reserved and the drawing files of the N versions.
9. An electronic device, comprising: the system comprises a processor, a memory and a communication bus, wherein the processor and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor is configured to execute the program stored in the memory to implement the drawing version merging method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the drawing version merging method according to any one of claims 1 to 7.
CN202211248071.4A 2022-10-12 2022-10-12 Drawing version merging method, platform, equipment and storage medium Pending CN115934148A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211248071.4A CN115934148A (en) 2022-10-12 2022-10-12 Drawing version merging method, platform, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211248071.4A CN115934148A (en) 2022-10-12 2022-10-12 Drawing version merging method, platform, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115934148A true CN115934148A (en) 2023-04-07

Family

ID=86653275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211248071.4A Pending CN115934148A (en) 2022-10-12 2022-10-12 Drawing version merging method, platform, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115934148A (en)

Similar Documents

Publication Publication Date Title
US10565293B2 (en) Synchronizing DOM element references
US20130198029A1 (en) Application recommendation and substitution
CN108334609B (en) Method, device, equipment and storage medium for realizing JSON format data access in Oracle
CN110837356B (en) Data processing method and device
CN110647322B (en) List rendering method and device, electronic equipment and computer readable medium
CN111694565A (en) Data visualization application development method and system
CN113434527B (en) Data processing method, device, electronic equipment and storage medium
CN111435367A (en) Knowledge graph construction method, system, equipment and storage medium
CN113569257B (en) User authority management method and device in gray level release
CN108694172B (en) Information output method and device
CN108664505B (en) Method and device for exporting database table structure
CN115934148A (en) Drawing version merging method, platform, equipment and storage medium
CN116028062A (en) Target code generation method, NPU instruction display method and device
CN115269090A (en) Marketing page generation method and device, terminal and storage medium
Le Zou et al. On synchronizing with web service evolution
CN112463202B (en) Configuration method and device of operating system functional components
CN113961181A (en) Code online editing method, device, client, server and storage medium
CN112019632A (en) Information management method and system of Internet cloud platform
CN112905164A (en) Project code processing method and device
CN115543916A (en) Drawing management method, platform, equipment and storage medium
CN107168684B (en) Method and device for generating content editing form
CN112733516B (en) Method, device, equipment and storage medium for processing quick message
CN113706209B (en) Operation data processing method and related device
CN108334621A (en) Database operation method, device, equipment and computer readable storage medium
CN117539837B (en) Model file storage method and device, electronic equipment and readable storage medium

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