Map construction method and related device

The generation of virtual obstacles through the recognition and pairing of landmarks by mobile devices solves the problem of path limitations of autonomous mobile devices in map-less scenes, and improves the universality and accuracy of path planning.

CN118776544APending Publication Date: 2024-10-15HUAWEI TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202310384020.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-06
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing technology cannot automatically generate virtual obstacles for autonomous mobile devices in mapless scenes, limiting their traversing paths, resulting in insufficient universality.

Method used

The mobile device identifies and pairs preset markers to generate virtual obstacles, uses sensors (such as radar and cameras) to obtain sensing data, builds virtual obstacles based on pairing rules, and then builds a map of the physical space.

Benefits of technology

It realizes the function of automatically adding virtual obstacles in map-less scenes, improves the universality of autonomous mobile devices and the accuracy of path planning, and can add virtual obstacles to existing maps or generate virtual obstacles in map-less scenes. map.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118776544A_ABST
    Figure CN118776544A_ABST
Patent Text Reader

Abstract

The invention provides a map building method and a related device, the method comprises the following steps: obtaining perception data, the perception data is obtained by detecting a physical space where a mobile device is located through a sensor of the mobile device, and a preset first marker is placed in the physical space; identifying a second marker with a pairing relationship in the first markers based on the sensing data; generating a virtual obstacle based on the second marker, wherein the virtual obstacle is used for limiting the mobile device to pass through the physical space; and constructing a map of the physical space based on the virtual obstacle. The virtual obstacle is generated by identifying and pairing the markers placed in the physical space in advance so as to limit the mobile device to pass through the position corresponding to the virtual obstacle in the physical space, and the method does not depend on an existing map and has high universality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a method for constructing a map and related devices. Background Art

[0002] Autonomous mobile devices (such as self-driving vehicles, sweeping robots, food delivery robots, etc.) can use sensors to perceive information about the surrounding environment and complete the construction of maps.

[0003] As users' requirements for the perception, planning, and navigation technology of autonomous mobile devices continue to increase, in some application scenarios of autonomous mobile devices, users want to specify some areas that robots are prohibited from exploring, but setting physical obstacles at the boundaries of these areas will affect people's walking. Therefore, the need to allow autonomous mobile devices to generate "virtual obstacles" has become a technical research and development need.

[0004] In the currently known methods, users need to manually add virtual obstacles to the existing map, and after the autonomous mobile device is started, the path planning is performed based on the map with the virtual obstacles added. However, this solution cannot be applied to application scenarios without maps and is not universal. Summary of the invention

[0005] The present application provides a method for constructing a map and related devices, so as to enable a mobile device to automatically identify and generate virtual obstacles, thereby improving universality.

[0006] On the first aspect, the present application provides a method for constructing a map, which can be executed by a mobile device, or the method can also be executed by a component configured in the mobile device (such as a chip, a chip system, etc.), or it can also be implemented by a logic module or software that can realize all or part of the functions of the mobile device, and the present application is not limited to this.

[0007] Exemplarily, the method includes: acquiring perception data, the perception data being obtained by detecting a physical space in which the mobile device is located through a sensor of the mobile device, wherein a pre-set first marker is placed in the physical space; identifying a second marker having a pairing relationship among the first markers based on the perception data; generating a virtual obstacle based on the second marker, the virtual obstacle being used to restrict the movement of the mobile device in the physical space; and constructing a map of the physical space based on the virtual obstacle.

[0008] Based on the above scheme, the mobile device generates virtual obstacles by identifying and matching the markers placed in the physical space to restrict the mobile device from moving through the position corresponding to the virtual obstacle in the physical space. It does not rely on existing maps and has high universality.

[0009] In combination with the first aspect, in some possible implementations, the first marker is an object with a preset identification shape, and the identification shape is used to identify the first marker.

[0010] In combination with the first aspect, in some possible implementations, identifying a second marker having a pairing relationship in a first marker based on perception data includes: identifying the first marker based on the perception data; and determining a marker in the first marker that meets a preset pairing rule as the second marker.

[0011] In combination with the first aspect, in some possible implementations, the preset pairing rules include: at least one of a first pairing rule and a second pairing rule; wherein the first pairing rule is a rule based on the distance between every two first markers; and the second pairing rule is a rule based on the identification number of the first marker, and the identification number is determined based on the shape of the marker.

[0012] In combination with the first aspect, in some possible implementations, the first pairing rule includes: the distance between every two second markers having a pairing relationship is the smallest among the distances between any two first markers among the first markers that have not completed pairing.

[0013] In combination with the first aspect, in some possible implementations, the method further includes: when at least two virtual obstacles among the generated multiple virtual obstacles intersect, adjusting the at least two intersecting virtual obstacles to obtain multiple non-intersecting virtual obstacles.

[0014] In combination with the first aspect, in some possible implementations, the second pairing rule includes: the identification numbers of every two second markers that have a pairing relationship are consecutive, and the smaller identification number is an odd number, and the larger identification number is an even number; or, the identification numbers of every two second markers that have a pairing relationship are consecutive, and the smaller identification number is an even number, and the larger identification number is an odd number; or, the identification numbers of every two second markers that have a pairing relationship are the same.

[0015] In combination with the first aspect, in some possible implementations, the identification shape includes a plurality of holes, the hole shapes of the plurality of holes are predefined, and the plurality of holes are used to determine an identification number.

[0016] In combination with the first aspect, in some possible implementations, the plurality of holes in each marker have one or more widths, each width being used to determine one bit in the identification number.

[0017] In combination with the first aspect, in some possible implementations, the multiple widths are determined based on a minimum resolution of the sensor.

[0018] In combination with the first aspect, in some possible implementations, the multiple widths include N widths, where N≥2 and N is an integer.

[0019] Exemplarily, the plurality of holes of a certain marker may include n widths, 1≤n≤N, and n is an integer. For example, the plurality of holes of the marker include widths 1 to n, where width 1 may be the minimum resolution of the sensor, width 2 may be 2 times the minimum resolution of the sensor, width 3 may be 3 times the minimum resolution of the sensor, and so on, and width n may be n times the minimum resolution of the sensor.

[0020] In combination with the first aspect, in some possible implementations, the multiple widths include a first width and a second width, the second width is M times the first width, M≥2, M is an integer, and the first width is an integer multiple of the minimum resolution of the sensor.

[0021] In combination with the first aspect, in some possible implementations, M=2, and the first width is the minimum resolution of the sensor.

[0022] That is, the second width is twice the first width, and the first width is one times the minimum resolution of the sensor.

[0023] In combination with the first aspect, in some possible implementations, the preset pairing rule includes the first pairing rule and the second pairing rule, and the method further includes: switching between the first pairing rule and the second pairing rule based on a preset condition.

[0024] That is to say, when the first pairing rule and the second pairing rule are deployed on the mobile device at the same time, the mobile device can switch to use the first pairing rule and the second pairing rule at any time according to preset conditions.

