Data processing method and device, electronic equipment and computer readable storage medium

By marshalling the point cloud data to be processed and processing according to the processing logic selected by the user, the problems of poor data correlation and unstable processing results in the prior art are solved, and more efficient data processing effects are achieved.

CN119810377APending Publication Date: 2025-04-11SHENZHEN JIMUYIDA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411801328.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

When processing the scanned point cloud data, it is difficult to confirm the relationship between the new data and the data before processing, and it is easy to mistakenly process the data that needs to be processed together, resulting in large differences in processing results and poor processing effects.

Method used

By obtaining the pending point cloud data and marshaling it when the marshaling condition is met, the marshaling data is then processed according to the target processing logic selected by the user. The marshalling conditions include multiple sets of multi-frame point cloud data. The marshalling method includes generating a marshalling name as the root node and marshalling each set of data as child nodes.

Benefits of technology

It improves the correlation between data, ensures that the relationship between new data and the data before processing is clear, avoids misprocessing, reduces the difference between processing results, and improves the data processing effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119810377A_ABST
    Figure CN119810377A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a data processing method and device, electronic equipment and a computer readable storage medium, and relates to the technical field of data processing. Obtaining to-be-processed point cloud data; under the condition that the to-be-processed point cloud data meets a marshalling condition, marshalling the to-be-processed point cloud data; and processing the grouped to-be-processed point cloud data according to the target processing logic selected by the user. Therefore, the point cloud data with the same processing logic can be grouped together, so that the relevance between the data can be improved, the relationship between the new data and the data before processing can be determined according to the grouping after processing, the data needing to be processed together cannot be independently processed, the difference between processing results can be reduced, and the processing efficiency can be improved. And the data processing effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a data processing method, device, electronic device and computer-readable storage medium. Background Art

[0002] Currently, scanners often cannot scan the entire object at once. Therefore, in order to enrich the scanning details, an object needs to be scanned multiple times at multiple angles, and then the point cloud data obtained from the scan is processed to obtain complete data corresponding to the object.

[0003] However, in the prior art, the point cloud data obtained by scanning is often directly processed accordingly. However, since there is a large amount of point cloud data and the data are relatively messy and scattered, after the data is processed, it is often impossible to confirm the relationship between the new data and the data before processing, and it is easy to mistakenly process the data that need to be processed together separately, resulting in large differences in processing results and poor processing effects. Summary of the invention

[0004] In view of this, the purpose of the present application is to provide a data processing method, device, electronic device and computer-readable storage medium to improve the correlation between data and the data processing effect.

[0005] In order to achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:

[0006] In a first aspect, the present invention provides a data processing method, the method comprising:

[0007] Obtain point cloud data to be processed;

[0008] When the point cloud data to be processed meets the grouping condition, grouping the point cloud data to be processed;

[0009] The grouped point cloud data to be processed is processed according to the target processing logic selected by the user.

[0010] In an optional implementation manner, the obtaining of the point cloud data to be processed includes:

[0011] Acquire multiple sets of point cloud data obtained by the user after scanning the object to be scanned at multiple angles;

[0012] In response to a selection operation by the user, the point cloud data selected by the user is determined as the point cloud data to be processed.

[0013] In an optional embodiment, the method further comprises:

[0014] If the point cloud data to be processed is a plurality of groups, and each group is a plurality of frames of point cloud data, it is determined that the point cloud data to be processed meets the grouping condition.

[0015] In an optional implementation, the grouping of the to-be-processed point cloud data includes:

[0016] Generate a group name corresponding to the point cloud data to be processed, take the group name as a root node, take each group of the point cloud data to be processed as a child node, and group the point cloud data to be processed.

[0017] In an optional embodiment, the method further comprises:

[0018] If the point cloud data to be processed is a plurality of groups and the point cloud data to be processed includes single-frame point cloud data and / or grid data, it is determined that the point cloud data to be processed does not meet the grouping condition and an alarm message is returned;

[0019] If the point cloud data to be processed is a single group of point cloud data, it is determined that the point cloud data to be processed does not meet the grouping condition, and it is determined whether to process the point cloud data to be processed according to the target processing logic.

