Multi-device cooperative positioning method, apparatus and device, and storage medium

Through the feature point statistical information and key frame matching of the device's own sensor and point cloud map, the coordinate system transformation between multiple devices without external device assistance is realized, which solves the robustness and usability problems of multi-device collaborative positioning in virtual reality and ensures Accurate positioning between multiple devices.

CN118533167APending Publication Date: 2024-08-23BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310188070.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-22
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

In virtual reality scenarios, the lack of external auxiliary equipment or three-dimensional spatial maps when multi-device co-positioning results in poor robustness of co-positioning and limits the usability and universality of multi-device co-positioning.

Method used

Through each device's own positioning sensor and point cloud map, feature point statistical information and key frames are used to determine the coordinate system transformation relationship, realize coordinate system transformation between multiple devices without the assistance of external devices, and build a shared network for positioning data exchange to ensure successful co-location among multiple devices.

Benefits of technology

It improves the success rate and availability of multi-device collaborative positioning, improves robustness, ensures accurate positioning between multiple devices in any scenario, and avoids the limitations of external device dependence.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118533167A
    Figure CN118533167A
Patent Text Reader

Abstract

The embodiment of the invention provides a multi-device cooperative positioning method and device, equipment and a storage medium. The method comprises the following steps: determining first feature point statistical information corresponding to a first point cloud map of a local device and second feature point statistical information corresponding to a second point cloud map of at least one associated device of the local device; according to the first feature point statistical information and the second feature point statistical information, determining an initial coordinate system transformation relationship between the local device and the associated device; and determining a target coordinate system transformation relationship between the local device and the associated device according to the initial coordinate system transformation relationship, the first key frame of the local device and the second key frame of the associated device. According to the method and the device, coordinate system transformation of any two devices in multiple devices without peripheral assistance can be realized, so that the success rate of multi-device cooperative positioning in any scene is ensured, the limitation of multi-device cooperative positioning is avoided, and the availability and the universality of multi-device cooperative positioning are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of data processing technology, and in particular to a method, apparatus, device and storage medium for collaborative positioning of multiple devices. Background Art

[0002] In a virtual reality scenario, when multiple devices in the same virtual environment use their own sensor information for positioning, each device will maintain an independent reference coordinate system, so that each device will obtain positioning information in the reference coordinate system of the device. Then, when it is necessary to comprehensively utilize the positioning information of multiple devices, the positioning information of each device will be converted to a unified coordinate system to achieve collaborative positioning among multiple devices.

[0003] Usually, an additional base station or a three-dimensional space map can be established to use the base station coordinate system or the map coordinate system as a unified coordinate system. Then, the coordinate system transformation relationship between the reference coordinate system of each device and the unified coordinate system is used to achieve collaborative positioning among multiple devices.

[0004] However, multiple devices may be collaboratively positioned in an unknown environment, and there are no conditions for setting up additional base stations or establishing three-dimensional space maps, which limits the available scenarios of multi-device collaborative positioning and makes the robustness of multi-device collaborative positioning poor. Summary of the invention

[0005] The embodiments of the present application provide a method, apparatus, device and storage medium for collaborative positioning of multiple devices, which can realize the coordinate system transformation of any two devices among multiple devices without the assistance of external devices, ensure the success rate of collaborative positioning of multiple devices, and improve the availability and universality of collaborative positioning of multiple devices.

[0006] In a first aspect, an embodiment of the present application provides a method for collaborative positioning of multiple devices, which is applied to each device in the multiple devices, and the method includes:

[0007] Determine first feature point statistical information corresponding to a first point cloud map of a local device and second feature point statistical information corresponding to a second point cloud map of at least one associated device of the local device;

[0008] Determine an initial coordinate system transformation relationship between the local device and the associated device according to the first feature point statistical information and the second feature point statistical information;

[0009] A target coordinate system transformation relationship between the local device and the associated device is determined according to the initial coordinate system transformation relationship, the first key frame of the local device and the second key frame of the associated device.

[0010] In a second aspect, an embodiment of the present application provides a device for co-locating multiple devices, which is configured in each of the multiple devices, and includes:

[0011] A feature point statistics module, used to determine first feature point statistics information corresponding to a first point cloud map of a local device and second feature point statistics information corresponding to a second point cloud map of at least one associated device of the local device;

[0012] A first coordinate system transformation module, used for determining an initial coordinate system transformation relationship between the local device and the associated device according to the first feature point statistical information and the second feature point statistical information;

[0013] The second coordinate system transformation module is used to determine the target coordinate system transformation relationship between the local device and the associated device according to the initial coordinate system transformation relationship, the first key frame of the local device and the second key frame of the associated device.

[0014] In a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising:

[0015] A processor and a memory, the memory being used to store a computer program, and the processor being used to call and run the computer program stored in the memory to execute the method for collaborative positioning of multiple devices provided in the first aspect of the present application.

[0016] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium for storing a computer program, which enables a computer to execute the method for co-positioning of multiple devices as provided in the first aspect of the present application.

[0017] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program / instructions, which enable a computer to execute the method for co-location of multiple devices as provided in the first aspect of the present application.

[0018] Through the technical solution of the present application, for each device in the multiple devices, the initial coordinate system transformation relationship between the local device and the associated device can be determined based on the first feature point statistical information corresponding to the first point cloud map of the local device and the second feature point statistical information corresponding to the second point cloud map of at least one associated device of the local device. Then, based on the initial coordinate system transformation relationship, the first key frame of the local device and the second key frame of the associated device, the target coordinate system transformation relationship between the local device and the associated device is determined, thereby realizing the coordinate system transformation of any two devices in the multiple devices without the assistance of external devices, so as to ensure the success rate of multi-device collaborative positioning in any scenario, avoid the limitations of multi-device collaborative positioning, improve the availability and universality of multi-device collaborative positioning, and enhance the robustness of multi-device collaborative positioning. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0020] Figure 1 A flowchart of a method for co-locating multiple devices according to an embodiment of the present application;

[0021] Figure 2 A schematic diagram of a scenario architecture for collaborative positioning of multiple devices shown in an embodiment of the present application;

[0022] Figure 3 A flowchart of a method for counting feature points in a point cloud map of multiple devices shown in an embodiment of the present application;

