Building drawing display method, device and equipment suitable for large-scale buildings and medium

CN122507960BActive Publication Date: 2026-09-11TECHNOLOGY (CHENGDU) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202610966673.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-07-01
Publication Date
2026-09-11
Estimated Expiration
2046-07-01

AI Technical Summary

Technical Problem

[0003]然而,上述方式通过浏览器显示建筑图纸适用于文件较小的建筑图纸时,当应急救援人员通过浏览器浏览大型建筑的建筑图纸,由于浏览器环境的固有限制,经常会存在如下技术问题:浏览器为每个标签页分配的内存上限远低于桌面应用(通常4GB以下),大型建筑的图纸文件(例如,十几GB的超大规模图纸)在Web端全量加载时,浏览器内存溢出,从而造成显示建筑图纸时的卡顿次数较多,用户交互操作的流畅性较低

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122507960B_ABST
    Figure CN122507960B_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure disclose a building drawing display method, device, equipment and medium suitable for large buildings, and relate to the technical field of computers. A specific embodiment of the method comprises: obtaining building drawing index information, and displaying a building drawing webpage interface; determining a set of drawing block display priority information; for each preset building drawing drawing block, the following steps are performed: determining the drawing block display priority information corresponding to the preset building drawing drawing block as target priority information; determining the preset storage level type corresponding to the target priority information as a target storage level type; determining the preset drawing block information corresponding to the preset building drawing drawing block as target drawing block information; performing storage processing on the target drawing block information; performing rendering processing on each viewport drawing block; and displaying each drawing block rendering frame. This embodiment reduces the number of stalls when displaying building drawings, and improves the smoothness of user interaction operations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of this disclosure relate to the field of computer technology, and more specifically to methods, apparatus, devices, and media for displaying architectural drawings for large-scale buildings. Background Technology

[0002] When large buildings are affected by disasters such as earthquakes or fires, emergency rescue personnel need to quickly access the architectural drawings of these buildings within the earthquake zone to implement timely rescue operations based on the building's structure. Therefore, the browsers used by emergency rescue personnel to display these architectural drawings require extremely high levels of lag and smooth operation. Currently, the common method for displaying architectural drawings in a browser is to directly parse the drawing file on the browser side and store the parsed file in the browser's memory for rendering.

[0003] However, while the above method of displaying architectural drawings through a browser is suitable for smaller architectural drawings, when emergency rescue personnel browse architectural drawings of large buildings through a browser, the inherent limitations of the browser environment often lead to the following technical problems: the maximum memory allocated by the browser to each tab is much lower than that of desktop applications (usually below 4GB). When large architectural drawing files (e.g., ultra-large-scale drawings of tens of gigabytes) are fully loaded on the web, the browser memory overflows, resulting in more stutters when displaying architectural drawings and lower smoothness of user interaction.

[0004] The information disclosed in this background section is only intended to enhance the understanding of the background of the present disclosure concept, and therefore may contain information that does not constitute prior art known to those skilled in the art. Summary of the Invention

[0005] The summary portion of this disclosure is intended to provide a brief overview of the concepts, which will be described in detail in the detailed description portion. This summary portion is not intended to identify key or essential features of the claimed technical solutions, nor is it intended to limit the scope of the claimed technical solutions.

[0006] Some embodiments of this disclosure provide methods, apparatus, electronic devices, and computer-readable media for displaying architectural drawings of large buildings to address one or more of the technical problems mentioned in the background section above.

[0007] In a first aspect, some embodiments of this disclosure provide a method for displaying architectural drawings applicable to large buildings. The method includes: in response to detecting a request to open a webpage for architectural drawings, obtaining architectural drawing index information, and displaying the architectural drawing webpage interface, wherein the architectural drawing index information includes information on each preset architectural drawing element block; determining a set of element block display priority information corresponding to each preset architectural drawing element block; and for each preset architectural drawing element block included in the preset architectural drawing element block, performing the following steps: determining the element block display priority information corresponding to the preset architectural drawing element block in the set of element block display priority information as the target priority. Priority information; the preset storage level type corresponding to the above target priority information is determined as the target storage level type; the preset primitive block information corresponding to the above preset architectural drawing primitive block among the above preset primitive block information is determined as the target primitive block information; the target primitive block information is stored according to the above target storage level type; in response to detecting any interactive operation on the above architectural drawing web page, the viewport primitive blocks corresponding to the above architectural drawing web page are rendered according to the primitive block display priority information set at the current time and the stored target primitive block information to obtain each primitive block rendering frame; the above primitive block rendering frames are displayed on the above architectural drawing web page.

[0008] Secondly, some embodiments of this disclosure provide an architectural drawing display device suitable for large buildings. The device includes: an acquisition and display unit configured to acquire architectural drawing index information and display an architectural drawing webpage interface in response to detecting a request to open a webpage for architectural drawings, wherein the architectural drawing index information includes information on each preset element block corresponding to each preset architectural drawing element block; a determination unit configured to determine a set of element block display priority information corresponding to each preset architectural drawing element block; and an execution unit configured to perform the following steps on each preset architectural drawing element block included in the preset architectural drawing element block: determining the element block display priority information corresponding to the preset architectural drawing element block in the set of element block display priority information. The target priority information is defined; the preset storage level type corresponding to the target priority information is determined as the target storage level type; the preset primitive block information corresponding to the preset architectural drawing primitive block in the preset primitive block information is determined as the target primitive block information; the target primitive block information is stored according to the target storage level type; the rendering unit is configured to respond to detecting any interactive operation on the architectural drawing web page, and to render each viewport primitive block corresponding to the architectural drawing web page according to the primitive block display priority information set at the current time and the stored target primitive block information, to obtain each primitive block rendering frame; the display unit is configured to display the above-mentioned primitive block rendering frames on the architectural drawing web page.

[0009] Thirdly, some embodiments of this disclosure provide an electronic device, including: one or more processors; and a storage device having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation of the first aspect above.

[0010] Fourthly, some embodiments of this disclosure provide a computer-readable medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method described in any implementation of the first aspect.

[0011] The above-described embodiments of this disclosure have the following beneficial effects: the architectural drawing display method for large buildings according to some embodiments of this disclosure can reduce the number of stutters when displaying architectural drawings and improve the smoothness of user interaction. Specifically, the reason for the high number of stutters and low smoothness of user interaction when displaying architectural drawings is that the maximum memory allocated by the browser to each tab is much lower than that of desktop applications (usually below 4GB). When large building drawing files (e.g., ultra-large-scale drawings of tens of gigabytes) are fully loaded on the web, the browser memory overflows, resulting in a high number of stutters and low smoothness of user interaction when displaying architectural drawings. Based on this, the architectural drawing display method for large buildings according to some embodiments of this disclosure firstly, in response to detecting a request to open a webpage for architectural drawings, obtains architectural drawing index information and displays the architectural drawing webpage interface. The architectural drawing index information includes information on each preset element block corresponding to each preset architectural drawing element block. Thus, by constructing an index file of preset architectural drawing element blocks, the first screen can be loaded lightly, thereby shortening the first screen loading time. Secondly, a set of element block display priority information corresponding to each preset architectural drawing element block is determined. Therefore, the display priority of each preset architectural drawing element block can be obtained, which can be used for hierarchical storage of the relevant geometric data of each preset architectural drawing element block, and for differentiating the rendering precision when rendering each preset architectural drawing element block. Then, for each preset architectural drawing element block included in the above-mentioned preset architectural drawing element blocks, the following steps are performed: the element block display priority information corresponding to the above-mentioned preset architectural drawing element block in the element block display priority information set is determined as the target priority information; the preset storage level type corresponding to the above-mentioned target priority information is determined as the target storage level type; the preset element block information corresponding to the above-mentioned preset architectural drawing element block in the above-mentioned preset element block information is determined as the target element block information; and the target element block information is stored according to the above-mentioned target storage level type. Therefore, according to the element block display priority information set, the information of each preset element block can be stored hierarchically, thereby saving browser storage resources without affecting the user's browsing. Subsequently, in response to any interactive operation detected on the aforementioned architectural drawing webpage interface, based on the current time's primitive block display priority information set and the stored target primitive block information, rendering processing is performed on each viewport primitive block corresponding to the aforementioned architectural drawing webpage interface to obtain each primitive block rendering frame. Therefore, when a user interacts with the architectural drawings, rendering can be performed according to the priority order of each viewport primitive block, thus saving video memory resources while ensuring user needs are met. Finally, the aforementioned primitive block rendering frames are displayed on the aforementioned architectural drawing webpage interface. This allows users to browse architectural drawings more smoothly on the aforementioned architectural drawing webpage interface.Because when displaying the rendering frames of the various primitive blocks corresponding to the architectural drawings that the user needs to view, the priority of each preset architectural drawing primitive block can be updated in real time, and the information of each preset primitive block can be stored in layers. This can save storage resources and facilitate subsequent rendering and calling based on different levels. Furthermore, when rendering and displaying the various preset architectural drawing primitive blocks that the user needs to view, the rendering and display can be performed in a hierarchical manner based on the priority of each preset architectural drawing primitive block. This can improve the display smoothness of each preset architectural drawing primitive block with limited video memory resources. As a result, the number of stutters when displaying architectural drawings can be reduced, and the smoothness of user interaction can be improved. Attached Figure Description

