WO2022170806A1 - Mapping method and apparatus, navigation method and apparatus, electronic device, and readable storage medium - Google Patents

Mapping method and apparatus, navigation method and apparatus, electronic device, and readable storage medium Download PDF

Info

Publication number
WO2022170806A1
WO2022170806A1 PCT/CN2021/131528 CN2021131528W WO2022170806A1 WO 2022170806 A1 WO2022170806 A1 WO 2022170806A1 CN 2021131528 W CN2021131528 W CN 2021131528W WO 2022170806 A1 WO2022170806 A1 WO 2022170806A1
Authority
WO
WIPO (PCT)
Prior art keywords
state
semantic label
node
navigation
semantic
Prior art date
Application number
PCT/CN2021/131528
Other languages
French (fr)
Chinese (zh)
Inventor
刘烨航
成鹏
张广鹏
王旭
Original Assignee
灵动科技(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 灵动科技(北京)有限公司 filed Critical 灵动科技(北京)有限公司
Publication of WO2022170806A1 publication Critical patent/WO2022170806A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/005Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 with correlation of navigation data from several sources, e.g. map or contour matching
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/20Instruments for performing navigational calculations
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/20Instruments for performing navigational calculations
    • G01C21/206Instruments for performing navigational calculations specially adapted for indoor navigation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • G06Q10/047Optimisation of routes or paths, e.g. travelling salesman problem

Abstract

Disclosed in embodiments of the present disclosure are a mapping method and apparatus, a navigation method and apparatus, an electronic device, and a readable storage medium. The mapping method comprises: a node dividing step, wherein a first region is divided into nodes; a node state and position obtaining step, wherein the states and positions of the nodes are obtained; a semantic tag obtaining step, wherein a semantic tag is obtained according to the nodes in the first region; and a semantic tag state obtaining step, wherein the first state and/or the second state of the semantic tag is obtained, the first region being is a region that may be occupied by a mobile device in a specific region. Thus, accurate division on a region and complete marking of states are performed, detailed semantic analysis is performed, and adaptation to changes in a scene is implemented, thereby facilitating flexible scheduling of the mobile device.

Description

地图构建和导航方法、装置、电子设备及可读存储介质Map construction and navigation method, apparatus, electronic device and readable storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求于2021年2月9日提交的中国专利申请号为“CN 202110179020.X”的优先权,其全部内容作为整体并入本申请中。This application claims the priority of the Chinese patent application number "CN 202110179020.X" filed on February 9, 2021, the entire contents of which are incorporated into this application as a whole.
技术领域technical field
本公开涉及导航技术领域,具体涉及地图构建和导航方法、装置、电子设备及可读存储介质。The present disclosure relates to the technical field of navigation, and in particular, to a map construction and navigation method, apparatus, electronic device, and readable storage medium.
背景技术Background technique
在导航领域中,如何设计一个表示环境的地图,并在地图中对移动设备进行导航是重要且关键的问题。同时定位与地图构建(Simultaneous Localization And Mapping,SLAM)是最常用的地图构建方法,通常通过机器人或者其它载体上的各种传感器对数据进行采集和计算,生成对其自身位置姿态的定位和场景地图信息。In the field of navigation, how to design a map that represents the environment and navigate the mobile device in the map is an important and critical issue. Simultaneous Localization And Mapping (SLAM) is the most commonly used method of map construction. It usually collects and calculates data through various sensors on robots or other carriers to generate localization and scene maps of its own position and attitude. information.
在专利文献CN110807782A《一种视觉机器人的地图表示系统及其构建方法》中,采用几何和拓扑的方式构建了场景地图,但是对场景的语义分析并不充分,无法应对复杂的场景,也没有提出结合地图语义进行导航的方法,导致后续的调度开销大,不具有对变化场景的调度柔性。In the patent document CN110807782A "A Map Representation System for Visual Robot and Its Construction Method", the scene map is constructed by means of geometry and topology, but the semantic analysis of the scene is not sufficient, and it cannot deal with complex scenes, nor does it propose The method of navigation combined with map semantics results in a large subsequent scheduling overhead and does not have scheduling flexibility for changing scenarios.
发明内容SUMMARY OF THE INVENTION
为了解决相关技术中的问题,本公开实施例提供地图构建和导航方法、装置、电子设备及可读存储介质。In order to solve the problems in the related art, the embodiments of the present disclosure provide a map construction and navigation method, an apparatus, an electronic device, and a readable storage medium.
第一方面,本公开实施例中提供了一种地图构建方法,包括:节点划分步骤,其中,将第一区域划分为节点;In a first aspect, an embodiment of the present disclosure provides a map construction method, including: a node division step, wherein a first area is divided into nodes;
节点状态与位置获取步骤,其中,获取所述节点的状态和位置;a node state and position acquisition step, wherein the state and position of the node are acquired;
语义标签获取步骤,其中,根据所述第一区域中的所述节点获取语义标签;A semantic label acquiring step, wherein a semantic label is acquired according to the node in the first area;
语义标签状态获取步骤,其中,获取所述语义标签的第一状态和/或第二状态,The step of obtaining the semantic label state, wherein the first state and/or the second state of the semantic label is obtained,
所述第一区域是特定区域中移动设备能占用的区域。The first area is an area in a specific area that can be occupied by a mobile device.
结合第一方面,本公开在第一方面的第一种实现方式中,所述节点划分步骤包括:With reference to the first aspect, in a first implementation manner of the first aspect of the present disclosure, the node division step includes:
根据所述移动设备感知的区域和/或所述移动设备占据的区域,将所述第一区域划分为所述节点。The first area is divided into the nodes according to the area perceived by the mobile device and/or the area occupied by the mobile device.
结合第一方面,本公开在第一方面的第二种实现方式中,In conjunction with the first aspect, the present disclosure is in a second implementation manner of the first aspect,
使用同步定位与建图方法获取所述节点的位置;和/或obtaining the location of the node using a simultaneous localization and mapping method; and/or
使用视觉方法获取所述节点的状态。The state of the node is obtained using a visual method.
结合第一方面,本公开在第一方面的第三种实现方式中,所述节点的状态包括:In conjunction with the first aspect, in a third implementation manner of the first aspect of the present disclosure, the state of the node includes:
占用状态,非占用状态。Occupied state, not occupied state.
结合第一方面的第三种实现方式,本公开在第一方面的第四种实现方式中,所述语义标签 获取步骤包括:In conjunction with the third implementation manner of the first aspect, the present disclosure is in the fourth implementation manner of the first aspect, and the semantic label obtaining step includes:
根据所述第一区域中的所述节点的状态和位置,使用聚类方法获取所述语义标签。The semantic labels are obtained using a clustering method according to the states and positions of the nodes in the first region.
结合第一方面,本公开在第一方面的第五种实现方式中,所述语义标签的第一状态包括:In conjunction with the first aspect, in a fifth implementation manner of the first aspect of the present disclosure, the first state of the semantic tag includes:
畅通状态,拥挤状态,堵塞状态;和/或unblocked state, crowded state, jammed state; and/or
所述语义标签的第二状态包括:The second state of the semantic tag includes:
锁定状态,非锁定状态。Locked state, unlocked state.
结合第一方面的第五种实现方式,本公开在第一方面的第六种实现方式中,在所述语义标签中连接所述语义标签的两侧的连续节点均处于所述占用状态的条件下,所述语义标签的第一状态为所述堵塞状态;With reference to the fifth implementation manner of the first aspect, in the sixth implementation manner of the present disclosure, in the semantic label, the consecutive nodes connecting both sides of the semantic label are all in the occupied state. , the first state of the semantic label is the blocked state;
在所述语义标签中处于所述占用状态的所述节点的数目大于第一阈值,或者所述语义标签中处于所述占用状态的所述节点的比例大于第二阈值的条件下,所述语义标签的第一状态为所述拥挤状态。Under the condition that the number of the nodes in the occupied state in the semantic label is greater than a first threshold, or the proportion of the nodes in the occupied state in the semantic label is greater than a second threshold, the semantic The first state of the tag is the congestion state.
结合第一方面的第五种实现方式,本公开在第一方面的第七种实现方式中,在所述语义标签的第一状态为畅通状态,或所述语义标签的第一状态为拥挤状态且拥挤指数小于或等于第三阈值的条件下,所述语义标签的第二状态为非锁定状态;With reference to the fifth implementation manner of the first aspect, in the seventh implementation manner of the first aspect of the present disclosure, the first state of the semantic label is a smooth state, or the first state of the semantic label is a crowded state and under the condition that the congestion index is less than or equal to the third threshold, the second state of the semantic label is an unlocked state;
在所述语义标签的第一状态为堵塞状态,或所述语义标签的第一状态为拥挤状态且所述拥挤指数大于所述第三阈值的条件下,所述语义标签的第二状态为锁定状态。The second state of the semantic label is locked when the first state of the semantic label is a congestion state, or the first state of the semantic label is a crowded state and the congestion index is greater than the third threshold state.
第二方面,本公开实施例中提供了根据第一方面至第一方面的第七种实现方式任意一项的地图构建方法进行移动设备导航的方法,包括:In a second aspect, an embodiment of the present disclosure provides a method for navigating a mobile device according to the map construction method of any one of the first aspect to the seventh implementation manner of the first aspect, including:
导航起止位置获取步骤,其中,获取所述移动设备的导航起始位置和导航终止位置;a navigation start and end position obtaining step, wherein the navigation start position and the navigation end position of the mobile device are obtained;
导航路径规划步骤,其中,根据所述导航起始位置,所述导航终止位置,所述语义标签的第一状态和/或所述语义标签的第二状态,和所述节点的状态和位置计算导航路径;Navigation path planning step, wherein based on the navigation start position, the navigation end position, the first state of the semantic label and/or the second state of the semantic label, and the state and position of the node are calculated navigation path;
移动步骤,其中,控制所述移动设备沿所述导航路径移动;A moving step, wherein the mobile device is controlled to move along the navigation path;
状态更新步骤,其中,根据所述移动设备的位置和/或所述移动设备的探测结果,更新所述节点的状态,所述语义标签的第一状态和/或所述语义标签的第二状态;A state update step, wherein the state of the node, the first state of the semantic label and/or the second state of the semantic label are updated according to the location of the mobile device and/or the detection result of the mobile device ;
导航路径更新步骤,其中,根据更新后的所述节点的状态,所述语义标签的第一状态和/或所述语义标签的第二状态,和所述节点的状态和位置更新所述导航路径。A navigation path update step, wherein the navigation path is updated according to the updated state of the node, the first state of the semantic label and/or the second state of the semantic label, and the state and position of the node .
结合第二方面,本公开在第二方面的第一种实现方式中,所述导航路径规划步骤包括:With reference to the second aspect, in a first implementation manner of the second aspect of the present disclosure, the navigation path planning step includes:
在所述导航起始位置和所述导航终止位置在同一语义标签之内的条件下,使用拓扑图级路径规划算法计算所述导航路径;Under the condition that the navigation start position and the navigation end position are within the same semantic label, the navigation path is calculated using a topology-graph level path planning algorithm;
在所述导航起始位置和所述导航终止位置不在同一语义标签之内的条件下,使用语义标签级路径规划算法计算所述导航路径。Under the condition that the navigation start position and the navigation end position are not within the same semantic label, the navigation path is calculated using a semantic label-level path planning algorithm.
第三方面,本公开实施例中提供了一种地图构建装置,包括:In a third aspect, an embodiment of the present disclosure provides a map construction apparatus, including:
节点划分模块,被配置为将第一区域划分为节点;a node division module, configured to divide the first area into nodes;
节点状态与位置获取模块,被配置为获取所述节点的状态和位置;a node state and location acquisition module, configured to acquire the state and location of the node;
语义标签获取模块,被配置为根据所述第一区域中的所述节点获取语义标签;a semantic label obtaining module, configured to obtain a semantic label according to the node in the first area;
语义标签状态获取模块,被配置为获取所述语义标签的第一状态和/或第二状态,a semantic tag state acquisition module, configured to acquire the first state and/or the second state of the semantic tag,
所述第一区域是特定区域中移动设备能占用的区域。The first area is an area in a specific area that can be occupied by a mobile device.
结合第三方面,本公开在第三方面的第一种实现方式中,所述节点划分模块还被配置为:With reference to the third aspect, in a first implementation manner of the third aspect of the present disclosure, the node division module is further configured to:
根据所述移动设备感知的区域和/或所述移动设备占据的区域,将所述第一区域中移动设备可能占用的区域划分为所述节点。According to the area perceived by the mobile device and/or the area occupied by the mobile device, an area that may be occupied by the mobile device in the first area is divided into the nodes.
结合第三方面,本公开在第三方面的第二种实现方式中,使用同步定位与建图方法获取所述节点的位置;和/或In conjunction with the third aspect, in a second implementation manner of the third aspect, the present disclosure uses a simultaneous positioning and mapping method to obtain the location of the node; and/or
使用视觉方法获取所述节点的状态。The state of the node is obtained using a visual method.
结合第三方面,本公开在第三方面的第三种实现方式中,所述节点的状态包括:In conjunction with the third aspect, in a third implementation manner of the third aspect of the present disclosure, the state of the node includes:
占用状态,非占用状态。Occupied state, not occupied state.
结合第三方面的第三种实现方式,本公开在第三方面的第四种实现方式中,所述语义标签获取模块还被配置为:With reference to the third implementation manner of the third aspect, in a fourth implementation manner of the third aspect of the present disclosure, the semantic tag obtaining module is further configured to:
根据所述第一区域中的所述节点的状态和位置,使用聚类方法获取所述语义标签。The semantic labels are obtained using a clustering method according to the states and positions of the nodes in the first region.
结合第三方面,本公开在第三方面的第五种实现方式中,所述语义标签的第一状态包括:In conjunction with the third aspect, in a fifth implementation manner of the third aspect of the present disclosure, the first state of the semantic tag includes:
畅通状态,拥挤状态,堵塞状态;和/或unblocked state, crowded state, jammed state; and/or
所述语义标签的第二状态包括:The second state of the semantic tag includes:
锁定状态,非锁定状态。Locked state, unlocked state.
结合第三方面的第五种实现方式,本公开在第三方面的第六种实现方式中,In conjunction with the fifth implementation manner of the third aspect, the present disclosure is in the sixth implementation manner of the third aspect,
在所述语义标签中连接所述语义标签的两侧的连续节点均处于所述占用状态的条件下,所述语义标签的第一状态为所述堵塞状态;Under the condition that the continuous nodes connecting both sides of the semantic label in the semantic label are in the occupied state, the first state of the semantic label is the blocked state;
在所述语义标签中处于所述占用状态的所述节点的数目大于第一阈值,或者所述语义标签中处于所述占用状态的所述节点的比例大于第二阈值的条件下,所述语义标签的第一状态为所述拥挤状态。Under the condition that the number of the nodes in the occupied state in the semantic label is greater than a first threshold, or the proportion of the nodes in the occupied state in the semantic label is greater than a second threshold, the semantic The first state of the tag is the congestion state.
结合第三方面的第五种实现方式,本公开在第三方面的第七种实现方式中,In conjunction with the fifth implementation manner of the third aspect, the present disclosure is in the seventh implementation manner of the third aspect,
在所述语义标签的第一状态为畅通状态,或所述语义标签的第一状态为拥挤状态且拥挤指数小于或等于第三阈值的条件下,所述语义标签的第二状态为非锁定状态;Under the condition that the first state of the semantic label is the unblocked state, or the first state of the semantic label is the crowded state and the congestion index is less than or equal to the third threshold, the second state of the semantic label is the unlocked state ;
在所述语义标签的第一状态为堵塞状态,或所述语义标签的第一状态为拥挤状态且所述拥挤指数大于所述第三阈值的条件下,所述语义标签的第二状态为锁定状态。The second state of the semantic label is locked when the first state of the semantic label is a congestion state, or the first state of the semantic label is a crowded state and the congestion index is greater than the third threshold state.
第四方面,本公开实施例中提供了根据第三方面至第三方面的第七种实现方式任意一项的地图构建装置的移动设备导航装置,包括:In a fourth aspect, an embodiment of the present disclosure provides a mobile device navigation apparatus of the map construction apparatus according to any one of the third aspect to the seventh implementation manner of the third aspect, including:
导航起止位置获取模块,被配置为获取所述移动设备的导航起始位置和导航终止位置;a navigation start and end position acquisition module, configured to acquire a navigation start position and a navigation end position of the mobile device;
导航路径规划模块,被配置为根据所述导航起始位置,所述导航终止位置,所述语义标签的第一状态和/或所述语义标签的第二状态,和所述节点的状态和位置计算导航路径;A navigation path planning module configured to base on the navigation start position, the navigation end position, the first state of the semantic label and/or the second state of the semantic label, and the state and position of the node Calculate the navigation path;
移动模块,被配置为控制所述移动设备沿所述导航路径移动;a movement module configured to control the mobile device to move along the navigation path;
状态更新模块,被配置为根据所述移动设备的位置和/或所述移动设备的探测结果,更新所述节点的状态,所述语义标签的第一状态和/或所述语义标签的第二状态;A state update module, configured to update the state of the node, the first state of the semantic label and/or the second state of the semantic label according to the location of the mobile device and/or the detection result of the mobile device state;
导航路径更新模块,被配置为根据更新后的所述节点的状态,所述语义标签的第一状态和/或所述语义标签的第二状态,和所述节点的状态和位置更新所述导航路径。A navigation path update module configured to update the navigation according to the updated state of the node, the first state of the semantic label and/or the second state of the semantic label, and the state and position of the node path.
结合第四方面,本公开在第四方面的第一种实现方式中,所述导航路径规划模块还被配置为:In conjunction with the fourth aspect, in a first implementation manner of the fourth aspect of the present disclosure, the navigation path planning module is further configured to:
在所述导航起始位置和所述导航终止位置在同一语义标签之内的条件下,使用拓扑图级路径规划算法计算所述导航路径;Under the condition that the navigation start position and the navigation end position are within the same semantic label, the navigation path is calculated using a topology-graph level path planning algorithm;
在所述导航起始位置和所述导航终止位置不在同一语义标签之内的条件下,使用语义标签级路径规划算法计算所述导航路径。Under the condition that the navigation start position and the navigation end position are not within the same semantic label, the navigation path is calculated using a semantic label-level path planning algorithm.
第五方面,本公开实施例中提供了一种电子设备,包括存储器和处理器;其中,In a fifth aspect, an embodiment of the present disclosure provides an electronic device, including a memory and a processor; wherein,
所述存储器用于存储一条或多条计算机指令,其中,所述一条或多条计算机指令被所述处理器执行以实现如第一方面、第一方面的第一种实现方式到第九种实现方式任一项所述的方法。The memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the first aspect, the first implementation manner to the ninth implementation of the first aspect The method of any one of the methods.
第六方面,本公开实施例中提供了一种可读存储介质,其上存储有计算机指令,该计算机指令被处理器执行时实现如第一方面、第一方面的第一种实现方式到第九种实现方式任一项所述的方法。In a sixth aspect, an embodiment of the present disclosure provides a readable storage medium on which computer instructions are stored, and when the computer instructions are executed by a processor, implement the first aspect, the first implementation manner of the first aspect to the sixth aspect. The method described in any one of the nine implementation manners.
本公开实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
根据本公开的实施方式,通过节点划分步骤,其中,将第一区域划分为节点;节点状态与位置获取步骤,其中,获取节点的状态和位置;语义标签获取步骤,其中,根据第一区域中的节点获取语义标签;语义标签状态获取步骤,其中,获取语义标签的第一状态和/或第二状态,第一区域是特定区域中移动设备可能占用的区域,从而对区域进行精准划分和状态的完备标记,进行详细的语义分析,并且适应场景的变化,方便对移动设备的柔性调度。According to an embodiment of the present disclosure, through a node division step, in which the first area is divided into nodes; a node state and position acquisition step, in which the state and position of a node are acquired; and a semantic label acquisition step, in which according to the first area The node of the node obtains the semantic label; the step of obtaining the semantic label state, in which the first state and/or the second state of the semantic label is obtained, and the first area is the area that may be occupied by the mobile device in the specific area, so as to accurately divide the area and determine the state. Complete markup, detailed semantic analysis, and adapt to scene changes, facilitating flexible scheduling of mobile devices.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
结合附图,通过以下非限制性实施方式的详细描述,本公开的其它特征、目的和优点将变得更加明显。在附图中:Other features, objects and advantages of the present disclosure will become more apparent from the following detailed description of non-limiting embodiments, taken in conjunction with the accompanying drawings. In the attached image:
图1a示出根据本公开一实施方式的地图构建方法的实施场景的示例性示意图;Fig. 1a shows an exemplary schematic diagram of an implementation scenario of a map construction method according to an embodiment of the present disclosure;
图1b示出根据本公开一实施方式的地图构建方法的实施场景的示例性示意图;Fig. 1b shows an exemplary schematic diagram of an implementation scenario of a map construction method according to an embodiment of the present disclosure;
图1c示出根据本公开一实施方式的导航方法的实施场景的示例性示意图;Fig. 1c shows an exemplary schematic diagram of an implementation scenario of a navigation method according to an embodiment of the present disclosure;
图1d示出根据本公开一实施方式的导航方法的实施场景的示例性示意图;Fig. 1d shows an exemplary schematic diagram of an implementation scenario of a navigation method according to an embodiment of the present disclosure;
图2示出根据本公开一实施方式的地图构建方法的流程图;FIG. 2 shows a flowchart of a map construction method according to an embodiment of the present disclosure;
图3示出根据本公开一实施方式的导航方法的流程图;FIG. 3 shows a flowchart of a navigation method according to an embodiment of the present disclosure;
图4示出根据本公开一实施方式的地图构建装置的结构框图;4 shows a structural block diagram of a map construction apparatus according to an embodiment of the present disclosure;
图5示出根据本公开一实施方式的导航装置的结构框图;FIG. 5 shows a structural block diagram of a navigation device according to an embodiment of the present disclosure;
图6示出根据本公开一实施方式的电子设备的结构框图;6 shows a structural block diagram of an electronic device according to an embodiment of the present disclosure;
图7是适于用来实现根据本公开一实施方式的地图构建方法和导航方法的计算机系统的结 构示意图。Fig. 7 is a schematic structural diagram of a computer system suitable for implementing a map construction method and a navigation method according to an embodiment of the present disclosure.
具体实施方式Detailed ways
下文中,将参考附图详细描述本公开的示例性实施方式,以使本领域技术人员可容易地实现它们。此外,为了清楚起见,在附图中省略了与描述示例性实施方式无关的部分。Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. Also, for the sake of clarity, parts unrelated to describing the exemplary embodiments are omitted from the drawings.
在本公开中,应理解,诸如“包括”或“具有”等的术语旨在指示本说明书中所公开的标签、数字、步骤、行为、部件、部分或其组合的存在,并且不欲排除一个或多个其他标签、数字、步骤、行为、部件、部分或其组合存在或被添加的可能性。In the present disclosure, it should be understood that terms such as "comprising" or "having" are intended to indicate the presence of labels, numbers, steps, acts, components, parts, or combinations thereof disclosed in this specification, and are not intended to exclude a or multiple other labels, numbers, steps, acts, parts, sections, or combinations thereof may exist or be added.
另外还需要说明的是,在不冲突的情况下,本公开中的实施例及实施例中的标签可以相互组合。下面将参考附图并结合实施例来详细说明本公开。In addition, it should be noted that the embodiments in the present disclosure and the tags in the embodiments may be combined with each other under the condition of no conflict. The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
在导航领域中,如何设计一个表示环境的地图,并在地图中对移动设备进行导航是重要且关键的问题。同时定位与地图构建(Simultaneous Localization And Mapping,SLAM)是最常用的地图构建方法,通常通过机器人或者其它载体上的各种传感器对数据进行采集和计算,生成对其自身位置姿态的定位和场景地图信息。In the field of navigation, how to design a map that represents the environment and navigate the mobile device in the map is an important and critical issue. Simultaneous Localization And Mapping (SLAM) is the most commonly used method of map construction. It usually collects and calculates data through various sensors on robots or other carriers to generate localization and scene maps of its own position and attitude. information.
为了解决上述问题,本公开提出一种地图构建和导航方法、装置、电子设备及可读存储介质。In order to solve the above problems, the present disclosure proposes a map construction and navigation method, apparatus, electronic device and readable storage medium.
图1a示出根据本公开一实施方式的地图构建方法的实施场景的示例性示意图。Fig. 1a shows an exemplary schematic diagram of an implementation scenario of a map construction method according to an embodiment of the present disclosure.
本领域普通技术人员可以理解,图1a示例性地示出了地图构建方法的实施场景,而不构成对本公开的限制。Those of ordinary skill in the art can understand that FIG. 1a exemplarily shows an implementation scenario of the map construction method, and does not constitute a limitation to the present disclosure.
如图1a所示,在端点ABCD围成的例如货仓的特定区域100中,具有货架1、货架2、货架3、货架4、货架5、货架6。例如自动搬运机器人的移动设备可以在货仓中除货架外的区域,即第一区域中移动,并完成对货架上的货物的存取操作。As shown in FIG. 1a , in a specific area 100, such as a warehouse, surrounded by endpoints ABCD, there are rack 1, rack 2, rack 3, rack 4, rack 5, and rack 6. A mobile device such as an automatic handling robot can move in an area other than the shelves in the warehouse, that is, the first area, and complete the access operation to the goods on the shelves.
在本公开的实施例中,可以根据一个自动搬运机器人能够感知的区域,或者一个自动搬运机器人所占用的区域,将第一区域划分为节点。例如,图1a中的节点101。节点101可以是空闲的上边位1、上边位2,也可以是被自动搬运机器人占用的停车位1左4。在图1a及下述图1b~图1d中,被自动搬运机器人占用的节点以灰色标识出来。通过以上划分节点的方式,在第一区域中划分出若干节点,例如上边位1...上边位9,左边位1-1......左边位1-16,主干道1-2......主干道113等。自动搬运机器人的感知可以采用机械臂触觉感知,或者超声波感知,或者其它感知方式,本公开对此不作限制。In the embodiment of the present disclosure, the first area may be divided into nodes according to an area that an automatic handling robot can perceive, or an area occupied by an automatic handling robot. For example, node 101 in Figure 1a. The node 101 may be an idle upper space 1 and an upper space 2, or may be a parking space 1 left 4 occupied by an automatic handling robot. In Figure 1a and the following Figures 1b to 1d, the nodes occupied by the automatic handling robot are marked in gray. Through the above method of dividing nodes, a number of nodes are divided in the first area, for example, the upper position 1...the upper position 9, the left position 1-1...the left position 1-16, the main road 1-2 ...arterial road 113 etc. The perception of the automatic handling robot may be tactile perception of a robotic arm, or ultrasonic perception, or other perception methods, which are not limited in the present disclosure.
在图1a中,可以使用例如同步定位与建图(synchronous Location and Mapping,SLAM)方法等的定位方法获取节点的位置,可以采用例如自动搬运机器人的机器视觉的视觉方法获取节点的状态,例如节点是否被占用的状态。自动搬运机器人也可以通过自身处于某个节点,来标识该节点处于占用状态。In Figure 1a, the position of the node can be obtained using a positioning method such as a synchronous Location and Mapping (SLAM) method, and the state of the node can be obtained using a visual method such as machine vision of an automatic handling robot, such as a node occupied state. The automatic handling robot can also identify that the node is in an occupied state by being in a certain node.
在本公开的实施例中,节点的状态信息还可以包括相邻的节点的状态信息,从而方便对多个节点的整体分析,方便自动搬运机器人的移动。In the embodiment of the present disclosure, the state information of the nodes may also include the state information of adjacent nodes, so as to facilitate the overall analysis of the multiple nodes and facilitate the movement of the automatic handling robot.
本领域普通技术人员可以理解,特定区域100除了是货仓,还可以是生产车间等其它区域, 自动搬运机器人可以占用的第一区域可能随着货仓中货架位置的变动或者生产车间中生产线的调整等而发生变动,本公开对此不作限定。移动设备除了是自动搬运机器人,还可以是自动叉车、自动检测机器人等其它移动设备,本公开对此不作限定。除了SLAM方法,还可以采用超声波、无线定位等方法获取节点的位置,本公开对此不作限定。Those skilled in the art can understand that the specific area 100 may be other areas such as a production workshop in addition to a warehouse, and the first area that the automatic handling robot can occupy may vary with the position of the shelves in the warehouse or the production line in the production workshop. Changes may occur due to adjustments, etc., which are not limited in the present disclosure. In addition to an automatic handling robot, the mobile device may also be other mobile devices such as an automatic forklift, an automatic detection robot, etc., which is not limited in the present disclosure. In addition to the SLAM method, methods such as ultrasound and wireless positioning can also be used to obtain the location of the node, which is not limited in the present disclosure.
图1b示出根据本公开一实施方式的地图构建方法的实施场景的示例性示意图。Fig. 1b shows an exemplary schematic diagram of an implementation scenario of a map construction method according to an embodiment of the present disclosure.
本领域普通技术人员可以理解,图1b示例性地示出了地图构建方法的实施场景,而不构成对本公开的限制。Those of ordinary skill in the art can understand that FIG. 1b exemplarily shows an implementation scenario of the map construction method, and does not constitute a limitation to the present disclosure.
如图1b所示,可以采用例如K-means聚类的聚类方式,对图1a中的节点进行聚类,得到语义标签。最终得到的语义标签可以是上边通道111、下边通道112、左边通道1 1131、左边通道2 1132、巷道1 1141、巷道2 1142、巷道3 1143、巷道4 1144、右边通道1 1151、右边通道2 1152。As shown in Figure 1b, a clustering method such as K-means clustering can be used to cluster the nodes in Figure 1a to obtain semantic labels. The resulting semantic labels can be upper channel 111, lower channel 112, left channel 1 1131, left channel 2 1132, road 1 1141, road 2 1142, road 3 1143, road 4 1144, right channel 1 1151, right channel 2 1152 .
在本公开的实施例中,语义标签的第一状态可以包括:畅通状态,拥挤状态和堵塞状态。例如,左边通道1 1131中没有任何节点处于占用状态,左边通道1 1131的第一状态是畅通状态;巷道4 1144连接两侧的连续节点1171、1172均处于占用状态,巷道4 1144的第一状态是堵塞状态。巷道3 1143中的5个节点1161、1162、1163、1164、1165处于占用状态,处于占用状态的节点数大于例如3的第一阈值,巷道3 1143的第一状态是拥挤状态。语义标签的第一状态用于标识语义标签的拥塞程度。In an embodiment of the present disclosure, the first state of the semantic label may include: a clear state, a congested state, and a blocked state. For example, no node in the left channel 1 1131 is in the occupied state, the first state of the left channel 1 1131 is the unblocked state; the continuous nodes 1171 and 1172 on both sides of the roadway 4 1144 are in the occupied state, and the first state of the roadway 4 1144 is in the occupied state. is a blocked state. The 5 nodes 1161, 1162, 1163, 1164, and 1165 in the roadway 3 1143 are in an occupied state, and the number of nodes in the occupied state is greater than the first threshold such as 3, and the first state of the roadway 3 1143 is a crowded state. The first state of the semantic label is used to identify the congestion level of the semantic label.
在本公开的实施例中,也可以采用语义标签中占用状态的节点比例大于第二阈值,例如大于1/4,从而判断语义标签的第一状态是拥挤状态。In the embodiment of the present disclosure, the proportion of nodes in the occupied state in the semantic label may also be greater than the second threshold, for example, greater than 1/4, so as to determine that the first state of the semantic label is the crowded state.
在本公开的实施例中,可以优先调度搬运机器人通过畅通状态的语义标签,其次调度搬运机器人通过拥挤状态的语义标签。而对于堵塞状态的语义标签,可以不调度搬运机器人通过。In the embodiment of the present disclosure, the handling robot may be scheduled to pass the semantic label of the unblocked state first, and then the handling robot may be scheduled to pass the semantic label of the crowded state. For the semantic label in the blocked state, the handling robot may not be scheduled to pass through.
在本公开的实施例中,语义标签的第二状态可以包括:锁定状态和非锁定状态。非锁定状态下的语义标签可以被调度,锁定状态下的语义标签不能被调度。In an embodiment of the present disclosure, the second state of the semantic tag may include a locked state and an unlocked state. Semantic tags in unlocked state can be scheduled, but semantic tags in locked state cannot be scheduled.
在本公开的实施例中,在语义标签的第一状态是畅通状态的条件下,语义标签的第二状态是非锁定状态。在语义标签的第一状态是堵塞状态的条件下,语义标签的第二状态是锁定状态。在语义标签的第一状态是拥挤状态,且拥挤指数小于或者等于例如0.2的第三阈值的条件下,语义标签的第二状态是非锁定状态;在语义标签的第一状态是拥挤状态,且拥挤指数大于例如0.2的第三阈值的条件下,语义标签的第二状态是锁定状态。In the embodiment of the present disclosure, under the condition that the first state of the semantic label is the unblocked state, the second state of the semantic label is the unlocked state. Under the condition that the first state of the semantic label is the blocked state, the second state of the semantic label is the locked state. Under the condition that the first state of the semantic label is a crowded state, and the congestion index is less than or equal to a third threshold such as 0.2, the second state of the semantic label is an unlocked state; the first state of the semantic label is a crowded state, and the crowded state The second state of the semantic label is a locked state under the condition that the index is greater than a third threshold, eg, 0.2.
在本公开的实施例中,左边通道1 1131的第二状态是非锁定状态,可被导航调度;巷道41144的第二状态是锁定状态,不能被导航调度。巷道3 1143虽然没有完全堵塞,但是其中处于占用状态的节点较多,拥挤指数大于第三阈值,后续搬运机器人难以通过,其第二状态是锁定状态,也不能被导航调度。In the embodiment of the present disclosure, the second state of the left lane 1 1131 is an unlocked state and can be scheduled by navigation; the second state of the lane 41144 is a locked state and cannot be scheduled by navigation. Although the roadway 3 1143 is not completely blocked, there are many nodes in the occupied state, and the congestion index is greater than the third threshold. It is difficult for the subsequent handling robot to pass through. The second state is the locked state and cannot be navigated and dispatched.
本领域普通技术人员可以理解,除了K-means聚类,还可以采用均值漂移聚类、基于密度的聚类的方式,或者其它聚类方式,从节点得到语义标签,本公开对此不作限定。第三阈值也可以是其它数值,本公开对此不作限定。Those of ordinary skill in the art can understand that, in addition to K-means clustering, mean shift clustering, density-based clustering, or other clustering methods can also be used to obtain semantic labels from nodes, which are not limited in this disclosure. The third threshold may also be other values, which are not limited in the present disclosure.
本领域普通技术人员可以理解,随着货仓中货架位置的变动或者生产车间中生产线的调整 等而发生变动,以及移动设备的运动和/或货仓、生产车间中人的运动等,节点状态、语义标签的状态均可以发生变动。Those of ordinary skill in the art can understand that changes occur with changes in the positions of shelves in the warehouse or adjustments of production lines in the production workshop, etc., as well as the movement of mobile equipment and/or the movement of people in the warehouse and production workshop, etc., the node status , the status of semantic tags can be changed.
图1c示出根据本公开一实施方式的导航方法的实施场景的示例性示意图。Fig. 1c shows an exemplary schematic diagram of an implementation scenario of a navigation method according to an embodiment of the present disclosure.
本领域普通技术人员可以理解,图1c示例性地示出了导航方法的实施场景,而不构成对本公开的限制。Those skilled in the art can understand that FIG. 1c exemplarily shows an implementation scenario of the navigation method, and does not constitute a limitation to the present disclosure.
如图1c所示,搬运机器人A从节点121出发,需要到节点122或者123处存取货物。例如,搬运机器人需要存放货物,而节点122和123对应的货架位置均具有合适的空闲储位;或者搬运机器人需要取出货物a,而在节点122和123对应的货架位置均存放有货物a。As shown in FIG. 1 c , the transfer robot A starts from the node 121 and needs to access the goods at the node 122 or 123 . For example, the handling robot needs to store goods, and the shelf positions corresponding to nodes 122 and 123 have suitable free storage spaces; or the handling robot needs to take out the goods a, and the shelf positions corresponding to the nodes 122 and 123 both store the goods a.
在本公开的实施例中,在导航任务中,导航起始位置可以是节点121,导航终止位置可以是节点122或123。由于节点123所在的语义标签巷道3 1143处于拥挤状态、锁定状态,不能被调度,因此选择节点122作为最终的导航终止位置。根据各语义标签的第一状态和第二状态,以及各节点的状态和位置计算导航路径124为:左边通道2 1132-->主干道113-->左边通道11131-->上边通道111-->巷道2 1142。In the embodiment of the present disclosure, in the navigation task, the navigation start position may be node 121 , and the navigation end position may be node 122 or 123 . Since the semantic label lane 3 1143 where the node 123 is located is in a congested state and locked state and cannot be scheduled, node 122 is selected as the final navigation termination position. According to the first state and the second state of each semantic label, and the state and position of each node, the navigation path 124 is calculated as: left channel 2 1132--> main road 113--> left channel 11131--> upper channel 111-- > Lane 2 1142.
在本公开的实施例中,在导航起始位置和导航终止位置在不同语义标签之内的条件下,例如前述的导航起始位置是节点121,位于下边通道112,导航终止位置是节点122,位于上边通道111,可以采用语义标签级路径规划算法计算导航路径。语义标签级路径规划算法可以利用例如语义标签间的拓扑连接关系进行计算,或者语义标签间的其它关系进行计算。In the embodiment of the present disclosure, under the condition that the navigation start position and the navigation end position are within different semantic labels, for example, the aforementioned navigation start position is node 121, which is located in the lower channel 112, and the navigation end position is node 122. Located in the upper channel 111, the navigation path can be calculated using a semantic tag-level path planning algorithm. The semantic label-level path planning algorithm may use, for example, the topological connection relationship between semantic labels to perform computation, or other relationships between semantic labels to perform computation.
图1d示出根据本公开一实施方式的导航方法的实施场景的示例性示意图。Fig. 1d shows an exemplary schematic diagram of an implementation scenario of a navigation method according to an embodiment of the present disclosure.
本领域普通技术人员可以理解,图1d示例性地示出了导航方法的实施场景,而不构成对本公开的限制。Those of ordinary skill in the art can understand that FIG. 1d exemplarily shows an implementation scenario of the navigation method, and does not constitute a limitation to the present disclosure.
如图1d所示,搬运机器人A移动到节点131处时,语义标签左边通道1 1131的节点132被搬运机器人B占用,处于占用状态。此时语义标签左边通道1 1131的第一状态更新为堵塞状态,第二状态更新为锁定状态,搬运机器人A无法按照图1c中的原导航路径124移动。根据各语义标签的第一状态和第二状态,以及各节点的状态和位置,更新搬运机器人A的导航路径为133:左边通道2 1132-->主干道113-->巷道2 1142。搬运机器人A处于节点131,而导航终止位置处于节点122时,节点131与节点122不在同一语义标签中,采用语义标签级路径规划算法进行路径规划。当搬运机器人A沿导航路径133移动到语义标签巷道2 1142中,搬运机器人A所处的节点和导航终止位置在同一语义标签之内,可以采用拓扑图级路径规划算法计算导航路径。拓扑图级路径规划算法可以利用例如语义标签中的节点间的拓扑连接关系进行计算,或者其它拓扑关系进行计算。As shown in Fig. 1d, when the handling robot A moves to the node 131, the node 132 of the channel 1 1131 on the left side of the semantic label is occupied by the handling robot B and is in an occupied state. At this time, the first state of the channel 1 1131 on the left side of the semantic label is updated to the blocked state, the second state is updated to the locked state, and the handling robot A cannot move according to the original navigation path 124 in FIG. 1c. According to the first state and second state of each semantic label, as well as the state and position of each node, the navigation path of the updated handling robot A is 133: left channel 2 1132 --> main road 113 --> roadway 2 1142. When the handling robot A is at node 131 and the navigation end position is at node 122, node 131 and node 122 are not in the same semantic label, and a semantic label-level path planning algorithm is used to plan the route. When the handling robot A moves to the semantic label lane 2 1142 along the navigation path 133, the node where the handling robot A is located and the navigation termination position are within the same semantic label, and the navigation path can be calculated by using a topology-level path planning algorithm. The topology-graph-level path planning algorithm can perform computation by using, for example, the topological connection relationship between nodes in the semantic label, or other topological relationships.
搬运机器人A最终沿更新后的导航路径133移动,到达节点122,完成货物的存取。The transfer robot A finally moves along the updated navigation path 133, reaches the node 122, and completes the access to the goods.
本领域普通技术人员可以理解,图1d中语义标签左边通道1 1131的节点132被搬运机器人B占用,处于占用状态,可以是搬运机器人A检测到的,也可以是搬运机器人B标记的。图1c、图1d中的导航路径计算和更新,可以由各搬运机器人根据语义标签的状态、节点的状态和位置自主计算完成,并自主控制移动;也可以由控制多个搬运机器人的中央控制系统计算完成,再控制各搬运机器人移动,本公开对此不作限定。Those of ordinary skill in the art can understand that the node 132 of the channel 1 1131 on the left side of the semantic label in FIG. 1d is occupied by the handling robot B and is in an occupied state, which may be detected by the handling robot A or marked by the handling robot B. The calculation and update of the navigation path in Figure 1c and Figure 1d can be completed by each handling robot according to the state of the semantic label, the state and position of the node, and autonomously control the movement; it can also be controlled by the central control system of multiple handling robots. After the calculation is completed, each transport robot is controlled to move, which is not limited in the present disclosure.
图2示出根据本公开一实施方式的地图构建方法的流程图。FIG. 2 shows a flowchart of a map construction method according to an embodiment of the present disclosure.
如图2所示,地图构建方法包括:步骤S201、S202、S203、S204。As shown in Fig. 2, the map construction method includes steps S201, S202, S203, and S204.
在步骤S201中,将第一区域划分为节点。In step S201, the first area is divided into nodes.
在步骤S202中,获取节点的状态和位置。In step S202, the state and position of the node are acquired.
在步骤S203中,根据第一区域中的节点获取语义标签。In step S203, a semantic label is acquired according to the nodes in the first area.
在步骤S204中,获取语义标签的第一状态和/或第二状态。In step S204, the first state and/or the second state of the semantic tag is acquired.
第一区域是特定区域中移动设备能占用的区域。The first area is an area in a particular area that can be occupied by a mobile device.
在本公开的实施例中,第一区域可以是图1a所示的货仓区域100中,除货架外的例如自动搬运机器人的移动设备可以占用的区域。可以将第一区域划分为节点,例如上边位1...上边位9,左边位1-1......左边位1-16,主干道1-2......主干道113等,并获取节点的状态和位置。可以根据第一区域中的节点获取语义标签,例如对节点进行聚集的方式获取语义标签。语义标签可以是图1b中所示的各种通道,例如上边通道111,左边通道1 1131,主干道113等。可以获取语义标签的第一状态和/或第二状态,第一状态用于标识该语义标签的拥塞程度,第二状态用于标识该语义标签是否被锁定,进而是否可以被导航调度。In an embodiment of the present disclosure, the first area may be an area in the warehouse area 100 shown in FIG. 1a that may be occupied by mobile devices such as automatic handling robots other than the shelves. The first area can be divided into nodes, for example, the upper position 1...the upper position 9, the left position 1-1...the left position 1-16, the main road 1-2...the main road 113, etc., and get the state and position of the node. The semantic label may be obtained according to the nodes in the first area, for example, by aggregating the nodes to obtain the semantic label. Semantic labels can be various channels shown in Figure 1b, such as upper channel 111, left channel 1 1131, main road 113, etc. The first state and/or the second state of the semantic label can be acquired, the first state is used to identify the congestion level of the semantic label, and the second state is used to identify whether the semantic label is locked, and further whether it can be navigated and scheduled.
根据本公开的实施方式,通过节点划分步骤,其中,将第一区域划分为节点;节点状态与位置获取步骤,其中,获取节点的状态和位置;语义标签获取步骤,其中,根据第一区域中的节点获取语义标签;语义标签状态获取步骤,其中,获取语义标签的第一状态和/或第二状态,第一区域是特定区域中移动设备能占用的区域,从而对区域进行精准划分和状态的完备标记,进行详细的语义分析,并且适应场景的变化,方便对移动设备的柔性调度。According to an embodiment of the present disclosure, through a node division step, in which the first area is divided into nodes; a node state and position acquisition step, in which the state and position of a node are acquired; and a semantic label acquisition step, in which according to the first area The node of the node obtains the semantic label; the step of obtaining the semantic label state, wherein the first state and/or the second state of the semantic label is obtained, and the first area is the area that can be occupied by the mobile device in a specific area, so as to accurately divide the area and determine the state. Complete markup, detailed semantic analysis, and adapt to scene changes, facilitating flexible scheduling of mobile devices.
在本公开的实施例中,可以根据移动设备的例如触觉感知、超声波感知所感知的区域,和/或移动设备占据的区域,将第一区域划分为节点。In the embodiment of the present disclosure, the first area may be divided into nodes according to the area sensed by the mobile device, eg, tactile perception, ultrasonic perception, and/or the area occupied by the mobile device.
根据本公开的实施方式,通过节点划分步骤包括:根据移动设备感知的区域和/或移动设备占据的区域,将第一区域划分为节点,从而对区域进行精准划分和状态的完备标记,进行详细的语义分析,并且适应场景的变化,方便对移动设备的柔性调度。According to an embodiment of the present disclosure, the step of dividing the nodes includes: dividing the first area into nodes according to the area perceived by the mobile device and/or the area occupied by the mobile device, so as to accurately divide the area and complete the marking of the state, and carry out detailed Semantic analysis, and adapt to changes in the scene, to facilitate flexible scheduling of mobile devices.
在本公开的实施例中,可以采用例如同步定位与建图(SLAM)方法获取节点的位置,可以采用视觉方法获取节点的状态。In the embodiment of the present disclosure, the position of the node may be acquired by, for example, a simultaneous localization and mapping (SLAM) method, and the state of the node may be acquired by a visual method.
根据本公开的实施方式,通过使用同步定位与建图方法获取节点的位置;和/或使用视觉方法获取节点的状态,从而对区域进行精准划分和状态的完备标记,进行详细的语义分析,并且适应场景的变化,方便对移动设备的柔性调度。According to an embodiment of the present disclosure, the position of the node is obtained by using a simultaneous localization and mapping method; and/or the state of the node is obtained by using a visual method, so as to accurately divide the area and complete the marking of the state, perform detailed semantic analysis, and Adapt to changes in the scene and facilitate flexible scheduling of mobile devices.
本领域普通技术人员可以理解,还可以采用超声波、无线定位等其它定位方法获取节点位置,移动设备也可以根据自身的位置标识节点的状态,本公开对此不作限定。Those of ordinary skill in the art can understand that other positioning methods such as ultrasound and wireless positioning can also be used to obtain the node position, and the mobile device can also identify the state of the node according to its own position, which is not limited in the present disclosure.
在本公开的实施例中,节点状态可以包括:占用状态,非占用状态。节点的占用状态可以是被移动设备占用,也可以是被人占用,或者被暂时放置的货物等其它方式占用,本公开对比不作限定。In the embodiment of the present disclosure, the node state may include: an occupied state and a non-occupied state. The occupancy status of a node may be occupied by a mobile device, or occupied by a person, or occupied by temporarily placed goods, etc., which is not limited in the present disclosure.
根据本公开的实施方式,通过节点的状态包括:占用状态,非占用状态,从而对区域进行精准划分和状态的完备标记,进行详细的语义分析,并且适应场景的变化,方便对移动设备的 柔性调度。According to the embodiments of the present disclosure, the states of the nodes include: occupied state and non-occupied state, so as to accurately divide the area and complete the state mark, carry out detailed semantic analysis, and adapt to the change of the scene, so as to facilitate the flexibility of the mobile device. schedule.
在本公开的实施例中,可以采用例如K-means聚类的方法,根据第一区域中的节点的状态和位置,使用聚类方法获取语义标签。In the embodiment of the present disclosure, a method such as K-means clustering may be adopted, and a semantic label may be obtained by using the clustering method according to the state and position of the nodes in the first area.
根据本公开的实施方式,通过语义标签获取步骤包括:根据第一区域中的节点的状态和位置,使用聚类方法获取语义标签,从而对区域进行精准划分和状态的完备标记,进行详细的语义分析,并且适应场景的变化,方便对移动设备的柔性调度。According to an embodiment of the present disclosure, the step of obtaining semantic labels includes: according to the states and positions of nodes in the first area, using a clustering method to obtain semantic labels, so as to accurately divide the area and complete the labeling of the state, and perform detailed semantic Analysis, and adapt to changes in the scene, to facilitate flexible scheduling of mobile devices.
本领域普通技术人员可以理解,除了K-means聚类,还可以采用均值漂移聚类、基于密度的聚类的方式,或者其它聚类方式,从节点得到语义标签,本公开对此不作限定。Those of ordinary skill in the art can understand that, in addition to K-means clustering, mean shift clustering, density-based clustering, or other clustering methods can also be used to obtain semantic labels from nodes, which are not limited in this disclosure.
在本公开的实施例中,语义标签的第一状态包括:畅通状态,拥挤状态,堵塞状态;语义标签的第二状态包括:锁定状态,非锁定状态。堵塞状态的语义标签不能被调度,畅通状态的语义标签被优先调度,其次调度拥挤状态的语义标签。锁定状态的语义标签不被调度,非锁定状态的语义标签可以被调度。In the embodiment of the present disclosure, the first state of the semantic label includes: a clear state, a congested state, and a blocked state; the second state of the semantic label includes: a locked state and an unlocked state. Semantic tags in congestion state cannot be scheduled, semantic tags in unblocked state are scheduled first, and semantic tags in congested state are scheduled second. Semantic tags in the locked state are not scheduled, and semantic tags in the unlocked state can be scheduled.
根据本公开的实施方式,通过语义标签的第一状态包括:畅通状态,拥挤状态,堵塞状态;和/或所述语义标签的第二状态包括:锁定状态,非锁定状态,从而对区域进行精准划分和状态的完备标记,进行详细的语义分析,并且适应场景的变化,方便对移动设备的柔性调度。According to an embodiment of the present disclosure, the first state of the semantic label includes: a clear state, a crowded state, and a blocked state; and/or the second state of the semantic label includes: a locked state and an unlocked state, so that the region can be precisely calibrated. Complete labeling of partitions and states, detailed semantic analysis, and adaptation to scene changes, facilitating flexible scheduling of mobile devices.
在本公开的实施例中,如图1b所示,巷道4 1144连接两侧的连续节点1171、1172均处于占用状态,巷道4 1144的第一状态是堵塞状态。巷道3 1143中的5个节点1161、1162、1163、1164、1165处于占用状态,处于占用状态的节点数大于例如3的第一阈值,巷道3 1143的第一状态是拥挤状态。语义标签的第一状态用于标识语义标签的拥塞程度。In the embodiment of the present disclosure, as shown in FIG. 1b, the continuous nodes 1171 and 1172 on both sides of the roadway 4 1144 are in the occupied state, and the first state of the roadway 4 1144 is the blocked state. The 5 nodes 1161, 1162, 1163, 1164, and 1165 in the roadway 3 1143 are in an occupied state, and the number of nodes in the occupied state is greater than the first threshold such as 3, and the first state of the roadway 3 1143 is a crowded state. The first state of the semantic label is used to identify the congestion level of the semantic label.
在本公开的实施例中,也可以采用语义标签中占用状态的节点比例大于第二阈值,例如大于1/4,从而判断语义标签的第一状态是拥挤状态。In the embodiment of the present disclosure, the proportion of nodes in the occupied state in the semantic label may also be greater than the second threshold, for example, greater than 1/4, so as to determine that the first state of the semantic label is the crowded state.
根据本公开的实施方式,通过在语义标签中连接语义标签的两侧的连续节点均处于占用状态的条件下,语义标签的第一状态为堵塞状态;在语义标签中处于占用状态的节点的数目大于第一阈值,或者语义标签中处于占用状态的节点的比例大于第二阈值的条件下,语义标签的第一状态为拥挤状态,从而对区域进行精准划分和状态的完备标记,进行详细的语义分析,并且适应场景的变化,方便对移动设备的柔性调度。According to an embodiment of the present disclosure, the first state of the semantic label is the blocked state by the condition that the continuous nodes connecting both sides of the semantic label in the semantic label are in the occupied state; the number of nodes in the occupied state in the semantic label If it is greater than the first threshold, or the proportion of nodes in the occupied state in the semantic label is greater than the second threshold, the first state of the semantic label is a crowded state, so that the region can be accurately divided and the state is fully marked, and detailed semantics can be carried out. Analysis, and adapt to changes in the scene, to facilitate flexible scheduling of mobile devices.
在本公开的实施例中,第一状态处于堵塞状态,或者处于拥挤状态且拥挤指数大于例如0.2的第三阈值的语义标签的第二状态是锁定状态;第一状态处于畅通状态,或者处于拥挤状态且拥挤指数小于或等于例如0.2的第三阈值的语义标签的第二状态是非锁定状态。第三阈值也可以是其它数值,本公开对此不作限定。In the embodiment of the present disclosure, the first state is in the congestion state, or the second state of the semantic label in the congestion state and the congestion index is greater than a third threshold such as 0.2 is the locked state; the first state is in the unblocked state, or in the congestion state The second state of the semantic label with a congestion index less than or equal to a third threshold, eg, 0.2, is an unlocked state. The third threshold may also be other values, which are not limited in the present disclosure.
根据本公开的实施方式,通过在语义标签的第一状态为畅通状态,或语义标签的第一状态为拥挤状态且拥挤指数小于或等于第三阈值的条件下,标签的第二状态为非锁定状态;在语义标签的第一状态为堵塞状态,或语义标签的第一状态为拥挤状态且拥挤指数大于第三阈值的条件下,语义标签的第二状态为锁定状态,从而对区域进行精准划分和状态的完备标记,进行详细的语义分析,并且适应场景的变化,方便对移动设备的柔性调度。According to an embodiment of the present disclosure, the second state of the label is unlocked by the condition that the first state of the semantic label is the unblocked state, or the first state of the semantic label is the congested state and the congestion index is less than or equal to the third threshold state; under the condition that the first state of the semantic label is a blocked state, or the first state of the semantic label is a crowded state and the congestion index is greater than the third threshold, the second state of the semantic label is a locked state, so as to accurately divide the area It can perform detailed semantic analysis and adapt to changes in the scene to facilitate flexible scheduling of mobile devices.
图3示出根据本公开一实施方式的导航方法的流程图。FIG. 3 shows a flowchart of a navigation method according to an embodiment of the present disclosure.
具体地,图3示出根据图2及前述地图构建方法进行移动设备导航的方法。Specifically, FIG. 3 shows a method for navigating a mobile device according to FIG. 2 and the aforementioned map construction method.
如图3所示,导航方法包括:步骤S301、S302、S303、S304、S305。As shown in FIG. 3 , the navigation method includes steps S301 , S302 , S303 , S304 and S305 .
在步骤S301中,获取移动设备的导航起始位置和导航终止位置。In step S301, a navigation start position and a navigation end position of the mobile device are acquired.
在步骤S302中,根据导航起始位置,导航终止位置,语义标签的第一状态和/或语义标签的第二状态计算导航路径。In step S302, the navigation path is calculated according to the navigation start position, the navigation end position, the first state of the semantic label and/or the second state of the semantic label.
在步骤S303中,控制移动设备沿导航路径移动。In step S303, the mobile device is controlled to move along the navigation path.
在步骤S304中,根据移动设备的位置和/或移动设备的探测结果,更新节点的状态,语义标签的第一状态和/或语义标签的第二状态。In step S304, the state of the node, the first state of the semantic label and/or the second state of the semantic label are updated according to the location of the mobile device and/or the detection result of the mobile device.
在步骤S305中,根据更新后的节点的状态,语义标签的第一状态和/或语义标签的第二状态,更新导航路径。In step S305, the navigation path is updated according to the updated state of the node, the first state of the semantic label and/or the second state of the semantic label.
在本公开的实施例中,如图1c所示,自动搬运机器人A从节点121出发,需要到节点122或者123处存取货物。根据各语义标签的第一状态和第二状态,以及各节点的状态和位置,选定节点122作为导航终止位置,计算导航路径124为:左边通道2 1132-->主干道113-->左边通道1 1131-->上边通道111-->巷道2 1142。而如图1d所示,控制搬运机器人移动到节点131时,节点132被自动搬运机器人B占用,导致左边通道1 1131堵塞、锁定,从而更新自动搬运机器人A的导航路径至133。自动搬运机器人A沿新的导航路径133移动至节点122处,完成货物的存取。In the embodiment of the present disclosure, as shown in FIG. 1 c , the automatic handling robot A starts from the node 121 and needs to access the goods at the node 122 or 123 . According to the first state and the second state of each semantic label, as well as the state and position of each node, the node 122 is selected as the navigation termination position, and the navigation path 124 is calculated as: left channel 2 1132 --> main road 113 --> left Channel 1 1131-->The upper channel 111--> Lane 2 1142. As shown in Fig. 1d, when the handling robot is controlled to move to the node 131, the node 132 is occupied by the automatic handling robot B, which causes the left channel 1 1131 to be blocked and locked, thereby updating the navigation path of the automatic handling robot A to 133. The automatic handling robot A moves to the node 122 along the new navigation path 133 to complete the access to the goods.
根据本公开的实施方式,通过导航起止位置获取步骤,其中,获取移动设备的导航起始位置和导航终止位置;导航路径规划步骤,其中,根据导航起始位置,导航终止位置,语义标签的第一状态和/或语义标签的第二状态,和节点的状态和位置计算导航路径;移动步骤,其中,控制移动设备沿导航路径移动;状态更新步骤,其中,根据移动设备的位置和/或移动设备的探测结果,更新节点的状态,语义标签的第一状态和/或语义标签的第二状态;导航路径更新步骤,其中,根据更新后的节点的状态,语义标签的第一状态和/或语义标签的第二状态,和节点的状态和位置更新导航路径,从而基于区域精准划分、状态标记和语义分析的地图,对移动设备的移动路径进行柔性调度,并且能够适应场景的动态变化。According to an embodiment of the present disclosure, the navigation start and end position acquisition steps are performed, wherein the navigation start position and the navigation end position of the mobile device are acquired; the navigation path planning step, wherein, according to the navigation start position, the navigation end position, the first position of the semantic label is obtained. A state and/or a second state of the semantic label, and the state and position of the node to calculate a navigation path; a moving step, in which the mobile device is controlled to move along the navigation path; a state update step, in which the mobile device is moved according to the position and/or movement The detection result of the device, the state of the updated node, the first state of the semantic label and/or the second state of the semantic label; the navigation path update step, wherein, according to the updated state of the node, the first state of the semantic label and/or The second state of the semantic label, and the state and position of the node update the navigation path, so that based on the map of precise area division, state marking and semantic analysis, the mobile path of the mobile device can be flexibly scheduled, and can adapt to the dynamic changes of the scene.
在本公开的实施例中,如图1c所示,在自动搬运机器人A出发的导航起始位置、节点121和导航终止位置、节点122处于不同语义标签中的条件下,采用语义标签级路径规划算法计算出导航路径124。语义标签级路径规划算法可以利用例如语义标签间的拓扑连接关系进行计算,或者语义标签间的其它关系进行计算。In the embodiment of the present disclosure, as shown in FIG. 1c , under the condition that the navigation start position, node 121 and navigation end position, and node 122 of the automatic handling robot A are in different semantic labels, the semantic label-level path planning is adopted. The algorithm calculates the navigation path 124 . The semantic label-level path planning algorithm may use, for example, the topological connection relationship between semantic labels to perform computation, or other relationships between semantic labels to perform computation.
如图1d所示,在自动搬运机器人A移动到语义标签巷道2 1142中后,自动搬运机器人A所处的节点和导航终止位置、节点122在同一语义标签中,采用拓扑图级路径规划算法计算导航路径。拓扑图级路径规划算法可以利用例如同一语义标签中的节点间的拓扑连接关系进行计算,或者其它拓扑关系进行计算。As shown in Figure 1d, after the automatic handling robot A moves to the semantic label lane 2 1142, the node where the automatic handling robot A is located, the navigation termination position and the node 122 are in the same semantic label, and the topology graph level path planning algorithm is used to calculate Navigation path. The topology-graph-level path planning algorithm can perform calculation by using, for example, the topological connection relationship between nodes in the same semantic label, or other topological relationships.
根据本公开的实施方式,通过导航路径规划步骤包括:在导航起始位置和导航终止位置在同一语义标签之内的条件下,使用拓扑图级路径规划算法计算导航路径;在导航起始位置和所述导航终止位置不在同一语义标签之内的条件下,使用语义标签级路径规划算法计算所述导航 路径,从而基于区域精准划分、状态标记和语义分析的地图,对移动设备的移动路径进行柔性调度,并且能够适应场景的动态变化。According to an embodiment of the present disclosure, the step of planning through the navigation path includes: on the condition that the navigation start position and the navigation end position are within the same semantic label, use a topology-graph level path planning algorithm to calculate the navigation path; Under the condition that the navigation termination position is not within the same semantic tag, the navigation path is calculated by using a semantic tag-level path planning algorithm, so that the movement path of the mobile device can be flexibly based on the map of precise area division, state marking and semantic analysis. Scheduling, and can adapt to the dynamic changes of the scene.
图4示出根据本公开一实施方式的地图构建装置的结构框图。FIG. 4 shows a structural block diagram of a map construction apparatus according to an embodiment of the present disclosure.
如图4所示,地图构建装置400包括:节点划分模块401、节点状态与位置获取模块402、语义标签获取模块403、语义标签状态获取模块404。As shown in FIG. 4 , the map construction apparatus 400 includes: a node division module 401 , a node state and position acquisition module 402 , a semantic label acquisition module 403 , and a semantic label state acquisition module 404 .
节点划分模块401被配置为将第一区域划分为节点。The node division module 401 is configured to divide the first area into nodes.
节点状态与位置获取模块402被配置为获取所述节点的状态和位置。The node state and location acquisition module 402 is configured to acquire the state and location of the node.
语义标签获取模块403被配置为根据所述第一区域中的所述节点获取语义标签。The semantic label obtaining module 403 is configured to obtain semantic labels according to the nodes in the first area.
语义标签状态获取模块404被配置为获取所述语义标签的第一状态和/或第二状态。The semantic tag state acquisition module 404 is configured to acquire the first state and/or the second state of the semantic tag.
第一区域是特定区域中移动设备能占用的区域。The first area is an area in a particular area that can be occupied by a mobile device.
根据本公开的实施方式,通过节点划分模块,被配置为将第一区域划分为节点;节点状态与位置获取模块,被配置为获取节点的状态和位置;语义标签获取模块,被配置为根据第一区域中的节点获取语义标签;语义标签状态获取模块,被配置为获取语义标签的第一状态和/或第二状态,第一区域是特定区域中移动设备能占用的区域,从而对区域进行精准划分和状态的完备标记,进行详细的语义分析,并且适应场景的变化,方便对移动设备的柔性调度。According to an embodiment of the present disclosure, the node dividing module is configured to divide the first area into nodes; the node status and position acquisition module is configured to acquire the status and position of the node; the semantic label acquisition module is configured to A node in an area obtains a semantic label; the semantic label state obtaining module is configured to obtain the first state and/or the second state of the semantic label, and the first area is an area that can be occupied by a mobile device in a specific area, so as to accurately perform the area Complete labeling of partitions and states, detailed semantic analysis, and adaptation to scene changes, facilitating flexible scheduling of mobile devices.
在本公开的实施例中,节点划分模块还被配置为:根据移动设备感知的区域和/或移动设备占据的区域,将第一区域中移动设备可能占用的区域划分为所述节点。In the embodiment of the present disclosure, the node dividing module is further configured to: divide an area possibly occupied by the mobile device in the first area into the nodes according to the area perceived by the mobile device and/or the area occupied by the mobile device.
根据本公开的实施方式,通过节点划分模块还被配置为:根据移动设备感知的区域和/或移动设备占据的区域,将第一区域中移动设备可能占用的区域划分为所述节点,从而对区域进行精准划分和状态的完备标记,进行详细的语义分析,并且适应场景的变化,方便对移动设备的柔性调度。According to an embodiment of the present disclosure, the node dividing module is further configured to: divide the area possibly occupied by the mobile device in the first area into the nodes according to the area perceived by the mobile device and/or the area occupied by the mobile device, so as to divide the area into the nodes. Perform precise division and complete state labeling, perform detailed semantic analysis, and adapt to changes in scenarios to facilitate flexible scheduling of mobile devices.
在本公开的实施例中,可以采用例如同步定位与建图(SLAM)方法获取节点的位置,可以采用视觉方法获取节点的状态。In the embodiment of the present disclosure, the position of the node may be acquired by, for example, a simultaneous localization and mapping (SLAM) method, and the state of the node may be acquired by a visual method.
根据本公开的实施方式,通过使用同步定位与建图方法获取节点的位置;和/或使用视觉方法获取节点的状态,从而对区域进行精准划分和状态的完备标记,进行详细的语义分析,并且适应场景的变化,方便对移动设备的柔性调度。According to an embodiment of the present disclosure, the position of the node is obtained by using a simultaneous localization and mapping method; and/or the state of the node is obtained by using a visual method, so as to accurately divide the area and complete the marking of the state, perform detailed semantic analysis, and Adapt to changes in the scene and facilitate flexible scheduling of mobile devices.
在本公开的实施例中,节点状态可以包括:占用状态,非占用状态。节点的占用状态可以是被移动设备占用,也可以是被人占用,或者被暂时放置的货物等其它方式占用,本公开对比不作限定。In the embodiment of the present disclosure, the node state may include: an occupied state and a non-occupied state. The occupancy status of a node may be occupied by a mobile device, or occupied by a person, or occupied by temporarily placed goods, etc., which is not limited in the present disclosure.
根据本公开的实施方式,通过节点的状态包括:占用状态,非占用状态,从而对区域进行精准划分和状态的完备标记,进行详细的语义分析,并且适应场景的变化,方便对移动设备的柔性调度。According to the embodiments of the present disclosure, the states of the nodes include: occupied state and non-occupied state, so as to accurately divide the area and complete the state mark, carry out detailed semantic analysis, and adapt to the change of the scene, so as to facilitate the flexibility of the mobile device. schedule.
在本公开的实施例中,可以采用例如K-means聚类的方法,根据第一区域中的节点的状态和位置,使用聚类方法获取语义标签。In the embodiment of the present disclosure, a method such as K-means clustering may be adopted, and a semantic label may be obtained by using the clustering method according to the state and position of the nodes in the first area.
根据本公开的实施方式,通过语义标签获取步骤包括:根据第一区域中的节点的状态和位置,使用聚类方法获取语义标签,从而对区域进行精准划分和状态的完备标记,进行详细的语 义分析,并且适应场景的变化,方便对移动设备的柔性调度。According to an embodiment of the present disclosure, the step of obtaining semantic labels includes: according to the states and positions of nodes in the first area, using a clustering method to obtain semantic labels, so as to accurately divide the area and complete the labeling of the state, and perform detailed semantic Analysis, and adapt to changes in the scene, to facilitate flexible scheduling of mobile devices.
在本公开的实施例中,语义标签的第一状态包括:畅通状态,拥挤状态,堵塞状态;语义标签的第二状态包括:锁定状态,非锁定状态。堵塞状态的语义标签不能被调度,畅通状态的语义标签被优先调度,其次调度拥挤状态的语义标签。锁定状态的语义标签不被调度,非锁定状态的语义标签可以被调度。In the embodiment of the present disclosure, the first state of the semantic label includes: a clear state, a congested state, and a blocked state; the second state of the semantic label includes: a locked state and an unlocked state. Semantic tags in congestion state cannot be scheduled, semantic tags in unblocked state are scheduled first, and semantic tags in congested state are scheduled second. Semantic tags in the locked state are not scheduled, and semantic tags in the unlocked state can be scheduled.
根据本公开的实施方式,通过语义标签的第一状态包括:畅通状态,拥挤状态,堵塞状态;和/或所述语义标签的第二状态包括:锁定状态,非锁定状态,从而对区域进行精准划分和状态的完备标记,进行详细的语义分析,并且适应场景的变化,方便对移动设备的柔性调度。According to an embodiment of the present disclosure, the first state of the semantic label includes: a clear state, a crowded state, and a blocked state; and/or the second state of the semantic label includes: a locked state and an unlocked state, so that the region can be precisely calibrated. Complete labeling of partitions and states, detailed semantic analysis, and adaptation to scene changes, facilitating flexible scheduling of mobile devices.
在本公开的实施例中,如图1b所示,巷道4 1144连接两侧的连续节点1171、1172均处于占用状态,巷道4 1144的第一状态是堵塞状态。巷道3 1143中的5个节点1161、1162、1163、1164、1165处于占用状态,处于占用状态的节点数大于例如3的第一阈值,巷道3 1143的第一状态是拥挤状态。语义标签的第一状态用于标识语义标签的拥塞程度。In the embodiment of the present disclosure, as shown in FIG. 1b, the continuous nodes 1171 and 1172 on both sides of the roadway 4 1144 are in the occupied state, and the first state of the roadway 4 1144 is the blocked state. The 5 nodes 1161, 1162, 1163, 1164, and 1165 in the roadway 3 1143 are in an occupied state, and the number of nodes in the occupied state is greater than the first threshold such as 3, and the first state of the roadway 3 1143 is a crowded state. The first state of the semantic label is used to identify the congestion level of the semantic label.
在本公开的实施例中,也可以采用语义标签中占用状态的节点比例大于第二阈值,例如大于1/4,从而判断语义标签的第一状态是拥挤状态。In the embodiment of the present disclosure, the proportion of nodes in the occupied state in the semantic label may also be greater than the second threshold, for example, greater than 1/4, so as to determine that the first state of the semantic label is the crowded state.
根据本公开的实施方式,通过在语义标签中连接语义标签的两侧的连续节点均处于占用状态的条件下,语义标签的第一状态为堵塞状态;在语义标签中处于占用状态的节点的数目大于第一阈值,或者语义标签中处于占用状态的节点的比例大于第二阈值的条件下,语义标签的第一状态为拥挤状态,从而对区域进行精准划分和状态的完备标记,进行详细的语义分析,并且适应场景的变化,方便对移动设备的柔性调度。According to an embodiment of the present disclosure, the first state of the semantic label is the blocked state by the condition that the continuous nodes connecting both sides of the semantic label in the semantic label are in the occupied state; the number of nodes in the occupied state in the semantic label If it is greater than the first threshold, or the proportion of nodes in the occupied state in the semantic label is greater than the second threshold, the first state of the semantic label is a crowded state, so that the region can be accurately divided and the state is fully marked, and detailed semantics can be carried out. Analysis, and adapt to changes in the scene, to facilitate flexible scheduling of mobile devices.
在本公开的实施例中,第一状态处于堵塞状态,或者处于拥挤状态且拥挤指数大于例如0.2的第三阈值的语义标签的第二状态是锁定状态;第一状态处于畅通状态,或者处于拥挤状态且拥挤指数小于或等于例如0.2的第三阈值的语义标签的第二状态是非锁定状态。第三阈值也可以是其它数值,本公开对此不作限定。In the embodiment of the present disclosure, the first state is in the congestion state, or the second state of the semantic label in the congestion state and the congestion index is greater than a third threshold such as 0.2 is the locked state; the first state is in the unblocked state, or in the congestion state The second state of the semantic label with a congestion index less than or equal to a third threshold, eg, 0.2, is an unlocked state. The third threshold may also be other values, which are not limited in the present disclosure.
根据本公开的实施方式,通过在语义标签的第一状态为畅通状态,或语义标签的第一状态为拥挤状态且拥挤指数小于或等于第三阈值的条件下,标签的第二状态为非锁定状态;在语义标签的第一状态为堵塞状态,或语义标签的第一状态为拥挤状态且拥挤指数大于第三阈值的条件下,语义标签的第二状态为锁定状态,从而对区域进行精准划分和状态的完备标记,进行详细的语义分析,并且适应场景的变化,方便对移动设备的柔性调度。According to an embodiment of the present disclosure, the second state of the label is unlocked by the condition that the first state of the semantic label is the unblocked state, or the first state of the semantic label is the congested state and the congestion index is less than or equal to the third threshold state; under the condition that the first state of the semantic label is a blocked state, or the first state of the semantic label is a crowded state and the congestion index is greater than the third threshold, the second state of the semantic label is a locked state, so as to accurately divide the area It can perform detailed semantic analysis and adapt to changes in the scene to facilitate flexible scheduling of mobile devices.
图5示出根据本公开一实施方式的导航装置的结构框图。FIG. 5 shows a structural block diagram of a navigation device according to an embodiment of the present disclosure.
具体地,图5示出根据图4及前述地图构建装置进行移动设备导航的装置。Specifically, FIG. 5 shows an apparatus for navigating a mobile device according to FIG. 4 and the aforementioned map construction apparatus.
如图5所示,导航装置500包括:导航起止位置获取模块501、导航路径规划模块502、移动模块503、状态更新模块504、导航路径更新模块505。As shown in FIG. 5 , the navigation device 500 includes: a navigation start and end position acquisition module 501 , a navigation path planning module 502 , a movement module 503 , a state update module 504 , and a navigation path update module 505 .
导航起止位置获取模块501被配置为获取所述移动设备的导航起始位置和导航终止位置。The navigation start and end position obtaining module 501 is configured to obtain the navigation start position and the navigation end position of the mobile device.
导航路径规划模块502被配置为根据所述导航起始位置,所述导航终止位置,所述语义标签的第一状态和/或所述语义标签的第二状态,和所述节点的状态和位置计算导航路径。The navigation path planning module 502 is configured to use the navigation start position, the navigation end position, the first state of the semantic label and/or the second state of the semantic label, and the state and position of the node Calculate the navigation path.
移动模块503被配置为控制所述移动设备沿所述导航路径移动。The moving module 503 is configured to control the mobile device to move along the navigation path.
状态更新模块504被配置为根据所述移动设备的位置和/或所述移动设备的探测结果,更新所述节点的状态,所述语义标签的第一状态和/或所述语义标签的第二状态。The state update module 504 is configured to update the state of the node, the first state of the semantic label and/or the second state of the semantic label according to the location of the mobile device and/or the detection result of the mobile device state.
导航路径更新模块505被配置为根据更新后的所述节点的状态,所述语义标签的第一状态和/或所述语义标签的第二状态,和所述节点的状态和位置更新所述导航路径。The navigation path update module 505 is configured to update the navigation according to the updated state of the node, the first state of the semantic label and/or the second state of the semantic label, and the state and position of the node path.
在本公开的实施例中,如图1c所示,自动搬运机器人A从节点121出发,需要到节点122或者123处存取货物。根据各语义标签的第一状态和第二状态,以及各节点的状态和位置,选定节点122作为导航终止位置,计算导航路径124为:左边通道2 1132-->主干道113-->左边通道1 1131-->上边通道111-->巷道2 1142。而如图1d所示,控制搬运机器人移动到节点131时,节点132被自动搬运机器人B占用,导致左边通道1 1131堵塞、锁定,从而更新自动搬运机器人A的导航路径至133。自动搬运机器人A沿新的导航路径133移动至节点122处,完成货物的存取。In the embodiment of the present disclosure, as shown in FIG. 1 c , the automatic handling robot A starts from the node 121 and needs to access the goods at the node 122 or 123 . According to the first state and the second state of each semantic label, as well as the state and position of each node, the node 122 is selected as the navigation termination position, and the navigation path 124 is calculated as: left channel 2 1132 --> main road 113 --> left Channel 1 1131-->The upper channel 111--> Lane 2 1142. As shown in Fig. 1d, when the handling robot is controlled to move to the node 131, the node 132 is occupied by the automatic handling robot B, which causes the left channel 1 1131 to be blocked and locked, thereby updating the navigation path of the automatic handling robot A to 133. The automatic handling robot A moves to the node 122 along the new navigation path 133 to complete the access to the goods.
根据本公开的实施方式,通过导航起止位置获取模块,被配置为获取移动设备的导航起始位置和导航终止位置;导航路径规划模块,被配置为根据导航起始位置,导航终止位置,语义标签的第一状态和/或语义标签的第二状态,和节点的状态和位置计算导航路径;移动模块,被配置为控制移动设备沿导航路径移动;状态更新模块,被配置为根据移动设备的位置和/或所述移动设备的探测结果,更新所述节点的状态,所述语义标签的第一状态和/或语义标签的第二状态;导航路径更新模块,被配置为根据更新后的节点的状态,语义标签的第一状态和/或语义标签的第二状态,和节点的状态和位置更新所述导航路径,从而基于区域精准划分、状态标记和语义分析的地图,对移动设备的移动路径进行柔性调度,并且能够适应场景的动态变化。According to an embodiment of the present disclosure, the navigation start and end position acquisition module is configured to acquire the navigation start position and the navigation end position of the mobile device; the navigation path planning module is configured to obtain the navigation start position, navigation end position, semantic label according to the navigation start position, navigation end position The first state of the first state and/or the second state of the semantic label, and the state and position of the node calculate the navigation path; the moving module is configured to control the mobile device to move along the navigation path; the state update module is configured to be based on the position of the mobile device. And/or the detection result of the mobile device, update the state of the node, the first state of the semantic label and/or the second state of the semantic label; the navigation path update module is configured to update the node according to the updated state. state, the first state of the semantic label and/or the second state of the semantic label, and the state and position of the node update the navigation path, so that the movement path of the mobile device is based on the map of accurate division of regions, state marking and semantic analysis. Perform flexible scheduling and adapt to dynamic changes in the scene.
如图1d所示,在自动搬运机器人A移动到语义标签巷道2 1142中后,自动搬运机器人A所处的节点和导航终止位置、节点122在同一语义标签中,采用拓扑图级路径规划算法计算导航路径。拓扑图级路径规划算法可以利用例如同一语义标签中的节点间的拓扑连接关系进行计算,或者其它拓扑关系进行计算。As shown in Figure 1d, after the automatic handling robot A moves to the semantic label lane 2 1142, the node where the automatic handling robot A is located, the navigation termination position and the node 122 are in the same semantic label, and the topology graph level path planning algorithm is used to calculate Navigation path. The topology-graph-level path planning algorithm can perform calculation by using, for example, the topological connection relationship between nodes in the same semantic label, or other topological relationships.
根据本公开的实施方式,通过导航路径规划步骤包括:在导航起始位置和导航终止位置在同一语义标签之内的条件下,使用拓扑图级路径规划算法计算导航路径;在导航起始位置和所述导航终止位置不在同一语义标签之内的条件下,使用语义标签级路径规划算法计算所述导航路径,从而基于区域精准划分、状态标记和语义分析的地图,对移动设备的移动路径进行柔性调度,并且能够适应场景的动态变化。According to an embodiment of the present disclosure, the step of planning through the navigation path includes: on the condition that the navigation start position and the navigation end position are within the same semantic label, use a topology-graph level path planning algorithm to calculate the navigation path; Under the condition that the navigation termination position is not within the same semantic tag, the navigation path is calculated by using a semantic tag-level path planning algorithm, so that the movement path of the mobile device can be flexibly based on the map of precise area division, state marking and semantic analysis. Scheduling, and can adapt to the dynamic changes of the scene.
图6示出根据本公开一实施方式的电子设备的结构框图。FIG. 6 shows a structural block diagram of an electronic device according to an embodiment of the present disclosure.
本公开实施方式还提供了一种电子设备,如图6所示,所述电子设备600包括处理器601和存储器602;其中,存储器602存储有可被至少一个处理器601执行的指令,指令被至少一个处理器601执行以实现以下步骤:节点划分步骤,其中,将第一区域划分为节点;Embodiments of the present disclosure further provide an electronic device. As shown in FIG. 6 , the electronic device 600 includes a processor 601 and a memory 602; wherein, the memory 602 stores instructions that can be executed by at least one processor 601, and the instructions are At least one processor 601 executes to implement the following steps: a node division step, wherein the first area is divided into nodes;
节点状态与位置获取步骤,其中,获取所述节点的状态和位置;a node state and position acquisition step, wherein the state and position of the node are acquired;
语义标签获取步骤,其中,根据所述第一区域中的所述节点获取语义标签;A semantic label acquiring step, wherein a semantic label is acquired according to the node in the first area;
语义标签状态获取步骤,其中,获取所述语义标签的第一状态和/或第二状态,The step of obtaining the semantic label state, wherein the first state and/or the second state of the semantic label is obtained,
所述第一区域是特定区域中移动设备能占用的区域。The first area is an area in a specific area that can be occupied by a mobile device.
在本公开的实施例中,所述节点划分步骤包括:In an embodiment of the present disclosure, the node division step includes:
根据所述移动设备感知的区域和/或所述移动设备占据的区域,将所述第一区域划分为所述节点。The first area is divided into the nodes according to the area perceived by the mobile device and/or the area occupied by the mobile device.
在本公开的实施例中,使用同步定位与建图方法获取所述节点的位置;和/或In an embodiment of the present disclosure, the location of the node is obtained using a simultaneous positioning and mapping method; and/or
使用视觉方法获取所述节点的状态。The state of the node is obtained using a visual method.
在本公开的实施例中,所述节点的状态包括:In the embodiment of the present disclosure, the status of the node includes:
占用状态,非占用状态。Occupied state, not occupied state.
在本公开的实施例中,所述语义标签获取步骤包括:In the embodiment of the present disclosure, the step of acquiring the semantic label includes:
根据所述第一区域中的所述节点的状态和位置,使用聚类方法获取所述语义标签。The semantic labels are obtained using a clustering method according to the states and positions of the nodes in the first region.
在本公开的实施例中,所述语义标签的第一状态包括:In an embodiment of the present disclosure, the first state of the semantic label includes:
畅通状态,拥挤状态,堵塞状态;和/或unblocked state, crowded state, jammed state; and/or
所述语义标签的第二状态包括:The second state of the semantic tag includes:
锁定状态,非锁定状态。Locked state, unlocked state.
在本公开的实施例中,在所述语义标签中连接所述语义标签的两侧的连续节点均处于所述占用状态的条件下,所述语义标签的第一状态为所述堵塞状态;In the embodiment of the present disclosure, under the condition that the continuous nodes connecting both sides of the semantic label in the semantic label are in the occupied state, the first state of the semantic label is the blocked state;
在所述语义标签中处于所述占用状态的所述节点的数目大于第一阈值,或者所述语义标签中处于所述占用状态的所述节点的比例大于第二阈值的条件下,所述语义标签的第一状态为所述拥挤状态。Under the condition that the number of the nodes in the occupied state in the semantic label is greater than a first threshold, or the proportion of the nodes in the occupied state in the semantic label is greater than a second threshold, the semantic The first state of the tag is the congestion state.
在本公开的实施例中,在所述语义标签的第一状态为畅通状态,或所述语义标签的第一状态为拥挤状态且拥挤指数小于或等于第三阈值的条件下,所述语义标签的第二状态为非锁定状态;In the embodiment of the present disclosure, under the condition that the first state of the semantic label is an unblocked state, or the first state of the semantic label is a crowded state and the congestion index is less than or equal to a third threshold, the semantic label The second state of is an unlocked state;
在所述语义标签的第一状态为堵塞状态,或所述语义标签的第一状态为拥挤状态且所述拥挤指数大于所述第三阈值的条件下,所述语义标签的第二状态为锁定状态。The second state of the semantic label is locked when the first state of the semantic label is a congestion state, or the first state of the semantic label is a crowded state and the congestion index is greater than the third threshold state.
指令还可以被至少一个处理器601执行以实现以下步骤:The instructions may also be executed by at least one processor 601 to implement the following steps:
导航起止位置获取步骤,其中,获取所述移动设备的导航起始位置和导航终止位置;a navigation start and end position obtaining step, wherein the navigation start position and the navigation end position of the mobile device are obtained;
导航路径规划步骤,其中,根据所述导航起始位置,所述导航终止位置,所述语义标签的第一状态和/或所述语义标签的第二状态,和所述节点的状态和位置计算导航路径;Navigation path planning step, wherein based on the navigation start position, the navigation end position, the first state of the semantic label and/or the second state of the semantic label, and the state and position of the node are calculated navigation path;
移动步骤,其中,控制所述移动设备沿所述导航路径移动;A moving step, wherein the mobile device is controlled to move along the navigation path;
状态更新步骤,其中,根据所述移动设备的位置和/或所述移动设备的探测结果,更新所述节点的状态,所述语义标签的第一状态和/或所述语义标签的第二状态;A state update step, wherein the state of the node, the first state of the semantic label and/or the second state of the semantic label are updated according to the location of the mobile device and/or the detection result of the mobile device ;
导航路径更新步骤,其中,根据更新后的所述节点的状态,所述语义标签的第一状态和/或所述语义标签的第二状态,和所述节点的状态和位置更新所述导航路径。A navigation path update step, wherein the navigation path is updated according to the updated state of the node, the first state of the semantic label and/or the second state of the semantic label, and the state and position of the node .
在本公开的实施例中,所述导航路径规划步骤包括:In an embodiment of the present disclosure, the navigation path planning step includes:
在所述导航起始位置和所述导航终止位置在同一语义标签之内的条件下,使用拓扑图级路径规划算法计算所述导航路径;Under the condition that the navigation start position and the navigation end position are within the same semantic label, the navigation path is calculated using a topology-graph level path planning algorithm;
在所述导航起始位置和所述导航终止位置不在同一语义标签之内的条件下,使用语义标签 级路径规划算法计算所述导航路径。Under the condition that the navigation start position and the navigation end position are not within the same semantic label, the navigation path is calculated using a semantic label-level path planning algorithm.
图7是适于用来实现根据本公开一实施方式的地图构建方法和导航方法的计算机系统的结构示意图。FIG. 7 is a schematic structural diagram of a computer system suitable for implementing a map construction method and a navigation method according to an embodiment of the present disclosure.
如图7所示,计算机系统700包括处理单元701,其可以根据存储在只读存储器(ROM)702中的程序或者从存储部分708加载到随机访问存储器(RAM)703中的程序而执行上述附图所示的实施方式中的各种处理。在RAM703中,还存储有系统700操作所需的各种程序和数据。处理单元701、ROM702以及RAM703通过总线704彼此相连。输入/输出(I/O)接口705也连接至总线704。As shown in FIG. 7, a computer system 700 includes a processing unit 701 that can execute the above-mentioned appendixes according to a program stored in a read only memory (ROM) 702 or a program loaded from a storage section 708 into a random access memory (RAM) 703 Various processes in the embodiment shown in the figure. In the RAM 703, various programs and data necessary for the operation of the system 700 are also stored. The processing unit 701 , the ROM 702 and the RAM 703 are connected to each other through a bus 704 . An input/output (I/O) interface 705 is also connected to bus 704 .
以下部件连接至I/O接口705:包括键盘、鼠标等的输入部分706;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分707;包括硬盘等的存储部分708;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分709。通信部分709经由诸如因特网的网络执行通信处理。驱动器710也根据需要连接至I/O接口705。可拆卸介质711,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器710上,以便于从其上读出的计算机程序根据需要被安装入存储部分708。其中,所述处理单元701可实现为CPU、GPU、TPU、FPGA、NPU等处理单元。The following components are connected to the I/O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc. ; and a communication section 709 including a network interface card such as a LAN card, a modem, and the like. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is mounted on the drive 710 as needed so that a computer program read therefrom is installed into the storage section 708 as needed. The processing unit 701 may be implemented as a processing unit such as a CPU, a GPU, a TPU, an FPGA, and an NPU.
特别地,根据本公开的实施方式,上文参考附图描述的方法可以被实现为计算机软件程序。例如,本公开的实施方式包括一种计算机程序产品,其包括有形地包含在及其可读介质上的计算机程序,所述计算机程序包含用于执行附图中的方法的程序代码。在这样的实施方式中,该计算机程序可以通过通信部分709从网络上被下载和安装,和/或从可拆卸介质711被安装。In particular, according to embodiments of the present disclosure, the methods described above with reference to the accompanying drawings may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a readable medium thereof, the computer program containing program code for performing the methods of the accompanying drawings. In such an embodiment, the computer program may be downloaded and installed from the network via the communication portion 709 and/or installed from the removable medium 711 .
附图中的流程图和框图,图示了按照本公开各种实施方式的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,路程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the diagram or block diagram may represent a module, segment, or portion of code that contains one or more functions for implementing the specified logical function. executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
描述于本公开实施方式中所涉及到的单元或模块可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元或模块也可以设置在处理器中,这些单元或模块的名称在某种情况下并不构成对该单元或模块本身的限定。The units or modules involved in the embodiments of the present disclosure can be implemented in software or hardware. The described units or modules may also be provided in the processor, and the names of these units or modules do not constitute a limitation on the units or modules themselves in certain circumstances.
作为另一方面,本公开还提供了一种计算机可读存储介质,该计算机可读存储介质可以是上述实施方式中所述节点中所包含的计算机可读存储介质;也可以是单独存在,未装配入设备中的计算机可读存储介质。计算机可读存储介质存储有一个或者一个以上程序,所述程序被一个或者一个以上的处理器用来执行描述于本公开的方法。As another aspect, the present disclosure also provides a computer-readable storage medium, and the computer-readable storage medium may be a computer-readable storage medium included in the nodes described in the foregoing embodiments; A computer-readable storage medium that fits into a device. The computer-readable storage medium stores one or more programs used by one or more processors to perform the methods described in the present disclosure.
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也 应涵盖在不脱离所述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. It should be understood by those skilled in the art that the scope of the invention involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, and should also cover the above technical features without departing from the inventive concept. Other technical solutions formed by any combination of its equivalent features. For example, a technical solution is formed by replacing the above features with the technical features disclosed in the present disclosure (but not limited to) with similar functions.

Claims (22)

  1. 一种地图构建方法,包括:A map construction method, including:
    节点划分步骤,其中,将第一区域划分为节点;A node division step, wherein the first area is divided into nodes;
    节点状态与位置获取步骤,其中,获取所述节点的状态和位置;a node state and position acquisition step, wherein the state and position of the node are acquired;
    语义标签获取步骤,其中,根据所述第一区域中的所述节点获取语义标签;A semantic label acquiring step, wherein a semantic label is acquired according to the node in the first area;
    语义标签状态获取步骤,其中,获取所述语义标签的第一状态和/或第二状态,The step of obtaining the semantic label state, wherein the first state and/or the second state of the semantic label is obtained,
    所述第一区域是特定区域中移动设备能占用的区域。The first area is an area in a specific area that can be occupied by a mobile device.
  2. 根据权利要求1所述的方法,其特征在于,所述节点划分步骤包括:The method according to claim 1, wherein the step of dividing the nodes comprises:
    根据所述移动设备感知的区域和/或所述移动设备占据的区域,将所述第一区域划分为所述节点。The first area is divided into the nodes according to the area perceived by the mobile device and/or the area occupied by the mobile device.
  3. 根据权利要求1所述的方法,其特征在于,The method of claim 1, wherein:
    使用同步定位与建图方法获取所述节点的位置;和/或obtaining the location of the node using a simultaneous localization and mapping method; and/or
    使用视觉方法获取所述节点的状态。The state of the node is obtained using a visual method.
  4. 根据权利要求1所述的方法,其特征在于,所述节点的状态包括:The method according to claim 1, wherein the state of the node comprises:
    占用状态,非占用状态。Occupied state, not occupied state.
  5. 根据权利要求4所述的方法,其特征在于,所述语义标签获取步骤包括:The method according to claim 4, wherein the step of acquiring the semantic label comprises:
    根据所述第一区域中的所述节点的状态和位置,使用聚类方法获取所述语义标签。The semantic labels are obtained using a clustering method according to the states and positions of the nodes in the first region.
  6. 根据权利要求1所述的方法,其特征在于,所述语义标签的第一状态包括:The method according to claim 1, wherein the first state of the semantic label comprises:
    畅通状态,拥挤状态,堵塞状态;和/或unblocked state, crowded state, jammed state; and/or
    所述语义标签的第二状态包括:The second state of the semantic tag includes:
    锁定状态,非锁定状态。Locked state, unlocked state.
  7. 根据权利要求6所述的方法,其特征在于,The method of claim 6, wherein:
    在所述语义标签中连接所述语义标签的两侧的连续节点均处于所述占用状态的条件下,所述语义标签的第一状态为所述堵塞状态;Under the condition that the continuous nodes connecting both sides of the semantic label in the semantic label are in the occupied state, the first state of the semantic label is the blocked state;
    在所述语义标签中处于所述占用状态的所述节点的数目大于第一阈值,或者所述语义标签中处于所述占用状态的所述节点的比例大于第二阈值的条件下,所述语义标签的第一状态为所述拥挤状态。Under the condition that the number of the nodes in the occupied state in the semantic label is greater than a first threshold, or the proportion of the nodes in the occupied state in the semantic label is greater than a second threshold, the semantic The first state of the tag is the congestion state.
  8. 根据权利要求6所述的方法,其特征在于,The method of claim 6, wherein:
    在所述语义标签的第一状态为畅通状态,或所述语义标签的第一状态为拥挤状态且拥挤指数小于或等于第三阈值的条件下,所述语义标签的第二状态为非锁定状态;Under the condition that the first state of the semantic label is the unblocked state, or the first state of the semantic label is the crowded state and the congestion index is less than or equal to the third threshold, the second state of the semantic label is the unlocked state ;
    在所述语义标签的第一状态为堵塞状态,或所述语义标签的第一状态为拥挤状态且所述拥挤指数大于所述第三阈值的条件下,所述语义标签的第二状态为锁定状态。The second state of the semantic label is locked when the first state of the semantic label is a congestion state, or the first state of the semantic label is a crowded state and the congestion index is greater than the third threshold state.
  9. 一种根据权利要求1-8任一项所述的地图构建方法进行移动设备导航的方法,其特征在于,包括:A method for navigating a mobile device according to the map construction method according to any one of claims 1-8, comprising:
    导航起止位置获取步骤,其中,获取所述移动设备的导航起始位置和导航终止位置;a navigation start and end position obtaining step, wherein the navigation start position and the navigation end position of the mobile device are obtained;
    导航路径规划步骤,其中,根据所述导航起始位置,所述导航终止位置,所述语义标签的第一状态和/或所述语义标签的第二状态,和所述节点的状态和位置计算导航路径;Navigation path planning step, wherein based on the navigation start position, the navigation end position, the first state of the semantic label and/or the second state of the semantic label, and the state and position of the node are calculated navigation path;
    移动步骤,其中,控制所述移动设备沿所述导航路径移动;a moving step, wherein the mobile device is controlled to move along the navigation path;
    状态更新步骤,其中,根据所述移动设备的位置和/或所述移动设备的探测结果,更新所述节点的状态,所述语义标签的第一状态和/或所述语义标签的第二状态;A state update step, wherein the state of the node, the first state of the semantic label and/or the second state of the semantic label are updated according to the location of the mobile device and/or the detection result of the mobile device ;
    导航路径更新步骤,其中,根据更新后的所述节点的状态,所述语义标签的第一状态和/或所述语义标签的第二状态,和所述节点的状态和位置更新所述导航路径。A navigation path update step, wherein the navigation path is updated according to the updated state of the node, the first state of the semantic label and/or the second state of the semantic label, and the state and position of the node .
  10. 根据权利要求9所述的方法,其特征在于,所述导航路径规划步骤包括:The method according to claim 9, wherein the navigation path planning step comprises:
    在所述导航起始位置和所述导航终止位置在同一语义标签之内的条件下,使用拓扑图级路径规划算法计算所述导航路径;Under the condition that the navigation start position and the navigation end position are within the same semantic label, the navigation path is calculated using a topology-graph level path planning algorithm;
    在所述导航起始位置和所述导航终止位置不在同一语义标签之内的条件下,使用语义标签级路径规划算法计算所述导航路径。Under the condition that the navigation start position and the navigation end position are not within the same semantic label, the navigation path is calculated using a semantic label-level path planning algorithm.
  11. 一种地图构建装置,包括:A map construction device, comprising:
    节点划分模块,被配置为将第一区域划分为节点;a node division module, configured to divide the first area into nodes;
    节点状态与位置获取模块,被配置为获取所述节点的状态和位置;a node state and location acquisition module, configured to acquire the state and location of the node;
    语义标签获取模块,被配置为根据所述第一区域中的所述节点获取语义标签;a semantic label obtaining module, configured to obtain a semantic label according to the node in the first area;
    语义标签状态获取模块,被配置为获取所述语义标签的第一状态和/或第二状态,a semantic tag state acquisition module, configured to acquire the first state and/or the second state of the semantic tag,
    所述第一区域是特定区域中移动设备能占用的区域。The first area is an area in a specific area that can be occupied by a mobile device.
  12. 根据权利要求11所述的装置,其特征在于,所述节点划分模块还被配置为:The apparatus according to claim 11, wherein the node division module is further configured to:
    根据所述移动设备感知的区域和/或所述移动设备占据的区域,将所述第一区域中移动设备可能占用的区域划分为所述节点。According to the area perceived by the mobile device and/or the area occupied by the mobile device, an area that may be occupied by the mobile device in the first area is divided into the nodes.
  13. 根据权利要求11所述的装置,其特征在于,The apparatus of claim 11, wherein:
    使用同步定位与建图方法获取所述节点的位置;和/或obtaining the location of the node using a simultaneous localization and mapping method; and/or
    使用视觉方法获取所述节点的状态。The state of the node is obtained using a visual method.
  14. 根据权利要求11所述的装置,其特征在于,所述节点的状态包括:The apparatus according to claim 11, wherein the state of the node comprises:
    占用状态,非占用状态。Occupied state, not occupied state.
  15. 根据权利要求14所述的装置,其特征在于,所述语义标签获取模块还被配置为:The apparatus according to claim 14, wherein the semantic label acquisition module is further configured to:
    根据所述第一区域中的所述节点的状态和位置,使用聚类方法获取所述语义标签。The semantic labels are obtained using a clustering method according to the states and positions of the nodes in the first region.
  16. 根据权利要求11所述的装置,其特征在于,所述语义标签的第一状态包括:The apparatus according to claim 11, wherein the first state of the semantic label comprises:
    畅通状态,拥挤状态,堵塞状态;和/或unblocked state, crowded state, jammed state; and/or
    所述语义标签的第二状态包括:The second state of the semantic tag includes:
    锁定状态,非锁定状态。Locked state, unlocked state.
  17. 根据权利要求16所述的装置,其特征在于,The apparatus of claim 16, wherein:
    在所述语义标签中连接所述语义标签的两侧的连续节点均处于所述占用状态的条件下,所述语义标签的第一状态为所述堵塞状态;Under the condition that the continuous nodes connecting both sides of the semantic label in the semantic label are in the occupied state, the first state of the semantic label is the blocked state;
    在所述语义标签中处于所述占用状态的所述节点的数目大于第一阈值,或者所述语义标签 中处于所述占用状态的所述节点的比例大于第二阈值的条件下,所述语义标签的第一状态为所述拥挤状态。Under the condition that the number of the nodes in the occupied state in the semantic label is greater than a first threshold, or the proportion of the nodes in the occupied state in the semantic label is greater than a second threshold, the semantic The first state of the tag is the congestion state.
  18. 根据权利要求16所述的装置,其特征在于,The apparatus of claim 16, wherein:
    在所述语义标签的第一状态为畅通状态,或所述语义标签的第一状态为拥挤状态且拥挤指数小于或等于第三阈值的条件下,所述语义标签的第二状态为非锁定状态;Under the condition that the first state of the semantic label is the unblocked state, or the first state of the semantic label is the crowded state and the congestion index is less than or equal to the third threshold, the second state of the semantic label is the unlocked state ;
    在所述语义标签的第一状态为堵塞状态,或所述语义标签的第一状态为拥挤状态且所述拥挤指数大于所述第三阈值的条件下,所述语义标签的第二状态为锁定状态。The second state of the semantic label is locked when the first state of the semantic label is a congestion state, or the first state of the semantic label is a crowded state and the congestion index is greater than the third threshold state.
  19. 一种根据权利要求11-18任一项所述的地图构建装置的移动设备导航装置,包括:A mobile device navigation device of the map construction device according to any one of claims 11-18, comprising:
    导航起止位置获取模块,被配置为获取所述移动设备的导航起始位置和导航终止位置;a navigation start and end position acquisition module, configured to acquire a navigation start position and a navigation end position of the mobile device;
    导航路径规划模块,被配置为根据所述导航起始位置,所述导航终止位置,所述语义标签的第一状态和/或所述语义标签的第二状态,和所述节点的状态和位置计算导航路径;A navigation path planning module configured to base on the navigation start position, the navigation end position, the first state of the semantic label and/or the second state of the semantic label, and the state and position of the node Calculate the navigation path;
    移动模块,被配置为控制所述移动设备沿所述导航路径移动;a movement module configured to control the mobile device to move along the navigation path;
    状态更新模块,被配置为根据所述移动设备的位置和/或所述移动设备的探测结果,更新所述节点的状态,所述语义标签的第一状态和/或所述语义标签的第二状态;A state update module, configured to update the state of the node, the first state of the semantic label and/or the second state of the semantic label according to the location of the mobile device and/or the detection result of the mobile device state;
    导航路径更新模块,被配置为根据更新后的所述节点的状态,所述语义标签的第一状态和/或所述语义标签的第二状态,和所述节点的状态和位置更新所述导航路径。A navigation path update module configured to update the navigation according to the updated state of the node, the first state of the semantic label and/or the second state of the semantic label, and the state and position of the node path.
  20. 根据权利要求19所述的装置,其特征在于,所述导航路径规划模块还被配置为:The apparatus according to claim 19, wherein the navigation path planning module is further configured to:
    在所述导航起始位置和所述导航终止位置在同一语义标签之内的条件下,使用拓扑图级路径规划算法计算所述导航路径;Under the condition that the navigation start position and the navigation end position are within the same semantic label, the navigation path is calculated using a topology-graph level path planning algorithm;
    在所述导航起始位置和所述导航终止位置不在同一语义标签之内的条件下,使用语义标签级路径规划算法计算所述导航路径。Under the condition that the navigation start position and the navigation end position are not within the same semantic label, the navigation path is calculated using a semantic label-level path planning algorithm.
  21. 一种电子设备,其特征在于,包括存储器和处理器;其中,An electronic device, characterized by comprising a memory and a processor; wherein,
    所述存储器用于存储一条或多条计算机指令,其中,所述一条或多条计算机指令被所述处理器执行以实现如权利要求1-10任一项所述的方法。The memory is for storing one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method of any of claims 1-10.
  22. 一种可读存储介质,其上存储有计算机指令,其特征在于,该计算机指令被处理器执行时实现如权利要求1-10任一项所述的方法。A readable storage medium on which computer instructions are stored, characterized in that, when the computer instructions are executed by a processor, the method according to any one of claims 1-10 is implemented.
PCT/CN2021/131528 2021-02-09 2021-11-18 Mapping method and apparatus, navigation method and apparatus, electronic device, and readable storage medium WO2022170806A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110179020.X 2021-02-09
CN202110179020.XA CN114911882A (en) 2021-02-09 2021-02-09 Map construction and navigation method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
WO2022170806A1 true WO2022170806A1 (en) 2022-08-18

Family

ID=82761560

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/131528 WO2022170806A1 (en) 2021-02-09 2021-11-18 Mapping method and apparatus, navigation method and apparatus, electronic device, and readable storage medium

Country Status (2)

Country Link
CN (1) CN114911882A (en)
WO (1) WO2022170806A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116988837A (en) * 2023-09-25 2023-11-03 太原科技大学 Underground autonomous inspection system and method for coal mine

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115979270A (en) * 2022-12-27 2023-04-18 国广顺能(上海)能源科技有限公司 Navigation control system based on automatic binding of navigation point and parking lot number in garage scene

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106970614A (en) * 2017-03-10 2017-07-21 江苏物联网研究发展中心 The construction method of improved trellis topology semantic environment map
CN107817802A (en) * 2017-11-09 2018-03-20 北京进化者机器人科技有限公司 The construction method and device of hybrid double-layer map
CN108346288A (en) * 2018-02-12 2018-07-31 山东路科公路信息咨询有限公司 Section operating status method for early warning, device and electronic equipment
US20180322777A1 (en) * 2015-11-25 2018-11-08 Volkswagen Aktiengesellschaft Method and system for creating a lane-accurate occupancy grid map for lanes
CN109682381A (en) * 2019-02-22 2019-04-26 山东大学 Big visual field scene perception method, system, medium and equipment based on omnidirectional vision
CN110928972A (en) * 2019-11-22 2020-03-27 珠海格力电器股份有限公司 Semantic map construction method, system, device, storage medium and robot
US20200132477A1 (en) * 2018-10-29 2020-04-30 Aptiv Technologies Limited Automatic annotation of environmental features in a map during navigation of a vehicle

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180322777A1 (en) * 2015-11-25 2018-11-08 Volkswagen Aktiengesellschaft Method and system for creating a lane-accurate occupancy grid map for lanes
CN106970614A (en) * 2017-03-10 2017-07-21 江苏物联网研究发展中心 The construction method of improved trellis topology semantic environment map
CN107817802A (en) * 2017-11-09 2018-03-20 北京进化者机器人科技有限公司 The construction method and device of hybrid double-layer map
CN108346288A (en) * 2018-02-12 2018-07-31 山东路科公路信息咨询有限公司 Section operating status method for early warning, device and electronic equipment
US20200132477A1 (en) * 2018-10-29 2020-04-30 Aptiv Technologies Limited Automatic annotation of environmental features in a map during navigation of a vehicle
CN109682381A (en) * 2019-02-22 2019-04-26 山东大学 Big visual field scene perception method, system, medium and equipment based on omnidirectional vision
CN110928972A (en) * 2019-11-22 2020-03-27 珠海格力电器股份有限公司 Semantic map construction method, system, device, storage medium and robot

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116988837A (en) * 2023-09-25 2023-11-03 太原科技大学 Underground autonomous inspection system and method for coal mine
CN116988837B (en) * 2023-09-25 2024-04-05 太原科技大学 Underground autonomous inspection system and method for coal mine

Also Published As

Publication number Publication date
CN114911882A (en) 2022-08-16

Similar Documents

Publication Publication Date Title
WO2022170806A1 (en) Mapping method and apparatus, navigation method and apparatus, electronic device, and readable storage medium
JP2019521401A (en) Robot path planning system, method, robot and medium
Taylor et al. Vision-based motion planning and exploration algorithms for mobile robots
Pomerleau et al. Long-term 3D map maintenance in dynamic environments
CN108344414A (en) A kind of map structuring, air navigation aid and device, system
CN103635779B (en) For promoting the method and apparatus processed for the map datum of industrial vehicle navigation
JP2021509215A (en) Navigation methods, devices, devices, and storage media based on ground texture images
CN109489675A (en) The path planning based on cost for automatic driving vehicle
CN109491377A (en) The decision and planning based on DP and QP for automatic driving vehicle
US20230194267A1 (en) Systems and Methods for Updating an Electronic Map
US10260890B2 (en) Aisle-based roadmap generation
US20220374018A1 (en) Method and apparatus for controlling automated guided vehicle
CN107992060A (en) The paths planning method and system of multiple mobile robot
US20200250850A1 (en) Hybrid Metric-Topological Camera-Based Localization
CN110162058B (en) AGV planning method and device
CN110806211A (en) Method and device for robot to autonomously explore and establish graph and storage medium
CN108268039A (en) The paths planning method and system of mobile robot
US10860750B2 (en) Model driven layout design for robotics warehouse
US20100220104A1 (en) Map drawing device
CN109048909A (en) Minor matters formula path dispatching method, device, background server and the first robot
CN111860919A (en) Method, device, medium and electronic equipment for determining storage strategy of library shelf
CN109637176A (en) A kind of parking stall recommended method and device based on wisdom garden
JP6139178B2 (en) Sensor integration apparatus and sensor integration method
US11703350B2 (en) System and method for automatically annotating a map
US20200209881A1 (en) Method, System and Apparatus for Dynamic Loop Closure in Mapping Trajectories

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21925453

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21925453

Country of ref document: EP

Kind code of ref document: A1