A marking method, device, equipment and medium for P3D files

By obtaining and classifying component information of P3D files, batch annotation and adjusting the position of the labeling box, the problem of low labeling efficiency of P3D files in BIMbase software is solved, and the labeling efficiency and drawing quality are improved.

CN118587400BActive Publication Date: 2024-12-06CHINA COMM INFORMATION TECH GRP CO LTD HANGZHOU BRANCH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411063014.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-12-06
Estimated Expiration
2044-08-05

AI Technical Summary

Technical Problem

In BIMbase software, the fast batch labeling function of P3D files has not been implemented yet, resulting in low efficiency, high cost and easy human errors, affecting the quality of drawings and construction efficiency.

Method used

By obtaining the initial component category and attribute information of the P3D file, perform component classification and position labeling, adjust the position of the text labeling box, realize batch labeling of target components, and improve labeling efficiency and drawing quality.

Benefits of technology

The batch labeling of P3D files is realized, the labeling efficiency and drawing quality are improved, labor costs are reduced, and human errors are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587400B_ABST
    Figure CN118587400B_ABST
Patent Text Reader

Abstract

The present invention provides a marking method, device, equipment and medium for P3D files, and relates to the field of BIM. The method comprises the following steps: obtaining an initial component category information list of a target P3D file and an initial component attribute information list corresponding to the initial component category information list, obtaining a target component category list set, obtaining a target component position information list set based on the target component information list, marking target components included in a target component category list corresponding to the target component position information list based on the target component position information list and the initial component attribute information, obtaining an intermediate marked P3D file, adjusting the position of a text mark box based on a text mark box information list, and using the P3D file after adjusting the position of the text mark box as a final marked P3D file, thereby realizing batch marking of target components in the target component category list, and improving marking efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of BIM, and in particular to a marking method, device, equipment and medium for P3D files. Background Art

[0002] BIMbase software is a BIM platform software, and P3D file is a comprehensive project database used in BIMcase software, designed to facilitate model creation, management and sharing in BIM workflows.

[0003] However, in the process of drawing with BIMbase software, the function of fast batch annotation for P3D files has not yet been realized. Currently, we can only rely on manpower to annotate custom objects in P3D files one by one. This manual annotation method not only consumes a lot of manpower costs but also has extremely low annotation efficiency when facing a large number of drawing tasks due to the numerous attributes of custom objects in the drawings. The manual annotation process is prone to human errors, which further reduces the drawing quality and construction efficiency. Summary of the invention

[0004] In view of the above technical problems, the technical solution adopted by the present invention is: a marking method for P3D files, the method comprising the following steps:

[0005] Acquire an initial component category information list of a target P3D file and an initial component attribute information list corresponding to the initial component category information list, wherein the initial component category information list includes a plurality of target component category information of the target P3D file, the initial component attribute information list includes a plurality of target component attribute information of the target P3D file, each initial component category information uniquely corresponds to one initial component attribute information, and the initial component attribute information at least includes a target component ID and a size parameter;

[0006] Reading the target components in the target P3D file, and classifying them according to the initial component category information list, to obtain a target component category list set, wherein the target component category list set includes a plurality of target component category lists, and the target component category list includes a plurality of target component IDs of the same category;

[0007] Based on the target component information list, a target component position information list set is obtained, wherein the target component position information list set includes a plurality of target component position information lists, the target component position information lists include position information of a plurality of target component IDs of the same category, and the target component position information lists correspond to the target component category lists, and the position information of the target component ID is a preset insertion point of the target component;

[0008] Based on the target component position information list and the initial component attribute information, the target components included in the target component category list corresponding to the target component position information list are annotated to obtain an intermediate annotated P3D file;

[0009] Obtaining a text annotation box information list of the intermediate annotation P3D file, wherein the text annotation box information list includes a plurality of text annotation box information;

[0010] Based on the text annotation box information list, if a text annotation box overlaps with other text annotation boxes, the position of the text annotation box is adjusted, and the intermediate annotation P3D file after the position of the text annotation box is adjusted is used as the final annotation P3D file.

[0011] A marking device for a P3D file, the device comprising:

[0012] A target component information list acquisition module is used to acquire an initial component category information list of a target P3D file and an initial component attribute information list corresponding to the initial component category information list, wherein the initial component category information list includes several target component category information of the target P3D file, the initial component attribute information list includes several target component attribute information of the target P3D file, each initial component category information uniquely corresponds to one initial component attribute information, and the initial component attribute information at least includes a target component ID and a size parameter;

[0013] A target component category list set acquisition module is used to read the target components in the target P3D file, and classify them according to the initial component category information list to obtain a target component category list set, wherein the target component category list set includes a plurality of target component category lists, and the target component category list includes a plurality of target component IDs of the same category;

[0014] A target component position information list set acquisition module is used to acquire a target component position information list set based on a target component information list, wherein the target component position information list set includes a plurality of target component position information lists, the target component position information lists include position information of a plurality of target component IDs of the same category, and the target component position information lists correspond to the target component category lists, and the position information of the target component ID is a preset insertion point of the target component;

[0015] The intermediate annotation P3D file acquisition module is used to annotate the target components included in the target component category list corresponding to the target component position information list based on the target component position information list and the initial component attribute information, and acquire the intermediate annotation P3D file;

[0016] A text annotation box information list acquisition module is used to acquire a text annotation box information list of an intermediate annotation P3D file, wherein the text annotation box information list includes a plurality of text annotation box information;

[0017] The final annotation P3D file acquisition module is used to adjust the position of a text annotation frame if it overlaps with other text annotation frames based on the text annotation frame information list, and use the intermediate annotation P3D file with the adjusted text annotation frame position as the final annotation P3D file.

[0018] According to another aspect of the present invention, a non-transitory computer-readable storage medium is provided, in which at least one instruction or at least one program is stored, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the aforementioned method.

[0019] According to yet another aspect of the present invention, an electronic device is provided, comprising a processor and the aforementioned non-transitory computer-readable storage medium.

[0020] The present invention has at least the following beneficial effects: In summary, an initial component category information list of a target P3D file and an initial component attribute information list corresponding to the initial component category information list are obtained, a target component category list set is obtained, and based on the target component information list, a target component position information list set is obtained, and based on the target component position information list and the initial component attribute information, target components included in the target component category list corresponding to the target component position information list are annotated, an intermediate annotated P3D file is obtained, the position of the text annotation box is adjusted based on the text annotation box information list, and the P3D file with the text annotation box position adjusted is used as the final annotated P3D file, thereby realizing batch annotation of target components in the target component category list, improving annotation efficiency, and further improving drawing quality and construction efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0022] Figure 1 A flowchart of a method for marking a P3D file provided by an embodiment of the present invention;

[0023] Figure 2 A flowchart of S100 provided in an embodiment of the present invention;

[0024] Figure 3A flowchart of S120 provided in an embodiment of the present invention;

[0025] Figure 4 A schematic diagram of the structure of a marking device for P3D files provided by an embodiment of the present invention;

[0026] Figure 5 A schematic diagram of the structure of a target component category list set acquisition module provided by an embodiment of the present invention;

[0027] Figure 6 A schematic diagram of the structure of a target similarity list acquisition submodule provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0028] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0029] Embodiment 1

[0030] Embodiment 1 of the present invention provides a method for marking a P3D file, such as Figure 1 As shown, the method comprises the following steps:

[0031] S100, obtaining an initial component category information list of a target P3D file and an initial component attribute information list corresponding to the initial component category information list, wherein the initial component category information list includes several target component category information of the target P3D file, the initial component attribute information list includes several target component attribute information of the target P3D file, each initial component category information uniquely corresponds to one initial component attribute information, and the initial component attribute information at least includes a target component ID and size parameters.

[0032] Specifically, the initial component category information of the target P3D file can be obtained by manual presetting.

[0033] Specifically, the target component ID is a unique identifier of the target component.

[0034] S300, reading the target components in the target P3D file, and classifying them according to the initial component category information list to obtain a target component category list set, wherein the target component category list set includes a plurality of target component category lists, and the target component category list includes a plurality of target component IDs of the same category.

[0035] Specifically, A iThe corresponding target component is read to obtain the target component category list set B={B 1 , B 2 , …, B j , …, B n}, the jth target component category list B j ={B j,1 , B j,2 , …, B j,r , …, B j,sj}, B j is the jth target component category list, B j,r is the ID of the rth target component in the jth target component category list, r ranges from 1 to sj, sj is the number of target components in the jth target component category list, ∑ n j=1 sj=m.

[0036] S400, based on the target component information list, obtain a target component location information list set, wherein the target component location information list set includes a plurality of target component location information lists, the target component location information list includes location information of a plurality of target component IDs of the same category, and the target component location information list corresponds to the target component category list, and the location information of the target component ID is a preset insertion point of the target component. That is, the target component location information list set E={E 1 , E 2 , …, E j , …, E n}, E j ={E j,1 , E j,2 , …, E j,r , …, E j,sj}, E j,r It is B j,r The target component location information.

[0037] Specifically, the target component position information is a preset insertion point of the target component.

[0038] S500, based on the target component position information list and the initial component attribute information, annotate the target components included in the target component category list corresponding to the target component position information list, and obtain an intermediate annotated P3D file.

[0039] Specifically, based on the target component location information list and the initial component attribute information, the target components included in the target component category list corresponding to the target component location information list are marked, and further comprising:

[0040] The initial component attribute information is displayed to the target user, and the initial component attribute information selected by the target user is obtained. Based on the target component location information list and the initial component attribute information selected by the target user, the target components included in the target component category list corresponding to the target component location information list are marked.

[0041] Specifically, based on E j,r and the initial component attribute information selected by the target user, j,r Mark B j,r The initial component attribute information selected by the target user is annotated, thereby realizing batch annotation of target components in a target component category list.

[0042] Furthermore, S500 also includes: obtaining E j,r Included target component information, and E j,1 To E j,sj The target component information contained in B is marked as common component information, and the common component information is used to j,r Make annotations.

[0043] S600, obtaining a text annotation box information list of an intermediate annotation P3D file, wherein the text annotation box information list includes a plurality of text annotation box information.

[0044] Specifically, the text annotation box information is the information of the axis-aligned bounding box of the annotated text part. The axis-aligned bounding box (AABB) is defined by the coordinates of the maximum point and the minimum point. Specifically, the axis-aligned bounding box is a cube formed by the maximum point and the minimum point. The maximum point is the point formed by the maximum value of the annotated text part in the X-axis, Y-axis, and Z-axis of the coordinate system, and the minimum point is the point formed by the minimum value of the annotated text part in the X-axis, Y-axis, and Z-axis of the coordinate system.

[0045] S700, based on the text annotation box information list, if a text annotation box overlaps with other text annotation boxes, adjust the position of the text annotation box, and use the intermediate annotation P3D file after the text annotation box position is adjusted as the final annotation P3D file.

[0046] Specifically, if the axis-aligned bounding box of a text annotation box overlaps with the axis-aligned bounding box of another text annotation box, it is determined that the text annotation box overlaps with the other text annotation box. j,r The axis-aligned bounding box of the text annotation box and the axis-aligned bounding box of other text annotation boxes are judged by the size of the X-axis, Y-axis, and Z-axis. j,r Check whether the axis-aligned bounding box of the text annotation box overlaps with the axis-aligned bounding box of other text annotation boxes.

[0047] S700 also includes, if a text annotation box overlaps with other text annotation boxes, calculating the overlap range according to the axis-aligned bounding box of the text annotation box, and offsetting the text annotation box according to the overlap range and the insertion point of the text annotation box.

[0048] In summary, the initial component category information list of the target P3D file and the initial component attribute information list corresponding to the initial component category information list are obtained, the target component category list set is obtained, based on the target component information list, the target component position information list set is obtained, based on the target component position information list and the initial component attribute information, the target components included in the target component category list corresponding to the target component position information list are annotated, the intermediate annotated P3D file is obtained, the position of the text annotation box is adjusted based on the text annotation box information list, and the P3D file with the text annotation box position adjusted is used as the final annotated P3D file, thereby realizing batch annotation of the target components in the target component category list, improving the annotation efficiency, and further improving the drawing quality and construction efficiency.