[0012] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and elements are not necessarily drawn to scale.

[0013] Figure 1 This is a flowchart of some embodiments of a method for displaying architectural drawings applicable to large buildings according to the present disclosure; Figure 2 These are schematic diagrams of some embodiments of the architectural drawing display device applicable to large buildings according to the present disclosure; Figure 3 This is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. Detailed Implementation

[0014] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0015] It should also be noted that, for ease of description, only the parts relevant to the invention are shown in the accompanying drawings. Unless otherwise specified, the embodiments and features described in this disclosure can be combined with each other.

[0016] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.

[0017] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".

[0018] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.

[0019] The collection, storage, and use of user personal information (such as user profiles and user historical behavior) involved in this disclosure shall be carried out in accordance with relevant laws and regulations, provided that the relevant organizations or individuals have fulfilled their obligations, including conducting personal information security impact assessments, informing personal information subjects, obtaining prior authorization and consent from personal information subjects, and other obligations before performing the corresponding operations.

[0020] This disclosure will now be described in detail with reference to the accompanying drawings and embodiments.

[0021] Figure 1 A flow 100 of some embodiments of a method for displaying architectural drawings for large buildings according to the present disclosure is shown. The method for displaying architectural drawings for large buildings includes the following steps: Step 101: In response to the detection of a request to open a webpage for architectural drawings, obtain the architectural drawing index information and display the architectural drawing webpage interface.

[0022] In some embodiments, the execution entity (e.g., a computing device) of the architectural drawing display method applicable to large buildings can, in response to detecting a request to open a webpage for architectural drawings, obtain architectural drawing index information and display the architectural drawing webpage interface. The aforementioned request to open a webpage for architectural drawings can represent a user's request to open architectural drawings on a web platform. This request can include, but is not limited to, an architectural drawing identifier. The architectural drawing identifier can uniquely identify the architectural drawing. The architectural drawing index information can be obtained by a server connected to the web platform through file parsing processing of the architectural drawing file corresponding to the aforementioned architectural drawing identifier using the Open Design Alliance (ODA) SDK. The architectural drawing index information can include, but is not limited to, the information of each preset architectural drawing element block corresponding to each preset architectural drawing element block. Preset architectural drawing element blocks can be element blocks obtained by pre-setting the global bounding box of the architectural drawing to facilitate spatial indexing. Each preset architectural drawing element block corresponds to one preset element block information. The preset element block information can include, but is not limited to, element block identifiers and element block storage locations. The element block identifier can be a unique identifier for the corresponding preset architectural drawing element block. The aforementioned primitive block storage location can be the location where the corresponding preset architectural drawing primitive blocks are stored. The aforementioned architectural drawing index information can also include layer attribute information for each corresponding layer. Layer attribute information can include, but is not limited to, layer identifier, layer color, and layer container range. The aforementioned layer identifier can uniquely identify the corresponding layer. The aforementioned layer color can be the color of the corresponding layer. The aforementioned layer container range can be the container range of the corresponding layer. The aforementioned architectural drawing index information can be a JSON format file. The aforementioned architectural drawing web interface can be a web-based interface used to display architectural drawings. The aforementioned architectural drawing index information can also include the initial primitive block display priority information for each of the aforementioned preset architectural drawing primitive blocks. The preset architectural drawing primitive blocks in the aforementioned preset architectural drawing primitive blocks can correspond one-to-one with the initial primitive block display priority information in the aforementioned initial primitive block display priority information. The aforementioned initial primitive block display priority information can be a pre-set priority for the corresponding preset architectural drawing primitive block at the first display. The aforementioned initial primitive block display priority information can include, but is not limited to, the initial primitive block display priority value. The initial display priority value of the aforementioned primitive blocks can be a pre-set value indicating the priority of displaying the corresponding preset architectural drawing primitive blocks during the first display. In practice, the aforementioned execution entity can respond to the detection of a request to open a webpage for architectural drawings by obtaining architectural drawing index information from the server via a wired or wireless connection.It should be noted that the aforementioned wireless connection methods may include, but are not limited to, 3G / 4G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other currently known or future wireless connection methods.

[0023] Step 102: Determine the display priority information set of the element blocks corresponding to each preset architectural drawing element block.

[0024] In some embodiments, the execution entity may determine a set of element block display priority information corresponding to each of the preset architectural drawing element blocks. In practice, the execution entity may determine the initial element block display priority information as the set of element block display priority information for each of the preset architectural drawing element blocks.

[0025] In addressing the technical problems mentioned above, when employing technical solutions to solve these issues, the following technical problem often arises in the application scenario: users who need to browse architectural drawings smoothly through a browser and quickly find their target areas of interest (e.g., emergency rescue personnel in earthquake-stricken areas). This is because different users have varying degrees of interest in different areas of the architectural drawings when determining the priority information set for graphic elements. Using a fixed priority information set for different users results in a low match between the fixed set and user needs, leading to users spending excessive time browsing their areas of interest. This application scenario requires the following characteristics: emergency rescue personnel have limited time and urgently need to quickly browse drawings, promptly locate their assigned building areas for detailed inspection, and rescue those trapped in large buildings. Therefore, there is a high demand for the smoothness and timeliness of the browser's display of architectural drawings. Considering the existing advantages, such as the inventor's organization's research and development advantages in scenario survey data, the following solution was adopted: In some optional implementations of certain embodiments, the aforementioned execution entity may determine the set of element block display priority information corresponding to each of the aforementioned preset architectural drawing element blocks through the following steps: The first step involves obtaining the historical viewport interaction information sequence corresponding to the aforementioned architectural drawing webpage interface, in response to the determination that the current time meets the preset update time condition. The preset update time condition can be the interval between the current time and the last time the display priority information set of the graphic element blocks was determined. The preset update interval can be a pre-set duration for updating the display priority information of the graphic element blocks. For example, the preset update interval can be 1 / 60 of a second. The historical viewport interaction information sequence can be a sequence of historical viewport interaction information arranged in ascending chronological order. The historical viewport interaction information in the sequence can represent the user's interaction operations in the current viewport at a historical time point. The historical viewport interaction information can include, but is not limited to, historical interaction time, historical interaction graphic element block identifiers, and historical interaction types. The historical interaction time can be the time point at which the user performed an interaction operation on the corresponding historical interaction coordinates. The historical interaction graphic element block identifier can be the identifier of the preset architectural drawing graphic element block that the user interacted with at the historical interaction time. The aforementioned historical interaction types can be, but are not limited to, one of the following: mouse movement, scroll wheel zoom, drag and pan, and click selection. In practice, in response to the current time meeting the preset update time condition, the aforementioned executing entity can retrieve the historical viewport interaction information sequence corresponding to the aforementioned architectural drawing webpage interface from the database via a wired or wireless connection. It should be noted that the historical viewport interaction information sequence can be collected by a monitor configured by the executing entity for monitoring the interface.

[0026] The second step involves inputting the aforementioned historical viewport interaction information sequence into a pre-defined user attention area information generation model to obtain user attention area information. This user attention area information generation model can be a neural network that takes the historical viewport interaction information sequence as input and outputs the user attention area information. The neural network can be LSTM or GRU. The user attention area information can be at least one architectural drawing primitive block that the user is about to pay attention to, predicted by the model. This user attention area information can include, but is not limited to, a set of predicted architectural drawing primitive block identifiers and a set of predicted primitive block identifier probability values. The predicted architectural drawing primitive block identifiers in the predicted architectural drawing primitive block identifier set and the predicted primitive block identifier probability values ​​included in the predicted primitive block identifier probability values ​​can correspond one-to-one. The predicted architectural drawing primitive block identifier can be a unique identifier for a preset architectural drawing primitive block that the user will pay attention to at a future time. The predicted primitive block identifier probability value can be the probability that the user will pay attention to the preset architectural drawing primitive block corresponding to the predicted architectural drawing primitive block identifier at a future time.

[0027] The third step involves performing the following sub-steps for each of the aforementioned preset architectural drawing element blocks: The first sub-step involves generating user attention area factor coefficients corresponding to the aforementioned preset architectural drawing element blocks based on the user attention area information. In practice, the executing entity may, in response to determining that the predicted architectural drawing element block identifier set included in the user attention area information contains the aforementioned preset architectural drawing element blocks, determine the predicted element block identifier probability value corresponding to the aforementioned preset architectural drawing element block in the predicted element block identifier probability value set as the user attention area factor coefficient. The predicted element block identifier probability value corresponding to the aforementioned preset architectural drawing element block can be: the predicted element block identifier probability value where the corresponding predicted architectural drawing element block identifier is the same as the architectural drawing element block identifier corresponding to the aforementioned preset architectural drawing element block. The architectural drawing element block identifier can be a unique identifier for the corresponding preset architectural drawing element block. In response to determining that the predicted architectural drawing element block identifier set included in the user attention area information contains the aforementioned preset architectural drawing element blocks, a preset no-attention coefficient is determined as the user attention area factor coefficient. The preset no-attention coefficient can be a pre-set coefficient representing that the user does not pay attention to the aforementioned preset architectural drawing element block. For example, the preset no-attention coefficient can be 0.

