CN109544680A - A kind of graphical modeling method, apparatus, medium and electronic equipment - Google Patents

A kind of graphical modeling method, apparatus, medium and electronic equipment Download PDF

Info

Publication number
CN109544680A
CN109544680A CN201811418426.3A CN201811418426A CN109544680A CN 109544680 A CN109544680 A CN 109544680A CN 201811418426 A CN201811418426 A CN 201811418426A CN 109544680 A CN109544680 A CN 109544680A
Authority
CN
China
Prior art keywords
div label
div
label
antistatic floor
computer room
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811418426.3A
Other languages
Chinese (zh)
Other versions
CN109544680B (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.)
Taikang Insurance Group Co Ltd
Original Assignee
Taikang Insurance Group 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 Taikang Insurance Group Co Ltd filed Critical Taikang Insurance Group Co Ltd
Priority to CN201811418426.3A priority Critical patent/CN109544680B/en
Publication of CN109544680A publication Critical patent/CN109544680A/en
Application granted granted Critical
Publication of CN109544680B publication Critical patent/CN109544680B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2219/00Indexing scheme for manipulating 3D models or images for computer graphics
    • G06T2219/004Annotating, labelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2219/00Indexing scheme for manipulating 3D models or images for computer graphics
    • G06T2219/20Indexing scheme for editing of 3D models
    • G06T2219/2016Rotation, translation, scaling

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Architecture (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the present invention provides a kind of graphical modeling method, apparatus, medium and electronic equipment.Method includes: to determine the disposing way of the number of antistatic floor and each antistatic floor in machine room area according to the computer room parameter and antistatic floor parameter received;The first DIV label for simulating antistatic floor is obtained, the number of the first acquired DIV label is identical as the number of antistatic floor;Disposing way according to each antistatic floor splices each first DIV label, obtains floor plan;Obtain the 2nd DIV label for being used for simulated target equipment, and the pre-position in computer room plane be arranged in the 2nd DIV label, obtain include target device model computer room model;One of them the 2nd DIV label corresponds to a target device model.The embodiment of the present invention only need to be trained seldom even without training can upper hand operates quickly and neatly for user, complete mathematics library.

Description

A kind of graphical modeling method, apparatus, medium and electronic equipment
Technical field
The present invention relates to mathematics library technical field more particularly to a kind of graphical modeling method, apparatus, medium and electronics Equipment.
Background technique
Data center's visualized O&M is the trend of current data center's O&M, and the mathematics library of data center machine room It is the premise and technological difficulties of visualized O&M.
Current mathematics library method (also referred to as graphical modeling method) is using opengl, and the tools such as unity first make The model of each sub- equipment, and then the model made is assembled into computer room model again.
Although these tools have extraordinary effect, these tools in the fidelity and gorgeous degree of graphical modeling It is required that the operation maintenance personnel of computer room has the technical ability of profession, this is resulted in during subsequent applications, if being related to model modification, increasing Situations such as deleting, needing operation maintenance personnel to pay heavy workload could complete.
Therefore, it is badly in need of a kind of method for only needing operation maintenance personnel that mathematics library can be completed by simple training at present.
Summary of the invention
In view of this, the present invention provides a kind of graphical modeling method, apparatus, medium and electronic equipment, realizing only needs to transport Mathematics library can be completed by simple training in dimension personnel.Technical solution is as follows:
One side based on the embodiment of the present invention, the embodiment of the present invention provide a kind of graphical modeling method, comprising:
According to the computer room parameter and antistatic floor parameter that receive, determine in machine room area the number of antistatic floor and The disposing way of each antistatic floor;
Obtain the first DIV label (DIV block separates label) for simulating antistatic floor, acquired first The number of DIV label and the number of antistatic floor are identical, and the corresponding antistatic floor of a first DIV label;
Disposing way according to each antistatic floor splices each first DIV label, obtains floor plan;
The 2nd DIV label for being used for simulated target equipment is obtained, and the 2nd DIV label is arranged in the machinery room flat Pre-position in face, obtain include target device model computer room model, the corresponding mesh of one of them the 2nd DIV label Marking device model.
Optionally, the 2nd DIV label includes words identification and/or pattern identification.
Optionally, the area of the 2nd DIV label is greater than the area of the first DIV label.
Optionally, the method also includes:
When receiving zoom control instruction, using a historical parameter value of the first DIV label as former base numerical value, and according to According to the zoom control parameter for including in zoom control instruction, the first DIV label executed after zoom operations that will be estimated Parameter value as existing base value;
The former base numerical value and the existing base value are compared, a ratio value is calculated;
The offset of device location is calculated according to the ratio value;
According to the offset of the device location, wash with watercolours again is carried out to the computer room model including target device model Dye.
Optionally, after render again to the computer room model including target device model, the method is also Include:
When getting a 2nd new DIV label again, new the 2nd DIV mark is calculated according to the ratio value The pixel value of label;
According to the pixel value of the 2nd new DIV label, the 2nd new DIV label is arranged in the computer room mould Predetermined position in type.
Optionally, the 2nd DIV label includes identity, and the identity is encoded with corresponding asset of equipments Association.
Optionally, the method also includes:
When choosing instruction of the 2nd DIV label is chosen when receiving, the identity mark according to the 2nd DIV label Know, determines asset of equipments coding corresponding with the 2nd DIV label;
It is encoded according to the asset of equipments, obtains asset of equipments information.
Another aspect based on the embodiment of the present invention, the embodiment of the present invention provide a kind of graphical modeling device, comprising:
Parameter calculation unit, for determining in machine room area according to the computer room parameter and antistatic floor parameter received The disposing way of the number of antistatic floor and each antistatic floor;
First acquisition unit, for obtaining the first DIV label for simulating antistatic floor, the first acquired DIV The number of label and the number of antistatic floor are identical, and the corresponding antistatic floor of a first DIV label;
Concatenation unit splices each first DIV label for the disposing way according to each antistatic floor, obtains To floor plan;
Second acquisition unit is marked for obtaining the 2nd DIV label for being used for simulated target equipment, and by the 2nd DIV Sign the pre-position that is arranged in the floor plan, obtain include target device model computer room model;One of them 2nd DIV label corresponds to a target device model.
It is based on the embodiment of the present invention in another aspect, the embodiment of the present invention provides a kind of storage medium, be stored thereon with journey Sequence realizes previously described graphical modeling method when described program is executed by processor.
It is based on the embodiment of the present invention in another aspect, the embodiment of the present invention provide a kind of electronic equipment, comprising: processor; And memory, for storing the executable instruction of the processor;Wherein, the processor is configured to via can described in execution It executes instruction to execute previously described graphical modeling method.
In graphical modeling method, apparatus provided in an embodiment of the present invention, medium and electronic equipment, the first DIV label is used (DIV block separates label) simulates antistatic floor, using the 2nd DIV tag analog target device, by each first DIV label is spliced to obtain floor plan, and then the 2nd DIV label is arranged in the pre-position in floor plan, Obtain include target device model computer room model, to complete the graphical modeling of computer room model.The embodiment of the present invention will be simulated 2nd DIV label of target device is nested on the first DIV label of simulation antistatic floor, has used DIV label nesting DIV The method of label, compared to existing mathematics library method, the graphical modeling method of the embodiment of the present invention for user and Speech only need to be trained seldom even without training can upper hand operates quickly and neatly, complete mathematics library, and the present invention The graphical modeling method drafting speed of embodiment is fast, freedom degree is high.
In addition, graphical modeling method provided in an embodiment of the present invention is not high for the hardware device configuration requirement of operation, adopt The illustraton of model drawn with graphical modeling method provided in an embodiment of the present invention can use on mobile terminal, this is in convenience It is greatly improved in usage scenario.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of graphical modeling method provided in an embodiment of the present invention;
Fig. 2 is the computer room floor map in the embodiment of the present invention;
Fig. 3 is the computer room model schematic in the embodiment of the present invention comprising target device model;
Fig. 4 is a kind of flow chart of computer room scaling of model control method provided in an embodiment of the present invention;
Fig. 5 is that asset of equipments information shows schematic diagram in the embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of graphical modeling device provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another graphical modeling device provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of another graphical modeling device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
As shown in Figure 1, it illustrates a kind of flow chart of graphical modeling method provided in an embodiment of the present invention, method can be with Include:
Step 101, according to the computer room parameter and antistatic floor parameter received, antistatic floor in machine room area is determined Number and each antistatic floor disposing way.
Wherein computer room parameter may include the length value and width value of computer room, and antistatic floor parameter may include antistatic The length value and width value on floor.
In the actual application of the embodiment of the present invention, user can input the length of computer room by fixed interface Length value, the width value of value, width value and antistatic floor, and then system is calculated according to length value, the width value of computer room The area of antistatic floor is calculated in length value, width value to machine room area, and according to antistatic floor.Further, System determines the number of antistatic floor required for being laid with the machine room area according to the area of machine room area and antistatic floor And the disposing way of each antistatic floor.
It should be noted that in practical applications, adverse effect of the electrostatic to calculator room equipment in order to prevent, at present in data The heart generally can all be laid with antistatic floor, which generally waits than square.
Step 102, the first DIV label for simulating antistatic floor, the number of the first acquired DIV label are obtained It is identical as the number of antistatic floor, and the corresponding antistatic floor of a first DIV label.
In the embodiment of the present invention, the first DIV tag analog antistatic floor, one of them the first DIV tag analog are utilized One piece of antistatic floor, therefore the embodiment of the present invention obtains and the first DIV label of antistatic floor same number.
Step 103, each first DIV label is spliced according to the disposing way of each antistatic floor, obtains machine Room plan view.
According to the disposing way of each antistatic floor, the embodiment of the present invention splices each first DIV label, from And floor plan being obtained, such as shown in Fig. 2, each square is a first DIV label in Fig. 2.
Step 104, the 2nd DIV label for being used for simulated target equipment is obtained, and the 2nd DIV label is arranged in institute State the pre-position in floor plan, obtain include target device model computer room model;One of them the 2nd DIV label A corresponding target device model.
In the embodiment of the present invention, the corresponding target device model of a 2nd DIV label, different target device model pair The 2nd DIV label answered can be different, such as the corresponding 2nd DIV label of cabinet model can be rectangle, computer terminal mould The corresponding 2nd DIV label of type can be circle etc..In the embodiment of the present invention, the area of the 2nd DIV label can be greater than first The area of DIV label.
The embodiment of the present invention obtains the 2nd DIV label for being used for simulated target equipment after obtaining floor plan, and The pre-position in floor plan can be arranged in the 2nd DIV label for example, by mouse event in HTML, that is, 2nd DIV label is nested on the first DIV label of simulation antistatic floor.Wherein the predetermined position in floor plan can To be that the second DIV label is finally rested on to certain in floor plan during user arbitrarily drags the 2nd DIV label A position is also possible to calculate previously according to the specific location for the device model for needing to be placed in floor plan It arrives.
Behind the pre-position that the 2nd DIV label that will be used for simulated target equipment is arranged in floor plan, just The available computer room model including target device model, as shown in Figure 3.
As a preferred embodiment of the embodiment of the present invention, can wrap in the 2nd DIV label in the embodiment of the present invention Containing words identification and/or pattern identification, so that the meaning of the 2nd DIV label representative can be recognized accurately in user.With Fig. 3 institute It is shown as example, includes 4 the 2nd DIV labels, " ECC cabinet 1 " therein, " ECC cabinet 2 ", " ECC cabinet 3 ", " ECC machine in Fig. 3 Cabinet 4 " is the words identification of 4 the 2nd DIV labels respectively, and such user can understand and accurately know 4 in Fig. 3 2nd DIV label is 4 ECC cabinets respectively.
In graphical modeling method provided in an embodiment of the present invention, using the first DIV tag analog antistatic floor, is used Two DIV tag analog target devices, by being spliced to obtain floor plan to each first DIV label, and then in computer room The 2nd DIV label is arranged in pre-position in plan view, obtain include target device model computer room model, to complete machine The graphical modeling of room model.2nd DIV label of simulated target equipment is nested in simulation antistatic floor by the embodiment of the present invention The first DIV label on, the method for having used DIV label nesting DIV label, compared to existing mathematics library method, this For the graphical modeling method of inventive embodiments for user, only need to seldom train can be quickly and clever even without training Mathematics library is completed in hand operation in ground living, and the graphical modeling method drafting speed of the embodiment of the present invention is fast, freedom degree is high.
In addition, graphical modeling method provided in an embodiment of the present invention is not high for the hardware device configuration requirement of operation, adopt The illustraton of model drawn with graphical modeling method provided in an embodiment of the present invention can use on mobile terminal, this is in convenience It is greatly improved in usage scenario.
After the completion of computer room model modeling, the scaling to computer room model, and newly-increased, deletion, modification second can be related to The situation of DIV label etc., below applicant by respectively to computer room model scaling, the 2nd DIV label it is newly-increased, delete, modification Etc. implementation methods be illustrated.
In practical applications, it needs emphasis to consider the zoom control of computer room model, is waiting the mistake than amplifying and reducing How Cheng Zhong is calculated the coordinate position in the computer room model of each device model after scaling, accurately to guarantee equipment mould Positioning of the type in computer room model is not in deviation.
In view of this, as shown in figure 4, computer room scaling of model control method provided in an embodiment of the present invention includes:
Step 201, when receiving zoom control instruction, using a historical parameter value of the first DIV label as former base Numerical value, and according to the zoom control parameter for including in zoom control instruction, the executed after zoom operations that will be estimated The parameter value of one DIV label is as existing base value.
Wherein a historical parameter value of the first DIV label can be the parameter value of the first initially original DIV label, Before can be the first DIV label execution zoom control, current parameter value, wherein the parameter value of the first DIV label can be specific For the length value and width value of the first DIV label.
Include zoom control parameter in zoom control instruction, execution can be estimated in advance according to the zoom control parameter The parameter value of the first DIV label after complete zoom operations, and then the first DIV label executed after zoom operations that will be estimated out Parameter value as existing base value.
Step 202, the former base numerical value and the existing base value are compared, a ratio value is calculated.
The ratio value embodies zoom degree.
Step 203, the offset of device location is calculated according to the ratio value.
Based on the ratio value, the offset of device location can be calculated according to preset formula.
Step 204, the offset according to the device location carries out the computer room model including target device model Again it renders.
The computer room of device model after scaling based on the offset for the device location being calculated, after can determining scaling In coordinate position, and then to including that the computer room model of device model after scaling is rendered again, to obtain executing contracting Computer room model after putting completes the zoom control of computer room model.
During the amplification of computer room model and diminution, the embodiment of the present invention will be used to simulate the first of antistatic floor The length and width of DIV label are as former base numerical value, using the length and width of the first DIV label after scaling as existing base value, and then to original Base value and existing base value compare, and a ratio value are calculated, then calculate the inclined of device location based on the ratio value Shifting amount, to be rendered again according to offset to computer room model, this can guarantee for simulated target device model Two DIV labels are not deviated relative to the position of the first DIV label for simulating antistatic floor, i.e. guarantee target device Positioning of the model in computer room model is not in deviation.
Further, if after having executed zoom control to computer room model, when needing to adjust the 2nd DIV label, specifically Ground:
If necessary to delete some the 2nd DIV label, then can directly select some the 2nd DIV label, delete this Two DIV labels;If necessary to modify some the 2nd DIV label, then some the 2nd DIV label can be directly selected, it is modified Parameter etc.;And increase some the 2nd DIV label newly if necessary, then it should be noted that the dimension scale of the 2nd newly-increased DIV label is wanted It is consistent with the dimension scale of computer room model after zoom control has been executed, therefore, the embodiment of the present invention get one it is new When the 2nd DIV label, it is first depending on the pixel value that the ratio value being calculated above calculates the 2nd new DIV label, into And the pixel value according to the 2nd new DIV label, the 2nd new DIV label is arranged in default in computer room model At position, thereby guarantees that the dimension scale of the 2nd newly-increased DIV label and executed the size of the computer room model after zoom control Ratio is consistent.
Further, on the basis of previous embodiment, the embodiment of the present invention it is further proposed that: the 2nd DIV label may be used also With comprising identity, such as ID, and the identity is encoded with corresponding asset of equipments and is associated with.In this way, being chosen when receiving When choosing instruction of some the 2nd DIV label, system can according to the identity of the 2nd DIV label, determine with this second The corresponding asset of equipments coding of DIV label, and then encoded according to asset of equipments, asset of equipments information is obtained, to export displaying Asset of equipments information, such as shown in Fig. 5.
A kind of figure is also provided based on a kind of graphical modeling method provided in an embodiment of the present invention, the embodiment of the present invention above Model building device, as shown in fig. 6, device may include: parameter calculation unit 10, first acquisition unit 20, concatenation unit 30 and Two acquiring units 40.Wherein,
Parameter calculation unit 10, for determining machine room area according to the computer room parameter and antistatic floor parameter received The disposing way of the number of interior antistatic floor and each antistatic floor;
First acquisition unit 20, for obtaining the first DIV label for simulating antistatic floor, acquired first The number of DIV label and the number of antistatic floor are identical, and the corresponding antistatic floor of a first DIV label;
Concatenation unit 30 splices each first DIV label for the disposing way according to each antistatic floor, Obtain floor plan;
Second acquisition unit 40, for obtaining the 2nd DIV label for being used for simulated target equipment, and by the 2nd DIV The pre-position in the floor plan is arranged in label, obtain include target device model computer room model;Wherein one The corresponding target device model of a 2nd DIV label.
In the embodiment of the present invention, the 2nd DIV label may include words identification and/or pattern identification, and described second The area of DIV label is greater than the area of the first DIV label.
Optionally, as shown in fig. 7, graphical modeling device provided in an embodiment of the present invention can also include:
First instruction receiving unit 50, for receiving zoom control instruction;
Pretreatment unit 60, for first instruction receiving unit 50 receive zoom control instruction when, by first One historical parameter value of DIV label is joined as former base numerical value, and according to the zoom control for including in zoom control instruction Number, using the parameter value for having executed the first DIV label after zoom operations estimated as existing base value;
Ratio value computing unit 70 is calculated for comparing the former base numerical value and the existing base value One ratio value;
Offset computation unit 80, for calculating the offset of device location according to the ratio value;
Rendering unit 90, for the offset according to the device location, to the computer room including target device model Model is rendered again.
It is further preferred that the rendering unit 90 is rendered it to the computer room model for including target device model again Afterwards, graphical modeling device provided in an embodiment of the present invention can also include: pixel value calculating unit 100, for that ought obtain again When to a 2nd new DIV label, the pixel value of the 2nd new DIV label is calculated according to the ratio value;
The second acquisition unit 40 is also used at this time, will be described new according to the pixel value of the 2nd new DIV label The 2nd DIV label the predetermined position in the computer room model is set.
And optionally, the 2nd DIV label in the embodiment of the present invention may include identity, and the identity It encodes and is associated with corresponding asset of equipments.
At this time as shown in figure 8, graphical modeling device provided in an embodiment of the present invention can also include:
Second instruction receiving unit 110, for receive choose the 2nd DIV label choose instruction;
Asset of equipments encodes determination unit 120, for choosing described the when second instruction receiving unit 110 receives When choosing instruction of two DIV labels, according to the identity of the 2nd DIV label, determination is corresponding with the 2nd DIV label Asset of equipments coding;
Asset of equipments information acquisition unit 130 obtains asset of equipments information for encoding according to the asset of equipments.
The graphical modeling device includes processor and memory, above-mentioned parameter computing unit 10, first acquisition unit 20, Concatenation unit 30, second acquisition unit 40, the first instruction receiving unit 50, pretreatment unit 60, ratio value computing unit 70, partially Shifting amount computing unit 80, rendering unit 90, pixel value calculating unit 100, the second instruction receiving unit 110, asset of equipments coding Determination unit 120 and asset of equipments information acquisition unit 130 etc. store in memory as program unit, are held by processor Above procedure unit stored in memory go to realize corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one Or more, graphical modeling is realized by adjusting kernel parameter.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include that at least one is deposited Store up chip.
The embodiment of the invention provides a kind of storage mediums, are stored thereon with program, real when which is executed by processor The existing graphical modeling method.
The embodiment of the invention provides a kind of processor, the processor is for running program, wherein described program operation Graphical modeling method described in Shi Zhihang.
The embodiment of the invention provides a kind of electronic equipment, equipment includes processor, memory and stores on a memory And the program that can be run on a processor, processor perform the steps of when executing program
According to the computer room parameter and antistatic floor parameter that receive, determine in machine room area the number of antistatic floor and The disposing way of each antistatic floor;
Obtain the first DIV label for simulating antistatic floor, the number and antistatic of the first acquired DIV label The number on floor is identical, and the corresponding antistatic floor of a first DIV label;
Disposing way according to each antistatic floor splices each first DIV label, obtains floor plan;
The 2nd DIV label for being used for simulated target equipment is obtained, and the 2nd DIV label is arranged in the machinery room flat Pre-position in face, obtain include target device model computer room model, the corresponding mesh of one of them the 2nd DIV label Marking device model.
Optionally, the 2nd DIV label includes words identification and/or pattern identification.
Optionally, the area of the 2nd DIV label is greater than the area of the first DIV label.
Optionally, the method also includes:
When receiving zoom control instruction, using a historical parameter value of the first DIV label as former base numerical value, and according to According to the zoom control parameter for including in zoom control instruction, the first DIV label executed after zoom operations that will be estimated Parameter value as existing base value;
The former base numerical value and the existing base value are compared, a ratio value is calculated;
The offset of device location is calculated according to the ratio value;
According to the offset of the device location, wash with watercolours again is carried out to the computer room model including target device model Dye.
Optionally, after render again to the computer room model including target device model, the method is also Include:
When getting a 2nd new DIV label again, new the 2nd DIV mark is calculated according to the ratio value The pixel value of label;
According to the pixel value of the 2nd new DIV label, the 2nd new DIV label is arranged in the computer room mould Predetermined position in type.
Optionally, the 2nd DIV label includes identity, and the identity is encoded with corresponding asset of equipments Association.
Optionally, the method also includes:
When choosing instruction of the 2nd DIV label is chosen when receiving, the identity mark according to the 2nd DIV label Know, determines asset of equipments coding corresponding with the 2nd DIV label;
It is encoded according to the asset of equipments, obtains asset of equipments information.
Equipment herein can be server, PC, PAD, mobile phone etc..
Present invention also provides a kind of computer program products, when executing on data processing equipment, are adapted for carrying out just The program of beginningization there are as below methods step:
According to the computer room parameter and antistatic floor parameter that receive, determine in machine room area the number of antistatic floor and The disposing way of each antistatic floor;
Obtain the first DIV label for simulating antistatic floor, the number and antistatic of the first acquired DIV label The number on floor is identical, and the corresponding antistatic floor of a first DIV label;
Disposing way according to each antistatic floor splices each first DIV label, obtains floor plan;
The 2nd DIV label for being used for simulated target equipment is obtained, and the 2nd DIV label is arranged in the machinery room flat Pre-position in face, obtain include target device model computer room model, the corresponding mesh of one of them the 2nd DIV label Marking device model.
Optionally, the 2nd DIV label includes words identification and/or pattern identification.
Optionally, the area of the 2nd DIV label is greater than the area of the first DIV label.
Optionally, the method also includes:
When receiving zoom control instruction, using a historical parameter value of the first DIV label as former base numerical value, and according to According to the zoom control parameter for including in zoom control instruction, the first DIV label executed after zoom operations that will be estimated Parameter value as existing base value;
The former base numerical value and the existing base value are compared, a ratio value is calculated;
The offset of device location is calculated according to the ratio value;
According to the offset of the device location, wash with watercolours again is carried out to the computer room model including target device model Dye.
Optionally, after render again to the computer room model including target device model, the method is also Include:
When getting a 2nd new DIV label again, new the 2nd DIV mark is calculated according to the ratio value The pixel value of label;
According to the pixel value of the 2nd new DIV label, the 2nd new DIV label is arranged in the computer room mould Predetermined position in type.
Optionally, the 2nd DIV label includes identity, and the identity is encoded with corresponding asset of equipments Association.
Optionally, the method also includes:
When choosing instruction of the 2nd DIV label is chosen when receiving, the identity mark according to the 2nd DIV label Know, determines asset of equipments coding corresponding with the 2nd DIV label;
It is encoded according to the asset of equipments, obtains asset of equipments information.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that the embodiment of the present invention can provide as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the present invention Form.It is deposited moreover, the present invention can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The above is only the embodiment of the present invention, are not intended to restrict the invention.To those skilled in the art, The invention may be variously modified and varied.It is all within the spirit and principles of the present invention made by any modification, equivalent replacement, Improve etc., it should be included within scope of the presently claimed invention.

Claims (10)

1. a kind of graphical modeling method characterized by comprising
According to the computer room parameter and antistatic floor parameter that receive, the number of antistatic floor and each is determined in machine room area The disposing way of antistatic floor;
Obtain the first DIV label for simulating antistatic floor, the number and antistatic floor of the first acquired DIV label Number it is identical, and the corresponding antistatic floor of the first DIV label;
Disposing way according to each antistatic floor splices each first DIV label, obtains floor plan;
The 2nd DIV label for being used for simulated target equipment is obtained, and the 2nd DIV label is arranged in the computer room plane Pre-position, obtain include target device model computer room model, the corresponding target of one of them the 2nd DIV label sets Standby model.
2. the method according to claim 1, wherein the 2nd DIV label includes words identification and/or figure Mark.
3. the method according to claim 1, wherein the area of the 2nd DIV label is greater than the first DIV The area of label.
4. method according to claim 1-3, which is characterized in that the method also includes:
When receiving zoom control instruction, using a historical parameter value of the first DIV label as former base numerical value, and according to institute The zoom control parameter for including in zoom control instruction is stated, the ginseng for having executed the first DIV label after zoom operations that will be estimated Numerical value is as existing base value;
The former base numerical value and the existing base value are compared, a ratio value is calculated;
The offset of device location is calculated according to the ratio value;
According to the offset of the device location, the computer room model including target device model is rendered again.
5. according to the method described in claim 4, it is characterized in that, to the computer room model including target device model into After row renders again, the method also includes:
When getting a 2nd new DIV label again, the 2nd new DIV label is calculated according to the ratio value Pixel value;
According to the pixel value of the 2nd new DIV label, the 2nd new DIV label is arranged in the computer room model Predetermined position.
6. method according to claim 1-3, which is characterized in that
The 2nd DIV label includes identity, and the identity is encoded with corresponding asset of equipments and is associated with.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
When choosing instruction of the 2nd DIV label is chosen when receiving, according to the identity of the 2nd DIV label, really Fixed asset of equipments coding corresponding with the 2nd DIV label;
It is encoded according to the asset of equipments, obtains asset of equipments information.
8. a kind of graphical modeling device characterized by comprising
Parameter calculation unit, for according to the computer room parameter and antistatic floor parameter that receive, determine prevent in machine room area it is quiet The disposing way of the number on electric floor and each antistatic floor;
First acquisition unit, for obtaining the first DIV label for simulating antistatic floor, the first acquired DIV label Number it is identical as the number of antistatic floor, and the corresponding antistatic floor of the first DIV label;
Concatenation unit splices each first DIV label for the disposing way according to each antistatic floor, obtains machine Room plan view;
Second acquisition unit for obtaining the 2nd DIV label for being used for simulated target equipment, and the 2nd DIV label is set Set the pre-position in the floor plan, obtain include target device model computer room model;One of them second DIV label corresponds to a target device model.
9. a kind of storage medium, which is characterized in that be stored thereon with program, realize that right is wanted when described program is executed by processor Graphical modeling method described in asking any one of 1 to 7.
10. a kind of electronic equipment characterized by comprising processor;And memory, it can for store the processor It executes instruction;Wherein, the processor is configured to come via the execution executable instruction any in perform claim requirement 1 to 7 Graphical modeling method described in.
CN201811418426.3A 2018-11-26 2018-11-26 Graphic modeling method, device, medium and electronic equipment Active CN109544680B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811418426.3A CN109544680B (en) 2018-11-26 2018-11-26 Graphic modeling method, device, medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811418426.3A CN109544680B (en) 2018-11-26 2018-11-26 Graphic modeling method, device, medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN109544680A true CN109544680A (en) 2019-03-29
CN109544680B CN109544680B (en) 2023-06-16

Family

ID=65850236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811418426.3A Active CN109544680B (en) 2018-11-26 2018-11-26 Graphic modeling method, device, medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN109544680B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110063328A1 (en) * 2009-09-15 2011-03-17 HNTB Holdings, Ltd. Positioning labels in an engineering drawing
CN106155002A (en) * 2015-04-17 2016-11-23 乐金电子研发中心(上海)有限公司 Intelligent domestic system
CN106776207A (en) * 2016-12-02 2017-05-31 郑州云海信息技术有限公司 A kind of data center's monitoring system
CN106777607A (en) * 2016-12-02 2017-05-31 郑州云海信息技术有限公司 A kind of computer room rack modeling method and system for data center
CN106991151A (en) * 2017-03-28 2017-07-28 上海烟草集团有限责任公司 A kind of graphic method and device managed for calculator room equipment
CN107452063A (en) * 2017-08-07 2017-12-08 郑州云海信息技术有限公司 A kind of construction method and device of cloud data center three-dimensional 3D intelligent monitoring computer rooms
CN107809339A (en) * 2017-11-30 2018-03-16 新华三技术有限公司 Link display methods, link generation method and device
CN108229037A (en) * 2018-01-10 2018-06-29 广东工业大学 A kind of modeling method and device based on BIM

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110063328A1 (en) * 2009-09-15 2011-03-17 HNTB Holdings, Ltd. Positioning labels in an engineering drawing
CN106155002A (en) * 2015-04-17 2016-11-23 乐金电子研发中心(上海)有限公司 Intelligent domestic system
CN106776207A (en) * 2016-12-02 2017-05-31 郑州云海信息技术有限公司 A kind of data center's monitoring system
CN106777607A (en) * 2016-12-02 2017-05-31 郑州云海信息技术有限公司 A kind of computer room rack modeling method and system for data center
CN106991151A (en) * 2017-03-28 2017-07-28 上海烟草集团有限责任公司 A kind of graphic method and device managed for calculator room equipment
CN107452063A (en) * 2017-08-07 2017-12-08 郑州云海信息技术有限公司 A kind of construction method and device of cloud data center three-dimensional 3D intelligent monitoring computer rooms
CN107809339A (en) * 2017-11-30 2018-03-16 新华三技术有限公司 Link display methods, link generation method and device
CN108229037A (en) * 2018-01-10 2018-06-29 广东工业大学 A kind of modeling method and device based on BIM

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨德胜: "融合KKS与RFID机房整体运维关键技术研究", 《微型电脑应用》 *

Also Published As

Publication number Publication date
CN109544680B (en) 2023-06-16

Similar Documents

Publication Publication Date Title
CN109542789B (en) Code coverage rate statistical method and device
CN108052979A (en) The method, apparatus and equipment merged to model predication value
CN110415521A (en) Prediction technique, device and the computer readable storage medium of traffic data
CN108205960A (en) Method and apparatus, electron map manufacturing system and the navigation system that a kind of word renders
CN110245475A (en) Auth method and device
CN110120087B (en) Label marking method and device for three-dimensional virtual sand table and terminal equipment
CN109699002B (en) Indoor WiFi positioning method and device and terminal equipment
CN112241565A (en) Modeling method and related device
CN108829503A (en) Method for scheduling task, device, system, medium and electronic equipment
CN110348109A (en) The method and terminal device of three-dimensional artificial training data processing
CN109683773A (en) Corpus labeling method and device
CN114297746A (en) Rendering method and device of building information model, electronic equipment and storage medium
US20150277434A1 (en) Production plan creation support method and production plan creation support apparatus
CN113515799B (en) Equipment model batch arrangement method and device for building information model
CN109726755A (en) A kind of picture mask method, device and electronic equipment
CN109961516A (en) Surface acquisition methods, device and non-transient computer-readable recording medium
CN110020343A (en) The determination method and apparatus of web page coding format
CN109544680A (en) A kind of graphical modeling method, apparatus, medium and electronic equipment
CN109857964A (en) A kind of heating power drawing drawing method, device, storage medium and the processor of page operation
CN110020016A (en) Data visualization methods of exhibiting and device
CN109598524A (en) Brand exposure effect analysis method and device
CN110457010A (en) Method and device based on cooperation platform mass change job order
CN105184641A (en) Interactive processing method and device
CN110209769A (en) Text filling method and device
Ferreira et al. Digital twins to monitor physical resources at construction sites with web application

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant