CN112632957A - Power drawing management method and device, terminal equipment and server - Google Patents

Power drawing management method and device, terminal equipment and server Download PDF

Info

Publication number
CN112632957A
CN112632957A CN202011503568.7A CN202011503568A CN112632957A CN 112632957 A CN112632957 A CN 112632957A CN 202011503568 A CN202011503568 A CN 202011503568A CN 112632957 A CN112632957 A CN 112632957A
Authority
CN
China
Prior art keywords
version
drawing data
user
version number
difference
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
CN202011503568.7A
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.)
Hunan Teneng Boshi Technology Co ltd
Original Assignee
Hunan Teneng Boshi 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 Hunan Teneng Boshi Technology Co ltd filed Critical Hunan Teneng Boshi Technology Co ltd
Priority to CN202011503568.7A priority Critical patent/CN112632957A/en
Publication of CN112632957A publication Critical patent/CN112632957A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/197Version control
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/12Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Architecture (AREA)
  • Human Computer Interaction (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a power drawing management method, a device, terminal equipment and a server, wherein the power drawing management method is applied to the terminal equipment and comprises the steps of obtaining drawing data of a version to be modified, which is specified by a user, and receiving modification operation of the user on the drawing data of the version to be modified; acquiring difference drawing data obtained based on the modification operation according to the submission operation of a user, generating a version number, and generating sub-nodes of nodes corresponding to the version to be modified in a version tree, wherein the version number is sequentially increased according to a preset rule, and the sub-nodes store the difference drawing data and the version number; and sending the difference drawing data and the version number to a server. The power drawing management method enables a user to directly obtain drawing data corresponding to different versions from the terminal equipment, and can also obtain the drawing data corresponding to different versions from the server through the terminal equipment.

Description

Power drawing management method and device, terminal equipment and server
Technical Field
The invention relates to the technical field of data management, in particular to a power drawing management method and device, terminal equipment and a server.
Background
In an electric power design institute, a traditional working mode is that a designer designs a project according to design requirements, and after each design is finished, a file covers the previous design, is stored in a terminal and is filed. In the conventional operation mode, there may be the following problems: the design file before the current design can not be tracked, the search is inconvenient to obtain, and the drawing needs to be modified again if the work needs to be carried out on a certain past version in the following process; work cannot be carried out on terminal equipment without drawing data archive. Therefore, the designer has low work efficiency.
Therefore, the existing power drawing management has the problems that work cannot be carried out on a certain past version and work cannot be carried out on terminal equipment without drawing data archive.
Disclosure of Invention
In view of this, an object of the embodiments of the present application is to provide a power drawing management method, device, terminal device and server, which can solve the problem that the existing power drawing management cannot be performed on a certain past version and cannot be performed on a terminal without a file.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an electric power drawing management method, which is applied to a terminal device, and the method includes:
acquiring drawing data of a to-be-modified version designated by a user, and receiving modification operation of the drawing data of the to-be-modified version by the user;
acquiring difference drawing data obtained based on the modification operation according to the submission operation of a user, generating a version number, and generating sub-nodes of nodes corresponding to the version to be modified in a version tree, wherein the version number is sequentially increased according to a preset rule, and the sub-nodes store the difference drawing data and the version number;
and sending the difference drawing data and the version number to a server.
According to a specific embodiment disclosed in the present application, the obtaining, according to a submission operation of a user, difference drawing data obtained based on the modification operation, and generating a version number includes:
sending an instruction for acquiring the drawing data with the maximum current version number to a server according to the submission operation of the user;
receiving the drawing data with the maximum serial number of the current version sent by the server, acquiring the difference drawing data obtained by the modification operation, and comparing the drawing data with the maximum serial number of the current version with the difference drawing data;
if the drawing data with the maximum number of the current version and the difference drawing data have different operation data for the same target entity, displaying selection information, wherein the selection information is used for prompting a user that version conflict exists and allowing the user to select data to be reserved;
and if receiving an operation that the user selects to reserve the differential drawing data, generating a version number.
According to a specific embodiment disclosed in the present application, before acquiring drawing data of a version to be operated specified by a user, the method further includes:
establishing an initial drawing file according to the establishing operation of a user;
acquiring initial version drawing data obtained based on the initial drawing file according to submission operation of a user, generating an initial version number, and generating a root node of a version tree, wherein the root node stores the initial version drawing data and the initial version number;
and sending the drawing data of the initial version and the number of the initial version to a server.
In a second aspect, an embodiment of the present application provides an electric power drawing management method, which is applied to a server, and the method includes:
generating corresponding child nodes and updating a version tree according to the difference drawing data and the version number sent by the terminal equipment;
according to an instruction for acquiring drawing data of a target version sent by terminal equipment, sending the drawing data of a node where the target version is located, the drawing data of a root node, and all the drawing data between the node where the target version is located and the root node to the terminal equipment.
According to a specific embodiment disclosed in the present application, before generating corresponding child nodes and updating a version tree according to differential drawing data and version numbers sent by a terminal device, the method further includes:
and generating a root node according to the initial version drawing data and the initial version number sent by the terminal equipment.
In a third aspect, an embodiment of the present application provides an electric power drawing management apparatus, which is applied to a terminal device, and the apparatus includes:
the acquisition module is used for acquiring the drawing data of the version to be modified specified by the user and receiving the modification operation of the user on the drawing data of the version to be modified;
the generation module is used for acquiring the difference drawing data obtained based on the modification operation according to the submission operation of a user, generating a version number and generating sub-nodes of the nodes corresponding to the version to be modified in a version tree, wherein the version number is sequentially increased according to a preset rule, and the sub-nodes store the difference drawing data and the version number;
and the child node data sending module is used for sending the difference drawing data and the version number to a server.
In a fourth aspect, an embodiment of the present application provides an electric power drawing management apparatus, which is applied to a server, and the apparatus includes:
the receiving module is used for generating corresponding child nodes and updating the version tree according to the difference drawing data and the version number sent by the terminal equipment;
and the drawing data sending module is used for sending the drawing data of the node where the target version is located, the drawing data of the root node, and all the drawing data between the node where the target version is located and the root node to the terminal equipment according to the instruction for obtaining the drawing data of the target version sent by the terminal equipment.
In a fifth aspect, an embodiment of the present application provides a terminal device, which includes a processor and a memory, where the memory stores a program or instructions, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a server, including a processor and a memory, where the memory stores a program or instructions, and the program or instructions, when executed by the processor, implement the steps of the method according to the second aspect.
In a seventh aspect, this application provides a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the method according to the first aspect or the steps of the method according to the second aspect.
The power drawing management method provided by the embodiment of the application is applied to terminal equipment, the difference drawing data and the version number obtained by modification operation are formed into a version tree and stored in the terminal equipment, so that a user can directly obtain the drawing data corresponding to different versions from the terminal equipment; the difference drawing data and the version numbers are sent to the server and stored in the server, so that a user can obtain the drawing data corresponding to different versions from the server through the terminal equipment, the flow is saved, and meanwhile, the user can work even on the terminal equipment without the drawing data archive.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings required to be used in the embodiments will be briefly described below, and it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope of the present invention. Like components are numbered similarly in the various figures.
Fig. 1 is a flowchart illustrating a method for managing an electrical drawing according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of another power drawing management method provided in the embodiments of the present application;
fig. 3 is a schematic structural diagram illustrating an electric power drawing management apparatus according to an embodiment of the present application;
fig. 4 shows a schematic structural diagram of another electric power drawing management apparatus provided in the embodiment of the present application.
Detailed Description
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.
The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Hereinafter, the terms "including", "having", and their derivatives, which may be used in various embodiments of the present invention, are only intended to indicate specific features, numbers, steps, operations, elements, components, or combinations of the foregoing, and should not be construed as first excluding the existence of, or adding to, one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present invention belong. The terms (such as those defined in commonly used dictionaries) should be interpreted as having a meaning that is consistent with their contextual meaning in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in various embodiments of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a power drawing management method provided in an embodiment of the present application, and is applied to a terminal device, as shown in fig. 1, the method includes the following steps:
step 101, obtaining drawing data of a version to be modified specified by a user, and receiving a modification operation of the user on the drawing data of the version to be modified.
Specifically, the power drawing has a large data volume and is difficult to manage. The power drawing management method is applied to terminal equipment. In general, a user draws a power drawing through a terminal device to complete a design work.
Before drawing is started, a user specifies drawing data of a version to be modified. If the user wants to continue drawing on the basis of the previous version, the version to be modified can be designated as the previous version; if the user wants to draw on the basis of the earlier version, the version to be modified can also be designated as the earlier version, specifically, the version can be selected according to the requirements of the user, and the application is not limited.
After the user designates the version to be modified, the terminal device obtains the drawing data of the version to be modified designated by the user, so that the user can modify the drawing data on the basis, and the terminal device receives the modification operation of the user on the drawing data of the version to be modified.
102, obtaining difference drawing data obtained based on the modification operation according to the submission operation of a user, generating a version number, and generating sub-nodes of nodes corresponding to the version to be modified in a version tree, wherein the version number is sequentially increased according to a preset rule, and the sub-nodes store the difference drawing data and the version number.
Specifically, when the user considers that the current drawing work of the power drawing is partially completed, the drawing data may be submitted. And the terminal equipment acquires the difference drawing data obtained based on the modification operation, wherein the difference drawing data is obtained by the modification operation of the user on the basis of the version to be modified and does not include the drawing data of the version to be modified. For example, if the user zooms in the entity a and zooms out the entity B in the version to be modified, the difference drawing data only includes the data after the entity a is zoomed in and the entity B is zoomed out. The entity is a Chinese translation of the English word entry, referring to the smallest drawing unit in CAD. And 103, sending the difference drawing data and the version number to a server.
It can be understood that only the difference drawing data and the version number are sent to the server, and data traffic consumption between the terminal device and the server is saved.
In a specific embodiment, in order to avoid that two users modify data of the same version at the same time and that the difference drawing data corresponding to the modification operation conflicts, the obtaining, according to the submission operation of the user, the difference drawing data obtained based on the modification operation and generating the version number includes:
sending an instruction for acquiring the drawing data with the maximum current version number to a server according to the submission operation of the user;
receiving the drawing data with the maximum serial number of the current version sent by the server, acquiring the difference drawing data obtained by the modification operation, and comparing the drawing data with the maximum serial number of the current version with the difference drawing data;
if the drawing data with the maximum number of the current version and the difference drawing data have different operation data for the same target entity, displaying selection information, wherein the selection information is used for prompting a user that version conflict exists and allowing the user to select data to be reserved;
and if receiving an operation that the user selects to reserve the differential drawing data, generating a version number.
Specifically, for example, both the user C and the user D specify that the drawing data with the version number of 1.1 is modified. The user C completes the modification, and the terminal device C1 used by the user C sends the modified difference drawing data E1 and the version number 1.2 to the server.
And after the user D finishes the modification after the user C, the terminal device D1 used by the user D sends an instruction for acquiring the drawing data with the maximum current version number to the server according to the submission operation of the user D.
After receiving the drawing data with the maximum current version number sent by the server, namely the drawing data with the version number of 1.2, namely the drawing data with the version number of 1.1 added to the difference drawing data E1, the terminal device D1 obtains the difference drawing data E2 obtained by the modification operation of the user D, and compares the difference drawing data E2 with the drawing data with the maximum current version number.
It can be understood that the steps of the terminal device D1 acquiring the difference drawing data E2, sending the acquisition instruction to the server, and receiving the drawing data with the largest current version number sent by the server are not sequential, and may be performed simultaneously.
Meanwhile, it can be understood that if different operations exist on the same entity in the drawing data with the version number of 1.2 and the drawing data with the version number of 1.1, the terminal device retains and displays the data of the entity in the drawing data with the version number of 1.2 through logical operation. If the entity F exists in the drawing data with the version number of 1.1 and the entity F is reduced in the drawing data with the version number of 1.2, the terminal equipment reserves and displays the reduced entity F through logical operation.
If the entity G is enlarged in the drawing data with the version number of 1.2, the line color of the entity G is modified to be red in the difference drawing data E2, that is, the entity G in the difference drawing data E2 is still not enlarged, and the line color is modified on the basis, so that the version conflict exists with the size of the entity G in the drawing data with the version number of 1.2. At this time, the terminal device displays selection information, and the selection information is used for prompting the user D that the version conflict exists and allowing the user D to select the data to be reserved. The user D can select to reserve the difference drawing data E2 of the terminal device D1, and then the version number 1.3 is generated; if the user D may also select to keep the drawing data with the version number of 1.2, it means that the user D abandons the saving of the difference drawing data E2, and stops the subsequent steps.
In a specific embodiment, before the step 101, the method further includes:
establishing an initial drawing file according to the establishing operation of a user;
acquiring initial version drawing data obtained based on the initial drawing file according to submission operation of a user, generating an initial version number, and generating a root node of a version tree, wherein the root node stores the initial version drawing data and the initial version number;
and sending the drawing data of the initial version and the number of the initial version to a server.
The power drawing management method provided by the embodiment of the application is applied to terminal equipment, the difference drawing data and the version number obtained by modification operation are formed into a version tree and stored in the terminal equipment, so that a user can obtain the drawing data corresponding to the previous version; the difference drawing data and the version numbers are sent to the server and stored in the server, so that a user can obtain the drawing data corresponding to different versions from the server through the terminal equipment, the flow is saved, and meanwhile, the user can work even on the terminal equipment without the drawing data archive.
Referring to fig. 2, fig. 2 is a flowchart of a power drawing management method according to an embodiment of the present application, which is different from the foregoing embodiment in that the method is applied to a server, and as shown in fig. 2, the method includes the following steps:
step 201, generating corresponding child nodes and updating the version tree according to the difference drawing data and the version number sent by the terminal device.
Specifically, after receiving the difference drawing data and the version number sent by the terminal device, the server also generates child nodes corresponding to the version to be modified, and updates the version tree.
Step 202, sending the drawing data of the node where the target version is located, the drawing data of the root node, and all the drawing data between the node where the target version is located and the root node to the terminal device according to the instruction sent by the terminal device for obtaining the drawing data of the target version.
Specifically, the terminal device may be a terminal device for drawing an electric power drawing by a designer, that is, a terminal device storing drawing data; or the terminal device without drawing data.
After receiving an instruction sent by the terminal device for acquiring drawing data of a target version, the server sends the drawing data of a node where the target version is located, the drawing data of a root node, and all the drawing data between the node where the target version is located and the root node to the terminal device, namely all the data form the drawing data of the target version.
In a specific embodiment, before the step 201, the method further includes:
and generating a root node according to the initial version drawing data and the initial version number sent by the terminal equipment.
It is understood that, in the step 202, if the target version is the initial version, the server only sends the drawing data in the root node, that is, the drawing data of the initial version, to the terminal device.
The power drawing management method provided by the embodiment of the application is applied to the server, and the difference drawing data and the version number are received and stored in the server, so that a user can obtain the drawing data corresponding to different versions from the server through the terminal equipment, the flow is saved, and meanwhile, the work can be carried out even on the terminal equipment without the drawing data archive.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an electric power drawing management apparatus according to an embodiment of the present application, applied to a terminal device, corresponding to the method embodiment shown in fig. 1, as shown in fig. 3, the electric power drawing management apparatus 300 includes:
the obtaining module 301 is configured to obtain drawing data of a version to be modified specified by a user, and receive a modification operation of the drawing data of the version to be modified by the user;
a generating module 302, configured to obtain, according to a submission operation of a user, difference drawing data obtained based on the modification operation, generate a version number, and generate a child node of a node corresponding to the version to be modified in a version tree, where the version number is sequentially increased according to a preset rule, and the child node stores the difference drawing data and the version number;
and a child node data sending module 303, configured to send the difference drawing data and the version number to a server.
The power drawing management device provided in the embodiment of the present application can implement each process of the power drawing management method in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Referring to fig. 4 corresponding to the method embodiment shown in fig. 2, fig. 4 is a schematic structural diagram of an electric power drawing management apparatus provided in the embodiment of the present application, and is applied to a terminal device, as shown in fig. 4, the electric power drawing management apparatus 400 includes:
a receiving module 401, configured to generate corresponding child nodes and update the version tree according to the difference drawing data and the version number sent by the terminal device;
the drawing data sending module 402 is configured to send, according to an instruction sent by the terminal device to obtain drawing data of a target version, the drawing data of a node where the target version is located, the drawing data of a root node, and all the drawing data between the node where the target version is located and the root node to the terminal device.
The power drawing management device provided in the embodiment of the application can implement each process of the power drawing management method in the method embodiment of fig. 2, and is not repeated here to avoid repetition.
Optionally, an embodiment of the present application further provides a terminal device, which includes a processor and a memory, where the memory stores a program or an instruction, and the program or the instruction, when executed by the processor, implements each process of the foregoing power drawing management method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
Optionally, an embodiment of the present application further provides a server, which includes a processor and a memory, where the memory stores a program or an instruction, and the program or the instruction, when executed by the processor, implements each process of the foregoing power drawing management method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
Optionally, an embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the process of the embodiment of the power drawing management method is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the terminal device or the server described in the above embodiments. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules 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 or a part of the technical solution that contributes to the prior art in essence can 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 smart phone, a personal computer, a server, or a network device, etc.) 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 removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.

