CN114518815A - Method, device, equipment, medium and program product for displaying construction drawing - Google Patents

Method, device, equipment, medium and program product for displaying construction drawing Download PDF

Info

Publication number
CN114518815A
CN114518815A CN202210168826.3A CN202210168826A CN114518815A CN 114518815 A CN114518815 A CN 114518815A CN 202210168826 A CN202210168826 A CN 202210168826A CN 114518815 A CN114518815 A CN 114518815A
Authority
CN
China
Prior art keywords
display
user
layer
target layer
determining
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
CN202210168826.3A
Other languages
Chinese (zh)
Other versions
CN114518815B (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.)
Alibaba China Co Ltd
Original Assignee
Alibaba China 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 Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN202210168826.3A priority Critical patent/CN114518815B/en
Publication of CN114518815A publication Critical patent/CN114518815A/en
Application granted granted Critical
Publication of CN114518815B publication Critical patent/CN114518815B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a display method, a display device, equipment, a medium and a program product of a construction drawing, wherein the display method of the construction drawing comprises the following steps: determining a display scale according to a drawing display instruction triggered by a user; determining a target layer of a building drawing according to the display proportion, wherein the building drawing comprises a plurality of preset layers, and each layer comprises display data under the corresponding display proportion; and rendering and displaying the target layer, so that the lightweight display of a large quantity of building drawings based on the zooming operation is realized, the rendering data volume of the building drawings is greatly reduced by only rendering the corresponding layer, the requirement of the rendering of the building drawings on equipment hardware is reduced, and the smoothness of the display of the building drawings is improved.

Description

