CN114972582A - Drawing method and device - Google Patents

Drawing method and device Download PDF

Info

Publication number
CN114972582A
CN114972582A CN202210749191.6A CN202210749191A CN114972582A CN 114972582 A CN114972582 A CN 114972582A CN 202210749191 A CN202210749191 A CN 202210749191A CN 114972582 A CN114972582 A CN 114972582A
Authority
CN
China
Prior art keywords
drawing data
data
detected
entity
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
CN202210749191.6A
Other languages
Chinese (zh)
Inventor
杨沥铭
熊伟
郭强
肖薇
陈叶俊
潘炼
刘忠良
杜君尧
皮敏
葛旭阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CNNC Nuclear Power Operation Management Co Ltd
Original Assignee
CNNC Nuclear Power Operation Management 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 CNNC Nuclear Power Operation Management Co Ltd filed Critical CNNC Nuclear Power Operation Management Co Ltd
Priority to CN202210749191.6A priority Critical patent/CN114972582A/en
Publication of CN114972582A publication Critical patent/CN114972582A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • 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
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure belongs to the technical field of nuclear power, and particularly relates to a drawing method and device. The display style of the data entity preset according to different service standards on the drawing is disclosed, so that the plurality of standard templates for drawing are initialized by using the selected standard templates, the standard templates are the display styles of the data entity preset according to the service standards on the drawing and are used for initializing the drawing, the requirement of a built-in nuclear power plant on the style of the conceptual data model is met, and the drawing learning and using cost of personnel is reduced. In addition, the method can be used for expressing in a graphical way, a visual editing interface is provided, the logical relation among the service data of the nuclear power plant can be expressed visually, and the further digital application of the nuclear power plant is facilitated.

Description