[0020] In an optional implementation, determining whether to process the to-be-processed point cloud data according to the target processing logic includes:

[0021] If the target processing logic is alignment processing, generating a warning message;

[0022] If the target processing logic is analysis processing, the point cloud data to be processed is processed according to the target processing logic.

[0023] In a second aspect, the present invention provides a data processing device, the device comprising:

[0024] An acquisition module is used to acquire point cloud data to be processed;

[0025] A grouping module, used for grouping the point cloud data to be processed if the point cloud data to be processed meets a grouping condition;

[0026] The processing module is used to process the grouped point cloud data to be processed according to the target processing logic selected by the user.

[0027] In an optional embodiment, the acquisition module is further used to acquire multiple groups of point cloud data obtained after the user performs multi-angle scanning on the object to be scanned; in response to the user's selection operation, the target point cloud data selected by the user is determined as the point cloud data to be processed.

[0028] In a third aspect, the present invention provides an electronic device, comprising a processor and a memory, wherein the memory stores a computer program executable by the processor, and the processor can execute the computer program to implement any of the methods described in the aforementioned embodiments.

[0029] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method described in any one of the aforementioned embodiments.

[0030] The data processing method, device, electronic device and computer-readable storage medium provided in the embodiments of the present application can group the point cloud data to be processed when it is determined that the point cloud data to be processed meets the grouping conditions, and then process the grouped point cloud data to be processed according to the target processing logic selected by the user. In this way, the point cloud data with the same processing logic can be grouped together, thereby improving the correlation between the data. After processing, the relationship between the new data and the data before processing can be determined according to the grouping, and it can be ensured that the data that need to be processed together will not be processed separately, thereby reducing the difference between the processing results and improving the data processing effect.

[0031] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0033] Figure 1 A block diagram of an electronic device provided by an embodiment of the present application is shown;

[0034] Figure 2 A schematic diagram of a process flow of a data processing method provided in an embodiment of the present application is shown;

[0035] Figure 3 Another schematic diagram of a data processing method according to an embodiment of the present invention is shown;

[0036] Figure 4 A functional module diagram of a data processing device provided in an embodiment of the present application is shown.

[0037] Icon: 100 - memory; 110 - processor; 120 - communication module; 200 - acquisition module; 210 - grouping module; 220 - processing module. DETAILED DESCRIPTION

[0038] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.

[0039] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0040] It should be noted that relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0041] Figure 1 For a block diagram of an electronic device provided in an embodiment of the present application, see Figure 1 The electronic device includes a memory 100, a processor 110 and a communication module 120. The memory 100, the processor 110 and the communication module 120 are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines.

[0042] The memory 100 is used to store computer programs or data that can be executed by the processor. The memory 100 can be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc.

[0043] The processor 110 is used to read / write data or computer programs stored in the memory, and execute the computer program to implement the data processing method provided in the embodiment of the present application.

[0044] The communication module 120 is used to establish a communication connection between the electronic device and other communication terminals through a network, and to send and receive data through the network.

[0045] It should be understood that Figure 1 The structure shown is only a schematic diagram of the structure of the electronic device. The electronic device may also include Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown. Figure 1 Each component shown in the figure can be implemented by hardware, software or a combination thereof.

[0046] Next, Figure 1 The electronic device in the embodiment is the execution subject, and the data processing method provided in the embodiment of the present application is exemplarily introduced in combination with the flow chart.

[0047] Specifically, Figure 2 A flow chart of a data processing method provided in the embodiment of the present application is shown in Figure 2 , the method comprising:

[0048] Step S20, obtaining the point cloud data to be processed.

[0049] Step S21, when the point cloud data to be processed meets the grouping condition, the point cloud data to be processed is grouped.

[0050] Optionally, the point cloud data to be processed refers to point cloud data that requires relevant data processing.

[0051] It can be understood that grouping the point cloud data to be processed refers to associating the point cloud data to be processed to form a group of point cloud data objects.

[0052] Step S22: Process the grouped point cloud data to be processed according to the target processing logic selected by the user.