[0028] The second sub-step involves generating a viewport focus factor coefficient based on the acquired primitive block viewport distance information. This primitive block viewport distance information can include, but is not limited to, primitive block viewport distances. The primitive block viewport distance can be the minimum value among various distances between the center point of the preset architectural drawing primitive block and the current viewport. This primitive block viewport distance information can be obtained from a database via a wired or wireless connection. In practice, firstly, the executing entity can determine the ratio of the primitive block viewport distance included in the primitive block viewport distance information to the preset viewport diagonal length as a distance ratio. The preset viewport diagonal length can be a pre-set length of the current viewport diagonal. Then, the difference between 1 and the distance ratio is determined as a first difference value. Next, the difference between 0 and the distance ratio is determined as a second difference value. Finally, the maximum value between the first and second differences is determined as the viewport focus factor coefficient.

[0029] The third sub-step involves generating the operation thermal factor coefficients corresponding to the preset architectural drawing element blocks based on the aforementioned historical viewport interaction information sequence. In practice, firstly, the executing entity can determine each historical viewport interaction information corresponding to the preset architectural drawing element blocks in the aforementioned historical viewport interaction information sequence as the target historical viewport interaction information set. Secondly, for each target historical viewport interaction information included in the aforementioned target historical viewport interaction information set, the following sub-steps are performed: Sub-step one involves determining the preset interaction score for the historical interaction type corresponding to the aforementioned target historical viewport interaction information. This preset interaction score can be a pre-set score for the corresponding interaction type. It should be noted that different historical interaction types have different preset interaction scores. For example, mouse movement has the lowest preset interaction score. Scrolling with the mouse wheel has a higher preset interaction score than dragging and panning. Clicking to select has the highest preset interaction score.

[0030] Sub-step two: Determine the interval between the historical interaction time and the current time, which are included in the target historical viewport interaction information, as the interaction interval duration.

[0031] Sub-step three involves inputting the above-mentioned interaction interval duration into the time exponential decay formula to obtain the time decay coefficient.

[0032] Sub-step four: The result of the above interaction score and the above time decay coefficient is determined as the target interaction score.

[0033] Finally, the sum of the obtained target interaction scores is determined as the operational thermodynamic factor coefficient.

[0034] The fourth sub-step involves generating a display factor coefficient based on the obtained current layer display information corresponding to the aforementioned preset architectural drawing element blocks. This current layer display information is obtained from a database via a wired or wireless connection. The current layer display information may include, but is not limited to, layer display scale. The layer display scale can be the ratio of the layer's display size. In practice, the executing entity can determine the preset display factor coefficient corresponding to the layer display scale included in the current layer display information as the display factor coefficient. The preset display factor coefficient can be a pre-set, fixed coefficient representing the layer display of the preset architectural drawing element blocks. Different layer display scales correspond to different preset display factor coefficients. For example, when the layer display scale is 100%, the preset display factor coefficient can be 1; when the layer display scale is 0, i.e., the preset architectural drawing element blocks are hidden, the preset display factor coefficient can be 0.1; when the layer display scale is 50%, i.e., the preset architectural drawing element blocks are hidden, the preset display factor coefficient can be 0.5.

[0035] The fifth sub-step involves determining the factor coefficient weight set for each factor coefficient based on the acquired current drawing type and drawing usage scenario type. These factor coefficients may include, but are not limited to, the viewport focus factor coefficient, the user attention area factor coefficient, the operation heatmap factor coefficient, and the display factor coefficient. The current drawing type can be the type of architectural drawing the user needs to open. This can be, but is not limited to, one of the following: architectural floor plan, staircase / detail drawing, or large assembly drawing. The usage scenario type represents the type of scenario in which the user needs to open the architectural drawing. This can be, but is not limited to, one of the following: design review (demonstration mode), weak network / mobile (4G / 5G), first-time opening / unfamiliar drawing. In practice, the executing entity can first determine the preset first factor coefficient weight set corresponding to the current drawing type as the first factor coefficient weight set. The preset first factor coefficient weights in the preset first factor coefficient weight set correspond one-to-one with the factor coefficients in each factor coefficient set. The preset first factor coefficient weights can be pre-set weights for the corresponding factor coefficients. It should be noted that the larger the scope of the drawing, the denser the graphic elements, and the more frequently the user navigates (e.g., architectural floor plans), the greater the weight of the preset first factor coefficient of the aforementioned operation thermal factor coefficient. The richer the details of the drawing (e.g., staircase / node details), the greater the weight of the preset first factor coefficient of the aforementioned viewport focus factor coefficient. The greater the logical browsing path of the drawing (e.g., large assembly drawings), the greater the weight of the preset first factor coefficient of the aforementioned user-focused area factor coefficient. As an example, when the current drawing type is an architectural floor plan, the preset first factor coefficient weights, ordered according to the above viewport focus factor coefficient, the above user attention area factor coefficient, the above operation thermal factor coefficient, and the above display factor coefficient, are 0.25, 0.40, 0.15, and 0.20, respectively; when the current drawing type is a staircase / detail drawing, the preset first factor coefficient weights, ordered according to the above viewport focus factor coefficient, the above user attention area factor coefficient, the above operation thermal factor coefficient, and the above display factor coefficient, are 0.50, 0.15, 0.20, and 0.15, respectively; when the current drawing type is a large assembly drawing, the preset first factor coefficient weights, ordered according to the above viewport focus factor coefficient, the above user attention area factor coefficient, the above operation thermal factor coefficient, and the above display factor coefficient, are 0.20, 0.50, 0.20, and 0.10, respectively. Furthermore, the executing entity can determine the preset second factor coefficient weight set corresponding to the above drawing usage scenario type as the second factor coefficient weight set. Among them, the preset second factor coefficient weights in the preset second factor coefficient weight set can correspond one-to-one with the factor coefficients in each factor coefficient.The preset second factor coefficient weight can be a pre-defined weight for the corresponding factor coefficient. It should be noted that when the drawing usage scenario represents a one-person explanation with multiple viewers (e.g., design review (demonstration mode)), the larger the preset second factor coefficient weight corresponding to the viewport focus factor coefficient, the smaller the preset second factor coefficient weight corresponding to the operation heatmap factor coefficient. When the drawing usage scenario represents a network-restricted environment (e.g., weak network / mobile (4G / 5G)), the larger the preset second factor coefficient weight corresponding to the viewport focus factor coefficient, the smaller the preset second factor coefficient weight corresponding to the user attention area factor coefficient. When the drawing usage scenario represents a user with no prior interaction history (e.g., first-time opening / unfamiliar drawing), the larger the preset second factor coefficient weight corresponding to the viewport focus factor coefficient, the smaller the preset second factor coefficient weight corresponding to the operation heatmap factor coefficient. As an example, when the current drawing type is design review (demonstration mode), the preset second factor coefficient weights, according to the order of the above viewport focus factor coefficient, the above user attention area factor coefficient, the above operation heatmap factor coefficient, and the above display factor coefficient, are 0.50, 0.20, 0.05, and 0.25, respectively; when the drawing usage scenario type is weak network / mobile (4G / 5G), the preset second factor coefficient weights, according to the order of the above viewport focus factor coefficient, the above user attention area factor coefficient, the above operation heatmap factor coefficient, and the above display factor coefficient, are 0.55, 0.05, 0.25, and 0.15, respectively; when the current drawing type is first-time opening / unfamiliar drawing, the preset second factor coefficient weights, according to the order of the above viewport focus factor coefficient, the above user attention area factor coefficient, the above operation heatmap factor coefficient, and the above display factor coefficient, are 0.45, 0.05, 0.10, and 0.40, respectively. Then, for each of the aforementioned factor coefficients, the average of the preset first factor coefficient weight and the preset second factor coefficient weight corresponding to that factor coefficient is determined as the factor coefficient weight. Finally, the determined factor coefficient weights are defined as a set of factor coefficient weights.

[0036] The sixth sub-step involves generating primitive block display priority information based on the aforementioned factor coefficient weight set, the aforementioned viewport focus factor coefficient, the aforementioned user attention area factor coefficient, the aforementioned operation heatmap factor coefficient, and the aforementioned display factor coefficient. In practice, the executing entity can determine the primitive block display priority value by summing the products of the factor coefficient weights corresponding to the aforementioned viewport focus factor coefficient, the aforementioned user attention area factor coefficient, the aforementioned operation heatmap factor coefficient, and the aforementioned display factor coefficient. Then, this primitive block display priority value is determined as the primitive block display priority information.

[0037] The fourth step is to determine the display priority information of each generated primitive block as a primitive block display priority information set.