[0049] Specifically, Figure 2 As shown, the target component category information list in S100 is obtained by the following steps:

[0050] S110, obtaining a preset category list, wherein the preset category list includes a plurality of preset categories. That is, the preset category list C={C 1 , C 2 , …, C j , …, C n}, C j is the jth preset category, the value range of j is 1 to n, and n is the number of preset categories.

[0051] Specifically, the preset category C j Contains preset category components. If the similarity between a target component and a preset category component meets the requirements, the target component is classified into the preset category.

[0052] S120, obtaining a target similarity list, wherein the target similarity list includes target similarities of a target component and several preset category components, wherein the preset category components are components corresponding to the preset category. That is, the target similarity list H={H 1 , H 2 , …, H j , …, H n}, H j is the similarity between the target component and the preset category component of the jth preset category.

[0053] S130, obtaining the maximum similarity in the target similarity list as the final similarity, and obtaining the target component category information based on the preset annotation information of the preset category corresponding to the final similarity. That is, the final similarity H max =max{H 1 , H 2 , …, H j , …, H n}, max{} is the maximum value function.

[0054] Specifically, Figure 3 As shown, S120 also includes obtaining the target similarity between the target component and the preset category component through the following steps:

[0055] S121, obtaining a target front view, a target top view and a target side view of a target component. Specifically, those skilled in the art know that any method of obtaining a front view, a top view and a side view of a 3D graphic in the prior art belongs to the protection scope of the present invention and will not be described in detail here.

[0056] S122, obtaining a preset front view, a preset top view and a preset side view of a component of a preset category.

[0057] S123: Acquire a first similarity based on the target main view of the target component and the preset main view of the component of the preset category.

[0058] Specifically, a target main view of a target component and a preset main view of a preset category component are normalized, and a first similarity between the target main view of the normalized target component and the preset main view of the preset category component is calculated; the method for normalizing three views includes: normalizing each distance of the three views; the three views include: a target main view, a target top view, a target side view, a preset main view, a preset top view and a preset side view.

[0059] S124, based on the target top view of the target component and the preset top view of the component of the preset category, obtain a second similarity. Specifically, the target top view of the target component and the preset top view of the component of the preset category are normalized, and the second similarity between the normalized target top view of the target component and the normalized preset top view of the component of the preset category is calculated.

[0060] S125, based on the target side view of the target component and the preset side view of the preset category component, obtain a third similarity. Specifically, the target side view of the target component and the preset side view of the preset category component are normalized, and a third similarity between the normalized target side view of the target component and the normalized preset side view of the preset category component is calculated.

[0061] S126: Obtain target similarity based on the first similarity, the second similarity, and the third similarity.

[0062] Specifically, the target similarity is a weighted sum of the first similarity, the second similarity and the third similarity, wherein the weight of the first similarity, the weight of the second similarity and the weight of the third similarity are the same.

[0063] In summary, a target similarity list is obtained, the maximum similarity in the target similarity list is obtained as the final similarity, and the target component is classified into a preset category corresponding to the final similarity, thereby realizing classification of the target component based on the preset classification list. The present invention realizes classification of the target component through the similarity between the target component and the preset category component.

[0064] Embodiment 2

[0065] Embodiment 2 of the present invention provides a marking device for P3D files, such as Figure 4 As shown, the device comprises:

[0066] The target component information list acquisition module 10 is used to obtain an initial component category information list of a target P3D file and an initial component attribute information list corresponding to the initial component category information list, wherein the initial component category information list includes several target component category information of the target P3D file, and the initial component attribute information list includes several target component attribute information of the target P3D file, each initial component category information uniquely corresponds to one initial component attribute information, and the initial component attribute information at least includes a target component ID and a size parameter.