[0053] Optionally, a data processing interface may be provided in the electronic device, and the user may select a target processing logic through the data processing interface, and the electronic device may process the grouped point cloud data to be processed based on the target processing logic selected by the user.

[0054] It can be understood that, since the point cloud data to be processed have been grouped at this time, the electronic device can actually process a group of point cloud data objects formed after grouping as a whole.

[0055] The data processing method provided in the embodiment of the present application can group the point cloud data to be processed when it is determined that the point cloud data to be processed meets the grouping conditions, and then process the grouped point cloud data to be processed according to the target processing logic selected by the user. In this way, the point cloud data with the same processing logic can be grouped together, thereby improving the correlation between the data. After processing, the relationship between the new data and the data before processing can be determined based on the grouping, and it can be ensured that the data that need to be processed together will not be processed separately, thereby reducing the difference between the processing results and improving the data processing effect.

[0056] Optionally, the electronic device can first obtain multiple sets of point cloud data obtained by the user after performing multi-angle scanning on the object to be scanned, and the user can make a selection based on the displayed point cloud data. The electronic device can respond to the user's selection operation and determine the target point cloud data selected by the user as the point cloud data to be processed.

[0057] Optionally, a scanning device such as a 3D scanner device may be used to perform multiple scans at multiple angles on the object to be scanned, thereby obtaining multiple sets of point cloud data.

[0058] It can be understood that each scan can obtain a set of point cloud data, and a set of point cloud data includes multiple point cloud data.

[0059] In this embodiment, the user may first obtain multiple sets of point cloud data by scanning with a 3D scanning device, and then upload the multiple sets of point cloud data to an electronic device.

[0060] Optionally, the display status of the point cloud data in the data processing interface may include two types, namely display and hide. To facilitate user selection, the electronic device may set the display status of the obtained multiple sets of point cloud data to "display". In this case, the user can select the point cloud data to be processed.

[0061] Optionally, the user's selection operation refers to selection of point cloud data to be processed and selection of target processing logic.

[0062] In one possible implementation, the user may select at least one group from multiple groups of point cloud data as the point cloud data to be processed, and then click on the corresponding processing component. At this time, the point cloud data to be processed is the point cloud data selected by the user.

[0063] In another possible implementation, the user may directly click on the corresponding processing component, and in this case it may be assumed that the user has selected all the point cloud data as the point cloud data to be processed.

[0064] Optionally, after acquiring the point cloud data to be processed, the electronic device may determine whether the point cloud data to be processed meets the grouping condition before processing.

[0065] Specifically, in Figure 2 On the basis of Figure 3 For another flow chart of the data processing method provided in the embodiment of the present application, please refer to Figure 3 , the method further comprises:

[0066] In step S10, if the point cloud data to be processed is a plurality of groups, and each group is a plurality of frames of point cloud data, the electronic device may determine that the point cloud data to be processed meets the grouping condition.

[0067] In this embodiment, if the point cloud data to be processed meets the grouping condition, the point cloud data to be processed may be grouped.

[0068] In a possible implementation manner, the grouped point cloud data to be processed may be in a tree structure.

[0069] Specifically, the electronic device may generate a grouping name corresponding to the point cloud data to be processed, use the grouping name as a root node, and use each group of point cloud data to be processed as a child node to group the point cloud data to be processed.

[0070] Optionally, the electronic device can generate a grouping name for the point cloud data to be processed according to a preset grouping name generation logic, such as randomly generating a string, etc., or can also generate a grouping name for the point cloud data to be processed according to a target processing logic, such as an alignment grouping.

[0071] It is understandable that in actual applications, sometimes there may be errors in data processing, such as mistakenly moving data after alignment. If the existing technology is used, it may cause the alignment effect corresponding to this part of the data to be lost, and it is impossible to determine which source data corresponds to this part of the data, making it difficult to re-operate.

[0072] On this basis, in the data processing method provided in the embodiment of the present application, the grouping name can be used as identification information to associate the new data obtained after processing with the data before processing. In this case, the data is relatively neat, and the correspondence between the data before and after processing can be directly determined based on the grouping name. Moreover, since multiple groups of point cloud data become a whole after grouping, there will be no erroneous operation on part of the point cloud data, thereby improving the effect of data processing.