Drawing method and device
Technical Field
The invention belongs to the technical field of nuclear power, and particularly relates to a drawing method and device.
Background
As the industry with the most strict requirements on reliability and safety, the nuclear power industry is safe in production and operation, and often needs a plurality of information systems for supporting, the nuclear power plant has high business understanding requirements on constructors of the information systems due to the complexity of business, traditional commercialized software is difficult to completely meet the business requirements, and often needs customized development, and the profession of the industry has high business understanding requirements on the constructors of the information systems. Therefore, how to effectively draw the business model of the nuclear power plant becomes an urgent problem to be solved.
Disclosure of Invention
In order to overcome the problems in the related art, a drawing method and a drawing device are provided, so that an efficient, synergetic, data standard-integrated and nuclear power plant data asset support business process online drawing method is provided.
According to an aspect of the embodiments of the present disclosure, there is provided a drawing method, the method including:
step 100, creating a drawing when a drawing creating instruction is detected;
step 101, after creating a drawing, displaying a plurality of standard templates to be selected, wherein the standard templates are display patterns of data entities preset according to business standards on the drawing;
102, when the operation of selecting the standard template is detected, initializing the drawing according to the selected standard template;
step 103, when the drawing operation for the initialized drawing is detected, showing a graph corresponding to the drawing operation in the drawing canvas.
In one possible implementation, the method further includes:
200, when a drawing operation or a modification operation for the current drawing is detected, obtaining drawing data corresponding to the drawing operation or the modification operation;
step 201, judging whether the acquired drawing data is associated with drawing data in other drawings;
step 202, when the obtained drawing data is judged to be associated with the drawing data in other drawings, the current drawing and the drawing data in the associated other drawings are synchronously updated according to the obtained drawing data.
In one possible implementation, step 202 further includes:
step 2020, when the obtained drawing data is judged to be associated with drawing data in other drawings, displaying associated information and prompt information, wherein the associated information is used for displaying the association condition of the obtained drawing data and the drawing data in the associated drawings, and the prompt information is used for prompting whether to save drawing operation or modification operation for the current drawing;
step 2021, when the saving operation for the prompt information is detected, synchronously updating the current drawing and drawing data in other associated drawings according to the acquired drawing data;
step 2022, when the abandoning operation for the prompt information is detected, abandoning the acquired drawing data.
In a possible implementation manner, the association information includes association relationship information and/or influence analysis information;
the incidence relation information is used for displaying the incidence relation between the obtained drawing data and the incidence drawing data;
the influence analysis information is used for showing the influence of the drawing operation or the modification operation of the current drawing on the associated drawing.
In one possible implementation, the method further includes:
step 300, when detecting an association query instruction for selected drawing data in the current drawing, judging whether the selected drawing data is associated with drawing data in other drawings;
step 301, when the selected drawing data is judged to be associated with drawing data in other drawings, displaying an association relationship between the selected drawing data and the associated drawing data.
In one possible implementation, the method further includes:
step 400, when an influence inquiry instruction for the selected drawing data in the current drawing is detected, judging whether the selected drawing data is associated with the drawing data in other drawings;
in step 401, when the selected drawing data is judged to be associated with drawing data in other drawings, the influence of the modification operation of the selected drawing data on the associated drawings is shown.
In one possible implementation, the method further includes:
step 500, using the selected drawing data in the current drawing or the text input in the position query interface as the target drawing data;
step 501, when a position query instruction for target drawing data is detected, judging whether the selected drawing data is associated with drawing data in other drawings;
and 502, when the target drawing data is judged to be associated with the drawing data in other drawings, showing the drawing associated with the target drawing data, and marking the position of the drawing data associated with the target drawing data in the shown drawing.
In one possible implementation, the method further includes:
step 600, aiming at the current drawing, when an adding instruction of an entity is detected, displaying one or more entities which are added;
step 601, adding the selected entity in the one or more added entities into the current drawing.
In one possible implementation, the method further includes:
step 700, for a current drawing, when a definition instruction for a selected entity is detected, displaying an entity definition specification interface, wherein the entity definition specification interface comprises a plurality of preset entity definition items;
step 701, determining the definition of the selected entity according to the input content of the plurality of preset entity definition entries.
In one possible implementation, the method further includes:
step 800, for a current drawing, when a definition instruction for a selected attribute is detected, displaying a attribute definition specification interface, wherein the attribute definition specification interface comprises a plurality of preset attribute definition entries;
step 801 determines the definition of the selected attribute based on the input content for a plurality of preset attribute definition entries.
According to another aspect of the embodiments of the present disclosure, there is provided an image drawing device including:
the creating module is used for creating a drawing when a drawing creating instruction is detected;
the system comprises a selection module, a drawing module and a display module, wherein the selection module is used for displaying a plurality of standard templates to be selected after drawing is created, and the standard templates are display patterns of data entities preset according to business standards on drawing;
the initialization module is used for initializing the drawing according to the selected standard template when the operation of selecting the standard template is detected;
and the display module is used for displaying a graph corresponding to the drawing operation in the canvas of the drawing when the drawing operation aiming at the initialized drawing is detected.
According to another aspect of the embodiments of the present disclosure, there is provided a drawing device including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method described above.
According to another aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the above-described method.
The beneficial effect of this disclosure lies in: the display style of the data entity preset according to different service standards on the drawing is disclosed, so that the plurality of standard templates for drawing are initialized by using the selected standard templates, the standard templates are the display styles of the data entity preset according to the service standards on the drawing and are used for initializing the drawing, the requirement of a built-in nuclear power plant on the style of the conceptual data model is met, and the drawing learning and using cost of personnel is reduced.
In addition, the method can be used for expressing in a graphical way, a visual editing interface is provided, the logical relation among the service data of the nuclear power plant can be expressed visually, and the further digital application of the nuclear power plant is facilitated.
Drawings
FIG. 1 is a flow chart illustrating a mapping method according to an exemplary embodiment.
Fig. 2 is a block diagram illustrating a drawing device according to an exemplary embodiment.
Detailed Description
The invention is described in further detail below with reference to the figures and the embodiments.
FIG. 1 is a flow chart illustrating a mapping method according to an exemplary embodiment. The method can be executed by a browser running on the terminal device or by drawing application software running on the terminal device, and the specific terminal and execution form for executing the drawing method are not limited by the disclosure.
In the present disclosure, the plotted data entities may contain the following information:
(1) data entity basic parameters, i.e. parameters defining the entity itself, such as: code, name, etc.;
(2) a data entity style set (determined according to nuclear power plant service specifications), namely a presentation style of a data entity on a drawing, such as: font, color, height, width, etc.;
(3) the data attribute set, which attributes are contained in the data entity, is as follows: power plant codes, system codes, etc.;
(4) data entity relationships, i.e. relationships between data entities, such as: one-to-one, one-to-many, etc.;
(5) data entity structure, i.e. hierarchical relationship of data entities, such as: a master sub-relationship, a reference relationship, etc.
Wherein the set of data attributes further comprises the following information:
(3-1) attribute parameters, i.e., parameters defining an attribute, such as: attribute codes, attribute names, numerical types, etc.;
(3-2) attribute relationship, that is, defining a relationship between attributes, such as: a reference relation or an integration relation exists between the specific attribute and the specific attribute;
(3-3) attribute style (determined according to nuclear power plant service specifications), namely defining the display style of attribute data on a drawing, such as: font, font size, color, etc.
As shown in fig. 1, the drawing method includes:
step 100, creating a drawing when a drawing creating instruction is detected;
step 101, after creating a drawing, displaying a plurality of standard templates to be selected, wherein the standard templates are display patterns of data entities preset according to business standards on the drawing;
102, when the operation of selecting the standard template is detected, initializing the drawing according to the selected standard template;
step 103, when the drawing operation for the initialized drawing is detected, showing a graph corresponding to the drawing operation in the drawing canvas.
For example, before step 100, a canvas tag may be created in HTML, a container object may be initialized, and parameters such as position, overflow, width, height, and the like of the container object may be set, so that an online drawing mode of a B/S architecture is adopted, and a client does not need to be installed and is not affected by peripheral hardware.
Then, upon detecting a create drawing instruction, an mxparent. js package is introduced to create an empty drawing so that all of the cdm data models can be based on the drawing. An empty drawing is created and canvas related parameters are initialized by new mxGraphModel (), mxGraph ().
An entity template in a universal cdm is defined, and the entity template comprises two parts, wherein one part is a title of an entity, and the other part is an attribute of the entity. The entity can be formed by several mxCell types and forms a hierarchical relationship, for example, one mxCell can be defined as a title of an entity class, another one or more mxCell can be defined as an attribute of the entity class, and the attribute can be used as a child element of the title of the entity class
The user data entity and the attribute parameter value can be collected from the drawing interface end to form drawing data, for example, the drawing data can include an entity code, a name, an entity attribute code, an attribute name and the like input by a user;
next, the drawing data may be stored in json form in a specific field of the database; the drawing on the canvas is parsed and updated according to the json drawing data.
The display style of the data entity preset according to different service standards on the drawing is disclosed, so that the plurality of standard templates for drawing are initialized by using the selected standard templates, the standard templates are the display styles of the data entity preset according to the service standards on the drawing and are used for initializing the drawing, the requirement of a built-in nuclear power plant on the style of the conceptual data model is met, and the drawing learning and using cost of personnel is reduced. In addition, the method can be used for expressing in a graphical way, a visual editing interface is provided, the logical relation among the service data of the nuclear power plant can be expressed visually, and the further digital application of the nuclear power plant is facilitated.
In one possible implementation manner, the method may further implement a modification synchronization update function, including:
step 200, when a drawing operation or a modification operation for a current drawing is detected, obtaining drawing data corresponding to the drawing operation or the modification operation (the drawing data may include a modification to a value of any drawing entity described above, for example, the drawing data may include an entity name before and after the modification);
step 201, determining whether the obtained drawing data is associated with drawing data in other drawings, for example, if the drawing data is a modification for an entity, it may be determined whether the entity has a reference relationship and a main sub-relationship with entities in other drawings; for another example, if the drawing data is a modification for an attribute, it may be determined whether the attribute has a reference relationship and an integration relationship with attributes in other drawings.
Step 202, when the obtained drawing data is judged to be associated with the drawing data in other drawings, the current drawing and the drawing data in the associated other drawings are synchronously updated according to the obtained drawing data.
Therefore, when the current drawing is modified, other drawings associated with the current drawing are automatically and synchronously updated, and a user does not need to search the associated drawings one by one for synchronous modification after modifying the current drawing, so that the drawing efficiency is greatly improved, and the mistaken modification and the missed modification are prevented.
In one possible implementation, step 202 further includes:
step 2020, when the obtained drawing data is judged to be associated with drawing data in other drawings, displaying associated information and prompt information, wherein the associated information is used for displaying the association condition of the obtained drawing data and the drawing data in the associated drawings, and the prompt information is used for prompting whether to save drawing operation or modification operation for the current drawing;
step 2021, when the saving operation for the prompt information is detected, according to the obtained drawing data, synchronously updating the drawing data in the current drawing and the associated other drawings;
step 2022, when the abandoning operation for the prompt information is detected, abandoning the acquired drawing data. The drawing data in the current drawing and the associated other drawings are not updated.
In this way, the influence analysis function can be realized through steps 2020 to 2021, in other words, when it is detected that the user changes the current drawing, the influence generated by the current drawing modification operation can be timely reminded to the user, so as to help the user to evaluate the modification operation, and prevent improper modification of the current drawing.
In a possible implementation manner, the association information includes association relationship information and/or influence analysis information;
the association relationship information is used for showing an association relationship (e.g., a main sub-relationship, a reference relationship, etc.) between the obtained drawing data and the associated drawing data, so that the user can be helped to know an association context of the current modified object (e.g., an entity and/or an attribute).
The influence analysis information is used for showing the influence of the drawing operation or the modification operation of the current drawing on the associated drawing (for example, after the current entity is deleted, other entities referring to the entity are also deleted), so that the influence brought by the current drawing modification operation can be clearly shown to the user.
In a possible implementation manner, the method may implement an association relation query function, including:
step 300, when detecting an association query instruction for selected drawing data in the current drawing, judging whether the selected drawing data is associated with drawing data in other drawings;
for example, the user may select (the selected action is, for example, double-click or single-click or frame-selection, etc., and the present disclosure does not limit a specific selection method) an entity in the current drawing, trigger an association query function for the selected entity, send an association query instruction to the terminal device (for example, trigger an association query button for the selected entity, or trigger a menu of an association query, etc., which is not limited by the present disclosure), and after receiving the association query instruction, the terminal device may determine whether the selected drawing data is associated with drawing data in other drawings.
Step 301, when the selected drawing data is judged to be associated with drawing data in other drawings, displaying an association relationship between the selected drawing data and the associated drawing data.
Therefore, the incidence relation of the selected target data is inquired and displayed, so that the user can be helped to inquire the incidence relation of the target data in the current drawing actively, the user can further know the incidence information of the drawing, and the loss caused by mistakenly modifying the drawing is reduced.
In a possible implementation manner, the method may implement an association relation query function, including:
step 400, when an influence inquiry instruction for the selected drawing data in the current drawing is detected, judging whether the selected drawing data is associated with the drawing data in other drawings;
in step 401, when the selected drawing data is judged to be associated with drawing data in other drawings, the influence of the modification operation of the selected drawing data on the associated drawings is shown.
Therefore, the influence analysis of the selected target data can help the user to actively know the influence possibly caused by the modified selected target data, the user can further know the associated information of the drawing, and the loss caused by the mistaken modification of the drawing is reduced.
In one possible implementation manner, the method may implement a drawing search positioning function, including:
step 500, using the selected drawing data in the current drawing or the text input in the position query interface as the target drawing data;
step 501, when a position query instruction for target drawing data is detected, judging whether the selected drawing data is associated with drawing data in other drawings;
step 502, when the target drawing data is judged to be associated with the drawing data in other drawings, showing the drawing associated with the target drawing data, and indicating the position of the drawing data associated with the target drawing data in the shown drawing (for example, the indication may include a highlighted display, a frame selection, or the like, and the present disclosure does not limit the specific manner of the indication).
As such, the present disclosure may look up a plot of the distribution of the plot data and the location within the plot from the selected plot data (e.g., entities or attributes, etc.).
In one possible implementation, the method may implement rapid addition of existing entities or attributes in other data standards, including:
step 600, aiming at the current drawing, when an adding instruction of an entity is detected, displaying one or more entities which are added;
step 601, adding the selected entity in the one or more added entities into the current drawing.
In one possible implementation, the method may implement defining an entity in a drawing according to an entity definition specification built into a system, including:
step 700, for a current drawing, when a definition instruction for a selected entity is detected, displaying an entity definition specification interface, wherein the entity definition specification interface comprises a plurality of preset entity definition items;
step 701, determining the definition of the selected entity according to the input content of the plurality of preset entity definition entries.
In one possible implementation, the method may implement defining attributes in a drawing according to an attribute definition specification built into a system, including:
step 800, for a current drawing, when a definition instruction for a selected attribute is detected, displaying a attribute definition specification interface, wherein the attribute definition specification interface comprises a plurality of preset attribute definition entries;
step 801 determines the definition of the selected attribute based on the input content for a plurality of preset attribute definition entries.
Further details are provided below in connection with an application example.
(1) Creating a canvas tag in HTML, initializing a container object, and setting parameters such as position, overflow, width, height and the like of the container object;
(2) creating an empty drawing and initializing related parameters of a canvas through new mxGraphModel (), mxGraph ();
(3) calling a universal cdma entity template, combining and forming an entity hierarchy through mxCell elements of a graph model, and initializing a drawing entity, attribute related parameters and a style set (according to an enterprise model specification) through style, startSize, fillColor and other parameters of mxCell;
(4) the interface end collects user data entities and attribute parameter values to form drawing data in a combined mode, wherein the drawing data comprise the following data input by a user: entity codes, names, entity attribute codes, attribute names, etc.;
(5) storing the drawing data into a specific field of a database in a json form;
(6) and analyzing and updating the drawing on the canvas according to the json drawing data.
If a hierarchical relationship exists among data entities, an mxCell needs to be defined as a title of an entity class, and one or more mxcells are defined as attributes of the entity class as sub-elements of the title of the entity class.
And (3) re-developing the mxgraph to realize information linkage with a standard management module thereof, combining entity management and a model, wherein the re-development items are as follows:
(1) menu bar
(1-1) hiding various graphic primitive columns on the left side of the original mxgraph and corresponding search functions;
(1-2) hiding all the top menu bars of the original mxgraph to functions;
(2) fast functional zone
(2-1) canceling the information functions of the respective definition primitives, such as setting colors, ground colors, styles and the like;
(2-2) newly adding a drawing searching and positioning function;
(2-3) newly adding a hidden sidebar function;
(2-4) newly adding an influence analysis function, and searching the drawing distribution of the entity based on the selected entity;
(2-5) adding a printing function, and saving a drawing page in png or PDF format;
(2-6) adding a new export entity function, and based on the selected entity, selecting different templates to export the entity field and the attribute thereof;
(3) right functional area
(3-1) hiding a self-defining function of the original mxgraph relative to the requirement of the drawing information on the model specification;
(3-2) adjusting the connecting line type of the original mxgraph to meet the requirement of model definition;
(3-3) adjusting the type of a connecting line arrow of the original mxgraph to enable the type to meet the requirement of model definition;
(3-4) newly adding a standard library where the display drawing is located and a drawing name;
(4) increasing interaction of a model with an entity
(4-1) adding a function of the existing entity which is newly added quickly, and quickly adding the existing entity in other data standards;
(4-2) adding an entity definition visual page, wherein entities in the drawing can be defined according to an entity definition specification built in the system;
(4-3) adding an attribute definition visualization page, and defining entity attributes in the drawing according to an attribute definition specification built in the system;
(4-4) the newly added attribute definition visual page simultaneously supports the following functions:
(4-4-1) adding the new express attribute;
(4-4-2) attribute deletion;
(4-4-2) property editing;
(4-4-3) attribute ordering refresh;
(4-4-4) attribute influence analysis;
(4-4-5) attribute blood margin analysis;
(4-4-6) attribute rapid import generation;
(4-4-7) attribute custom filtering definition fields;
(4-4-8) attribute retrieval;
in one possible implementation, there is provided a drawing device, the device comprising:
the creating module is used for creating a drawing when a drawing creating instruction is detected;
the system comprises a selection module, a drawing module and a display module, wherein the selection module is used for displaying a plurality of standard templates to be selected after drawing is created, and the standard templates are display patterns of data entities preset according to business standards on drawing;
the initialization module is used for initializing the drawing according to the selected standard template when the operation of selecting the standard template is detected;
and the display module is used for displaying a graph corresponding to the drawing operation in the drawing canvas when the drawing operation aiming at the initialized drawing is detected.
The description of the above apparatus has been detailed in the description of the above method, and is not repeated here.
Fig. 2 is a block diagram illustrating a drawing device according to an exemplary embodiment. For example, the apparatus 1900 may be provided as a server. Referring to fig. 2, the device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by the processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the above-described method.
The device 1900 may also include a power component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input/output (I/O) interface 1958. The device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium, such as the memory 1932, is also provided that includes computer program instructions executable by the processing component 1922 of the apparatus 1900 to perform the above-described methods.
The present disclosure may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
Computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some 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.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein were chosen in order to best explain the principles of the embodiments, the practical application, or technical improvements to the techniques in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (13)