[0025] Based on the first pairing rule, when a large number of markers are identified, the pairing relationship between the markers can be quickly determined; based on the second pairing rule, although it has a higher accuracy, when a large number of markers are identified, the pairing speed is slower. Therefore, in a possible implementation, the preset condition may include: when the identified marker is greater than a preset threshold, the first pairing rule is used; or when the identified marker is less than or equal to the preset threshold, the second pairing rule is used.

[0026] In combination with the first aspect, in some possible implementations, the sensor includes: a radar and / or a camera.

[0027] It is understandable that when the sensor does not include visual sensors such as cameras, for example, only using radar for detection can not only solve the hardware cost, but also avoid the use of image recognition technology in the algorithm, that is, there is no need to carry out a large amount of data collection, data labeling, model training and other work, which can save time and manpower costs. In the case where the sensor includes visual sensors such as cameras, in addition to the semantics of virtual obstacles, the map can also include richer semantics, which helps to improve the user experience.

[0028] In combination with the first aspect, in some possible implementations, after constructing the map of the physical space based on the virtual obstacles, the method further includes: performing path planning based on the map of the physical space.

[0029] In combination with the first aspect, in some possible implementations, acquiring the perception data includes: during the movement of the mobile device, using a sensor to detect the physical space where the mobile device is located in real time to acquire the perception data.

[0030] In a second aspect, the present application provides a marker having a plurality of holes, wherein the plurality of holes have one or more widths, each width being used to determine a bit in an identification number, and the identification number is used for a mobile device to identify different markers.

[0031] Based on the above scheme, by placing markers in the physical space in advance, it is convenient for the mobile device to identify and pair the markers, so as to limit the mobile device to travel between the markers that have a paired relationship in the physical space. This does not rely on existing maps and has high universality.

[0032] In a third aspect, the present application provides a mobile device comprising a sensor and a processor; wherein the sensor is used to: detect the physical space in which the mobile device is located to obtain perception data, wherein a pre-set first marker is placed in the physical space; the processor is used to: identify a second marker having a pairing relationship in the first marker based on the perception data; generate a virtual obstacle based on the second marker, wherein the virtual obstacle is used to restrict the movement of the mobile device in the physical space; and construct a map of the physical space based on the virtual obstacle.

[0033] Based on the above scheme, the sensors of the mobile device identify and pair the markers placed in the physical space to generate virtual obstacles to restrict the mobile device from moving through the positions corresponding to the virtual obstacles in the physical space. This scheme does not rely on existing maps and has high universality.

[0034] In combination with the third aspect, in some possible implementations, the first marker is an object with a preset identification shape, and the identification shape is used to identify the first marker.

[0035] In combination with the third aspect, in some possible implementations, the processor is specifically used to: identify a first marker based on the perception data; and determine a marker in the first marker that meets a preset pairing rule as a second marker.

[0036] In combination with the third aspect, in some possible implementations, the preset pairing rules include: at least one of a first pairing rule and a second pairing rule; wherein the first pairing rule is a rule based on the distance between every two first markers; and the second pairing rule is a rule based on the identification number of the first marker, and the identification number is determined based on the shape of the marker.

[0037] In conjunction with the third aspect, in some possible implementations, the first pairing rule includes: the distance between every two second markers having a pairing relationship is the smallest among the distances between any two first markers among the first markers that have not completed pairing.

[0038] In combination with the third aspect, in some possible implementations, the processor is further specifically configured to: when at least two virtual obstacles intersect among the generated multiple virtual obstacles, adjust the at least two intersecting virtual obstacles to obtain multiple non-intersecting virtual obstacles.

[0039] In combination with the third aspect, in some possible implementations, the second pairing rule includes: the identification numbers of every two second markers that have a pairing relationship are consecutive, and the smaller identification number is an odd number, and the larger identification number is an even number; or, the identification numbers of every two second markers that have a pairing relationship are consecutive, and the smaller identification number is an even number, and the larger identification number is an odd number; or, the identification numbers of every two second markers that have a pairing are the same.

[0040] In conjunction with the third aspect, in some possible implementations, the identification shape includes a plurality of holes, the hole shapes of the plurality of holes are predefined, and the plurality of holes are used to determine an identification number.

[0041] In conjunction with the third aspect, in some possible implementations, the plurality of holes in each marker have one or more widths, each width being used to determine one bit in the identification number.

[0042] In conjunction with the third aspect, in some possible implementations, the multiple widths are determined based on a minimum resolution of the sensor.

[0043] In combination with the third aspect, in some possible implementations, the multiple widths include a first width and a second width, the second width is M times the first width, M≥2, M is an integer, and the first width is an integer multiple of the minimum resolution of the sensor.

[0044] In combination with the third aspect, in some possible implementations, M=2, and the first width is the minimum resolution of the sensor.

[0045] In conjunction with the third aspect, in some possible implementations, the preset pairing rule includes a first pairing rule and a second pairing rule, and the processor is further specifically configured to: switch between using the first pairing rule and the second pairing rule based on a preset condition.

[0046] In combination with the third aspect, in some possible implementations, the sensor includes: a radar and / or a camera.

[0047] In conjunction with the third aspect, in some possible implementations, the processor is further used to: perform path planning based on a map of the physical space.

[0048] In conjunction with the third aspect, in some possible implementations, the sensor is specifically used to: detect the physical space where the mobile device is located in real time during the movement of the mobile device to obtain perception data.

[0049] Optionally, the mobile device further includes a memory, and the processor is coupled to the memory.

[0050] In a fourth aspect, the present application provides a mobile device, which can be used to implement the method in the first aspect and any possible implementation of the first aspect. The mobile device includes a corresponding module for executing the above method. The module included in the mobile device can be implemented by software and / or hardware.

[0051] In a fifth aspect, the present application provides a chip system, which includes a processor for supporting the implementation of the functions involved in the above-mentioned first aspect and any possible implementation method of the first aspect, for example, processing the perception data involved in the above-mentioned method, etc.

[0052] In one possible design, the chip system also includes a memory, which is used to store program instructions and data, and the memory is located inside or outside the processor.

[0053] The chip system may be composed of the chip, or may include the chip and other discrete devices.

[0054] In a sixth aspect, a computer-readable storage medium is provided, on which a computer program (also referred to as code or instruction) is stored. When the computer program is run by a computer, the method in the above-mentioned first aspect and any possible implementation of the first aspect is executed.

[0055] In a seventh aspect, a computer program product is provided, comprising: a computer program (also referred to as code, or instruction), wherein when the computer program is run, the method in the above-mentioned first aspect and any possible implementation manner of the first aspect is executed.

[0056] It should be understood that the third to seventh aspects of the present application correspond to the technical solutions of the first and second aspects of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 is a schematic diagram of a virtual obstacle provided in an embodiment of the present application;

[0058] Figure 2 is a schematic flow chart of a method for constructing a map provided in an embodiment of the present application;

[0059] Figure 3 It is a schematic diagram of the logo shape of the marker provided in the embodiment of the present application;