Method, device, equipment, medium and program product for displaying construction drawing
Technical Field
The present application relates to the field of building drawings, and in particular, to a method, an apparatus, a device, a medium, and a program product for displaying a building drawing.
Background
An intelligent Building and a corresponding Building Information Modeling (BIM) technology are the development direction and the focus of the future Building industry.
The BIM technology is characterized in that information of each link, such as initial planning research, construction in the middle period, operation maintenance in the later period and the like, is integrated in a building drawing in the whole construction process of the intelligent building, so that good operation of each link is ensured.
Because the volume of the building drawing that wisdom building project corresponds is great, when the building drawing was played up in local equipment department, need occupy a large amount of resources to the phenomenon that equipment card pause appears easily leads to building drawing load time overlength, brings relatively poor use experience for the user.
Disclosure of Invention
The application provides a display method, a display device, equipment, a display medium and a display program product of a building drawing, which are used for solving the problem that the display of the building drawing is easy to jam.
In a first aspect, the present application provides a method for displaying a construction drawing, including:
determining a display scale according to a drawing display instruction triggered by a user;
determining a target layer of a building drawing according to the display proportion, wherein the building drawing comprises a plurality of preset layers, and each layer comprises display data under the corresponding display proportion;
and rendering and displaying the target layer.
In a second aspect, the present application provides a display device of a construction drawing, comprising:
The display scale determining module is used for determining a display scale according to a drawing display instruction triggered by a user;
the target layer determining module is used for determining a target layer of a building drawing according to the display proportion, wherein the building drawing comprises a plurality of preset layers, and each layer comprises display data under the corresponding display proportion;
and the drawing rendering module is used for root rendering and displaying the target layer.
In a third aspect, the present application provides a display device comprising:
a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored in the memory to implement the display method of the construction drawing provided by the first aspect of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the computer-executable instructions are used to implement the display method of the construction drawing provided in the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product comprising a computer program, which when executed by a processor, is configured to implement the display method of the construction drawing provided in the first aspect of the present application.
According to the display method, the device, the equipment, the medium and the program product of the building drawing, aiming at a scene for displaying the building drawing on a local side or a user side, a plurality of layers are preset for the building drawing, different layers comprise different display data of the building drawing, and the layers and the display proportion have corresponding relations, when a drawing display instruction triggered by a user is detected, a target layer of the building drawing to be rendered and displayed is determined based on the display proportion corresponding to the drawing display instruction, so that when the building drawing is rendered, all drawing data do not need to be rendered, only the target layer of the building drawing needs to be rendered and displayed, compared with the method of directly rendering the complete building drawing, the magnitude of the rendered data is reduced, the limitation on equipment hardware is reduced, the smoothness and the speed of displaying the building drawing are improved, and meanwhile, through a mode of only interacting part of the layers, the safety of the building drawings is improved, the building drawings do not need to be stored in advance at the local side terminal, and the memory occupation of the local terminal is reduced.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and, together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic view of an application scenario according to an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating a display of a construction drawing provided in an embodiment of the present application;
FIG. 3 is a flow chart illustrating the display of construction drawings according to another embodiment of the present application;
FIG. 4A is a diagram illustrating the interaction between a UE and a core device in the embodiment of FIG. 3;
FIG. 4B is a schematic diagram of a display interface after user equipment executes a drawing zoom instruction in the embodiment shown in FIG. 4A;
FIG. 5 is a diagram illustrating interaction between a local device and a display device provided by an embodiment of the present application;
fig. 6 is a schematic structural diagram of a display device of an architectural drawing provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of a display device according to an embodiment of the present application.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
Fig. 1 is a schematic view of an application scenario in an embodiment of the application, as shown in fig. 1, a building drawing is often stored in a core terminal 102, the core terminal 102 is connected to a plurality of local terminals 104 (such as computers, mobile phones, tablet computers, and the like) through a network, when a user needs to refer to the building drawing at the local terminal 104 on the user side, the local terminal 104 needs to initiate a building drawing obtaining request to the core terminal 102 through the network (such as a local area network or a wide area network), so that the core terminal 102 sends relevant data of the building drawing to the local terminal 104, and the local terminal 104 performs rendering and displaying of the building drawing.
Because the building drawing includes the data of a plurality of dimensions of building, such as electrical data, construction data, component data, etc., the data volume is great, leads to when the building drawing is rendered at local terminal 104, needs to occupy a large amount of processing resources, leads to local terminal 104 to appear the phenomenon of blocking, leads to the building drawing to render the failure even, and the user can't look up the building drawing.
The application provides a display method of a building drawing, and aims to solve the technical problems in the prior art. The main concept of the display of the construction drawing is as follows: the method comprises the steps that a plurality of layers are set for the building drawing in advance, each layer comprises display data of the building drawing in a corresponding proportion, when a drawing display instruction is triggered by a user, a target layer of the building drawing to be rendered and displayed is determined based on the determined display proportion, and therefore only a picture corresponding to the target layer needs to be rendered, the data volume needing to be processed by the local terminal 104 is reduced to a large extent, the smoothness of building drawing display is improved, meanwhile, the core terminal 102 only needs to send the target layer in the form of the picture to the local terminal 104, and the safety of the building drawing is improved.
The following describes the technical solution of the present application and how to solve the above technical problems in detail by specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2 is a schematic flow chart of displaying a construction drawing according to an embodiment of the present application, where the method may be performed by any device having a data processing function and a display function, such as the local terminal 104 described above, or a display device in a subsequent embodiment.
As shown in fig. 2, the display method of the construction drawing includes:
step S201, determining a display scale according to a drawing display instruction triggered by a user.
The drawing display instruction can be an instruction for opening the building drawing or a zooming instruction for the currently displayed building drawing. The user can trigger the drawing display instruction in a mode of inputting the instruction in user equipment, such as a mobile terminal. Such as inputting gesture commands through a touch screen, inputting commands through input devices such as a mouse and a keyboard, and the like. The display scale can be expressed in the form of percentage, decimal, etc., such as 110%, 1.5, etc.
In one embodiment, the user may trigger the drawing display instruction through a voice instruction including a preset keyword.
In an embodiment, the drawing display instruction may be a drawing scaling instruction, such as a drawing enlarging instruction and a drawing reducing instruction, and the user may trigger the drawing scaling instruction through a scaling operation, where the display scale may be a scaling scale corresponding to the scaling instruction.
The zooming operation can be a double-click operation, a double-finger operation, a mouse sliding operation, a long-press operation, an input operation and the like.
When a zoom ratio is included in the zoom operation, the display ratio is determined based on the zoom ratio. When the zoom operation does not include the zoom scale, the display scale may be determined based on parameters such as the number of times of the zoom operation, the operation time, the gesture trajectory, and the like.
For example, in the case of the two-finger operation, the display scale may be determined by the distance between the two fingers, and the larger the distance is, the larger the display scale is. Taking the double-click operation as an example, each time the number of times of the double-click operation is increased, the display ratio is increased by a set step length, such as 0.1, 0.2 and the like, on the basis of the original ratio.
In one embodiment, the user may trigger the drawing display instruction by opening a drawing to display a corresponding program or by clicking a preset link.
Specifically, when a user triggers a drawing display instruction or receives the drawing display instruction, the display scale of the current display interface of the user equipment is determined, where the display scale may be a default scale or a common scale corresponding to the user.
In one embodiment, the display scale may be determined according to a drawing display instruction triggered by a user and a user identifier corresponding to the drawing display instruction. If the current display scale can be determined based on the corresponding relationship among the user identifier, the drawing display instruction and the display scale, and the currently triggered drawing display instruction and the user identifier triggering the drawing display instruction, the determined display scales may be different when different users trigger the same drawing display instruction.
In one embodiment, the corresponding relation between the user identification, the drawing display instruction and the display scale of the user can be established according to the historical operation record of the user.
For example, when the user u1 and the user u2 use the same gesture instruction (e.g., a two-finger zoom instruction) to perform zoom control on the building drawing, the display scale corresponding to the user u1 may be 1.5, and the display scale corresponding to the user u2 may be 1.6.
And S202, determining a target layer of the building drawing according to the display proportion.
The building drawing comprises a plurality of preset layers, and each layer comprises display data under a corresponding display scale.
In one embodiment, the layer may include display data for one or more areas of the construction drawing.
In one embodiment, the layers of the building drawings can be divided according to the profession, so that different works can correspond to different layers.
For example, the layers of the building drawing can include a component layer, a label layer, a power layer, a fire protection layer, a heating and ventilation layer, a water supply and drainage layer and the like.
In one embodiment, a display scale may correspond to one or more layers.
In one embodiment, the target layer of the construction drawing can be determined according to the first corresponding relation established in advance and the determined display scale. The first corresponding relation is used for describing the corresponding relation between each display scale and the layer of the building drawing.
In an embodiment, different users may correspond to different first corresponding relationships, and the first corresponding relationship corresponding to the user may be obtained based on a user identifier of a currently logged-in user or a user identifier corresponding to the drawing display instruction, so as to determine the target drawing layer of the building drawing based on the first relationship corresponding to the user and the determined display scale.
In one embodiment, when designing a building drawing, a plurality of layers may be set for the building drawing according to requirements, and a scale attribute is added to each layer, and if a visible scale range is found, the layers of the building drawing may be screened based on the determined display scale and the scale attribute, so as to determine one or more target layers corresponding to the display scale.
For example, the layers 1-10 may be set to correspond to a display scale of 100% and the layers 11-20 may be set to correspond to a display scale of 120% by the scale attribute. The proportion attribute can also be used for setting the layer 1 to correspond to the display proportion of 100%, and the layer 2 to correspond to the display proportion of 110%.
In one embodiment, a drawing display instruction triggered by a user is taken as a drawing scaling instruction as an example, the drawing scaling instruction is triggered by the user through a manner of inputting a scaling operation, during the period that the user inputs the scaling instruction, a dynamic display layer of the building drawing can be determined based on display proportions corresponding to various time nodes, and the dynamic display layer is rendered and displayed by corresponding time nodes, so that the control response speed of the building drawing is increased, and the dynamic effect of the drawing scaling display is improved.
The interval between adjacent time nodes may be 0.1s, 0.2s, or other time intervals.
In an embodiment, for each time node, a dynamic display layer corresponding to the time node may be determined according to the display scale of the time node, a specific manner is similar to that in step S202, and only the target layer is replaced with the dynamic display layer, which is not described herein again.
And step S203, rendering and displaying the target layer.
Specifically, after the target layer is determined, the user equipment sends the number of the target layer to the core terminal, the core terminal sends the target layer to the user equipment, and the user equipment renders the target layer to display the display data corresponding to the target layer.
In an embodiment, after the target layer is determined, an associated layer of the target layer may also be determined based on the layer association relationship of the building drawing, and the target layer and the associated layer thereof are rendered and displayed. The association relationship may be determined based on the association attribute of the layer.
In one embodiment, the association attribute may be added to each layer when the layer of the building drawing is set.
The application provides a display method of a building drawing, aiming at a scene of displaying the building drawing on a local side or a user side, a plurality of layers are arranged for the building drawing in advance, different layers comprise different display data of the building drawing, and the layers and the display proportion have a corresponding relation, when a drawing display instruction triggered by a user is detected, a target layer of the building drawing to be rendered and displayed is determined based on the display proportion corresponding to the drawing display instruction, so that when the building drawing is rendered, all drawing data do not need to be rendered, only the target layer of the building drawing needs to be rendered and displayed, compared with the direct rendering of the complete building drawing, the magnitude of the rendered data is reduced, the limitation on equipment hardware is reduced, the smoothness and the speed of the building drawing display are improved, and meanwhile, the safety of the building drawing is improved by only interacting part of the layers, and the local side terminal does not need to store the construction drawing in advance, and the memory occupation of the local terminal is reduced.
In an embodiment, when determining the target layer, a user identifier may also be considered, that is, the target layer is determined based on the user identifier and a drawing display instruction triggered by a user. The user identification is the user identification corresponding to the drawing display instruction, or the user identification of the user triggering the drawing display instruction.
In one embodiment, determining a target drawing layer of a construction drawing includes:
acquiring performance parameters of user equipment; and determining the target layer according to the display proportion and the performance parameter.
The user equipment is a device used for displaying the construction drawing at a local side or a user side, and a user can trigger the drawing display instruction through the user equipment, for example, a zoom instruction is input on the user equipment. The performance parameters of the user device may include parameters of a Central Processing Unit (CPU) and an image processor (GPU) of the user device.
Specifically, the layers of the building drawing may be screened based on the display scale to obtain a plurality of layers corresponding to the display scale, and then a target layer to be finally rendered and displayed is determined from the plurality of layers corresponding to the display scale based on the performance parameter of the user equipment.
In an embodiment, an upper limit number of layers that can be rendered at one time may be determined based on a performance parameter of the user equipment, and based on the upper limit number, when the number of the plurality of layers corresponding to the display ratio is greater than the upper limit number, the upper limit number of layers may be determined to be each target layer from the plurality of layers corresponding to the display ratio.
By combining the performance parameters of the user equipment, the target layers are determined, the phenomenon that the user equipment is blocked due to the fact that the number of target layers to be rendered is large or the display data is large is avoided, and the drawing rendering fluency is further improved.
Fig. 3 is a schematic flow chart of displaying a construction drawing according to another embodiment of the present application, and as shown in fig. 3, this embodiment is to further refine step S202 and step S203 on the basis of the embodiment shown in fig. 2, and add a step of determining an interest layer and acquiring a drawing display instruction before step S201, and as shown in fig. 3, the displaying of a construction drawing according to this embodiment may include the following steps:
step S301, determining an interest layer of the user according to the viewing history of the user.
The user may be a user currently logged in, such as a user logging in user equipment, or a user logging in an application, an applet, a web page, and the like that display a construction drawing.
In one embodiment, the viewing history of the user may be a history of the user viewing the building drawing on the current user device, or may be a history of the user viewing the building drawing on various user devices.
In one embodiment, at least one of the frequency of reference, the number of times of reference, and the length of reference time of each layer of the construction drawing may be determined according to the viewing history of the user, and the interest layer of the user may be determined from each layer of the construction drawing based on at least one of the frequency of reference, the number of times of reference, and the length of reference time.
In one embodiment, the layer with the largest number of views may be determined to be the interest layer of the user.
In one embodiment, the layer with the longest viewing time may be determined to be the interest layer of the user.
In one embodiment, the interest layer of the user may be determined from the layers of the construction drawing according to a weighted average of the reference frequency, the reference times and the reference time length.
In one embodiment, the viewing history of the user may be determined from the viewing record of the construction drawing based on the user identification.
In one embodiment, the user identifier of the current login user may be determined based on login information, such as login information of a user device or login information of an application, an applet, or a web page corresponding to the construction drawing.
For example, a user, such as a person in charge of the construction unit which is subcontracted, may input login information in a user device (a device provided at the construction unit) to log in the user device, and reference of the construction drawing is made based on a preset application installed on the user device.
Illustratively, a user, such as an architect, may perform reference to the construction drawing by logging in a preset applet on the mobile terminal, so as to perform construction based on the construction drawing. The user identification of the user may be determined based on the login information in the applet.
Step S302, displaying the interest layer, and acquiring a drawing display instruction triggered by a user on the interest layer.
In one embodiment, the user device may cache each layer to which the building drawing is referred at a historical time, and after determining the interest layer, may search the interest layer from the cache of the user device and display the interest layer. The user may trigger the drawing display instruction, such as inputting a drawing scaling instruction, on the interface displaying the interest layer.
In one embodiment, after the interest layer is determined, the interest layer may be obtained from the core terminal, and when the user prints the building drawing, the interest layer is displayed by default. The user may trigger the drawing display instruction on the interest layer, such as inputting a drawing scaling instruction.
In one embodiment, the interest layer may be displayed by default during a period when the user triggers the drawing display instruction, for example, during a period when a drawing scaling instruction is input, until the drawing scaling instruction is input or until a target layer is determined.
Through the display of the interest layer, the step that a user triggers or issues a drawing display instruction to look up the interest layer can be omitted, and the convenience of drawing display is improved.
And step S303, determining a display scale according to a drawing display instruction triggered by a user.
And step S304, acquiring a user identifier corresponding to the drawing display instruction.
The user identification of different users is different, and the user identification is the unique identification code of the user.
In one embodiment, the user id may include a user number, such as 0145, 0147, wherein "user" is a preset character used to characterize the parameter as the user id.
In one embodiment, the user identification of each user, such as zhangsan02, may be generated by name pinyin and numbering.
In one embodiment, the user identification may include the user's identity, work or occupation, such as salt 013 for the salesperson numbered 013.
In an embodiment, the drawing display instruction may include a user identifier, and the user identifier triggering the drawing display instruction may be obtained by parsing the drawing display instruction.
In one embodiment, the user identifier for triggering the drawing display instruction user may be determined based on a manner of recognizing a user image captured by a camera of the user equipment.
In one embodiment, when a user touches an instruction through a finger to trigger a drawing display instruction of an architectural drawing, a user identifier corresponding to the drawing display instruction can be determined in a mode of identifying the fingerprint of the user. That is, the fingerprint feature in the drawing display instruction may be extracted, and the user identifier may be determined based on the fingerprint feature.
Step S305, determining the target layer according to the user identifier and the display scale.
In one embodiment, a first corresponding relationship corresponding to a user identifier may be determined based on the user identifier, and then a target layer may be determined based on the first corresponding relationship corresponding to the user identifier and the determined display ratio.
In one embodiment, layers that can be referred to by the user identifier can be determined based on the user identifier, and the target layer is determined from the layers that can be referred to based on the determined display scale.
In an embodiment, it may be determined, based on the determined display scale, that each layer in which a scale range corresponding to the scale attribute in each layer that may be referred to includes the display scale is a target layer.
For example, taking a building drawing including 10 layers as an example, the layers that can be referred to by the user identifier u0189 are layer 2 and layer 3, where a scale attribute of layer 2 is [1,1.5 ], a scale attribute of layer 3 is [1.5,2), and a display scale determined based on the drawing scaling instruction is 1.8, then layer 3 may be determined as a target layer.
And S306, rendering and displaying the target layer.
Illustratively, fig. 4A is a schematic diagram of the interaction between the user equipment and the core device in the embodiment shown in fig. 3 of the present application, fig. 4B is a schematic diagram of a display interface after the user equipment executes a drawing scaling instruction according to the embodiment shown in fig. 4A, and it can be known from fig. 4A and 4B that, the currently logged-in user is U3147 (user identification), the currently displayed interface of the display screen of the user equipment is layer N1 of the construction drawing (interest layer of U3147), in fig. 4A, for example, the user U3147 double-clicks the touch screen of the user device with a finger to trigger a drawing scaling instruction, based on the drawing scaling instruction, the display scale is determined to be 1.5, if the corresponding target layer is layer N2, the ue requests the core device for data corresponding to layer N2, and rendering the layer N2, so that the display content of the display interface of the display screen is updated to layer N2, as shown in fig. 4B.
In an embodiment, since the size of the building drawing is too large, the display range of the user equipment may be exceeded, that is, if the size of the building drawing or the target layer is larger than a preset size, where the preset size may be a resolution of the user equipment or a size of a visible area of a current display interface, after the target layer is determined, target display data of the target layer may be determined based on the resolution of the user equipment or the size of the visible area, so as to render and display the target display data, where the size occupied by the target display data in the building drawing is smaller than or equal to the preset size. After the target display data is rendered and displayed, the rolling distance of a vertical scroll bar and the rolling distance of a horizontal scroll bar can be monitored, and based on the rolling distance of the vertical scroll bar and the rolling distance of the horizontal scroll bar, the display data of the corresponding area of the target layer is obtained, rendered and displayed so as to display the display data of each area of the target layer, meanwhile, the data amount required to be processed by user equipment when the building drawing is displayed is further reduced, and the smoothness of drawing display is improved.
In one embodiment, a portion of the target layer corresponding to the area currently displayed by the user device may be rendered and displayed.
In the embodiment, when a user needs to look up a building drawing, the interest layer of the user is determined and displayed based on the viewing history of the user, and when the interest layer meets the requirements of the user, the operation triggered by a drawing display instruction of the user can be omitted, so that the convenience of drawing display is improved; when the interest layer does not meet the requirements of the user, determining a display scale based on a drawing display instruction triggered on the interest layer; and determining a target layer of the building drawing to be rendered and displayed based on the display proportion and the user identification corresponding to the drawing display instruction, so that only the target layer is displayed for the user, the display contents of each user of the building drawing at each display proportion are set in a differentiated manner, the safety of the building drawing is improved, and the smoothness and the speed of the display of the building drawing are improved.
In one embodiment, rendering and displaying the target layer includes:
obtaining a region of interest in the target layer; and rendering and displaying the attention area.
The attention area may be a visualization range of a display interface of the user equipment, and may also be an area in which a user is interested or an area that can be referred to by the user.
Through the determination of the attention area, the data volume required to be processed by the user equipment is further reduced, the rendering speed and smoothness of the building drawing are improved, meanwhile, the accuracy of the displayed content is improved, and the time for the user to look up the content from the target layer is reduced.
In an embodiment, the obtaining the region of interest in the target layer includes:
and determining the concerned area according to one or more of the historical operation record of the user, the user authority and the equipment identifier of the user equipment.
The user authority can be determined based on the user identification, and the user authority can be used for describing the layers consultable by the user and the areas consultable in each consultable layer. The historical operation record of the user can be the layer of the building drawing viewed by the user at the historical time and the viewed area of the layer. The device identifier is used to identify different user equipments, and the device identifier may be an identification code of the user equipment or a code of the user equipment.
In one embodiment, according to the user authority, a consultable area corresponding to the target layer of the user can be determined; the region of interest is determined from the respective viewable regions based on a historical operating record of the user.
In one embodiment, at least one of the reference frequency, the reference number, and the reference time length of each of the referenceable regions of the target map layer may be determined based on a user's historical operation record, and the region of interest may be determined from each of the referenceable regions based on at least one of the reference frequency, the reference number, and the reference time length of the referenceable region.
In one embodiment, a consultable area with the highest consultation frequency or longest consultation duration may be determined as the attention area.
In one embodiment, the region of interest may be determined from each of the viewable areas based on a weighted average of the frequency of reference, the number of times of reference, and the length of time of reference of each of the viewable areas.
In one embodiment, the operation record corresponding to the user equipment may be determined from the historical operation record of the user according to the equipment identifier of the user equipment.
The determination method of the user attention area is easy to implement, the accuracy of determination of the attention area is high, and the accuracy of drawing display is improved.
For example, fig. 5 is a schematic view of interaction between a local device and a display device according to an embodiment of the present application, and as shown in fig. 5, a user may log in based on a display interface of the local device, where the display interface is used to display a construction drawing, and after the user logs in, the display interface sends an account and a password of the user login to the display device, and the display device verifies the account and the password. After the authentication is passed, based on the account, or based on the account number and the password, a user identifier, such as a user identifier, is determined as the account number input by the user, such as U0213 in fig. 5. The display device determines an interest layer of the building drawing corresponding to the user based on the user identifier, and updates a display interface of the local device based on the interest layer, where fig. 5 takes the interest layer as an example of an overall plan view of a certain residential building. If the interest is not the layer desired by the user, the user inputs a zoom instruction (one of drawing display instructions), such as a double-click instruction, in the area of the display interface of the local device where the interest layer is displayed. The display device receives the scaling instruction, determines a target layer of the building drawing (taking the layer where the plan view with the target layer being 201 chambers is located in fig. 5 as an example) based on the display scale corresponding to the scaling instruction and the area of the display interface corresponding to the scaling instruction (the area corresponding to 201 chambers is shown in fig. 5), and sends the target layer to the local device, so that the display interface of the local device is updated based on the target layer, and the target layer is rendered at the local device, so that only data of the target layer need to be rendered, and the amount of rendered data is greatly reduced.
Fig. 6 is a schematic structural diagram of a display device of a construction drawing provided in an embodiment of the present application, and as shown in fig. 6, the display device of a construction drawing provided in this embodiment includes: the system comprises a display scale determining module 610, a target layer determining module 620 and a drawing rendering module 630.
The display scale determining module 610 is configured to determine a display scale according to a drawing display instruction triggered by a user; a target layer determining module 620, configured to determine a target layer of a building drawing according to the display scale, where the building drawing includes a plurality of preset layers, and each layer includes display data in a corresponding display scale; and a drawing rendering module 630, configured to render and display the target layer.
Optionally, the display scale determining module 610 is specifically configured to:
and determining a display scale according to a drawing display instruction triggered by a user and a user identification corresponding to the drawing display instruction.
Optionally, the target layer determining module 620 is specifically configured to:
and determining a target layer of the building drawing according to the pre-established first corresponding relation and the determined display scale.
Optionally, the target layer determining module 620 is specifically configured to:
Acquiring a user identifier corresponding to the drawing display instruction; and determining the target layer according to the user identification and the display proportion.
Optionally, the target layer determining module 620 is specifically configured to:
acquiring performance parameters of user equipment; and determining the target layer according to the display proportion and the performance parameter.
Optionally, the drawing rendering module 630 includes:
an attention area determining unit, configured to acquire an attention area in the target layer; and rendering and displaying the attention area.
Optionally, the attention area determining unit is specifically configured to:
and determining the attention area of the user according to one or more items of historical operation records, user authority and equipment identification of user equipment of the user.
Optionally, the apparatus further comprises:
the interest layer determining module is used for determining an interest layer of the user according to the viewing history of the user; the interest layer display module is used for displaying the interest layer; and the instruction acquisition module is used for acquiring a drawing display instruction triggered by the user on the interest layer.
Optionally, the apparatus further comprises:
and the display data determining module is used for determining target display data of a target layer of the building drawing based on the resolution of the user equipment or the size of a visible area after the target layer is determined according to the display proportion.
Correspondingly, the drawing rendering module 630 is specifically configured to:
rendering and displaying the target display data
The display device of the architectural drawing provided in the embodiment of the present application can be used to implement the technical solutions provided in any embodiments corresponding to fig. 2 to fig. 3, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 7 is a schematic structural diagram of a display device provided in an embodiment of the present application, and as shown in fig. 7, the display device provided in the embodiment includes:
a display (not shown in fig. 7); a processor 710; and a memory 720 communicatively coupled to the processor 710; the memory 720 stores computer-executable instructions, and the processor 710 executes the computer-executable instructions stored in the memory 720, so as to enable the display device to perform the display method of the construction drawing provided by any one of the above embodiments.
Alternatively, the memory 720 may be separate or integrated with the processor 710.
The implementation principle and the technical effect of the display device of the construction drawing provided by the embodiment can be referred to in the foregoing embodiments, and are not described herein again.
An embodiment of the present application further provides a computer-readable storage medium, where a computer executing instruction is stored in the computer-readable storage medium, and when a processor executes the computer executing instruction, the display of the construction drawing provided in any one of the foregoing embodiments is implemented.
Embodiments of the present application further provide a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program implements the display of the construction drawing provided in any of the foregoing embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules is only one logical division, and other divisions may be realized in practice, for example, a plurality of modules may be combined or integrated into another system, or some features may be omitted, or not executed.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute some steps of the methods described in the embodiments of the present application.
It should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in the incorporated application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor. The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile storage NVM, such as at least one disk memory, and may also be a usb disk, a removable hard disk, a read-only memory, a magnetic or optical disk, etc.
The storage medium may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the storage medium may reside as discrete components in an electronic device or host device.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the advantages and disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the methods provided in the embodiments of the present application.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A display method of a construction drawing, characterized in that the method comprises:
determining a display scale according to a drawing display instruction triggered by a user;
determining a target layer of a building drawing according to the display proportion, wherein the building drawing comprises a plurality of preset layers, and each layer comprises display data under the corresponding display proportion;
and rendering and displaying the target layer.
2. The method of claim 1, wherein determining a target layer of a construction drawing based on the display scale comprises:
acquiring a user identifier corresponding to the drawing display instruction;
and determining the target layer according to the user identification and the display proportion.
3. The method of claim 1, further comprising:
determining an interest layer of a user according to the viewing history of the user;
and displaying the interest layer, and acquiring a drawing display instruction triggered by a user on the interest layer.
4. The method according to any one of claims 1-3, wherein rendering and displaying the target layer comprises:
obtaining a region of interest in the target layer;
and rendering and displaying the attention area.
5. The method according to claim 4, wherein obtaining the region of interest in the target layer comprises:
and determining the attention area of the user according to one or more items of historical operation records, user authority and equipment identification of user equipment of the user.
6. The method of claim 1, wherein determining a target layer of a construction drawing based on the display scale comprises:
acquiring performance parameters of user equipment;
and determining the target layer according to the display proportion and the performance parameter.
7. A display device of construction drawings, characterized in that the device comprises:
the display scale determining module is used for determining a display scale according to a drawing display instruction triggered by a user;
the target layer determining module is used for determining a target layer of a building drawing according to the display proportion, wherein the building drawing comprises a plurality of preset layers, and each layer comprises display data under the corresponding display proportion;
And the drawing rendering module is used for root rendering and displaying the target layer.
8. A display device, comprising:
a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored in the memory to implement the display method of the construction drawing according to any one of claims 1 to 6.
9. A computer-readable storage medium having stored therein computer-executable instructions for implementing the method of displaying a construction drawing according to any one of claims 1 to 6 when executed by a processor.
10. A computer program product, characterized by comprising a computer program which, when executed by a processor, implements the display method of the construction drawing according to any one of claims 1 to 6.
CN202210168826.3A 2022-02-23 2022-02-23 Method, device, equipment, medium and program product for displaying building drawing Active CN114518815B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210168826.3A CN114518815B (en) 2022-02-23 2022-02-23 Method, device, equipment, medium and program product for displaying building drawing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210168826.3A CN114518815B (en) 2022-02-23 2022-02-23 Method, device, equipment, medium and program product for displaying building drawing

Publications (2)

Publication Number Publication Date
CN114518815A true CN114518815A (en) 2022-05-20
CN114518815B CN114518815B (en) 2023-10-10

Family

ID=81599490

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210168826.3A Active CN114518815B (en) 2022-02-23 2022-02-23 Method, device, equipment, medium and program product for displaying building drawing

Country Status (1)

Country Link
CN (1) CN114518815B (en)

Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0883055A2 (en) * 1997-06-02 1998-12-09 Sony Corporation Digital map display zooming method and device
JP2000259964A (en) * 1999-03-09 2000-09-22 Toshiba Corp In-building floor drawing management system and recording medium
JP2004110517A (en) * 2002-09-19 2004-04-08 Kubota Corp Drawing management system
JP2005024673A (en) * 2003-06-30 2005-01-27 Cpu Inc Building model production system, building model program, and building model
JP2006004109A (en) * 2004-06-16 2006-01-05 Yukio Hirahara Construction drawing management system
JP2009235696A (en) * 2008-03-26 2009-10-15 Compensation Seminary Co Ltd System, method and computer program for performing survey on secular change of building
KR20120101201A (en) * 2011-02-10 2012-09-13 삼성에스디에스 주식회사 Server and module for providing map service, and, method for providing and requesting map service
CN103793145A (en) * 2014-02-21 2014-05-14 湖南省交通规划勘察设计院 Drawing frame parameter identification and drawing output method based on autoCAD
EP2851816A1 (en) * 2013-09-20 2015-03-25 Viewpoint, Inc. Methods and systems for mapping and processing building information modeling (BIM)-based data
CN105401944A (en) * 2015-12-24 2016-03-16 李晓 Coal mining digital management system
WO2016078474A1 (en) * 2014-11-17 2016-05-26 国家电网公司 Method for graphics interaction between grid production management system and scheduling automation system
WO2017186012A1 (en) * 2016-04-26 2017-11-02 斑马网络技术有限公司 Electronic map layer display method and device, terminal device and user interface system
CN109934921A (en) * 2019-01-21 2019-06-25 城市元素(北京)科技有限公司 The method and apparatus and storage medium that three-dimensional building model is constructed and shown
CN110706341A (en) * 2019-09-17 2020-01-17 广州市城市规划勘测设计研究院 High-performance rendering method and device of city information model and storage medium
CN111986306A (en) * 2020-08-11 2020-11-24 北京瑞晟成科技发展有限公司 Integrated data display and simulation platform
KR20210079246A (en) * 2020-06-10 2021-06-29 베이징 바이두 넷컴 사이언스 앤 테크놀로지 코., 엘티디. Map data processing method, device, equipment and storage medium
WO2021143672A1 (en) * 2020-01-13 2021-07-22 Oppo广东移动通信有限公司 Display control method and related product
CN113392246A (en) * 2021-06-15 2021-09-14 万翼科技有限公司 Drawing display method and device, storage medium and electronic equipment
CN113538708A (en) * 2021-06-17 2021-10-22 上海建工四建集团有限公司 Method for displaying and interacting three-dimensional BIM (building information modeling) model in two-dimensional view
US11175157B1 (en) * 2018-10-24 2021-11-16 Palantir Technologies Inc. Dynamic scaling of geospatial data on maps
CN114022895A (en) * 2021-10-27 2022-02-08 上海品览数据科技有限公司 Method for accurately identifying house type in building professional residential plan

Patent Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0883055A2 (en) * 1997-06-02 1998-12-09 Sony Corporation Digital map display zooming method and device
JP2000259964A (en) * 1999-03-09 2000-09-22 Toshiba Corp In-building floor drawing management system and recording medium
JP2004110517A (en) * 2002-09-19 2004-04-08 Kubota Corp Drawing management system
JP2005024673A (en) * 2003-06-30 2005-01-27 Cpu Inc Building model production system, building model program, and building model
JP2006004109A (en) * 2004-06-16 2006-01-05 Yukio Hirahara Construction drawing management system
JP2009235696A (en) * 2008-03-26 2009-10-15 Compensation Seminary Co Ltd System, method and computer program for performing survey on secular change of building
KR20120101201A (en) * 2011-02-10 2012-09-13 삼성에스디에스 주식회사 Server and module for providing map service, and, method for providing and requesting map service
EP2851816A1 (en) * 2013-09-20 2015-03-25 Viewpoint, Inc. Methods and systems for mapping and processing building information modeling (BIM)-based data
CN103793145A (en) * 2014-02-21 2014-05-14 湖南省交通规划勘察设计院 Drawing frame parameter identification and drawing output method based on autoCAD
WO2016078474A1 (en) * 2014-11-17 2016-05-26 国家电网公司 Method for graphics interaction between grid production management system and scheduling automation system
CN105401944A (en) * 2015-12-24 2016-03-16 李晓 Coal mining digital management system
WO2017186012A1 (en) * 2016-04-26 2017-11-02 斑马网络技术有限公司 Electronic map layer display method and device, terminal device and user interface system
US11175157B1 (en) * 2018-10-24 2021-11-16 Palantir Technologies Inc. Dynamic scaling of geospatial data on maps
CN109934921A (en) * 2019-01-21 2019-06-25 城市元素(北京)科技有限公司 The method and apparatus and storage medium that three-dimensional building model is constructed and shown
CN110706341A (en) * 2019-09-17 2020-01-17 广州市城市规划勘测设计研究院 High-performance rendering method and device of city information model and storage medium
WO2021143672A1 (en) * 2020-01-13 2021-07-22 Oppo广东移动通信有限公司 Display control method and related product
KR20210079246A (en) * 2020-06-10 2021-06-29 베이징 바이두 넷컴 사이언스 앤 테크놀로지 코., 엘티디. Map data processing method, device, equipment and storage medium
CN111986306A (en) * 2020-08-11 2020-11-24 北京瑞晟成科技发展有限公司 Integrated data display and simulation platform
CN113392246A (en) * 2021-06-15 2021-09-14 万翼科技有限公司 Drawing display method and device, storage medium and electronic equipment
CN113538708A (en) * 2021-06-17 2021-10-22 上海建工四建集团有限公司 Method for displaying and interacting three-dimensional BIM (building information modeling) model in two-dimensional view
CN114022895A (en) * 2021-10-27 2022-02-08 上海品览数据科技有限公司 Method for accurately identifying house type in building professional residential plan

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴雪梅;李平川;王迎;钱晓明;: "按比例缩放灭点三角形或反转重合视点的量点法作图", 图学学报, no. 01 *