[0073] It can be understood that after the data to be processed are grouped, the electronic device can perform relevant processing on the grouped point cloud data to be processed.

[0074] In a possible implementation, the target processing logic may include alignment processing and analysis processing. Alignment processing refers to the fusion of feature points of each group of data to be processed, that is, generating a group of point cloud data by fusion of feature points of multiple groups of point cloud data; analysis processing refers to the functional analysis of the data to be processed, such as initialization processing, patching vulnerabilities, etc.

[0075] It should be noted that if the data to be processed are first aligned and then analyzed, it is only necessary to group the data to be processed before the alignment.

[0076] Optionally, considering that there may be a situation where the point cloud data needs to be returned to the original data for re-operation after the operation is performed, the data processing effect can be undone by undoing the grouping, thereby restoring the original point cloud data.

[0077] In this embodiment, the point cloud data to be processed does not meet the grouping conditions and may include two situations, namely, the point cloud data to be processed is multiple groups and the point cloud data to be processed includes single-frame point cloud data and / or grid data, and the point cloud data to be processed is a single group of point cloud data, but there are some differences in the processing methods of the electronic device in these two situations.

[0078] Specifically, if the point cloud data to be processed is multiple groups and the point cloud data to be processed includes single-frame point cloud data and / or grid data, the electronic device can determine that the point cloud data to be processed does not meet the grouping conditions and return an alarm message. If the point cloud data to be processed is a single group of point cloud data, the electronic device can determine that the point cloud data to be processed does not meet the grouping conditions and determine whether to process the point cloud data to be processed according to the target processing logic.

[0079] Optionally, the data obtained after scanning by the scanning device is multi-frame point cloud data. After the multi-frame point cloud data is denoised, single-frame point cloud data can be generated. Furthermore, after operations such as fusion, removal of isolated items, patching of loopholes, simplification, etc., grid data will be generated. Therefore, if the point cloud data to be processed includes single-frame point cloud data or grid data, it means that these point cloud data have undergone a certain processing. If you continue to participate in this processing, an error may occur. Therefore, an alarm message can be returned to prompt the user to reselect the data to be processed.

[0080] Optionally, for the case of a single set of point cloud data, the next processing method needs to be determined in combination with the target processing logic. Specifically, since the alignment process requires feature fusion of multiple sets of point cloud data, if the point cloud data to be processed is a single set of point cloud data and the target processing logic is alignment processing, relevant operations cannot be performed on the single set of point cloud data, so an alarm message can be generated to prompt the user to reselect the data to be processed.

[0081] Optionally, since the analysis and processing can also be performed on a single set of point cloud data, if the target processing logic is analysis and processing, the electronic device can directly process the point cloud data to be processed according to the target processing logic. In order to execute the corresponding steps in the above embodiments and various possible methods, a data processing device is provided below. Optionally, the data processing device can adopt the above Figure 1 For further information, please refer to Figure 4 , Figure 4 This is a functional module diagram of a data processing device provided in an embodiment of the present application. It should be noted that the basic principle and technical effects of the data processing device provided in this embodiment are the same as those of the above embodiments. For the sake of brief description, for parts not mentioned in this embodiment, reference can be made to the corresponding contents in the above embodiments. The data processing device includes: an acquisition module 200, a grouping module 210, and a processing module 220.

[0082] The acquisition module 200 is used to acquire the point cloud data to be processed.

[0083] It can be understood that the acquisition module 200 can also be used to execute the above step S20.

[0084] The grouping module 210 is used to group the point cloud data to be processed when the point cloud data to be processed meets the grouping condition.

[0085] It can be understood that the grouping module 210 can also be used to execute the above step S21.

[0086] The processing module 220 is used to process the grouped point cloud data to be processed according to the target processing logic selected by the user.

[0087] It can be understood that the processing module 220 can also be used to execute the above step S22.