[0060] Figure 4 It is a schematic diagram of the logo shape of the marker provided in the embodiment of the present application;

[0061] Figure 5 This is a schematic diagram of multiple markers with a pairing relationship provided in the embodiments of the present application;

[0062] Figure 6 is a schematic block diagram of a mobile device provided in an embodiment of the present application;

[0063] Figure 7 is another schematic flow chart of a method for constructing a map provided in an embodiment of the present application;

[0064] Figure 8 This is a schematic diagram of a marker provided in an embodiment of the present application. DETAILED DESCRIPTION

[0065] The technical solution in this application will be described below in conjunction with the accompanying drawings.

[0066] In order to clearly describe the technical solution of the embodiment of the present application, the following explanation is first made.

[0067] First, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same items or similar items with basically the same functions and effects. For example, the first pairing rule and the second pairing rule are used to distinguish different pairing rules, and the first width and the second width are used to distinguish different widths, and do not limit their order. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.

[0068] Second, in the embodiments of the present application, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a device, system, product or equipment comprising a series of modules, modules or units is not necessarily limited to those modules, modules or units clearly listed, but may include other modules, modules or units that are not clearly listed or inherent to these devices, systems, products or equipment.

[0069] Third, in the embodiments of the present application, "and / or" describes the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B may be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship, but does not exclude the situation where the associated objects before and after are in an "and" relationship. The specific meaning can be understood in conjunction with the context.

[0070] Fourth, in the embodiments of the present application, words such as "exemplarily" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.

[0071] Autonomous mobile devices (such as self-driving vehicles, sweeping robots, food delivery robots, etc.) can use sensors to perceive information about the surrounding environment and complete the construction of maps. As users' requirements for the perception, planning, and navigation technologies of autonomous mobile devices continue to increase, in some application scenarios of autonomous mobile devices, users want to specify some areas that robots are prohibited from exploring, but setting physical obstacles at the boundaries of these areas will affect people's walking. Therefore, the need for autonomous mobile devices to generate "virtual obstacles" has become a technical research and development need.

[0072] Figure 1 is a schematic diagram of a virtual obstacle provided in an embodiment of the present application.

[0073] like Figure 1The virtual obstacle shown in the figure does not really exist in the physical space. For creatures (such as humans, animals, etc.), the virtual obstacle does not affect the creatures' movement in the physical space at the position corresponding to the virtual obstacle. For the above-mentioned autonomous moving device, the virtual obstacle can restrict the above-mentioned autonomous moving device from moving in the physical space at the position corresponding to the virtual obstacle. In addition, it can be understood that Figure 1 The physical obstacles shown in the figure are real obstacles existing in the physical space. Neither living creatures nor the above-mentioned autonomous moving devices can pass through the locations where these physical obstacles are located.

[0074] In the currently known methods, users need to manually add virtual obstacles to the existing map, and after the autonomous mobile device is started, the path planning is performed based on the map with the virtual obstacles added. However, this solution cannot be applied to application scenarios without maps and is not universal.

[0075] Based on the above problems, the embodiments of the present application provide a method and related devices for constructing a map. A mobile device generates virtual obstacles by identifying and matching markers pre-placed in a physical space to restrict the mobile device from moving through positions corresponding to the virtual obstacles in the physical space. This method does not rely on existing maps and has high universality.

[0076] Figure 2 It is a schematic flowchart of a method for constructing a map provided in an embodiment of the present application.

[0077] like Figure 2 As shown, method 200 may include steps 210 to 240. The steps of method 200 may be performed by an autonomous mobile device equipped with a sensor (for ease of description, the autonomous mobile device equipped with a sensor is referred to as a mobile device in this application), or the method 200 may be performed by a component configured in the mobile device (such as a chip, a chip system, etc.), or may be implemented by a logic module or software capable of implementing all or part of the functions of the mobile device, which is not limited in the embodiments of the present application. As an example and not a limitation, the mobile device may include, but is not limited to, a robot, a vehicle, etc.

[0078] Below Figure 2 Detailed description of each step in.

[0079] In step 210, perception data is acquired, where the perception data is obtained by detecting the physical space where the mobile device is located through a sensor of the mobile device.

[0080] The mobile device may execute the method 200. For example, the mobile device may be configured with a sensor, and the mobile device may detect the physical space where the mobile device is located through the sensor to obtain the perception data. Alternatively, a component configured in the mobile device may execute the method 200. For example, the processor (or chip, chip system, etc.) of the mobile device may obtain the perception data from the sensor of the mobile device, and the perception data is obtained by the sensor of the mobile device detecting the physical space where the mobile device is located.

[0081] In some possible implementations, the sensor includes: a radar and / or a camera.

[0082] Sensors include but are not limited to radars, cameras, etc.

[0083] When the sensor includes a radar, the perception data includes data obtained by scanning the physical space through the radar; when the sensor includes a camera, the perception data includes data obtained by photographing the physical space through the camera.

[0084] In some possible implementations, acquiring the perception data includes: during the movement of the mobile device, using a sensor to detect in real time the physical space where the mobile device is located to acquire the perception data.

[0085] It can be understood that the mobile device can move in the physical space where the mobile device is located. During the movement of the mobile device, the sensor of the mobile device can detect the physical space where the mobile device is located in real time to obtain perception data.

[0086] In step 220, a second marker having a pairing relationship with the first marker is identified based on the sensing data.

[0087] After acquiring the perception data, the mobile device may analyze and process the perception data.

[0088] In some possible implementations, identifying a second marker having a pairing relationship with a first marker based on the perception data includes: identifying the first marker based on the perception data; and determining a marker in the first marker that meets a preset pairing rule as the second marker.

[0089] The mobile device may first identify the first markers based on the sensing data, and then may further identify which first markers are second markers having a pairing relationship.

[0090] It is understandable that different types of objects have different characteristics. After acquiring the perception data, the mobile device can analyze the perception data and identify the objects in the physical space according to the different characteristics of the different types of objects.

[0091] In some possible implementations, the first marker is an object with a preset identification shape, and the identification shape is used to identify the first marker.

[0092] That is, the feature of the first marker may include an identification shape, and the mobile device may determine that a certain object is the first marker when recognizing that the object has the identification shape.

[0093] The first marker can be understood as a physical object with certain specific features, and the identification shape can be a specific feature of the marker. The mobile device can analyze the perception data, and when the perception data includes data related to the identification shape of the first marker, the mobile device can determine that the first marker has been detected. Based on the identification shape of the first marker, when the sensor includes a radar but does not include a visual sensor such as a camera, the mobile device can identify whether there is an object within the perception range of the radar based on the perception data obtained by the radar, that is, it can identify objects including the marker; when the sensor includes a visual sensor such as a camera, the first marker can be identified using image recognition technology.

[0094] The identification shape of the first marker is described in detail below.

[0095] In some possible implementations, the identification shape includes a plurality of holes, the hole shapes of the plurality of holes are predefined, and the plurality of holes are used to determine an identification number.

[0096] The identification shape of the first marker includes a plurality of holes, the shapes of which are predefined so that the mobile device can recognize the first marker, and the plurality of holes can be used to determine an identification number. Subsequent pairing processing can be performed based on the identification number and / or position information of the first marker.

[0097] It is understandable that the number of holes included in the identification shape of the first marker is also pre-set. In actual application scenarios, the present application does not limit the specific number of holes included in the identification shape of the first marker.

[0098] In one possible implementation, the plurality of holes in each first marker have one or more widths, and each width is used to determine one bit in the identification number.

[0099] Different hole widths may correspond to different bit values, that is, holes of different widths represent different values. In this way, the mobile device can determine the identification number of each first marker according to the width information of the multiple holes of each first marker.

[0100] In one possible implementation, the multiple widths are determined based on a minimum resolution of the sensor.

[0101] That is, the width of the hole of the first marker can be designed according to the minimum resolution of the sensor. It is understood that if the width of the hole of the first marker is smaller than the minimum resolution of the sensor, the sensor cannot detect the information of the hole. Therefore, the width of the hole of the first marker needs to be greater than the minimum resolution of the sensor to ensure that the sensor can detect each hole of the first marker. It is also understood that the distance between the holes is also greater than the minimum resolution of the sensor.

[0102] In a possible implementation, the multiple widths include N widths, where N≥2 and N is an integer.

[0103] Exemplarily, the plurality of holes of the first marker may include n widths, 1≤n≤N, and n is an integer. For example, the plurality of holes of the first marker include widths 1 to n, where width 1 may be the minimum resolution of the sensor, width 2 may be 2 times the minimum resolution of the sensor, width 3 may be 3 times the minimum resolution of the sensor, and so on, and width n may be n times the minimum resolution of the sensor.

[0104] In this implementation, the identification number of the first marker may be a set of decimal serial numbers. As an example and not a limitation, the bit value corresponding to width 1 may be recorded as 1, the bit value corresponding to width 2 may be recorded as 2, and so on, the bit value corresponding to width n may be recorded as n.

[0105] Figure 3 It is a schematic diagram of the identification shape of the marker provided in the embodiment of the present application.

[0106] As an example and not a limitation, if n=4, Figure 3 The identification shape of the first marker shown in the figure includes 5 holes, wherein, counting from left to right, the widths of the holes are width 2, width 1, width 3, width 4, and width 1, respectively. Then the identification number of the first marker is "21341".

[0107] In another possible implementation, the multiple widths include a first width and a second width, the second width is M times the first width, M≥2, M is an integer, and the first width is an integer multiple of the minimum resolution of the sensor.

[0108] In this implementation, the identification number of the first marker may be a set of binary serial numbers. As an example and not limitation, the bit value corresponding to the first width may be recorded as 0, and the bit value corresponding to the second width may be recorded as 1, and the identification number of the first marker may be a set of binary serial numbers.

[0109] Optionally, the second width is twice the first width, and the first width is the minimum resolution of the sensor.

[0110] That is, M=2, the second width is twice the first width, and the first width is 1 times the minimum resolution of the sensor.

[0111] Figure 4 It is a schematic diagram of the identification shape of the marker provided in the embodiment of the present application.

[0112] By way of example and not limitation, Figure 4 The identification shape of the first marker shown in the figure includes 6 holes, wherein, from left to right, the widths of the holes are first width, second width, second width, first width, second width, first width. For example, as mentioned above, the bit value corresponding to the first width can be recorded as 0, and the bit value corresponding to the second width can be recorded as 1, then the identification number of the marker is "011010".

[0113] It can be understood that the multiple holes that a first marker can include can be of the same width. For example, the width of the holes included in the first marker with the identification number "000000" are all the first width; for another example, the width of the holes included in the first marker with the identification number "111111" are all the second width.

[0114] In some possible implementations, the first width and the second width are integer multiples of the minimum resolution of the sensor, and the first width is different from the second width.

[0115] That is, the first marker may include holes of two different widths, both widths being determined based on the minimum resolution of the sensor.

[0116] It should be understood that Figure 3 and Figure 4 This is only an example and should not limit the present application in any way.

[0117] It is understandable that, based on the identification shape of the first marker, when the sensor includes a visual sensor such as a camera, the mobile device can not only use image recognition technology to identify the first marker, but also other objects. For example, objects that can be identified in indoor scenes include but are not limited to walls, doors and windows, tables, chairs, benches, etc.; for another example, objects that can be identified in outdoor scenes include but are not limited to houses, vehicles, pre-placed first markers, etc. This application does not limit this.

[0118] The pairing relationship of the first marker is predefined, and the pairing relationship of the first marker is described in detail below.

[0119] As mentioned above, the mobile device can analyze the sensing data to determine whether the first marker is sensed. In the case of sensing multiple first markers, the mobile device can determine which first marker has a pairing relationship with which first marker based on a preset pairing rule.

[0120] In some possible implementations, the preset pairing rules include: at least one of a first pairing rule and a second pairing rule; wherein the first pairing rule is a rule based on the distance between every two first markers; and the second pairing rule is a rule based on the identification number of the first marker, and the identification number is determined based on the identification shape of the marker.

[0121] That is to say, there are three ways to design the preset pairing rules:

[0122] Design method 1, the preset pairing rules include a first pairing rule;

[0123] Design method 2, the preset pairing rule includes a second pairing rule;

[0124] Design method three, the preset pairing rules include a first pairing rule and a second pairing rule.

[0125] The first pairing rule and the second pairing rule are described below respectively.

[0126] First pairing rule:

[0127] The first pairing rule is a rule based on the distance between each two first markers, that is, when the mobile device senses that there are multiple first markers, it can determine which first marker has a pairing relationship with which first marker based on the distance between each two first markers. The first pairing rule can be understood as a low-precision pairing rule or a fast heuristic pairing rule, which can quickly determine the pairing relationship between the first markers when a large number of first markers are identified.

[0128] In a possible implementation, the first pairing rule includes: the distance between every two second markers having a pairing relationship is the smallest among the distances between any two first markers among the first markers that have not completed pairing.

[0129] The first pairing rule utilizes a greedy algorithm (or the greedy proximity principle). When the mobile device identifies multiple first markers, it can calculate the distance between each first marker and other first markers, sort the calculated multiple distances by size, and pair the two first markers with the shortest distance, that is, determine that there is a pairing relationship between the two first markers with the shortest distance. After the pairing of these two first markers is completed, the two first markers are determined to be second markers with a pairing relationship, and the two second markers are removed from the first markers that have not completed pairing. Then, continue to determine the two first markers with the closest distance from the multiple first markers that have not completed pairing, and determine that these two first markers have a pairing relationship, and so on, until all pairings are completed or there is only one first marker left that has completed pairing.

[0130] Figure 5 This is a schematic diagram of multiple markers with a pairing relationship provided in the embodiments of the present application.

[0131] like Figure 5 As shown, during the initial detection of the physical space, the mobile device identified six first markers, namely marker A, marker B, marker C, marker D, marker F and marker E. The mobile device calculated the mutual distances between the six first markers based on the perception data and sorted the distances. Among them, the distance between marker B and marker E is the smallest, then the mobile device determines that there is a pairing relationship between marker B and marker E, that is, marker B and marker E can be determined as second markers with a pairing relationship, and marker B and marker E are removed from the first markers that have not been paired. The first markers that have not been paired include marker A, marker C, marker D and marker F. Among them, the distance between marker A and marker F is the smallest, then the mobile device determines that there is a pairing relationship between marker A and marker F, that is, marker A and marker F can be determined as second markers with a pairing relationship. There is a second marker with a pairing relationship, and marker A and marker F are removed from the markers that have not completed the pairing, then the first markers that have not completed the pairing include marker C and marker D. At present, the distance between marker C and marker D is the shortest distance among the first markers that have not completed the pairing. Therefore, the mobile device can determine that there is a pairing relationship between marker C and marker D, that is, marker C and marker D can be determined as second markers with a pairing relationship, and marker C and marker D are removed from the first markers that have not completed the pairing, then there is no first marker that has not completed the pairing.

[0132] It is understandable that the mobile device can move in the physical space, and in the process of the mobile device moving, more first markers can be detected. The mobile device can calculate the distance between the newly detected first marker and other markers (including the first marker and the second marker) based on the newly detected first marker, re-sort them, and re-pair them. In other words, when the mobile device detects a new first marker, the pairing relationship of the second marker can be updated in real time.

[0133] As an example but not a limitation, in the above process of determining the minimum distance, if there are multiple minimum distances of the same size, the mobile device can randomly determine a pair of first markers from the multiple first marker pairs of the same distance, and determine them as the second marker pair with a pairing relationship. For example, the distance between marker B and marker E, the distance between marker A and marker F, and the distance between marker C and marker D are the same and the smallest, then the mobile device can first randomly determine that marker A and marker F are the second marker pair with a pairing relationship, and so on, and then determine the next pair of second marker pairs with a pairing relationship from marker B, marker C, marker D and marker E. This application does not make any limitation to this.

[0134] Second pairing rule:

[0135] The second pairing rule is a rule based on the identification number of the first marker, that is, when the mobile device recognizes that there are multiple first markers, it can determine which first marker's identification number has a pairing relationship with which first marker's identification number based on the identification numbers of the multiple first markers, thereby determining which first marker has a pairing relationship with which first marker. The second pairing rule can be understood as a high-precision pairing rule with high accuracy, but when more first markers are identified, the pairing speed is slow. Among them, the detailed description of the identification number can be found in the relevant content above, and for the sake of brevity, it will not be repeated here.

[0136] In a possible implementation, the second pairing rule includes: the identification numbers of every two second markers having a pairing relationship are consecutive, and the one with a smaller identification number is an odd number, and the one with a larger identification number is an even number.

[0137] As an example and not limitation, for example, the mobile device recognizes 5 first markers, and the identification numbers of these 5 first markers are 000001 (equal to decimal 1), 000010 (equal to decimal 2), 000011 (equal to decimal 3), 000100 (equal to decimal 4) and 000101 (equal to decimal 5), then the mobile device can determine that the first marker with identification number 000001 has a pairing relationship with the first marker with identification number 000010, that is, the first marker with identification number 000001 and the first marker with identification number 000010 can be determined as second markers with a pairing relationship; and the first marker with identification number 000011 has a pairing relationship with the first marker with identification number 000100, that is, the first marker with identification number 000011 and the first marker with identification number 000100 can be determined as second markers with a pairing relationship.

[0138] In addition, the first marker with identification number 000101 has not been paired, and the mobile device can move in the physical space. During the movement of the mobile device, more first markers can be detected. The mobile device can then pair the newly detected first marker with the first marker that is currently unpaired based on the second pairing rule.

[0139] In another possible implementation, the second pairing rule includes: the identification numbers of every two second markers having a pairing relationship are consecutive, and the one with a smaller identification number is an even number, and the one with a larger identification number is an odd number.

[0140] As an example and not limitation, for example, the mobile device recognizes 5 first markers, and the identification numbers of these 5 first markers are 000000 (equal to decimal 0), 000001 (equal to decimal 1), 000010 (equal to decimal 2), 000011 (equal to decimal 3) and 000100 (equal to decimal 4), then the mobile device can determine that the first marker with identification number 000000 has a pairing relationship with the first marker with identification number 000001, that is, the first marker with identification number 000000 and the first marker with identification number 000001 can be determined as second markers with a pairing relationship; and the first marker with identification number 000010 has a pairing relationship with the first marker with identification number 000011, that is, the first marker with identification number 000010 and the first marker with identification number 000011 can be determined as second markers with a pairing relationship.

[0141] In addition, the first marker with identification number 000100 has not been paired, and the mobile device can move in the physical space. During the movement of the mobile device, more first markers can be detected. The mobile device can then pair the newly detected first marker with the first marker that is currently unpaired based on the second pairing rule.

[0142] In yet another possible implementation, the second pairing rule includes: identification numbers of every two second markers having a pairing relationship are the same.

[0143] As an example and not limitation, for example, the mobile device recognizes 5 first markers, and the identification numbers of these 5 first markers are 000000 (equal to decimal 0), 000000, 000001 (equal to decimal 1), 000001 and 000100 (equal to decimal 4), then the mobile device can determine that the two first markers with identification numbers of 000000 have a pairing relationship, that is, the two first markers with identification numbers of 000000 can be determined as second markers with a pairing relationship; and the two first markers with identification numbers of 000001 have a pairing relationship, that is, the two first markers with identification numbers of 000001 can be determined as second markers with a pairing relationship.

[0144] In addition, the first marker with identification number 000100 has not been paired, and the mobile device can move in the physical space. During the movement of the mobile device, more first markers can be detected. The mobile device can then pair the newly detected first marker with the first marker that is currently unpaired based on the second pairing rule.

[0145] If the identification number of the first marker is in binary format, the binary identification number can be converted into decimal format first, and then based on the second pairing rule, it is determined which first marker identification number has a pairing relationship with which first marker identification number, thereby determining which first marker has a pairing relationship with which first marker. This application does not limit this.

[0146] In a possible implementation, the preset pairing rule includes a first pairing rule and a second pairing rule, and the method 200 further includes: switching between the first pairing rule and the second pairing rule based on a preset condition.

[0147] That is to say, when the first pairing rule and the second pairing rule are deployed on the mobile device at the same time, the mobile device can switch to use the first pairing rule and the second pairing rule at any time according to preset conditions.

[0148] As mentioned above, based on the first pairing rule, when a large number of first markers are identified, the pairing relationship between the first markers can be quickly determined; based on the second pairing rule, although it has a higher accuracy, when a large number of first markers are identified, the pairing speed is slower. Therefore, in a possible implementation, the preset condition may include: when the identified first marker is greater than a preset threshold, the first pairing rule is used; or, when the identified first marker is less than or equal to the preset threshold, the second pairing rule is used.

[0149] As an example but not limitation, for example, the preset threshold is 10, when the identified first marker is greater than 10, the mobile device pairs the identified first marker based on the first pairing rule; when the identified first marker is less than or equal to 10, the mobile device pairs the identified first marker based on the second pairing rule.

[0150] In step 230 , a virtual obstacle is generated based on the second marker.

[0151] Virtual obstacles are used to restrict the movement of mobile devices in physical space. As mentioned above, virtual obstacles do not really exist in physical space. For living things (such as people, animals, etc.), virtual obstacles do not affect the movement of living things in the physical space at the position corresponding to the virtual obstacles. For mobile devices, virtual obstacles can restrict the movement of mobile devices in the physical space at the position corresponding to the virtual obstacles, that is, virtual obstacles can restrict the movement of mobile devices between two second markers that have a paired relationship in the physical space.

[0152] After the mobile device determines the second markers with a pairing relationship, it can generate a virtual obstacle based on these second markers with a pairing relationship. For example, the mobile device can mark virtual obstacles of corresponding positions and lengths based on the positions of each two second markers with a pairing relationship and the distance between them. The present application does not limit the specific form of marking virtual obstacles. As an example and not a limitation, for example, virtual obstacles can be marked by symbols, virtual obstacles can be marked by lines, or virtual obstacles can be marked by graphics. As long as the mobile device knows how big a virtual obstacle is at what position, the present application does not impose any limitations on this.

[0153] In some possible implementations, the method 200 further includes: when at least two virtual obstacles among the generated multiple virtual obstacles intersect, adjusting the at least two intersecting virtual obstacles to obtain multiple non-intersecting virtual obstacles.

[0154] In the presence of intersecting virtual obstacles, the mobile device can determine the relevant second markers, that is, generate multiple second markers involved in these intersecting virtual obstacles, and cancel the pairing relationship of these multiple second markers, that is, record these multiple second markers as first markers, and then re-pair these multiple first markers based on preset adjustment rules until multiple non-intersecting virtual obstacles are obtained.

[0155] As an example but not limitation, for example, the preset adjustment rules may include: based on the relationship between each first marker among the multiple first markers and several other first markers among the multiple first markers, pairing the two first markers with the second shortest distance (i.e., the second smallest distance); after the two first markers are paired, the two first markers are removed from the multiple markers, that is, the two first markers are determined as second markers with a pairing relationship; then, the two markers with the second shortest distance are determined among the remaining multiple first markers, and it is determined that the two first markers have a pairing relationship, and so on. Finally, the remaining two first markers are assumed to have a pairing relationship by default.

[0156] In step 240 , a map of the physical space is constructed based on the virtual obstacles.

[0157] After generating the virtual obstacles, the mobile device may construct a map of the physical space based on the virtual obstacles.

[0158] Constructing a map of the physical space may include, before the mobile device detects, in a scenario where there is initially no map, the mobile device constructing and generating a map based on the generated virtual obstacles while detecting; it may also include, in a scenario where there is initially a map of the physical space, adding virtual obstacles to the existing map, that is, updating the existing map based on the generated virtual obstacles.

[0159] In a possible implementation, after constructing a map of the physical space based on the virtual obstacles, the method 200 further includes: performing path planning based on the map of the physical space.

[0160] That is to say, after the mobile device constructs the map of the physical space, the mobile device can perform some path planning tasks based on the constructed map of the physical space.

[0161] As an example but not limitation, for example, in a home scenario, the mobile device may be a sweeping robot. After building a map of the room, the sweeping robot may perform path planning based on the map to complete the task of cleaning the entire house.

[0162] Based on the above scheme, the mobile device generates virtual obstacles by identifying and matching markers pre-placed in the physical space to restrict the mobile device from passing through the position corresponding to the virtual obstacle in the physical space. The scheme does not rely on existing maps. It can automatically add virtual obstacles to existing maps, and can also generate maps marked with virtual obstacles while detecting in scenes without maps. It has high universality.

[0163] In order to implement the steps in the method provided in the above embodiment of the present application, the mobile device may include a hardware structure and / or a software module, and implement the above steps in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether a certain step in the above steps is performed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.

[0164] Figure 6 is a schematic block diagram of a mobile device provided in an embodiment of the present application. Figure 6 As shown, the mobile device 600 may include: a detection module 601, an identification and pairing module 602, a generation module 603 and a map construction module 604. The mobile device 600 may be used to execute the steps in the method 200.

[0165] When the mobile device 600 executes the steps in method 200, the detection module 601 is used to detect the physical space through sensors to obtain perception data; the identification pairing module 602 is used to identify markers with a pairing relationship based on the perception data; the generation module 603 is used to generate virtual obstacles based on the markers with a pairing relationship, and the virtual obstacles are used to restrict the mobile device 600 from traveling in the physical space; the map construction module 604 is used to construct a map of the physical space based on the virtual obstacles.

[0166] The map construction module 604 is used to construct a map of the physical space based on virtual obstacles, which may include: projecting the coordinates and paired lines of paired markers into the cost map generated by the sensor to generate a semantic map, that is, a map marked with the semantics of virtual obstacles. The cost map may be a two-dimensional (2D) grid map constructed by the mobile device 600 from the actual environment of the physical space based on the perception data obtained by the sensor, which is a physical obstacle map obtained by the sensor sensing the physical obstacles. The semantic map may refer to projecting the virtual obstacles into the above-mentioned cost map to obtain a map with the semantic information and location information of the virtual obstacles. This application is not limited to this.

[0167] Optionally, the identification pairing module 602 may be specifically used to: identify markers having a pairing relationship based on the perception data and a preset pairing rule.

[0168] For the relevant description, please refer to the above text. For the sake of brevity, it will not be repeated here.

[0169] Optionally, the preset pairing rule includes a first pairing rule and a second pairing rule, and the identification pairing module 602 may be further configured to: switch between the first pairing rule and the second pairing rule based on a preset condition.

[0170] For the relevant description, please refer to the above text. For the sake of brevity, it will not be repeated here.

[0171] Optionally, the mobile device 600 may further include a path planning module 605. After building a map of the physical space based on the virtual obstacles, the path planning module 605 is used to: perform path planning based on the map of the physical space.

[0172] In addition, the mobile device 600 also includes an adaptive mobile control module 606. When the mobile device 600 detects an odd number of markers, resulting in inability to fully pair, the adaptive mobile control module 606 can be used to control the mobile device 600 to rotate and / or move until an even number of markers are found. That is, the adaptive mobile control module 606 is used to control the mobile device 600 to rotate and / or move when the markers within the current sensing range of the sensor cannot be paired, so as to increase the physical space that the sensor can perceive, so as to obtain the number of markers that can be paired. In the scenario where a part of the markers are in the detection blind spot of the current viewing angle, and the markers with a pairing relationship with them have been perceived by the sensor, the mobile device 600 can move slightly to perceive the markers that were just in the detection blind spot. The control strategy of the adaptive mobile control module 606 can include starting a rapid-exploration random tree for rapid random exploration until a new marker is found.

