CN117331477A - Three-dimensional model annotation data storage method, device and electronic equipment - Google Patents

Three-dimensional model annotation data storage method, device and electronic equipment Download PDF

Info

Publication number
CN117331477A
CN117331477A CN202311027336.2A CN202311027336A CN117331477A CN 117331477 A CN117331477 A CN 117331477A CN 202311027336 A CN202311027336 A CN 202311027336A CN 117331477 A CN117331477 A CN 117331477A
Authority
CN
China
Prior art keywords
annotation
target
data
dimensional model
dimensional
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
Application number
CN202311027336.2A
Other languages
Chinese (zh)
Inventor
吴佳力
冯新源
请求不公布姓名
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Wending Intelligent Technology Co ltd
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN202311027336.2A priority Critical patent/CN117331477A/en
Publication of CN117331477A publication Critical patent/CN117331477A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/54Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Architecture (AREA)
  • Computer Graphics (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application provides a storage method and device of three-dimensional model annotation data and electronic equipment, wherein the storage method of the three-dimensional model annotation data comprises the following steps: the method comprises the steps that first electronic equipment responds to receiving target operation, three-dimensional data of a target three-dimensional model are obtained from a target layout file, and the target three-dimensional model is displayed based on the three-dimensional data; and responding to annotation operation on the target three-dimensional model, acquiring annotation data, wherein the annotation data comprises the following steps: the method comprises the steps of setting position information of an operation point corresponding to an annotation operation, an operation view corresponding to the annotation operation, annotation content information of the annotation operation, operation time of the annotation operation and identity information of an operator of the annotation operation; and associating the annotation data with the identification of the target three-dimensional model and then storing the annotation data into the target layout file.

Description

三维模型批注数据的存储方法、装置及电子设备Three-dimensional model annotation data storage method, device and electronic equipment

技术领域Technical field

本发明涉及工业信息系统领域,尤其涉及一种三维模型批注数据的存储方法、装置及电子设备。The invention relates to the field of industrial information systems, and in particular to a storage method, device and electronic equipment for three-dimensional model annotation data.

背景技术Background technique

目前随着工业互联网的发展,以及基于模型的设计(Model-Based Design,MBD)在越来越多的制造业企业实施起来。MBD围绕着三维模型数据,将其相关的设计数据、工艺卡片数据、制造信息数据与模型本身结合,能够直观、高效的将设计意图传递到下游的生产制造当中。而与模型管理相关的批注数据,却不再MBD的范畴内。Currently, with the development of the Industrial Internet, Model-Based Design (MBD) is being implemented in more and more manufacturing companies. MBD revolves around three-dimensional model data and combines its related design data, process card data, and manufacturing information data with the model itself, which can intuitively and efficiently transmit design intentions to downstream manufacturing. The annotation data related to model management is no longer within the scope of MBD.

在相关技术中,如果需要对三维模型进行审批、归案等操作,则先将三维模型转换成二维图纸,再由相关审阅人员标注上审阅信息,然后加盖签名以此来生成一个具有法律效力的模型批注文件。或者直接将批注以三维的形式融入三维模型里。然而,在二维图纸上进行批注不如在三维模型上批注直观,且不利用修改。而将批注以三维的形式融入三维模型,则每次对批注进行修改将导致三维模型的修改,而三维模型的数据量一般都较大,如果反复修改,可能带来软件上的高负载。In related technologies, if a three-dimensional model needs to be approved, filed, etc., the three-dimensional model is first converted into a two-dimensional drawing, and then the relevant reviewers mark the review information, and then add a signature to generate a legally binding drawing. model annotation file. Or directly integrate the annotations into the 3D model in 3D form. However, annotating on a 2D drawing is not as intuitive as annotating on a 3D model and does not take advantage of modifications. When annotations are integrated into a 3D model in a 3D form, each modification of the annotations will result in modification of the 3D model. The data volume of the 3D model is generally large, and if it is modified repeatedly, it may cause a high load on the software.

发明内容Contents of the invention

本申请提供一种三维模型批注数据的存储方法、装置及电子设备,用以解决现有技术中二维图纸不直观和软件的负载较高中的至少一个问题。The present application provides a storage method, device and electronic equipment for three-dimensional model annotation data to solve at least one of the problems in the prior art of unintuitive two-dimensional drawings and high software load.

第一方面,本申请提供一种三维模型批注数据的存储方法,包括:In the first aspect, this application provides a method for storing 3D model annotation data, including:

第一电子设备响应于接收到目标操作,从目标版式文件中获取目标三维模型的三维数据,并基于所述三维数据显示所述目标三维模型;In response to receiving the target operation, the first electronic device acquires the three-dimensional data of the target three-dimensional model from the target layout file, and displays the target three-dimensional model based on the three-dimensional data;

响应于对所述目标三维模型的批注操作,获取批注数据,其中,所述批注数据包括:所述批注操作对应的操作点的位置信息、所述批注操作对应的操作视图、所述批注操作的批注内容信息、所述批注操作的操作时间以及所述批注操作的操作员的身份信息;In response to the annotation operation on the target three-dimensional model, annotation data is obtained, wherein the annotation data includes: the position information of the operation point corresponding to the annotation operation, the operation view corresponding to the annotation operation, and the location information of the operation point corresponding to the annotation operation. Annotation content information, the operation time of the annotation operation, and the identity information of the operator of the annotation operation;

将所述批注数据与所述目标三维模型的标识关联后保存到所述目标版式文件中。The annotation data is associated with the identification of the target three-dimensional model and then saved in the target layout file.

第二方面,本申请提供一种三维模型批注数据的显示方法,包括:In the second aspect, this application provides a method for displaying three-dimensional model annotation data, including:

第二电子设备响应于接收到的目标操作,从目标版式文件中获取目标三维模型的三维数据,并基于所述三维数据显示所述目标三维模型;In response to the received target operation, the second electronic device acquires the three-dimensional data of the target three-dimensional model from the target layout file, and displays the target three-dimensional model based on the three-dimensional data;

根据所述目标三维模型的标识,从所述目标版本方式中获取与所述标识关联保存的批注数据,其中,所述批注数据包括:批注操作对应的操作点的位置信息、所述批注操作对应的操作视图、所述批注操作的批注内容信息、所述批注操作的操作时间以及所述批注操作的操作员的身份信息;According to the identification of the target three-dimensional model, obtain the annotation data associated with the identification from the target version mode, wherein the annotation data includes: the position information of the operation point corresponding to the annotation operation, the location information of the operation point corresponding to the annotation operation, The operation view, the annotation content information of the annotation operation, the operation time of the annotation operation, and the identity information of the operator of the annotation operation;

基于所述位置信息和所述操作视图,将所述批注内容信息、所述操作时间以及所述身份信息显示到所述目标三维模型的对应位置。Based on the position information and the operation view, the annotation content information, the operation time and the identity information are displayed to the corresponding position of the target three-dimensional model.

第三方面,本申请提供一种三维模型批注数据的存储装置,其特征在于,包括:In a third aspect, this application provides a storage device for three-dimensional model annotation data, which is characterized by including:

第一获取模块,用于响应于接收到目标操作,从目标版式文件中获取目标三维模型的三维数据;The first acquisition module is used to acquire the three-dimensional data of the target three-dimensional model from the target layout file in response to receiving the target operation;

第一显示模块,用于基于所述三维数据显示所述目标三维模型;A first display module, configured to display the target three-dimensional model based on the three-dimensional data;

第二获取模块,用于响应于对所述目标三维模型的批注操作,获取批注数据,其中,所述批注数据包括:所述批注操作对应的操作点的位置信息、所述批注操作对应的操作视图、所述批注操作的批注内容信息、所述批注操作的操作时间以及所述批注操作的操作员的身份信息;The second acquisition module is configured to obtain annotation data in response to an annotation operation on the target three-dimensional model, where the annotation data includes: the position information of the operation point corresponding to the annotation operation, the operation corresponding to the annotation operation View, annotation content information of the annotation operation, operation time of the annotation operation, and identity information of the operator of the annotation operation;

存储模块,用于将所述批注数据与所述目标三维模型的标识关联后保存到所述目标版式文件中。A storage module, configured to associate the annotation data with the identification of the target three-dimensional model and then save it in the target layout file.

第四方面,本申请提供了一种三维模型批注数据的显示装置,包括:In the fourth aspect, this application provides a display device for three-dimensional model annotation data, including:

第三获取模块,用于响应于接收到的目标操作,从目标版式文件中获取目标三维模型的三维数据;The third acquisition module is used to acquire the three-dimensional data of the target three-dimensional model from the target layout file in response to the received target operation;

第二显示模块,用于基于所述三维数据显示所述目标三维模型;a second display module, configured to display the target three-dimensional model based on the three-dimensional data;

第四获取模块,用于根据所述目标三维模型的标识,从所述目标版本方式中获取与所述标识关联保存的批注数据,其中,所述批注数据包括:批注操作对应的操作点的位置信息、所述批注操作对应的操作视图、所述批注操作的批注内容信息、所述批注操作的操作时间以及所述批注操作的操作员的身份信息;The fourth acquisition module is configured to obtain annotation data associated with the identification from the target version mode according to the identification of the target three-dimensional model, wherein the annotation data includes: the position of the operation point corresponding to the annotation operation. information, the operation view corresponding to the annotation operation, the annotation content information of the annotation operation, the operation time of the annotation operation, and the identity information of the operator of the annotation operation;

所述第二显示模块,还用于基于所述位置信息和所述操作视图,将所述批注内容信息、所述操作时间以及所述身份信息显示到所述目标三维模型的对应位置。The second display module is also configured to display the annotation content information, the operation time and the identity information to the corresponding position of the target three-dimensional model based on the position information and the operation view.

第五方面,本申请提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如第一方面所述的方法的步骤,或者实现如第二方面所述的方法的步骤。In a fifth aspect, the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the method described in the first aspect is implemented. The steps of a method, or steps of implementing a method as described in the second aspect.

第六方面,本申请提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如第一方面所述的方法的步骤,或者实现如第二方面所述的方法的步骤。In a sixth aspect, the present application provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented. The steps of the method described in this aspect.

第七方面,本申请提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如第一方面所述的方法的步骤,或者实现如第二方面所述的方法的步骤。In a seventh aspect, the present application provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the method described in the first aspect, or implements the steps of the method described in the second aspect. .

在本申请中,第一电子设备响应于接收到目标操作,从目标版式文件中获取目标三维模型的三维数据,并基于所述三维数据显示所述目标三维模型;响应于对所述目标三维模型的批注操作,获取批注数据,其中,所述批注数据包括:所述批注操作对应的操作点的位置信息、所述批注操作对应的操作视图、所述批注操作的批注内容信息、所述批注操作的操作时间以及所述批注操作的操作员的身份信息;将所述批注数据与所述目标三维模型的标识关联后保存到所述目标版式文件中。从而实现直接在三维模型上进行批注,可以避免二维图纸不直观的问题,且便于修改。另外,由于批注数据与三维模型分开并关联存储,可以避免在修改批注时修改三维模型,从而降低软件的负载。In this application, in response to receiving the target operation, the first electronic device acquires the three-dimensional data of the target three-dimensional model from the target layout file, and displays the target three-dimensional model based on the three-dimensional data; in response to the target three-dimensional model perform an annotation operation to obtain annotation data, wherein the annotation data includes: the location information of the operation point corresponding to the annotation operation, the operation view corresponding to the annotation operation, the annotation content information of the annotation operation, the annotation operation The operation time and the identity information of the operator of the annotation operation; the annotation data is associated with the identification of the target three-dimensional model and then saved in the target layout file. This allows annotations to be made directly on the 3D model, which avoids the problem of unintuitive 2D drawings and facilitates modification. In addition, since the annotation data is separated from the 3D model and stored in association, it can avoid modifying the 3D model when modifying the annotation, thereby reducing the load on the software.

附图说明Description of drawings

图1是本申请实施例提供的三维模型批注数据的存储方法的一种流程示意图;Figure 1 is a schematic flow chart of a method for storing three-dimensional model annotation data provided by an embodiment of the present application;

图2是本申请实施例中一种批注数据的示例图;Figure 2 is an example diagram of annotation data in the embodiment of the present application;

图3是本申请实施例提供的三维模型批注数据的显示方法的一种流程示意图;Figure 3 is a schematic flow chart of a method for displaying three-dimensional model annotation data provided by an embodiment of the present application;

图4是本申请实施例中一种批注数据显示的示例图;Figure 4 is an example diagram of annotation data display in the embodiment of the present application;

图5是本申请实施例中一种角色、权限和密钥进行管理的示意图;Figure 5 is a schematic diagram of the management of roles, permissions and keys in the embodiment of the present application;

图6是本申请实施例提供的三维模型批注数据的显示方法的流程图;Figure 6 is a flow chart of a method for displaying three-dimensional model annotation data provided by an embodiment of the present application;

图7是本申请实施例提供的三维模型批注数据的存储装置的一种结构示意图;Figure 7 is a schematic structural diagram of a storage device for three-dimensional model annotation data provided by an embodiment of the present application;

图8是是本申请实施例提供的三维模型批注数据的显示装置的一种结构示意图;Figure 8 is a schematic structural diagram of a display device for three-dimensional model annotation data provided by an embodiment of the present application;

图9是本申请提供的电子设备的结构示意图。Figure 9 is a schematic structural diagram of an electronic device provided by this application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this application.

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that data so used are interchangeable under appropriate circumstances so that embodiments of the present application can be practiced in sequences other than those illustrated or described herein. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the related objects are in an "or" relationship.

为了便于更加清晰地理解本申请各实施例,首先对一些相关知识进行如下介绍。In order to facilitate a clearer understanding of each embodiment of the present application, some relevant knowledge is first introduced as follows.

三维渲染:在计算机上可以显示三维模型,并对三维模型进行旋转、平移和缩放等操作。3D rendering: 3D models can be displayed on the computer, and operations such as rotation, translation, and scaling can be performed on the 3D models.

版式文件:以固定的排版和样式显示文本、图片和视频等内容,无论采用哪种软件打开版式文件,都能保证显示内容的一致性,不会跑版。Layout files: Display text, pictures, videos and other content in a fixed layout and style. No matter which software is used to open the layout file, the consistency of the displayed content can be guaranteed and the layout will not run out.

目前,三维模型如果需要审批、归案,则需要将三维模型先转换成二维图纸,再由相关审阅人员标注上审阅信息,然后加盖签名以此来生成一个具有法律效力的模型批注文件。或者直接将批注以三维的形式融入模型里。At present, if a 3D model needs to be approved and filed, the 3D model needs to be converted into a 2D drawing, and then the relevant reviewers will mark the review information, and then stamp it with a signature to generate a legally valid model annotation file. Or directly integrate the annotations into the model in three-dimensional form.

采用上述技术方案,可能存在以下至少之一的缺陷:Using the above technical solution, there may be at least one of the following defects:

(1)二维图纸不直观:(1) Two-dimensional drawings are not intuitive:

对三维模型的批注通常会指示到一个具体视图的具体位置上,比如某个正视图的圆弧尺寸。转换成二维图纸再做批注,不及直接在三维上批注直观。并且,在数据保存、复制、传递、调阅等方面非常的不方便。Annotations on the 3D model usually indicate the specific position of a specific view, such as the arc size of a front view. Converting to two-dimensional drawings and then annotating them is not as intuitive as annotating directly on three-dimensional drawings. Moreover, it is very inconvenient in terms of data storage, copying, transmission, and retrieval.

(2)批注数据多且修改不便:(2) There is a lot of annotation data and it is inconvenient to modify:

对设备、工程项目的审批、校对、核验,本身就是一个不断修改的过程,批注建议非常之多,同时又需要反复修改。如果采用纸质图纸,则需要大量的打印纸张,不方便且浪费。如果直接修改三维模型,则过多的将管理流程与三维模型耦合,每次批注数据的修改、增加或删除都会破坏三维模型的设计数据本身。并且如果三维模型的批注数据要多次迭代,则将造成数据大量的数据被反复修改,如果三维模型是大模型,反复修改模型也将带来软件上的高负载。The approval, proofreading, and verification of equipment and engineering projects is itself a process of continuous revision. There are many comments and suggestions, and repeated revisions are required. If paper drawings are used, a large amount of printing paper is required, which is inconvenient and wasteful. If the 3D model is modified directly, the management process will be coupled to the 3D model too much, and each modification, addition, or deletion of annotation data will destroy the design data of the 3D model itself. And if the annotation data of the 3D model needs to be iterated multiple times, a large amount of data will be modified repeatedly. If the 3D model is a large model, repeated modification of the model will also bring a high load on the software.

基于此,本申请实施例提出了一种三维模型批注数据的存储方法以及一种三维模型批注数据的显示方法,在显示的三维模型上添加的批注数据,将批注数据与三维模型的标识关联存储,从而可以避免二维图纸不直观的问题,且便于修改。另外,由于批注数据与三维模型分开并关联存储,可以避免在修改批注时修改三维模型,从而降低软件的负载。Based on this, embodiments of the present application propose a method for storing three-dimensional model annotation data and a method for displaying three-dimensional model annotation data. The annotation data added to the displayed three-dimensional model is stored in association with the identification of the three-dimensional model. , which can avoid the problem of unintuitive two-dimensional drawings and facilitate modification. In addition, since the annotation data is separated from the 3D model and stored in association, it can avoid modifying the 3D model when modifying the annotation, thereby reducing the load on the software.

下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的技术方案进行详细地说明。The technical solutions provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios.

图1是本申请实施例提供的三维模型批注数据的存储方法的一种流程示意图,该方法100可以由第一电子设备执行。换言之,所述方法可以由安装在第一电子设备上的软件或硬件来执行。Figure 1 is a schematic flowchart of a method for storing three-dimensional model annotation data provided by an embodiment of the present application. The method 100 can be executed by a first electronic device. In other words, the method may be performed by software or hardware installed on the first electronic device.

在本申请实施例中,第一电子设备可以安装版式文件阅读软件,用户在使用第一电子设备时,可以使用其账号进行登录。In this embodiment of the present application, the first electronic device can be installed with layout file reading software, and the user can log in using his or her account when using the first electronic device.

如图1所示,该方法主要包括以下步骤:As shown in Figure 1, this method mainly includes the following steps:

S102,第一电子设备响应于接收到目标操作,从目标版式文件中获取目标三维模型的三维数据,并基于所述三维数据显示所述目标三维模型。S102. In response to receiving the target operation, the first electronic device acquires the three-dimensional data of the target three-dimensional model from the target layout file, and displays the target three-dimensional model based on the three-dimensional data.

例如,用户可以版式文件阅读软件,输入显示目标三维模型的目标操作,则第一电子设备响应于用户输入的该目标操作,从目标版式文件中获取目标三维模型的三维数据。For example, the user can use the layout file reading software to input a target operation for displaying the target three-dimensional model, and then the first electronic device responds to the target operation input by the user and obtains the three-dimensional data of the target three-dimensional model from the target layout file.

在本申请实施例中,可选地,在S102之前,可以将目标三维模型的三维数据插入到版式文件中,从而得到上述目标版式文件。例如,用户可以使用版式文件阅读软件打开或新建一个版式文件,该版式文件可以是一个不存在任何数据的空白文件。其中,三维模型文件可以在三维模型的设计过程中获取到。在本申请实施例中,三维模型可以是工业设备模型,也可以是其他领域的设备模型。在对三维模型设计的过程中,可能涉及到三维模型的数据,例如,产品尺寸信息、产品配套信息、工艺装备信息和耗材信息等三维数据。然后从三维模型文件中获取目标三维模型的三维数据,然后将该三维数据插入上述版式文件中,得到目标版式文件。从而使得三维数据保存在目标版式文件中,进而可以使得三维数据在目标版式文件中以固定的排版和样式进行显示,避免跑版。In this embodiment of the present application, optionally, before S102, the three-dimensional data of the target three-dimensional model can be inserted into the layout file, thereby obtaining the above-mentioned target layout file. For example, the user can use layout file reading software to open or create a new layout file. The layout file can be a blank file without any data. Among them, the three-dimensional model file can be obtained during the design process of the three-dimensional model. In the embodiment of this application, the three-dimensional model may be an industrial equipment model or an equipment model in other fields. In the process of designing a three-dimensional model, the data of the three-dimensional model may be involved, for example, three-dimensional data such as product size information, product supporting information, process equipment information, and consumable information. Then, the three-dimensional data of the target three-dimensional model is obtained from the three-dimensional model file, and then the three-dimensional data is inserted into the above-mentioned layout file to obtain the target layout file. As a result, the three-dimensional data is saved in the target layout file, and the three-dimensional data can be displayed in the target layout file with a fixed layout and style to avoid running out of layouts.

可选地,在将三维数据插入到目标版式文件之后,还可以为目标版式文件添加数据签名信息,在S102中执行从目标版式文件中获取目标三维模型的三维数据之前,可以先对该数据签名信息进行验证,在验证通过之后,再执行目标版式文件中获取目标三维模型的三维数据的操作,从而可以保证获取的三维数据没有被非法篡改。Optionally, after inserting the three-dimensional data into the target layout file, you can also add data signature information to the target layout file. Before performing the acquisition of the three-dimensional data of the target three-dimensional model from the target layout file in S102, you can first sign the data. The information is verified, and after the verification is passed, the operation of obtaining the three-dimensional data of the target three-dimensional model in the target layout file is performed, thereby ensuring that the obtained three-dimensional data has not been illegally tampered with.

在S102中,在获取到目标三维模型的三维数据之后,可以基于该三维数据渲染显示目标三维模型。In S102, after obtaining the three-dimensional data of the target three-dimensional model, the target three-dimensional model can be rendered and displayed based on the three-dimensional data.

S104,响应于对目标三维模型的批注操作,获取批注数据。S104. In response to the annotation operation on the target three-dimensional model, obtain annotation data.

在本申请实施例中,所述批注数据包括但不限于:所述批注操作对应的操作点的位置信息、所述批注操作对应的操作视图、所述批注操作的批注内容信息、所述批注操作的操作时间以及所述批注操作的操作员的身份信息。In this embodiment of the present application, the annotation data includes but is not limited to: the location information of the operation point corresponding to the annotation operation, the operation view corresponding to the annotation operation, the annotation content information of the annotation operation, the annotation operation The operation time and the identity information of the operator of the annotation operation.

在显示目标三维模型之后,用户可以基于显示的目标三维模型,执行批注操作,第一电子设备获取该批注操作的批注数据。After displaying the target three-dimensional model, the user can perform an annotation operation based on the displayed target three-dimensional model, and the first electronic device obtains annotation data for the annotation operation.

例如,用户张三可以在目标三维模型的显示页面的某个操作点,点击添加批注的操作,并输入批注内容为:建议平面粗糙度更改为0.8,则第一电子设备可能获取如图2所示的批注数据。For example, user Zhang San can click the operation of adding annotation at a certain operation point on the display page of the target 3D model, and enter the annotation content as follows: It is recommended that the plane roughness be changed to 0.8, then the first electronic device may obtain the information as shown in Figure 2 the annotation data shown.

S106,将所述批注数据与所述目标三维模型的标识关联后保存到所述目标版式文件中。S106: Associate the annotation data with the identification of the target three-dimensional model and save it in the target layout file.

在本申请实施例中,在获取批注数据之后,将批注数据与目标三维模型的标识关联后保存到目标版式文件中,从而使得在打开目标三维模型时,可以获取并显示该目标三维模型的批注数据。In the embodiment of the present application, after obtaining the annotation data, the annotation data is associated with the identification of the target 3D model and then saved in the target layout file, so that when the target 3D model is opened, the annotations of the target 3D model can be obtained and displayed. data.

在一个可能的实现方式中,在S104之前,该方法还可以包括:对所述身份信息进行验证,确定所述身份信息对应的用户具有批注权限。In a possible implementation, before S104, the method may further include: verifying the identity information to determine that the user corresponding to the identity information has the annotation authority.

在具体应用中,上述批注操作可以是添加批注的操作,也可以是修改批注的操作,具体本申请实施例中不作限定。In a specific application, the above annotation operation may be an operation of adding annotation or an operation of modifying annotation, which is not limited in the specific embodiment of the present application.

在上述实现方式中,在验证身份信息对应的用户具有批注权限的情况下,才响应对目标三维模型的批注操作,从而使得只有经过身份认证的相关人能够执行批注数据生成和修改操作。其余人员可以在三维模型的传递过程中查看批注数据。从而可以避免没有权限的人员在三维模型中添加批注数据。In the above implementation method, the annotation operation on the target 3D model will be responded to only after it is verified that the user corresponding to the identity information has the annotation authority, so that only relevant persons who have passed the identity authentication can perform annotation data generation and modification operations. Others can view the annotation data during the transfer of the 3D model. This can prevent people without permission from adding annotation data to the 3D model.

在一个可能的实现方式中,为了保证批注数据的有效性,在S104之后,该方法还可以包括以下步骤:In a possible implementation, in order to ensure the validity of the annotation data, after S104, the method may also include the following steps:

步骤1,获取与所述身份信息绑定的签名私钥。Step 1: Obtain the signature private key bound to the identity information.

在具体应用中,与身份信息绑定的签名私钥可以存储在服务器,或者,为了保证签名私钥的安全性,也可以将签名私钥存储在安全设备中,例如,电子签名设备中,第一电子设备可以通过网络从服务器获取与身份信息绑定的签名私钥,或者外部接口,例如,USB接口,与电子签名设备连接,从电子签名设备中获取所述签名私钥。In specific applications, the signature private key bound to the identity information can be stored in the server, or, in order to ensure the security of the signature private key, the signature private key can also be stored in a security device, for example, in an electronic signature device. An electronic device can obtain the signature private key bound to the identity information from the server through the network, or an external interface, such as a USB interface, is connected to the electronic signature device to obtain the signature private key from the electronic signature device.

步骤2,使用所述签名私钥对所述批注数据进行数据签名,得到所述批注数据的签名数据。Step 2: Use the signature private key to perform data signature on the annotation data to obtain the signature data of the annotation data.

在步骤2中可以采用预定的签名算法,对所述批注数据进行数据签名,得到所述批注数据的签名数据。本申请实施例中对具体的签名算法不作限定。In step 2, a predetermined signature algorithm may be used to perform data signature on the annotation data to obtain signature data of the annotation data. The specific signature algorithm is not limited in the embodiments of this application.

步骤3,将所述签名数据与所述目标三维模型的标识关联后保存到所述目标版式文件中。Step 3: Associate the signature data with the identification of the target three-dimensional model and save it in the target layout file.

通过上述实现方式,可以将目标三维模型的标识与批注数据以及批注数据的签名数据关联保存,从而可以在加载目标三维模型时,获取相应的批注数据及签名数据。Through the above implementation method, the identification of the target three-dimensional model can be associated and saved with the annotation data and the signature data of the annotation data, so that the corresponding annotation data and signature data can be obtained when the target three-dimensional model is loaded.

图3示出本申请实施例提供的一种三维模型批注数据的显示方法的流程示意图,如图3所示,该方法主要包括以下步骤。Figure 3 shows a schematic flowchart of a method for displaying three-dimensional model annotation data provided by an embodiment of the present application. As shown in Figure 3, the method mainly includes the following steps.

S302,第二电子设备响应于接收到的目标操作,从目标版式文件中获取目标三维模型的三维数据,并基于所述三维数据显示所述目标三维模型。S302. In response to the received target operation, the second electronic device acquires the three-dimensional data of the target three-dimensional model from the target layout file, and displays the target three-dimensional model based on the three-dimensional data.

例如,第二电子设备可以通过版式阅读软件,打开目标版本文件,将目标三维模型加载后显示,第二电子设备与第一电子设备可能为同一设备,也可能为不同设备。For example, the second electronic device can open the target version file through layout reading software, load the target three-dimensional model and display it. The second electronic device and the first electronic device may be the same device or they may be different devices.

S304,根据所述目标三维模型的标识,从所述目标版本方式中获取与所述标识关联保存的批注数据,其中,所述批注数据包括:批注操作对应的操作点的位置信息、所述批注操作对应的操作视图、所述批注操作的批注内容信息、所述批注操作的操作时间以及所述批注操作的操作员的身份信息。S304: According to the identification of the target three-dimensional model, obtain the annotation data associated with the identification from the target version mode, wherein the annotation data includes: the position information of the operation point corresponding to the annotation operation, the annotation The operation view corresponding to the operation, the annotation content information of the annotation operation, the operation time of the annotation operation, and the identity information of the operator of the annotation operation.

其中,上述批注数据可以采用图1所示的方法与所述目标三维模型关联保存,具体可以参见上述相关描述,在此不再赘述。The above annotation data can be stored in association with the target three-dimensional model using the method shown in Figure 1. For details, please refer to the above relevant descriptions, which will not be described again here.

S306,基于所述位置信息和所述操作视图,将所述批注内容信息、所述操作时间以及所述身份信息显示到所述目标三维模型的对应位置。S306: Based on the location information and the operation view, display the annotation content information, the operation time and the identity information to the corresponding position of the target three-dimensional model.

例如,基于上述图2所示的批注数据,第二电子设备最后显示的内容可能如图4所示。For example, based on the annotation data shown in Figure 2, the content finally displayed by the second electronic device may be as shown in Figure 4.

在一个可能的实现方式中,为了确定批注数据是否被篡改,在所述基于所述位置信息和所述操作视图,将所述批注内容信息、所述操作时间以及所述身份信息显示到所述目标三维模型的对应位置之前,所述方法还包括以下步骤:In a possible implementation, in order to determine whether the annotation data has been tampered with, based on the location information and the operation view, the annotation content information, the operation time and the identity information are displayed to the Before determining the corresponding position of the target three-dimensional model, the method further includes the following steps:

步骤1,查询与所述身份信息对应的签名公钥。Step 1: Query the signature public key corresponding to the identity information.

在具体应用中,身份信息对应的签名公钥可以存储在服务器,第二电子设备可以通过服务器获取该签名公钥。In a specific application, the signature public key corresponding to the identity information can be stored in the server, and the second electronic device can obtain the signature public key through the server.

步骤2,基于所述签名公钥以及所述批注数据,对所述目标版式文件中存储的与所述目标三维模型的标识关联的签名数据进行签名验证,且验证通过。Step 2: Perform signature verification on the signature data associated with the identification of the target three-dimensional model stored in the target layout file based on the signature public key and the annotation data, and the verification passes.

在具体应用中,可以采用与上述签名算法对应的签名验证算法,对目标版式文件中存储的签名数据进行验签,在验证通过的情况下,说明该签名数据未被篡改,为合法数据。In specific applications, the signature verification algorithm corresponding to the above signature algorithm can be used to verify the signature data stored in the target format file. If the verification passes, it means that the signature data has not been tampered with and is legal data.

在一个可能的实现方式中,所述方法还可以包括:在未查询到与所述身份信息对应的签名公钥的情况下,确定所述批注数据无效。如果未查询到与身份信息对应的签名公钥,则可以认定该批注数据不是合法的批注数据,因此,确定批注数据无效。In a possible implementation, the method may further include: determining that the annotation data is invalid if the signature public key corresponding to the identity information is not queried. If the signature public key corresponding to the identity information is not queried, it can be determined that the annotation data is not legal annotation data, and therefore, the annotation data is determined to be invalid.

在一个可能的实现方式中,所述方法还可以包括:在对所述签名数据进行签名验证未通过的情况下,确定所述批注数据无效。在对稅数据进行签名验证未通过,则可以确定所述批注数据被篡改,或者,不是所述身份信息对应的用户添加的批注数据,因此,认定该批注数据无效。In a possible implementation, the method may further include: determining that the annotation data is invalid if the signature verification of the signature data fails. If the signature verification of the tax data fails, it can be determined that the annotation data has been tampered with, or is not annotation data added by the user corresponding to the identity information, and therefore, the annotation data is deemed invalid.

在本申请实施例提供的技术方案中,为了实现对批注数据的管理,可以对信息管理系统的角色、权限和密钥进行管理,如图5所示,角色管理用于管理各种角色,而权限管理则对各类角色的权限进行授权,只有指定的角色,才能够添加或修改批注,而密钥管理则对用户的签名私钥和签名公钥进行管理。如图5所示,三维模型数据存储在版式文件中,在加载三维模型之后,用户可以添加批注1,然后在对用户的权限进行验证后,确认该用户能够添加或修改批注后,确认用户添加的批注1,然后再通过密钥管理中的用户私钥,对批注1进行签名,最后将三维模型数据、批注数据及其签名数据存储到批注文档数据库内。In the technical solution provided by the embodiment of this application, in order to realize the management of annotation data, the roles, permissions and keys of the information management system can be managed. As shown in Figure 5, role management is used to manage various roles, and Permission management authorizes the permissions of various roles. Only designated roles can add or modify comments, while key management manages the user's private signing key and public signing key. As shown in Figure 5, the 3D model data is stored in the layout file. After loading the 3D model, the user can add annotation 1, and then after verifying the user's permissions and confirming that the user can add or modify the annotation, confirm that the user has added Annotation 1, and then use the user private key in key management to sign annotation 1, and finally store the 3D model data, annotation data and signature data in the annotation document database.

下面结合图5,对本申请实施例提供的技术方案进行说明。The technical solution provided by the embodiment of the present application will be described below with reference to FIG. 5 .

如图6所示,该方法主要包括以下步骤:As shown in Figure 6, this method mainly includes the following steps:

步骤601,第一操作员从目标版式文件中获取三维模型,并加载到三维模型显示软件中显示。Step 601: The first operator obtains the three-dimensional model from the target layout file and loads it into the three-dimensional model display software for display.

步骤602:对第一操作员的企业身份角色进行验证,如果验证不通过,则不允许该人员操作批注,如果验证通过,则从企业密钥管理系统中加载与该员工身份绑定的签名私钥。Step 602: Verify the first operator's corporate identity role. If the verification fails, the person is not allowed to operate the annotation. If the verification passes, load the signature private key bound to the employee's identity from the enterprise key management system. key.

步骤603:第一操作员审阅模型后,对三维模型进行批注操作。批注记录的数据包括:操作点位置三维坐标、操作视图等三维交互信息,以及操作时间、操作员身份等事件记录信息。Step 603: After reviewing the model, the first operator annotates the three-dimensional model. The data recorded in the annotation includes: three-dimensional interactive information such as the three-dimensional coordinates of the operating point position and the operating view, as well as event record information such as operating time and operator identity.

步骤604:点击批注完成时,上述数据被保存在目标版式文件中,使用步骤602中的私钥对批注数据执行签名计算。计算完成后签名数据同样被保存在该目标版式文件中。Step 604: When the annotation is completed, the above data is saved in the target layout file, and the private key in step 602 is used to perform signature calculation on the annotation data. After the calculation is completed, the signature data is also saved in the target layout file.

步骤605:将批注数据以及签名数据与三维模型ID关联。Step 605: Associate annotation data and signature data with the three-dimensional model ID.

步骤606;第二操作员从目标版式文件中获取三维模型,并加载到模型显示软件中显示。Step 606: The second operator obtains the three-dimensional model from the target layout file and loads it into the model display software for display.

第一操作员与第二操作员可以为同一个操作,也可以为不同的操作员。The first operator and the second operator may perform the same operation, or may be different operators.

步骤607:根据三维模型ID从目标版式文件中获取对应的批注数据和签名数据。Step 607: Obtain corresponding annotation data and signature data from the target layout file according to the three-dimensional model ID.

步骤608:根据批注操作员信息,向信息系统查询该人员公钥信息,并使用该公钥对批注信息进行签名校验。如果查询不到公钥或者签名校验失败,则表示该批注信息无效。如果能校验通过,则表示批注有效。可以进行批注与三维模型结合显示。Step 608: Based on the annotation operator information, query the information system for the person's public key information, and use the public key to perform signature verification on the annotation information. If the public key cannot be queried or the signature verification fails, it means that the annotation information is invalid. If the verification passes, the annotation is valid. Annotations can be displayed in conjunction with the 3D model.

例如,可以先加载显示三维模型,然后根据批注中记录的操作视图和批注的三维坐标,将批注的内容、操作员、时间等信息动态的附加在三维场景中。For example, you can first load and display the 3D model, and then dynamically attach the content, operator, time and other information of the annotation to the 3D scene based on the operation view recorded in the annotation and the 3D coordinates of the annotation.

下面对本申请提供的三维模型批注数据的存储装置以及三维模型批注数据的显示装置进行描述,下文描述的三维模型批注数据的存储装置与上文描述的三维模型批注数据的存储方法可相互对应参照,三维模型批注数据的显示装置与上文描述的三维模型批注数据的显示方法可相互对应参照。The storage device for three-dimensional model annotation data and the display device for three-dimensional model annotation data provided by this application are described below. The storage device for three-dimensional model annotation data described below and the storage method for three-dimensional model annotation data described above can be mutually referenced. The display device for the three-dimensional model annotation data and the method for displaying the three-dimensional model annotation data described above may correspond to each other.

图7是本申请提供的三维模型批注数据的存储装置的结构示意图,如图7所示,三维模型批注数据的存储装置700包括:第一获取模块701、第一显示模块702、第二获取模块703和存储模块704;其中,Figure 7 is a schematic structural diagram of a storage device for three-dimensional model annotation data provided by this application. As shown in Figure 7, the storage device 700 for three-dimensional model annotation data includes: a first acquisition module 701, a first display module 702, and a second acquisition module. 703 and storage module 704; where,

第一获取模块701,用于响应于接收到目标操作,从目标版式文件中获取目标三维模型的三维数据;The first acquisition module 701 is configured to acquire the three-dimensional data of the target three-dimensional model from the target layout file in response to receiving the target operation;

第一显示模块702,用于基于所述三维数据显示所述目标三维模型;The first display module 702 is used to display the target three-dimensional model based on the three-dimensional data;

第二获取模块703,用于响应于对所述目标三维模型的批注操作,获取批注数据,其中,所述批注数据包括:所述批注操作对应的操作点的位置信息、所述批注操作对应的操作视图、所述批注操作的批注内容信息、所述批注操作的操作时间以及所述批注操作的操作员的身份信息;The second acquisition module 703 is configured to obtain annotation data in response to an annotation operation on the target three-dimensional model, where the annotation data includes: position information of an operation point corresponding to the annotation operation, location information of an operation point corresponding to the annotation operation, The operation view, the annotation content information of the annotation operation, the operation time of the annotation operation, and the identity information of the operator of the annotation operation;

存储模块704,用于将所述批注数据与所述目标三维模型的标识关联后保存到所述目标版式文件中。The storage module 704 is configured to associate the annotation data with the identification of the target three-dimensional model and then save it in the target layout file.

本申请提供的三维模型批注数据的存储,通过从目标版式文件中获取目标三维模型的三维数据,并基于所述三维数据显示所述目标三维模型;响应于对所述目标三维模型的批注操作,获取批注数据,其中,所述批注数据包括:所述批注操作对应的操作点的位置信息、所述批注操作对应的操作视图、所述批注操作的批注内容信息、所述批注操作的操作时间以及所述批注操作的操作员的身份信息;将所述批注数据与所述目标三维模型的标识关联后保存到所述目标版式文件中。从而实现直接在三维模型上进行批注,可以避免二维图纸不直观的问题,且便于修改。另外,由于批注数据与三维模型分开并关联存储,可以避免在修改批注时修改三维模型,从而降低软件的负载。The three-dimensional model annotation data provided by this application is stored by obtaining the three-dimensional data of the target three-dimensional model from the target layout file, and displaying the target three-dimensional model based on the three-dimensional data; in response to the annotation operation on the target three-dimensional model, Obtain annotation data, wherein the annotation data includes: the location information of the operation point corresponding to the annotation operation, the operation view corresponding to the annotation operation, the annotation content information of the annotation operation, the operation time of the annotation operation, and The identity information of the operator of the annotation operation; associate the annotation data with the identification of the target three-dimensional model and save it in the target layout file. This allows annotations to be made directly on the 3D model, which avoids the problem of unintuitive 2D drawings and facilitates modification. In addition, since the annotation data is separated from the 3D model and stored in association, it can avoid modifying the 3D model when modifying the annotation, thereby reducing the load on the software.

可选地,第一获取模块701还用于对所述身份信息进行验证,确定所述身份信息对应的用户具有批注权限。Optionally, the first acquisition module 701 is also used to verify the identity information and determine that the user corresponding to the identity information has the annotation authority.

可选地,所述第二获取模块703还用于:获取与所述身份信息绑定的签名私钥;Optionally, the second acquisition module 703 is also used to: acquire the signature private key bound to the identity information;

使用所述签名私钥对所述批注数据进行数据签名,得到所述批注数据的签名数据;Use the signature private key to perform data signature on the annotation data to obtain the signature data of the annotation data;

存储模块703还用于:将所述签名数据与所述目标三维模型的标识关联后保存到所述目标版式文件中。The storage module 703 is also configured to associate the signature data with the identification of the target three-dimensional model and save it in the target layout file.

图8是本申请提供的三维模型批注数据的显示装置的结构示意图,如图8所示,三维模型批注数据的显示装置800包括:第三获取模块801、第二显示模块802和第四获取模块803;其中,Figure 8 is a schematic structural diagram of a display device for three-dimensional model annotation data provided by this application. As shown in Figure 8, the display device 800 for three-dimensional model annotation data includes: a third acquisition module 801, a second display module 802 and a fourth acquisition module. 803; among them,

第三获取模块801,用于响应于接收到的目标操作,从目标版式文件中获取目标三维模型的三维数据;The third acquisition module 801 is used to acquire the three-dimensional data of the target three-dimensional model from the target layout file in response to the received target operation;

第二显示模块802,用于基于所述三维数据显示所述目标三维模型;The second display module 802 is used to display the target three-dimensional model based on the three-dimensional data;

第四获取模块803,用于根据所述目标三维模型的标识,从所述目标版本方式中获取与所述标识关联保存的批注数据,其中,所述批注数据包括:批注操作对应的操作点的位置信息、所述批注操作对应的操作视图、所述批注操作的批注内容信息、所述批注操作的操作时间以及所述批注操作的操作员的身份信息;The fourth acquisition module 803 is configured to obtain annotation data associated with the identification from the target version mode according to the identification of the target three-dimensional model, wherein the annotation data includes: the operation point corresponding to the annotation operation. Location information, the operation view corresponding to the annotation operation, the annotation content information of the annotation operation, the operation time of the annotation operation, and the identity information of the operator of the annotation operation;

所述第二显示模块804,还用于基于所述位置信息和所述操作视图,将所述批注内容信息、所述操作时间以及所述身份信息显示到所述目标三维模型的对应位置。The second display module 804 is also configured to display the annotation content information, the operation time and the identity information to the corresponding position of the target three-dimensional model based on the position information and the operation view.

可选地,第四获取模块803还用于:Optionally, the fourth acquisition module 803 is also used to:

查询与所述身份信息对应的签名公钥;Query the signature public key corresponding to the identity information;

基于所述签名公钥以及所述批注数据,对所述目标版式文件中存储的与所述目标三维模型的标识关联的签名数据进行签名验证,且验证通过。Based on the signature public key and the annotation data, signature verification is performed on the signature data stored in the target layout file and associated with the identification of the target three-dimensional model, and the verification passes.

可选地,第四获取模块803还用于:在未查询到与所述身份信息对应的签名公钥的情况下,确定所述批注数据无效。Optionally, the fourth acquisition module 803 is also configured to determine that the annotation data is invalid if the signature public key corresponding to the identity information is not queried.

可选地,第四获取模块803还用于:在对所述签名数据进行签名验证未通过的情况下,确定所述批注数据无效。Optionally, the fourth acquisition module 803 is also configured to determine that the annotation data is invalid if the signature verification of the signature data fails.

通过本申请实施例提供的三维模型批注数据的显示装置,可以在打开目标三维模型时,显示目标三维模型对应的批注数据,并且,由于批注数据与目标三维模型分开关联保存,可以避免在修改批注时修改三维模型,从而降低软件的负载。Through the display device of the three-dimensional model annotation data provided by the embodiment of the present application, the annotation data corresponding to the target three-dimensional model can be displayed when the target three-dimensional model is opened. Moreover, since the annotation data is stored in separate association with the target three-dimensional model, it is possible to avoid modifying the annotations. Modify the 3D model on-the-fly, thereby reducing the load on the software.

可选地,如图9所示,本申请实施例还提供一种电子设备900,包括处理器901和存储器902,存储器902上存储有可在所述处理器901上运行的程序或指令,该程序或指令被处理器901执行时实现上述三维模型批注数据的存储方法实施例的各个步骤,或者实现上述三维模型批注数据的显示方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 9, this embodiment of the present application also provides an electronic device 900, including a processor 901 and a memory 902. The memory 902 stores programs or instructions that can be run on the processor 901. When the program or instruction is executed by the processor 901, each step of the above-mentioned storage method embodiment of three-dimensional model annotation data is realized, or each step of the above-mentioned three-dimensional model annotation data display method embodiment is realized, and the same technical effect can be achieved. In order to avoid Repeat, I won’t go into details here.

需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

另一方面,本申请还提供一种计算机程序产品,所述计算机程序产品包括计算机程序,计算机程序可存储在非暂态计算机可读存储介质上,所述计算机程序被处理器执行时,计算机能够执行上述各方法所提供的三维模型批注数据的存储方法的各个过程,或者执行上述各方法所提供的三维模型批注数据的显示方法的各个过程,并达到相同的效果,为避免重复,在此不再赘述。On the other hand, the present application also provides a computer program product. The computer program product includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can Execute each process of the storage method of 3D model annotation data provided by the above methods, or execute each process of the display method of 3D model annotation data provided by the above methods, and achieve the same effect. To avoid duplication, we will not describe it here. Again.

又一方面,本申请还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述上述各方法所提供的三维模型批注数据的存储方法的各个过程,或者执行上述各方法所提供的三维模型批注数据的显示方法的各个过程,并达到相同的效果,为避免重复,在此不再赘述。On the other hand, the present application also provides a non-transitory computer-readable storage medium on which a computer program is stored. The computer program is implemented when executed by the processor to perform the storage of the three-dimensional model annotation data provided by the above methods. Each process of the method, or each process of performing the three-dimensional model annotation data display method provided by each of the above methods, and achieves the same effect, will not be described in detail here to avoid duplication.

以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative. The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they may be located in One location, or it can be distributed across multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Persons of ordinary skill in the art can understand and implement the method without any creative effort.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the part of the above technical solution that essentially contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., including a number of instructions to cause a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments or certain parts of the embodiments.

最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application, but not to limit it; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent substitutions are made to some of the technical features; however, these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions in the embodiments of the present application.

Claims (10)

1.一种三维模型批注数据的存储方法,其特征在于,包括:1. A method for storing three-dimensional model annotation data, which is characterized by including: 第一电子设备响应于接收到目标操作,从目标版式文件中获取目标三维模型的三维数据,并基于所述三维数据显示所述目标三维模型;In response to receiving the target operation, the first electronic device acquires the three-dimensional data of the target three-dimensional model from the target layout file, and displays the target three-dimensional model based on the three-dimensional data; 响应于对所述目标三维模型的批注操作,获取批注数据,其中,所述批注数据包括:所述批注操作对应的操作点的位置信息、所述批注操作对应的操作视图、所述批注操作的批注内容信息、所述批注操作的操作时间以及所述批注操作的操作员的身份信息;In response to the annotation operation on the target three-dimensional model, annotation data is obtained, wherein the annotation data includes: the position information of the operation point corresponding to the annotation operation, the operation view corresponding to the annotation operation, and the location information of the operation point corresponding to the annotation operation. Annotation content information, the operation time of the annotation operation, and the identity information of the operator of the annotation operation; 将所述批注数据与所述目标三维模型的标识关联后保存到所述目标版式文件中。The annotation data is associated with the identification of the target three-dimensional model and then saved in the target layout file. 2.根据权利要求1所述的方法,其特征在于,在所述响应于对所述目标三维模型的批注操作,获取批注数据之前,所述方法还包括:2. The method according to claim 1, characterized in that, before obtaining annotation data in response to an annotation operation on the target three-dimensional model, the method further includes: 对所述身份信息进行验证,确定所述身份信息对应的用户具有批注权限。The identity information is verified to determine that the user corresponding to the identity information has annotation authority. 3.根据权利要求2所述的方法,其特征在于,在所述响应于对所述目标三维模型的批注操作,获取批注数据之后,所述方法还包括:3. The method according to claim 2, characterized in that, after obtaining annotation data in response to an annotation operation on the target three-dimensional model, the method further includes: 获取与所述身份信息绑定的签名私钥;Obtain the signature private key bound to the identity information; 使用所述签名私钥对所述批注数据进行数据签名,得到所述批注数据的签名数据;Use the signature private key to perform data signature on the annotation data to obtain the signature data of the annotation data; 将所述签名数据与所述目标三维模型的标识关联后保存到所述目标版式文件中。The signature data is associated with the identification of the target three-dimensional model and then saved in the target layout file. 4.一种三维模型批注数据的显示方法,其特征在于,包括:4. A method for displaying three-dimensional model annotation data, which is characterized by including: 第二电子设备响应于接收到的目标操作,从目标版式文件中获取目标三维模型的三维数据,并基于所述三维数据显示所述目标三维模型;In response to the received target operation, the second electronic device acquires the three-dimensional data of the target three-dimensional model from the target layout file, and displays the target three-dimensional model based on the three-dimensional data; 根据所述目标三维模型的标识,从所述目标版本方式中获取与所述标识关联保存的批注数据,其中,所述批注数据包括:批注操作对应的操作点的位置信息、所述批注操作对应的操作视图、所述批注操作的批注内容信息、所述批注操作的操作时间以及所述批注操作的操作员的身份信息;According to the identification of the target three-dimensional model, obtain the annotation data associated with the identification from the target version mode, wherein the annotation data includes: the position information of the operation point corresponding to the annotation operation, the location information of the operation point corresponding to the annotation operation, The operation view, the annotation content information of the annotation operation, the operation time of the annotation operation, and the identity information of the operator of the annotation operation; 基于所述位置信息和所述操作视图,将所述批注内容信息、所述操作时间以及所述身份信息显示到所述目标三维模型的对应位置。Based on the position information and the operation view, the annotation content information, the operation time and the identity information are displayed to the corresponding position of the target three-dimensional model. 5.根据权利要求4所述的方法,其特征在于,在所述基于所述位置信息和所述操作视图,将所述批注内容信息、所述操作时间以及所述身份信息显示到所述目标三维模型的对应位置之前,所述方法还包括:5. The method according to claim 4, characterized in that, based on the location information and the operation view, the annotation content information, the operation time and the identity information are displayed to the target. Before determining the corresponding position of the three-dimensional model, the method further includes: 查询与所述身份信息对应的签名公钥;Query the signature public key corresponding to the identity information; 基于所述签名公钥以及所述批注数据,对所述目标版式文件中存储的与所述目标三维模型的标识关联的签名数据进行签名验证,且验证通过。Based on the signature public key and the annotation data, signature verification is performed on the signature data stored in the target layout file and associated with the identification of the target three-dimensional model, and the verification passes. 6.根据权利要求5所述的方法,其特征在于,所述方法还包括:6. The method according to claim 5, characterized in that, the method further comprises: 在未查询到与所述身份信息对应的签名公钥的情况下,确定所述批注数据无效。If the signature public key corresponding to the identity information is not found, it is determined that the annotation data is invalid. 7.根据权利要求6所述的方法,其特征在于,所述方法还包括:7. The method according to claim 6, characterized in that the method further comprises: 在对所述签名数据进行签名验证未通过的情况下,确定所述批注数据无效。If the signature verification of the signature data fails, the annotation data is determined to be invalid. 8.一种三维模型批注数据的存储装置,其特征在于,包括:8. A storage device for three-dimensional model annotation data, characterized in that it includes: 第一获取模块,用于响应于接收到目标操作,从目标版式文件中获取目标三维模型的三维数据;The first acquisition module is used to acquire the three-dimensional data of the target three-dimensional model from the target layout file in response to receiving the target operation; 第一显示模块,用于基于所述三维数据显示所述目标三维模型;A first display module, configured to display the target three-dimensional model based on the three-dimensional data; 第二获取模块,用于响应于对所述目标三维模型的批注操作,获取批注数据,其中,所述批注数据包括:所述批注操作对应的操作点的位置信息、所述批注操作对应的操作视图、所述批注操作的批注内容信息、所述批注操作的操作时间以及所述批注操作的操作员的身份信息;The second acquisition module is configured to obtain annotation data in response to an annotation operation on the target three-dimensional model, where the annotation data includes: the position information of the operation point corresponding to the annotation operation, the operation corresponding to the annotation operation View, annotation content information of the annotation operation, operation time of the annotation operation, and identity information of the operator of the annotation operation; 存储模块,用于将所述批注数据与所述目标三维模型的标识关联后保存到所述目标版式文件中。A storage module, configured to associate the annotation data with the identification of the target three-dimensional model and then save it in the target layout file. 9.一种三维模型批注数据的显示装置,其特征在于,包括:9. A display device for three-dimensional model annotation data, characterized in that it includes: 第三获取模块,用于响应于接收到的目标操作,从目标版式文件中获取目标三维模型的三维数据;The third acquisition module is used to acquire the three-dimensional data of the target three-dimensional model from the target layout file in response to the received target operation; 第二显示模块,用于基于所述三维数据显示所述目标三维模型;a second display module, configured to display the target three-dimensional model based on the three-dimensional data; 第四获取模块,用于根据所述目标三维模型的标识,从所述目标版本方式中获取与所述标识关联保存的批注数据,其中,所述批注数据包括:批注操作对应的操作点的位置信息、所述批注操作对应的操作视图、所述批注操作的批注内容信息、所述批注操作的操作时间以及所述批注操作的操作员的身份信息;The fourth acquisition module is configured to obtain annotation data associated with the identification from the target version mode according to the identification of the target three-dimensional model, wherein the annotation data includes: the position of the operation point corresponding to the annotation operation. information, the operation view corresponding to the annotation operation, the annotation content information of the annotation operation, the operation time of the annotation operation, and the identity information of the operator of the annotation operation; 所述第二显示模块,还用于基于所述位置信息和所述操作视图,将所述批注内容信息、所述操作时间以及所述身份信息显示到所述目标三维模型的对应位置。The second display module is also configured to display the annotation content information, the operation time and the identity information to the corresponding position of the target three-dimensional model based on the position information and the operation view. 10.一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利要求1至7任一项所述方法的步骤。10. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that when the processor executes the program, it implements claim 1 to the steps of any one of the methods described in 7.
CN202311027336.2A 2023-08-15 2023-08-15 Three-dimensional model annotation data storage method, device and electronic equipment Pending CN117331477A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311027336.2A CN117331477A (en) 2023-08-15 2023-08-15 Three-dimensional model annotation data storage method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311027336.2A CN117331477A (en) 2023-08-15 2023-08-15 Three-dimensional model annotation data storage method, device and electronic equipment

Publications (1)

Publication Number Publication Date
CN117331477A true CN117331477A (en) 2024-01-02

Family

ID=89290827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311027336.2A Pending CN117331477A (en) 2023-08-15 2023-08-15 Three-dimensional model annotation data storage method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN117331477A (en)

Similar Documents

Publication Publication Date Title
US10686788B2 (en) Developer based document collaboration
US11640498B2 (en) Method and system for selective document redaction
CN106599321B (en) Plug-in for generation and analysis of DWG file annotation and signature and use method thereof
US20120221944A1 (en) System for digital and remote document revision and execution with document escrow
CN116579295B (en) Method for dynamically inserting pages, moving bits and hiding and displaying multi-format file subscription
KR20080045698A (en) System and Computer-readable Media for Digital Signature Policy
CN114818618B (en) Document editing method and system based on signature encryption and medium
US9454527B2 (en) Method and computer-readable media for creating verified business transaction documents
US20170010841A1 (en) Document output processing
KR100798465B1 (en) Learning data generation system and method for converting published learning materials into problem-solving format
CN111639313B (en) File transfer method, device, terminal and computer-readable storage medium
CN105556533A (en) Automatically generating certification documents
CN114861623A (en) Method, device, electronic device and storage medium for generating protocol template
TWI363997B (en)
US8959344B2 (en) Method and system for handling defined areas within an electronic document
JP5526991B2 (en) Information processing apparatus, information processing method, program, information processing system
JP2009232002A (en) Electronic signature system, signature apparatus, verification apparatus, and program
CN117331477A (en) Three-dimensional model annotation data storage method, device and electronic equipment
KR101746319B1 (en) Electronic document providing method, system, mother-book server and child-book client
CN110457669A (en) The sheet disposal method and system based on B/S framework for facilitating service logic to control
US20150095458A1 (en) Methods and systems for providing a seamless transition of documents between client types
CN103970799B (en) A kind of generation method of electronic document, device and client
CN113885464A (en) Functional graph page electronic signature method for nuclear power plant DCS system algorithm configuration
CN108537053B (en) Delayed watermark adding technology based on document
CN117668878B (en) Local encryption method, system, storage medium and program product for CAD files

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
TA01 Transfer of patent application right

Effective date of registration: 20250106

Address after: No. 1-398 Yanfu Road, Yancun Town, Fangshan District, Beijing (cluster registration)

Applicant after: Beijing Wending Intelligent Technology Co.,Ltd.

Country or region after: China

Address before: Group 189, Dongping Road, Rongguang Street, Erdao District, Changchun City, 130000 Jilin Province

Applicant before: Feng Xinyuan

Country or region before: China

TA01 Transfer of patent application right