[0038] The above technical solution, combined with step 105 and related content, serves as an inventive point of this disclosure, solving the technical problem of "users spending too much time browsing areas of interest." Factors leading to excessive time spent browsing areas of interest often include: when determining the priority information set of graphic elements, different users have different levels of interest in different areas of architectural drawings; when using a fixed priority information set for different users, the fixed priority information set has a low matching degree with user needs, resulting in excessive time spent browsing areas of interest. Solving these factors can shorten the time spent browsing areas of interest. To achieve this effect, the architectural drawing display method applicable to large buildings disclosed in this disclosure firstly, in response to determining that the current time meets the preset update time condition, obtains the historical viewport interaction information sequence corresponding to the aforementioned architectural drawing webpage interface. This allows for the acquisition of various interaction operations at historical time points in the current viewport, which can then be used to predict the areas corresponding to preset architectural drawing graphic elements that the user will be interested in at future time points. Secondly, the aforementioned historical viewport interaction information sequence is input into a pre-set user-interested area information generation model to obtain user-interested area information. Therefore, it is possible to predict the areas corresponding to various preset architectural drawing elements that a user will be interested in at future points in time, which can then be used to determine the display priority of each preset architectural drawing element. Then, for each preset architectural drawing element included in the aforementioned preset architectural drawing elements, the following steps are performed: First, based on the aforementioned user-focused area information, a user-focused area factor coefficient is generated for the corresponding preset architectural drawing element. This allows for the prediction of the probability of user interaction with the aforementioned preset architectural drawing element, which can then be used to determine the display priority of the aforementioned preset architectural drawing element. Second, based on the obtained element viewport distance information, a viewport focus factor coefficient is generated. This allows for the spatial determination of the user's interest in the aforementioned preset architectural drawing element based on the distance between the current viewport and the aforementioned preset architectural drawing element. Third, based on the aforementioned historical viewport interaction information sequence, an operation heatmap factor coefficient is generated for the corresponding preset architectural drawing element. This allows for the determination of the user's interest in the aforementioned preset architectural drawing element based on the user's interaction operations with the aforementioned preset architectural drawing element at historical points in time. The fourth step involves generating display factor coefficients based on the current layer display information of the corresponding preset architectural drawing elements. This allows for the determination of the user's level of interest in the preset architectural drawing elements based on their current display status. The fifth step involves determining the factor coefficient weight set for each factor coefficient based on the current drawing type and drawing usage scenario type. These factor coefficients include the viewport focus factor coefficient, the user attention area factor coefficient, the operation heatmap factor coefficient, and the display factor coefficient.Therefore, the influence of each factor coefficient on priority judgment can be dynamically adjusted according to the drawing type and the drawing usage scenario, thereby improving the alignment between the display priority of the aforementioned preset architectural drawing elements and user interest. The sixth step generates element display priority information based on the aforementioned factor coefficient weight set, viewport focus factor coefficient, user attention area factor coefficient, operation heatmap factor coefficient, and display factor coefficient. This yields element display priority information with high user relevance, allowing for the priority display of preset architectural drawing elements of user interest. Finally, the generated element display priority information is defined as the element display priority information set. This provides the display priority of preset architectural drawing elements with high user relevance, enabling the priority display of areas of user interest within each preset architectural drawing element. Because the system considers the impact of drawing type and network status on user attention when determining the areas of architectural drawings that users are interested in, it can improve the priority of displaying each preset architectural drawing element block and the fit with the user's area of ​​interest. This can save storage and video memory resources while improving the smoothness and timeliness of the user's interaction when browsing areas of architectural drawings that they are interested in.

[0039] Step 103: For each preset architectural drawing element block included in each preset architectural drawing element block, perform the following steps: Step 1031: Determine the display priority information of the element blocks corresponding to the preset architectural drawing element blocks in the element block display priority information set as the target priority information.

[0040] In some embodiments, the execution entity may determine the display priority information of the primitive block corresponding to the preset architectural drawing primitive block in the primitive block display priority information set as the target priority information.

[0041] Step 1032: Determine the preset storage level type corresponding to the target priority information as the target storage level type.

[0042] In some embodiments, the executing entity may determine the preset storage level type corresponding to the target priority information as the target storage level type. The preset storage level type may indicate whether to store all information of the preset primitive block. The preset storage level type may be, but is not limited to, one of the following: full storage layer, lightweight storage layer, and indexed storage layer. The full storage layer may indicate that it stores complete geometric data (vertices, indices, normals), materials, transformation matrices, and other full information of the preset architectural drawing primitive block. The storage address corresponding to the full storage layer may be GPU memory and JS heap memory. The lightweight storage layer may indicate that it stores lightweight attributes such as containers, simplified outlines or polygons, layer IDs, names, and colors of the preset architectural drawing primitive blocks. The storage address corresponding to the lightweight storage layer may be IndexedDB. The indexed storage layer may indicate that it stores the original compressed geometric data of the preset architectural drawing primitive blocks. The storage address corresponding to the indexed storage layer may be a cloud database. The cloud database may be a database corresponding to the cloud. The cloud may be a communication connection for the executing entity. It should be noted that the primitive block display priority value included in the primitive block display priority information corresponding to the above-mentioned full storage layer is greater than the primitive block display priority value included in the primitive block display priority information corresponding to the above-mentioned lightweight storage layer; the primitive block display priority value included in the primitive block display priority information corresponding to the above-mentioned lightweight storage layer is greater than the primitive block display priority value included in the primitive block display priority information corresponding to the above-mentioned index storage layer. Each preset storage level type corresponds to a preset primitive block display priority value range. The above-mentioned preset primitive block display priority value range can be a pre-set range of primitive block display priority values. The preset storage level type corresponding to the above-mentioned primitive block display priority information can be: a preset storage level type corresponding to the preset primitive block display priority value range to which the primitive block display priority value included in the above-mentioned primitive block display priority information belongs.

[0043] Step 1033: Determine the preset element block information of the corresponding preset architectural drawing element block in each preset element block information as the target element block information.

[0044] In some embodiments, the execution entity may determine the preset element block information corresponding to the preset architectural drawing element block in the preset element block information as the target element block information.

[0045] Step 1034: Store the marked primitive block information according to the target storage level type.

[0046] In some embodiments, the execution entity may store the target primitive block information according to the target storage level type. In practice, the execution entity may store the target primitive block information in various ways according to the target storage level type.

[0047] Optionally, the aforementioned preset primitive block information may include, but is not limited to, primitive block compression information. The aforementioned primitive block compression information may represent the original compressed geometric data of the corresponding preset architectural drawing primitive block. The aforementioned primitive block compression information may include, but is not limited to, storage path and primitive block index number. The aforementioned primitive block index number may be the index number of the corresponding preset architectural drawing primitive block.

[0048] In some optional implementations of certain embodiments, the execution entity may perform storage processing on the target primitive block information according to the target storage level type through the following steps: The first step is to determine whether the aforementioned target storage level type is the initial storage level type. The initial storage level type can be the storage level type when the device is first opened without any interactive operations. In practice, in response to determining that the target priority information corresponding to the aforementioned target storage level type is the initial primitive block display priority information, the aforementioned target storage level type is determined to be the initial storage level type. In response to determining that the target priority information corresponding to the aforementioned target storage level type is not the initial primitive block display priority information, the aforementioned target storage level type is determined to be not the initial storage level type.

[0049] The second step involves, in response to determining that the target storage level type is the initial level type, storing the compressed primitive block information included in the target primitive block information according to the target storage level type. In practice, in response to determining that the target storage level type is a full storage layer, a preset full geometry parser is used to parse the compressed primitive block information included in the target primitive block information to obtain parsed primitive block information, and the parsed primitive block information is stored in the databases corresponding to the GPU memory and JS heap memory. The preset full geometry parser can be a Wasm parser used to output complete geometry. The parsed primitive block information can include, but is not limited to, the complete geometric data (vertices, indices, normals), materials, and transformation matrices of the preset architectural drawing primitive blocks. In response to determining that the target storage level type is a lightweight storage layer, a preset lightweight geometry parser is used to parse the compressed primitive block information included in the target primitive block information to obtain parsed primitive block information, and the parsed primitive block information is stored in the database corresponding to IndexedDB. The aforementioned preset lightweight geometry parser can be a Wasm parser used to output lightweight geometry. The aforementioned primitive block parsing information may include, but is not limited to, containers for preset architectural drawing primitive blocks, simplified outlines or polygons, layer IDs, names, and colors. In response to determining that the aforementioned target storage level type is an index storage layer, the aforementioned primitive block compression information is stored in the cloud database.

[0050] Optionally, the aforementioned execution entity may also, in response to determining that the target storage level type is not the initial level type, perform the following update steps based on the initial level type: The first update step involves determining the preset storage database corresponding to the aforementioned target storage level type as the target database. This preset storage database can be a database corresponding to a pre-defined storage address. For example, when the target storage level type is the full storage level, the preset storage database can be a database corresponding to GPU memory and JS heap memory. When the target storage level type is the lightweight storage level, the preset storage database can be a database corresponding to IndexedDB.

[0051] The second update step, in response to determining that the target storage level type meets the preset level upgrade conditions, involves parsing the compressed primitive block information included in the target primitive block information according to the target storage level type to obtain primitive block parsing information. The preset level upgrade conditions can be: the target storage level type is a full storage layer, and the initial level type is a lightweight storage layer. In practice, the execution entity can, in response to determining that the target storage level type meets the preset level upgrade conditions, use the preset full geometry parser to parse the compressed primitive block information included in the target primitive block information to obtain primitive block parsing information.