[0173] In some possible designs, sensors include: radar and / or cameras.

[0174] For a detailed description, please refer to the relevant content above. For the sake of brevity, it will not be repeated here.

[0175] It is understandable that when the sensor does not include visual sensors such as cameras, for example, only using radar for detection can not only solve the hardware cost, but also avoid the use of image recognition technology in the algorithm, that is, there is no need to carry out a large amount of data collection, data labeling, model training and other work, which can save time and manpower costs. In the case where the sensor includes visual sensors such as cameras, in addition to the semantics of virtual obstacles, the map can also include richer semantics, which helps to improve the user experience.

[0176] Taking radar as an example of a sensor, combined with the multiple modules included in the mobile device 600, the method for constructing a map provided by the present application is once again explained.

[0177] Figure 7 It is another schematic flowchart of a method for constructing a map provided in an embodiment of the present application.

[0178] Step 710, detect the physical space through radar and obtain the identification number of the landmark.

[0179] The mobile device can use the detection module to detect the physical space through radar to obtain the identification number of the marker. The obtained identification number may be an odd number or an even number.

[0180] Step 720, determining the number of markers based on the number of identification numbers of the acquired markers.

[0181] One marker has one identification number, and the mobile device can use the identification pairing module to determine the number of markers based on the number of identification numbers of the acquired markers.

[0182] Step 730, when the number of markers is an odd number, rotate and / or move until an even number of identification numbers is obtained.

[0183] When the number of the markers is an odd number, the mobile device may utilize an adaptive motion control module to control the mobile device to rotate and / or move until an even number of identification numbers is obtained.

[0184] Step 740 , pairing the multiple markers based on a preset pairing rule.

[0185] The mobile device may utilize the identification and pairing module to pair the identified multiple markers based on a preset pairing rule.

[0186] For a detailed description of the preset pairing rules, please refer to the relevant content above. For the sake of brevity, it will not be repeated here.

[0187] Step 750: Generate a virtual obstacle based on the paired markers.

[0188] The mobile device may utilize the generation module to generate virtual obstacles based on the markers having a paired relationship.

[0189] Step 760 , projecting the virtual obstacles into the cost map to generate a semantic map.

[0190] The mobile device can use the map building module to project virtual obstacles into the cost map to generate a semantic map.

[0191] For a detailed description of the cost map and semantic map, please refer to the relevant content above. For the sake of brevity, we will not go into details here.

[0192] Step 770, performing path planning based on the semantic map.

[0193] The mobile device can utilize the path planning module to perform path planning based on the semantic map.

[0194] It should be understood that Figure 7 This application is for example only. Figure 7 The order of execution of the steps in is not limited. Figure 7 This should not limit the present application in any way.

[0195] The present application also provides a mobile device, which includes a sensor and a processor; wherein the sensor is used for sensing and detecting, and the processor is used for calling and executing a computer program, so that the mobile device executes the above Figure 2 or Figure 7 The steps involved in any of the embodiments described herein.

[0196] For example, the sensor is used to: detect the physical space where the mobile device is located to obtain perception data, wherein a pre-set first marker is placed in the physical space; the processor is used to: identify a second marker having a pairing relationship in the first marker based on the perception data; generate a virtual obstacle based on the second marker, the virtual obstacle being used to restrict the movement of the mobile device in the physical space; and construct a map of the physical space based on the virtual obstacles.

[0197] For a detailed description, please refer to the above Figure 2 or Figure 7 A related description of the steps involved in any of the embodiments described.

[0198] In some possible implementations, the first marker is an object with a preset identification shape, and the identification shape is used to identify the first marker.

[0199] In some possible implementations, the processor is specifically used to: identify a first marker based on the perception data; and determine a marker among the first markers that satisfies a preset pairing rule as a second marker.

[0200] In some possible implementations, the preset pairing rule includes: at least one of a first pairing rule and a second pairing rule; wherein the first pairing rule is a rule based on the distance between every two first markers; and the second pairing rule is a rule based on the identification number of the first marker, and the identification number is determined based on the shape of the marker.

[0201] In some possible implementations, the first pairing rule includes: the distance between every two second markers having a pairing relationship is the smallest among the distances between any two first markers among the first markers that have not completed pairing.

[0202] In some possible implementations, the processor is further specifically configured to: when at least two virtual obstacles among the generated multiple virtual obstacles intersect, adjust the at least two intersecting virtual obstacles to obtain multiple non-intersecting virtual obstacles.

[0203] In some possible implementations, the second pairing rule includes: the identification numbers of every two second markers that have a pairing relationship are consecutive, and the one with a smaller identification number is an odd number and the one with a larger identification number is an even number; or, the identification numbers of every two second markers that have a pairing relationship are consecutive, and the one with a smaller identification number is an even number and the one with a larger identification number is an odd number; or, the identification numbers of every two second markers that have a pairing are the same.

[0204] In some possible implementations, the identification shape includes a plurality of holes, the hole shapes of the plurality of holes are predefined, and the plurality of holes are used to determine an identification number.

[0205] In some possible implementations, the plurality of apertures in each marker have one or more widths, each width being used to determine one bit in the identification number.

[0206] In some possible implementations, the above-mentioned multiple widths are determined based on the minimum resolution of the sensor.

[0207] In some possible implementations, the multiple widths include a first width and a second width, the second width is M times the first width, M≥2, M is an integer, and the first width is an integer multiple of the minimum resolution of the sensor.

[0208] In some possible implementations, M=2, and the first width is the minimum resolution of the sensor.

[0209] In some possible implementations, the preset pairing rule includes a first pairing rule and a second pairing rule, and the processor is further specifically configured to: switch between the first pairing rule and the second pairing rule based on a preset condition.

[0210] In some possible implementations, the sensor includes: a radar and / or a camera.

[0211] In some possible implementations, the processor is further used to: perform path planning based on a map of the physical space.

[0212] In some possible implementations, the sensor is specifically used to: detect the physical space where the mobile device is located in real time during the movement of the mobile device to obtain perception data.

[0213] For a detailed description, please refer to the relevant content above. For the sake of brevity, it will not be repeated here.

[0214] It should be understood that the mobile devices involved in the present application may include but are not limited to vehicles, robots (such as sweeping robots, food delivery robots, etc.), etc.

[0215] In a possible implementation, the mobile device further includes a memory, the processor is coupled to the memory, and the memory is used to store a computer program called and executed by the processor.

[0216] The present application also provides a marker, which includes a plurality of holes having one or more widths, each of which is used to determine a bit in an identification number, and the identification number is used for a mobile device to identify different markers.

[0217] As mentioned above, the marker has a logo shape, and the logo shape may include a plurality of holes. For a detailed description of the logo shape, please refer to the relevant description above, and for the sake of brevity, it will not be repeated here.

