CN114816193A - Drawing display method and device and terminal equipment - Google Patents
Drawing display method and device and terminal equipment Download PDFInfo
- Publication number
- CN114816193A CN114816193A CN202210476461.0A CN202210476461A CN114816193A CN 114816193 A CN114816193 A CN 114816193A CN 202210476461 A CN202210476461 A CN 202210476461A CN 114816193 A CN114816193 A CN 114816193A
- Authority
- CN
- China
- Prior art keywords
- layer
- terminal device
- zoom
- block
- layer information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/13—Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04806—Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Geometry (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Civil Engineering (AREA)
- Architecture (AREA)
- Human Computer Interaction (AREA)
- Structural Engineering (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Evolutionary Computation (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本申请提供一种图纸显示方法、装置及终端设备,该所述方法包括:获取终端设备显示的第一图纸的第一图层信息;接收所述终端设备发送的操作指令,所述操作指令为用户对所述第一图纸的操作;根据所述操作指令对所述第一图层信息进行处理,得到第二图层信息;对所述第二图层信息进行渲染,得到第二图纸,并向所述终端设备发送所述第二图纸。提高图纸显示的效率。
The present application provides a method, device and terminal device for displaying drawings. The method includes: acquiring first layer information of a first drawing displayed by a terminal device; and receiving an operation instruction sent by the terminal device, where the operation instruction is: The user's operation on the first drawing; processing the first layer information according to the operation instruction to obtain the second layer information; rendering the second layer information to obtain the second drawing, and The second drawing is sent to the terminal device. Improve the efficiency of drawing display.
Description
技术领域technical field
本申请涉及智能建筑领域,尤其涉及一种图纸显示方法、装置及终端设备。The present application relates to the field of intelligent buildings, and in particular, to a method, device and terminal device for displaying drawings.
背景技术Background technique
在智能建筑领域中,用户可以通过终端设备获取施工区域的建筑图纸,以获取施工进度。In the field of intelligent buildings, users can obtain architectural drawings of the construction area through terminal devices to obtain construction progress.
目前,在用户对建筑图纸进行操作时,终端设备可以在本地加载对应的建筑图纸。例如,在用户放大终端设备显示的建筑图纸时,终端设备可以在本地加载放大之后的建筑图纸,并显示该建筑图纸。但是,终端设备在本地加载建筑图纸会大量占用终端设备的处理资源,使得终端设备卡顿严重,进而导致终端设备显示图纸的效率较低。At present, when the user operates the architectural drawings, the terminal device can load the corresponding architectural drawings locally. For example, when the user enlarges the architectural drawing displayed on the terminal device, the terminal device may load the enlarged architectural drawing locally and display the architectural drawing. However, local loading of architectural drawings on a terminal device will occupy a large amount of processing resources of the terminal device, causing serious lag of the terminal device, which in turn leads to low efficiency in displaying drawings on the terminal device.
发明内容SUMMARY OF THE INVENTION
本申请提供一种图纸显示方法、装置及终端设备,用于解决现有技术中终端设备显示图纸的效率较低的技术问题。The present application provides a method, device and terminal equipment for displaying drawings, which are used to solve the technical problem of low efficiency of displaying drawings by terminal equipment in the prior art.
第一方面,本申请提供一种图纸显示方法,该方法包括:In a first aspect, the present application provides a method for displaying drawings, the method comprising:
获取终端设备显示的第一图纸的第一图层信息;Obtain the first layer information of the first drawing displayed by the terminal device;
接收所述终端设备发送的操作指令,所述操作指令为用户对所述第一图纸的操作;receiving an operation instruction sent by the terminal device, where the operation instruction is an operation performed by a user on the first drawing;
根据所述操作指令对所述第一图层信息进行处理,得到第二图层信息;Process the first layer information according to the operation instruction to obtain second layer information;
对所述第二图层信息进行渲染,得到第二图纸,并向所述终端设备发送所述第二图纸。The second layer information is rendered to obtain a second drawing, and the second drawing is sent to the terminal device.
在一种可能的实施方式中,所述操作指令为缩放指令;根据所述操作指令对所述第一图层信息进行处理,得到第二图层信息包括:In a possible implementation manner, the operation instruction is a zoom instruction; processing the first layer information according to the operation instruction to obtain the second layer information includes:
根据所述第一图层信息,确定所述第一图纸显示的第一图层和所述第一图层显示的第一图层块;determining a first layer displayed by the first drawing and a first layer block displayed by the first layer according to the first layer information;
根据所述缩放指令对所述第一图层和所述第一图层块进行缩放处理,得到所述第二图层信息。The first layer and the first layer block are zoomed according to the zoom instruction to obtain the second layer information.
在一种可能的实施方式中,根据所述缩放指令对所述第一图层和所述第一图层块进行缩放处理,得到所述第二图层信息包括:In a possible implementation manner, performing zoom processing on the first layer and the first layer block according to the zoom instruction, and obtaining the second layer information includes:
确定所述缩放指令对应的缩放比例和缩放位置;determining the scaling ratio and the scaling position corresponding to the scaling instruction;
根据所述缩放比例,确定所述第一图层缩放后的第二图层;determining, according to the scaling ratio, the second layer after scaling of the first layer;
根据所述缩放比例、所述缩放位置,确定所述第一图层块缩放后的第二图层块;According to the zoom ratio and the zoom position, determine the second layer block after the first layer block is scaled;
根据所述第二图层和所述第二图层块,得到所述第二图层信息。The second layer information is obtained according to the second layer and the second layer block.
在一种可能的实施方式中,根据所述缩放比例和所述缩放位置,确定所述第一图层块缩放后的第二图层块包括:In a possible implementation manner, according to the zoom ratio and the zoom position, determining the zoomed second layer block of the first layer block includes:
以所述缩放位置为缩放中心,根据所述缩放比例,对所述第一图层块进行缩放处理,得到所述第一图层块缩放后,在所述第二图层中的待显示图层块;Taking the zoom position as the zoom center, and according to the zoom ratio, performing zoom processing on the first layer block to obtain the image to be displayed in the second layer after the first layer block is zoomed layer block;
将所述待显示图层块,确定为所述第二图层块。The layer block to be displayed is determined as the second layer block.
在一种可能的实施方式中,向所述终端设备发送所述第二图纸包括:In a possible implementation manner, sending the second drawing to the terminal device includes:
获取终端设备的网络参数;Obtain the network parameters of the terminal device;
根据所述网络参数,向所述终端设备发送所述第二图纸。According to the network parameter, the second drawing is sent to the terminal device.
在一种可能的实施方式中,根据所述网络参数,向所述终端设备发送所述第二图纸包括:In a possible implementation manner, according to the network parameter, sending the second drawing to the terminal device includes:
根据所述网络参数,确定所述服务器向所述终端设备发送所述第二图纸的网络时长;According to the network parameter, determine the network duration for the server to send the second drawing to the terminal device;
在所述网络时长小于第一阈值时,向所述终端设备发送所述第二图纸。When the network duration is less than the first threshold, the second drawing is sent to the terminal device.
在一种可能的实施方式中,向所述终端设备发送所述第二图纸之后,所述方法还包括:In a possible implementation manner, after sending the second drawing to the terminal device, the method further includes:
接收所述终端设备发送的编辑操作,所述编辑操作为所述用户对所述第二图纸的操作;receiving an editing operation sent by the terminal device, where the editing operation is an operation performed by the user on the second drawing;
根据所述编辑操作,更新所述第二图纸的数据。According to the editing operation, the data of the second drawing is updated.
第二方面,本申请提供一种图纸显示装置,该装置包括获取模块、接收模块、处理模块和渲染模块,其中:In a second aspect, the present application provides a drawing display device, the device includes an acquisition module, a receiving module, a processing module and a rendering module, wherein:
所述获取模块用于,获取终端设备显示的第一图纸的第一图层信息;The obtaining module is configured to obtain the first layer information of the first drawing displayed by the terminal device;
所述接收模块用于,接收所述终端设备发送的操作指令,所述操作指令为用户对所述第一图纸的操作;The receiving module is configured to receive an operation instruction sent by the terminal device, where the operation instruction is a user's operation on the first drawing;
所述处理模块用于,根据所述操作指令对所述第一图层信息进行处理,得到第二图层信息;The processing module is configured to process the first layer information according to the operation instruction to obtain second layer information;
所述渲染模块用于,对所述第二图层信息进行渲染,得到第二图纸,并向所述终端设备发送所述第二图纸。The rendering module is configured to render the second layer information to obtain a second drawing, and send the second drawing to the terminal device.
在一种可能的实施方式中,所述处理模块具体用于:In a possible implementation manner, the processing module is specifically used for:
根据所述第一图层信息,确定所述第一图纸显示的第一图层和所述第一图层显示的第一图层块;determining a first layer displayed by the first drawing and a first layer block displayed by the first layer according to the first layer information;
根据所述缩放指令对所述第一图层和所述第一图层块进行缩放处理,得到所述第二图层信息。The first layer and the first layer block are zoomed according to the zoom instruction to obtain the second layer information.
在一种可能的实施方式中,所述处理模块具体用于:In a possible implementation manner, the processing module is specifically used for:
确定所述缩放指令对应的缩放比例和缩放位置;determining the scaling ratio and the scaling position corresponding to the scaling instruction;
根据所述缩放比例,确定所述第一图层缩放后的第二图层;determining, according to the scaling ratio, the second layer after scaling of the first layer;
根据所述缩放比例、所述缩放位置,确定所述第一图层块缩放后的第二图层块;According to the zoom ratio and the zoom position, determine the second layer block after the first layer block is scaled;
根据所述第二图层和所述第二图层块,得到所述第二图层信息。The second layer information is obtained according to the second layer and the second layer block.
在一种可能的实施方式中,所述处理模块具体用于:In a possible implementation manner, the processing module is specifically used for:
以所述缩放位置为缩放中心,根据所述缩放比例,对所述第一图层块进行缩放处理,得到所述第一图层块缩放后,在所述第二图层中的待显示图层块;Taking the zoom position as the zoom center, and according to the zoom ratio, performing zoom processing on the first layer block to obtain the image to be displayed in the second layer after the first layer block is zoomed layer block;
将所述待显示图层块,确定为所述第二图层块。The layer block to be displayed is determined as the second layer block.
在一种可能的实施方式中,所述渲染模块具体用于:In a possible implementation manner, the rendering module is specifically used for:
获取终端设备的网络参数;Obtain the network parameters of the terminal device;
根据所述网络参数,向所述终端设备发送所述第二图纸。According to the network parameter, the second drawing is sent to the terminal device.
在一种可能的实施方式中,所述渲染模块具体用于:In a possible implementation manner, the rendering module is specifically used for:
根据所述网络参数,确定所述服务器向所述终端设备发送所述第二图纸的网络时长;According to the network parameter, determine the network duration for the server to send the second drawing to the terminal device;
在所述网络时长小于第一阈值时,向所述终端设备发送所述第二图纸。When the network duration is less than the first threshold, the second drawing is sent to the terminal device.
在一种可能的实施方式中,所述接收模块还用于:In a possible implementation manner, the receiving module is further configured to:
接收所述终端设备发送的编辑操作,所述编辑操作为所述用户对所述第二图纸的操作;receiving an editing operation sent by the terminal device, where the editing operation is an operation performed by the user on the second drawing;
根据所述编辑操作,更新所述第二图纸的数据。According to the editing operation, the data of the second drawing is updated.
第三方面,本申请提供一种终端设备,包括:处理器、存储器;In a third aspect, the present application provides a terminal device, including: a processor and a memory;
所述存储器存储计算机执行指令;the memory stores computer-executable instructions;
所述处理器执行所述存储器存储的计算机执行指令,使得所述处理器执行如第一方面所述的图纸显示方法。The processor executes the computer-executable instructions stored in the memory, so that the processor executes the drawing display method according to the first aspect.
第四方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当所述计算机执行指令被处理器执行时用于实现前述任一项所述的图纸显示方法。In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, are used to implement any of the foregoing. How to display the drawings described.
本申请提供一种图纸显示方法、装置及终端设备,服务器获取终端设备显示的第一图纸的第一图层信息,接收终端设备发送的操作指令,其中,操作指令为用户对第一图纸的操作,根据操作指令对第一图层信息进行处理,得到第二图层信息,对第二图层信息进行渲染,得到第二图纸,并向终端设备发送第二图纸。在上述方法中,服务器可以根据操作指令和第一图层信息,确定用户对第一图纸操作之后的第二图层信息,由于服务器可以对第二图层信息进行渲染得到第二图纸,因此,终端设备只需接收服务器发送的第二图纸,并显示第二图纸,而无需在本地加载用户对第一图纸操作之后的图纸,进而节约终端设备的处理资源,提高终端设备显示图纸的效率。The present application provides a method, device and terminal device for displaying drawings. A server acquires first layer information of a first drawing displayed by the terminal device, and receives an operation instruction sent by the terminal device, wherein the operation instruction is an operation performed by a user on the first drawing. , processing the first layer information according to the operation instruction to obtain the second layer information, rendering the second layer information to obtain the second drawing, and sending the second drawing to the terminal device. In the above method, the server can determine the second layer information after the user operates on the first drawing according to the operation instruction and the first layer information. Since the server can render the second layer information to obtain the second drawing, therefore, The terminal device only needs to receive the second drawing sent by the server and display the second drawing, without locally loading the drawing after the user operates the first drawing, thereby saving the processing resources of the terminal device and improving the efficiency of displaying the drawings on the terminal device.
附图说明Description of drawings
图1为本申请实施例提供的一种应用场景示意图;1 is a schematic diagram of an application scenario provided by an embodiment of the present application;
图2为本申请实施例提供的一种图纸显示方法的流程示意图;2 is a schematic flowchart of a method for displaying drawings according to an embodiment of the present application;
图3为本申请实施例提供的一种获取第一图层信息的过程示意图;FIG. 3 is a schematic diagram of a process for obtaining first layer information according to an embodiment of the present application;
图4为本申请实施例提供的一种接收操作指令的过程示意图;4 is a schematic diagram of a process of receiving an operation instruction according to an embodiment of the present application;
图5为本申请实施例提供的另一种图纸显示方法的流程示意图;5 is a schematic flowchart of another method for displaying drawings provided by an embodiment of the present application;
图6为本申请实施例提供的一种确定第二图层块的过程示意图;6 is a schematic diagram of a process for determining a second layer block according to an embodiment of the present application;
图7为本申请实施例提供的一种图纸显示方法的过程示意图FIG. 7 is a schematic process diagram of a method for displaying drawings according to an embodiment of the present application
图8为本申请实施例提供的一种图纸显示装置的结构示意图FIG. 8 is a schematic structural diagram of a drawing display device according to an embodiment of the present application
图9为本申请提供的终端设备的硬件结构示意图。FIG. 9 is a schematic diagram of a hardware structure of a terminal device provided by the present application.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, the same numerals in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as recited in the appended claims.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
为了便于理解,首先对本申请实施例所涉及的概念进行说明。For ease of understanding, concepts involved in the embodiments of the present application are first described.
终端设备:是一种具有无线收发功能的设备。终端设备可以部署在陆地上,包括室内或室外、手持、穿戴或车载;也可以部署在水面上(如轮船等);还可以部署在空中(例如飞机、气球和卫星上等)。所述终端设备可以是手机(mobile phone)、平板电脑(Pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端设备、增强现实(augmentedreality,AR)终端设备、工业控制(industrial control)中的无线终端、车载终端设备、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端设备、智能电网(smart grid)中的无线终端设备、运输安全(transportation safety)中的无线终端设备、智慧城市(smart city)中的无线终端设备、智慧家庭(smart home)中的无线终端设备、可穿戴终端设备等。本申请实施例所涉及的终端设备还可以称为终端、用户设备(user equipment,UE)、接入终端设备、车载终端、工业控制终端、UE单元、UE站、移动站、移动台、远方站、远程终端设备、移动设备、UE终端设备、无线通信设备、UE代理或UE装置等。终端设备也可以是固定的或者移动的。Terminal equipment: It is a device with wireless transceiver function. Terminal equipment can be deployed on land, including indoor or outdoor, handheld, wearable or vehicle-mounted; it can also be deployed on water (such as ships, etc.); it can also be deployed in the air (such as aircraft, balloons and satellites, etc.). The terminal device may be a mobile phone (mobile phone), a tablet computer (Pad), a computer with a wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, an industrial control (industrial) terminal device. wireless terminal in control), in-vehicle terminal equipment, wireless terminal in self driving, wireless terminal equipment in remote medical, wireless terminal equipment in smart grid, transportation safety ( Wireless terminal equipment in transportation safety, wireless terminal equipment in smart city, wireless terminal equipment in smart home, wearable terminal equipment, etc. The terminal equipment involved in the embodiments of this application may also be referred to as terminal, user equipment (UE), access terminal equipment, vehicle-mounted terminal, industrial control terminal, UE unit, UE station, mobile station, mobile station, and remote station , remote terminal equipment, mobile equipment, UE terminal equipment, wireless communication equipment, UE proxy or UE device, etc. Terminal devices can also be stationary or mobile.
在相关技术中,用户可以通过终端设备获取施工区域的建筑图纸,以获取施工进度。目前,在用户对用户图纸进行操作时,终端设备可以在本地加载对应的建筑图纸。例如,在用户放大或者缩小终端设备显示的建筑图纸时,终端设备可以在本地加载放大之后或者缩小之后的建筑图纸。但是,终端设备在本地加载图纸会大量占用终端设备的处理资源,使得终端设备卡顿严重,进而导致终端设备显示图纸的效率较低。In the related art, the user can obtain the architectural drawings of the construction area through the terminal device to obtain the construction progress. At present, when the user operates the user drawings, the terminal device can load the corresponding architectural drawings locally. For example, when the user enlarges or reduces the architectural drawing displayed by the terminal device, the terminal device can locally load the enlarged or reduced architectural drawing. However, local loading of drawings by the terminal device will occupy a large amount of processing resources of the terminal device, causing the terminal device to freeze seriously, which in turn leads to low efficiency in displaying drawings by the terminal device.
本申请实施例提供一种图纸显示方法,服务器获取终端设备显示的第一图纸的第一图层信息,接收终端设备发送的操作指令,其中,操作指令用于指示用户对第一图纸的操作,操作指令可以为用户对第一图纸的缩放指令,根据第一图层信息,确定第一图纸显示的第一图层和第一图层显示的第一图层块,根据缩放指令对第一图层和第一图层块进行缩放处理,得到第二图层信息,对第二图层信息进行渲染,得到第二图纸,并向终端设备发送第二图纸。在上述方法中,在用户对终端设备显示的第一图纸进行缩放操作时,服务器可以根据操作指令和第一图层信息,准确的确定第一图纸缩放后的第二图层信息,进而对第二图层信息进行渲染得到第一图纸缩放后的第二图纸,提高图纸显示的准确度,由于第二图纸为服务器在本地进行渲染得到的图纸,因此,终端设备只需显示服务器发送的第二图纸(如,图像),无需在终端设备本地处理加载第二图纸的过程,进而提高终端设备显示第二图纸的效率。An embodiment of the present application provides a method for displaying a drawing. A server acquires first layer information of a first drawing displayed by a terminal device, and receives an operation instruction sent by the terminal device, wherein the operation instruction is used to instruct a user to operate the first drawing. The operation instruction may be a user's zoom instruction for the first drawing, determine the first layer displayed on the first drawing and the first layer block displayed on the first layer according to the first layer information, and adjust the first drawing according to the zoom instruction. The layer and the first layer block are zoomed to obtain the second layer information, the second layer information is rendered, the second drawing is obtained, and the second drawing is sent to the terminal device. In the above method, when the user performs a zooming operation on the first drawing displayed by the terminal device, the server can accurately determine the second layer information after zooming of the first drawing according to the operation instruction and the first layer information, and then perform the zooming operation on the first drawing. Rendering the information of the second layer to obtain the second drawing scaled by the first drawing, which improves the accuracy of drawing display. Since the second drawing is a drawing obtained by the server locally rendering, the terminal device only needs to display the second drawing sent by the server. Drawings (eg, images) do not need to process the process of loading the second drawing locally on the terminal device, thereby improving the efficiency of displaying the second drawing on the terminal device.
下面,结合图1,对本申请的应用场景进行介绍。Below, with reference to FIG. 1 , an application scenario of the present application will be introduced.
图1为本申请实施例提供的一种应用场景示意图。请参见图1,包括服务器和终端设备。其中,终端设备的显示屏幕中显示第一图纸,服务器可以获取终端设备当前显示的第一图纸的第一图层信息。在服务器接收到终端设备发送的操作指令时,服务器可以根据操作指令和第一图层信息,确定第二图层信息,并对第二图层信息进行渲染,得到第二图纸,服务器向终端设备发送第二图纸,以使终端设备显示第二图纸。这样,由于第二图纸为服务器在本地进行渲染得到的图纸,因此,终端设备只需显示服务器发送的第二图纸(如,图像),无需在终端设备本地处理加载第二图纸的过程,进而提高终端设备显示第二图纸的效率。FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the present application. See Figure 1, including server and terminal equipment. Wherein, the display screen of the terminal device displays the first drawing, and the server can obtain the first layer information of the first drawing currently displayed by the terminal device. When the server receives the operation instruction sent by the terminal device, the server can determine the second layer information according to the operation instruction and the first layer information, and render the second layer information to obtain the second drawing, and the server can send the information to the terminal device. Send the second drawing so that the terminal device displays the second drawing. In this way, since the second drawing is a drawing obtained by rendering locally by the server, the terminal device only needs to display the second drawing (eg, an image) sent by the server, and there is no need to process the process of loading the second drawing locally on the terminal device. The terminal device displays the efficiency of the second drawing.
下面以具体地实施例对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本申请的实施例进行描述。The technical solutions of the present application and how the technical solutions of the present application solve the above-mentioned technical problems will be described in detail below with specific examples. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below with reference to the accompanying drawings.
图2为本申请实施例提供的一种图纸显示方法的流程示意图。请参见图2,该方法可以包括:FIG. 2 is a schematic flowchart of a method for displaying drawings according to an embodiment of the present application. Referring to Figure 2, the method can include:
S201、获取终端设备显示的第一图纸的第一图层信息。S201. Acquire first layer information of a first drawing displayed by a terminal device.
本申请实施例的执行主题可以为服务器,也可以为设置在服务器中的图纸显示装置。其中,图纸显示装置可以通过软件实现,图纸显示装置也可以通过软件和硬件的结合实现。The execution subject of the embodiments of the present application may be a server, or may be a drawing display device provided in the server. Wherein, the drawing display device may be implemented by software, and the drawing display device may also be implemented by a combination of software and hardware.
可选的,第一图纸可以为终端设备当前显示的图纸。例如,若终端设备当前显示的图纸为水电图纸,则服务器确定第一图纸为水电图纸,若终端设备当前显示的图纸为管道图纸,则服务器确定第一图纸为管道图纸。Optionally, the first drawing may be a drawing currently displayed by the terminal device. For example, if the drawing currently displayed by the terminal device is a hydroelectric drawing, the server determines that the first drawing is a hydroelectric drawing, and if the drawing currently displayed by the terminal device is a piping drawing, the server determines that the first drawing is a piping drawing.
可选的,第一图层信息可以为第一图纸对应的图层和图层显示的图层块。可选的,第一图纸中可以包括至少一个图层。例如,建筑图纸可以包括多个图层,在终端设备显示水电图纸时,水电图纸中包括多个图层,每个图层显示的水电图纸的内容不同。例如,水电图纸中的图层A为区域A的水路图纸,水电图纸中的图层B为区域B的水路图纸,水电图纸中的图层C为区域A和区域B的电路图纸,通过水路图纸中的图层A、图层B和图层C,可以得到区域A和区域B中的水路内容和电路内容。Optionally, the first layer information may be a layer corresponding to the first drawing and a layer block displayed by the layer. Optionally, the first drawing may include at least one layer. For example, an architectural drawing may include multiple layers. When a terminal device displays a hydropower drawing, the hydropower drawing includes multiple layers, and the contents of the hydropower drawing displayed on each layer are different. For example, layer A in the hydropower drawing is the waterway drawing of area A, layer B in the hydropower drawing is the waterway drawing of area B, and layer C in the hydropower drawing is the circuit drawing of area A and area B, through the waterway drawing Layer A, Layer B and Layer C in the area, you can get the waterway content and circuit content in area A and area B.
可选的,图层中可以包括多个图层块。例如,建筑图纸中的每个图层可以平均划分为多个图层块(如,每个图层都包括多个尺寸相同的网格),每个图层块中都包括图层中的部分内容。例如,水电图纸包括图层A和图层B,其中,图层A中包括100个图层块,通过100个图层块显示图层A的内容,图层B中包括1000个图层块,通过1000个图层块显示图层B的内容。Optionally, a layer can include multiple layer blocks. For example, each layer in an architectural drawing can be evenly divided into multiple layer blocks (eg, each layer includes multiple grids of the same size), and each layer block includes parts of the layer content. For example, a water and electricity drawing includes layer A and layer B. Among them, layer A includes 100 layer blocks, and the content of layer A is displayed through 100 layer blocks, and layer B includes 1000 layer blocks. Displays the content of layer B through 1000 layer blocks.
可选的,服务器可以通过上一次向终端设备发送的图纸,确定第一图纸的第一图层信息。例如,在实际应用过程中,终端设备显示的图纸可以为图像,服务器上一次向终端设备发送的待显示图纸为终端设备当前显示的第一图纸,服务器可以确定待显示图纸对应的至少一个图层,以及每个图层包括的图层块,进而将该图层和图层块,确定为第一图纸的第一图层信息。例如,服务器上一次向终端设备发送的图纸为水电图纸,其中,水电图纸包括图层A和图层B,图层A中包括10个图层块,图层B中包括20个图层块,服务器确定第一图纸的第一图层信息包括图层A、图层B和30个图层块。Optionally, the server may determine the first layer information of the first drawing by using the drawing sent to the terminal device last time. For example, in the actual application process, the drawing displayed by the terminal device may be an image, the drawing to be displayed last sent by the server to the terminal device is the first drawing currently displayed by the terminal device, and the server may determine at least one layer corresponding to the drawing to be displayed , and the layer block included in each layer, and then the layer and the layer block are determined as the first layer information of the first drawing. For example, the last drawing sent by the server to the terminal device is a water and electricity drawing. The water and electricity drawing includes layer A and layer B. Layer A includes 10 layer blocks, and layer B includes 20 layer blocks. The server determines that the first layer information of the first drawing includes layer A, layer B and 30 layer blocks.
可选的,若终端设备第一次显示图纸,则服务器可以获取向终端设备发送的图纸,进而得到第一图层信息。例如,若终端设备请求显示水电图纸,则服务器可以向终端设备发送水电图纸,并获取水电图纸对应的图层和图层块,在用户对终端设备显示的水电图纸进行操作时,服务器将水电图纸对应的图层和图层块,确定为第一图层信息。Optionally, if the terminal device displays the drawing for the first time, the server may obtain the drawing sent to the terminal device, and then obtain the first layer information. For example, if the terminal device requests to display the hydropower drawings, the server can send the hydropower drawings to the terminal device and obtain the layers and layer blocks corresponding to the hydropower drawings. When the user operates the hydropower drawings displayed by the terminal device, the server will display the hydropower drawings. The corresponding layer and layer block are determined as the first layer information.
下面,结合图3,对服务器获取第一图纸的第一图纸信息的过程进行说明。Next, with reference to FIG. 3 , the process of acquiring the first drawing information of the first drawing by the server will be described.
图3为本申请实施例提供的一种获取第一图层信息的过程示意图。请参见图3,包括服务器和终端设备。其中,服务器向终端设备发送的图纸为水电图纸。水电图纸中包括图层A和图层B,图层A中包括图层块1、图层块2、图层块3和图层块4,图层B中包括图层块5和图层块6。服务器确定终端设备当前显示的图纸为水电图纸(可以为水电图纸的图像),因此,服务器确定第一图纸的第一图层信息包括图层A、图层B、图层A中的图层块1、图层块2、图层块3和图层块4、以及图层B中的图层块5和图层块6。FIG. 3 is a schematic diagram of a process for acquiring first layer information according to an embodiment of the present application. See Figure 3, including server and terminal equipment. Among them, the drawings sent by the server to the terminal equipment are water and electricity drawings. The water and electricity drawings include layer A and layer B, layer A includes layer block 1, layer block 2, layer block 3 and layer block 4, and layer B includes layer block 5 and layer block 6. The server determines that the drawing currently displayed by the terminal device is a hydroelectric drawing (which can be an image of a hydroelectric drawing), therefore, the server determines that the first layer information of the first drawing includes layer A, layer B, and layer blocks in layer A 1. Layer block 2, layer block 3 and layer block 4, and layer block 5 and layer block 6 in layer B.
S202、接收终端设备发送的操作指令。S202. Receive an operation instruction sent by the terminal device.
可选的,操作指令用于指示用户对第一图纸的操作。例如,服务器通过操作指令可以确定用户对第一图纸的操作。可选的,操作指令可以为缩放指令。其中,缩放指令可以为缩小指令或放大指令。例如,缩小指令用于对第一图纸进行缩小,放大指令用于对第一图纸进行放大。例如,若终端设备向服务器发送的操作指令为缩小指令,则服务器根据缩小指令,确定用户对第一图纸进行缩小操作,若终端设备向服务器发送的操作指令为放大指令,则服务器根据放大指令,确定用户对第一图纸进行放大操作。Optionally, the operation instruction is used to instruct the user to operate the first drawing. For example, the server may determine the user's operation on the first drawing through the operation instruction. Optionally, the operation instruction may be a zoom instruction. Wherein, the zoom instruction may be a zoom-out command or a zoom-in command. For example, the reduction instruction is used to reduce the first drawing, and the enlargement instruction is used to enlarge the first drawing. For example, if the operation command sent by the terminal device to the server is a zoom-out command, the server determines, according to the zoom-out command, that the user performs a zoom-out operation on the first drawing. It is determined that the user performs an enlarging operation on the first drawing.
可选的,终端设备可以响应用户的操作,确定用户对第一图纸的操作指令。例如,在用户对终端设备的显示屏幕进行张开滑动操作时,终端设备可以确定操作指令为放大指令,在用户对终端设备的显示屏幕进行闭合滑动操作时,终端设备可以确定操作指令为缩小指令。例如,在终端设备接收到鼠标滚轮向上滑动的操作时,终端设备可以确定操作指令为放大指令,在终端设备接收到鼠标滚轮向下滑动的操作时,终端设备可以确定操作指令为缩小指令。Optionally, the terminal device may determine the user's operation instruction on the first drawing in response to the user's operation. For example, when the user performs an opening and sliding operation on the display screen of the terminal device, the terminal device may determine that the operation command is a zoom-in command, and when the user performs a closing and sliding operation on the display screen of the terminal device, the terminal device may determine that the operation command is a zoom-out command . For example, when the terminal device receives an operation of sliding the mouse wheel upward, the terminal device may determine that the operation command is a zoom-in command, and when the terminal device receives an operation of sliding the mouse wheel downward, the terminal device may determine that the operation command is a zoom-out command.
可选的,终端设备确定操作指令之后,可以向服务器发送操作指令。例如,在用户对终端设备的显示屏幕进行张开滑动的操作时,终端设备生成放大指令,并向服务器发送该放大指令,服务器根据放大指令,确定用户对终端设备显示的第一图纸进行放大操作。Optionally, after determining the operation instruction, the terminal device may send the operation instruction to the server. For example, when the user opens and slides the display screen of the terminal device, the terminal device generates an enlargement instruction and sends the enlargement instruction to the server, and the server determines, according to the enlargement instruction, that the user performs an enlargement operation on the first drawing displayed by the terminal device .
下面,结合图4,对服务器接收终端设备发送的操作指令的过程进行说明。Next, with reference to FIG. 4 , the process of the server receiving the operation instruction sent by the terminal device will be described.
图4为本申请实施例提供的一种接收操作指令的过程示意图。请参见图4,包括服务器和终端设备。其中,终端设备的显示屏幕中显示第一图纸。在用户对终端设备的显示屏幕进行张开滑动操作时,终端设备根据张开滑动操作生成放大指令,并向服务器发送该放大指令。FIG. 4 is a schematic diagram of a process of receiving an operation instruction according to an embodiment of the present application. See Figure 4, including server and terminal equipment. The first drawing is displayed on the display screen of the terminal device. When the user performs an opening and sliding operation on the display screen of the terminal device, the terminal device generates an enlargement instruction according to the opening and sliding operation, and sends the enlargement instruction to the server.
S203、根据操作指令对第一图层信息进行处理,得到第二图层信息。S203. Process the first layer information according to the operation instruction to obtain the second layer information.
可选的,操作指令为缩放指令,第二图层信息为对第一图纸进行缩放处理之后得到的图层信息。可选的,可以根据如下可行的实现方法,得到第二图层信息:根据第一图层信息,确定第一图纸显示的第一图层和第一图层显示的第一图层块。例如,若第一图层信息为图层A、图层B、图层A中的10个图层块、以及图层B中的5个图层块,则服务器根据第一图层信息确定第一图层为图层A和图层B,第一图层块包括图层A中的10个图层块和图层B中的5个图层块。Optionally, the operation instruction is a zoom instruction, and the second layer information is layer information obtained after zooming the first drawing. Optionally, the second layer information may be obtained according to the following feasible implementation method: according to the first layer information, the first layer displayed on the first drawing and the first layer block displayed on the first layer are determined. For example, if the first layer information is layer A, layer B, 10 layer blocks in layer A, and 5 layer blocks in layer B, the server determines the first layer according to the first layer information. One layer is layer A and layer B, and the first layer block includes 10 layer blocks in layer A and 5 layer blocks in layer B.
根据缩放指令对第一图层和第一图层块进行缩放处理,得到第二图层信息。例如,在操作指令为放大指令时,通过放大指令确定第一图层放大之后的图层,并将该图层确定为第二图层,通过放大指令确定第一图层放大之后显示的第二图层中包括的图层块,并将该图层块确定为第二图层块,通过第二图层和第二图层块,得到第二图层信息。The first layer and the first layer block are zoomed according to the zoom instruction to obtain the second layer information. For example, when the operation command is a zoom-in command, the zoom-in command is used to determine the layer after the first layer is zoomed in, and the layer is determined as the second layer, and the zoom-in command is used to determine the second layer displayed after the first layer is zoomed in. The layer block included in the layer is determined as the second layer block, and the second layer information is obtained through the second layer and the second layer block.
S204、对第二图层信息进行渲染,得到第二图纸。S204. Render the second layer information to obtain a second drawing.
可选的,服务器可以根据第二图层信息,获取第二图层信息对应的第二图纸,并通过渲染得到第二图纸。例如,若第二图层信息包括图层A、图层B、图层A中的10个图层块、以及图层B中的20个图层块,则服务器对第二图层信息进行渲染,得到第二图纸,其中,第二图纸中包括图层A、图层B、图层A中的10个图层块、以及图层B中的20个图层块。这样,服务器可以通过操作指令准确的得到用户对第一图纸操作之后的第二图层信息,并根据第二图层信息在本地渲染得到第二图纸,避免终端设备加载图纸导致的卡顿,进而提高终端设备显示图纸的效率。Optionally, the server may acquire the second drawing corresponding to the second layer information according to the second layer information, and obtain the second drawing by rendering. For example, if the second layer information includes layer A, layer B, 10 layer blocks in layer A, and 20 layer blocks in layer B, the server renders the second layer information to obtain a second drawing, wherein the second drawing includes layer A, layer B, 10 layer blocks in layer A, and 20 layer blocks in layer B. In this way, the server can accurately obtain the second layer information after the user operates the first drawing through the operation instruction, and render the second drawing locally according to the second layer information, so as to avoid the freeze caused by the terminal device loading the drawing, and further Improve the efficiency of terminal equipment displaying drawings.
S205、向终端设备发送第二图纸。S205. Send the second drawing to the terminal device.
可选的,服务器得到第二图纸之后,可以向终端设备发送第二图纸,以使终端设备显示第二图纸。例如,服务器通过第二图层信息在本地渲染得到第二图纸之后,可以向终端设备发送第二图纸对应的图像,终端设备接收到图像时可以显示该图像,这样,服务器在本地加载图纸,终端设备无需处理加载图纸的过程,进而提高终端设备图纸显示的效率。Optionally, after obtaining the second drawing, the server may send the second drawing to the terminal device, so that the terminal device displays the second drawing. For example, after the server renders the second drawing locally through the second layer information, it can send the image corresponding to the second drawing to the terminal device, and the terminal device can display the image when receiving the image. In this way, the server loads the drawing locally, and the terminal The equipment does not need to deal with the process of loading drawings, thereby improving the efficiency of terminal equipment drawing display.
本申请实施例提供一种图纸显示方法,服务器获取终端设备显示的第一图纸的第一图层信息,接收终端设备发送的操作指令,其中,操作指令用于指示用户对第一图纸的操作,操作指令可以为用户对第一图纸的缩放指令,根据第一图层信息,确定第一图纸显示的第一图层和第一图层显示的第一图层块,根据缩放指令对第一图层和第一图层块进行缩放处理,得到第二图层信息,对第二图层信息进行渲染,得到第二图纸,并向终端设备发送第二图纸。在上述方法中,由于第二图纸为服务器在本地进行渲染得到的图纸,因此,终端设备只需显示服务器发送的第二图纸(如,图像),无需在终端设备本地处理加载第二图纸的过程,进而提高终端设备显示第二图纸的效率。An embodiment of the present application provides a method for displaying a drawing. A server acquires first layer information of a first drawing displayed by a terminal device, and receives an operation instruction sent by the terminal device, wherein the operation instruction is used to instruct a user to operate the first drawing. The operation instruction may be a user's zoom instruction for the first drawing, determine the first layer displayed on the first drawing and the first layer block displayed on the first layer according to the first layer information, and adjust the first drawing according to the zoom instruction. The layer and the first layer block are zoomed to obtain the second layer information, the second layer information is rendered, the second drawing is obtained, and the second drawing is sent to the terminal device. In the above method, since the second drawing is a drawing obtained by rendering locally by the server, the terminal device only needs to display the second drawing (eg, an image) sent by the server, and there is no need to process the process of loading the second drawing locally on the terminal device , thereby improving the efficiency of displaying the second drawing by the terminal device.
在图2所示的实施例的基础上,下面,结合图5,对上述图纸显示方法的过程进行进一步的说明。On the basis of the embodiment shown in FIG. 2 , the process of the above drawing display method will be further described below with reference to FIG. 5 .
图5为本申请实施例提供的另一种图纸显示方法的流程示意图。请参见图5,该方法流程包括:FIG. 5 is a schematic flowchart of another method for displaying drawings according to an embodiment of the present application. Referring to Figure 5, the method flow includes:
S501、获取终端设备显示的第一图纸的第一图层信息。S501. Acquire first layer information of a first drawing displayed by a terminal device.
需要说明的是,步骤S501的执行过程可以参照步骤S201,本申请实施例对此不再进行赘述。It should be noted that, for the execution process of step S501, reference may be made to step S201, which is not repeated in this embodiment of the present application.
S502、接收终端设备发送的缩放指令。S502. Receive a scaling instruction sent by the terminal device.
可选的,缩放指令用于指示用户对第一图纸的缩放操作。例如,在用户对终端设备的显示屏幕进行缩放操作时,终端设备可以生成缩放指令,并向服务器发送该缩放指令。Optionally, the zoom instruction is used to instruct the user to perform a zoom operation on the first drawing. For example, when the user performs a zoom operation on the display screen of the terminal device, the terminal device may generate a zoom instruction, and send the zoom instruction to the server.
S503、根据第一图层信息,确定第一图纸显示的第一图层和第一图层显示的第一图层块。S503. Determine the first layer displayed on the first drawing and the first layer block displayed on the first layer according to the first layer information.
需要说明的是,步骤S503的执行过程可以参照步骤S201中的图3所示的图纸、图层和图层块之间的关系,本申请实施例对此不再进行赘述。It should be noted that, for the execution process of step S503, reference may be made to the relationship between drawings, layers, and layer blocks shown in FIG. 3 in step S201, which is not repeated in this embodiment of the present application.
S504、根据缩放指令对第一图层和第一图层块进行缩放处理,得到第二图层信息。S504. Perform zoom processing on the first layer and the first layer block according to the zoom instruction to obtain second layer information.
可选的,可以根据如下可行的实现方式,得到第二图层信息:确定缩放指令对应的缩放比例和缩放位置。其中,缩放比例为对第一图纸的缩放尺寸。例如,放大比例可以为对第一图纸放大2倍、放大5倍、放大10倍,或者,缩小比例可以为对第一图纸缩小2倍、缩小5倍、缩小10倍等。可选的,可以获取用户对终端设备的缩放动作,进而通过缩放动作,确定缩放比例。例如,通过用户对终端设备的缩放动作,确定缩放动作对应的移动距离,进而根据移动距离和第一预设关系,得到缩放比例,其中,第一预设关系包括至少一个移动距离和每个移动距离对应的缩放比例。例如,第一预设关系可以如表1所示:Optionally, the second layer information may be obtained according to the following feasible implementation manner: determining the zoom ratio and zoom position corresponding to the zoom command. The scaling ratio is the scaling size of the first drawing. For example, the enlargement ratio may be 2 times, 5 times, or 10 times for the first drawing, or the reduction ratio may be 2 times, 5 times, 10 times, etc. for the first drawing. Optionally, the zoom action of the user on the terminal device may be acquired, and then the zoom ratio is determined through the zoom action. For example, through the user's zooming action on the terminal device, the moving distance corresponding to the zooming action is determined, and then the zooming ratio is obtained according to the moving distance and a first preset relationship, wherein the first preset relationship includes at least one moving distance and each moving distance. The scaling ratio corresponding to the distance. For example, the first preset relationship may be as shown in Table 1:
表1Table 1
需要说明的是,表1只是以示例的形式示意第一预设关系,并非对第一预设关系的限定。It should be noted that, Table 1 only illustrates the first preset relationship in the form of an example, and is not a limitation on the first preset relationship.
例如,若用户对终端设备的缩放动作对应的移动距离为距离1,则终端设备确定缩放比例为缩放比例1;若用户对终端设备的缩放动作对应的移动距离为距离2,则终端设备确定缩放比例为缩放比例2;若用户对终端设备的缩放动作对应的移动距离为距离3,则终端设备确定缩放比例为缩放比例3。这样,服务器可以根据用户的缩放动作,准确的确定用户对第一图纸的操作,进而实现在服务器中加载图纸的效果,提高图纸显示效率。For example, if the moving distance corresponding to the user's zoom action on the terminal device is distance 1, the terminal device determines that the zoom ratio is zoom ratio 1; if the moving distance corresponding to the user's zoom action on the terminal device is distance 2, the terminal device determines the zoom ratio The ratio is zoom ratio 2; if the moving distance corresponding to the zoom action of the user on the terminal device is distance 3, the terminal device determines the zoom ratio as zoom ratio 3. In this way, the server can accurately determine the user's operation on the first drawing according to the zooming action of the user, thereby realizing the effect of loading the drawing in the server, and improving the drawing display efficiency.
可选的,缩放位置为缩放指令对应的缩放中心。例如,若用户在第一图纸的中心进行缩放操作,则缩放位置为第一图纸的中心,若用户在第一图纸的左上角进行缩放操作,则缩放位置为第一图纸的左上角。例如,缩放位置可以为用户进行缩放操作时,鼠标所在的位置。Optionally, the zoom position is the zoom center corresponding to the zoom command. For example, if the user performs a zoom operation on the center of the first drawing, the zoom position is the center of the first drawing; if the user performs a zoom operation on the upper left corner of the first drawing, the zoom position is the upper left corner of the first drawing. For example, the zoom position can be the position of the mouse when the user performs a zoom operation.
根据缩放比例,确定第一图层缩放后的第二图层。例如,若第一图层为图纸中的图层A,在通过缩放比例对第一图纸处理之后,终端设备显示的第二图纸的图层为图层B,则服务器将图层B确定为第二图层。According to the zoom ratio, determine the second layer after the first layer is zoomed. For example, if the first layer is layer A in the drawing, and after processing the first drawing through scaling, the layer of the second drawing displayed by the terminal device is layer B, and the server determines layer B as the first drawing. Second layer.
根据缩放比例、缩放位置,确定第一图层块缩放后的第二图层块。可选的,可以根据如下可行的实现方式,确定第二图层块:以缩放位置为缩放中心,根据缩放比例,对第一图层块进行缩放处理,得到第一图层块缩放后,在第二图层中的待显示图层块,将待显示图层块,确定为第二图层块。例如,若第一图层中包括30个第一图层块,在通过缩放比例对第一图层进行缩放处理之后,得到第二图层,而30个第一图层块也会随着缩放处理发生缩放,进而得到第二图层块。例如,终端设备的显示区域中包括第一图层的30个图层块,在对第一图层进行缩放处理后,终端设备的显示区域中显示第二图层中的10个图层块,则将这10个图层块确定为第二图层块。由于缩放位置可以为用户主要关注的图纸区域,因此,服务器可以灵活、准确的向终端设备发送用户关注的图纸内容,提高图纸的显示效果。Determine the second layer block after the first layer block is scaled according to the zoom ratio and the zoom position. Optionally, the second layer block may be determined according to the following feasible implementation methods: taking the zoom position as the zoom center, and according to the zoom ratio, the first layer block is zoomed, and after the first layer block is zoomed, The layer block to be displayed in the second layer is determined as the second layer block. For example, if the first layer includes 30 first layer blocks, after the first layer is scaled by the zoom ratio, the second layer is obtained, and the 30 first layer blocks will also be scaled with The processing is scaled, resulting in a second layer block. For example, the display area of the terminal device includes 30 layer blocks of the first layer. After the first layer is zoomed, the display area of the terminal device displays 10 layer blocks of the second layer. Then, these 10 layer blocks are determined as the second layer block. Since the zoom position can be the drawing area that the user is mainly concerned about, the server can flexibly and accurately send the drawing content of the user's attention to the terminal device, thereby improving the display effect of the drawing.
下面,结合图6,对服务器确定第二图层块的过程进行说明。Next, with reference to FIG. 6 , the process of determining the second layer block by the server will be described.
图6为本申请实施例提供的一种确定第二图层块的过程示意图。请参见图6,包括第一图层、第二图层。其中,第一图层中包括图层块1、图层块2、图层块3和图层块4。缩放位置为图层块2的中心,缩放比例为放大2倍。在第一图层放大2倍之后,得到第二图层,以缩放位置为缩放中心对第一图层中的图层块进行缩放之后,第二图层中显示16个图层块,将第二图层和第二图层中的16个图层块,确定为第二图层信息。FIG. 6 is a schematic diagram of a process for determining a second layer block according to an embodiment of the present application. Please refer to Figure 6, including the first layer and the second layer. The first layer includes layer block 1 , layer block 2 , layer block 3 and layer block 4 . The zoom position is the center of layer block 2, and the zoom ratio is 2 times larger. After the first layer is enlarged by 2 times, the second layer is obtained. After zooming the layer blocks in the first layer with the zoom position as the zoom center, 16 layer blocks are displayed in the second layer. The second layer and the 16 layer blocks in the second layer are determined as the second layer information.
S505、对第二图层信息进行渲染,得到第二图纸,并向终端设备发送第二图纸。S505. Render the second layer information to obtain a second drawing, and send the second drawing to the terminal device.
可选的,可以根据如下可行的实现方式,向终端设备发送第二图纸:获取终端设备的网络参数,根据网络参数,向终端设备发送第二图纸。其中,网路参数用于指示终端设备的网络信号强度。例如,服务器通过网络参数,可以获取终端设备当前的网速。Optionally, the second drawing may be sent to the terminal device according to the following feasible implementation manner: acquiring network parameters of the terminal device, and sending the second drawing to the terminal device according to the network parameters. The network parameter is used to indicate the network signal strength of the terminal device. For example, the server can obtain the current network speed of the terminal device through network parameters.
可选的,根据网络参数,向终端设备发送第二图纸,具体为:根据网络参数,确定向终端设备发送第二图纸的网络时长。例如,服务器渲染得到第二图纸之后,可以向终端设备发送第二图纸的图像,服务器通过终端设备的网络参数,可以确定终端设备接收第二图纸的图像的时长。Optionally, sending the second drawing to the terminal device according to the network parameter, specifically: determining the network duration for sending the second drawing to the terminal device according to the network parameter. For example, after the server renders and obtains the second drawing, it can send the image of the second drawing to the terminal device, and the server can determine the duration for the terminal device to receive the image of the second drawing through the network parameters of the terminal device.
在网络时长小于或等于第一阈值时,向终端设备发送第二图纸。例如,若网络时长小于或等于第一阈值,则说明终端设备当前的网络状态较好,因此,服务器可以快速的将第二图纸发送至终端设备,提高终端设备显示第二图纸的效率。可选的,在网络时长大于第一阈值时,可以通过多图层加载的方式,向终端设备发送第二图纸。这样,服务器可以在网络状态较好的情况下,向终端设备发送第二图纸,提高服务器图纸发送的可靠性。When the network duration is less than or equal to the first threshold, the second drawing is sent to the terminal device. For example, if the network duration is less than or equal to the first threshold, it means that the current network status of the terminal device is good. Therefore, the server can quickly send the second drawing to the terminal device to improve the efficiency of displaying the second drawing on the terminal device. Optionally, when the network duration is greater than the first threshold, the second drawing may be sent to the terminal device by means of multi-layer loading. In this way, the server can send the second drawing to the terminal device when the network state is good, thereby improving the reliability of sending the drawing by the server.
S506、接收终端设备发送的编辑操作。S506. Receive the editing operation sent by the terminal device.
可选的,编辑操作为用户对第二图纸的操作。例如,在终端设备接收到第二图纸时,用户可以在终端设备中对第二图纸进行编辑(如,修改参数、缩放操作等),终端设备可以根据用户对第二图纸的编辑过程,生成编辑操作,并向服务器发送该编辑操作。例如,在终端设备显示第二图纸时,若用户删除第二图纸中的一条线路内容,则终端设备生成删除该线路内容的编辑操作,并向服务器发送该编辑操作。Optionally, the editing operation is an operation performed by the user on the second drawing. For example, when the terminal device receives the second drawing, the user can edit the second drawing in the terminal device (eg, modify parameters, zoom operations, etc.), and the terminal device can generate an edit according to the user's editing process of the second drawing operation and send the edit operation to the server. For example, when the terminal device displays the second drawing, if the user deletes a line content in the second drawing, the terminal device generates an editing operation for deleting the line content, and sends the editing operation to the server.
S507、根据编辑操作,更新第二图纸的数据。S507, according to the editing operation, update the data of the second drawing.
可选的,服务器接收到编辑操作时,可以根据编辑操作,确定用户对第二图纸的操作,并对服务器中的第二图纸的数据进行更新。例如,在实际应用过程中,服务器的数据库中可以存储所有图纸的图层数据,用户在终端设备对第二图纸的数据进行修改时,服务器可以根据编辑操作,及时的在数据库中对第二图纸的数据进行同步更新,使得下次图纸加载时可以得到准确的数据,提高图纸显示的准确度和效率。Optionally, when the server receives the editing operation, it may determine the user's operation on the second drawing according to the editing operation, and update the data of the second drawing in the server. For example, in the actual application process, the layer data of all drawings can be stored in the database of the server. When the user modifies the data of the second drawing on the terminal device, the server can timely update the second drawing in the database according to the editing operation. The data is updated synchronously, so that accurate data can be obtained when the drawing is loaded next time, and the accuracy and efficiency of drawing display can be improved.
本申请实施例提供一种图纸显示方法,获取终端设备显示的第一图纸的第一图层信息,接收终端设备发送的缩放指令,根据第一图层信息,确定第一图纸显示的第一图层和第一图层显示的第一图层块,根据缩放指令对第一图层和第一图层块进行缩放处理,得到第二图层信息,对第二图层信息进行渲染,得到第二图纸,并向终端设备发送第二图纸,接收终端设备发送的编辑操作,根据编辑操作,更新第二图纸的数据。在上述方法中,在用户对终端设备显示的第一图纸进行缩放操作时,服务器可以根据操作指令和第一图层信息,准确的确定第一图纸缩放后的第二图层信息,进而对第二图层信息进行渲染得到第一图纸缩放后的第二图纸,提高图纸显示的准确度,并且,用户在终端设备中对第二图纸的编辑操作可以同步至服务器的数据库中,由于第二图纸为服务器在本地进行渲染得到的图纸,因此,终端设备只需显示服务器发送的第二图纸(如,图像),无需在终端设备本地处理加载第二图纸的过程,进而提高终端设备显示第二图纸的效率。An embodiment of the present application provides a drawing display method, which acquires first layer information of a first drawing displayed by a terminal device, receives a zoom instruction sent by the terminal device, and determines a first drawing displayed by the first drawing according to the first layer information layer and the first layer block displayed by the first layer, perform zoom processing on the first layer and the first layer block according to the zoom instruction to obtain the second layer information, and render the second layer information to obtain the first layer information. Second drawing, send the second drawing to the terminal device, receive the editing operation sent by the terminal device, and update the data of the second drawing according to the editing operation. In the above method, when the user performs a zooming operation on the first drawing displayed by the terminal device, the server can accurately determine the second layer information after zooming of the first drawing according to the operation instruction and the first layer information, and then perform the zooming operation on the first drawing. Rendering the second layer information to obtain the second drawing scaled by the first drawing, which improves the accuracy of drawing display, and the user's editing operations on the second drawing in the terminal device can be synchronized to the database of the server. It is a drawing obtained by rendering locally by the server. Therefore, the terminal device only needs to display the second drawing (such as an image) sent by the server, and there is no need to process the process of loading the second drawing locally on the terminal device, thereby improving the display of the second drawing on the terminal device. s efficiency.
在上述任意一个实施例的基础上,下面,结合图7,对上述图纸显示方法的过程进行说明。On the basis of any one of the above embodiments, the process of the above drawing display method will be described below with reference to FIG. 7 .
图7为本申请实施例提供的一种图纸显示方法的过程示意图。请参见图7,包括终端设备和服务器。其中,服务器向终端设备发送第一图纸。第一图纸中包括第一图层(图7中第一图纸只有1个图层),第一图层包括图层块1、图层块2、图层块3和图层块4。终端设备接收到第一图纸之后,在显示屏幕中显示第一图纸。服务器确定终端设备当前显示的图纸为第一图纸(可以为第一图纸的图像),因此,服务器确定第一图纸的第一图层信息包括第一图层、第一图层中的图层块1、图层块2、图层块3和图层块4。FIG. 7 is a schematic process diagram of a method for displaying drawings according to an embodiment of the present application. See Figure 7, including terminal equipment and servers. The server sends the first drawing to the terminal device. The first drawing includes a first layer (the first drawing in FIG. 7 has only one layer), and the first layer includes layer block 1 , layer block 2 , layer block 3 and layer block 4 . After receiving the first drawing, the terminal device displays the first drawing on the display screen. The server determines that the drawing currently displayed by the terminal device is the first drawing (which may be an image of the first drawing), therefore, the server determines that the first layer information of the first drawing includes the first layer and layer blocks in the first layer 1. Layer block 2, layer block 3 and layer block 4.
请参见图7,在用户对第一图纸中的图层块4的中心位置进行张开滑动操作时,终端设备确定操作指令为放大指令,放大位置为图层块4的中心,并向服务器发送该放大指令。服务器根据放大指令对第一图层和图层块1、图层块2、图层块3、图层块4进行放大处理,得到第二图层,以及第二图层中的图层块5和图层块6。Referring to FIG. 7 , when the user performs an opening and sliding operation on the center position of the layer block 4 in the first drawing, the terminal device determines that the operation instruction is a zoom-in command, and the zoom-in position is the center of the layer block 4, and sends a message to the server. The zoom in command. The server performs enlarging processing on the first layer and layer block 1, layer block 2, layer block 3 and layer block 4 according to the enlargement instruction to obtain the second layer and layer block 5 in the second layer and layer block 6.
请参见图7,服务器通过第二图层、图层块5和图层块6,渲染得到第二图纸。服务器向终端设备发送第二图纸(可以为第二图纸的图像),终端设备接收到第二图纸时,在显示屏幕中显示第二图纸。由于第二图纸为服务器在本地进行渲染得到的图纸,因此,终端设备只需显示服务器发送的第二图纸(如,图像),无需在终端设备本地处理加载第二图纸的过程,进而提高终端设备显示第二图纸的效率。Referring to FIG. 7 , the server renders the second drawing through the second layer, layer block 5 and layer block 6 . The server sends the second drawing (which may be an image of the second drawing) to the terminal device, and when the terminal device receives the second drawing, it displays the second drawing on the display screen. Since the second drawing is a drawing obtained by rendering locally by the server, the terminal device only needs to display the second drawing (eg, an image) sent by the server, and does not need to process the process of loading the second drawing locally on the terminal device, thereby improving the efficiency of the terminal device. Shows the efficiency of the second drawing.
图8为本申请实施例提供的一种图纸显示装置的结构示意图。请参见图8,该图纸显示装置10包括获取模块11、接收模块12、处理模块13和渲染模块14,其中:FIG. 8 is a schematic structural diagram of a drawing display device according to an embodiment of the present application. Referring to FIG. 8 , the drawing display device 10 includes an acquiring
所述获取模块11用于,获取终端设备显示的第一图纸的第一图层信息;The obtaining
所述接收模块12用于,接收所述终端设备发送的操作指令,所述操作指令为用户对所述第一图纸的操作;The receiving
所述处理模块13用于,根据所述操作指令对所述第一图层信息进行处理,得到第二图层信息;The
所述渲染模块14用于,对所述第二图层信息进行渲染,得到第二图纸,并向所述终端设备发送所述第二图纸。The
在一种可能的实施方式中,所述处理模块13具体用于:In a possible implementation manner, the
根据所述第一图层信息,确定所述第一图纸显示的第一图层和所述第一图层显示的第一图层块;determining a first layer displayed by the first drawing and a first layer block displayed by the first layer according to the first layer information;
根据所述缩放指令对所述第一图层和所述第一图层块进行缩放处理,得到所述第二图层信息。The first layer and the first layer block are zoomed according to the zoom instruction to obtain the second layer information.
在一种可能的实施方式中,所述处理模块13具体用于:In a possible implementation manner, the
确定所述缩放指令对应的缩放比例和缩放位置;determining the scaling ratio and the scaling position corresponding to the scaling instruction;
根据所述缩放比例,确定所述第一图层缩放后的第二图层;determining, according to the scaling ratio, the second layer after scaling of the first layer;
根据所述缩放比例、所述缩放位置,确定所述第一图层块缩放后的第二图层块;According to the zoom ratio and the zoom position, determine the second layer block after the first layer block is scaled;
根据所述第二图层和所述第二图层块,得到所述第二图层信息。The second layer information is obtained according to the second layer and the second layer block.
在一种可能的实施方式中,所述处理模块13具体用于:In a possible implementation manner, the
以所述缩放位置为缩放中心,根据所述缩放比例,对所述第一图层块进行缩放处理,得到所述第一图层块缩放后,在所述第二图层中的待显示图层块;Taking the zoom position as the zoom center, and according to the zoom ratio, performing zoom processing on the first layer block to obtain the image to be displayed in the second layer after the first layer block is zoomed layer block;
将所述待显示图层块,确定为所述第二图层块。The layer block to be displayed is determined as the second layer block.
在一种可能的实施方式中,所述渲染模块14具体用于:In a possible implementation manner, the
获取终端设备的网络参数;Obtain the network parameters of the terminal device;
根据所述网络参数,向所述终端设备发送所述第二图纸。According to the network parameter, the second drawing is sent to the terminal device.
在一种可能的实施方式中,所述渲染模块14具体用于:In a possible implementation manner, the
根据所述网络参数,确定所述服务器向所述终端设备发送所述第二图纸的网络时长;According to the network parameter, determine the network duration for the server to send the second drawing to the terminal device;
在所述网络时长小于第一阈值时,向所述终端设备发送所述第二图纸。When the network duration is less than the first threshold, the second drawing is sent to the terminal device.
在一种可能的实施方式中,所述接收模块12还用于:In a possible implementation manner, the receiving
接收所述终端设备发送的编辑操作,所述编辑操作为所述用户对所述第二图纸的操作;receiving an editing operation sent by the terminal device, where the editing operation is an operation performed by the user on the second drawing;
根据所述编辑操作,更新所述第二图纸的数据。According to the editing operation, the data of the second drawing is updated.
本申请实施例提供的图纸显示装置可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。The drawing display device provided in the embodiments of the present application can implement the technical solutions shown in the foregoing method embodiments, and the implementation principles and beneficial effects thereof are similar, which will not be repeated here.
本申请实施例所示的图纸显示装置可以为芯片、硬件模组、处理器等。当然,图纸显示装置可以为其它形态,本申请实施例对此不作具体限定。The drawing display device shown in the embodiment of the present application may be a chip, a hardware module, a processor, or the like. Of course, the drawing display device may be in other forms, which are not specifically limited in this embodiment of the present application.
图9为本申请提供的终端设备的硬件结构示意图。请参见图9,该终端设备20可以包括:处理器21和存储器22,其中,处理器21和存储器22可以通信;示例性的,处理器21和存储器22通过通信总线23通信,所述存储器22用于存储程序指令,所述处理器21用于调用存储器中的程序指令执行上述任意方法实施例所示的图纸显示方法。FIG. 9 is a schematic diagram of a hardware structure of a terminal device provided by the present application. Referring to FIG. 9, the terminal device 20 may include: a
可选的,终端设备20还可以包括通信接口,通信接口可以包括发送器和/或接收器。Optionally, the terminal device 20 may further include a communication interface, and the communication interface may include a transmitter and/or a receiver.
可选的,上述处理器可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。Optionally, the above-mentioned processor may be a central processing unit (Central Processing Unit, CPU), and may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC) )Wait. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps in combination with the method disclosed in the present application can be directly embodied as executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
本申请实施例提供一种可读存储介质,所述可读存储介质上存储有计算机程序;所述计算机程序用于实现如上述任意实施例所述的图纸显示方法。An embodiment of the present application provides a readable storage medium, where a computer program is stored on the readable storage medium; the computer program is used to implement the drawing display method described in any of the foregoing embodiments.
本申请实施例提供一种计算机程序产品,所述计算机程序产品包括指令,当所述指令被执行时,使得计算机执行上述图纸显示方法。An embodiment of the present application provides a computer program product, where the computer program product includes instructions, which, when the instructions are executed, cause a computer to execute the above drawing display method.
实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一可读取存储器中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储器(存储介质)包括:只读存储器(英文:read-only memory,缩写:ROM)、RAM、快闪存储器、硬盘、固态硬盘、磁带(英文:magnetic tape)、软盘(英文:floppydisk)、光盘(英文:optical disc)及其任意组合。All or part of the steps for implementing the above method embodiments may be completed by program instructions related to hardware. The aforementioned program can be stored in a readable memory. When the program is executed, the steps including the above method embodiments are executed; and the aforementioned memory (storage medium) includes: read-only memory (English: read-only memory, abbreviation: ROM), RAM, flash memory, hard disk, Solid state drive, magnetic tape (English: magnetic tape), floppy disk (English: floppydisk), optical disc (English: optical disc) and any combination thereof.
本申请实施例是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程终端设备的处理单元以产生一个机器,使得通过计算机或其他可编程终端设备的处理单元执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The embodiments of the present application are described with reference to flowcharts and/or block diagrams of methods, apparatuses (systems), and computer program products according to the embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processing unit of a general purpose computer, special purpose computer, embedded processor or other programmable terminal device to produce a machine such that the instructions executed by the processing unit of the computer or other programmable terminal device produce a A means for the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable terminal device to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instruction means The functionality specified in the flow or flow of the flowchart and/or the block or blocks of the block diagram is implemented.
这些计算机程序指令也可装载到计算机或其他可编程终端设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable terminal device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions to be executed on the computer or other programmable device Steps are provided for implementing the functions specified in a flow or flows of the flowcharts and/or a block or blocks of the block diagrams.
显然,本领域的技术人员可以对本申请实施例进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请实施例的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
在本申请中,术语“包括”及其变形可以指非限制性的包括;术语“或”及其变形可以指“和/或”。本申请中术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。本申请中,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。In this application, the term "comprising" and its variants may mean non-limiting inclusion; the term "or" and its variants may mean "and/or". The terms "first", "second" and the like in this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. In this application, "plurality" means two or more. "And/or", which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects are an "or" relationship.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210476461.0A CN114816193A (en) | 2022-04-29 | 2022-04-29 | Drawing display method and device and terminal equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210476461.0A CN114816193A (en) | 2022-04-29 | 2022-04-29 | Drawing display method and device and terminal equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN114816193A true CN114816193A (en) | 2022-07-29 |
Family
ID=82511001
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210476461.0A Pending CN114816193A (en) | 2022-04-29 | 2022-04-29 | Drawing display method and device and terminal equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114816193A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117631930A (en) * | 2022-09-01 | 2024-03-01 | 苏州浩辰软件股份有限公司 | Method, system and storage medium for quick response of drawing |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106534288A (en) * | 2016-11-02 | 2017-03-22 | 广东欧珀移动通信有限公司 | Data transmission method and mobile terminal |
| US20180145941A1 (en) * | 2016-11-21 | 2018-05-24 | Papaya Corporation | Personal information apparatus, sharing system and sharing system operating method for servicing map-based user generated contents for social network service |
| CN109445760A (en) * | 2018-10-08 | 2019-03-08 | 武汉联影医疗科技有限公司 | Image rendering method and system |
| CN114073858A (en) * | 2020-08-17 | 2022-02-22 | 腾讯科技(深圳)有限公司 | A data processing method, apparatus, device and readable storage medium |
-
2022
- 2022-04-29 CN CN202210476461.0A patent/CN114816193A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106534288A (en) * | 2016-11-02 | 2017-03-22 | 广东欧珀移动通信有限公司 | Data transmission method and mobile terminal |
| US20180145941A1 (en) * | 2016-11-21 | 2018-05-24 | Papaya Corporation | Personal information apparatus, sharing system and sharing system operating method for servicing map-based user generated contents for social network service |
| CN108111389A (en) * | 2016-11-21 | 2018-06-01 | 帕帕亚公司 | For providing user-generated content personal information terminal, shared system and the operation method based on map of social networking service |
| CN109445760A (en) * | 2018-10-08 | 2019-03-08 | 武汉联影医疗科技有限公司 | Image rendering method and system |
| CN114073858A (en) * | 2020-08-17 | 2022-02-22 | 腾讯科技(深圳)有限公司 | A data processing method, apparatus, device and readable storage medium |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117631930A (en) * | 2022-09-01 | 2024-03-01 | 苏州浩辰软件股份有限公司 | Method, system and storage medium for quick response of drawing |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110377257B (en) | Layer composition method and device, electronic equipment and storage medium | |
| US9684947B2 (en) | Indicating availability of indoor content on a digital map | |
| CN113872712B (en) | Communication processing method, device, electronic equipment and storage medium | |
| CN110413245A (en) | Image synthesis method, image synthesis device, electronic equipment and storage medium | |
| CN110362186A (en) | Layer processing method and device, electronic equipment and computer readable medium | |
| WO2016078254A1 (en) | Display method and terminal, storage medium | |
| WO2018000372A1 (en) | Picture display method and terminal | |
| CN104360847A (en) | Method and equipment for processing image | |
| CN105512136A (en) | Method and device for processing based on layer | |
| CN115509406B (en) | Coal mine multi-scene fusion method, device, storage medium and electronic equipment | |
| US9177412B2 (en) | Techniques for multiple pass rendering | |
| CN108399646A (en) | A kind of image rendering method and device | |
| CN103176993B (en) | A kind of content presenting device and method | |
| CN114387402B (en) | Virtual reality scene display method and device, electronic equipment and readable storage medium | |
| CN114816193A (en) | Drawing display method and device and terminal equipment | |
| CN110910515B (en) | Method, device and equipment for realizing autorotation and scaling of object in three-dimensional scene | |
| CN103237206B (en) | Remote image display packing, processing means and display system | |
| CN114612292B (en) | Image processing method, device, electronic equipment and storage medium | |
| CN109925715B (en) | Virtual water area generation method and device and terminal | |
| CN115797562A (en) | Three-dimensional scene loading method, program, device, medium and electronic equipment | |
| CN118820384A (en) | A data processing method and device | |
| CN114972602B (en) | Method for rendering data, storage medium and electronic device | |
| CN116612295B (en) | Feature map generation method, training method and device of target detection model | |
| CN107085567B (en) | Control method and system for data layout display of intelligent terminal | |
| CN110147215A (en) | A Method of Realizing Rapid Scaling of Electronic Vector Map |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220729 |
|
| RJ01 | Rejection of invention patent application after publication |