[0052] The third update step involves storing the parsed primitive block information into the target database and determining the target storage level type as the initial level type.

[0053] Optionally, the aforementioned implementing entity may also perform the following update steps: The fourth update step involves determining that the target storage level type meets the preset level downgrade conditions, and then identifying the preset storage database corresponding to the initial level type as the database to be updated. The preset level downgrade conditions can be: the target storage level type is a lightweight storage layer and the initial level type is a full storage layer; or the target storage level type is an index storage layer and the initial level type is a lightweight storage layer.

[0054] The fifth update step is to delete the target primitive block information from the database to be updated.

[0055] The sixth update step involves storing the compressed primitive block information included in the target primitive block information according to the aforementioned target storage level type, and determining the target storage level type as the initial level type. In practice, in response to determining that the target storage level type is a lightweight storage layer, the compressed primitive block information included in the target primitive block information is parsed using the aforementioned preset lightweight geometry parser to obtain primitive block parsing information, and the primitive block parsing information is stored in the corresponding IndexedDB database.

[0056] Step 104: In response to detecting any interactive operation on the architectural drawing webpage interface, based on the current time's primitive block display priority information set and the stored target primitive block information, render each viewport primitive block of the corresponding architectural drawing webpage interface to obtain each primitive block rendering frame.

[0057] In some embodiments, the execution entity may, in response to detecting any interactive operation performed on the architectural drawing webpage interface, render each viewport primitive block corresponding to the architectural drawing webpage interface according to the current time primitive block display priority information set and the stored target primitive block information, thereby obtaining each primitive block rendering frame. The viewport primitive blocks in each viewport primitive block can be preset architectural drawing primitive blocks displayed in the current viewport. In practice, the execution entity may, in response to detecting any interactive operation performed on the architectural drawing webpage interface, render each viewport primitive block corresponding to the architectural drawing webpage interface according to the current time primitive block display priority information set and the stored target primitive block information through various methods, thereby obtaining each primitive block rendering frame.

[0058] In some optional implementations of certain embodiments, the aforementioned execution entity can perform rendering processing on each viewport primitive block of the aforementioned architectural drawing webpage interface according to the current primitive block display priority information set and the stored target primitive block information, thereby obtaining rendering frames for each primitive block: The first step is to determine the target priority information set by taking the display priority information of each primitive block in the current time primitive block display priority information set and corresponding to the display priority information of each primitive block in each viewport.

[0059] The second step involves dividing the viewport primitives according to the aforementioned target priority information set to obtain a first rendering precision primitive sequence, a second rendering precision primitive sequence, and a third rendering primitive sequence. In practice, firstly, the executing entity can determine the target priority information set containing all target priority information that satisfies a preset first rendering condition as the first priority information set. This preset first rendering condition can be that the display priority value of the primitives included in the target priority information is greater than or equal to a preset first primitive display priority value. This preset first primitive display priority value can be a pre-defined display priority value representing primitives that can be preferentially rendered in full. Secondly, the viewport primitives corresponding to the aforementioned first priority information set are determined as the first rendering precision primitive block set. Then, the first rendering precision primitives included in the first rendering precision primitive block set are arranged in descending order of their display priority values ​​to obtain the first rendering precision primitive block sequence. Subsequently, the aforementioned executing entity can determine the target priority information that satisfies the preset second rendering condition in the target priority information set as the second priority information set. The preset second rendering condition can be that the display priority value of the primitive blocks included in the target priority information is greater than or equal to the preset second primitive block display priority value, and less than the preset first primitive block display priority value. The preset second primitive block display priority value can be a pre-set display priority value representing primitive blocks that can be preferentially rendered. Next, the viewport primitive blocks corresponding to the aforementioned second priority information set in each viewport primitive block are determined as the second rendering precision primitive block set. Then, according to the descending order of the display priority values ​​of the primitive blocks included in the aforementioned second priority information set, the second rendering precision primitive blocks included in the aforementioned second rendering precision primitive block set are arranged to obtain the second rendering precision primitive block sequence. Finally, the aforementioned executing entity can determine the target priority information that satisfies the preset third rendering condition in the aforementioned target priority information set as the third priority information set. The aforementioned preset third rendering condition can be that the display priority value of the primitive blocks included in the target priority information is less than the preset second primitive block display priority value. Next, each viewport primitive block corresponding to the aforementioned third priority information set is determined as the third rendering precision primitive block set. Then, according to the descending order of the display priority values ​​of the primitive blocks included in the aforementioned third priority information set, the third rendering precision primitive blocks included in the aforementioned third rendering precision primitive block set are arranged to obtain the second rendering precision primitive block sequence.

[0060] The third step involves rendering each first-rendering-precision primitive block in the aforementioned first-rendering-precision primitive block sequence according to a preset first-rendering-precision level, to obtain rendering frames for each first-rendering-precision primitive block. The preset first-rendering-precision level can be a pre-defined level representing high-precision rendering of the first-rendering-precision primitive blocks. This high-precision rendering can represent specular highlights, shadows, and texture mapping all enabled. In practice, the execution entity can perform the following sub-steps on each first-rendering-precision primitive block in the aforementioned first-rendering-precision primitive block sequence: Sub-step one: Determine the target primitive block information corresponding to the aforementioned first rendering precision primitive block from the stored target primitive block information as the first primitive block information to be rendered.

[0061] Sub-step two involves rendering the complete geometry represented by the first primitive block information according to a preset first rendering precision level, using a preset renderer to obtain the first primitive block rendering frame. The preset renderer can be a WebGL rendering pipeline. It should be noted that the preset renderer is called via drawElements.

[0062] Fourth, according to the preset second rendering precision level, render each of the second rendering precision primitive blocks included in the above-mentioned second rendering precision primitive block sequence to obtain each second primitive block rendering frame. The preset second rendering precision level can be a pre-defined level representing medium-precision rendering of the first rendering precision primitive block. Medium-precision rendering can represent the second rendering precision primitive block being displayed in wireframe mode, with semi-transparent fill and no texture. In practice, the execution entity can perform the following sub-steps on each of the second rendering precision primitive blocks included in the above-mentioned second rendering precision primitive block sequence: Sub-step one: Determine the target primitive block information corresponding to the aforementioned second rendering precision primitive block from the stored target primitive block information as the second primitive block information to be rendered.

[0063] Sub-step two involves rendering the proxy geometry represented by the second primitive block information according to the preset second rendering precision level, using the aforementioned preset renderer to obtain the second primitive block rendering frame. It should be noted that the preset renderer is called via drawArrays here.

[0064] Fifth, according to the preset third rendering precision level, render each of the third rendering precision primitive blocks included in the above-mentioned third rendering precision primitive block sequence to obtain each third primitive block rendering frame. The preset third rendering precision level can be a pre-defined level representing low-precision rendering of the third rendering precision primitive blocks. Low-precision rendering can represent not drawing or only drawing the bounding box / center point of the third rendering precision primitive block. In practice, the execution entity can perform the following sub-steps for each of the third rendering precision primitive blocks included in the above-mentioned third rendering precision primitive block sequence: Sub-step one: Determine the target primitive block information corresponding to the aforementioned third rendering precision primitive block from the stored target primitive block information as the third primitive block information to be rendered.

[0065] Sub-step two involves rendering the proxy geometry represented by the second primitive block information according to the preset third rendering precision level, using the aforementioned preset renderer to obtain the second primitive block rendering frame. It should be noted that the preset renderer is called via gl.POINTS.

[0066] The sixth step is to determine the first primitive block rendering frames, the second primitive block rendering frames, and the third primitive block rendering frames as the respective primitive block rendering frames.

[0067] In addressing the technical problems mentioned above by adopting technical solutions, when considering the application scenario—users who need to simultaneously open multiple architectural drawings in a browser and have high demands for smooth viewing of these drawings (e.g., earthquake emergency rescue personnel)—the following technical problem often arises: When opening multiple architectural drawings simultaneously, the browser's video memory resources are limited, resulting in frequent stuttering during drawing display and low smoothness of user interaction. Given the specific requirements of this application scenario—emergency rescue personnel are pressed for time, and stuttering while viewing architectural drawings wastes rescue time; therefore, users have a high demand for smooth viewing of architectural drawings. Combining the existing advantages—the inventor's organization's R&D advantages in data processing technology—the following solution was chosen: In some optional implementations of certain embodiments, the execution entity may perform rendering processing on each first rendering precision primitive block included in the first rendering precision primitive block sequence according to a preset first rendering precision level through the following steps to obtain rendering frames for each first primitive block: Step 1: In response to the detection of insufficient video memory resources, each first rendering precision primitive block in the aforementioned first rendering precision primitive block sequence that meets the preset degradation condition is identified as the viewport primitive block set to be downgraded. The aforementioned insufficient video memory resources information can indicate that the GPU video memory usage of the aforementioned execution entity exceeds a GPU threshold. The aforementioned GPU threshold can be the maximum value of GPU video memory usage during system operation. The aforementioned preset degradation condition can be that the sequence number of the first rendering precision primitive block in the aforementioned first rendering precision primitive block sequence is greater than or equal to a preset degradation sequence number. The aforementioned preset degradation sequence number can be a pre-set sequence number indicating that the first rendering precision primitive block needs to be downgraded. For example, the aforementioned preset degradation sequence number can be the product of the total number of all first rendering precision primitive blocks included in the aforementioned first rendering precision primitive block sequence and 0.9. That is, the last 10% of the first rendering precision primitive blocks.