[0067] The target component category list set acquisition module 20 is used to read the target components in the target P3D file, and classify them according to the initial component category information list to obtain a target component category list set, wherein the target component category list set includes a plurality of target component category lists, and the target component category list includes a plurality of target component IDs of the same category.

[0068] The target component position information list set acquisition module 30 is used to acquire a target component position information list set based on the target component information list, wherein the target component position information list set includes a plurality of target component position information lists, the target component position information lists include position information of a plurality of target component IDs of the same category, and the target component position information lists correspond to the target component category lists, and the position information of the target component ID is a preset insertion point of the target component.

[0069] The intermediate annotation P3D file acquisition module 40 is used to annotate the target components included in the target component category list corresponding to the target component position information list based on the target component position information list and the initial component attribute information, and acquire the intermediate annotation P3D file.

[0070] The text annotation box information list acquisition module 50 is used to acquire the text annotation box information list of the intermediate annotation P3D file, wherein the text annotation box information list includes a plurality of text annotation box information.

[0071] The final annotation P3D file acquisition module 60 is used to adjust the position of a text annotation frame if there is overlap between a text annotation frame and other text annotation frames based on the text annotation frame information list, and use the intermediate annotation P3D file after the text annotation frame position is adjusted as the final annotation P3D file. Specifically, if the axis-aligned bounding box of a text annotation frame overlaps with the axis-aligned bounding box of other text annotation frames, it is determined that the text annotation frame overlaps with other text annotation frames.

[0072] The final annotated P3D file acquisition module 60 further includes an offset submodule, which is used to calculate the overlap range according to the axis-aligned bounding box of the text annotation box if a text annotation box overlaps with other text annotation boxes, and offset the text annotation box according to the overlap range and the insertion point of the text annotation box.

[0073] Specifically, Figure 5 As shown, the target component category list set acquisition module 20 further includes the following submodules:

[0074] The preset category list acquisition module 21 is used to obtain a preset category list and a preset annotation information list corresponding to the preset category list, wherein the preset category list includes several preset categories, the preset annotation information list includes several preset annotation information, and each preset category uniquely corresponds to one preset annotation information.

[0075] The target similarity list acquisition submodule 22 is used to acquire a target similarity list, wherein the target similarity list includes target similarities of a target component and several preset category components, wherein the preset category components are components corresponding to preset categories.

[0076] The final similarity acquisition submodule 23 is used to obtain the maximum similarity in the target similarity list as the final similarity, and classify the target component into a preset category corresponding to the final similarity, thereby classifying the target component based on the preset classification list.

[0077] Specifically, Figure 6 As shown, the target similarity list acquisition submodule 22 further includes the following subunits:

[0078] The target three-view image acquisition subunit 221 is used to acquire a target front view, a target top view and a target side view of a target component.

[0079] The preset three-view image acquisition subunit 222 is used to acquire a preset front view, a preset top view and a preset side view of a preset category component.

[0080] The first similarity acquisition subunit 223 is used to acquire a first similarity based on the target main view of the target component and the preset main view of the component of the preset category.

[0081] The second similarity obtaining subunit 224 is used to obtain a second similarity based on the target top view of the target component and the preset top view of the component of the preset category.

[0082] The third similarity acquisition subunit 225 is used to acquire a third similarity based on the target side view of the target component and the preset side view of the component of the preset category.

[0083] The target similarity acquisition subunit 226 is used to acquire the target similarity based on the first similarity, the second similarity and the third similarity.

[0084] Embodiment 3

[0085] Embodiment 3 of the present invention provides a non-transitory computer-readable storage medium, wherein at least one instruction or at least one program is stored in the non-transitory computer-readable storage medium, and the at least one instruction or at least one program is loaded and executed by a processor to implement the steps:

[0086] S100, obtaining an initial component category information list of a target P3D file and an initial component attribute information list corresponding to the initial component category information list, wherein the initial component category information list includes several target component category information of the target P3D file, the initial component attribute information list includes several target component attribute information of the target P3D file, each initial component category information uniquely corresponds to one initial component attribute information, and the initial component attribute information at least includes a target component ID and size parameters.