[0088] Optionally, the acquisition module 200 is further used to acquire multiple groups of point cloud data obtained after the user performs multi-angle scanning on the object to be scanned; in response to the user's selection operation, determine the target point cloud data selected by the user as the point cloud data to be processed.

[0089] Optionally, the grouping module 210 is further used to determine whether the point cloud data to be processed meets the grouping condition if there are multiple groups of point cloud data to be processed, and each group is multi-frame point cloud data.

[0090] It can be understood that the grouping module 210 can also be used to execute the above step S10.

[0091] Optionally, the grouping module 210 is further used to generate a grouping name corresponding to the point cloud data to be processed, and to group the point cloud data to be processed by taking the grouping name as a root node and each group of the point cloud data to be processed as a child node.

[0092] Optionally, the grouping module 210 is also used to determine that the point cloud data to be processed does not meet the grouping conditions and return an alarm message if the point cloud data to be processed is multiple groups and the point cloud data to be processed includes single-frame point cloud data and / or grid data; if the point cloud data to be processed is a single group of point cloud data, determine that the point cloud data to be processed does not meet the grouping conditions, and determine whether to process the point cloud data to be processed according to the target processing logic.

[0093] Optionally, the grouping module 210 is further used to generate an alarm message if the target processing logic is alignment processing; if the target processing logic is analysis processing, process the point cloud data to be processed according to the target processing logic.

[0094] Optionally, the above modules can be stored in the form of software or firmware. Figure 1 The memory shown in the figure or solidified in the operating system (OS) of the electronic device, and can be Figure 1 Meanwhile, the data and program codes required for executing the above modules can be stored in the memory.

[0095] An embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the data processing method provided by the embodiment of the present application is implemented.

[0096] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and a part of the module, program segment or code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0097] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0098] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, electronic device, or network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0099] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A data processing method, characterized in that: The method comprises: Obtain point cloud data to be processed; When the point cloud data to be processed meets the grouping condition, grouping the point cloud data to be processed; The grouped point cloud data to be processed is processed according to the target processing logic selected by the user.

2. The method according to claim 1, characterized in that The step of obtaining the point cloud data to be processed includes: Acquire multiple sets of point cloud data obtained by the user after scanning the object to be scanned at multiple angles; In response to a selection operation by the user, the point cloud data selected by the user is determined as the point cloud data to be processed.

3. The method according to claim 1, characterized in that The method further comprises: If the point cloud data to be processed is a plurality of groups, and each group is a plurality of frames of point cloud data, it is determined that the point cloud data to be processed meets the grouping condition.

4. The method according to claim 3, characterized in that: The grouping of the to-be-processed point cloud data comprises: Generate a group name corresponding to the point cloud data to be processed, take the group name as a root node, take each group of the point cloud data to be processed as a child node, and group the point cloud data to be processed.

5. The method according to claim 1, characterized in that The method further comprises: If the point cloud data to be processed is a plurality of groups and the point cloud data to be processed includes single-frame point cloud data and / or grid data, it is determined that the point cloud data to be processed does not meet the grouping condition and an alarm message is returned; If the point cloud data to be processed is a single group of point cloud data, it is determined that the point cloud data to be processed does not meet the grouping condition, and it is determined whether to process the point cloud data to be processed according to the target processing logic.

6. The method according to claim 5, characterized in that The determining whether to process the to-be-processed point cloud data according to the target processing logic includes: If the target processing logic is alignment processing, generating a warning message; If the target processing logic is analysis processing, the point cloud data to be processed is processed according to the target processing logic.

7. A data processing device, characterized in that: The device comprises: An acquisition module is used to acquire point cloud data to be processed; A grouping module, used for grouping the point cloud data to be processed if the point cloud data to be processed meets a grouping condition; The processing module is used to process the grouped point cloud data to be processed according to the target processing logic selected by the user.

8. The device according to claim 7, characterized in that The acquisition module is also used to acquire multiple groups of point cloud data obtained after the user performs multi-angle scanning on the object to be scanned; in response to the user's selection operation, determine the target point cloud data selected by the user as the point cloud data to be processed.

9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a computer program executable by the processor, and the processor can execute the computer program to implement any one of the methods described in claims 1-6.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.