[0068] Step 2: Determine each first rendering precision primitive block in the above first rendering precision primitive block sequence that does not meet the above preset degradation conditions as the viewport primitive block set to be rendered.

[0069] Step 3: For each viewport primitive block included in the above set of viewport primitive blocks to be rendered, perform the following sub-steps: Sub-step one: Determine the target primitive block information corresponding to the aforementioned viewport primitive block to be rendered from the stored target primitive block information as the primitive block information to be rendered.

[0070] Sub-step two involves rendering the viewport primitives to be rendered based on the preset first rendering precision level and the aforementioned primitive block information, to obtain the target primitive block rendering frame. In practice, the execution entity can call the preset renderer to render the complete geometry represented by the primitive block information according to the preset first rendering precision level, thus obtaining the target primitive block rendering frame. It should be noted that the preset renderer is called via drawElements here.

[0071] Step 4: For each viewport primitive block to be downgraded included in the above set of viewport primitive blocks to be downgraded, perform the following steps: Sub-step one: Determine the target primitive block information corresponding to the aforementioned viewport primitive block to be downgraded from the stored target primitive block information as the downgrade primitive block information.

[0072] Sub-step two involves rendering the viewport primitives to be downgraded based on the preset second rendering precision level and the aforementioned downgraded primitive block information, to obtain a downgraded primitive block rendering frame. In practice, the execution entity can call the preset renderer to render the proxy geometry represented by the downgraded primitive block information according to the preset second rendering precision level, thus obtaining the downgraded primitive block rendering frame. It should be noted that the preset renderer is called via drawArrays here.

[0073] Step 5: Determine the obtained target primitive block rendering frames and the obtained degraded primitive block rendering frames as the first primitive block rendering frames.

[0074] The above-described technical solution and its related content, as an inventive point of this disclosure, solve the technical problem of "numerous stutters and low smoothness of user interaction when displaying architectural drawings". Factors leading to numerous stutters and low smoothness of user interaction when displaying architectural drawings often include: opening multiple architectural drawings simultaneously in a browser, where the browser's video memory resources are limited, resulting in numerous stutters and low smoothness of user interaction. Solving these factors can reduce the number of stutters when displaying architectural drawings and improve the smoothness of user interaction. To achieve this effect, the architectural drawing display method applicable to large buildings disclosed in this disclosure firstly, in response to detecting insufficient video memory resources, determines each first rendering precision primitive block in the first rendering precision primitive block sequence that meets the preset degradation conditions as a set of viewport primitive blocks to be downgraded; and determines each first rendering precision primitive block in the first rendering precision primitive block sequence that does not meet the preset degradation conditions as a set of viewport primitive blocks to be rendered. Therefore, when insufficient video memory resources are detected, the lower-priority primitives in the first rendering precision primitive block sequence can be downgraded, thereby reducing the number of first rendering precision primitives that need to be fully rendered. Then, for each viewport primitive block in the aforementioned viewport primitive block set to be rendered, the following steps are performed: the target primitive block information corresponding to the aforementioned viewport primitive block in the stored target primitive block information is determined as the primitive block information to be rendered; according to the preset first rendering precision level and the aforementioned primitive block information to be rendered, the aforementioned viewport primitive block to be rendered is rendered to obtain the target primitive block rendering frame. Thus, the higher-priority first rendering precision primitives can still be rendered with high precision. For each viewport primitive block in the aforementioned set of viewport primitive blocks to be downgraded, the following steps are performed: The target primitive block information corresponding to the aforementioned viewport primitive block to be downgraded from the stored target primitive block information is determined as the downgraded primitive block information; according to the preset second rendering precision level and the aforementioned downgraded primitive block information, the aforementioned viewport primitive block to be downgraded is rendered to obtain a downgraded primitive block rendering frame; the obtained target primitive block rendering frames and the obtained downgraded primitive block rendering frames are determined as the respective first primitive block rendering frames. Therefore, the rendering precision of each downgraded first-precision primitive block can be reduced, thereby saving video memory resources. Also, because when video memory resources are insufficient, a replacement mechanism can be used to render each first-precision primitive block, thus ensuring that while maintaining rendering smoothness, video memory always serves the most important data at present. This reduces the number of stutters when displaying architectural drawings and improves the smoothness of user interaction.

[0075] Step 105: Display the rendering frames of each graphic element block on the architectural drawing webpage interface.

[0076] In some embodiments, the execution entity may display the rendering frames of the various graphic elements on the architectural drawing webpage interface. In practice, the execution entity may display the rendering frames of the various graphic elements on the architectural drawing webpage interface in various ways.

[0077] In addressing the technical problems mentioned above, when employing technical solutions to solve the aforementioned background issues, and considering the application scenario—where users (e.g., earthquake emergency rescue personnel) need to browse architectural drawings through a browser and quickly locate key information within them for rescue operations—the following technical problem often arises: directly displaying individual graphic elements and rendering frames, with key text embedded within numerous lines, results in prolonged time spent browsing architectural drawings and finding the required key text, consequently reducing the timeliness of rescue efforts. Given the specific needs of this application scenario—emergency rescue personnel are pressed for time and urgently require rapid browsing of drawings to locate key information for swift rescue operations—there is a high demand for minimizing the time spent browsing architectural drawings and finding the required key text. Combining the existing advantages of the inventor's organization in interface display technology research and development, the following solution was chosen: In some optional implementations of certain embodiments, the aforementioned execution entity may display the rendering frames of the various graphic elements on the aforementioned architectural drawing web page interface through the following steps: The first step is to perform the following sub-steps for each primitive block rendering frame included in the above primitive block rendering frames: The first sub-step involves performing text detection processing on the aforementioned primitive block rendering frame to obtain text detection results. These results include the text itself, text region information, and text detection type. The text region information represents the area where the text is located within the primitive block rendering frame. This information may include, but is not limited to, the coordinates of the text box's center point, the text box's length, and its width. The text box's center point coordinates are the coordinates of the text box's center point in the rendering frame's coordinate system. This coordinate system can be a system with the lower left corner of the primitive block rendering frame as the origin, the horizontal x-axis as the x-axis, and the vertical y-axis as the y-axis. The text box can be a rectangular box enclosing the text. The text box's length and width are both possible. The text detection type indicates whether text annotations exist in the primitive block rendering frame. This type can be, but is not limited to, one of the following: text exists, text does not exist. It should be noted that when the text detection type is "no text exists," both the text itself and the text region information are empty. In practice, the aforementioned execution entity can perform text detection processing on the aforementioned primitive block rendering frame using a preset text recognition algorithm to obtain text detection results. The preset text recognition algorithm can be a pre-defined algorithm used to recognize text in an image. For example, the preset text recognition algorithm can be an OCR (Optical Character Recognition) algorithm.

[0078] The second sub-step, in response to determining that the above text detection type meets the preset text existence condition, determines the preset semantic category corresponding to the above text as the semantic category. The preset text existence condition can be: the above text detection type represents the presence of text annotations in the above primitive block rendering frame. The above preset semantic category can represent the importance of the text's semantics to emergency rescue personnel in carrying out rescue operations. The above preset semantic category can be, but is not limited to, one of the following: important text, ordinary text, irrelevant text. Each preset semantic category corresponds to a preset text set. The preset text in the above preset text set can be pre-defined text. As an example, when the above preset semantic category is important text, the preset text set can include, but is not limited to: "radiation protection zone," "chemical cabinet," "gas pipeline inlet point," "transformer"; when the above preset semantic category is ordinary text, the preset text set can include, but is not limited to: "elevator shaft," "stairwell," "fire escape," "bottom frame," "material"; when the above preset semantic category is irrelevant text, the preset text set can include, but is not limited to: "size," "floor." The preset semantic category corresponding to the above text can be: the preset semantic category corresponding to the preset text set containing the above text.

[0079] The third sub-step involves determining the preset first canvas level score corresponding to the aforementioned semantic category as the first canvas level score. This preset first canvas level score can be a pre-defined score representing the level of attention the user needs to draw through the canvas. Each preset first canvas level score corresponds to a preset semantic category. It should be noted that the greater the importance of the semantic meaning of the corresponding semantic category to emergency rescue personnel in carrying out rescue operations, the higher the preset first canvas level score.

[0080] The fourth sub-step involves determining the target canvas level information by taking the primitive block display priority information of the current time and the primitive block display priority information of the aforementioned primitive block rendering frame.

[0081] The fifth sub-step involves determining the preset second canvas level score corresponding to the aforementioned target canvas level information as the second canvas level score. This preset second canvas level score can be a pre-defined score representing the level of attention drawn to the user through the canvas. Each preset second canvas level score corresponds to a preset priority value range. This preset priority value range can be a pre-defined range of primitive block display priority values. The preset second canvas level score corresponding to the aforementioned target canvas level information can be: the preset second canvas level score corresponding to the preset priority value range to which the primitive block display priority values ​​included in the aforementioned target canvas level information belong.