1. A method of mapping, the method comprising:
step 100, creating a drawing when a drawing creating instruction is detected;
step 101, after creating a drawing, displaying a plurality of standard templates to be selected, wherein the standard templates are display patterns of data entities preset according to business standards on the drawing;
102, when the operation of selecting the standard template is detected, initializing the drawing according to the selected standard template;
step 103, when the drawing operation for the initialized drawing is detected, showing a graph corresponding to the drawing operation in the drawing canvas.
2. The method of claim 1, further comprising:
200, when a drawing operation or a modification operation for the current drawing is detected, obtaining drawing data corresponding to the drawing operation or the modification operation;
step 201, judging whether the acquired drawing data is associated with drawing data in other drawings;
step 202, when the obtained drawing data is judged to be associated with the drawing data in other drawings, the current drawing and the drawing data in the associated other drawings are synchronously updated according to the obtained drawing data.
3. The method of claim 2, wherein step 202 further comprises:
step 2020, when the obtained drawing data is judged to be associated with drawing data in other drawings, displaying associated information and prompt information, wherein the associated information is used for displaying the association condition of the obtained drawing data and the drawing data in the associated drawings, and the prompt information is used for prompting whether to save drawing operation or modification operation for the current drawing;
step 2021, when the saving operation for the prompt information is detected, according to the obtained drawing data, synchronously updating the drawing data in the current drawing and the associated other drawings;
step 2022, when the abandoning operation for the prompt information is detected, abandoning the acquired drawing data.
4. The method according to claim 3, wherein the association information comprises association relation information and/or influence analysis information;
the incidence relation information is used for displaying the incidence relation between the obtained drawing data and the incidence drawing data;
the influence analysis information is used for showing the influence of the drawing operation or the modification operation of the current drawing on the associated drawing.
5. The method of claim 1, further comprising:
step 300, when detecting an association query instruction for selected drawing data in the current drawing, judging whether the selected drawing data is associated with drawing data in other drawings;
step 301, when the selected drawing data is judged to be associated with drawing data in other drawings, displaying an association relationship between the selected drawing data and the associated drawing data.
6. The method of claim 1, further comprising:
step 400, when an influence inquiry instruction for the selected drawing data in the current drawing is detected, judging whether the selected drawing data is associated with the drawing data in other drawings;
in step 401, when the selected drawing data is judged to be associated with drawing data in other drawings, the influence of the modification operation of the selected drawing data on the associated drawings is shown.
7. The method of claim 1, further comprising:
step 500, using the selected drawing data in the current drawing or the text input in the position query interface as the target drawing data;
step 501, when a position query instruction for target drawing data is detected, judging whether the selected drawing data is associated with drawing data in other drawings;
and 502, when the target drawing data is judged to be associated with the drawing data in other drawings, showing the drawing associated with the target drawing data, and marking the position of the drawing data associated with the target drawing data in the shown drawing.
8. The method of claim 1, further comprising:
step 600, aiming at the current drawing, when an adding instruction of an entity is detected, displaying one or more entities which are added;
step 601, adding the selected entity in the one or more added entities into the current drawing.
9. The method of claim 1, further comprising:
step 700, for a current drawing, when a definition instruction for a selected entity is detected, displaying an entity definition specification interface, wherein the entity definition specification interface comprises a plurality of preset entity definition items;
step 701, determining the definition of the selected entity according to the input content of the plurality of preset entity definition entries.
10. The method of claim 1, further comprising:
step 800, for a current drawing, when a definition instruction for a selected attribute is detected, displaying a attribute definition specification interface, wherein the attribute definition specification interface comprises a plurality of preset attribute definition entries;
step 801 determines the definition of the selected attribute based on the input content for a plurality of preset attribute definition entries.
11. A drawing device, characterized in that the device comprises:
the creating module is used for creating a drawing when a drawing creating instruction is detected;
the system comprises a selection module, a drawing module and a display module, wherein the selection module is used for displaying a plurality of standard templates to be selected after drawing is created, and the standard templates are display patterns of data entities preset according to business standards on drawing;
the initialization module is used for initializing the drawing according to the selected standard template when the operation of selecting the standard template is detected;
and the display module is used for displaying a graph corresponding to the drawing operation in the drawing canvas when the drawing operation aiming at the initialized drawing is detected.
12. A drawing device, characterized in that the device comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of any one of claims 1 to 10.
13. A non-transitory computer readable storage medium having stored thereon computer program instructions, wherein the computer program instructions, when executed by a processor, implement the method of any one of claims 1 to 10.
CN202210749191.6A 2022-06-28 2022-06-28 Drawing method and device Pending CN114972582A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210749191.6A CN114972582A (en) 2022-06-28 2022-06-28 Drawing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210749191.6A CN114972582A (en) 2022-06-28 2022-06-28 Drawing method and device