[0023] Figure 4 A schematic diagram of the principle of a feature point counting process in a point cloud map of any device shown in an embodiment of the present application;

[0024] Figure 5 A flowchart of a method for determining a coordinate system transformation relationship between a local device and an associated device according to an embodiment of the present application;

[0025] Figure 6 A schematic diagram showing the principle of a two-dimensional grid layer of a local device and associated devices in various statistical dimensions according to an embodiment of the present application;

[0026] Figure 7 A principle block diagram of a multi-device collaborative positioning apparatus shown in an embodiment of the present application;

[0027] Figure 8 A schematic block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0028] 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. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0030] Considering that when multiple devices are collaboratively positioned, there may not be conditions for setting up additional base stations or establishing three-dimensional space maps, which will cause certain limitations on the available scenarios of multi-device collaborative positioning. Therefore, the embodiment of the present application designs a multi-device collaborative positioning solution without the assistance of external devices, which can realize the collaborative positioning of multiple devices in any scenario by utilizing network communication between multiple devices, thereby improving the availability and universality of multi-device collaborative positioning.

[0031] In this application, in order to achieve collaborative positioning among multiple devices, it can be determined that each of the multiple devices will have its own corresponding positioning sensor, such as a camera, an inertial measurement unit (IMU) sensor, a laser radar, etc., so that each device has self-positioning capabilities. Then, by building a shared network for multiple devices, the exchange of positioning data among multiple devices can be achieved, and sufficient positioning data support can be provided for the collaborative positioning among multiple devices.

[0032] Next, the specific technical solutions in this application are introduced:

[0033] Figure 1 A flowchart of a method for collaborative positioning of multiple devices is shown in an embodiment of the present application. The method can be executed by the apparatus for collaborative positioning of multiple devices provided in the present application, wherein the apparatus for collaborative positioning of multiple devices can be implemented by any software and / or hardware means. Exemplarily, the apparatus for collaborative positioning of multiple devices can be configured in each device among the multiple devices to set a coordinate system transformation relationship between any two devices among the multiple devices. Then, as the areas of multiple devices overlap in the same spatial environment, a complete coordinate system transformation relationship diagram can be formed between the multiple devices, thereby achieving collaborative positioning between multiple devices.

[0034] Among them, each device in the multiple devices includes but is not limited to tablet computers, mobile phones (such as foldable screen mobile phones, large screen mobile phones, etc.), wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices and other Internet of Things (IOT) devices with self-positioning capabilities. This application does not impose any restrictions on the specific type of each device in the multiple devices.

[0035] like Figure 1 As shown, the method may specifically include the following steps:

[0036] S110, determining first feature point statistical information corresponding to a first point cloud map of the local device and second feature point statistical information corresponding to a second point cloud map of at least one associated device of the local device.

[0037] In order to achieve collaborative positioning among multiple devices, it is first necessary to set a corresponding coordinate system transformation relationship among the multiple devices so as to accurately analyze the positioning information of each device under a unified coordinate system.

[0038] For multiple devices in the same space environment, each device will continuously move in the space environment to explore different areas in the space environment. Then, the environment areas explored by each two devices among the multiple devices may have a large amount of overlap, so that each spatial object in the overlapping area will have a consistent coordinate transformation relationship in the coordinate system of any two devices, so that the coordinate system transformation relationship between any two devices can be determined.

[0039] Therefore, in order to obtain the coordinate system transformation relationship between any two devices among multiple devices, the present application first needs to analyze the local environment map explored by each device in the same spatial environment.

[0040] In the present application, for each device in the multi-device, when moving in an unknown spatial environment, each device can be initialized for positioning to establish its own reference coordinate system. Then, the camera, IMU sensor and other related positioning units configured by each device are used to detect the surrounding environment image and device posture data of the device in the spatial environment in real time. Furthermore, based on the reference coordinate system of the device, the Simultaneous Localization and Mapping (SLAM) algorithm is used to analyze the surrounding environment image and device posture data detected by the device, and a point cloud map of the device can be constructed. Among them, the map coordinate system of the point cloud map of each device is the reference coordinate system of the device, and the point cloud map can include the local area that the device has explored in the spatial environment. Then, as each device continues to move in the spatial environment, the point cloud map of the device can be continuously improved, so that the point cloud maps between different devices will continue to produce a large number of regional overlaps.

[0041] In some implementations, the point cloud map of each device may be constructed in the following manner:

[0042] For each device among multiple devices, when the device just starts to move in an unknown spatial environment, there is no prior information about its own position in the spatial environment. Therefore, after establishing its own reference coordinate system, the device will first collect surrounding environment images and IMU data for a period of time. Then, by extracting corresponding feature points from a series of surrounding environment images within this period of time, and performing corresponding feature matching on the feature points in each consecutive adjacent surrounding environment image, the relative motion trajectory of the device within this period of time can be predicted.

[0043] Moreover, by analyzing the IMU data of the device during this period, the absolute position change of the device during this period can be known. Then, by combining the relative motion trajectory and absolute position change of the device during this period, a unified device motion optimization problem can be established. By solving this optimization problem, the device position, speed and three-dimensional sparse point cloud map of the local space involved in the motion in the reference coordinate system during this period can be obtained, thereby providing the initial position value for the continuous positioning and mapping of the device.

[0044] Then, in order to ensure the accuracy of the point cloud map of each device, after obtaining the initial posture value, this application can collect surrounding environment images and IMU data once every short interval to perform a continuous positioning and mapping cycle to continuously improve the three-dimensional sparse point cloud map of the device.

[0045] That is to say, every time each device collects a new IMU data, it can use the inertial navigation algorithm to analyze the device's posture at the previous moment and the IMU data to infer the device's latest posture. Moreover, every time each device collects a new surrounding environment image, it can extract each feature point in the new surrounding environment image, and match the feature point with the previous adjacent surrounding environment image and each feature point in the current three-dimensional sparse point cloud map, so as to calculate the posture of the device at the time of collection of the new surrounding environment image, so as to correct the posture calculated using the IMU data. Moreover, when new feature points continue to appear in the new surrounding environment image, the triangulation method can be used to solve the accurate position of the new feature point in the spatial environment, and add it to the current three-dimensional sparse point cloud map, so as to continuously improve the point cloud map of the device.