[0082] The sixth sub-step involves generating a canvas level score based on the first canvas level score and the second canvas level score. In practice, the executing entity can determine the canvas level score as the average of the first canvas level score and the second canvas level score.

[0083] The seventh sub-step involves determining the preset canvas outline attribute information corresponding to the aforementioned canvas level score as the canvas outline attribute information. This preset canvas outline attribute information can be pre-defined information representing the attributes of the canvas outline. This preset canvas outline attribute information may include, but is not limited to, canvas outline color and canvas outline line width. The canvas outline color can be the color of the canvas outline. The canvas outline can be the outline of the canvas. The canvas outline line width can be the width of the canvas outline line. It should be noted that the higher the canvas level score, the brighter and more prominent the canvas outline color, and the larger the canvas outline line width.

[0084] The eighth sub-step involves drawing a transparent text canvas layer based on the aforementioned drawing frame attribute information and text area information. In practice, the executing entity can call a preset drawer to draw a canvas of the specified size and transparency mode, corresponding to the text box length and width specified in the aforementioned text area information, according to the drawing frame color and line width included in the drawing frame attribute information, thus obtaining a transparent text canvas layer. The preset drawer can be a pre-defined drawer. For example, the preset drawer could be a Canvas.

[0085] The ninth sub-step involves overlaying the aforementioned transparent text canvas layer and the aforementioned primitive block rendering frame to obtain an updated primitive block rendering frame. In practice, the executing entity can overlay the aforementioned transparent text canvas layer onto the aforementioned primitive block rendering frame to obtain an updated primitive block rendering frame. It should be noted that the center point of the transparent text canvas layer coincides with the coordinate point corresponding to the center point of the aforementioned text box.

[0086] The second step is to display the rendered frames of each graphic element block on the aforementioned architectural drawing webpage interface.

[0087] The above-mentioned technical solution and related content, as an inventive point of this disclosure, solve the technical problem of "long time spent by users browsing architectural drawings and finding the required key text, resulting in low timeliness of rescue." Factors leading to long time spent by users browsing architectural drawings and finding the required key text, and low timeliness of rescue, are often as follows: directly displaying each graphic element rendering frame, with key text contained within a large number of lines, thus causing long time spent by users browsing architectural drawings and finding the required key text, and consequently low timeliness of rescue. Solving these factors can shorten the time spent by users browsing architectural drawings and finding the required key text, thereby improving the timeliness of rescue. To achieve this effect, the architectural drawing display method applicable to large buildings disclosed in this disclosure first performs the following steps on each graphic element rendering frame: Step 1, performing text detection processing on the graphic element rendering frame to obtain text detection results, wherein the text detection results include text, text area information, and text detection type. This allows determination of whether text annotations exist in the graphic element rendering frame. The second step involves determining the semantic category of the text corresponding to the detected text, in response to the determination that the text detection type meets the preset text existence conditions. This allows for the assessment of the importance of the text in the primitive block rendering frame to the user's rescue efforts. The third step involves determining the preset first canvas level score corresponding to the semantic category as the first canvas level score; determining the display priority information of the primitive block corresponding to the rendered frame at the current time as the target canvas level information; determining the preset second canvas level score corresponding to the target canvas level information as the second canvas level score; generating a canvas level score based on the first and second canvas level scores; determining the preset drawing frame attribute information corresponding to the canvas level score as the drawing frame attribute information; drawing a transparent text canvas layer based on the drawing frame attribute information and the text area information; and overlaying the transparent text canvas layer and the rendered frame to obtain an updated rendered frame. Therefore, the semantic meaning of the text in the rendered primitive frame can be used to determine the degree of help the text provides to the user. Furthermore, based on the rendering priority of the primitive frame, the effectiveness of the text prompts for the user can be comprehensively assessed, allowing the user to quickly find the key information they need in the architectural drawings. Finally, the resulting rendered primitive frames are displayed on the architectural drawing webpage interface. This allows for the creation of rendered primitive frames with different text annotation methods, facilitating the user's timely access to crucial rescue information within the architectural drawings.Because when displaying the rendering frames of each graphic element, not only are the geometric data from the architectural drawings shown, but also the text information is annotated within each rendering frame, and different annotation methods are used to differentiate between them based on the importance of the text to the user, the timeliness of users finding key information while browsing architectural drawings can be improved. This, in turn, enhances the timeliness of users finding key information while browsing architectural drawings and improves the timeliness of rescue efforts.

[0088] The above-described embodiments of this disclosure have the following beneficial effects: the architectural drawing display method for large buildings according to some embodiments of this disclosure can reduce the number of stutters when displaying architectural drawings and improve the smoothness of user interaction. Specifically, the reason for the high number of stutters and low smoothness of user interaction when displaying architectural drawings is that the maximum memory allocated by the browser to each tab is much lower than that of desktop applications (usually below 4GB). When large building drawing files (e.g., ultra-large-scale drawings of tens of gigabytes) are fully loaded on the web, the browser memory overflows, resulting in a high number of stutters and low smoothness of user interaction when displaying architectural drawings. Based on this, the architectural drawing display method for large buildings according to some embodiments of this disclosure firstly, in response to detecting a request to open a webpage for architectural drawings, obtains architectural drawing index information and displays the architectural drawing webpage interface. The architectural drawing index information includes information on each preset element block corresponding to each preset architectural drawing element block. Thus, by constructing an index file of preset architectural drawing element blocks, the first screen can be loaded lightly, thereby shortening the first screen loading time. Secondly, a set of element block display priority information corresponding to each preset architectural drawing element block is determined. Therefore, the display priority of each preset architectural drawing element block can be obtained, which can be used for hierarchical storage of the relevant geometric data of each preset architectural drawing element block, and for differentiating the rendering precision when rendering each preset architectural drawing element block. Then, for each preset architectural drawing element block included in the above-mentioned preset architectural drawing element blocks, the following steps are performed: the element block display priority information corresponding to the above-mentioned preset architectural drawing element block in the element block display priority information set is determined as the target priority information; the preset storage level type corresponding to the above-mentioned target priority information is determined as the target storage level type; the preset element block information corresponding to the above-mentioned preset architectural drawing element block in the above-mentioned preset element block information is determined as the target element block information; and the target element block information is stored according to the above-mentioned target storage level type. Therefore, according to the element block display priority information set, the information of each preset element block can be stored hierarchically, thereby saving browser storage resources without affecting the user's browsing. Subsequently, in response to any interactive operation detected on the aforementioned architectural drawing webpage interface, based on the current time's primitive block display priority information set and the stored target primitive block information, rendering processing is performed on each viewport primitive block corresponding to the aforementioned architectural drawing webpage interface to obtain each primitive block rendering frame. Therefore, when a user interacts with the architectural drawings, rendering can be performed according to the priority order of each viewport primitive block, thus saving video memory resources while ensuring user needs are met. Finally, the aforementioned primitive block rendering frames are displayed on the aforementioned architectural drawing webpage interface. This allows users to browse architectural drawings more smoothly on the aforementioned architectural drawing webpage interface.Because when displaying the rendering frames of the various primitive blocks corresponding to the architectural drawings that the user needs to view, the priority of each preset architectural drawing primitive block can be updated in real time, and the information of each preset primitive block can be stored in layers. This can save storage resources and facilitate subsequent rendering and calling based on different levels. Furthermore, when rendering and displaying the various preset architectural drawing primitive blocks that the user needs to view, the rendering and display can be performed in a hierarchical manner based on the priority of each preset architectural drawing primitive block. This can improve the display smoothness of each preset architectural drawing primitive block with limited video memory resources. As a result, the number of stutters when displaying architectural drawings can be reduced, and the smoothness of user interaction can be improved.

[0089] Further reference Figure 2 As an implementation of the methods shown in the above figures, this disclosure provides some embodiments of an architectural drawing display device suitable for large-scale buildings. These device embodiments are similar to... Figure 2 Corresponding to the method embodiments shown, the device can be specifically applied to various electronic devices.

[0090] like Figure 2 As shown, an architectural drawing display device 200 for large buildings in some embodiments includes: an acquisition and display unit 201, a determination unit 202, an execution unit 203, a rendering unit 204, and a display unit 205. The acquisition and display unit 201 is configured to acquire architectural drawing index information and display the architectural drawing webpage interface in response to detecting a request to open a webpage for architectural drawings. The architectural drawing index information includes information about each preset architectural drawing element block. The determination unit 202 is configured to determine a set of element block display priority information corresponding to each preset architectural drawing element block. The execution unit 203 is configured to perform the following steps for each preset architectural drawing element block: determining the element block display priority information corresponding to the preset architectural drawing element block in the element block display priority information set as target priority information; and assigning the corresponding target priority information to the element block display priority information set. The preset storage level type of the priority information is determined as the target storage level type; the preset primitive block information corresponding to the preset architectural drawing primitive block in the preset primitive block information is determined as the target primitive block information; the target primitive block information is stored according to the target storage level type; the rendering unit 204 is configured to respond to detecting any interactive operation on the architectural drawing web page interface, and to render the viewport primitive blocks corresponding to the architectural drawing web page interface according to the primitive block display priority information set at the current time and the stored target primitive block information, to obtain the rendering frames of each primitive block; the display unit 205 is configured to display the rendering frames of each primitive block on the architectural drawing web page interface.