[0087] S200, reading the target components in the target P3D file, and classifying them according to the initial component category information list to obtain a target component category list set, wherein the target component category list set includes a plurality of target component category lists, and the target component category list includes a plurality of target component IDs of the same category.

[0088] S300, based on the target component information list, obtaining a target component location information list set, wherein the target component location information list set includes a plurality of target component location information lists, the target component location information lists include a plurality of target component location information; the target component location information is location information corresponding to the target component ID.

[0089] S400, based on the target component position information list and the initial component attribute information, annotate the target components included in the target component category list corresponding to the target component position information list to obtain an intermediate annotated P3D file.

[0090] S500, obtaining a text annotation box information list of an intermediate annotation P3D file, wherein the text annotation box information list includes a plurality of text annotation box information.

[0091] S600, based on the text annotation box information list, if a text annotation box overlaps with other text annotation boxes, adjust the position of the text annotation box, and use the P3D file with the adjusted text annotation box positions as the final annotation P3D file.

[0092] Embodiment 4

[0093] An embodiment of the present invention further provides an electronic device, comprising a processor and the aforementioned non-transitory computer-readable storage medium.

[0094] Although some specific embodiments of the present invention have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are only for illustration, not for limiting the scope of the present invention. It should also be understood by those skilled in the art that various modifications may be made to the embodiments without departing from the scope and spirit of the present invention.

Claims

1. A marking method for P3D files, characterized in that: The method comprises the following steps: Acquire an initial component category information list of a target P3D file and an initial component attribute information list corresponding to the initial component category information list, wherein the initial component category information list includes a plurality of target component category information of the target P3D file, the initial component attribute information list includes a plurality of target component attribute information of the target P3D file, each initial component category information uniquely corresponds to one initial component attribute information, and the initial component attribute information at least includes a target component ID and a size parameter; Reading the target components in the target P3D file, and classifying them according to the initial component category information list, to obtain a target component category list set, wherein the target component category list set includes a plurality of target component category lists, and the target component category list includes a plurality of target component IDs of the same category; Based on the target component information list, a target component position information list set is obtained, wherein the target component position information list set includes a plurality of target component position information lists, the target component position information lists include position information of a plurality of target component IDs of the same category, and the target component position information lists correspond to the target component category lists, and the position information of the target component ID is a preset insertion point of the target component; Based on the target component position information list and the initial component attribute information, the target components included in the target component category list corresponding to the target component position information list are annotated to obtain an intermediate annotated P3D file; Obtaining a text annotation box information list of the intermediate annotation P3D file, wherein the text annotation box information list includes a plurality of text annotation box information; Based on the text annotation box information list, if a text annotation box overlaps with other text annotation boxes, the position of the text annotation box is adjusted, and the intermediate annotation P3D file after the position of the text annotation box is adjusted is used as the final annotation P3D file; The target component category information is obtained through the following steps: Obtaining a preset category list, wherein the preset category list includes a plurality of preset categories; Obtaining a target similarity list, wherein the target similarity list includes target similarities between a target component and a plurality of preset category components, wherein the preset category components are components corresponding to a preset category; Obtaining the maximum similarity in the target similarity list as the final similarity, and obtaining target component category information based on preset annotation information of the preset category corresponding to the final similarity; The target similarity between the target component and the preset category component is obtained through the following steps: Obtaining a target front view, a target top view, and a target side view of a target component; Obtaining a preset front view, a preset top view, and a preset side view of a component of a preset category; Based on the target main view of the target component and the preset main view of the component of the preset category, obtaining a first similarity; Acquire a second similarity based on the target top view of the target component and the preset top view of the component of the preset category; Acquire a third similarity based on the target side view of the target component and the preset side view of the component of the preset category; Based on the first similarity, the second similarity, and the third similarity, a target similarity is obtained.

2. The marking method for P3D files according to claim 1, characterized in that: The text annotation box information is information of the axis-aligned bounding box of the annotated text part.

3. The marking method for P3D files according to claim 2, characterized in that: If the axis-aligned bounding box of a text label frame overlaps with the axis-aligned bounding box of another text label frame, it is determined that the text label frame overlaps with the other text label frame.