Publications (1)

Publication Number Publication Date
CN114972582A true CN114972582A (en) 2022-08-30

Family

ID=82966998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210749191.6A Pending CN114972582A (en) 2022-06-28 2022-06-28 Drawing method and device

Country Status (1)

Country Link
CN (1) CN114972582A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170262479A1 (en) * 2016-03-08 2017-09-14 Shutterstock, Inc. User drawing based image search
CN109816750A (en) * 2017-11-22 2019-05-28 广州数鹏通科技有限公司 Image processing method, device and computer equipment based on meteorological data
CN112348922A (en) * 2020-11-06 2021-02-09 长江大学 Method, system and device for automatically drawing logging curve and storage medium
CN112507434A (en) * 2020-12-07 2021-03-16 深圳市安冠科技有限公司 Method for drawing construction drawing based on extensible drawing model
CN114048329A (en) * 2021-11-25 2022-02-15 工银科技有限公司 Knowledge graph construction and display method and device, electronic equipment and medium
CN114564631A (en) * 2022-02-25 2022-05-31 北京沃东天骏信息技术有限公司 Method and device for generating chart, electronic equipment and medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170262479A1 (en) * 2016-03-08 2017-09-14 Shutterstock, Inc. User drawing based image search
CN109816750A (en) * 2017-11-22 2019-05-28 广州数鹏通科技有限公司 Image processing method, device and computer equipment based on meteorological data
CN112348922A (en) * 2020-11-06 2021-02-09 长江大学 Method, system and device for automatically drawing logging curve and storage medium
CN112507434A (en) * 2020-12-07 2021-03-16 深圳市安冠科技有限公司 Method for drawing construction drawing based on extensible drawing model
CN114048329A (en) * 2021-11-25 2022-02-15 工银科技有限公司 Knowledge graph construction and display method and device, electronic equipment and medium
CN114564631A (en) * 2022-02-25 2022-05-31 北京沃东天骏信息技术有限公司 Method and device for generating chart, electronic equipment and medium