Claims (10)

1. A power drawing management method is applied to terminal equipment and comprises the following steps:
acquiring drawing data of a to-be-modified version designated by a user, and receiving modification operation of the drawing data of the to-be-modified version by the user;
acquiring difference drawing data obtained based on the modification operation according to the submission operation of a user, generating a version number, and generating sub-nodes of nodes corresponding to the version to be modified in a version tree, wherein the version number is sequentially increased according to a preset rule, and the sub-nodes store the difference drawing data and the version number;
and sending the difference drawing data and the version number to a server.
2. The power drawing management method according to claim 1, wherein the obtaining, according to a submission operation by a user, difference drawing data obtained based on the modification operation to generate a version number includes:
sending an instruction for acquiring the drawing data with the maximum current version number to a server according to the submission operation of the user;
receiving the drawing data with the maximum serial number of the current version sent by the server, acquiring the difference drawing data obtained by the modification operation, and comparing the drawing data with the maximum serial number of the current version with the difference drawing data;
if the drawing data with the maximum number of the current version and the difference drawing data have different operation data for the same target entity, displaying selection information, wherein the selection information is used for prompting a user that version conflict exists and allowing the user to select data to be reserved;
and if receiving an operation that the user selects to reserve the differential drawing data, generating a version number.
3. The power drawing management method according to claim 1, wherein before acquiring the drawing data of the version to be operated specified by the user, the method further comprises:
establishing an initial drawing file according to the establishing operation of a user;
acquiring initial version drawing data obtained based on the initial drawing file according to submission operation of a user, generating an initial version number, and generating a root node of a version tree, wherein the root node stores the initial version drawing data and the initial version number;
and sending the drawing data of the initial version and the number of the initial version to a server.
4. A power drawing management method is applied to a server and comprises the following steps:
generating corresponding child nodes and updating a version tree according to the difference drawing data and the version number sent by the terminal equipment;
according to an instruction for acquiring drawing data of a target version sent by terminal equipment, sending the drawing data of a node where the target version is located, the drawing data of a root node, and all the drawing data between the node where the target version is located and the root node to the terminal equipment.
5. The power drawing management method according to claim 4, wherein before generating corresponding child nodes and updating the version tree according to the difference drawing data and the version number sent by the terminal device, the method further comprises:
and generating a root node according to the initial version drawing data and the initial version number sent by the terminal equipment.
6. The utility model provides an electric power drawing management device which characterized in that is applied to terminal equipment, the device includes:
the acquisition module is used for acquiring the drawing data of the version to be modified specified by the user and receiving the modification operation of the user on the drawing data of the version to be modified;
the generation module is used for acquiring the difference drawing data obtained based on the modification operation according to the submission operation of a user, generating a version number and generating sub-nodes of the nodes corresponding to the version to be modified in a version tree, wherein the version number is sequentially increased according to a preset rule, and the sub-nodes store the difference drawing data and the version number;
and the child node data sending module is used for sending the difference drawing data and the version number to a server.
7. The utility model provides a power drawing management device which characterized in that is applied to the server, the device includes:
the receiving module is used for generating corresponding child nodes and updating the version tree according to the difference drawing data and the version number sent by the terminal equipment;
and the drawing data sending module is used for sending the drawing data of the node where the target version is located, the drawing data of the root node, and all the drawing data between the node where the target version is located and the root node to the terminal equipment according to the instruction for obtaining the drawing data of the target version sent by the terminal equipment.
8. A terminal device comprising a processor and a memory, the memory having stored thereon a program or instructions which, when executed by the processor, carry out the steps of the power drawing management method according to any one of claims 1 to 3.
9. A server, comprising a processor and a memory, the memory having stored thereon programs or instructions which, when executed by the processor, carry out the steps of the power drawing management method according to any one of claims 4 to 5.
10. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the power drawing management method according to any one of claims 1 to 3 or the power drawing management method according to any one of claims 4 to 5.
CN202011503568.7A 2020-12-18 2020-12-18 Power drawing management method and device, terminal equipment and server Pending CN112632957A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011503568.7A CN112632957A (en) 2020-12-18 2020-12-18 Power drawing management method and device, terminal equipment and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011503568.7A CN112632957A (en) 2020-12-18 2020-12-18 Power drawing management method and device, terminal equipment and server