4. The marking method for P3D files according to claim 1, characterized in that: Based on the target component location information list and the initial component attribute information, the target components included in the target component category list corresponding to the target component location information list are marked, further comprising: The initial component attribute information is displayed to the target user, and the initial component attribute information selected by the target user is obtained. Based on the target component location information list and the initial component attribute information selected by the target user, the target components included in the target component category list corresponding to the target component location information list are marked.

5. The marking method for P3D files according to claim 1, characterized in that: The target component ID is a unique identifier of the target component.

6. A marking device for P3D files, characterized in that: The device comprises: A target component information list acquisition module is used to acquire an initial component category information list of a target P3D file and an initial component attribute information list corresponding to the initial component category information list, wherein the initial component category information list includes several target component category information of the target P3D file, the initial component attribute information list includes several target component attribute information of the target P3D file, each initial component category information uniquely corresponds to one initial component attribute information, and the initial component attribute information at least includes a target component ID and a size parameter; A target component category list set acquisition module is used to read the target components in the target P3D file, and classify them according to the initial component category information list to obtain a target component category list set, wherein the target component category list set includes a plurality of target component category lists, and the target component category list includes a plurality of target component IDs of the same category; A target component position information list set acquisition module is used to acquire a target component position information list set based on a target component information list, wherein the target component position information list set includes a plurality of target component position information lists, the target component position information lists include position information of a plurality of target component IDs of the same category, and the target component position information lists correspond to the target component category lists, and the position information of the target component ID is a preset insertion point of the target component; The intermediate annotation P3D file acquisition module is used to annotate the target components included in the target component category list corresponding to the target component position information list based on the target component position information list and the initial component attribute information, and acquire the intermediate annotation P3D file; A text annotation box information list acquisition module is used to acquire a text annotation box information list of an intermediate annotation P3D file, wherein the text annotation box information list includes a plurality of text annotation box information; The final annotation P3D file acquisition module is used to adjust the position of a text annotation frame if there is overlap between a text annotation frame and other text annotation frames based on the text annotation frame information list, and use the intermediate annotation P3D file after the text annotation frame position is adjusted as the final annotation P3D file; Among them, the target component category list set acquisition module also includes the following sub-modules: A preset category list acquisition module, used to acquire a preset category list and a preset annotation information list corresponding to the preset category list, wherein the preset category list includes a plurality of preset categories, the preset annotation information list includes a plurality of preset annotation information, and each preset category uniquely corresponds to one preset annotation information; A target similarity list acquisition submodule is used to acquire a target similarity list, wherein the target similarity list includes target similarities of a target component and a plurality of preset category components, wherein the preset category components are components corresponding to a preset category; The final similarity acquisition submodule is used to obtain the maximum similarity in the target similarity list as the final similarity, and classify the target component into a preset category corresponding to the final similarity, thereby classifying the target component based on the preset classification list; Among them, the target similarity list acquisition submodule also includes the following subunits: A target three-view acquisition subunit is used to acquire a target front view, a target top view and a target side view of a target component; A preset three-view acquisition subunit is used to acquire a preset front view, a preset top view and a preset side view of a preset category component; A first similarity acquisition subunit is used to acquire a first similarity based on a target main view of a target component and a preset main view of a component of a preset category; A second similarity acquisition subunit is used to acquire a second similarity based on a target top view of a target component and a preset top view of a component of a preset category; A third similarity acquisition subunit, configured to acquire a third similarity based on a target side view of the target component and a preset side view of a component of a preset category; The target similarity acquisition subunit is used to acquire the target similarity based on the first similarity, the second similarity and the third similarity.

7. A non-transitory computer-readable storage medium, wherein at least one instruction or at least one program is stored in the storage medium, characterized in that: The at least one instruction or the at least one program is loaded and executed by the processor to implement the marking method for P3D files as described in any one of claims 1-5.

8. An electronic device, characterized in that: Includes a processor and the non-transitory computer-readable storage medium of claim 7.