[0046] In the present application, each device in the multiple devices can be used as a local device to actively analyze the coordinate system transformation relationship between the local device and other devices. Then, the point cloud map of the local device can be the first point cloud map in the present application.

[0047] In order to accurately analyze the coordinate system transformation relationship between any two devices in multiple devices, it is first necessary to know the environmental point cloud transformation of the two devices when they move in the same space. In other words, for the local device, in addition to knowing the information of each feature point in the first point cloud map of the local device, it is also necessary to know the information of each feature point in the point cloud map of other devices.

[0048] Therefore, if Figure 2 As shown, the present application can build a shared network between multiple devices, and realize the point cloud data exchange between multiple devices through the shared network. However, since the point cloud map of each device is exchanged through the shared network, it will occupy a large network bandwidth, which is very likely to cause the failure of multi-device collaborative positioning in the case of low network bandwidth.

[0049] Then, in order to ensure the exchange of point cloud data between multiple devices in the case of low network bandwidth, for each device in the multiple devices, the present application can divide the point cloud map of the device into spatial regions. Then, the specific distribution of each feature point in the point cloud map of the device in each divided spatial region is counted to obtain the corresponding feature point statistical information. Among them, the feature point statistical information can indicate the distribution information of the feature points in each spatial region in different dimensions, such as the number of feature points, feature descriptors, etc.

[0050] At this time, by distributing and counting the feature points in the point cloud map of each device, the point cloud map can be compressed accordingly. Then, the feature point statistics corresponding to each device are exchanged through a shared network to analyze the degree of point cloud overlap between different devices without directly exchanging point cloud map data, thereby reducing the amount of data exchange and the communication bandwidth requirements of multiple devices on the shared network, so that point cloud data exchange between multiple devices can still be accurately and efficiently realized at low-speed network bandwidth.

[0051] Therefore, after constructing the first point cloud map of the local device, the first feature point statistical information corresponding to the first point cloud map of the local device can be determined in the above manner. The local device can send the first feature point statistical information to each other device in the multiple devices through the shared network. Moreover, the local device can also receive the feature point statistical information corresponding to the point cloud map of each other device sent by the other device through the shared network.

[0052] It can be seen from this that for each device among the multiple devices, the device can store the feature point statistical information corresponding to the point cloud map of each device through the local map database.

[0053] When multiple devices are moving in the same spatial environment, if the spatial area involved in the movement of the local device and a certain device does not overlap, then the same spatial objects will not exist in the point cloud maps of the two devices, and the coordinate system transformation relationship of the two devices cannot be known.

[0054] Therefore, for the local device, at least one other device that overlaps with the local device in the spatial environment can be selected from multiple devices as the associated device in this application. Moreover, the point cloud map of the associated device is used as the second point cloud map in this application. Furthermore, the first feature point statistical information corresponding to the first point cloud map of the local device and the second feature point statistical information corresponding to the second point cloud map of the associated device can be determined from the map database of the local device.

[0055] S120: Determine an initial coordinate system transformation relationship between the local device and the associated device according to the first feature point statistical information and the second feature point statistical information.

[0056] Since the first feature point statistical information can indicate the specific distribution of each feature point in the first point cloud map in each spatial area that has been divided in the first point cloud map, and the second feature point statistical information can indicate the specific distribution of each feature point in the second point cloud map in each spatial area that has been divided in the second point cloud map. Moreover, when any point cloud map in the first point cloud map and the second point cloud map divides each spatial area, the specific coordinate values ​​of the area vertices of each spatial area in the point cloud map can be determined. By interpolation, the specific coordinate values ​​of each interpolated spatial point in each spatial area in the point cloud map can also be determined.

[0057] Therefore, by performing similarity analysis on the feature point distribution information in any spatial area divided in the first point cloud map indicated in the first feature point statistical information, and the feature point distribution information in any spatial area divided in the second point cloud map indicated in the second feature point statistical information, two spatial areas with similar feature distribution can be determined from the spatial areas divided in the first point cloud map and the spatial areas divided in the second point cloud map, one of the spatial areas being a spatial area divided in the first point cloud map, and the other spatial area being a spatial area divided in the second point cloud map.

[0058] Then, according to the two spatial regions with similar feature distribution, the corresponding matching points can be determined from the other spatial region for each mesh vertex or spatial point in one of the spatial regions. Then, according to the specific coordinate values ​​of each mesh vertex or spatial point in one of the spatial regions and the specific coordinate values ​​of the matching points of the mesh vertex or spatial point, the corresponding coordinate transformation relationship can be determined as the initial coordinate system transformation relationship between the local device and the associated device.

[0059] The initial coordinate system transformation relationship can limit the position error of the same spatial object represented in the reference coordinate system of the local device and the associated device to a smaller error range.

[0060] S130, determining a target coordinate system transformation relationship between the local device and the associated device according to the initial coordinate system transformation relationship, the first key frame of the local device and the second key frame of the associated device.

[0061] In order to eliminate the coordinate transformation error existing in the initial coordinate system transformation relationship between the local device and the associated device, the present application can initiate a coordinate system correction request to the associated device through a shared network.

[0062] In the process of determining the initial coordinate system transformation relationship, the local device will continue to analyze whether there are two spatial regions with similar feature distribution between the local device and the associated device. Then, after obtaining the initial coordinate system transformation relationship, the spatial region where the local device and the associated device overlap in the spatial environment can be determined. Therefore, from the various surrounding environment images collected when the local device moves in the spatial environment, at least one surrounding environment image that can relatively completely capture the overlapping spatial region is selected as the first key frame of the local device.

[0063] Moreover, when a coordinate system correction request is initiated to an associated device through a shared network, the coordinate system correction request will also carry information about the spatial area where the local device and the associated device overlap. Then, when the associated device receives the coordinate system correction request sent by the local device, it can be known that the local device has obtained the initial coordinate system transformation relationship between the local device and the associated device, and the initial coordinate system transformation relationship needs to be corrected accordingly.

[0064] In order to ensure the correction accuracy of the coordinate system transformation relationship, the associated device can parse the coordinate system correction request sent by the local device to obtain the spatial area where the local device and the associated device overlap in the spatial environment. Then, the associated device can filter out at least one surrounding environment image that can relatively completely capture the overlapping spatial area from the various surrounding environment images that have been collected, as the second key frame of the associated device in this application. Then, the associated device can send the second key frame to the local device via a shared network.

[0065] Therefore, after receiving the second key frame of the associated device, the local device can learn that the first key frame of the local device and the second key frame of the associated device both contain the same object in the same spatial area in the spatial environment. Then, by extracting features from the first key frame and the second key frame, the key point features in the first key frame and the second key frame can be obtained respectively, so as to determine the key point matching between the first key frame and the second key frame. Among them, the two key points that match in the first key frame and the second key frame can represent the same object in the spatial environment. Therefore, according to the spatial coordinates of the two key points that match in the first key frame and the second key frame in their respective reference coordinate systems, the target coordinate system transformation relationship between the local device and the associated device can be determined, and the target coordinate system transformation relationship can eliminate the position transformation error existing in the initial coordinate system transformation relationship, and ensure the accuracy of the coordinate system transformation relationship between the local device and the associated device.

[0066] From the above content, it can be seen that each device in the multiple devices can accurately determine the target coordinate system transformation relationship between the device and at least one associated device in the multiple devices in the above manner. Then, the local device can obtain the target coordinate system transformation relationship between any two devices in the multiple devices through the shared network, and use this to determine the coordinate system transformation relationship diagram between the multiple devices to achieve collaborative positioning between the multiple devices.

[0067] That is to say, as each device in the multiple devices is constantly moving in the same spatial environment, the point cloud map of each device will also be continuously improved. As the point cloud map of each device is continuously improved relative to the spatial environment, the point cloud maps of multiple devices will produce a large number of overlapping areas, and the association relationship between multiple devices may have a certain association cycle, such as device 1 is associated with device 2, device 2 is associated with device 3, device 3 is associated with device 4, and so on. Therefore, after the local device obtains the target coordinate system transformation relationship between any two devices in the multiple devices through the shared network, it can associate the target coordinate system transformation relationships between the multiple devices according to the order association between the multiple devices, and form a coordinate system transformation relationship diagram between the multiple devices. Then, according to the coordinate system transformation relationship diagram, the spatial position obtained by self-positioning of any device in the multiple devices can be accurately converted to the reference coordinate system of another device, thereby realizing collaborative positioning between multiple devices.

[0068] The technical solution provided by the embodiment of the present application can determine the initial coordinate system transformation relationship between the local device and the associated device for each device in the multiple devices based on the first feature point statistical information corresponding to the first point cloud map of the local device and the second feature point statistical information corresponding to the second point cloud map of at least one associated device of the local device. Then, based on the initial coordinate system transformation relationship, the first key frame of the local device and the second key frame of the associated device, the target coordinate system transformation relationship between the local device and the associated device is determined, thereby realizing the coordinate system transformation of any two devices in the multiple devices without the assistance of external devices, so as to ensure the success rate of multi-device collaborative positioning in any scenario, avoid the limitations of multi-device collaborative positioning, improve the availability and universality of multi-device collaborative positioning, and enhance the robustness of multi-device collaborative positioning.

[0069] As an optional implementation scheme in this application, in order to accurately and efficiently determine the coordinate system transformation relationship between any two devices in multiple devices under low network bandwidth, this application has certain data volume requirements for the feature point statistics corresponding to the point cloud map of each device exchanged between multiple devices through a shared network to adapt to low network bandwidth. Therefore, this application can provide a detailed description of the feature point statistics method in the point cloud map of each device.

[0070] Figure 3This is a flow chart of a method for counting feature points in a point cloud map of multiple devices shown in an embodiment of the present application. Figure 3 As shown, the method may specifically include the following steps:

[0071] S310, determining a first point cloud map of the local device and a two-dimensional plane in any coordinate direction.

[0072] For each device among multiple devices, in order to make the feature point statistical information corresponding to the point cloud map of each device meet the low network bandwidth requirements of the shared network, the present application can project each feature point information in the three-dimensional point cloud map into the corresponding two-dimensional plane for feature point statistics, so as to adopt a two-dimensional feature point statistics method to reduce the data volume of the feature point statistical information.

[0073] Therefore, in order to ensure the accurate projection of the three-dimensional point cloud map to the two-dimensional plane, the present application can pre-set a unified coordinate direction for the point cloud map of each device, such as the gravity direction in the gravity coordinate system. Then, for the local device, the first point cloud map of the local device will be determined first. Furthermore, in the first point cloud map of the local device, a two-dimensional plane perpendicular to the coordinate direction can be defined along the pre-set coordinate direction.

[0074] It is understandable that each device among the multiple devices can determine a two-dimensional plane perpendicular to a preset coordinate direction in the point cloud map of the device in the same way as the local device defines the two-dimensional plane.

[0075] S320, projecting the feature points in the first point cloud map into corresponding grids divided in the two-dimensional plane to obtain first feature point statistical information.

[0076] In some implementations, in order to perform regional statistics on each feature point in the point cloud map of each device, so as to subsequently perform a preliminary analysis of the corresponding coordinate system transformation relationship based on the regional feature matching between different devices. For the two-dimensional plane defined in the point cloud map of each device, such as Figure 4 As shown, the present application can divide the two-dimensional plane into multiple grids, such as N*M grids, according to a certain grid size.

[0077] Then, after determining the first point cloud map of the local device, each feature point in the first point cloud map can be obtained. In the first point cloud map, each three-dimensional feature point can be projected along a preset coordinate direction to a defined two-dimensional plane in the first point cloud map, so that each feature point will be projected to a grid in the two-dimensional plane. Then, by performing information statistics of each feature point projected in each grid in different dimensions, the corresponding first feature point statistical information can be obtained.

[0078] Then, each device among the multiple devices can obtain the feature point statistical information corresponding to the point cloud map of each device according to the feature point statistical method used by the local device mentioned above.

[0079] Among them, any feature point statistical information in the first feature point statistical information and the second feature point statistical information may at least include the number of feature points of each grid projection in the two-dimensional plane, the feature point height distribution, the feature point viewing angle distribution, and the feature point descriptor.

[0080] In some implementations, in order to accurately describe the feature point statistics corresponding to each device, when describing the feature point statistics through the feature point conditions projected by each network in the two-dimensional plane, a grid data structure G can be pre-defined for the grid in the two-dimensional plane. ij The grid data structure G ij The statistical information of all feature points projected into a grid in the i-th row and j-th column in different dimensions can be recorded, such as the number of feature points, the height distribution of feature points, the visual angle distribution of feature points, the descriptors of feature points, etc.

[0081] S330, obtaining second feature point statistical information sent by the associated device via the shared network.

[0082] At least one associated device of the local device adopts the same feature point statistics method as the local device, and can obtain the second feature point statistics information corresponding to the second point cloud map of the associated device. Then, the associated device can send the second feature point statistics information to the local device through the shared network, and store it uniformly in the map database of the local device. Therefore, the local device can obtain the second feature point statistics information sent by the associated device through the shared network in the map database.

[0083] As an optional implementation scheme in the present application, in order to ensure the compressed transmission of feature point statistical information exchanged by multiple devices through a shared network, each device in the multiple devices will first serialize the feature point statistical information before sending the feature point statistical information corresponding to the device to other devices through the shared network, and convert it into a corresponding bit stream, and then send the serialized bit stream of the feature point statistical information to other devices through the shared network. Then, other devices can deserialize the received bit stream to obtain the corresponding feature point statistical information.

[0084] Specifically, if Figure 4As shown, after the local device determines the first feature point statistical information corresponding to the first point cloud map, it will serialize the first feature point statistical information to obtain the corresponding bit stream. Then, the serialized bit stream of the first feature point statistical information can be sent to each other device through the shared network. Moreover, the local device can also receive the bit stream sent by other devices (such as associated devices) through the shared network, and deserialize the bit stream to obtain the second feature point statistical information corresponding to the other devices.

[0085] S340, updating the first feature point statistical information according to the incremental point cloud in the first point cloud map; and / or updating the second feature point statistical information according to the incremental point cloud in the second point cloud map sent by the associated device via the shared network.

[0086] Considering that each device among multiple devices is constantly moving in the spatial environment, it will continuously collect new surrounding environment images to improve the point cloud map of the device. Then, in the process of improving the point cloud map of each device, new point clouds may be generated or some old point clouds need to be deleted, so that the statistical information of the feature points corresponding to the point cloud map will also change accordingly.

[0087] Therefore, for the point cloud map of each device, the present application can determine in real time whether a new point cloud has been generated or an old point cloud has been deleted in the point cloud map to determine the incremental point cloud in the point cloud map. Then, in order to ensure the update efficiency of the feature point statistical information corresponding to each device, the incremental point cloud in the point cloud map of the device can be subjected to corresponding feature point statistics to obtain the corresponding incremental feature point statistical information, thereby adopting the incremental update method to update the feature point statistical information stored locally in the device. Moreover, each device can serialize the incremental feature point statistical information and send the serialized incremental bit stream to each other device through a shared network. Then, after receiving the incremental bit stream corresponding to the device, the other devices can deserialize the incremental bit stream to obtain the corresponding incremental feature point statistical information, thereby adopting the incremental update method to update the feature point statistical information corresponding to the device stored locally in other devices.

[0088] Specifically, if Figure 4As shown, after the local device determines the incremental point cloud in the first point cloud map, it will use the same feature point statistics method to perform feature point distribution statistics on the incremental point cloud, thereby obtaining the corresponding first incremental feature point statistical information, so as to incrementally update the first feature point statistical information stored in the map database of the local device. In addition, by serializing the first incremental feature point statistical information, a corresponding incremental bit stream is obtained. The incremental bit stream after serialization of the first incremental feature point statistical information can be sent to each other device through a shared network. Moreover, the local device can also receive the incremental bit stream sent by other devices (such as associated devices) through the shared network, and deserialize the incremental bit stream to obtain the second incremental feature point statistical information corresponding to the other devices. Then, the local device can use an incremental update method to update the second feature point statistical information stored in the map database of the local device.

[0089] The technical solution provided in the embodiment of the present application compresses the three-dimensional point cloud map into two-dimensional feature point statistical information to exchange data between multiple devices, thereby ensuring the successful execution of multi-device collaborative positioning on the basis of low network bandwidth, and greatly reducing the network bandwidth requirements between multiple devices.

[0090] According to one or more embodiments of the present application, considering that the first feature point statistical information and the second feature point statistical information both include the feature point distribution of each feature point in the first point cloud map and the second point cloud map under multiple statistical dimensions. In order to ensure the accuracy of the coordinate transformation between the local device and the associated device, the present application needs to analyze the matching degree between the first feature point statistical information and the second feature point statistical information under each statistical dimension. Moreover,

[0091] Then, the present application may describe the specific process of determining the coordinate system transformation relationship between the local device and the associated device.

[0092] Figure 5 The following is a flow chart of a method for determining the coordinate transformation relationship between the local device and the associated device according to an embodiment of the present application. Figure 5 As shown, the method may specifically include the following steps:

[0093] S510: Determine a two-dimensional grid layer of the local device and the associated device in each statistical dimension according to the first feature point statistical information and the second feature point statistical information.

[0094] Since any feature point statistical information in the first feature point statistical information and the second feature point statistical information is determined by analyzing the specific analysis conditions of each feature point in the corresponding point cloud map in each divided spatial area under multiple statistical dimensions, it means that the first feature point statistical information and the second feature point statistical information will include feature point distribution information of each feature point in the corresponding point cloud map in each divided spatial area under each statistical dimension.

[0095] Then, in order to ensure the accuracy of the feature point distribution matching between the local device and the associated device, this application requires the matching degree of the first feature point statistical information and the second feature point statistical information in each statistical dimension. Therefore, for each statistical dimension, the local device can analyze the specific feature point distribution information in each divided grid in the first feature point statistical information under the statistical dimension, thereby generating a two-dimensional grid layer of the local device under the statistical dimension. Moreover, the local device can analyze the specific feature point distribution information in each divided grid in the second feature point statistical information under the statistical dimension, thereby generating a two-dimensional grid layer of the associated device under the statistical dimension.

[0096] For example, when any feature point statistical information in the first feature point statistical information and the second feature point statistical information includes feature point distribution information under four statistical dimensions, namely, the number of feature points of each grid projection in the two-dimensional plane, the feature point height distribution, the feature point viewing angle distribution, and the feature point descriptor, then the two-dimensional grid layers of the local device and the associated devices may include two-dimensional grid layers under the four statistical dimensions of number grid layer, height grid layer, viewing angle grid layer, and descriptor grid layer.

[0097] S520, determining an initial coordinate system transformation relationship between the local device and the associated device according to a grid matching degree between two-dimensional grid layers of the local device and the associated device under the same statistical dimension.

[0098] Under each statistical dimension, a similarity analysis can be performed on the feature point distribution information recorded in any grid in the two-dimensional grid layer of the local device under the statistical dimension and the feature point distribution information recorded in any grid in the two-dimensional grid layer of the associated device under the statistical dimension to determine the grid matching degree between any grid in the two-dimensional grid layer of the local device under the statistical dimension and any grid in the two-dimensional grid layer of the associated device under the statistical dimension.

[0099] Then, if Figure 6As shown, according to the mesh matching degree between any mesh in the two-dimensional mesh layer of the local device under each statistical dimension and any mesh in the two-dimensional mesh layer of the associated device under the statistical dimension, the meshes that are matched in the two-dimensional mesh layer of the local device and the associated device under each statistical dimension can be determined. Then, according to the coordinates of the matched mesh vertices or mesh difference points in each matched mesh, the initial coordinate system transformation relationship between the local device and the associated device can be determined.

[0100] As an optional implementation scheme in the present application, for the initial coordinate system transformation relationship between the local device and the associated device, the present application can determine the matching grid pairs of the local device and the associated device in the two-dimensional grid layer under the reference statistical dimension, and verify the matching of the matching grid pairs in the two-dimensional grid layer under other statistical dimensions; if the matching grid pairs pass the matching verification, the initial coordinate system transformation relationship between the local device and the associated device is determined based on the matching coordinates of the grid points in the matching grid pair.

[0101] That is to say, the local device will conduct grid trial matching on the two-dimensional grid layers of the local device and the associated devices under each statistical dimension. When there are a large number of matching grids under a certain statistical dimension, the statistical dimension can be used as the reference statistical dimension in this application, and the matching grid pairs in the two-dimensional grid layers of the local device and the associated devices under the reference statistical dimension are determined. Among them, one grid in the matching grid pair is a grid in the two-dimensional grid layer of the local device under the reference statistical dimension, and the other grid is a grid in the two-dimensional grid layer of the associated device under the reference statistical dimension. Then, based on the feature point distribution information of the two grids in each matching grid pair under other statistical dimensions, it is determined whether the two grids in each matching grid pair are also matched in the two-dimensional grid layer under other statistical dimensions, so as to verify the matching of each matching grid pair in the two-dimensional grid layer under other statistical dimensions.

[0102] If the two grids in each matching grid pair are also matched in the two-dimensional grid layer under other statistical dimensions, it means that the matching grid pair passes the matching verification. Then, the coordinates of each grid point can be determined from one grid in the matching grid pair, and the coordinates of the matching point of the grid point can be determined from the other grid. Thus, based on the coordinates of each grid point and the coordinates of the matching point of the grid point, the initial coordinate system transformation relationship between the local device and the associated device can be determined.

[0103] S530: Determine a first key frame of the local device according to a common viewing area between the local device and the associated device under the initial coordinate system transformation relationship, and obtain a second key frame sent by the associated device through a shared network.

[0104] After determining the initial coordinate system transformation relationship between the local device and the associated device, in order to eliminate the coordinate transformation error existing in the initial coordinate system transformation relationship between the local device and the associated device, the local device can first determine the overlapping spatial area between the local device and the associated device in the spatial environment based on the initial coordinate system transformation relationship, as the common viewing area between the local device and the associated device under the initial coordinate system transformation relationship.

[0105] Then, when the local device moves in the spatial environment, it will collect various surrounding environment images in real time. Then, when the local device moves into the common viewing area, it will collect surrounding environment images that include various spatial objects in the common viewing area. Therefore, the local device can filter out at least one surrounding environment image that can relatively completely capture the common viewing area from all the collected surrounding environment images as the first key frame of the local device.

[0106] Moreover, when a coordinate system correction request is initiated to an associated device through a shared network, information about the common viewing area between the local device and the associated device will also be carried in the coordinate system correction request. Then, when the associated device receives the coordinate system correction request sent by the local device, it can also determine the common viewing area between the local device and the associated device by parsing the coordinate system correction request sent by the local device. Then, the associated device can also filter out at least one surrounding environment image that can relatively completely capture the common viewing area from all the surrounding environment images that have been collected, as the second key frame of the associated device in this application. Furthermore, the associated device can send the second key frame and the spatial posture of the associated device when the second key frame was collected to the local device through a shared network, so that the local device can accurately align the reference coordinates of the local device and the associated device.

[0107] S540: Determine a target coordinate system transformation relationship between the local device and the associated device according to a feature point matching result between the first key frame and the second key frame.

[0108] For the first key frame of the local device and the second key frame of the associated device, it can be determined that the first key frame and the second key frame contain multiple identical objects in the spatial environment. Therefore, by matching the feature points of the first key frame and the second key frame, the spatial coordinates of the same object in the reference coordinate systems of the local device and the associated device can be determined, so as to analyze the transformation relationship between the two coordinate systems.

[0109] Specifically, the local device can perform feature extraction on the first key frame and the second key frame respectively to obtain key point features in the first key frame and the second key frame. The key point features in either the first key frame or the second key frame may include but are not limited to the three-dimensional spatial coordinates of each key point in the key frame, the device posture at the time of the key frame acquisition, feature depth, feature descriptor, etc.

[0110] Then, through the feature similarity between the key point features in the first key frame and the second key frame, each key point in the first key frame and the second key frame can be matched. Then, for each key point in any key frame of the first key frame and the second key frame, the corresponding matching point can be determined from each key point of the other key frame, thereby obtaining a plurality of key point pairs that match in the first key frame and the second key frame. Then, according to the spatial coordinates of the two key points in each key point pair that matches in the first key frame and the second key frame in their respective reference coordinate systems, the target coordinate system transformation relationship between the local device and the associated device can be determined.

[0111] The technical solution provided by the embodiment of the present application can determine the initial coordinate system transformation relationship between the local device and the associated device for each device in the multiple devices based on the first feature point statistical information corresponding to the first point cloud map of the local device and the second feature point statistical information corresponding to the second point cloud map of at least one associated device of the local device. Then, based on the initial coordinate system transformation relationship, the first key frame of the local device and the second key frame of the associated device, the target coordinate system transformation relationship between the local device and the associated device is determined, thereby realizing the coordinate system transformation of any two devices in the multiple devices without the assistance of external devices, so as to ensure the success rate of multi-device collaborative positioning in any scenario, avoid the limitations of multi-device collaborative positioning, improve the availability and universality of multi-device collaborative positioning, and enhance the robustness of multi-device collaborative positioning.

[0112] Figure 7 1 is a principle block diagram of a multi-device collaborative positioning apparatus shown in an embodiment of the present application. The multi-device collaborative positioning apparatus 700 can be configured in each of the multiple devices. Figure 7 As shown, the apparatus 700 for co-locating multiple devices may include:

[0113] A feature point statistics module 710, configured to determine first feature point statistics information corresponding to a first point cloud map of a local device and second feature point statistics information corresponding to a second point cloud map of at least one associated device of the local device;

[0114] A first coordinate system transformation module 720, configured to determine an initial coordinate system transformation relationship between the local device and the associated device according to the first feature point statistical information and the second feature point statistical information;

[0115] The second coordinate system transformation module 730 is used to determine the target coordinate system transformation relationship between the local device and the associated device according to the initial coordinate system transformation relationship, the first key frame of the local device and the second key frame of the associated device.

[0116] In some implementations, the feature point statistics module 710 may be specifically used to:

[0117] Determine a first point cloud map of the local device and a two-dimensional plane in any coordinate direction;

[0118] Projecting the feature points in the first point cloud map into corresponding grids divided in the two-dimensional plane to obtain statistical information of the first feature points;

[0119] Obtain second feature point statistical information sent by the associated device via a shared network.

[0120] In some implementations, any one of the first feature point statistical information and the second feature point statistical information includes at least the number of feature points of each grid projection in the two-dimensional plane, the feature point height distribution, the feature point viewing angle distribution, and the feature point descriptor.

[0121] In some possible implementations, the multi-device collaborative positioning apparatus 700 may further include:

[0122] A feature point statistics update module is used to update the first feature point statistics information according to the incremental point cloud in the first point cloud map; and / or to update the second feature point statistics information according to the incremental point cloud in the second point cloud map sent by the associated device via a shared network.

[0123] In some implementations, the first coordinate system transformation module 720 may include:

[0124] A two-dimensional layer determination unit, configured to determine a two-dimensional grid layer of the local device and the associated device in each statistical dimension according to the first feature point statistical information and the second feature point statistical information;

[0125] The initial coordinate system transformation unit is used to determine the initial coordinate system transformation relationship between the local device and the associated device according to the grid matching degree between the two-dimensional grid layers of the local device and the associated device under the same statistical dimension.

[0126] In some possible implementations, the initial coordinate system transformation unit may be specifically used to:

[0127] Determine a matching grid pair of the local device and the associated device in a two-dimensional grid layer under a reference statistical dimension, and verify matching of the matching grid pair in a two-dimensional grid layer under other statistical dimensions;

[0128] If the matching grid pair passes the matching verification, the initial coordinate system transformation relationship between the local device and the associated device is determined according to the matching coordinates of the grid points in the matching grid pair.

[0129] In some implementations, the second coordinate system transformation module 730 may be specifically used for:

[0130] Determine a first key frame of the local device according to a common viewing area between the local device and the associated device under the transformation relationship of the initial coordinate system, and obtain a second key frame sent by the associated device through a shared network;

[0131] According to the feature point matching result between the first key frame and the second key frame, the target coordinate system transformation relationship between the local device and the associated device is determined.

[0132] In some possible implementations, the multi-device collaborative positioning apparatus 700 may further include:

[0133] The collaborative positioning module is used to obtain the target coordinate system transformation relationship between any two devices among the multiple devices, and determine the coordinate system transformation relationship diagram between the multiple devices to achieve collaborative positioning of the multiple devices.

[0134] In an embodiment of the present application, for each device in the multiple devices, the initial coordinate system transformation relationship between the local device and the associated device can be determined based on the first feature point statistical information corresponding to the first point cloud map of the local device and the second feature point statistical information corresponding to the second point cloud map of at least one associated device of the local device. Then, based on the initial coordinate system transformation relationship, the first key frame of the local device and the second key frame of the associated device, the target coordinate system transformation relationship between the local device and the associated device is determined, thereby achieving the coordinate system transformation of any two devices in the multiple devices without the assistance of external devices, so as to ensure the success rate of multi-device collaborative positioning in any scenario, avoid the limitations of multi-device collaborative positioning, improve the availability and universality of multi-device collaborative positioning, and enhance the robustness of multi-device collaborative positioning.

[0135] It should be understood that the device embodiment and the method embodiment may correspond to each other, and similar descriptions may refer to the method embodiment. To avoid repetition, they will not be described here. Specifically, Figure 7The device 700 shown can execute any method embodiment provided in the present application, and the aforementioned and other operations and / or functions of each module in the device 700 are respectively for implementing the corresponding processes in each method of the embodiment of the present application. For the sake of brevity, they will not be repeated here.

[0136] The above describes the device 700 of the embodiment of the present application from the perspective of the functional module in conjunction with the accompanying drawings. It should be understood that the functional module can be implemented in hardware form, can be implemented by instructions in software form, and can also be implemented by a combination of hardware and software modules. Specifically, the steps of the method embodiment in the embodiment of the present application can be completed by the hardware integrated logic circuit and / or software form instructions in the processor, and the steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or a combination of hardware and software modules in the decoding processor to perform. Optionally, the software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory, and completes the steps in the above method embodiment in conjunction with its hardware.

[0137] Figure 8 A schematic block diagram of an electronic device according to an embodiment of the present application.

[0138] like Figure 8 As shown, the electronic device 800 may include:

[0139] The memory 810 and the processor 820, the memory 810 is used to store the computer program and transmit the program code to the processor 820. In other words, the processor 820 can call and run the computer program from the memory 810 to implement the method in the embodiment of the present application.

[0140] For example, the processor 820 may be configured to execute the above method embodiments according to instructions in the computer program.

[0141] In some embodiments of the present application, the processor 820 may include but is not limited to:

[0142] General-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.

[0143] In some embodiments of the present application, the memory 810 includes but is not limited to:

[0144] Volatile memory and / or non-volatile memory. Among them, the non-volatile memory can be read-only memory (ROM), programmable ROM (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM) or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus random access memory (DR RAM).

[0145] In some embodiments of the present application, the computer program may be divided into one or more modules, which are stored in the memory 810 and executed by the processor 820 to complete the method provided by the present application. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device.

[0146] like Figure 8 As shown, the electronic device may also include:

[0147] The transceiver 830 may be connected to the processor 820 or the memory 810 .

[0148] The processor 820 may control the transceiver 830 to communicate with other devices, specifically, to send information or data to other devices, or to receive information or data sent by other devices. The transceiver 830 may include a transmitter and a receiver. The transceiver 830 may further include an antenna, and the number of antennas may be one or more.

[0149] It should be understood that the various components in the electronic device are connected via a bus system, wherein the bus system includes not only a data bus but also a power bus, a control bus and a status signal bus.

[0150] The present application also provides a computer storage medium on which a computer program is stored, and when the computer program is executed by a computer, the computer can perform the method of the above method embodiment. In other words, the present application embodiment also provides a computer program product containing instructions, and when the instructions are executed by a computer, the computer can perform the method of the above method embodiment.

[0151] When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integration. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disc (digital video disc, DVD)), or a semiconductor medium (e.g., a solid state drive (solid state disk, SSD)), etc.

[0152] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0153] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the module is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0154] The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. For example, each functional module in each embodiment of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.

[0155] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for collaborative positioning of multiple devices, characterized in that: Applied to each device in the plurality of devices, the method comprises: Determine first feature point statistical information corresponding to a first point cloud map of a local device and second feature point statistical information corresponding to a second point cloud map of at least one associated device of the local device; Determine an initial coordinate system transformation relationship between the local device and the associated device according to the first feature point statistical information and the second feature point statistical information; A target coordinate system transformation relationship between the local device and the associated device is determined according to the initial coordinate system transformation relationship, the first key frame of the local device and the second key frame of the associated device.

2. The method according to claim 1, characterized in that The determining of first feature point statistical information corresponding to a first point cloud map of a local device and second feature point statistical information corresponding to a second point cloud map of at least one associated device of the local device includes: Determine a first point cloud map of the local device and a two-dimensional plane in any coordinate direction; Projecting the feature points in the first point cloud map into corresponding grids divided in the two-dimensional plane to obtain statistical information of the first feature points; Obtain second feature point statistical information sent by the associated device via a shared network.

3. The method according to claim 2, characterized in that Any of the first feature point statistical information and the second feature point statistical information at least includes the number of feature points of each grid projection in the two-dimensional plane, the feature point height distribution, the feature point viewing angle distribution, and the feature point descriptor.

4. The method according to claim 2, characterized in that: The method further comprises: updating the first feature point statistical information according to the incremental point cloud in the first point cloud map; and / or, The second feature point statistical information is updated according to the incremental point cloud in the second point cloud map sent by the associated device through the shared network.

5. The method according to claim 1, characterized in that The determining, according to the first feature point statistical information and the second feature point statistical information, an initial coordinate system transformation relationship between the local device and the associated device includes: Determine, according to the first feature point statistical information and the second feature point statistical information, a two-dimensional grid layer of the local device and the associated device in each statistical dimension; An initial coordinate system transformation relationship between the local device and the associated device is determined according to a grid matching degree between two-dimensional grid layers of the local device and the associated device under the same statistical dimension.

6. The method according to claim 5, characterized in that The determining, according to the grid matching degree between the two-dimensional grid layers of the local device and the associated device under the same statistical dimension, the initial coordinate system transformation relationship between the local device and the associated device comprises: Determine a matching grid pair of the local device and the associated device in a two-dimensional grid layer under a reference statistical dimension, and verify matching of the matching grid pair in a two-dimensional grid layer under other statistical dimensions; If the matching grid pair passes the matching verification, the initial coordinate system transformation relationship between the local device and the associated device is determined according to the matching coordinates of the grid points in the matching grid pair.

7. The method according to claim 1, characterized in that The transformation relationship according to the initial coordinate system, the first key frame of the local device and the second key frame of the associated device include: Determine a first key frame of the local device according to a common viewing area between the local device and the associated device under the transformation relationship of the initial coordinate system, and obtain a second key frame sent by the associated device through a shared network; According to the feature point matching result between the first key frame and the second key frame, the target coordinate system transformation relationship between the local device and the associated device is determined.

8. The method according to claim 1, characterized in that The method further comprises: The target coordinate system transformation relationship between any two devices among the multiple devices is obtained, and a coordinate system transformation relationship diagram between the multiple devices is determined to achieve collaborative positioning of the multiple devices.

9. A device for co-locating multiple devices, characterized in that: The apparatus is configured in each of the multiple devices, and includes: A feature point statistics module, used to determine first feature point statistics information corresponding to a first point cloud map of a local device and second feature point statistics information corresponding to a second point cloud map of at least one associated device of the local device; A first coordinate system transformation module, used for determining an initial coordinate system transformation relationship between the local device and the associated device according to the first feature point statistical information and the second feature point statistical information; The second coordinate system transformation module is used to determine the target coordinate system transformation relationship between the local device and the associated device according to the initial coordinate system transformation relationship, the first key frame of the local device and the second key frame of the associated device.

10. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute the method for co-location of multiple devices as described in any one of claims 1-8 by executing the executable instructions.

11. 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 for collaborative positioning of multiple devices as described in any one of claims 1 to 8 is implemented.

12. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions contained in the computer program product are executed on an electronic device, the electronic device executes the method for co-location of multiple devices as described in any one of claims 1-8.