Publications (1)

Publication Number Publication Date
CN112632957A true CN112632957A (en) 2021-04-09

Family

ID=75316930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011503568.7A Pending CN112632957A (en) 2020-12-18 2020-12-18 Power drawing management method and device, terminal equipment and server

Country Status (1)

Country Link
CN (1) CN112632957A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110414062A (en) * 2019-06-29 2019-11-05 万翼科技有限公司 A kind of method, apparatus and computer readable storage medium obtaining design drawing
CN117390727A (en) * 2023-12-11 2024-01-12 壹仟零壹艺数字科技(合肥)有限公司 CAD drawing data processing method and system based on Git system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750406A (en) * 2012-06-06 2012-10-24 中国电力科学研究院 Multi-version management method for model set and difference model-based power grid model
CN104809189A (en) * 2015-04-21 2015-07-29 国家电网公司 System and method for managing versions of electric drawing
CN106776296A (en) * 2016-11-30 2017-05-31 网易(杭州)网络有限公司 Startup method, device and starting device that coverage rate is detected
CN107678776A (en) * 2017-08-09 2018-02-09 上海壹账通金融科技有限公司 Multimode version dependence construction method, device, server and storage medium
CN108173688A (en) * 2017-12-27 2018-06-15 中国电子科技集团公司第五十四研究所 A kind of management method of the networking configuration content based on tree and version number
CN110765150A (en) * 2019-11-01 2020-02-07 上海热像科技股份有限公司 Management method, device, server, medium and system
CN110928887A (en) * 2018-09-19 2020-03-27 北京国双科技有限公司 Data processing method and device
CN111078951A (en) * 2019-11-08 2020-04-28 珠海许继芝电网自动化有限公司 Power graph model data management system and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750406A (en) * 2012-06-06 2012-10-24 中国电力科学研究院 Multi-version management method for model set and difference model-based power grid model
CN104809189A (en) * 2015-04-21 2015-07-29 国家电网公司 System and method for managing versions of electric drawing
CN106776296A (en) * 2016-11-30 2017-05-31 网易(杭州)网络有限公司 Startup method, device and starting device that coverage rate is detected
CN107678776A (en) * 2017-08-09 2018-02-09 上海壹账通金融科技有限公司 Multimode version dependence construction method, device, server and storage medium
CN108173688A (en) * 2017-12-27 2018-06-15 中国电子科技集团公司第五十四研究所 A kind of management method of the networking configuration content based on tree and version number
CN110928887A (en) * 2018-09-19 2020-03-27 北京国双科技有限公司 Data processing method and device
CN110765150A (en) * 2019-11-01 2020-02-07 上海热像科技股份有限公司 Management method, device, server, medium and system
CN111078951A (en) * 2019-11-08 2020-04-28 珠海许继芝电网自动化有限公司 Power graph model data management system and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110414062A (en) * 2019-06-29 2019-11-05 万翼科技有限公司 A kind of method, apparatus and computer readable storage medium obtaining design drawing
CN117390727A (en) * 2023-12-11 2024-01-12 壹仟零壹艺数字科技(合肥)有限公司 CAD drawing data processing method and system based on Git system
CN117390727B (en) * 2023-12-11 2024-02-23 壹仟零壹艺数字科技(合肥)有限公司 CAD drawing data processing method and system based on Git system