[0218] Figure 8 This is a schematic diagram of a marker provided in an embodiment of the present application.

[0219] like Figure 8 As shown, the marker includes a logo shape, a pole and a base. The logo shape includes a plurality of holes, and the logo shape is used for the sensor to identify the marker; the pole is used to support the part where the logo shape is located. In a possible design, the pole can be a retractable pole to adjust the height of the logo shape so that the marker can adapt to the detection of sensors at different heights; the base is used to stabilize the marker.

[0220] It should be understood that Figure 8 This is only an example and should not limit the present application in any way.

[0221] The present application also provides a chip system, which includes a processor for implementing the above Figure 2 or Figure 7 The functions involved in the steps of moving the device in any of the above embodiments.

[0222] In one possible design, the chip system also includes a memory, which is used to store program instructions and data, and the memory is located inside or outside the processor.

[0223] The chip system may be composed of the chip, or may include the chip and other discrete devices.

[0224] The present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a computer, the computer executes the above Figure 2 or Figure 7 The step of moving the device in any of the embodiments described above.

[0225] The present application also provides a computer program product, including a computer program. When the computer program is executed, the computer executes the above Figure 2 or Figure 7 The step of moving the device in any of the embodiments described above.

[0226] It should be understood that the processor in the embodiment of the present application can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by the hardware integrated logic circuit or software instructions in the processor. The above processor can be a general processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor. 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 the hardware and software modules in the decoding processor can be combined to perform. 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 or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0227] It should also be understood that the memory in the embodiment of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memory. Among them, the non-volatile memory can be a ROM, a programmable read-only memory (programmable ROM, PROM), an erasable programmable read-only memory (erasable PROM, EPROM), an electrically erasable programmable read-only memory (electrically EPROM, EEPROM) or a flash memory. The volatile memory can be a RAM, which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (doubledata rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (synchlink DRAM, SLDRAM) and direct memory bus random access memory (direct rambus RAM, DR RAM). It should be noted that memory of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.

[0228] The terms "unit", "module" and the like used in this specification may be used to represent a computer-related entity, hardware, firmware, a combination of hardware and software, software, or software in execution.

[0229] It will be appreciated by those skilled in the art that the various illustrative logical blocks and steps described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or in combination with 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. In the several embodiments provided in this application, it should be understood that the disclosed devices, equipment and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and 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, 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.

[0230] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0231] In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically separately, or two or more units may be integrated into one module.

[0232] In the above embodiments, the functions of each functional module can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, 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 (programs). When the computer program instructions (programs) are loaded and executed on a computer, the process or function described in 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 device. 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 integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0233] If the functions are implemented in the form of software functional units 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, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, 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 USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.

[0234] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present 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 mobile device, characterized in that: include: Sensors and processors; wherein, The sensor is used to detect the physical space where the mobile device is located to obtain perception data, wherein a pre-set first marker is placed in the physical space; The processor is used to: Identify a second marker having a pairing relationship among the first markers based on the perception data; generating a virtual obstacle based on the second marker, wherein the virtual obstacle is used to restrict the movement of the mobile device in the physical space; A map of the physical space is constructed based on the virtual obstacles.

2. The device according to claim 1, characterized in that The first marker is an object with a preset identification shape, and the identification shape is used to identify the first marker.

3. The device according to claim 2, characterized in that The processor is specifically used for: identifying the first marker based on the sensory data; The markers satisfying the preset pairing rule among the first markers are determined as the second markers.

4. The device according to claim 3, characterized in that The preset pairing rule includes: at least one of a first pairing rule and a second pairing rule; The first pairing rule is a rule based on the distance between every two of the first markers; the second pairing rule is a rule based on the identification number of the first marker, and the identification number is determined based on the shape of the marker.

5. The device according to claim 4, characterized in that The first pairing rule includes: the distance between every two second markers having a pairing relationship is the smallest among the distances between any two first markers among the first markers that have not completed pairing.

6. The device according to claim 5, characterized in that The processor is further specifically configured to: In the case that at least two virtual obstacles among the generated multiple virtual obstacles intersect, the at least two intersecting virtual obstacles are adjusted to obtain multiple non-intersecting virtual obstacles.

7. The device according to claim 4, characterized in that The second pairing rule includes: the identification numbers of every two second markers having a pairing relationship are consecutive, and the smaller identification number is an odd number, and the larger identification number is an even number; or, The identification numbers of every two second markers having a paired relationship are consecutive, and the smaller identification number is an even number, and the larger identification number is an odd number; or, Every two paired second markers have the same identification number.

8. The device according to claim 4 or 7, characterized in that The identification shape includes a plurality of holes, the hole shapes of the plurality of holes are predefined, and the plurality of holes are used to determine an identification number.

9. The device according to claim 8, characterized in that The plurality of apertures have one or more widths, each width being used to determine one bit in the identification number.

10. The device according to claim 9, characterized in that The plurality of widths are determined based on a minimum resolution of the sensor.

11. The device according to claim 10, characterized in that The multiple widths include a first width and a second width, the second width is M times the first width, M≥2, M is an integer, and the first width is an integer multiple of the minimum resolution of the sensor.

12. The device according to claim 11, characterized in that M=2, the first width is the minimum resolution of the sensor.

13. The device according to claim 4, characterized in that The preset pairing rule includes the first pairing rule and the second pairing rule, and the processor is further specifically configured to: Based on a preset condition, the first pairing rule and the second pairing rule are switched to be used.

14. The device according to any one of claims 1 to 13, characterized in that The sensor includes: a radar and / or a camera.

15. The device according to any one of claims 1 to 14, characterized in that The processor is further configured to: Path planning is performed based on the map of the physical space.

16. The device according to any one of claims 1 to 15, characterized in that The sensor is specifically used for: During the movement of the mobile device, the physical space where the mobile device is located is detected in real time to obtain the perception data.

17. A method for constructing a map, characterized in that: The method comprises: Acquire perception data, where the perception data is obtained by detecting a physical space where the mobile device is located through a sensor of the mobile device, wherein a preset first marker is placed in the physical space; Identify a second marker having a pairing relationship among the first markers based on the perception data; generating a virtual obstacle based on the second marker, wherein the virtual obstacle is used to restrict the movement of the mobile device in the physical space; A map of the physical space is constructed based on the virtual obstacles.

18. The method according to claim 17, characterized in that The step of identifying the second marker having a pairing relationship among the first markers based on the perception data includes: identifying the first marker based on the sensory data; The markers satisfying the preset pairing rule among the first markers are determined as the second markers.

19. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed, the computer is caused to perform the method according to claim 17 or 18.

20. A computer program product, characterized in that It comprises a computer program which, when being executed, causes a computer to execute the method as claimed in claim 17 or 18.

Citation Information

Cited By

  • Method for constructing map and related apparatus

    EP4647719A1

  • Method for constructing map and related apparatus

    WO2024208146A1