CN112580124B - Graphic modeling method, device, browser and computer readable storage medium - Google Patents

Graphic modeling method, device, browser and computer readable storage medium Download PDF

Info

Publication number
CN112580124B
CN112580124B CN202011568470.XA CN202011568470A CN112580124B CN 112580124 B CN112580124 B CN 112580124B CN 202011568470 A CN202011568470 A CN 202011568470A CN 112580124 B CN112580124 B CN 112580124B
Authority
CN
China
Prior art keywords
dot
selection instruction
dot element
primitive
user
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.)
Active
Application number
CN202011568470.XA
Other languages
Chinese (zh)
Other versions
CN112580124A (en
Inventor
罗育林
李保珠
陈立
周子强
赵铭
周海
田松林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Southern Power Grid Digital Platform Technology Guangdong Co ltd
Original Assignee
China Southern Power Grid Digital Platform Technology Guangdong 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 China Southern Power Grid Digital Platform Technology Guangdong Co ltd filed Critical China Southern Power Grid Digital Platform Technology Guangdong Co ltd
Priority to CN202011568470.XA priority Critical patent/CN112580124B/en
Publication of CN112580124A publication Critical patent/CN112580124A/en
Application granted granted Critical
Publication of CN112580124B publication Critical patent/CN112580124B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/18Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/04Power grid distribution networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/14Pipes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Human Computer Interaction (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Computational Mathematics (AREA)
  • Architecture (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a graphic modeling method, a device, a browser and a computer readable storage medium, wherein the graphic modeling method is applied to the browser, the browser is provided with a plurality of different preset dot elements, and the method comprises the following steps: map information is acquired; receiving a dot pattern element selection instruction; calling a preset dot element corresponding to the dot element selection instruction according to the dot element selection instruction, and taking the preset dot element as a target dot element; receiving a position selection instruction; determining a target position from the map information according to the position selection instruction; the target dot pattern element is set at the target position. The invention can be widely applied to planning of a power main distribution network, planning of an underground pipe network and planning and maintenance operation of an optical cable and a water service pipeline, so that the operation of checking and editing can be performed only by using CAD drawing software originally can be completed through one browser page, and the operation is more concise and efficient. Therefore, the invention has low cost, low upper threshold, simplicity and easy use and can be customized according to business scenes.

Description

Graphic modeling method, device, browser and computer readable storage medium
Technical Field
The present invention relates to the field of modeling technologies, and in particular, to a graphic modeling method, a graphic modeling apparatus, a browser, and a computer readable storage medium.
Background
For the current mainstream graphic modeling mode, CAD drawing software is often needed, and the following problems exist in using CAD drawing software for graphic modeling: firstly, the use threshold is high, and the operation is difficult for the personnel who are not trained in the related professions, and the personnel are difficult to master through short-term training; secondly, the use cost is high, CAD drawing software is charging software and has low price, and a large amount of software purchasing cost is required for modeling by using the CAD drawing software; third, lacking the customization operation, CAD drawing software is powerful, but many functions are not required in graphic modeling, but high frequency functions required for graphic modeling, CAD drawing software cannot provide rapid operation for rapid customization.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems existing in the prior art. Therefore, the invention provides a graph modeling method, a graph modeling device, a browser and a computer readable storage medium, which have low cost, low upper threshold, simplicity and easiness in use and can be customized according to business scenes.
In a first aspect, an embodiment of the present invention provides a graphical modeling method, which is applied to a browser, where the browser is provided with a plurality of different preset dot elements, and the method includes:
Map information is acquired;
Receiving a dot element selection instruction input by a user;
invoking the preset dot element corresponding to the dot element selection instruction according to the dot element selection instruction, and taking the preset dot element as a target dot element;
Receiving a position selection instruction input by a user;
determining a target position from the map information according to the position selection instruction;
And setting the target point image element at the target position.
The graphic modeling method according to the embodiment of the invention has at least the following beneficial effects: the embodiment of the invention can be widely applied to planning of a power main distribution network, planning of an underground pipe network and planning and maintenance operation of an optical cable and a water service pipeline, so that the operation of checking and editing can be performed only by using CAD drawing software originally can be completed through one browser page, and the operation is more concise and efficient. Therefore, the embodiment of the invention has low cost, low upper threshold, simplicity and easiness in use and can be customized according to business scenes.
According to some embodiments of the invention, further comprising:
counting the calling times of a plurality of preset dot elements;
and sequencing a plurality of preset dot elements from high to low according to the calling times.
According to some embodiments of the invention, further comprising:
And if the target dot element is close to a history dot element, generating a line element to connect the target dot element and the history dot element, wherein the history dot element is the preset dot element which is arranged on the map information.
According to some embodiments of the invention, further comprising:
receiving a line primitive disconnection instruction input by a user;
receiving a line primitive selection instruction input by a user;
And according to the line element disconnection instruction and the line element selection instruction, disconnecting the line element corresponding to the line element selection instruction.
According to some embodiments of the invention, further comprising:
Receiving a dot element dragging instruction input by a user;
Receiving a dot pattern element selection instruction input by a user;
and synchronously dragging the history dot element corresponding to the dot element selection instruction and other history dot elements and all the line elements connected with the history dot element according to the dot element dragging instruction and the dot element selection instruction.
According to some embodiments of the invention, further comprising:
receiving a ranging instruction input by the user;
receiving a primitive selection instruction input by a user, and determining a first primitive and a second primitive according to the primitive selection instruction, wherein the first primitive is the history primitive or the line primitive, and the second primitive is the history primitive or the line primitive;
and calculating a distance value between the first graphic element and the second graphic element according to the distance measurement instruction and the graphic element selection instruction.
According to some embodiments of the invention, at least one of the following is further included:
Receiving an import instruction input by a user, and importing a first CAD format file corresponding to the import instruction according to the import instruction;
and receiving an export instruction input by the user, and exporting a second CAD format file according to the export instruction.
In a second aspect, an embodiment of the present invention further provides a graphic modeling apparatus applied to a browser, the browser being provided with a plurality of different preset dot elements, the graphic modeling apparatus including:
A map information acquisition unit configured to acquire map information;
a dot cell selection instruction receiving unit configured to receive a dot cell selection instruction input by a user;
A calling unit for calling the preset dot element corresponding to the dot element selection instruction according to the dot element selection instruction, and taking the preset dot element as a target dot element;
A position selection instruction receiving unit, configured to receive a position selection instruction input by the user;
A target position selecting unit, configured to determine a target position from the map information according to the position selecting instruction;
And a setting unit configured to set the target dot pattern element at the target position.
The graphic modeling device provided by the embodiment of the invention has at least the following beneficial effects: the embodiment of the invention can be widely applied to planning of a power main distribution network, planning of an underground pipe network and planning and maintenance operation of an optical cable and a water service pipeline, so that the operation of checking and editing can be performed only by using CAD drawing software originally can be completed through one browser page, and the operation is more concise and efficient. Therefore, the embodiment of the invention has low cost, low upper threshold, simplicity and easiness in use and can be customized according to business scenes.
In a third aspect, an embodiment of the present invention further provides a browser, where the browser may perform the graphical modeling method according to the first aspect or include the graphical modeling apparatus according to the second aspect.
The browser provided by the embodiment of the invention has at least the following beneficial effects: the embodiment of the invention can be widely applied to planning of a power main distribution network, planning of an underground pipe network and planning and maintenance operation of an optical cable and a water service pipeline, so that the operation of checking and editing can be performed only by using CAD drawing software originally can be completed through one browser page, and the operation is more concise and efficient. Therefore, the embodiment of the invention has low cost, low upper threshold, simplicity and easiness in use and can be customized according to business scenes.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions for performing the graphical modeling method according to the first aspect.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate and do not limit the invention.
FIG. 1 is a schematic diagram of a system architecture platform for performing a graphical modeling method provided by one embodiment of the present invention;
FIG. 2 is a flow chart of a graphical modeling method provided by one embodiment of the present invention;
FIG. 3 is a flow chart of a graphical modeling method provided by another embodiment of the present invention;
FIG. 4 is a flow chart of a graphical modeling method provided by another embodiment of the present invention;
FIG. 5 is a flow chart of a graphical modeling method provided by another embodiment of the present invention;
FIG. 6 is a flow chart of a graphical modeling method provided by another embodiment of the present invention;
FIG. 7 is a flow chart of a graphical modeling method provided by another embodiment of the present invention;
FIG. 8 is a flow chart of a graphical modeling method provided by another embodiment of the present invention;
FIG. 9 is a flow chart of a graphical modeling method provided by another embodiment of the present invention;
FIG. 10 is a schematic diagram of an operation interface of a browser in a graphical modeling method according to an embodiment of the present invention;
FIG. 11 is a schematic diagram of a graphical modeling apparatus provided in one embodiment of the invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention.
In the description of the present invention, it should be understood that references to orientation descriptions such as upper, lower, front, rear, left, right, etc. are based on the orientation or positional relationship shown in the drawings, are merely for convenience of description of the present invention and to simplify the description, and do not indicate or imply that the apparatus or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus should not be construed as limiting the present invention.
In the description of the present invention, a number means one or more, a number means two or more, and greater than, less than, exceeding, etc. are understood to not include the present number, and above, below, within, etc. are understood to include the present number. The description of the first and second is for the purpose of distinguishing between technical features only and should not be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present invention, unless explicitly defined otherwise, terms such as arrangement, installation, connection, etc. should be construed broadly and the specific meaning of the terms in the present invention can be reasonably determined by a person skilled in the art in combination with the specific contents of the technical scheme.
At present, for the current mainstream graphic modeling mode, CAD drawing software is often needed, and the following problems exist in using CAD drawing software for graphic modeling: firstly, the use threshold is high, and the operation is difficult for the personnel who are not trained in the related professions, and the personnel are difficult to master through short-term training; secondly, the use cost is high, CAD drawing software is charging software and has low price, and a large amount of software purchasing cost is required for modeling by using the CAD drawing software; third, lacking the customization operation, CAD drawing software is powerful, but many functions are not required in graphic modeling, but high frequency functions required for graphic modeling, CAD drawing software cannot provide rapid operation for rapid customization.
Based on this, an embodiment of the present invention provides a graphic modeling method, a graphic modeling apparatus, a browser, and a computer-readable storage medium, wherein the graphic modeling method is applied to the browser, the browser is provided with a plurality of different preset dot elements, the graphic modeling method includes the steps of: map information is acquired; receiving a dot element selection instruction input by a user; calling a preset dot element corresponding to the dot element selection instruction according to the dot element selection instruction, and taking the preset dot element as a target dot element; receiving a position selection instruction input by a user; determining a target position from the map information according to the position selection instruction; the target dot pattern element is set at the target position. According to the technical scheme of the embodiment of the invention, the embodiment of the invention can be widely applied to planning of a power main distribution network, planning of an underground pipe network and planning and maintenance operation of an optical cable and a water service pipeline, so that all functions can be completed through one browser page by using CAD drawing software to view and edit. Therefore, the embodiment of the invention has low cost, low upper threshold, simplicity and easiness in use and can be customized according to business scenes.
Embodiments of the present invention will be further described below with reference to the accompanying drawings.
As shown in fig. 1, fig. 1 is a schematic diagram of a controller 100 for performing a graphical modeling method according to an embodiment of the present invention. The controller 100 of the present embodiment includes one or more processors 110 and a memory 120, and one processor 110 and one memory 120 are illustrated in fig. 1.
The processor 110 and the memory 120 may be connected by a bus or otherwise, which is illustrated in FIG. 1 as a bus connection.
Memory 120, as a non-transitory computer-readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer-executable programs. In addition, memory 120 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 120 optionally includes memory 120 remotely located relative to the processor 110, which may be connected to the controller 100 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Those skilled in the art will appreciate that the device structure shown in fig. 1 is not limiting of the controller 100 and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
In the controller 100 shown in fig. 1, the processor 110 may be used to invoke a graphical modeling program stored in the memory 120 to implement a graphical modeling method.
Based on the hardware structure of the controller 100 described above, various embodiments of the graphical modeling method of the present invention are presented.
Referring to fig. 2, fig. 2 is a flowchart of a graphic modeling method according to an embodiment of the present invention, which is applied to a browser provided with a plurality of different preset dot elements, including, but not limited to, step S110, step S120, step S130, step S140, step S150, and step S160.
Step S110, obtaining map information;
step S120, receiving a dot pattern element selection instruction input by a user;
step S130, calling a preset dot element corresponding to the dot element selection instruction according to the dot element selection instruction, and taking the preset dot element as a target dot element;
step S140, receiving a position selection instruction input by a user;
Step S150, determining a target position from map information according to a position selection instruction;
Step S160, setting the target dot pattern element at the target position.
According to the technical scheme of the embodiment of the invention, the embodiment of the invention can be widely applied to planning of a power main distribution network, planning of an underground pipe network and planning and maintenance operation of an optical cable and a water service pipeline, so that all functions can be completed through one browser page by using CAD drawing software to view and edit. Therefore, the embodiment of the invention has low cost, low upper threshold, simplicity and easiness in use and can be customized according to business scenes.
In the browser, a specific primitive button is clicked to select a corresponding graphic type, and the required graphic can be drawn by clicking at a designated position.
It will be appreciated that with respect to the preset point elements described above, in particular, the preset point elements used to characterize a work well or a tower may be provided.
In addition, referring to fig. 3, fig. 3 is a flowchart of a graphical modeling method according to another embodiment of the present invention, which further includes, but is not limited to, step S210 and step S220.
Step S210, counting the calling times of a plurality of preset dot elements;
Step S220, sorting the plurality of preset dot elements according to the calling times from high to low.
According to the technical scheme of the embodiment of the invention, the calling times of the plurality of preset dot elements can be counted, and the plurality of preset dot elements are sequenced from high to low according to the calling times, so that the preset dot elements used at high frequency can be placed at the most prominent position, and a user can conveniently and quickly select the preset dot elements.
In addition, referring to fig. 4, fig. 4 is a flowchart of a graphical modeling method according to another embodiment of the present invention, and the graphical modeling method further includes, but is not limited to, step S300.
Step S300, if the target dot element is close to the history dot element, generating a line element to connect the target dot element and the history dot element, wherein the history dot element is a preset dot element which is already arranged on the map information.
According to the technical solution of the embodiment of the present invention, when the target dot element is close to the history dot element, the embodiment of the present invention is further capable of generating a line element to connect the target dot element and the history dot element, wherein the history dot element is a preset dot element that has been set on the map information.
Specifically, when the drawn primitive passes through the existing primitive node, the drawn primitive is automatically adsorbed to the existing node, so that the aim of automatically establishing a connection relationship is fulfilled.
In addition, referring to fig. 5, fig. 5 is a flowchart of a graphical modeling method according to another embodiment of the present invention, which further includes, but is not limited to, step S410, step S420, and step S430.
Step S410, receiving a line element disconnection instruction input by a user;
step S420, receiving a line drawing element selection instruction input by a user;
Step S430, according to the line element disconnection instruction and the line element selection instruction, the line element corresponding to the line element selection instruction is disconnected.
According to the technical scheme of the embodiment of the invention, a user can input a line element disconnection instruction and a line element selection instruction, and then the embodiment of the invention disconnects the line element corresponding to the line element selection instruction according to the line element disconnection instruction and the line element selection instruction.
Specifically, the user selects the breaking function in the editing mode and clicks on the line drawing element, so that breaking of the line drawing element can be realized.
In addition, referring to fig. 6, fig. 6 is a flowchart of a graphical modeling method according to another embodiment of the present invention, which further includes, but is not limited to, step S510, step S520, and step S530.
Step S510, receiving a dot element dragging instruction input by a user;
step S520, receiving a dot element selection instruction input by a user;
step S530, synchronously dragging the history dot element corresponding to the dot element selection instruction and other history dot elements and all the line elements connected with the history dot element according to the dot element dragging instruction and the dot element selection instruction.
According to the technical scheme of the embodiment of the invention, a user can input a dot element dragging instruction and a dot element selecting instruction, and then the embodiment of the invention synchronously drags a history dot element corresponding to the dot element selecting instruction, other history dot elements connected with the history dot element and all the dot elements according to the dot element dragging instruction and the dot element selecting instruction.
Specifically, the user selects a point in the edit mode to drag the dot element, and other graphics connected with the dot element move together.
In addition, referring to fig. 7, fig. 7 is a flowchart of a graphical modeling method according to another embodiment of the present invention, which further includes, but is not limited to, step S610, step S620, and step S630.
Step S610, receiving a ranging instruction input by a user;
Step S620, receiving a primitive selection instruction input by a user, and determining a first primitive and a second primitive according to the primitive selection instruction, wherein the first primitive is a history primitive or a line primitive, and the second primitive is a history primitive or a line primitive;
step S630, according to the distance measurement instruction and the primitive selection instruction, a distance value between the first primitive and the second primitive is calculated.
According to the technical scheme of the embodiment of the invention, a user can input a ranging instruction and a primitive selection instruction, and then the embodiment of the invention can determine a first primitive and a second primitive according to the primitive selection instruction, wherein the first primitive is a historical primitive or a primitive, and the second primitive is a historical primitive or a primitive; then, according to the distance measurement instruction and the primitive selection instruction, the embodiment of the invention calculates the distance value between the first primitive and the second primitive.
Specifically, the embodiment of the invention supports inter-primitive ranging in addition to conventional line drawing ranging, and can calculate the straight line distance from the dot primitive to the dot primitive, the nearest point distance from the dot primitive to the line primitive and the nearest distance between the line primitive and the line primitive.
In addition, referring to fig. 8, fig. 8 is a flowchart of a graphical modeling method according to another embodiment of the present invention, which further includes, but is not limited to, step S710.
Step S710, receiving an import instruction input by a user, and importing a first CAD format file corresponding to the import instruction according to the import instruction.
In addition, referring to fig. 9, fig. 9 is a flowchart of a graphical modeling method according to another embodiment of the present invention, and the graphical modeling method further includes, but is not limited to, step S720.
Step S720, receiving an export instruction input by a user, and exporting the second CAD format file according to the export instruction.
Based on the method steps in fig. 8 and fig. 9, according to the technical scheme of the embodiment of the invention, considering that many current graphic modeling files are drawn based on CAD, the embodiment of the invention particularly supports the import and export operations of CAD. Exemplary, a typical usage scenario is that a file created by using CAD is imported into the browser of the embodiment of the present invention, and the file is edited and exported as CAD, so that seamless switching between the browser and CAD tool is realized.
Specifically, the embodiment of the invention supports the importing and exporting operation of the CAD format, and is perfectly compatible with the CAD file format drawn by the traditional drawing tool.
Based on the above-mentioned graphic modeling method, a specific schematic diagram of the graphic modeling method according to an embodiment of the present invention is shown in fig. 10. Fig. 10 is a schematic diagram of an operation interface of a browser in a graphical modeling method according to an embodiment of the present invention.
Based on the flow steps of the graphical modeling method described above, various embodiments of the graphical modeling apparatus of the present invention are presented.
Referring to fig. 11, fig. 11 is a schematic diagram of a graphical modeling apparatus 200 provided in an embodiment of the present invention. The graphic modeling apparatus 200 provided by the embodiment of the invention is applied to a browser, which is provided with a plurality of different preset dot elements, and the graphic modeling apparatus 200 comprises a map information acquisition unit 211, a dot element selection instruction receiving unit 212, a calling unit 213, a position selection instruction receiving unit 214, a target position selection unit 215 and a setting unit 216.
Specifically, the map information acquisition unit 211 is configured to acquire map information;
The dot element selection instruction receiving unit 212 is configured to receive a dot element selection instruction input by a user;
the calling unit 213 is configured to call a preset dot element corresponding to the dot element selection instruction according to the dot element selection instruction, and take the preset dot element as a target dot element;
the position selection instruction receiving unit 214 is configured to receive a position selection instruction input by a user;
the target position selection unit 215 is used for determining a target position from map information according to a position selection instruction;
the setting unit 216 is used to set the target dot element at the target position.
It should be noted that, reference may be made to the specific implementation and technical effects of the graphical modeling apparatus 200 according to the embodiment of the present invention.
In addition, as shown in fig. 11, the graphic modeling apparatus 200 provided in the embodiment of the present invention further includes, but is not limited to, a call number counting unit 221 and a sorting unit 222.
Specifically, the call number statistics unit 221 is configured to count call numbers of a plurality of preset dot elements; the ordering unit 222 is configured to order the plurality of preset dot elements from high to low according to the number of calls.
It should be noted that, reference may be made to the specific implementation and technical effects of the graphical modeling apparatus 200 according to the embodiment of the present invention.
In addition, as shown in fig. 11, the graphic modeling apparatus 200 provided by the embodiment of the present invention further includes, but is not limited to, a wired meta-generation unit 223.
Specifically, if the target dot element is close to the history dot element, the line element generation unit 223 is configured to generate a line element to connect the target dot element and the history dot element, wherein the history dot element is a preset dot element that has been set on the map information.
It should be noted that, reference may be made to the specific implementation and technical effects of the graphical modeling apparatus 200 according to the embodiment of the present invention.
In addition, as shown in fig. 11, the graphic modeling apparatus 200 provided by the embodiment of the present invention further includes, but is not limited to, a wired-element disconnection instruction receiving unit 224, a wired-element selection instruction receiving unit 225, and a disconnection unit 226.
Specifically, the line primitive disconnection instruction receiving unit 224 is configured to receive a line primitive disconnection instruction input by a user; the line primitive selection instruction receiving unit 225 is configured to receive a line primitive selection instruction input by a user; the disconnection unit 226 is configured to disconnect the line element corresponding to the line element selection instruction according to the line element disconnection instruction and the line element selection instruction.
It should be noted that, reference may be made to the specific implementation and technical effects of the graphical modeling apparatus 200 according to the embodiment of the present invention.
In addition, as shown in fig. 11, the graphic modeling apparatus 200 provided by the embodiment of the present invention further includes, but is not limited to, a dot cell drag instruction receiving unit 227, a dot cell selection instruction receiving unit 228, and a drag unit 229.
Specifically, the dot cell drag instruction receiving unit 227 is configured to receive a dot cell drag instruction input by a user; the dot element selection instruction receiving unit 228 is configured to receive a dot element selection instruction input by a user; the drag unit 229 is configured to drag the history dot element corresponding to the dot element selection instruction and other history dot elements and all the line elements connected to the history dot element in synchronization according to the dot element drag instruction and the dot element selection instruction.
It should be noted that, reference may be made to the specific implementation and technical effects of the graphical modeling apparatus 200 according to the embodiment of the present invention.
In addition, as shown in fig. 11, the graphic modeling apparatus 200 provided in the embodiment of the present invention further includes, but is not limited to, a ranging instruction receiving unit 230, a primitive selection instruction receiving unit 231, and a calculating unit 232.
Specifically, the ranging instruction receiving unit 230 is configured to receive a ranging instruction input by a user; the primitive selection instruction receiving unit 231 is configured to receive a primitive selection instruction input by a user, and determine a first primitive and a second primitive according to the primitive selection instruction, where the first primitive is a history primitive or a line primitive, and the second primitive is a history primitive or a line primitive; the calculating unit 232 is configured to calculate a distance value between the first primitive and the second primitive according to the ranging instruction and the primitive selection instruction.
It should be noted that, reference may be made to the specific implementation and technical effects of the graphical modeling apparatus 200 according to the embodiment of the present invention.
In addition, as shown in fig. 11, the graphic modeling apparatus 200 provided in the embodiment of the present invention further includes, but is not limited to, an import unit 233 and an export unit 234.
Specifically, the importing unit 233 is configured to receive an import instruction input by a user, import a first CAD format file corresponding to the import instruction according to the import instruction; the export unit 234 is configured to receive export instructions input by a user, and export the second CAD format file according to the export instructions.
It should be noted that, reference may be made to the specific implementation and technical effects of the graphical modeling apparatus 200 according to the embodiment of the present invention.
Based on the graphic modeling method and the graphic modeling apparatus 200 described above, respective embodiments of the controller, browser, and computer-readable storage medium of the present invention are set forth below, respectively.
In addition, one embodiment of the present invention provides a controller including: memory, a processor, and a computer program stored on the memory and executable on the processor.
The processor and the memory may be connected by a bus or other means.
It should be noted that, the controller in this embodiment may be applied to the system architecture platform in the embodiment shown in fig. 1, and the controller in this embodiment may form a part of the system architecture platform in the embodiment shown in fig. 1, and both belong to the same inventive concept, so that both have the same implementation principle and beneficial effects, which are not described in detail herein.
The non-transitory software programs and instructions required to implement the graphical modeling methods of the above embodiments are stored in memory that, when executed by a processor, perform the graphical modeling methods of the above embodiments, e.g., perform the method steps in fig. 2-9 described above.
In addition, an embodiment of the present invention provides a browser, which may perform the graphical modeling method of any of the above embodiments or include the graphical modeling apparatus of any of the above embodiments.
It should be noted that, since the browser according to the embodiment of the present invention may execute the graphical modeling method according to any one of the embodiments described above or include the graphical modeling apparatus according to any one of the embodiments described above, and the graphical modeling apparatus corresponds to the graphical modeling method, the specific implementation and technical effects of the browser according to the embodiment of the present invention may refer to the specific implementation and technical effects of the graphical modeling method according to any one of the embodiments described above.
Furthermore, an embodiment of the present invention also provides a computer-readable storage medium storing computer-executable instructions for performing the above-described graphic modeling method. For example, the method steps in fig. 2 to 9 described above are performed.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically include computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and may include any information delivery media.
While the preferred embodiment of the present invention has been described in detail, the present invention is not limited to the above embodiments, and those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit and scope of the present invention, and these equivalent modifications or substitutions are included in the scope of the present invention as defined in the appended claims.

Claims (9)

1. A graphical modeling method, characterized by being applied to a browser provided with a plurality of different preset dot elements, comprising:
Map information is acquired;
Receiving a dot element selection instruction input by a user;
invoking the preset dot element corresponding to the dot element selection instruction according to the dot element selection instruction, and taking the preset dot element as a target dot element;
Receiving a position selection instruction input by a user;
determining a target position from the map information according to the position selection instruction;
setting the target dot pattern element at the target position;
wherein the method further comprises:
And if the target dot element is close to a history dot element, generating a line element to connect the target dot element and the history dot element, wherein the history dot element is the preset dot element which is arranged on the map information.
2. The method as recited in claim 1, further comprising:
counting the calling times of a plurality of preset dot elements;
and sequencing a plurality of preset dot elements from high to low according to the calling times.
3. The method as recited in claim 1, further comprising:
receiving a line primitive disconnection instruction input by a user;
receiving a line primitive selection instruction input by a user;
And according to the line element disconnection instruction and the line element selection instruction, disconnecting the line element corresponding to the line element selection instruction.
4. The method as recited in claim 1, further comprising:
Receiving a dot element dragging instruction input by a user;
Receiving a dot pattern element selection instruction input by a user;
and synchronously dragging the history dot element corresponding to the dot element selection instruction and other history dot elements and all the line elements connected with the history dot element according to the dot element dragging instruction and the dot element selection instruction.
5. The method as recited in claim 1, further comprising:
receiving a ranging instruction input by the user;
receiving a primitive selection instruction input by a user, and determining a first primitive and a second primitive according to the primitive selection instruction, wherein the first primitive is the history primitive or the line primitive, and the second primitive is the history primitive or the line primitive;
and calculating a distance value between the first graphic element and the second graphic element according to the distance measurement instruction and the graphic element selection instruction.
6. The method of any one of claims 1 to 5, further comprising at least one of:
Receiving an import instruction input by a user, and importing a first CAD format file corresponding to the import instruction according to the import instruction;
and receiving an export instruction input by the user, and exporting a second CAD format file according to the export instruction.
7. A graphic modeling apparatus, which is applied to a browser provided with a plurality of different preset dot elements, comprising:
A map information acquisition unit configured to acquire map information;
a dot cell selection instruction receiving unit configured to receive a dot cell selection instruction input by a user;
A calling unit for calling the preset dot element corresponding to the dot element selection instruction according to the dot element selection instruction, and taking the preset dot element as a target dot element;
A position selection instruction receiving unit, configured to receive a position selection instruction input by the user;
A target position selecting unit, configured to determine a target position from the map information according to the position selecting instruction;
a setting unit configured to set the target dot pattern element at the target position;
wherein the graphical modeling apparatus further comprises:
A distance relation judging unit configured to judge a distance relation between the target dot element and a history dot element, and if the target dot element is close to the history dot element, generate a line element to connect the target dot element and the history dot element, wherein the history dot element is the preset dot element already set on the map information.
8. A browser, wherein the browser is adapted to perform a graphical modeling method according to any of claims 1 to 6 or comprises a graphical modeling apparatus according to claim 7.
9. A computer-readable storage medium storing computer-executable instructions for performing the graphical modeling method of any of claims 1-6.
CN202011568470.XA 2020-12-25 2020-12-25 Graphic modeling method, device, browser and computer readable storage medium Active CN112580124B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011568470.XA CN112580124B (en) 2020-12-25 2020-12-25 Graphic modeling method, device, browser and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011568470.XA CN112580124B (en) 2020-12-25 2020-12-25 Graphic modeling method, device, browser and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112580124A CN112580124A (en) 2021-03-30
CN112580124B true CN112580124B (en) 2024-05-14

Family

ID=75139891

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011568470.XA Active CN112580124B (en) 2020-12-25 2020-12-25 Graphic modeling method, device, browser and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112580124B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103646091A (en) * 2013-12-17 2014-03-19 北京中电普华信息技术有限公司 Generation method and device of grid graph data
CN106599272A (en) * 2016-12-23 2017-04-26 北京超图软件股份有限公司 Graphic object dynamic plotting method, apparatus and system at browser end
CN109858182A (en) * 2019-02-28 2019-06-07 国电南瑞科技股份有限公司 Editor's display technique of regulation cloud station wiring diagram based on B/S framework
CN109933322A (en) * 2019-01-28 2019-06-25 平安科技(深圳)有限公司 A kind of page editing method, apparatus and computer readable storage medium
CN110188150A (en) * 2019-04-16 2019-08-30 厦门亿力吉奥信息科技有限公司 The modeling method and computer readable storage medium of distribution network line figure
CN111737800A (en) * 2020-06-23 2020-10-02 广联达科技股份有限公司 Primitive selection method and device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103646091A (en) * 2013-12-17 2014-03-19 北京中电普华信息技术有限公司 Generation method and device of grid graph data
CN106599272A (en) * 2016-12-23 2017-04-26 北京超图软件股份有限公司 Graphic object dynamic plotting method, apparatus and system at browser end
CN109933322A (en) * 2019-01-28 2019-06-25 平安科技(深圳)有限公司 A kind of page editing method, apparatus and computer readable storage medium
CN109858182A (en) * 2019-02-28 2019-06-07 国电南瑞科技股份有限公司 Editor's display technique of regulation cloud station wiring diagram based on B/S framework
CN110188150A (en) * 2019-04-16 2019-08-30 厦门亿力吉奥信息科技有限公司 The modeling method and computer readable storage medium of distribution network line figure
CN111737800A (en) * 2020-06-23 2020-10-02 广联达科技股份有限公司 Primitive selection method and device and electronic equipment

Also Published As

Publication number Publication date
CN112580124A (en) 2021-03-30

Similar Documents

Publication Publication Date Title
CN104717342A (en) Method and device for awakening client application based on short message
CN104053126B (en) Show wireless communication terminal, the device and method of both call sides position
CN109447610A (en) Method and apparatus for determining payment channel
CN108460612B (en) Advertisement delivery test method, device and equipment
CN106815934B (en) Charging control method and charging control device
CN111984234A (en) Method and device for processing work order
CN112580124B (en) Graphic modeling method, device, browser and computer readable storage medium
CN102694660B (en) A kind of method and apparatus for carrying out restatement expense to prepaid user
CN115983918A (en) Advertisement pushing method, medium, device and computing equipment
CN108984396A (en) Automatically method and system, the test terminal tested
CN115099801A (en) Payment information processing method and device based on public cloud
CN112598372A (en) Operation billing method and system based on transformer substation wiring diagram and storage medium
CN113190946A (en) Method and related device for displaying switch information by distribution network line distribution diagram
CN112418805A (en) Payroll display system, method, device and medium
CN106445935B (en) Misjudgment processing method and device for click data
CN103227749B (en) Message method and equipment
CN114840112B (en) POP resource management method, device, equipment and computer readable storage medium
CN110189075A (en) A kind of posting address management method, device, equipment and storage medium
CN109615441A (en) The crowd of express delivery cabinet advertisement raises method, apparatus, server and storage medium
CN116208664B (en) Information pushing method
CN112633821B (en) Line management method and device
JP2017151769A (en) Evaluation device and program
CN113741746A (en) Method, system, device and storage medium for visual scene switching
CN110248324B (en) Method and apparatus for traffic sharing settlement
CN113918614A (en) Litigation case information statistical method, device, equipment and 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
CB02 Change of applicant information

Country or region after: China

Address after: 518000 building 501, 502, 601, 602, building D, wisdom Plaza, Qiaoxiang Road, Gaofa community, Shahe street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: China Southern Power Grid Digital Platform Technology (Guangdong) Co.,Ltd.

Address before: 518000 building 501, 502, 601, 602, building D, wisdom Plaza, Qiaoxiang Road, Gaofa community, Shahe street, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: China Southern Power Grid Shenzhen Digital Power Grid Research Institute Co.,Ltd.

Country or region before: China

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant