CN114518815B - Method, device, equipment, medium and program product for displaying building drawing - Google Patents

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

Info

Publication number
CN114518815B
CN114518815B CN202210168826.3A CN202210168826A CN114518815B CN 114518815 B CN114518815 B CN 114518815B CN 202210168826 A CN202210168826 A CN 202210168826A CN 114518815 B CN114518815 B CN 114518815B
Authority
CN
China
Prior art keywords
display
user
layer
determining
building
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210168826.3A
Other languages
Chinese (zh)
Other versions
CN114518815A (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

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 device, equipment, a medium and a program product of a building drawing, wherein the display method of the building drawing comprises the following steps: determining a display proportion 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; the target layer is rendered and displayed, so that the light-weight display of a general amount of building drawings based on scaling operation is realized, the rendering data amount 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 fluency of the display of the building drawings is improved.

Description

Method, device, equipment, medium and program product for displaying building 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
Smart architecture and corresponding architecture drawing (Building Information Modeling, BIM) technology are the direction and focus of future development of the architecture industry.
BIM technology means that in the whole construction process of intelligent building, the information of each link such as the initial planning research, the middle-stage building construction, the later operation maintenance and the like is integrated in the building drawing, so that the good operation of each link is ensured.
Because the volume of the building drawing corresponding to the intelligent building project is large, when the building drawing is rendered at the local equipment, a large amount of resources are required to be occupied, so that equipment jamming phenomenon occurs easily, the loading time of the building drawing is overlong, and poor use experience is brought to a user.
Disclosure of Invention
The application provides a display method, a device, equipment, a medium and a program product of a building drawing, which are used for solving the problem that the display of the building drawing is easy to be blocked.
In a first aspect, the present application provides a method for displaying a building drawing, the method comprising:
determining a display proportion 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;
rendering and displaying the target layer.
In a second aspect, the present application provides a display device for a construction drawing, including:
the display proportion determining module is used for determining the display proportion according to the drawing display instruction triggered by the 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 corresponding to the 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 apparatus comprising:
a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes the computer-executed instructions stored in the memory to implement the method for displaying a building drawing provided in the first aspect of the present application.
In a fourth aspect, the present application provides a computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of displaying a 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 for implementing the method of displaying a construction drawing provided in the first aspect of the present application when the computer program is executed by a processor.
According to the display method, the device, the equipment, the medium and the program product of the building drawing, aiming at the scene of displaying the building drawing on the local side or the user side, a plurality of layers are preset for the building drawing, different layers comprise different display data of the building drawing, and the corresponding relation exists between the layers and the display proportion.
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 diagram of an application scenario according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of a display of a construction drawing according to an embodiment of the present application;
FIG. 3 is a schematic flow chart of a display of a construction drawing according to another embodiment of the present application;
fig. 4A is a schematic diagram illustrating interaction between a user equipment and a core device in the embodiment shown in fig. 3 according to the present application;
FIG. 4B is a schematic diagram of a display interface after the user device executes the drawing scaling instruction in the embodiment shown in FIG. 4A;
FIG. 5 is a schematic diagram of a local device interacting with a display device according to one embodiment of the present application;
fig. 6 is a schematic structural diagram of a display device for a building drawing according to 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.
Specific embodiments of the present application have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
Fig. 1 is a schematic view of an application scenario in an embodiment of the present application, as shown in fig. 1, a building drawing is often stored in a core terminal 102, where the core terminal 102 is connected to a plurality of local terminals 104 (such as a computer, a mobile phone, a tablet computer, etc.) 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 acquisition 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 data of multiple dimensions of the building, such as electrical data, construction data, component data and the like, the volume of the data is large, so that when the local terminal 104 renders the building drawing, a large amount of processing resources are required to be occupied, the phenomenon of blocking of the local terminal 104 is caused, even the rendering of the building drawing fails, and a user cannot refer to the building drawing.
The application provides a display method of a building drawing, which aims to solve the technical problems in the prior art. The main conception of the display of the building drawing is as follows: the method comprises the steps that a plurality of layers are preset for the building drawing, each layer comprises display data of the building drawing in a corresponding proportion, when a user triggers a drawing display instruction, a target layer of the building drawing to be rendered and displayed is determined based on the determined display proportion, so that only pictures corresponding to the target layer are required to be rendered, the data quantity required to be processed by the local terminal 104 is reduced to a large extent, the fluency of the display of the building drawing is improved, and meanwhile, the core terminal 102 only needs to send the target layer in the form of the pictures to the local terminal 104, and the safety of the building drawing is improved.
The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail 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 building 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 method for displaying the construction drawing includes:
step S201, according to a drawing display instruction triggered by a user, determining a display proportion.
The drawing display instruction may be an instruction for opening a building drawing or a zoom instruction for a currently displayed building drawing. The user can trigger the drawing display instruction by inputting the instruction into user equipment, such as a mobile terminal. Such as by inputting gesture instructions through a touch screen, inputting instructions through a mouse, keyboard, etc. input devices. The display scale may be expressed in terms of percentages, decimal numbers, 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 one embodiment, the drawing display instruction may be a drawing scaling instruction, such as a drawing enlarging instruction and a drawing shrinking 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 zoom operation may be a double click operation, a double finger operation, a mouse sliding operation, a long press operation, an input operation, or the like.
When a scale is included in the scaling operation, a display scale is determined based on the scale. When the zoom operation does not include a zoom scale, the display scale may be determined based on parameters such as the number of zoom operations, operation time, gesture trajectory, and the like.
Illustratively, taking a two-finger operation as an example, the display scale may be determined by the distance between the two fingers, with the larger the distance, the larger the display scale. For example, when the number of double-click operations is increased once, the display scale is increased by a set step length, such as 0.1, 0.2, etc., based on the original scale.
In one embodiment, the user may trigger the drawing display instruction by opening a corresponding program for displaying the drawing or clicking a preset link.
Specifically, when the user triggers the drawing display instruction or receives the drawing display instruction, the display proportion of the current display interface of the user equipment is determined, wherein the display proportion can be a default proportion or a common proportion corresponding to the user.
In one embodiment, the display proportion may be determined according to a drawing display instruction triggered by a user and a user identifier corresponding to the drawing display instruction. For example, the current display proportion can be determined based on the corresponding relation between the user identifier, the drawing display instruction and the display proportion, and the currently triggered drawing display instruction and the user identifier triggering the drawing display instruction, so that the determined display proportion can be different when different users trigger the same drawing display instruction.
In one embodiment, a corresponding relationship among a user identifier, a drawing display instruction and a display proportion of the user can be established according to a historical operation record of the user.
For example, when the user u1 and the user u2 perform zoom control of the building drawing by using the same gesture instruction (such as a double-finger zoom instruction), the display ratio corresponding to the user u1 may be 1.5, and the display ratio corresponding to the user u2 may be 1.6.
And step 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 in a corresponding display proportion.
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 construction drawing may be divided according to profession, so that different work types may correspond to different layers.
By way of example, the layers of the construction drawing may include component layers, label layers, power layers, fire layers, heating and ventilation layers, water supply and drainage layers, and the like.
In one embodiment, a display scale may correspond to one or more layers.
In one embodiment, the target layer of the building drawing may be determined according to a pre-established first correspondence and the determined display scale. The first corresponding relation is used for describing the corresponding relation between each display proportion and the layer of the building drawing.
In one 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 current login user or a user identifier corresponding to a drawing display instruction, so as to determine a target layer of the building drawing based on the first relationship corresponding to the user and the determined display proportion.
In one embodiment, when designing a building drawing, multiple layers may be set for the building drawing according to requirements, and a scale attribute, such as a visible scale range, may be added to each layer, and then, based on the determined display scale and the scale attribute, the layers of the building drawing may be screened, so as to determine one or more target layers corresponding to the display scale.
For example, layers 1-10 may be set to correspond to a display scale of 100% and layers 11-20 may correspond to a display scale of 120% by a scale attribute. Layer 1 may also be set to correspond to a display scale of 100% by a scale attribute, and layer 2 may correspond to a display scale of 110%.
In one embodiment, taking a drawing display instruction triggered by a user as an example of a drawing scaling instruction, the user triggers the drawing scaling instruction by inputting a scaling operation, and during the period of inputting the scaling instruction by the user, a dynamic display layer of the building drawing can be determined based on the display proportion corresponding to each time node, and the dynamic display layer is rendered and displayed by the corresponding time node, so that the response speed of controlling the building drawing is improved, and the dynamic effect of drawing scaling display is improved.
Wherein, the interval between adjacent time nodes can be 0.1s, 0.2s or other time intervals.
In one embodiment, for each time node, the dynamic display layer corresponding to the time node may be determined according to the display proportion of the time node, and the specific manner is similar to that of step S202, and only the target layer is replaced by the dynamic display layer, which is not described herein.
Step S203, rendering and displaying the target layer.
Specifically, after determining the target layer, 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 one embodiment, after determining the target layer, the associated layer of the target layer may be determined based on the layer association relationship of the building drawing, and the target layer and its associated layer may be rendered and displayed. The above-mentioned association relationship may be determined based on the association attribute of the layer.
In one embodiment, the above-described association attributes may be added for each layer when the layers of the building drawing are set.
According to the display method of the building drawing, a plurality of layers are preset for the building drawing aiming at the scene of building drawing display at the local side or the user side, 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 the user is detected, the 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 are not required to be rendered, only the target layer of the building drawing is required to be rendered and displayed, compared with the situation that the complete building drawing is directly rendered, 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, meanwhile, the safety of the building drawing is improved by only interacting partial layers, the local side terminal is enabled not to be required to store the building drawing in advance, and the memory occupation of the local terminal is reduced.
In one embodiment, the target layer may also be determined in consideration of the user identification, i.e., based on the user identification and the user-triggered drawing display instructions. The user identification is the user identification corresponding to the drawing display instruction or the user identification triggering the drawing display instruction user.
In one embodiment, determining a target layer of a building 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 equipment for displaying the building drawing on the local side or the user side, and the user can trigger the drawing display instruction through the user equipment, such as inputting a zoom instruction on the user equipment. The performance parameters of the user device may include parameters of a central processing unit (CPU, central Processing Unit) and an image processor (GPU, graphics Processing Unit) of the user device.
Specifically, the layers of the building drawing can be screened based on the display proportion, so as to obtain a plurality of layers corresponding to the display proportion, and further, based on the performance parameters of the user equipment, the target layer which is finally rendered and displayed is determined from the plurality of layers corresponding to the display proportion.
In one embodiment, an upper limit number of layers that can be rendered at a time may be determined based on a performance parameter of the user device, and based on the upper limit number, when the number of layers corresponding to the display scale is greater than the upper limit number, the upper limit number of layers may be determined from the plurality of layers corresponding to the display scale to be each target layer.
The target layer is determined by combining the performance parameters of the user equipment, so that 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 fluency of drawing rendering is further improved.
Fig. 3 is a schematic flow chart of a display of a building drawing according to another embodiment of the present application, as shown in fig. 3, in this embodiment, based on the embodiment shown in fig. 2, steps S202 and S203 are further refined, and steps of determining an interest layer and obtaining a drawing display instruction are added before step S201, and as shown in fig. 3, the display of a building 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 who logs in currently, such as a user who logs in to a user device, or a user who logs in to an application, applet, web page, etc. that displays the building drawing.
In one embodiment, the user's viewing history 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 a frequency of review, a number of reviews, and a length of review for each layer of the building drawing may be determined based on a viewing history of the user, and an interest layer of the user may be determined from each layer of the building drawing based on at least one of the frequency of review, the number of reviews, and the length of review.
In one embodiment, the layer with the greatest number of views may be determined to be the user's interest layer.
In one embodiment, the layer with the longest viewing duration may be determined to be the user's interest layer.
In one embodiment, the user's interest layer may be determined from the layers of the building drawing based on a weighted average of the frequency of reference, the number of references, and the length of reference.
In one embodiment, the user's viewing history may be determined from a viewing record of the building drawing based on the user identification.
In one embodiment, the user identification of the currently logged-in user may be determined based on login information, such as login information of the user device or login information of an application, applet, or web page corresponding to the building drawing.
For example, a user, such as a person in charge of a subcontracting construction unit, may input login information in a user device (a device provided at the construction unit) to log in the user device, and refer to a building drawing based on a preset application installed on the user device.
For example, a user, such as an architect, may refer to a building drawing by logging in a preset applet on the mobile terminal to perform construction based on the building 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 of the building drawing that was referred to at a historical time, and after determining the interest layer, may look up the interest layer from the user device's cache and display the interest layer. The user can trigger the drawing display instruction, such as a drawing scaling instruction, on the interface for displaying the interest layer.
In one embodiment, after the interest layer is determined, the interest layer may be obtained from the core terminal and displayed by default when the user clicks on the building drawing. And the user can trigger drawing display instructions on the interest layer, such as drawing scaling instructions input.
In one embodiment, the interest layer may be displayed by default during the period when the user triggers the drawing display instruction, such as the period when a drawing zoom instruction is input, until the drawing zoom 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 consult the interest layer can be omitted, and convenience in drawing display is improved.
Step S303, determining the display proportion according to the drawing display instruction triggered by the user.
Step S304, obtaining a user identifier corresponding to the drawing display instruction.
Wherein the user identifications of different users are different, and the user identifications are unique identification codes of the users.
In one embodiment, the user identification may include a user number, e.g., 0145, user0147, where "user" is a preset character used to characterize the parameter as a user identification.
In one embodiment, the user identification of each user, such as zhangsan02, may be generated in the manner of name pinyin and numbering.
In one embodiment, the user identification may include the identity, job, or occupation of the user, such as Sale013 for sales personnel numbered 013.
In one embodiment, the drawing display instruction may include a user identifier, and the user identifier triggering the drawing display instruction may be obtained by analyzing the drawing display instruction.
In one embodiment, the user identification triggering the drawing display instruction user may be determined based on a manner of identifying the user image captured by the camera of the user device.
In one embodiment, when a user triggers a drawing display instruction of a building drawing through a finger touch instruction, a user identifier corresponding to the drawing display instruction can be determined by identifying a fingerprint of the user. And extracting fingerprint features in the drawing display instruction, and determining the user identification based on the fingerprint features.
Step S305, determining the target layer according to the user identifier and the display scale.
In one embodiment, a first correspondence corresponding to the user identifier may be determined based on the user identifier, and further, a target layer may be determined based on the first correspondence corresponding to the user identifier and the determined display scale.
In one embodiment, each layer that can be consulted by the user identification can be determined based on the user identification, and the target layer can be determined from each layer that can be consulted based on the determined display scale.
In one embodiment, based on the determined display scale, it may be determined that the scale range corresponding to the scale attribute in each layer that can be referred to includes each layer of the display scale, which is each target layer.
For example, taking a building drawing including 10 layers as an example, layers that can be referred to by the user identifier u0189 are layer 2 and layer 3, where the scale attribute of layer 2 is [1,1.5 ], the scale attribute of layer 3 is [1.5, 2), and the display scale determined based on the drawing scaling instruction is 1.8, then layer 3 can be determined to be the target layer.
Step S306, rendering and displaying the target layer.
Fig. 4A is a schematic diagram of interaction between a user device and a core device in the embodiment shown in fig. 3, fig. 4B is a schematic diagram of a display interface after the user device executes a drawing scaling instruction in the embodiment shown in fig. 4A, and as can be known from fig. 4A and fig. 4B, a currently logged-in user is U3147 (user identifier), a currently displayed interface of a display screen of the user device is a layer N1 (interesting layer of U3147) of a building drawing, in fig. 4A, by taking a touch screen of the user device triggered by a double click of the user U3147 by a finger as an example, based on the drawing scaling instruction, a display ratio is determined to be 1.5, a corresponding target layer is a layer N2, and then the user device requests data corresponding to the layer N2 to the core device and renders the layer N2, so that a display content of the display interface of the display screen is updated to be the layer N2, as shown in fig. 4B.
In one embodiment, due to the oversized construction drawing, the display range of the user device may be exceeded, that is, if the size of the construction drawing or the target layer is greater than a preset size, where the preset size may be the resolution of the user device or the size of the visible area of the current display interface, after determining the target layer, the target display data of the target layer may be determined based on the resolution of the user device 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 construction drawing is less than or equal to the preset size. After rendering and displaying the target display data, the rolling distance of the vertical rolling bar and the rolling distance of the horizontal rolling bar can be monitored, and based on the rolling distance of the vertical rolling bar and the rolling distance of the horizontal rolling 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, and meanwhile, the data amount required to be processed by the user equipment when displaying the building drawing is further reduced, and the smoothness of drawing display is improved.
In one embodiment, a portion of the target layer corresponding to the region currently displayed by the user device may be rendered and displayed.
In the embodiment, when a user needs to review a building drawing, an interest layer of the user is determined and displayed based on the viewing history of the user, and when the interest layer meets the user requirement, the user can be saved from performing the operation triggered by the drawing display instruction, so that the convenience of drawing display is improved; when the interest layer does not meet the user requirement, determining a display proportion 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 the target layer is only displayed to the user, the display content of each user of the building drawing under each display proportion is set in a differentiated mode, and the safety of the building drawing and the smoothness and speed of the display of the building drawing are improved.
In one embodiment, rendering and displaying the target layer includes:
acquiring a region of interest in the target layer; rendering and displaying the region of interest.
The region of interest may be a visual range of a display interface of the user device, and may also be a region of interest to the user or a region that the user may refer to.
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 display content is improved, and the time for searching the required reference content from the target layer by the user is shortened.
In one embodiment, acquiring the region of interest in the target layer includes:
and determining the attention 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.
Wherein, the user authority can be determined based on the user identification, and the user authority can be used for describing the layers which can be consulted by the user and the areas which can be consulted in the various layers. The historical operating record of the user can be a layer of the building drawing and a region of the layer viewed by the user at the historical time. The device identifier is used to identify different user devices, and the device identifier may be an identification code of the user device or an encoding of the user device.
In one embodiment, a region which can be referred to and corresponds to a target image layer of a user can be determined according to the authority of the user; the region of interest is determined from among the respective referenceable regions based on the history of the user.
In one embodiment, at least one of a reference frequency, a reference number, and a reference time period of each of the referents areas of the target layer may be determined based on a history of the user, and the region of interest may be determined from each of the referents areas based on at least one of the reference frequency, the reference number, and the reference time period of the referents areas.
In one embodiment, a region that can be referred to with the highest reference frequency or the highest number of references or the longest reference time period may be determined as the region of interest.
In one embodiment, the region of interest may be determined from each of the referenceable regions based on a weighted average of the frequency of reference, the number of references, and the length of reference for each referenceable region.
In one embodiment, the operation record corresponding to the user equipment may be determined from the historical operation records of the user according to the equipment identifier of the user equipment.
The method for determining the user attention area is easy to implement, and the accuracy of determining the attention area is high, so that the accuracy of drawing display is improved.
Fig. 5 is a schematic diagram illustrating interaction between a local device and a display device according to an embodiment of the present application, as shown in fig. 5, a user may perform user login based on a display interface of the local device, where the display interface is used to display a building drawing, after the user logs in, the display interface sends an account number and a password that the user logs in to the display device, and the display device verifies the account number and the password. After passing the verification, a user identification is determined based on the account, or based on the account number and the password, for example, the user identification is 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 identification, updates a display interface of the local device based on the interest layer, and fig. 5 is an overall plan view of a residential building taking the interest layer as an example. If the interest is not a layer desired by the user, the user inputs a zoom instruction (one of the drawing display instructions), such as a double click instruction, in the region where the display interface of the local device displays the layer of interest. The display device receives the scaling instruction, determines a target layer (a layer where a plan view of the target layer is located in 201 chambers in fig. 5 is taken as an example) of the building drawing based on a display proportion corresponding to the scaling instruction and a region (the region corresponding to 201 chambers in fig. 5) of a display interface corresponding to the scaling instruction, and sends the target layer to the local device so as to update the display interface of the local device based on the target layer and render the target layer at the local device, thereby only rendering the data of the target layer is needed, and greatly reducing the rendered data quantity.
Fig. 6 is a schematic structural diagram of a display device for a building drawing according to an embodiment of the present application, as shown in fig. 6, where the display device for a building drawing according to the embodiment includes: a display scale determination module 610, a target layer determination module 620, and a drawing rendering module 630.
The display proportion determining module 610 is configured to determine a display proportion 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 ratio, where the building drawing includes a plurality of preset layers, and each layer includes display data corresponding to the display ratio; and the drawing rendering module 630 is used for root rendering and displaying the target layer.
Optionally, the display proportion determining module 610 is specifically configured to:
and determining the display proportion according to the drawing display instruction triggered by the user and the user identifier 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 proportion.
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:
a region of interest determining unit, configured to obtain a region of interest in the target layer; rendering and displaying the region of interest.
Optionally, the region of interest determining unit is specifically configured to:
and determining the attention area of the user according to one or more of the historical operation record of the user, the user authority and the equipment identification of the user equipment.
Optionally, the apparatus further includes:
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; the instruction acquisition module is used for acquiring drawing display instructions triggered by a user on the interest layer.
Optionally, the apparatus further includes:
and the display data determining module is used for determining target display data of the target layer of the building drawing based on the resolution of the user equipment or the size of the visible area after determining the target layer 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 for building drawings provided by the embodiment of the application can be used for executing the technical scheme provided by any embodiment corresponding to the above-mentioned fig. 2 to 3, and the implementation principle and the technical effect are similar, and the embodiment is not repeated here.
Fig. 7 is a schematic structural diagram of a display device according to an embodiment of the present application, as shown in fig. 7, where the display device provided in this 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 to cause the display device to execute the method for displaying a construction drawing as provided in any one of the embodiments above.
Alternatively, memory 720 may be separate or integrated with processor 710.
The implementation principle and technical effects of the display device for building drawings provided in this embodiment can be referred to the foregoing embodiments, and will not be described herein again.
The embodiment of the application also provides a computer readable storage medium, wherein computer execution instructions are stored in the computer readable storage medium, and when a processor executes the computer execution instructions, the display of the building drawing provided by any embodiment is realized.
The embodiment of the application also provides a computer program product, which comprises a computer program, and the computer program realizes the display of the building drawing provided by any of the previous embodiments when being executed by a processor.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple modules may be combined or integrated into another system, or some features may be omitted or not performed.
The integrated modules, which are implemented in the form of software functional modules, may be stored in a computer readable storage medium. The software functional modules described above are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or processor to perform some of the steps of the methods described in the various embodiments of the application.
It should be appreciated that the processor may be a central processing unit (Central Processing Unit, CPU for short), other general purpose processors, digital signal processor (Digital Signal Processor, DSP for short), application specific integrated circuit (Application Specific Integrated Circuit, ASIC for short), 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 connection with the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution. The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile memory NVM, such as at least one magnetic disk memory, and may also be a U-disk, a removable hard disk, a read-only memory, a magnetic disk or optical disk, etc.
The storage medium may be implemented by any type or combination of volatile or nonvolatile 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 disk. 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. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuits, ASIC for short). It is also possible that the processor and the storage medium reside as discrete components in an electronic device or a master 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method provided by the embodiments of the present application.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application 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 application 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 is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (8)

1. A method for displaying a construction drawing, the method comprising:
determining at least one of consulting frequency, consulting times and consulting duration of each layer of the building drawing according to the consulting history of the user;
determining an interest layer of the user from each layer of the building drawing based on at least one of the reference frequency, the reference number and the reference time;
displaying the interest layer, and acquiring a drawing display instruction triggered by a user on the interest layer;
determining a display proportion 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;
rendering and displaying the target layer.
2. The method of claim 1, wherein determining the target layer of the building 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 any of claims 1-2, wherein rendering and displaying the target layer comprises:
acquiring a region of interest in the target layer;
rendering and displaying the region of interest.
4. A method according to claim 3, wherein acquiring the region of interest in the target layer comprises:
and determining the attention area of the user according to one or more of the historical operation record of the user, the user authority and the equipment identification of the user equipment.
5. The method of claim 1, wherein determining the target layer of the building 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.
6. A display device for a construction drawing, the device comprising:
the interest layer determining module is used for determining at least one of the consulting frequency, the consulting frequency and the consulting time length of each layer of the building drawing according to the consulting history of the user, and determining the interest layer of the user from each layer of the building drawing based on at least one of the consulting frequency, the consulting frequency and the consulting time length;
the interest layer display module is used for displaying the interest layer; the instruction acquisition module is used for acquiring a drawing display instruction triggered by a user on the interest layer;
the display proportion determining module is used for determining the display proportion according to the drawing display instruction triggered by the 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 corresponding to the display proportion;
and the drawing rendering module is used for root rendering and displaying the target layer.
7. A display device, characterized by comprising:
a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method of displaying a construction drawing according to any one of claims 1-5.
8. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of displaying a construction drawing according to any one of claims 1 to 5.
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 CN114518815A (en) 2022-05-20
CN114518815B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117631930A (en) * 2022-09-01 2024-03-01 苏州浩辰软件股份有限公司 Method, system and storage medium for quick response of drawing

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
吴雪梅 ; 李平川 ; 王迎 ; 钱晓明 ; .按比例缩放灭点三角形或反转重合视点的量点法作图.图学学报.2016,(第01期),全文. *

Also Published As

Publication number Publication date
CN114518815A (en) 2022-05-20

Similar Documents

Publication Publication Date Title
WO2020253059A1 (en) Method and apparatus for implementing multi-stage linkage drop-down box, and computer device
CN107547750A (en) Control method, device and the storage medium of terminal
CN110659569B (en) Electronic signature method, device, storage medium and electronic equipment
CN111258466A (en) Data visualization method and device, computer equipment and storage medium
CN112691381B (en) Rendering method, device and equipment of virtual scene and computer readable storage medium
CN111796824A (en) Page loading method, device, server and medium
CN106611065B (en) Searching method and device
CN114518815B (en) Method, device, equipment, medium and program product for displaying building drawing
CN110119299A (en) Information display method and equipment
CN113407284A (en) Navigation interface generation method and device, storage medium and electronic equipment
CN113342249B (en) Content management method, device, equipment and storage medium capable of previewing in real time
CN111259270A (en) Weather reminding method, equipment and computer readable medium
CN111597009B (en) Application program display method and device and terminal equipment
CN110618797B (en) Method and device for generating character trotting horse lamp and terminal equipment
CN110489023A (en) Implementation method, device, equipment, medium and the system of windows display
CN112966256A (en) Equipment management method based on building information model and related device
CN111698548B (en) Video playing method and device
CN109542558B (en) Information visualization method and device for billboard, computer equipment and storage medium
CN115687826A (en) Page refreshing method and device, computer equipment and storage medium
CN113282218A (en) Multi-dimensional report generation method, device, equipment and storage medium
CN108932279A (en) A kind of application page processing method and processing device
CN112051958B (en) Drawing multi-screen terminal interaction method and related device
CN112434237A (en) Page loading method and device, electronic equipment and storage medium
CN112667338A (en) Business line display control method and device, electronic equipment and storage medium
CN112016889A (en) Process construction method and device, electronic equipment and storage medium

Legal Events

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