Similar Documents

Publication Publication Date Title
US10353701B2 (en) Code analysis for cloud-based integrated development environments
CN109284100B (en) Presentation method and system of graphical programming language for subject cognitive tool
US8739025B2 (en) Systems and methods for navigating to errors in an XBRL document using metadata
US11341324B2 (en) Automatic template generation with inbuilt template logic interface
CN102520966B (en) Method for prompting codes and device
CN110738037A (en) Method, apparatus, device and storage medium for automatically generating electronic form
US11281742B2 (en) Interactive and selective coloring of digital vector glyphs
CN110825766A (en) Query condition generation method and device, server and readable storage medium
CN114020256A (en) Front-end page generation method, device and equipment and readable storage medium
CN114036443A (en) Page generation method and device
Rahman Jump Start Bootstrap: Get Up to Speed with Bootstrap in a Weekend
CN113867694A (en) Method and system for intelligently generating front-end code
CN110531964B (en) Personalized intelligent software development method
CN114972582A (en) Drawing method and device
US20190266265A1 (en) Integrated computing environment for managing and presenting design iterations
CN115756471A (en) Page code generation method and device, electronic equipment and storage medium
CN115080046A (en) Multi-component abstract association fusion method and device in page design
CN114356291A (en) Method, device, equipment and medium for generating form based on configuration file
CN114296726A (en) Code generation method and device, computer equipment and storage medium
CN113656533A (en) Tree control processing method and device and electronic equipment
CN116009863B (en) Front-end page rendering method, device and storage medium
CN111339387B (en) Click feedback acquisition method and device based on information template and electronic equipment
CN115586898A (en) Method and device for generating user interaction UI
US20030033332A1 (en) Control/display unit page builder software tool
CN117667052A (en) Visual processing method, device and system for front-end business logic

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