Also Published As

Publication number Publication date
CN114518815B (en) 2023-10-10

Similar Documents

Publication Publication Date Title
WO2020253059A1 (en) Method and apparatus for implementing multi-stage linkage drop-down box, and computer device
US20140089824A1 (en) Systems And Methods For Dynamically Altering A User Interface Based On User Interface Actions
US10447761B2 (en) Method and system for capturing web content from a web server as a set of images
US9454667B2 (en) Granting object authority via a multi-touch screen to a collaborator
CN109388317B (en) Picture loading method, terminal device and storage medium
CN106485173B (en) Sensitive information display method and device
CN108874336B (en) Information processing method and electronic equipment
CN110087021B (en) Online video method and device and video terminal
CN107395594A (en) A kind of automatic identifying method for pulling identifying code
CN111258466A (en) Data visualization method and device, computer equipment and storage medium
CN112691381A (en) Rendering method, device and equipment of virtual scene and computer readable storage medium
KR20180117619A (en) Object management and visualization using computing devices
CN105279431A (en) Method, device, and system for recording operation information in mobile device
CN111597009B (en) Application program display method and device and terminal equipment
CN113342249B (en) Content management method, device, equipment and storage medium capable of previewing in real time
KR101810018B1 (en) Document presentation method and user terminal
CN111400575B (en) User identification generation method, user identification method and device
CN111698548B (en) Video playing method and device
CN114518815B (en) Method, device, equipment, medium and program product for displaying building drawing
CN110618797B (en) Method and device for generating character trotting horse lamp and terminal equipment
CN113282218A (en) Multi-dimensional report generation method, device, equipment and storage medium
CN111443907A (en) Method and device for calling SDK function
CN112163209A (en) Application management method and device and electronic equipment
CN108418827A (en) User's behaviors analysis method and device
CN117198291B (en) Method, device and system for controlling terminal interface by voice

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