[0091] It is understandable that the units and references recorded in the architectural drawing display device 200 suitable for large buildings... Figure 1 The steps in the described method correspond to each other. Therefore, the operations, features, and beneficial effects described above for the method also apply to the device 200 and the units contained therein, and will not be repeated here.

[0092] The following is for reference. Figure 3 This document illustrates a structural schematic of an electronic device 300 suitable for implementing some embodiments of the present disclosure. The electronic devices in some embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 3 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments of this disclosure.

[0093] like Figure 3 As shown, the electronic device 300 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 into a random access memory (RAM) 303. The RAM 303 also stores various programs and data required for the operation of the electronic device 300. The processing unit 301, ROM 302, and RAM 303 are interconnected via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0094] Typically, the following devices can be connected to I / O interface 305: input devices 306 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 307 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 308 including, for example, magnetic tapes, hard disks, etc.; and communication devices 309. Communication device 309 allows electronic device 300 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 3 An electronic device 300 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively. Figure 3 Each box shown can represent a device or multiple devices as needed.

[0095] In particular, according to some embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, some embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 309, or installed from storage device 308, or installed from ROM 302. When the computer program is executed by processing device 301, it performs the functions defined in the methods of some embodiments of this disclosure.

[0096] It should be noted that, in some embodiments of this disclosure, the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In some embodiments of this disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In some embodiments of this disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0097] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.

[0098] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device. The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to: in response to detecting a request to open a webpage for architectural drawings, obtain architectural drawing index information and display the architectural drawing webpage interface, wherein the aforementioned architectural drawing index information includes information on each preset architectural drawing element block corresponding to each preset architectural drawing element block; determine a set of element block display priority information corresponding to each preset architectural drawing element block; and for each preset architectural drawing element block included in the aforementioned preset architectural drawing element block, perform the following steps: determine the element block display priority information corresponding to the aforementioned preset architectural drawing element block from the aforementioned element block display priority information set. The target priority information is defined as follows: the preset storage level type corresponding to the target priority information is determined as the target storage level type; the preset primitive block information corresponding to the preset architectural drawing primitive block in the preset primitive block information is determined as the target primitive block information; the target primitive block information is stored according to the target storage level type; in response to detecting any interactive operation on the architectural drawing web page, the viewport primitive blocks corresponding to the architectural drawing web page are rendered according to the primitive block display priority information set at the current time and the stored target primitive block information to obtain each primitive block rendering frame; the rendering frames of each primitive block are displayed on the architectural drawing web page.

[0099] Computer program code for performing operations of some embodiments of this disclosure can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0100] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0101] The units described in some embodiments of this disclosure can be implemented in software or hardware. The described units can also be housed in a processor; for example, a processor may be described as including an acquisition and display unit, a determination unit, an execution unit, a rendering unit, and a display unit. The names of these units do not necessarily limit the specific unit itself; for example, the acquisition and display unit may also be described as "a unit that, in response to detecting a request to open a webpage for architectural drawings, acquires architectural drawing index information and displays the architectural drawing webpage interface."

[0102] The functions described above in this document can be performed at least in part by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SoCs), complex programmable logic devices (CPLDs), and so on.

[0103] The above description is merely a selection of preferred embodiments of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of the invention involved in the embodiments of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described inventive concept. For example, technical solutions formed by substituting the above-described features with (but not limited to) technical features with similar functions disclosed in the embodiments of this disclosure.

Claims

1. A method for displaying architectural drawings suitable for large-scale buildings, characterized in that, include: In response to detecting a request to open a webpage for architectural drawings, the system obtains architectural drawing index information and displays the architectural drawing webpage interface. The architectural drawing index information includes information on each preset element block corresponding to each preset architectural drawing element block, and the preset element block information in each preset element block information includes element block compression information. Determine the set of element block display priority information corresponding to each preset architectural drawing element block; For each preset architectural drawing element block included in the aforementioned preset architectural drawing element blocks, the following steps are performed: The display priority information of the graphic element blocks corresponding to the preset architectural drawing graphic element blocks in the graphic element block display priority information set is determined as the target priority information; The preset storage level type corresponding to the target priority information is determined as the target storage level type; The preset element block information corresponding to the preset architectural drawing element block in each preset element block information is determined as the target element block information; According to the target storage level type, the target primitive block information is stored and processed. This storage and processing includes: Determine whether the target storage level type is the initial level type; In response to determining that the target storage level type is an initial level type, the primitive block compression information included in the target primitive block information is stored according to the target storage level type; In response to determining that the target storage level type is not the initial level type, the following update steps are performed based on the initial level type: The preset storage database corresponding to the target storage level type is determined as the target database; In response to determining that the target storage level type meets the preset level upgrade conditions, the primitive block compression information included in the target primitive block information is parsed according to the target storage level type to obtain primitive block parsing information; The parsed information of the primitive blocks is stored in the target database, and the target storage level type is determined as the initial level type; In response to detecting any interactive operation performed on the architectural drawing webpage interface, the viewport primitives of the corresponding architectural drawing webpage interface are rendered according to the primitive block display priority information set at the current time and the stored target primitive block information, so as to obtain the rendering frames of each primitive block. The rendering frames of each graphic element block are displayed on the architectural drawing webpage interface.

2. The method according to claim 1, characterized in that, The update step also includes: In response to determining that the target storage level type meets the preset level downgrade conditions, the preset storage database corresponding to the initial level type is determined as the database to be updated; Delete the target primitive block information from the database to be updated; Based on the target storage level type, the primitive block compression information included in the target primitive block information is stored, and the target storage level type is determined as the initial level type.

3. The method according to claim 1, characterized in that, The step of rendering each viewport element block of the corresponding architectural drawing webpage interface based on the current time element block display priority information set and the stored target element block information to obtain each element block rendering frame includes: The display priority information of each primitive block in each viewport corresponding to the display priority information set of primitive blocks at the current time is determined as the target priority information set; Based on the target priority information set, the viewport primitive blocks are divided to obtain a first rendering precision primitive block sequence, a second rendering precision primitive block sequence, and a third rendering precision primitive block sequence. According to the preset first rendering precision level, each first rendering precision primitive block included in the first rendering precision primitive block sequence is rendered to obtain each first primitive block rendering frame. According to the preset second rendering precision level, each second rendering precision primitive block included in the second rendering precision primitive block sequence is rendered to obtain each second primitive block rendering frame. According to the preset third rendering precision level, each third rendering precision primitive block included in the third rendering precision primitive block sequence is rendered to obtain each third primitive block rendering frame. Each of the first primitive block rendering frames, each of the second primitive block rendering frames, and each of the third primitive block rendering frames are determined as primitive block rendering frames.

4. A building drawing display device suitable for large buildings, characterized in that, include: The acquisition and display unit is configured to acquire architectural drawing index information and display architectural drawing web page interface in response to detecting architectural drawing web page opening request information. The architectural drawing index information includes each preset element block information corresponding to each preset architectural drawing element block. The preset element block information in each preset element block information includes element block compression information. The determining unit is configured to determine the set of element block display priority information corresponding to each preset architectural drawing element block; The execution unit is configured to perform the following steps for each preset architectural drawing element block included in the respective preset architectural drawing element blocks: The display priority information of the graphic element blocks corresponding to the preset architectural drawing graphic element blocks in the graphic element block display priority information set is determined as the target priority information; The preset storage level type corresponding to the target priority information is determined as the target storage level type; The preset element block information corresponding to the preset architectural drawing element block in each preset element block information is determined as the target element block information; According to the target storage level type, the target primitive block information is stored and processed. This storage and processing includes: Determine whether the target storage level type is the initial level type; In response to determining that the target storage level type is an initial level type, the primitive block compression information included in the target primitive block information is stored according to the target storage level type; In response to determining that the target storage level type is not the initial level type, the following update steps are performed based on the initial level type: The preset storage database corresponding to the target storage level type is determined as the target database; In response to determining that the target storage level type meets the preset level upgrade conditions, the primitive block compression information included in the target primitive block information is parsed according to the target storage level type to obtain primitive block parsing information; The parsed information of the primitive blocks is stored in the target database, and the target storage level type is determined as the initial level type; The rendering unit is configured to respond to the detection of any interactive operation on the architectural drawing web page interface, and to perform rendering processing on each viewport primitive block corresponding to the architectural drawing web page interface according to the primitive block display priority information set at the current time and the stored information of each target primitive block, so as to obtain each primitive block rendering frame. The display unit is configured to display the rendering frames of the various graphic elements on the architectural drawing web page interface.

5. An electronic device, characterized in that, include: One or more processors; Storage device, on which one or more programs are stored, When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-3.

6. A computer-readable medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-3.

Citation Information

Patent Citations

  • Three-dimensional data visualization rendering method and visualization rendering engine system

    CN119379880A

  • Graphic data rendering method and device, equipment, readable storage medium and product

    CN119941946A