Similar Documents

Publication Publication Date Title
CN112632957A (en) Power drawing management method and device, terminal equipment and server
CN110888672B (en) Expression engine implementation method and system based on metadata architecture
CN116010414A (en) Data storage method, device, equipment and storage medium
CN107491311B (en) Method and system for generating page file and computer equipment
CN111611174B (en) Method and device for constructing test data, computer equipment and storage medium
CN109558159A (en) The update method and device of user interface in game
CN107220044B (en) Method and device for driving business object based on meta-model
CN110928995B (en) Interactive information processing method, device, equipment and storage medium
CN110175047B (en) Automatic generation method and device of processor instruction codes
CN108259199A (en) A kind of automation command generating method and device
CN110955712A (en) Development API processing method and device based on multiple data sources
CN116049215A (en) Method, device, electronic equipment and medium for inquiring options
CN114564924A (en) Data insertion method, device, equipment and storage medium
CN111459484B (en) Method for simulating back-end data during separate development of front end and back end of webpage
CN105094845A (en) Process modeling device and method
CN111225005B (en) Push content generation method and device, electronic equipment and computer storage medium
CN112069812A (en) Word segmentation method, device, equipment and computer storage medium
CN112256644B (en) Information processing method, device and computer storage medium
CN111951355A (en) Animation processing method and device, computer equipment and storage medium
CN113127861A (en) Rule hit detection method and device, electronic equipment and readable storage medium
JP3208635U (en) Switchable kanji assembly system
CN112800185B (en) Method and device for generating and matching text of interface node in mobile terminal
CN106022022B (en) A kind of method and terminal of terminal unlocking
CN110297898A (en) Asynchronous Compilation Method and device
CN114707023B (en) Hash table traversal method, system, equipment and computer 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