CN110033497A - Region calibration method and device, electronic equipment and computer readable storage medium - Google Patents
Region calibration method and device, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN110033497A CN110033497A CN201810028184.0A CN201810028184A CN110033497A CN 110033497 A CN110033497 A CN 110033497A CN 201810028184 A CN201810028184 A CN 201810028184A CN 110033497 A CN110033497 A CN 110033497A
- Authority
- CN
- China
- Prior art keywords
- area
- map data
- user
- information
- calibration
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/20—Drawing from basic elements, e.g. lines or circles
- G06T11/203—Drawing of straight lines or curves
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Remote Sensing (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Navigation (AREA)
- Instructional Devices (AREA)
Abstract
Description
技术领域technical field
本公开涉及人工智能技术领域,具体涉及一种区域标定方法、装置、电子设备及计算机可读存储介质。The present disclosure relates to the technical field of artificial intelligence, and in particular, to a region calibration method, apparatus, electronic device, and computer-readable storage medium.
背景技术Background technique
移动智能设备例如割草机等,通常需要先规划好工作区域,然后再控制移动智能设备在工作区域内移动工作。已有技术中,例如智能割草机,通过设置铺设电缆等边界信号线,或者通过设置多个无线发射器,使得多个无线反射器发出的射线作为边界线围成一个封闭区域的电子网络的方式形成割草机的工作区域。再例如,清洁机器人还可以通过在室内行走一遍的方式确定室内边界,并划定工作区域。Mobile smart devices such as lawn mowers usually need to plan the work area first, and then control the mobile smart device to move and work in the work area. In the prior art, for example, intelligent lawn mowers, by setting up boundary signal lines such as laying cables, or by setting up multiple wireless transmitters, the rays emitted by multiple wireless reflectors are used as boundary lines to enclose an electronic network in a closed area. Way to form the working area of the lawn mower. For another example, the cleaning robot can also determine the indoor boundary and demarcate the working area by walking around the room.
发明内容SUMMARY OF THE INVENTION
本公开实施例提供一种区域标定方法、装置、电子设备及计算机可读存储介质。Embodiments of the present disclosure provide an area calibration method, apparatus, electronic device, and computer-readable storage medium.
第一方面,本公开实施例中提供了一种区域标定方法,包括:In a first aspect, an embodiment of the present disclosure provides a region calibration method, including:
获取包括预设位置的地图数据;Obtain map data including preset locations;
接收所述用户在所述地图数据上的第一标定信息;receiving the first calibration information of the user on the map data;
根据所述地图数据以及所述第一标定信息获取用户所标定的第一区域。The first area marked by the user is acquired according to the map data and the first marking information.
可选地,所述预设位置包括当前定位位置或者从外部接收到的位置。Optionally, the preset position includes a current positioning position or a position received from outside.
可选地,获取包括预设位置的地图数据,包括:Optionally, acquiring map data including preset positions, including:
通过网络接口导入包括预设位置的GPS地图数据。Import GPS map data including preset locations via web interface.
可选地,获取包括预设位置的地图数据,包括:Optionally, acquiring map data including preset positions, including:
获取通过传感器所建立的区域局部地图数据。Obtain the local map data of the area established by the sensor.
可选地,所述传感器包括以下至少之一:UWB设备、雷达、图像传感器、ZigBee设备、WIFI设备、蓝牙设备。Optionally, the sensor includes at least one of the following: UWB device, radar, image sensor, ZigBee device, WIFI device, and Bluetooth device.
可选地,所述接收所述用户在所述地图数据上的第一标定信息,包括:Optionally, the receiving the first calibration information of the user on the map data includes:
接收所述用户在所述地图数据的显示界面上的点选位置;receiving the clicked position of the user on the display interface of the map data;
根据所述点选位置在所述地图数据上的相对位置确定所述点选位置的经纬度数据。The latitude and longitude data of the selected position is determined according to the relative position of the selected position on the map data.
可选地,所述接收所述用户在所述地图数据上的第一标定信息,包括:Optionally, the receiving the first calibration information of the user on the map data includes:
接收所述用户在所述地图数据的显示界面上的点选位置;receiving the clicked position of the user on the display interface of the map data;
根据所述点选位置在所述地图数据上的相对位置确定所述点选位置在所述地图数据上的坐标数据;其中,所述坐标数据为预先在所述地图数据上建立的坐标系中的坐标数据。Determine the coordinate data of the clicked position on the map data according to the relative position of the clicked position on the map data; wherein, the coordinate data is in a coordinate system established in advance on the map data coordinate data.
可选地,所述接收所述用户在所述地图数据上的第一标定信息,包括:Optionally, the receiving the first calibration information of the user on the map data includes:
接收用户输入的经纬度数据或者坐标数据,其中,所述坐标数据为预先在所述地图数据上建立的坐标系中的坐标数据。The latitude and longitude data or coordinate data input by the user is received, wherein the coordinate data is the coordinate data in the coordinate system established on the map data in advance.
可选地,所述点选位置包括多个;根据所述地图数据以及所述第一标定信息获取用户所标定的第一区域,包括:Optionally, the selected location includes multiple; obtaining the first area calibrated by the user according to the map data and the first calibration information, including:
确定多个所述点选位置对应的坐标数据或经纬度数据形成的连线在所述地图数据中圈定的区域。An area delineated in the map data by a connection line formed by a plurality of coordinate data or latitude and longitude data corresponding to the selected positions is determined.
可选地,确定多个所述点选位置对应的坐标数据或经纬度数据形成的连线在所述地图数据中圈定的区域,包括:Optionally, determining an area delineated in the map data by a connection line formed by the coordinate data or latitude and longitude data corresponding to a plurality of the selected positions, including:
将多个所述点选位置对应的坐标数据或经纬度数据按照预定方向首尾连接,形成闭合曲线;Connecting the coordinate data or latitude and longitude data corresponding to a plurality of the selected positions according to a predetermined direction from end to end to form a closed curve;
将所述闭合曲线调整为预设形状的曲线;adjusting the closed curve to a curve of a preset shape;
确定所述预设形状的闭合曲线所圈定的区域为所述用户所标定的第一区域。It is determined that the area enclosed by the closed curve of the preset shape is the first area designated by the user.
可选地,确定多个所述点选位置形成的连线在所述地图数据中圈定的区域,包括:Optionally, determining an area delineated in the map data by connecting lines formed by a plurality of the selected positions, including:
将多个所述点选位置对应的坐标数据或经纬度数据按照预定方向首尾连接,形成闭合曲线;Connecting the coordinate data or latitude and longitude data corresponding to a plurality of the selected positions according to a predetermined direction from end to end to form a closed curve;
将所述闭合曲线提供给用户;providing the closed curve to the user;
根据用户的输入对所述闭合曲线进行调整;adjusting the closed curve according to the user's input;
确定调整后的所述闭合曲线圈定的区域为所述用户所标定的第一区域。It is determined that the area delineated by the adjusted closed curve is the first area marked by the user.
可选地,所述接收所述用户在所述地图数据上的第一标定信息之前,包括:Optionally, before receiving the first calibration information of the user on the map data, the method includes:
为用户提供绘图接口。Provides a drawing interface for the user.
可选地,所述接收所述用户在所述地图数据上的第一标定信息,包括:Optionally, the receiving the first calibration information of the user on the map data includes:
接收用户在所述地图数据上通过所述绘图接口绘制的图形;receiving graphics drawn by the user on the map data through the drawing interface;
根据所述图形在所述地图数据上的相对位置确定所述图形的经纬度数据。The latitude and longitude data of the graphic is determined according to the relative position of the graphic on the map data.
可选地,所述接收所述用户在所述地图数据上的第一标定信息,包括:Optionally, the receiving the first calibration information of the user on the map data includes:
接收用户在所述地图数据上通过所述绘图接口绘制的图形;receiving graphics drawn by the user on the map data through the drawing interface;
根据所述图形在所述地图数据上的相对位置确定所述图形在所述地图数据上的坐标数据;其中,所述坐标数据为预先在所述地图数据上建立的坐标系中的坐标数据。The coordinate data of the graphic on the map data is determined according to the relative position of the graphic on the map data; wherein, the coordinate data is coordinate data in a coordinate system established on the map data in advance.
可选地,所述方法还包括:Optionally, the method further includes:
获取移动智能设备的当前GPS位置信息;Obtain the current GPS location information of the mobile smart device;
通过比较所述当前GPS位置信息以及所述用户所标定的第一区域的边界信息,驱动所述移动智能设备在所述用户所标定的第一区域内移动。By comparing the current GPS position information and the boundary information of the first area marked by the user, the mobile smart device is driven to move within the first area marked by the user.
可选地,所述方法还包括:Optionally, the method further includes:
获取设置在移动智能设备上的位置传感器感测到的当前局部位置信息;Obtain the current local location information sensed by the location sensor set on the mobile smart device;
通过比较所述当前局部位置信息以及所述用户所标定的第一区域的边界信息,驱动所述移动智能设备在所述用户所标定的第一区域内移动。By comparing the current local position information and the boundary information of the first area marked by the user, the mobile smart device is driven to move within the first area marked by the user.
可选地,所述移动智能设备为割草机;所述用户所标定的第一区域为所述割草机的工作区域。Optionally, the mobile smart device is a lawn mower; and the first area marked by the user is a working area of the lawn mower.
可选地,所述方法还包括:Optionally, the method further includes:
接收所述用户在所述第一区域内的第二标定信息;receiving second calibration information of the user in the first area;
根据所述第二标定信息确定所述第一区域内的第二区域。A second area within the first area is determined according to the second calibration information.
可选地,所述方法还包括:Optionally, the method further includes:
获取移动智能设备的当前GPS位置信息;Obtain the current GPS location information of the mobile smart device;
通过比较所述当前GPS位置信息以及所述用户所标定的第一区域和第二区域的边界信息,驱动所述移动智能设备在所述用户所标定的第一区域和第二区域之间移动。By comparing the current GPS position information and the boundary information of the first area and the second area designated by the user, the mobile smart device is driven to move between the first area and the second area designated by the user.
可选地,所述方法还包括:Optionally, the method further includes:
获取设置在移动智能设备上的位置传感器感测到的当前局部位置信息;Obtain the current local location information sensed by the location sensor set on the mobile smart device;
通过比较所述当前局部位置信息以及所述用户所标定的第一区域和第二区域的边界信息,驱动移动智能设备在所述用户所标定的第一区域和第二区域之间移动。By comparing the current local position information and the boundary information of the first area and the second area designated by the user, the mobile smart device is driven to move between the first area and the second area designated by the user.
可选地,所述移动智能设备为割草机;所述用户所标定的第一区域和第二区域之间的第三区域为所述割草机的工作区域。Optionally, the mobile smart device is a lawn mower; the third area between the first area and the second area marked by the user is a working area of the lawn mower.
第二方面,本公开实施例提供了一种区域标定装置,包括:In a second aspect, an embodiment of the present disclosure provides an area calibration device, including:
第一获取模块,被配置为获取包括预设位置的地图数据;a first acquisition module, configured to acquire map data including a preset position;
第一接收模块,被配置为接收所述用户在所述地图数据上的第一标定信息;a first receiving module, configured to receive the first calibration information of the user on the map data;
第二获取模块,被配置为根据所述地图数据以及所述第一标定信息获取用户所标定的第一区域。The second obtaining module is configured to obtain the first area calibrated by the user according to the map data and the first calibration information.
可选地,所述预设位置包括当前定位位置或者从外部接收到的位置。Optionally, the preset position includes a current positioning position or a position received from outside.
可选地,所述第一获取模块,包括:Optionally, the first acquisition module includes:
导入子模块,被配置为通过网络接口导入包括预设位置的GPS地图数据。The import sub-module is configured to import GPS map data including preset positions through the network interface.
可选地,述第一获取模块,包括:Optionally, the first acquisition module includes:
第一获取子模块,被配置为获取通过传感器所建立的区域局部地图数据。The first acquisition sub-module is configured to acquire the regional local map data established by the sensor.
可选地,所述传感器包括以下至少之一:UWB设备、雷达、图像传感器、ZigBee设备、WIFI设备、蓝牙设备。Optionally, the sensor includes at least one of the following: UWB device, radar, image sensor, ZigBee device, WIFI device, and Bluetooth device.
可选地,所述第一接收模块,包括:Optionally, the first receiving module includes:
第一接收子模块,被配置为接收所述用户在所述地图数据的显示界面上的点选位置;a first receiving sub-module, configured to receive the clicked position of the user on the display interface of the map data;
第一确定子模块,被配置为根据所述点选位置在所述地图数据上的相对位置确定所述点选位置的经纬度数据。The first determination submodule is configured to determine longitude and latitude data of the clicked position according to the relative position of the clicked position on the map data.
可选地,所述第一接收模块,包括:Optionally, the first receiving module includes:
第二接收子模块,被配置为接收所述用户在所述地图数据的显示界面上的点选位置;a second receiving sub-module, configured to receive the clicked position of the user on the display interface of the map data;
第二确定子模块,被配置为根据所述点选位置在所述地图数据上的相对位置确定所述点选位置在所述地图数据上的坐标数据;其中,所述坐标数据为预先在所述地图数据上建立的坐标系中的坐标数据。The second determination submodule is configured to determine the coordinate data of the clicked position on the map data according to the relative position of the clicked position on the map data; The coordinate data in the coordinate system established on the map data.
可选地,所述第一接收模块,包括:Optionally, the first receiving module includes:
第三接收子模块,被配置为接收用户输入的经纬度数据或者坐标数据,其中,所述坐标数据为预先在所述地图数据上建立的坐标系中的坐标数据。The third receiving sub-module is configured to receive latitude and longitude data or coordinate data input by the user, wherein the coordinate data is coordinate data in a coordinate system established on the map data in advance.
可选地,所述点选位置包括多个;所述第二获取模块,包括:Optionally, the clicked positions include multiple; the second acquisition module includes:
第三确定子模块,被配置为确定多个所述点选位置对应的坐标数据或经纬度数据形成的连线在所述地图数据中圈定的区域。The third determination sub-module is configured to determine a region delineated in the map data by a connection line formed by a plurality of coordinate data or latitude and longitude data corresponding to the selected positions.
可选地,所述第三确定子模块,包括:Optionally, the third determination submodule includes:
第一形成子模块,被配置为将多个所述点选位置对应的坐标数据或经纬度数据按照预定方向首尾连接,形成闭合曲线;The first forming sub-module is configured to connect a plurality of coordinate data or latitude and longitude data corresponding to the selected positions according to a predetermined direction from end to end to form a closed curve;
第一调整子模块,被配置为将所述闭合曲线调整为预设形状的曲线;a first adjustment submodule, configured to adjust the closed curve to a curve of a preset shape;
第四确定子模块,被配置为确定所述预设形状的闭合曲线所圈定的区域为所述用户所标定的第一区域。The fourth determination sub-module is configured to determine the area enclosed by the closed curve of the preset shape as the first area designated by the user.
可选地,所述第三确定子模块,包括:Optionally, the third determination submodule includes:
第二形成子模块,被配置为将多个所述点选位置对应的坐标数据或经纬度数据按照预定方向首尾连接,形成闭合曲线;The second forming sub-module is configured to connect a plurality of coordinate data or latitude and longitude data corresponding to the selected positions according to a predetermined direction from end to end to form a closed curve;
提供子模块,被配置为将所述闭合曲线提供给用户;providing a submodule configured to provide the closed curve to a user;
第二调整模块,被配置为根据用户的输入对所述闭合曲线进行调整;a second adjustment module, configured to adjust the closed curve according to the user's input;
第五确定子模块,被配置为确定调整后的所述闭合曲线圈定的区域为所述用户所标定的第一区域。The fifth determination sub-module is configured to determine the area delineated by the adjusted closed curve as the first area demarcated by the user.
可选地,所述第一接收模块之前,包括:Optionally, before the first receiving module, including:
提供模块,被配置为为用户提供绘图接口。Provides a module configured to provide a drawing interface to the user.
可选地,所述第一接收模块,包括:Optionally, the first receiving module includes:
第四接收子模块,被配置为接收用户在所述地图数据上通过所述绘图接口绘制的图形;a fourth receiving sub-module, configured to receive a graph drawn by a user on the map data through the drawing interface;
第六确定子模块,被配置为根据所述图形在所述地图数据上的相对位置确定所述图形的经纬度数据。The sixth determination submodule is configured to determine the latitude and longitude data of the graphic according to the relative position of the graphic on the map data.
可选地,所述第一接收模块,包括:Optionally, the first receiving module includes:
第五接收子模块,被配置为接收用户在所述地图数据上通过所述绘图接口绘制的图形;a fifth receiving sub-module, configured to receive a graph drawn by a user on the map data through the drawing interface;
第七确定子模块,被配置为根据所述图形在所述地图数据上的相对位置确定所述图形在所述地图数据上的坐标数据;其中,所述坐标数据为预先在所述地图数据上建立的坐标系中的坐标数据。A seventh determination sub-module, configured to determine the coordinate data of the graphic on the map data according to the relative position of the graphic on the map data; wherein, the coordinate data is pre-determined on the map data Coordinate data in the established coordinate system.
可选地,所述装置还包括:Optionally, the device further includes:
第三获取模块,被配置为获取移动智能设备的当前GPS位置信息;The third acquisition module is configured to acquire the current GPS location information of the mobile smart device;
第一驱动模块,被配置为通过比较所述当前GPS位置信息以及所述用户所标定的第一区域的边界信息,驱动所述移动智能设备在所述用户所标定的第一区域内移动。The first driving module is configured to drive the mobile smart device to move in the first area marked by the user by comparing the current GPS position information and the boundary information of the first area marked by the user.
可选地,所述装置还包括:Optionally, the device further includes:
第四获取模块,被配置为获取设置在移动智能设备上的位置传感器感测到的当前局部位置信息;a fourth acquisition module, configured to acquire current local location information sensed by a location sensor provided on the mobile smart device;
第二驱动模块,被配置为通过比较所述当前局部位置信息以及所述用户所标定的第一区域的边界信息,驱动所述移动智能设备在所述用户所标定的第一区域内移动。The second driving module is configured to drive the mobile smart device to move within the first area marked by the user by comparing the current local position information and the boundary information of the first area marked by the user.
可选地,所述移动智能设备为割草机;所述用户所标定的第一区域为所述割草机的工作区域。Optionally, the mobile smart device is a lawn mower; and the first area marked by the user is a working area of the lawn mower.
可选地,所述装置还包括:Optionally, the device further includes:
第二接收模块,被配置为接收所述用户在所述第一区域内的第二标定信息;a second receiving module, configured to receive the second calibration information of the user in the first area;
确定模块,被配置为根据所述第二标定信息确定所述第一区域内的第二区域。A determination module configured to determine a second area within the first area according to the second calibration information.
可选地,所述装置还包括:Optionally, the device further includes:
第五获取模块,被配置为获取移动智能设备的当前GPS位置信息;a fifth acquisition module, configured to acquire the current GPS position information of the mobile smart device;
第二驱动模块,被配置为通过比较所述当前GPS位置信息以及所述用户所标定的第一区域和第二区域的边界信息,驱动所述移动智能设备在所述用户所标定的第一区域和第二区域之间移动。The second driving module is configured to drive the mobile smart device in the first area marked by the user by comparing the current GPS position information and the boundary information of the first area and the second area marked by the user and move between the second area.
可选地,所述装置还包括:Optionally, the device further includes:
第六获取模块,被配置为获取设置在移动智能设备上的位置传感器感测到的当前局部位置信息;The sixth acquisition module is configured to acquire the current local position information sensed by the position sensor provided on the mobile smart device;
第三驱动模块,被配置为通过比较所述当前局部位置信息以及所述用户所标定的第一区域和第二区域的边界信息,驱动移动智能设备在所述用户所标定的第一区域和第二区域之间移动。The third driving module is configured to drive the mobile smart device to drive the mobile smart device in the first area and the second area marked by the user by comparing the current local position information and the boundary information of the first area and the second area marked by the user. Move between the two regions.
可选地,所述移动智能设备为割草机;所述用户所标定的第一区域和第二区域之间的第三区域为所述割草机的工作区域。Optionally, the mobile smart device is a lawn mower; the third area between the first area and the second area marked by the user is a working area of the lawn mower.
所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。The functions can be implemented by hardware, or can be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
在一个可能的设计中,区域标定装置的结构中包括存储器和处理器,所述存储器用于存储一条或多条支持区域标定装置执行上述第一方面中区域标定方法的计算机指令,所述处理器被配置为用于执行所述存储器中存储的计算机指令。所述区域标定装置还可以包括通信接口,用于区域标定装置与其他设备或通信网络通信。In a possible design, the structure of the area calibration device includes a memory and a processor, the memory is used to store one or more computer instructions that support the area calibration device to perform the area calibration method in the first aspect, and the processor is configured to execute computer instructions stored in the memory. The area calibration apparatus may further include a communication interface for the area calibration apparatus to communicate with other devices or a communication network.
第三方面,本公开实施例提供了一种移动智能设备,包括位置检测模块、存储器和处理器;其中,所述位置检测模块用于检测所述移动智能设备的当前位置信息;所述存储器用于存储一条或多条计算机指令,其中,所述一条或多条计算机指令被所述处理器执行以实现第一方面所述的方法步骤。In a third aspect, embodiments of the present disclosure provide a mobile smart device, including a location detection module, a memory, and a processor; wherein the location detection module is used to detect current location information of the mobile smart device; the memory is used for detecting current location information of the mobile smart device; is stored in one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method steps of the first aspect.
可选地,所述位置检测模块包括以下至少之一:GPS定位模块、UWB、雷达、图像传感器、ZigBee设备、蓝牙设备、WIFI设备。Optionally, the location detection module includes at least one of the following: GPS positioning module, UWB, radar, image sensor, ZigBee device, Bluetooth device, WIFI device.
可选地,所述移动智能设备为智能割草机。Optionally, the mobile smart device is a smart lawn mower.
第四方面,本公开实施例提供了一种电子设备,包括存储器和处理器;其中,所述存储器用于存储一条或多条计算机指令,其中,所述一条或多条计算机指令被所述处理器执行以实现第一方面所述的方法步骤。In a fourth aspect, embodiments of the present disclosure provide 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 processed by the The device executes to implement the method steps described in the first aspect.
第五方面,本公开实施例提供了一种计算机可读存储介质,用于存储区域标定装置所用的计算机指令,其包含用于执行上述第一方面中区域标定方法所涉及的计算机指令。In a fifth aspect, embodiments of the present disclosure provide a computer-readable storage medium for storing computer instructions used by an area calibration apparatus, including computer instructions for executing the area calibration method in the first aspect.
本公开实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
本公开实施例通过先获得移动智能设备工作区域所在位置的地图数据,并通过用户输入的方式在地图数据上标定的一定的区域,通过这种方式,用户可以基于所获得的地图,轻易地从地图找出所要标定的区域,并直接手动在地图上标定出来。本公开实施例,可以快速高效地对所需的工作区域进行边界设置,而无需进行电缆或其他硬件设备来进行边界标定;可以直接利用已有的地图信息,在地图信息的基础上精确的圈定出工作区域,能够节省成本,方便操作,准确度较高。In this embodiment of the present disclosure, the map data of the location of the working area of the mobile smart device is obtained first, and a certain area is marked on the map data through user input. The map finds out the area to be demarcated and demarcates it manually on the map. The embodiment of the present disclosure can quickly and efficiently set the boundary of the required work area without the need for cables or other hardware devices to perform boundary calibration; the existing map information can be directly used to accurately delineate on the basis of the map information. Out of the working area, it can save costs, facilitate operation, and have high accuracy.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。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:
图1示出根据本公开一实施方式的区域标定方法的流程图;FIG. 1 shows a flowchart of a region calibration method according to an embodiment of the present disclosure;
图2示出根据图1所示实施方式的步骤S102的流程图;Fig. 2 shows a flowchart of step S102 according to the embodiment shown in Fig. 1;
图3示出根据图1所示实施方式的步骤S102的又一流程图;Fig. 3 shows another flowchart of step S102 according to the embodiment shown in Fig. 1;
图4示出根据图1所示实施方式的步骤S102的又一流程图;Fig. 4 shows another flowchart of step S102 according to the embodiment shown in Fig. 1;
图5示出根据图1所示实施方式的步骤S102的又一流程图;Fig. 5 shows another flowchart of step S102 according to the embodiment shown in Fig. 1;
图6示出根据本公开一实施方式的区域标定方法中利用第一区域驱动移动智能设备部分的流程图;FIG. 6 shows a flowchart of a part of driving a mobile smart device by using the first area in the area calibration method according to an embodiment of the present disclosure;
图7示出根据本公开一实施方式的区域标定方法中利用第一区域驱动移动智能设备部分的又一流程图;FIG. 7 shows yet another flowchart of driving the mobile smart device part by using the first area in the area calibration method according to an embodiment of the present disclosure;
图8示出根据本公开一实施方式的区域标定方法中进行第二区域标定的流程图;FIG. 8 shows a flow chart of performing the second area calibration in the area calibration method according to an embodiment of the present disclosure;
图9示出根据本公开一实施方式的区域标定方法中利用第一区域和第二区域驱动移动智能设备的流程图;FIG. 9 shows a flowchart of driving a mobile smart device by using the first area and the second area in the area calibration method according to an embodiment of the present disclosure;
图10示出根据本公开一实施方式的区域标定方法中利用第一区域和第二区域驱动移动智能设备的又一流程图;FIG. 10 shows another flowchart of driving a mobile smart device by using the first area and the second area in the area calibration method according to an embodiment of the present disclosure;
图11示出根据本公开一实施方式的区域标定装置的结构框图;FIG. 11 shows a structural block diagram of a region calibration apparatus according to an embodiment of the present disclosure;
图12示出根据本公开一实施方式的移动智能设备的结构框图;12 shows a structural block diagram of a mobile smart device according to an embodiment of the present disclosure;
图13是适于用来实现根据本公开一实施方式的区域标定方法的电子设备的结构示意图。13 is a schematic structural diagram of an electronic device suitable for implementing the area calibration 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 features, numbers, steps, acts, components, parts, or combinations thereof disclosed in this specification, and are not intended to exclude a or multiple other features, numbers, steps, acts, components, parts, or combinations thereof may exist or be added.
另外还需要说明的是,在不冲突的情况下,本公开中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本公开。In addition, it should be noted that the embodiments of the present disclosure and the features of 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.
图1示出根据本公开一实施方式的区域标定方法的流程图。如图1所示,所述区域标定方法包括以下步骤S101-S103:FIG. 1 shows a flowchart of a region calibration method according to an embodiment of the present disclosure. As shown in FIG. 1, the area calibration method includes the following steps S101-S103:
在步骤S101中,获取包括预设位置的地图数据;In step S101, obtain map data including a preset position;
在步骤S102中,接收所述用户在所述地图数据上的第一标定信息;In step S102, receiving the first calibration information of the user on the map data;
在步骤S103中,根据所述地图数据以及所述第一标定信息获取用户所标定的第一区域。In step S103, the first area calibrated by the user is acquired according to the map data and the first calibration information.
本实施例中,该区域标定方法可以是在移动智能设备如割草机上运行,也可以是远程服务器如云服务器上运行。用户可以通过移动智能设备上设置的人机交互接口标定第一区域,也可以通过用户终端上的app标定第一区域。所标定的第一区域可以导入至移动智能设备,以界定移动智能设备的工作区域。例如,对于割草机,用户可以通过割草机上设置的人机交互接口或者通过手机上的app标定割草区域,并将所标定的割草区域提供给割草机,以便割草机在工作时在用户所标定的第一区域内活动。In this embodiment, the area calibration method may be executed on a mobile smart device such as a lawn mower, or may be executed on a remote server such as a cloud server. The user may demarcate the first area through a human-computer interaction interface set on the mobile smart device, or demarcate the first area through an app on the user terminal. The marked first area can be imported into the mobile smart device to define the working area of the mobile smart device. For example, for a lawn mower, the user can calibrate the mowing area through the human-computer interaction interface set on the lawn mower or through the app on the mobile phone, and provide the calibrated mowing area to the lawn mower, so that the lawn mower is working active in the first area designated by the user.
预设位置可以是用户所要标定的第一区域内或附近的任一一个位置,预设位置包括当前定位位置或者从外部接收到的位置,例如可以通过定位当前移动智能设备所在位置,或者定位用户所在位置获得;或者直接由用户输入,或者从远程服务器获得。地图数据可以是GPS地图,也可以是具体地图,如通过UWB/zigbee基站建立的地图、激光雷达点云图、航拍地图等。The preset position can be any position in or near the first area to be calibrated by the user, and the preset position includes the current positioning position or the position received from the outside, for example, by locating the current position of the mobile smart device, or positioning Obtained from the user's location; either directly entered by the user, or obtained from a remote server. The map data can be a GPS map or a specific map, such as a map created by a UWB/zigbee base station, a lidar point cloud map, an aerial map, etc.
在获得地图数据后,可以将地图数据提供给用户,例如显示在移动智能设备的显示器上,或者通过通信网络输出至用户终端app上的显示界面上。可以理解的是,在给用户显示地图时,将预设位置所在区域显示给用户,用户可以基于自身需求放大或缩小所显示地图,并从中找到所要标定的区域,输入标定信息。例如,用户可以通过在地图上所要标定区域的边界指定多个点的方式输入标定信息,也可以通过划线的方式将所要标定区域的边界绘制出来。After the map data is obtained, the map data can be provided to the user, for example, displayed on the display of the mobile smart device, or output to the display interface on the user terminal app through the communication network. It can be understood that when displaying a map to the user, the region where the preset location is located is displayed to the user, and the user can zoom in or zoom out the displayed map based on his own needs, find the region to be calibrated, and input calibration information. For example, the user may input calibration information by specifying multiple points on the boundary of the area to be calibrated on the map, or may draw the boundary of the area to be calibrated by drawing a line.
在接收到用户输入的标定信息后,可以根据标定信息所在位置从地图数据中确定用户所要标定的第一区域。该第一区域可以是封闭的一整块区域,也可以是多个不连续的区域。还可以是一整块区域内部除去一块或多块小区域后剩余的区域。例如,针对割草机的工作区域,用户在标定自家草坪时,可以获得用户家位置所在地图数据,并从地图上选择草坪所在区域,在草坪边界选择多个位置点输入,以界定草坪的边界;当然在选定草坪边界之后,还可以在草坪里面有障碍物如树等的区域,再进行标定,以将障碍物区域排除在工作区域之外。本公开实施例,通过这种用户标定的方式,可以使得移动智能设备的工作区域的标定过程简单而易于操作,并且准确率较高,较之于设置电子围栏、移动智能设备自行走一圈记录边界位置的方式更加简便,易于操作,且能够大大节省成本,提高用户体验。After receiving the calibration information input by the user, the first area to be calibrated by the user may be determined from the map data according to the location of the calibration information. The first area may be a closed whole area, or may be a plurality of discontinuous areas. It can also be the remaining area after removing one or more small areas inside a whole area. For example, for the working area of a lawn mower, when calibrating their own lawn, the user can obtain the map data of the user's home location, select the area where the lawn is located from the map, and select multiple location points on the lawn boundary to input to define the boundary of the lawn. ; Of course, after selecting the lawn boundary, you can also calibrate the area with obstacles such as trees in the lawn to exclude the obstacle area from the work area. In the embodiment of the present disclosure, through this user calibration method, the calibration process of the working area of the mobile smart device can be made simple and easy to operate, and the accuracy rate is higher, compared with setting an electronic fence and the mobile smart device self-walking for a lap record The method of boundary location is simpler and easier to operate, and can greatly save costs and improve user experience.
在本实施例的一个可选实现方式中,所述步骤S101,即获取包括预设位置的地图数据的步骤,进一步包括:In an optional implementation manner of this embodiment, the step S101, that is, the step of acquiring map data including a preset position, further includes:
通过网络接口导入包括预设位置的GPS地图数据。Import GPS map data including preset locations via web interface.
该可选的实现方式中,可以通过通信网络从GPS地图供应商导入预设位置所在的地图数据。例如从google地图、百度地图等提供的接口导入地图数据。例如在割草机的应用场景下,用户将割草机置于自家草坪后,可以通过割草机上设置的GPS定位模块获得当前的GPS定位位置,之后再通过网络接口从GPS地图供应商获得GPS定位位置所在的地图数据,并将获得的地图数据显示在割草机的显示界面,或者是用户终端上相应的app上。用户可以基于所显示的地图对草坪边界以及障碍物区域等进行标定。In this optional implementation manner, map data where the preset position is located may be imported from a GPS map provider through a communication network. For example, import map data from interfaces provided by Google Maps, Baidu Maps, etc. For example, in the application scenario of the lawn mower, after the user places the lawn mower on his own lawn, he can obtain the current GPS positioning position through the GPS positioning module set on the lawn mower, and then obtain the GPS position from the GPS map supplier through the network interface. Locate the map data where the location is located, and display the obtained map data on the display interface of the lawn mower or on the corresponding app on the user terminal. Users can demarcate lawn boundaries and obstacle areas based on the displayed map.
在本实施例的一个可选实现方式中,所述步骤S101,即获取包括预设位置的地图数据的步骤,进一步包括:In an optional implementation manner of this embodiment, the step S101, that is, the step of acquiring map data including a preset position, further includes:
获取通过传感器所建立的区域局部地图数据。Obtain the local map data of the area established by the sensor.
该可选的实现方式中,区域局部地图数据可以是针对某一个小的区域专门建立的局部地图,例如对于一个社区、公园、商场、家、室内等建立的局部地图。区域局部地图数据中的位置信息可以是全球定位的经纬度数据,也可以不是经纬度数据,而是在建立地图时自行建立的空间坐标系中的坐标数据。本公开实施例中可以通过相应渠道获得第三方建立的局部地图数据,可以是该方法应用系统自身所建立的地图数据。局部地图数据可以通过一些传感器来建立。例如,对于室内地图,可以通过激光雷达获得室内的点云地图,对于室外某一区域,可以通过航拍获得航拍地图。当然还可以通过其他传感器例如UWB设备、蓝牙设备、WIFI设备和图像传感设备等建立局部地图。在使用这些传感器建立地图时,可以先选定一参照物,并以该选定的参照物所在位置为原点,建立一参照空间坐标系,之后通过传感器在所要建立地图的区域中感测与参照物之间的距离,进而建立该区域各个位置再所建立参照空间坐标系中的坐标数据,获得区域局部地图数据。In this optional implementation manner, the regional local map data may be a local map specially created for a small area, for example, a local map created for a community, park, shopping mall, home, indoor and so on. The location information in the regional local map data may be the longitude and latitude data of global positioning, or may not be the longitude and latitude data, but the coordinate data in the spatial coordinate system established by itself when the map is established. In the embodiment of the present disclosure, the local map data established by a third party may be obtained through a corresponding channel, which may be the map data established by the method application system itself. Local map data can be built up by some sensors. For example, for indoor maps, indoor point cloud maps can be obtained through lidar, and for an outdoor area, aerial photography maps can be obtained through aerial photography. Of course, local maps can also be established by other sensors, such as UWB devices, Bluetooth devices, WIFI devices, and image sensing devices. When using these sensors to create a map, you can first select a reference object, and use the location of the selected reference object as the origin to establish a reference space coordinate system, and then use the sensors to sense and refer to the area where the map is to be built. The distance between objects is then established, and then the coordinate data in the established reference space coordinate system is established for each position in the area to obtain the local map data of the area.
建立局部地图数据时采用的传感器包括但不限于UWB设备、雷达、图像传感器、ZigBee设备、WIFI设备和蓝牙设备。在建立局部地图数据时,可以采用上述一种传感器,也可以采用多种传感器协作建立区域局部地图。具体可根据实际情况选择,在此不再赘述。Sensors used in establishing local map data include but are not limited to UWB devices, radars, image sensors, ZigBee devices, WIFI devices and Bluetooth devices. When creating local map data, one of the above sensors can be used, or a variety of sensors can be used to cooperatively create a regional local map. The specific selection can be made according to the actual situation, which will not be repeated here.
在本实施例的一个可选实现方式中,如图2所示,所述步骤S102,即所述接收所述用户在所述地图数据上的第一标定信息的步骤,进一步包括以下步骤S201-S202:In an optional implementation manner of this embodiment, as shown in FIG. 2, the step S102, that is, the step of receiving the first calibration information of the user on the map data, further includes the following steps S201- S202:
在步骤S201中,接收所述用户在所述地图数据的显示界面上的点选位置;In step S201, receiving the clicked position of the user on the display interface of the map data;
在步骤S202中,根据所述点选位置在所述地图数据上的相对位置确定所述点选位置的经纬度数据。In step S202, the latitude and longitude data of the selected position is determined according to the relative position of the selected position on the map data.
在该可选的实现方式中,针对GPS地图数据,用户在GPS地图数据上选择要标定的区域,并在区域边界选择多个位置点输入。例如,如果所要标定的区域时规则四边形的,则可以通过触摸显示屏直接在地图上触摸区域边界四个角的位置,或者通过鼠标等点选装置选择四个角的位置;当然可以理解的是,对于不规则形状,可以通过选取多个点的方式或者直接以划线的方式输入标定信息。由于GPS地图数据是具有经纬度信息的,可以通过用户所点选位置再GPS地图上的相对位置,确定出用户点选位置的经纬度数据。In this optional implementation manner, for GPS map data, the user selects an area to be calibrated on the GPS map data, and selects multiple location points for input on the area boundary. For example, if the area to be marked is a regular quadrilateral, you can directly touch the positions of the four corners of the boundary of the area on the map by touching the display screen, or select the positions of the four corners through a pointing device such as a mouse; of course, it is understandable that , for irregular shapes, you can input calibration information by selecting multiple points or directly by dashing. Since the GPS map data has latitude and longitude information, the latitude and longitude data of the location selected by the user can be determined through the relative position of the location selected by the user and the GPS map.
在本实施例的一个可选实现方式中,如图3所示,所述步骤S102,即所述接收所述用户在所述地图数据上的第一标定信息的步骤,进一步包括以下步骤S301-S302:In an optional implementation manner of this embodiment, as shown in FIG. 3 , the step S102, that is, the step of receiving the first calibration information of the user on the map data, further includes the following steps S301- S302:
在步骤S301中,接收所述用户在所述地图数据的显示界面上的点选位置;In step S301, receiving the clicked position of the user on the display interface of the map data;
在步骤S302中,根据所述点选位置在所述地图数据上的相对位置确定所述点选位置在所述地图数据上的坐标数据;其中,所述坐标数据为预先在所述地图数据上建立的坐标系中的坐标数据。In step S302, coordinate data of the clicked position on the map data is determined according to the relative position of the clicked position on the map data; wherein, the coordinate data is pre-recorded on the map data Coordinate data in the established coordinate system.
该可选的实现方式中,可以针对所建立的局部区域地图数据,通过选择合适的原点、xy轴方向后,预先建立一空间坐标系,使得局部区域地图上的各个点在该空间坐标系中的坐标已知;而用户在局部区域地图上选择一个或多个点选位置后,可以根据该一个或多个点选位置与所述局部区域地图数据上的相对位置,确定在该空间坐标系中的坐标位置。该可选的实现方式适用于未采用GPS经纬度位置信息的局部区域地图数据,当然可以理解的是,也适用于GPS地图数据,只不过位置信息不是GPS经纬度信息,而是自己建立的空间坐标系中的坐标数据。需要说明的是,该空间坐标系可以是建立区域局部地图时的参照空间坐标系,也可是与该参照空间坐标系的位置关系确定的其他空间坐标系。In this optional implementation, a spatial coordinate system may be established in advance for the established local area map data by selecting an appropriate origin and xy-axis direction, so that each point on the local area map is in the spatial coordinate system The coordinates of the local area map are known; and after the user selects one or more clicked positions on the local area map, the user can determine the spatial coordinate system according to the relative position of the one or more clicked positions and the local area map data. the coordinate position in . This optional implementation is applicable to local area map data that does not use GPS latitude and longitude position information. Of course, it can be understood that it is also applicable to GPS map data, but the location information is not GPS latitude and longitude information, but a spatial coordinate system established by itself. coordinate data in . It should be noted that the space coordinate system may be a reference space coordinate system when establishing a local map of an area, or may be another space coordinate system determined by a positional relationship with the reference space coordinate system.
在本实施例的一个可选实现方式中,所述步骤S102,即所述接收所述用户在所述地图数据上的第一标定信息的步骤,进一步包括以下步骤:In an optional implementation manner of this embodiment, the step S102, that is, the step of receiving the first calibration information of the user on the map data, further includes the following steps:
接收用户输入的经纬度数据或者坐标数据,其中,所述坐标数据为预先在所述地图数据上建立的坐标系中的坐标数据。The latitude and longitude data or coordinate data input by the user is received, wherein the coordinate data is the coordinate data in the coordinate system established on the map data in advance.
该可选的实现方式中,针对GPS地图数据,用户在确定所要标定区域的经纬度信息的情况下,可以直接输入所要标定区域边界的经纬度数据,而对于非GPS地图数据,例如区域局部地图数据,在确定所要标定的区域在区域局部地图数据所依据的参照空间坐标系中的坐标数据时,也可以直接输入坐标数据。这种方式能够更加准确的标定用户所要标定的区域。In this optional implementation, for GPS map data, when the user determines the latitude and longitude information of the area to be calibrated, the user can directly input the latitude and longitude data of the boundary of the area to be calibrated, while for non-GPS map data, such as regional local map data, When determining the coordinate data of the area to be calibrated in the reference space coordinate system on which the local map data of the area is based, the coordinate data may also be directly input. In this way, the area to be calibrated by the user can be calibrated more accurately.
在本实施例的一个可选实现方式中,所述点选位置包括多个;所述步骤S102,即根据所述地图数据以及所述第一标定信息获取用户所标定的第一区域的步骤,进一步包括以下步骤:In an optional implementation manner of this embodiment, the clicked positions include multiple ones; the step S102 is the step of acquiring the first area calibrated by the user according to the map data and the first calibration information, It further includes the following steps:
确定多个所述点选位置对应的坐标数据或经纬度数据形成的连线在所述地图数据中圈定的区域。An area delineated in the map data by a connection line formed by a plurality of coordinate data or latitude and longitude data corresponding to the selected positions is determined.
该可选的实现方式中,如果用户标定的时候仅选择输入了所标定区域边界的多个点的话,可以根据预先设定的规则将多个点按照预设方向依次连接成线,例如相邻两个点之间连成直线,或者通过预设方式连成曲线的形式,具体可根据实际情况设置,在此不做限制。之后确定所连成的线上各个点的位置坐标,进而确定用户标定区域的位置信息。可以一种可行的实现方式是,如果用户所要标定的是形状规则的区域,例如是四边形,则用户可以通过点选或者其他方式输入四个顶点的位置,系统可以根据预先设置将这四个顶点连接形成一个四边形。当然,为了精确起见,对于不规则区域,用户可以选则多点选或输入几个位置,甚至可以以划线的方式输入区域边界位置。In this optional implementation manner, if the user only selects and inputs multiple points of the boundary of the calibrated area when calibrating, the multiple points can be sequentially connected into lines in a preset direction according to a preset rule, such as adjacent The two points can be connected to form a straight line, or can be connected to form a curve through a preset method, which can be set according to the actual situation, which is not limited here. After that, the position coordinates of each point on the connected line are determined, and then the position information of the user calibration area is determined. A feasible implementation method is that if the user wants to mark an area with a regular shape, such as a quadrilateral, the user can input the positions of the four vertices by clicking or other methods, and the system can set the four vertices according to the preset. Connect to form a quad. Of course, for the sake of accuracy, for the irregular area, the user can select multiple points or input several positions, and can even input the position of the region boundary in the form of a line.
在本实施例的一个可选实现方式中,确定多个所述点选位置对应的坐标数据或经纬度数据形成的连线在所述地图数据中圈定的区域的步骤,进一步包括以下步骤:In an optional implementation manner of this embodiment, the step of determining an area delineated in the map data by a connection line formed by a plurality of coordinate data or latitude and longitude data corresponding to the selected positions further includes the following steps:
将多个所述点选位置对应的坐标数据或经纬度数据按照预定方向首尾连接,形成闭合曲线;Connecting the coordinate data or latitude and longitude data corresponding to a plurality of the selected positions according to a predetermined direction from end to end to form a closed curve;
将所述闭合曲线调整为预设形状的曲线;adjusting the closed curve to a curve of a preset shape;
确定所述预设形状的闭合曲线所圈定的区域为所述用户所标定的第一区域。It is determined that the area enclosed by the closed curve of the preset shape is the first area designated by the user.
该可选的实现方式中,从用户获得所标定区域边界的多个点位置后,可以通过将多个点首尾连接成线的方式形成闭合曲线,例如可以将相邻两点连接成直线,或者根据预设规则连接成具有一定弧度的曲线等。之后还可以根据预先的设置将闭合曲线调整成规则的闭合曲线。调整后的闭合曲线所圈定的区域可以包括调整前闭合曲线所圈定的区域。例如可以通过检测闭合曲线的形状接近于哪种规则形状,则将该闭合曲线调整为相近的规则形状,比如,将用户所输入的多个点连成线后形成闭合曲线的形状接近于一个圆形,则可以将该闭合曲线调整为圆形曲线。当然,可以理解的是,也可以不对其进行调整,或者由用户对闭合曲线进行微调。In this optional implementation manner, after obtaining the positions of multiple points on the boundary of the demarcated area from the user, a closed curve can be formed by connecting the multiple points end-to-end into a line, for example, two adjacent points can be connected into a straight line, or Connect according to preset rules into a curve with a certain radian, etc. Afterwards, the closed curve can also be adjusted into a regular closed curve according to the preset settings. The area enclosed by the closed curve after adjustment may include the area enclosed by the closed curve before adjustment. For example, by detecting which regular shape the shape of the closed curve is close to, the closed curve can be adjusted to a similar regular shape, for example, the shape of the closed curve formed by connecting multiple points input by the user into a line is close to a circle shape, you can adjust the closed curve to a circular curve. Of course, it can be understood that it may not be adjusted, or the closed curve may be fine-tuned by the user.
在本实施例的一个可选实现方式中,确定多个所述点选位置对应的坐标数据或经纬度数据形成的连线在所述地图数据中圈定的区域的步骤,进一步包括以下步骤:In an optional implementation manner of this embodiment, the step of determining an area delineated in the map data by a connection line formed by a plurality of coordinate data or latitude and longitude data corresponding to the selected positions further includes the following steps:
将多个所述点选位置对应的坐标数据或经纬度数据按照预定方向首尾连接,形成闭合曲线;Connecting the coordinate data or latitude and longitude data corresponding to a plurality of the selected positions according to a predetermined direction from end to end to form a closed curve;
将所述闭合曲线提供给用户;providing the closed curve to the user;
根据用户的输入对所述闭合曲线进行调整;adjusting the closed curve according to the user's input;
确定调整后的所述闭合曲线圈定的区域为所述用户所标定的第一区域。It is determined that the area delineated by the adjusted closed curve is the first area marked by the user.
该可选的实现方式中,将用户输入的多个点连接形成闭合曲线后,还可以将该闭合曲线提供给用户,即将闭合曲线显示在地图上提供给用户。并提供调整接口,使得用户可以通过对该闭合曲线拖拽的方式将闭合曲线调整到一个最佳的位置,使得调整后的曲线正好覆盖在用户所标定的区域的边界。通过这种方式,所标定的区域精确度更高,且实施起来较为简单。In this optional implementation manner, after multiple points input by the user are connected to form a closed curve, the closed curve can also be provided to the user, that is, the closed curve is displayed on a map and provided to the user. And an adjustment interface is provided, so that the user can adjust the closed curve to an optimal position by dragging the closed curve, so that the adjusted curve just covers the boundary of the area marked by the user. In this way, the calibrated area is more accurate and simpler to implement.
在本实施例的一个可选实现方式中,所述接收所述用户在所述地图数据上的第一标定信息之前,包括:In an optional implementation manner of this embodiment, before the receiving the first calibration information of the user on the map data, the method includes:
为用户提供绘图接口。Provides a drawing interface for the user.
在该可选的实现方式中,为了用户方便在地图数据上标定第一区域,可以提供绘图接口。用户可以使用绘图接口中的菜单选项在地图上标定出第一区域。绘图接口例如可以是类似visio中的画图工具,用户可以选择画图工具中的箭头、曲线、图形等在地图上标定相应的区域。In this optional implementation manner, for the convenience of the user to mark the first area on the map data, a drawing interface may be provided. The user can demarcate the first area on the map using menu options in the drawing interface. The drawing interface can be, for example, a drawing tool similar to that in visio, and the user can select arrows, curves, graphs, etc. in the drawing tool to mark the corresponding area on the map.
在本实施例的一个可选实现方式中,如图4所示,所述步骤S102,即所述接收所述用户在所述地图数据上的第一标定信息的步骤,进一步包括以下步骤S401-S402:In an optional implementation manner of this embodiment, as shown in FIG. 4 , the step S102, that is, the step of receiving the first calibration information of the user on the map data, further includes the following steps S401- S402:
在步骤S401中,接收用户在所述地图数据上通过所述绘图接口绘制的图形;In step S401, a graph drawn by a user on the map data through the drawing interface is received;
在步骤S402中,根据所述图形在所述地图数据上的相对位置确定所述图形的经纬度数据。In step S402, the latitude and longitude data of the graphic is determined according to the relative position of the graphic on the map data.
在该可选的实现方式中,针对GPS地图数据,用户通过绘图接口在地图上绘制与所要标定区域相一致的图形,系统根据用户所绘制图形在GPS地图数据上的相对位置,确定用户所绘制图形所覆盖区域的经纬度数据,进而确定用户所标定的第一区域。In this optional implementation, for GPS map data, the user draws a graph on the map that is consistent with the area to be calibrated through the drawing interface, and the system determines the graph drawn by the user according to the relative position of the graph drawn by the user on the GPS map data. The latitude and longitude data of the area covered by the graphic are used to determine the first area designated by the user.
在本实施例的一个可选实现方式中,如图5所示,所述步骤S102,即所述接收所述用户在所述地图数据上的第一标定信息的步骤,进一步包括以下步骤S501-S502:In an optional implementation manner of this embodiment, as shown in FIG. 5 , the step S102, that is, the step of receiving the first calibration information of the user on the map data, further includes the following steps S501- S502:
在步骤S501中,接收用户在所述地图数据上通过所述绘图接口绘制的图形;In step S501, receiving a graph drawn by a user on the map data through the drawing interface;
在步骤S502中,根据所述图形在所述地图数据上的相对位置确定所述图形在所述地图数据上的坐标数据;其中,所述坐标数据为预先在所述地图数据上建立的坐标系中的坐标数据。In step S502, coordinate data of the graphic on the map data is determined according to the relative position of the graphic on the map data; wherein the coordinate data is a coordinate system established on the map data in advance coordinate data in .
在该可选的实现方式中,针非GPS地图数据,如区域局部地图数据,用户通过绘图接口在区域局部地图上绘制与所要标定区域相一致的图形,系统根据用户所绘制图形在区域局部地图上的相对位置,确定用户所绘制图形所覆盖区域的坐标数据,进而确定用户所标定的第一区域。In this optional implementation, for non-GPS map data, such as regional local map data, the user draws graphics consistent with the region to be calibrated on the regional local map through the drawing interface, and the system draws the regional local map according to the graphics drawn by the user. to determine the coordinate data of the area covered by the graphics drawn by the user, and then determine the first area marked by the user.
在本实施例的一个可选实现方式中,如图6所示,所述方法进一步包括以下步骤S601-S602:In an optional implementation manner of this embodiment, as shown in FIG. 6 , the method further includes the following steps S601-S602:
在步骤S601中,获取移动智能设备的当前GPS位置信息;In step S601, obtain the current GPS location information of the mobile smart device;
在步骤S602中,通过比较所述当前GPS位置信息以及所述用户所标定的第一区域的边界信息,驱动所述移动智能设备在所述用户所标定的第一区域内移动。In step S602, the mobile smart device is driven to move within the first area marked by the user by comparing the current GPS position information and the boundary information of the first area marked by the user.
该可选的实现方式中,在所获得的地图数据为GPS地图数据,且用户标定的第一区域是在GPS地图数据上标定的时候,获取移动智能设备的当前GPS位置信息,并通过比较当前GPS位置信息与第一区域边界的GPS位置信息,驱动移动智能设备在第一区域内移动。例如,割草机在割草时,通过比较当前位置与第一区域的边界位置,控制移动智能设备按照预设的路线在第一区域内割草。通过本公开实施例获得的移动智能设备的工作区域边界的方式,简单实用,无需在工作区域周边形成电子围栏等,能够节省成本,且准确性较高。In this optional implementation, when the obtained map data is GPS map data and the first area demarcated by the user is demarcated on the GPS map data, the current GPS position information of the mobile smart device is obtained, and the current GPS location information of the mobile smart device is obtained by comparing the current The GPS position information and the GPS position information of the boundary of the first area drive the mobile smart device to move in the first area. For example, when the lawnmower is cutting grass, it controls the mobile smart device to cut grass in the first area according to a preset route by comparing the current position with the boundary position of the first area. The method of the working area boundary of the mobile smart device obtained by the embodiment of the present disclosure is simple and practical, does not need to form an electronic fence around the working area, etc., can save costs, and has high accuracy.
在本实施例的一个可选实现方式中,如图7所示,所述方法进一步包括以下步骤S701-S702:In an optional implementation manner of this embodiment, as shown in FIG. 7 , the method further includes the following steps S701-S702:
在步骤S701中,获取设置在移动智能设备上的位置传感器感测到的当前局部位置信息;In step S701, obtain the current local location information sensed by a location sensor provided on the mobile smart device;
在步骤S702中,通过比较所述当前局部位置信息以及所述用户所标定的第一区域的边界信息,驱动所述移动智能设备在所述用户所标定的第一区域内移动。In step S702, the mobile smart device is driven to move in the first area marked by the user by comparing the current local position information and the boundary information of the first area marked by the user.
该可选的实现方式中,针对传感器所建立的区域局部地图数据,也即非GPS地图数据,可以通过设置在移动智能设备上的位置传感器检测智能传感器在所建立的区域局部地图数据的参照空间坐标系中的位置数据,进而并通过比较当前局部位置信息与第一区域边界的位置信息,驱动移动智能设备在第一区域内移动。例如,可以在移动智能设备的工作区域周边设置UWB基站,移动智能设备上设置一UWB设备,UWB设备实时获取与UWB基站之间的距离信息,进而再根据UWB基站在区域局部地图数据的参照空间坐标系中的坐标数据确定移动智能设备的当前局部位置信息。In this optional implementation manner, for the regional local map data established by the sensor, that is, the non-GPS map data, the location sensor set on the mobile smart device can detect the reference space of the regional local map data established by the smart sensor in the established regional map data. The position data in the coordinate system, and then by comparing the current local position information and the position information of the boundary of the first area, the mobile smart device is driven to move in the first area. For example, a UWB base station can be set around the working area of the mobile smart device, a UWB device can be set on the mobile smart device, the UWB device can obtain the distance information from the UWB base station in real time, and then according to the reference space of the UWB base station in the regional local map data The coordinate data in the coordinate system determines the current local location information of the mobile smart device.
在一实施例中,移动智能设备可以是割草机,第一区域可以为割草机的工作区域,如草坪。In one embodiment, the mobile smart device may be a lawn mower, and the first area may be a working area of the lawn mower, such as a lawn.
在本实施例的一个可选实现方式中,如图8所示,所述方法进一步包括以下步骤S801-S802:In an optional implementation manner of this embodiment, as shown in FIG. 8 , the method further includes the following steps S801-S802:
在步骤S801中,接收所述用户在所述第一区域内的第二标定信息;In step S801, receiving the second calibration information of the user in the first area;
在步骤S802中,根据所述第二标定信息确定所述第一区域内的第二区域。In step S802, a second area within the first area is determined according to the second calibration information.
该可选的实现方式中,用户在标定了第一区域后,还可以在第二区域内进一步进行标定,以确定一第二区域。例如,对于割草机,如果草坪中有障碍物,如某一块区域种植有树或其他植物,或者放置有其他物品时,为了放置割草机在割草过程中碰撞到这些障碍物,则用户在标定出草坪之后,还可以进一步在草坪中标定障碍物区域,即第二区域,当然,可以理解的是,第二区域不限于障碍物区域,也可以是其他用户不想草被修剪掉的区域。例如,用户想保留草坪中某一块区域内的草,使得该块草与其他区域的草形成一个反差,进而使得所保留的这块区域内的草形成一个特定形状的区域,能够起到美化环境的效果。In this optional implementation manner, after the user has calibrated the first area, the user may further calibrate in the second area to determine a second area. For example, for a lawnmower, if there are obstacles in the lawn, such as an area with trees or other plants, or other items placed, in order to prevent the lawnmower from hitting these obstacles during the mowing process, the user After the lawn is marked, the obstacle area, that is, the second area, can be further marked in the lawn. Of course, it can be understood that the second area is not limited to the obstacle area, and can also be other areas where the user does not want the grass to be mowed. . For example, the user wants to retain the grass in a certain area of the lawn, so that the grass in this area forms a contrast with the grass in other areas, so that the grass in the reserved area forms a specific shape area, which can beautify the environment. Effect.
在本实施例的一个可选实现方式中,如图9所示,所述方法进一步包括以下步骤S901-S902:In an optional implementation manner of this embodiment, as shown in FIG. 9 , the method further includes the following steps S901-S902:
在步骤S901中,获取移动智能设备的当前GPS位置信息;In step S901, obtain the current GPS location information of the mobile smart device;
在步骤S902中,通过比较所述当前GPS位置信息以及所述用户所标定的第一区域和第二区域的边界信息,驱动所述移动智能设备在所述用户所标定的第一区域和第二区域之间移动。In step S902, by comparing the current GPS position information and the boundary information of the first area and the second area designated by the user, the mobile smart device is driven to locate the first area and the second area designated by the user. Move between regions.
该可选的实现方式中,用户在标定了第一区域的同时,还在第一区域内标定了第二区域的情况下,针对获得的是GPS地图数据,且用户是在GPS地图上进行标定的情况,可以通过比较移动智能设备当前GPS位置信息与第一区域和第二区域的边界信息,控制移动智能设备在第一区域的边界和第二区域的边界之间的区域内移动。In this optional implementation, when the user calibrates the first area and also calibrates the second area in the first area, GPS map data is obtained and the user calibrates on the GPS map In the case of the mobile smart device, the mobile smart device can be controlled to move in the area between the boundary of the first area and the boundary of the second area by comparing the current GPS location information of the mobile smart device with the boundary information of the first area and the second area.
在本实施例的一个可选实现方式中,如图10所示,所述方法进一步包括以下步骤S1001-S1002:In an optional implementation manner of this embodiment, as shown in FIG. 10 , the method further includes the following steps S1001-S1002:
在步骤S1001中,获取设置在移动智能设备上的位置传感器感测到的当前局部位置信息;In step S1001, obtain the current local position information sensed by a position sensor provided on the mobile smart device;
在步骤S1002中,通过比较所述当前局部位置信息以及所述用户所标定的第一区域和第二区域的边界信息,驱动移动智能设备在所述用户所标定的第一区域和第二区域之间移动。In step S1002, by comparing the current local location information and the boundary information of the first area and the second area marked by the user, the mobile smart device is driven between the first area and the second area marked by the user move between.
该可选的实现方式中,用户在标定了第一区域的同时,还在第一区域内标定了第二区域的情况下,针对获得的是非GPS地图数据,即区域局部地图数据,且用户是在区域局部地图上进行标定的情况,可以通过比较获得的移动智能设备当前局部位置信息与第一区域边界、第二区域边界,控制移动设备在第一区域边界和第二区域边界之间的区域移动。In this optional implementation manner, when the user calibrates the first area and also calibrates the second area in the first area, the obtained non-GPS map data, that is, the local map data of the area, and the user is In the case of calibrating on the regional local map, you can control the area of the mobile device between the first area boundary and the second area boundary by comparing the obtained current local location information of the mobile smart device with the first area boundary and the second area boundary move.
在一实施例中,位置传感器包括但不限于UWB设备、雷达、图像传感器、ZigBee设备、WIFI设备和蓝牙设备。In one embodiment, location sensors include, but are not limited to, UWB devices, radars, image sensors, ZigBee devices, WIFI devices, and Bluetooth devices.
上述图9和图10所示实施例中,移动智能设备可以是割草机,第一区域和第二区域之间的第三区域为割草机的工作区域,即草坪。第二区域可以是草坪中的障碍物区域,也可以是其他用户不想修剪草的区域。In the above embodiments shown in FIGS. 9 and 10 , the mobile smart device may be a lawn mower, and the third area between the first area and the second area is the working area of the lawn mower, that is, the lawn. The second area can be an obstacle area in the lawn or another area where the user does not want to mow the grass.
下述为本公开装置实施例,可以用于执行本公开方法实施例。The following are the apparatus embodiments of the present disclosure, which can be used to execute the method embodiments of the present disclosure.
图11示出根据本公开一实施方式的区域标定装置的结构框图,该装置可以通过软件、硬件或者两者的结合实现成为电子设备的部分或者全部。如图11所示,所述区域标定装置包括第一获取模块1101、第一接收模块1102和第二获取模块1103:FIG. 11 shows a structural block diagram of an apparatus for region calibration according to an embodiment of the present disclosure. The apparatus can be implemented as part or all of an electronic device through software, hardware, or a combination of the two. As shown in FIG. 11 , the area calibration device includes a first acquisition module 1101, a first receiving module 1102 and a second acquisition module 1103:
第一获取模块1101,被配置为获取包括预设位置的地图数据;The first acquisition module 1101 is configured to acquire map data including a preset position;
第一接收模块1102,被配置为接收所述用户在所述地图数据上的第一标定信息;a first receiving module 1102, configured to receive the first calibration information of the user on the map data;
第二获取模块1103,被配置为根据所述地图数据以及所述第一标定信息获取用户所标定的第一区域。The second obtaining module 1103 is configured to obtain the first area calibrated by the user according to the map data and the first calibration information.
在本实施例的一个可选实现方式中,所述预设位置包括当前定位位置或者从外部接收到的位置。In an optional implementation manner of this embodiment, the preset position includes a current positioning position or a position received from outside.
在本实施例的一个可选实现方式中,所述第一获取模块,包括:In an optional implementation manner of this embodiment, the first obtaining module includes:
导入子模块,被配置为通过网络接口导入包括预设位置的GPS地图数据。The import sub-module is configured to import GPS map data including preset positions through the network interface.
在本实施例的一个可选实现方式中,所述第一获取模块,包括:In an optional implementation manner of this embodiment, the first obtaining module includes:
第一获取子模块,被配置为获取通过传感器所建立的区域局部地图数据。The first acquisition sub-module is configured to acquire the regional local map data established by the sensor.
在本实施例的一个可选实现方式中,所述传感器包括以下至少之一:UWB设备、雷达、图像传感器、ZigBee设备、WIFI设备、蓝牙设备。In an optional implementation manner of this embodiment, the sensor includes at least one of the following: a UWB device, a radar, an image sensor, a ZigBee device, a WIFI device, and a Bluetooth device.
在本实施例的一个可选实现方式中,所述第一接收模块,包括:In an optional implementation manner of this embodiment, the first receiving module includes:
第一接收子模块,被配置为接收所述用户在所述地图数据的显示界面上的点选位置;a first receiving sub-module, configured to receive the clicked position of the user on the display interface of the map data;
第一确定子模块,被配置为根据所述点选位置在所述地图数据上的相对位置确定所述点选位置的经纬度数据。The first determination submodule is configured to determine longitude and latitude data of the clicked position according to the relative position of the clicked position on the map data.
在本实施例的一个可选实现方式中,所述第一接收模块,包括:In an optional implementation manner of this embodiment, the first receiving module includes:
第二接收子模块,被配置为接收所述用户在所述地图数据的显示界面上的点选位置;a second receiving sub-module, configured to receive the clicked position of the user on the display interface of the map data;
第二确定子模块,被配置为根据所述点选位置在所述地图数据上的相对位置确定所述点选位置在所述地图数据上的坐标数据;其中,所述坐标数据为预先在所述地图数据上建立的坐标系中的坐标数据。The second determination submodule is configured to determine the coordinate data of the clicked position on the map data according to the relative position of the clicked position on the map data; The coordinate data in the coordinate system established on the map data.
在本实施例的一个可选实现方式中,所述第一接收模块,包括:In an optional implementation manner of this embodiment, the first receiving module includes:
第三接收子模块,被配置为接收用户输入的经纬度数据或者坐标数据,其中,所述坐标数据为预先在所述地图数据上建立的坐标系中的坐标数据。The third receiving sub-module is configured to receive latitude and longitude data or coordinate data input by the user, wherein the coordinate data is coordinate data in a coordinate system established on the map data in advance.
在本实施例的一个可选实现方式中,所述点选位置包括多个;所述第二获取模块,包括:In an optional implementation manner of this embodiment, the clicked positions include multiple; the second acquisition module includes:
第三确定子模块,被配置为确定多个所述点选位置对应的坐标数据或经纬度数据形成的连线在所述地图数据中圈定的区域。The third determination sub-module is configured to determine a region delineated in the map data by a connection line formed by a plurality of coordinate data or latitude and longitude data corresponding to the selected positions.
在本实施例的一个可选实现方式中,所述第三确定子模块,包括:In an optional implementation manner of this embodiment, the third determination submodule includes:
第一形成子模块,被配置为将多个所述点选位置对应的坐标数据或经纬度数据按照预定方向首尾连接,形成闭合曲线;The first forming sub-module is configured to connect a plurality of coordinate data or latitude and longitude data corresponding to the selected positions according to a predetermined direction from end to end to form a closed curve;
第一调整子模块,被配置为将所述闭合曲线调整为预设形状的曲线;a first adjustment submodule, configured to adjust the closed curve to a curve of a preset shape;
第四确定子模块,被配置为确定所述预设形状的闭合曲线所圈定的区域为所述用户所标定的第一区域。The fourth determination sub-module is configured to determine the area enclosed by the closed curve of the preset shape as the first area designated by the user.
在本实施例的一个可选实现方式中,所述第三确定子模块,包括:In an optional implementation manner of this embodiment, the third determination submodule includes:
第二形成子模块,被配置为将多个所述点选位置对应的坐标数据或经纬度数据按照预定方向首尾连接,形成闭合曲线;The second forming sub-module is configured to connect a plurality of coordinate data or latitude and longitude data corresponding to the selected positions according to a predetermined direction from end to end to form a closed curve;
提供子模块,被配置为将所述闭合曲线提供给用户;providing a submodule configured to provide the closed curve to a user;
第二调整模块,被配置为根据用户的输入对所述闭合曲线进行调整;a second adjustment module, configured to adjust the closed curve according to the user's input;
第五确定子模块,被配置为确定调整后的所述闭合曲线圈定的区域为所述用户所标定的第一区域。The fifth determination sub-module is configured to determine the area delineated by the adjusted closed curve as the first area demarcated by the user.
在本实施例的一个可选实现方式中,所述第一接收模块之前,包括:In an optional implementation of the present embodiment, before the first receiving module, including:
提供模块,被配置为为用户提供绘图接口。Provides a module configured to provide a drawing interface to the user.
在本实施例的一个可选实现方式中,所述第一接收模块,包括:In an optional implementation manner of this embodiment, the first receiving module includes:
第四接收子模块,被配置为接收用户在所述地图数据上通过所述绘图接口绘制的图形;a fourth receiving sub-module, configured to receive a graph drawn by a user on the map data through the drawing interface;
第六确定子模块,被配置为根据所述图形在所述地图数据上的相对位置确定所述图形的经纬度数据。The sixth determination submodule is configured to determine the latitude and longitude data of the graphic according to the relative position of the graphic on the map data.
在本实施例的一个可选实现方式中,所述第一接收模块,包括:In an optional implementation manner of this embodiment, the first receiving module includes:
第五接收子模块,被配置为接收用户在所述地图数据上通过所述绘图接口绘制的图形;a fifth receiving sub-module, configured to receive a graph drawn by a user on the map data through the drawing interface;
第七确定子模块,被配置为根据所述图形在所述地图数据上的相对位置确定所述图形在所述地图数据上的坐标数据;其中,所述坐标数据为预先在所述地图数据上建立的坐标系中的坐标数据。A seventh determination sub-module, configured to determine the coordinate data of the graphic on the map data according to the relative position of the graphic on the map data; wherein, the coordinate data is pre-determined on the map data Coordinate data in the established coordinate system.
在本实施例的一个可选实现方式中,装置还包括:In an optional implementation manner of this embodiment, the device further includes:
第三获取模块,被配置为获取移动智能设备的当前GPS位置信息;The third acquisition module is configured to acquire the current GPS location information of the mobile smart device;
第一驱动模块,被配置为通过比较所述当前GPS位置信息以及所述用户所标定的第一区域的边界信息,驱动所述移动智能设备在所述用户所标定的第一区域内移动。The first driving module is configured to drive the mobile smart device to move in the first area marked by the user by comparing the current GPS position information and the boundary information of the first area marked by the user.
在本实施例的一个可选实现方式中,装置还包括:In an optional implementation manner of this embodiment, the device further includes:
第四获取模块,被配置为获取设置在移动智能设备上的位置传感器感测到的当前局部位置信息;a fourth acquisition module, configured to acquire current local location information sensed by a location sensor provided on the mobile smart device;
第二驱动模块,被配置为通过比较所述当前局部位置信息以及所述用户所标定的第一区域的边界信息,驱动所述移动智能设备在所述用户所标定的第一区域内移动。The second driving module is configured to drive the mobile smart device to move within the first area marked by the user by comparing the current local position information and the boundary information of the first area marked by the user.
在本实施例的一个可选实现方式中,所述移动智能设备为割草机;所述用户所标定的第一区域为所述割草机的工作区域。In an optional implementation manner of this embodiment, the mobile smart device is a lawn mower; the first area marked by the user is a working area of the lawn mower.
在本实施例的一个可选实现方式中,装置还包括:In an optional implementation manner of this embodiment, the device further includes:
第二接收模块,被配置为接收所述用户在所述第一区域内的第二标定信息;a second receiving module, configured to receive the second calibration information of the user in the first area;
确定模块,被配置为根据所述第二标定信息确定所述第一区域内的第二区域。A determination module configured to determine a second area within the first area according to the second calibration information.
在本实施例的一个可选实现方式中,装置还包括:In an optional implementation manner of this embodiment, the device further includes:
第五获取模块,被配置为获取移动智能设备的当前GPS位置信息;a fifth acquisition module, configured to acquire the current GPS position information of the mobile smart device;
第二驱动模块,被配置为通过比较所述当前GPS位置信息以及所述用户所标定的第一区域和第二区域的边界信息,驱动所述移动智能设备在所述用户所标定的第一区域和第二区域之间移动。The second driving module is configured to drive the mobile smart device in the first area marked by the user by comparing the current GPS position information and the boundary information of the first area and the second area marked by the user and move between the second area.
在本实施例的一个可选实现方式中,装置还包括:In an optional implementation manner of this embodiment, the device further includes:
第六获取模块,被配置为获取设置在移动智能设备上的位置传感器感测到的当前局部位置信息;The sixth acquisition module is configured to acquire the current local position information sensed by the position sensor provided on the mobile smart device;
第三驱动模块,被配置为通过比较所述当前局部位置信息以及所述用户所标定的第一区域和第二区域的边界信息,驱动移动智能设备在所述用户所标定的第一区域和第二区域之间移动。The third driving module is configured to drive the mobile smart device to drive the mobile smart device in the first area and the second area marked by the user by comparing the current local position information and the boundary information of the first area and the second area marked by the user. Move between the two areas.
在本实施例的一个可选实现方式中,所述移动智能设备为割草机;所述用户所标定的第一区域和第二区域之间的第三区域为所述割草机的工作区域。In an optional implementation manner of this embodiment, the mobile smart device is a lawn mower; the third area between the first area and the second area marked by the user is the working area of the lawn mower .
上述区域标定装置与图1-10所示实施例中区域标定方法对应一致,具体细节可参见上述对区域标定方法的描述,在此不再赘述。The foregoing region calibration device corresponds to the region calibration method in the embodiment shown in FIGS. 1-10 . For details, please refer to the above description of the region calibration method, which will not be repeated here.
图12示出根据本公开实施方式中应用区域标定方法的移动智能设备的结构示意图。FIG. 12 shows a schematic structural diagram of a mobile smart device to which a region calibration method is applied according to an embodiment of the present disclosure.
如图12所示,移动智能设备1200包括:位置检测模块1201、存储器1202和处理器1203;其中,所述位置检测模块1201用于检测所述移动智能设备的当前位置信息;所述存储器1202用于存储一条或多条计算机指令,其中,所述一条或多条计算机指令被所述处理器1201执行以实现上述区域标定方法的步骤。As shown in FIG. 12, the mobile smart device 1200 includes: a location detection module 1201, a memory 1202 and a processor 1203; wherein, the location detection module 1201 is used to detect the current location information of the mobile smart device; the memory 1202 is used for One or more computer instructions are stored, wherein the one or more computer instructions are executed by the processor 1201 to implement the steps of the above area calibration method.
上述区域标定方法的具体细节可参见图1-10所示实施例中区域标定方法的描述,在此不再赘述。For the specific details of the above area calibration method, reference may be made to the description of the area calibration method in the embodiment shown in FIGS. 1-10 , which will not be repeated here.
在本实施例的一个可选实现方式中,所述位置检测模块包括以下至少之一:GPS定位模块、UWB设备、雷达、图像传感器、ZigBee设备、蓝牙设备、WIFI设备。In an optional implementation of this embodiment, the location detection module includes at least one of the following: a GPS positioning module, a UWB device, a radar, an image sensor, a ZigBee device, a Bluetooth device, and a WIFI device.
在本实施例的一个可选实现方式中,所述移动智能设备为智能割草机。In an optional implementation manner of this embodiment, the mobile smart device is a smart lawn mower.
图13是适于用来实现根据本公开实施方式的区域标定方法的电子设备的结构示意图。FIG. 13 is a schematic structural diagram of an electronic device suitable for implementing the area calibration method according to an embodiment of the present disclosure.
如图13所示,电子设备1300包括中央处理单元(CPU)1301,其可以根据存储在只读存储器(ROM)1302中的程序或者从存储部分1308加载到随机访问存储器(RAM)1303中的程序而执行上述图1所示的实施方式中的各种处理。在RAM1303中,还存储有电子设备1300操作所需的各种程序和数据。CPU1301、ROM1302以及RAM1303通过总线1304彼此相连。输入/输出(I/O)接口1305也连接至总线1304。As shown in FIG. 13 , the electronic device 1300 includes a central processing unit (CPU) 1301 that can be loaded into a random access memory (RAM) 1303 according to a program stored in a read only memory (ROM) 1302 or a program from a storage section 1308 Instead, various processes in the above-described embodiment shown in FIG. 1 are executed. In the RAM 1303, various programs and data necessary for the operation of the electronic device 1300 are also stored. The CPU 1301 , the ROM 1302 , and the RAM 1303 are connected to each other through a bus 1304 . An input/output (I/O) interface 1305 is also connected to bus 1304 .
以下部件连接至I/O接口1305:包括键盘、鼠标等的输入部分1306;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分1307;包括硬盘等的存储部分1308;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分1309。通信部分1309经由诸如因特网的网络执行通信处理。驱动器1310也根据需要连接至I/O接口1305。可拆卸介质1311,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器1310上,以便于从其上读出的计算机程序根据需要被安装入存储部分1308。The following components are connected to the I/O interface 1305: an input section 1306 including a keyboard, a mouse, etc.; an output section 1307 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1308 including a hard disk, etc. ; and a communication section 1309 including a network interface card such as a LAN card, a modem, and the like. The communication section 1309 performs communication processing via a network such as the Internet. Drivers 1310 are also connected to I/O interface 1305 as needed. A removable medium 1311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is mounted on the drive 1310 as needed so that a computer program read therefrom is installed into the storage section 1308 as needed.
特别地,根据本公开的实施方式,上文参考图1描述的方法可以被实现为计算机软件程序。例如,本公开的实施方式包括一种计算机程序产品,其包括有形地包含在及其可读介质上的计算机程序,所述计算机程序包含用于执行图1的方法的程序代码。在这样的实施方式中,该计算机程序可以通过通信部分1309从网络上被下载和安装,和/或从可拆卸介质1311被安装。In particular, according to an embodiment of the present disclosure, the method described above with reference to FIG. 1 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 method of FIG. 1 . In such an embodiment, the computer program may be downloaded and installed from the network via the communication portion 1309, and/or installed from the removable medium 1311.
附图中的流程图和框图,图示了按照本公开各种实施方式的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,路程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。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 apparatus 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. Those skilled in the art should understand 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-mentioned technical features, and should also cover the above-mentioned 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 (10)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110110764.6A CN112950743A (en) | 2018-01-11 | 2018-01-11 | Region calibration method and device, electronic equipment and computer readable storage medium |
| CN201810028184.0A CN110033497B (en) | 2018-01-11 | 2018-01-11 | Region calibration method, device, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810028184.0A CN110033497B (en) | 2018-01-11 | 2018-01-11 | Region calibration method, device, electronic equipment and computer readable storage medium |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110110764.6A Division CN112950743A (en) | 2018-01-11 | 2018-01-11 | Region calibration method and device, electronic equipment and computer readable storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110033497A true CN110033497A (en) | 2019-07-19 |
| CN110033497B CN110033497B (en) | 2023-12-12 |
Family
ID=67234711
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110110764.6A Pending CN112950743A (en) | 2018-01-11 | 2018-01-11 | Region calibration method and device, electronic equipment and computer readable storage medium |
| CN201810028184.0A Active CN110033497B (en) | 2018-01-11 | 2018-01-11 | Region calibration method, device, electronic equipment and computer readable storage medium |
Family Applications Before (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110110764.6A Pending CN112950743A (en) | 2018-01-11 | 2018-01-11 | Region calibration method and device, electronic equipment and computer readable storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (2) | CN112950743A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112947496A (en) * | 2021-05-05 | 2021-06-11 | 中国矿业大学 | Unmanned trackless rubber-tyred vehicle standardized transportation platform and control method thereof |
| CN114489401A (en) * | 2022-01-18 | 2022-05-13 | 北京京东振世信息技术有限公司 | Map boundary line generation and device |
| CN115695063A (en) * | 2021-07-28 | 2023-02-03 | 海信集团控股股份有限公司 | Method and device for controlling intelligent equipment |
| CN115811702A (en) * | 2021-09-14 | 2023-03-17 | 科沃斯机器人股份有限公司 | Working area determination method, device, equipment and readable storage medium |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113950144B (en) * | 2021-10-01 | 2024-03-22 | 南宁市安普康商贸有限公司 | Monitoring method, system, device and computer program product |
| CN114491316B (en) * | 2022-02-11 | 2025-09-16 | 深圳库犸科技有限公司 | Determination method, determination device, electronic equipment and related products |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8180851B1 (en) * | 2011-08-04 | 2012-05-15 | Google Inc. | Management of pre-fetched mapping data incorporating user-specified locations |
| CN105549470A (en) * | 2015-12-18 | 2016-05-04 | 小米科技有限责任公司 | State display method and device of robot |
| CN106257446A (en) * | 2015-06-19 | 2016-12-28 | 苏州市大创信息运用有限公司 | Geography information Freehandhand-drawing system based on longitude and latitude |
| CN107133351A (en) * | 2017-05-25 | 2017-09-05 | 北京元心科技有限公司 | Drawing method and device, user terminal, server and computer-readable medium |
| CN107239074A (en) * | 2016-03-29 | 2017-10-10 | 苏州宝时得电动工具有限公司 | Automatic working system and its map method for building up of working region |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102316224B (en) * | 2011-09-28 | 2013-09-11 | 深圳市赛格导航科技股份有限公司 | Mobile phone alarm method and special mobile phone |
| CN103324191A (en) * | 2012-03-23 | 2013-09-25 | 苏州宝时得电动工具有限公司 | Control method and control system executing same |
| CN106325271A (en) * | 2016-08-19 | 2017-01-11 | 深圳市银星智能科技股份有限公司 | Intelligent mowing device and intelligent mowing device positioning method |
-
2018
- 2018-01-11 CN CN202110110764.6A patent/CN112950743A/en active Pending
- 2018-01-11 CN CN201810028184.0A patent/CN110033497B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8180851B1 (en) * | 2011-08-04 | 2012-05-15 | Google Inc. | Management of pre-fetched mapping data incorporating user-specified locations |
| CN106257446A (en) * | 2015-06-19 | 2016-12-28 | 苏州市大创信息运用有限公司 | Geography information Freehandhand-drawing system based on longitude and latitude |
| CN105549470A (en) * | 2015-12-18 | 2016-05-04 | 小米科技有限责任公司 | State display method and device of robot |
| CN107239074A (en) * | 2016-03-29 | 2017-10-10 | 苏州宝时得电动工具有限公司 | Automatic working system and its map method for building up of working region |
| CN107133351A (en) * | 2017-05-25 | 2017-09-05 | 北京元心科技有限公司 | Drawing method and device, user terminal, server and computer-readable medium |
Non-Patent Citations (2)
| Title |
|---|
| 李晨阳等: "《 信息补正用户反馈收藏 国家数字地质资料馆技术系统设计》", 北京:地质出版社, pages: 152 * |
| 祖莉, 王华坤, 岳峰: "全区域覆盖移动机器人无标识工作环境的边界建立与识别", 机器人, no. 02, pages 152 * |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112947496A (en) * | 2021-05-05 | 2021-06-11 | 中国矿业大学 | Unmanned trackless rubber-tyred vehicle standardized transportation platform and control method thereof |
| CN115695063A (en) * | 2021-07-28 | 2023-02-03 | 海信集团控股股份有限公司 | Method and device for controlling intelligent equipment |
| CN115695063B (en) * | 2021-07-28 | 2024-04-02 | 海信集团控股股份有限公司 | Method and device for controlling intelligent equipment |
| CN115811702A (en) * | 2021-09-14 | 2023-03-17 | 科沃斯机器人股份有限公司 | Working area determination method, device, equipment and readable storage medium |
| CN114489401A (en) * | 2022-01-18 | 2022-05-13 | 北京京东振世信息技术有限公司 | Map boundary line generation and device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110033497B (en) | 2023-12-12 |
| CN112950743A (en) | 2021-06-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110033497B (en) | Region calibration method, device, electronic equipment and computer readable storage medium | |
| JP6202535B2 (en) | Method for ensuring continuity of service of personal navigation device and device | |
| US20200082577A1 (en) | Methods for generating soil maps and application prescriptions | |
| US10390472B2 (en) | Determining field characteristics using optical recognition | |
| EP3174328B1 (en) | System and method for radio signal coverage mapping | |
| US11714201B2 (en) | Surveying system | |
| WO2017092905A1 (en) | System and method for navigation guidance of a vehicle in an agricultural field | |
| WO2019100188A1 (en) | Method for planning operation route of unmanned aerial vehicle and ground end device | |
| US20210092218A1 (en) | Point of Interest Data Creation for Use with Location-Aware Mobile Devices | |
| CN115167529B (en) | Monitoring method and system, unmanned aerial vehicle, mobile terminal and storage medium | |
| TWI742268B (en) | Method, device and system for mapping position detections to a graphical representation | |
| CN117516513A (en) | Intelligent mower path planning method, device, equipment and storage medium | |
| CN111369622A (en) | Method, device and system for obtaining camera world coordinate position for virtual-real overlay application | |
| US20240385332A1 (en) | Surveying system | |
| CN117148383A (en) | Signal strength determination methods, devices, computer equipment and storage media | |
| AU2022231663A1 (en) | A system and a method for processing a request about a physical location for a building item or building infrastructure | |
| CN113452842A (en) | Flight AR display method, system, computer equipment and storage medium | |
| US12339877B2 (en) | Point of interest data creation for use with location-aware mobile devices | |
| Bachmeier | Wi-Fi based indoor navigation in the context of mobile services | |
| CN120928322A (en) | A joint calibration method and system for roadside sensing devices based on high-precision maps | |
| CN116222520A (en) | Surveying and mapping method, device, equipment and storage medium | |
| Gao et al. | Indoor Localization by Photo-Taking of the Environment | |
| TW201137746A (en) | Off-line map generation method used for navigation | |
| KR20170042439A (en) | System and method for GNSS measuring using mobile device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP03 | Change of name, title or address | ||
| CP03 | Change of name, title or address |
Address after: Room 1107, Building 2, No. 66 Zhongguancun East Road, Haidian District, Beijing, 100190 Patentee after: Lingdong Technology (Anhui) Co.,Ltd. Country or region after: China Address before: Room 1107, Building 2, No. 66 Zhongguancun East Road, Haidian District, Beijing, 100190 Patentee before: LINGDONG TECHNOLOGY (BEIJING) Co.,Ltd. Country or region before: China |