CN117918108A - Lawn mower control method, system, storage medium and lawn mower - Google Patents
Lawn mower control method, system, storage medium and lawn mower Download PDFInfo
- Publication number
- CN117918108A CN117918108A CN202410035521.4A CN202410035521A CN117918108A CN 117918108 A CN117918108 A CN 117918108A CN 202410035521 A CN202410035521 A CN 202410035521A CN 117918108 A CN117918108 A CN 117918108A
- Authority
- CN
- China
- Prior art keywords
- information
- target
- strategy
- mowing
- task
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000003860 storage Methods 0.000 title claims abstract description 10
- 230000008859 change Effects 0.000 claims description 20
- 230000000694 effects Effects 0.000 abstract description 9
- 230000004888 barrier function Effects 0.000 abstract 1
- 230000000875 corresponding effect Effects 0.000 description 21
- 230000006399 behavior Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 238000005265 energy consumption Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 4
- 238000012937 correction Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000009333 weeding Methods 0.000 description 2
- 241001465754 Metazoa Species 0.000 description 1
- 241001417527 Pempheridae Species 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 238000012271 agricultural production Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000000446 fuel Substances 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- A—HUMAN NECESSITIES
- A01—AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
- A01D—HARVESTING; MOWING
- A01D34/00—Mowers; Mowing apparatus of harvesters
- A01D34/006—Control or measuring arrangements
- A01D34/008—Control or measuring arrangements for automated or remotely controlled operation
Landscapes
- Life Sciences & Earth Sciences (AREA)
- Environmental Sciences (AREA)
- Harvester Elements (AREA)
Abstract
Description
技术领域Technical Field
本申请涉及燃料电池领域,尤其是涉及一种割草机控制方法、系统、存储介质及割草机。The present application relates to the field of fuel cells, and in particular to a lawn mower control method, system, storage medium and lawn mower.
背景技术Background technique
家庭户外割草任务的繁重与重复,使用传统手持割草机无疑是增加人们的负担,而自动割草机所处工作环境不同于自动扫地机工作于室内,自动割草机可能会出现误入花圃、甚至误伤行人或动物的情况。目前割草机主要用于大型平地草坪、高尔夫球场、公园草坪、绿化带等的草坪修剪及杂草清理。现有的割草机需要人工全程现场监督作业,费时费力,不符合现代化发展的要求。而现有的路径自动规划方法对于硬件运算速度要求高,直接应用于割草机上,会导致割草机成本大幅上升,影响割草机的广泛使用。The heavy and repetitive tasks of outdoor lawn mowing at home will undoubtedly increase people's burden by using traditional handheld lawn mowers. The working environment of automatic lawn mowers is different from that of automatic sweepers working indoors. Automatic lawn mowers may accidentally enter flower beds or even accidentally injure pedestrians or animals. At present, lawn mowers are mainly used for lawn mowing and weeding of large flat lawns, golf courses, park lawns, green belts, etc. Existing lawn mowers require manual on-site supervision throughout the operation, which is time-consuming and labor-intensive and does not meet the requirements of modern development. The existing automatic path planning method has high requirements for hardware computing speed. Direct application to lawn mowers will lead to a significant increase in the cost of lawn mowers, affecting the widespread use of lawn mowers.
因此,如何根据割草机的实际运用场景智能生成割草机控制方法成了一个亟待解决的技术问题。Therefore, how to intelligently generate a lawn mower control method based on the actual application scenario of the lawn mower has become a technical problem that needs to be solved urgently.
发明内容Summary of the invention
为了根据割草机的实际运用场景智能生成割草机控制方法,本申请提供一种割草机控制方法、系统、存储介质及割草机。In order to intelligently generate a lawn mower control method according to the actual application scenario of the lawn mower, the present application provides a lawn mower control method, system, storage medium and lawn mower.
第一方面,本申请提供的一种割草机控制方法采用如下的技术方案:In the first aspect, the present application provides a lawn mower control method using the following technical solution:
一种割草机控制方法,包括:A lawn mower control method, comprising:
在接收到目标任务时,根据所述目标任务确定任务目标基础信息;When receiving a target task, determining task target basic information according to the target task;
获取当前工作模式,根据所述当前工作模式确定策略偏好权重;Obtaining a current working mode, and determining a strategy preference weight according to the current working mode;
根据所述任务目标基础信息和所述策略偏好权重生成第一割草策略;Generate a first mowing strategy according to the task target basic information and the strategy preference weight;
获取当前场景信息,根据所述当前场景信息中的地理信息和障碍物信息结合所述第一割草策略确定目标割草策略;Acquire current scene information, and determine a target mowing strategy based on geographic information and obstacle information in the current scene information and the first mowing strategy;
根据所述目标割草策略确定割草工作计划信息并将所述割草工作计划信息发送至目标割草机。Mowing work plan information is determined according to the target mowing strategy and the mowing work plan information is sent to the target mower.
可选的,所述获取当前工作模式,根据所述当前工作模式确定策略偏好权重的步骤,包括:Optionally, the step of obtaining the current working mode and determining the policy preference weight according to the current working mode includes:
获取当前工作模式,根据所述当前工作模式在预设模式标签集合中匹配目标标签集合;Acquire a current working mode, and match a target tag set in a preset mode tag set according to the current working mode;
根据所述目标标签集合确定具体标签内容信息;Determine specific tag content information according to the target tag set;
根据所述具体标签内容信息确定策略偏好权重。The policy preference weight is determined according to the specific tag content information.
可选的,所述根据所述具体标签内容信息确定策略偏好权重的步骤,包括:Optionally, the step of determining the policy preference weight according to the specific tag content information includes:
获取预设标准内容规则;Get preset standard content rules;
根据所述具体标签内容信息和所述预设标准内容规则确定每一类型数据的偏移状态;Determine the offset state of each type of data according to the specific tag content information and the preset standard content rule;
根据所述每一类型数据的偏移状态确定策略偏好权重。The policy preference weight is determined according to the deviation status of each type of data.
可选的,所述根据所述任务目标基础信息和所述策略偏好权重生成第一割草策略的步骤,包括:Optionally, the step of generating a first mowing strategy according to the task target basic information and the strategy preference weight includes:
根据所述任务目标基础信息确定目标工作内容以及工作需求信息;Determine the target work content and work requirement information based on the task target basic information;
在所述策略偏好权重确定默认要素集合和变更要素集合;Determine a default element set and a change element set based on the policy preference weights;
根据所述变更要素集合结合所述工作需求信息确定目标工作需求信息;Determine target work requirement information according to the set of change elements combined with the work requirement information;
根据所述目标工作需求信息和所述目标工作内容生成第一割草策略。A first mowing strategy is generated according to the target work requirement information and the target work content.
可选的,所述根据所述变更要素集合结合所述工作需求信息确定目标工作需求信息的步骤,包括:Optionally, the step of determining target work requirement information according to the change factor set in combination with the work requirement information includes:
在所述变更要素集合中获取每一要素对应的偏好设定信息;Obtaining preference setting information corresponding to each element in the change element set;
在所述工作需求信息中获取分类信息;Obtaining classification information from the job requirement information;
根据所述偏好设定信息对应的分类在所述分类信息中进行更新以确定目标工作需求信息。The classification information is updated according to the classification corresponding to the preference setting information to determine the target work requirement information.
可选的,所述获取当前场景信息,根据所述当前场景信息中的地理信息和障碍物信息结合所述第一割草策略确定目标割草策略的步骤,包括;Optionally, the step of acquiring current scene information and determining a target mowing strategy according to geographic information and obstacle information in the current scene information combined with the first mowing strategy includes:
获取当前场景信息,在所述当前场景信息中确定地理信息、障碍物信息和待工作区域信息;Acquire current scene information, and determine geographic information, obstacle information, and information of a waiting working area in the current scene information;
根据所述地理信息和所述障碍物信息生成工作路线;generating a working route according to the geographic information and the obstacle information;
根据所述待工作区域和所述工作路线确定待处理工作量信息;Determine the workload information to be processed according to the area to be worked and the work route;
根据所述待处理工作量信息和所述第一割草策略确定目标割草策略。A target mowing strategy is determined according to the workload information to be processed and the first mowing strategy.
可选的,所述根据所述待处理工作量信息和所述第一割草策略确定目标割草策略的步骤,包括:Optionally, the step of determining a target mowing strategy according to the workload information to be processed and the first mowing strategy includes:
在所述第一割草策略中获取对应的目标工作量并作为更新条件;In the first mowing strategy, a corresponding target workload is obtained and used as an update condition;
根据所述更新条件和所述待处理工作量信息判断是否需要进行更新;Determining whether an update is required according to the update condition and the workload information to be processed;
若否,则将所述第一割草策略结合所述工作路线生成目标割草策略;If not, combining the first mowing strategy with the working route to generate a target mowing strategy;
若是,则根据所述更新条件结合所述工作路线在所述第一割草策略中进行更新以确定目标割草策略。If yes, then the first mowing strategy is updated according to the update condition in combination with the working route to determine a target mowing strategy.
第二方面,本申请提供一种割草机控制系统,所述割草机控制系统包括:In a second aspect, the present application provides a lawn mower control system, the lawn mower control system comprising:
基础信息模块,用于在接收到目标任务时,根据所述目标任务确定任务目标基础信息;A basic information module is used to determine the basic information of the task target according to the target task when receiving the target task;
工作模式模块,用于获取当前工作模式,根据所述当前工作模式确定策略偏好权重;A working mode module, used to obtain the current working mode and determine the strategy preference weight according to the current working mode;
第一割草策略模块,用于根据所述任务目标基础信息和所述策略偏好权重生成第一割草策略;A first mowing strategy module, used for generating a first mowing strategy according to the task target basic information and the strategy preference weight;
目标割草策略模块,用于获取当前场景信息,根据所述当前场景信息中的地理信息和障碍物信息结合所述第一割草策略确定目标割草策略;A target mowing strategy module, used to obtain current scene information, and determine a target mowing strategy based on geographic information and obstacle information in the current scene information in combination with the first mowing strategy;
割草工作计划信息模块,用于根据所述目标割草策略确定割草工作计划信息并将所述割草工作计划信息发送至目标割草机。The mowing work plan information module is used to determine the mowing work plan information according to the target mowing strategy and send the mowing work plan information to the target mower.
第三方面,本申请提供一种割草机,所述设备包括:存储器、处理器,所述处理器在运行所述存储器存储的计算机指令时,执行如上文所述的方法。In a third aspect, the present application provides a lawn mower, the device comprising: a memory, a processor, and the processor executes the method described above when running computer instructions stored in the memory.
第四方面,本申请提供一种计算机可读存储介质,包括指令,当所述指令在计算机上运行时,使得计算机执行如上文所述的方法。In a fourth aspect, the present application provides a computer-readable storage medium, comprising instructions, which, when executed on a computer, enable the computer to execute the method described above.
综上描述,本申请包括以下有益技术效果:In summary, the present application includes the following beneficial technical effects:
本申请在接收到目标任务时根据目标任务确定任务目标基础信息;获取当前工作模式确定策略偏好权重;根据任务目标基础信息和策略偏好权重生成第一割草策略;获取当前场景信息,根据当前场景信息中的地理信息和障碍物信息结合第一割草策略确定目标割草策略;根据目标割草策略确定割草工作计划信息并发送至目标割草机。通过结合工作模式、目标任务以及当前场景信息合理生成割草工作计划信息,实现了根据实际场景信息合理生成割草机控制方法的技术效果。The present application determines the basic information of the task target according to the target task upon receiving the target task; obtains the current working mode to determine the strategy preference weight; generates the first mowing strategy according to the basic information of the task target and the strategy preference weight; obtains the current scene information, and determines the target mowing strategy according to the geographic information and obstacle information in the current scene information combined with the first mowing strategy; determines the mowing work plan information according to the target mowing strategy and sends it to the target mower. By combining the working mode, the target task and the current scene information to reasonably generate the mowing work plan information, the technical effect of reasonably generating the mower control method according to the actual scene information is achieved.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本申请实施例方案涉及的硬件运行环境的割草机结构示意图。FIG1 is a schematic diagram of the structure of a lawn mower in the hardware operating environment of an embodiment of the present application.
图2是本申请割草机控制方法第一实施例的流程示意图。FIG. 2 is a flow chart of a first embodiment of a lawn mower control method of the present application.
图3是本申请割草机控制系统第一实施例的结构框图。FIG. 3 is a structural block diagram of a first embodiment of a lawn mower control system of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下通过附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below through the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
参照图1,图1为本申请实施例方案涉及的硬件运行环境的割草机结构示意图。Refer to Figure 1, which is a schematic diagram of the structure of a lawn mower in the hardware operating environment involved in the embodiment of the present application.
如图1所示,割草机可以包括:处理器1001,例如中央处理器(Central ProcessingUnit,CPU),通信总线1002,用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如无线保真(Wireless-Fidelity,Wi-Fi)接口)。存储器1005可以是高速的随机存取存储器(Random Access Memory,RAM),也可以是稳定的非易失性存储器(Non-Volatile Memory,NVM),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG1 , the lawn mower may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
本领域技术人员可以理解,图1中示出的结构并不构成对割草机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art will appreciate that the structure shown in FIG. 1 does not limit the lawn mower, and may include more or fewer components than shown, or a combination of certain components, or a different arrangement of components.
如图1所示,作为一种存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及割草机控制程序。As shown in FIG. 1 , the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a lawn mower control program.
在图1所示的割草机中,网络接口1004主要用于与网络服务器进行数据通信;用户接口1003主要用于与用户进行数据交互;本申请中的处理器1001、存储器1005可以设置于割草机中,所述割草机通过处理器1001调用存储器1005中存储的割草机控制程序,并执行本申请实施例提供的割草机控制方法。In the lawn mower shown in Figure 1, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the present application can be set in the lawn mower, and the lawn mower calls the lawn mower control program stored in the memory 1005 through the processor 1001, and executes the lawn mower control method provided in the embodiment of the present application.
本申请实施例提供了一种割草机控制方法,参照图2,图2为本申请割草机控制方法第一实施例的流程示意图。An embodiment of the present application provides a lawn mower control method. Referring to FIG. 2 , FIG. 2 is a flow chart of a first embodiment of the lawn mower control method of the present application.
本实施例中,割草机控制方法包括以下步骤:In this embodiment, the lawn mower control method includes the following steps:
步骤S10:在接收到目标任务时,根据目标任务确定任务目标基础信息。Step S10: When the target task is received, the task target basic information is determined according to the target task.
需要说明的是,割草机(Lawn mower)又称除草机、剪草机、草坪修剪机等。割草机是一种用于修剪草坪、植被等的机械工具,它是由刀盘、发动机、行走轮、行走机构、刀片、扶手、控制部分组成。刀盘装在行走轮上,刀盘上装有发动机,发动机的输出轴上装有刀片,刀片利用发动机的高速旋转在速度方面提高很多,节省了除草工人的作业时间,减少了大量的人力资源。发展农业机械化、提高工作效率、提高农业生产效率。It should be noted that a lawn mower is also called a weeder, a lawn mower, a lawn trimmer, etc. A lawn mower is a mechanical tool used to trim lawns, vegetation, etc. It consists of a cutter disc, an engine, a running wheel, a running mechanism, a blade, an armrest, and a control part. The cutter disc is mounted on the running wheel, the engine is mounted on the cutter disc, and the blade is mounted on the output shaft of the engine. The blade uses the high-speed rotation of the engine to increase the speed a lot, saving the working time of the weeding workers and reducing a lot of human resources. Develop agricultural mechanization, improve work efficiency, and improve agricultural production efficiency.
可以理解的是,在本实施例中的执行主体作为割草机,其具有网络通讯功能,可以支持与割草机后台的云端系统进行数据交互。同时除去割草机的基础功能之外,本实施例中还涉及定位传感器和图像传感器。It is understandable that the execution subject in this embodiment is a lawn mower, which has a network communication function and can support data interaction with the cloud system of the lawn mower background. In addition to the basic functions of the lawn mower, this embodiment also involves a positioning sensor and an image sensor.
在具体实施中,根据目标任务确定任务目标基础信息是通过在收到目标任务时,获取目标任务对应的任务内容,从任务内容相关的数据包中进行解析以确定任务目标以及任务目标基础信息。In a specific implementation, determining the basic information of the task target according to the target task is performed by obtaining the task content corresponding to the target task when the target task is received, and parsing the data packet related to the task content to determine the task target and the basic information of the task target.
需要说明的是,任务目标基础信息是当前工作任务中的具体任务区域、工作内容、工作限制条件以及工作备注事项。It should be noted that the basic information of the task objective is the specific task area, work content, work restrictions and work notes in the current work task.
在具体实施中,接收目标任务的方式可以是通过预设接收端口进行任务相关指令的接收,也可以是通过后台管理人员进行手动任务录入的方式进行被动获取。In a specific implementation, the target task may be received by receiving task-related instructions through a preset receiving port, or may be passively acquired by manual task entry by a backend manager.
步骤S20:获取当前工作模式,根据当前工作模式确定策略偏好权重。Step S20: Obtain the current working mode, and determine the strategy preference weight according to the current working mode.
需要说明的是,本实施例执行主体的工作模式在本实施例中包括:常规工作模式、节能工作模式、高性能工作模式以及特殊工作模式。其中特殊工作模式可以由后台管理人员对割草机的性能进行自定义化设定。而节能工作模式是指割草机以减少能源消耗为目的生成的一种工作模式,同理在本实施例中的高性能工作模式则是指强调以工作完成效果为导向忽略能源消耗所定义的一种工作模式。It should be noted that the working modes of the execution subject of this embodiment include: normal working mode, energy-saving working mode, high-performance working mode and special working mode. The special working mode can be customized by the back-end administrator to set the performance of the lawn mower. The energy-saving working mode refers to a working mode generated by the lawn mower for the purpose of reducing energy consumption. Similarly, the high-performance working mode in this embodiment refers to a working mode defined by emphasizing the work completion effect and ignoring energy consumption.
在具体实施中,根据当前工作模式确定策略偏好权重是指根据当前工作模式对应的模式效果确定策略偏好权重,其中策略偏好权重的获取意义在于可以根据策略偏好权重调整后续生成的割草策略中具体策略的策略详情。In a specific implementation, determining the strategy preference weight according to the current working mode refers to determining the strategy preference weight according to the mode effect corresponding to the current working mode, wherein the significance of obtaining the strategy preference weight is that the strategy details of the specific strategy in the subsequently generated mowing strategy can be adjusted according to the strategy preference weight.
进一步的,为了合理确定策略偏好权重,获取当前工作模式,根据当前工作模式确定策略偏好权重的步骤,包括:获取当前工作模式,根据当前工作模式在预设模式标签集合中匹配目标标签集合;根据目标标签集合确定具体标签内容信息;根据具体标签内容信息确定策略偏好权重。Furthermore, in order to reasonably determine the policy preference weight, the current working mode is obtained, and the step of determining the policy preference weight according to the current working mode includes: obtaining the current working mode, matching the target tag set in the preset mode tag set according to the current working mode; determining the specific tag content information according to the target tag set; and determining the policy preference weight according to the specific tag content information.
可以理解的是,本实施例中的预设模式标签集合是指预先进行设定的关于模式类型和标签内容以及其对应映射关系的集合。例如:A模式下,对应包括了a、b以及c标签内容。因此,通过建立预设模式标签集合可以在确定当前工作模式之后根据当前工作模式在预设模式标签集合中进行匹配确定目标标签集合。It can be understood that the preset mode label set in this embodiment refers to a set of pre-set mode types and label contents and their corresponding mapping relationships. For example, in mode A, the corresponding label contents include a, b, and c. Therefore, by establishing a preset mode label set, after determining the current working mode, the target label set can be determined by matching the preset mode label set according to the current working mode.
在具体实施中,根据具体标签内容确定策略偏好权重是指根据具体标签内容中的内容信息确定内容倾向,结合预设权重变更条件生成每一类型内容对应的策略偏好权重。In a specific implementation, determining the policy preference weight according to the specific tag content means determining the content tendency according to the content information in the specific tag content, and generating the policy preference weight corresponding to each type of content in combination with the preset weight change conditions.
需要说明的是,根据具体标签内容信息确定策略偏好权重的步骤,包括:获取预设标准内容规则;根据具体标签内容信息和预设标准内容规则确定每一类型数据的偏移状态;根据每一类型数据的偏移状态确定策略偏好权重。It should be noted that the step of determining the policy preference weight based on the specific label content information includes: obtaining preset standard content rules; determining the offset state of each type of data based on the specific label content information and the preset standard content rules; and determining the policy preference weight based on the offset state of each type of data.
在具体实施中,通过获取预设标准内容规则结合具体标签内容信息确定每一类型数据的偏移状态,是指先在具体标签内容信息中确定信息详情,再通过预设标准内容规则确定内容标准,根据信息详情与内容标准确定偏移状态。In a specific implementation, the offset state of each type of data is determined by obtaining preset standard content rules in combination with specific label content information, which means first determining the information details in the specific label content information, then determining the content standard through preset standard content rules, and determining the offset state based on the information details and the content standard.
需要说明的是,偏移状态是指具体信息程度之间的偏差,最终将通过数据化的方式进行展现。例如通过设定相应的内容等级对应偏差程度进一步确定偏差系数,以数据的方式将偏差系数作为偏移状态的一种表示。It should be noted that the deviation state refers to the deviation between specific information levels, which will eventually be presented in a digital way. For example, by setting the corresponding content level to the deviation degree, the deviation coefficient is further determined, and the deviation coefficient is used as a representation of the deviation state in a digital way.
步骤S30:根据任务目标基础信息和策略偏好权重生成第一割草策略。Step S30: generating a first mowing strategy according to the task target basic information and the strategy preference weight.
需要说明的是,根据目标基础信息和策略偏好权重生成第一割草策略中的第一割草策略是对整个割草任务的一种任务指令。其中包括割草工作具体内容、割草路线以及割草限制条件等。It should be noted that the first mowing strategy generated according to the target basic information and the strategy preference weight is a task instruction for the entire mowing task, which includes the specific content of the mowing work, the mowing route, and the mowing restriction conditions.
在具体实施中,根据基础信息和策略偏好权重生成第一割草策略通过将根据基础信息确定割草限制条件和割草路线,同时根据策略偏好权重确定具体的割草工作内容。In a specific implementation, the first mowing strategy is generated according to the basic information and the strategy preference weights by determining the mowing restriction conditions and the mowing route according to the basic information, and determining the specific mowing work content according to the strategy preference weights.
进一步的,为了实现合理生成第一割草策略,根据任务目标基础信息和策略偏好权重生成第一割草策略的步骤,包括:根据任务目标基础信息确定目标工作内容以及工作需求信息;在策略偏好权重确定默认要素集合和变更要素集合;根据变更要素集合结合工作需求信息确定目标工作需求信息;根据目标工作需求信息和目标工作内容生成第一割草策略。在本实施例中通过将策略偏好权重确定默认要素集合以及变更要素集合确定不同要素集合的特殊性,其中默认要素集合是指没有变动的要素,而变更要素集合就是指产生了变化需要进行对应的策略因子变更的因素集合。通过变更要素集合结合工作需求信息进行更新以确定目标工作需求信息。实现了根据策略偏好权重合理确定第一割草策略的技术型效果。Furthermore, in order to reasonably generate the first mowing strategy, the step of generating the first mowing strategy according to the basic information of the task goal and the policy preference weight includes: determining the target work content and work requirement information according to the basic information of the task goal; determining the default element set and the change element set according to the policy preference weight; determining the target work requirement information according to the change element set combined with the work requirement information; generating the first mowing strategy according to the target work requirement information and the target work content. In this embodiment, the particularity of different element sets is determined by determining the default element set and the change element set according to the policy preference weight, wherein the default element set refers to the elements that have not changed, and the change element set refers to the set of factors that have changed and need to change the corresponding policy factors. The target work requirement information is determined by updating the change element set combined with the work requirement information. The technical effect of reasonably determining the first mowing strategy according to the policy preference weight is achieved.
需要说明的是,根据变更要素集合结合工作需求信息确定目标工作需求信息的步骤,包括:在变更要素集合中获取每一要素对应的偏好设定信息;在工作需求信息中获取分类信息;根据偏好设定信息对应的分类在分类信息中进行更新以确定目标工作需求信息。It should be noted that the step of determining the target work requirement information based on the change element set combined with the work requirement information includes: obtaining the preference setting information corresponding to each element in the change element set; obtaining the classification information in the work requirement information; and updating the classification information according to the classification corresponding to the preference setting information to determine the target work requirement information.
步骤S40:获取当前场景信息,根据当前场景信息中的地理信息和障碍物信息结合第一割草策略确定目标割草策略。Step S40: obtaining current scene information, and determining a target mowing strategy based on the geographic information and obstacle information in the current scene information and the first mowing strategy.
需要说明的是,获取当前场景信息,根据当前场景信息中的地理信息和障碍物信息结合第一割草策略确定目标割草策略的步骤,包括;获取当前场景信息,在前场景信息中确定地理信息、障碍物信息和待工作区域信息;根据地理信息和障碍物信息生成工作路线;根据待工作区域和工作路线确定待处理工作量信息;根据待处理工作量信息和第一割草策略确定目标割草策略。It should be noted that the steps of obtaining current scene information and determining a target mowing strategy based on geographic information and obstacle information in the current scene information in combination with the first mowing strategy include: obtaining current scene information, determining geographic information, obstacle information and information of an area to be worked on in the previous scene information; generating a work route based on the geographic information and obstacle information; determining information of workload to be processed based on the area to be worked on and the work route; and determining the target mowing strategy based on the workload information to be processed and the first mowing strategy.
在具体实施中,根据待处理工作量信息和第一割草策略确定目标割草策略的步骤,包括:在第一割草策略中获取对应的目标工作量并作为更新条件;根据更新条件和待处理工作量信息判断是否需要进行更新;若否,则将第一割草策略结合工作路线生成目标割草策略;若是,则根据更新条件结合工作路线在第一割草策略中进行更新以确定目标割草策略。In a specific implementation, the step of determining a target mowing strategy based on the workload information to be processed and the first mowing strategy includes: obtaining the corresponding target workload in the first mowing strategy and using it as an update condition; judging whether an update is required based on the update condition and the workload information to be processed; if not, combining the first mowing strategy with the working route to generate a target mowing strategy; if so, updating the first mowing strategy based on the update condition and the working route to determine the target mowing strategy.
需要说明的是,在第一割草策略中获取目标工作量并确定为更新条件,更新条件作用在于判断待处理工作量是否需要进行更新。在本实施例中为了方便目标割草机处理数据的准确性,可以将工作量以数据的方式进行分析。例如:通过能耗的方式表示目标割草机的待处理工作量。例如:通过对目标区域的工作,对应的待处理工作量即可以用当前割草机的能源消耗量进行表示。可知,目标割草机的能源消耗越大其对应的工作量也就越大。It should be noted that in the first mowing strategy, the target workload is obtained and determined as an update condition, and the update condition is used to determine whether the workload to be processed needs to be updated. In this embodiment, in order to facilitate the accuracy of the target mower processing data, the workload can be analyzed in the form of data. For example: the workload to be processed of the target mower is represented by energy consumption. For example: through the work on the target area, the corresponding workload to be processed can be represented by the energy consumption of the current mower. It can be seen that the greater the energy consumption of the target mower, the greater the corresponding workload.
而为了适应不同场景下不同型号的割草机进行工作,在本实施例中需要先确定割草机的能源类型以及割草机对应的工作功率以实现通过数据的方式确定待处理工作量的技术效果。In order to adapt to different models of lawn mowers in different scenarios, in this embodiment, it is necessary to first determine the energy type of the lawn mower and the corresponding working power of the lawn mower to achieve the technical effect of determining the workload to be processed through data.
步骤S50:根据目标割草策略确定割草工作计划信息并将割草工作计划信息发送至目标割草机。Step S50: determining mowing work plan information according to the target mowing strategy and sending the mowing work plan information to the target mower.
需要说明的是,根据目标割草策略生成对应的行动指令,并将行动指令以数据包的方式发送至目标割草机以使目标割草机根据对应的行动指令进行工作。It should be noted that a corresponding action instruction is generated according to the target mowing strategy, and the action instruction is sent to the target mower in the form of a data packet so that the target mower works according to the corresponding action instruction.
在具体实施中,将目标割草策略发送至目标割草机之后,将实时监控目标割草机的任务进度,不断确认目标割草机当前的行为是否匹配目标割草策略,若出现目标割草机因为其他异常因素导致的行为动作不匹配的情况之后。将该情况发送至预设后台管理端口以判断是否需要进行主动行为修正。若接收到来自预设后台管理端口反馈的修正指令时,将根据修正指令实时对目标割草机当前的行为进行修正。若为了实际的工作中能够快速实现对接收到指令之后的目标割草机的行为进行修正,可以通过直接设定主动修正指令。通过根据目标割草策略生成预期行为动作集合,与当前目标割草机的行为动作进行对比,在对比异常以后直接根据预期行为动作集合对目标割草机进行主动实时修正。In the specific implementation, after the target mowing strategy is sent to the target mower, the task progress of the target mower will be monitored in real time, and it will be continuously confirmed whether the current behavior of the target mower matches the target mowing strategy. If the behavior of the target mower does not match due to other abnormal factors, the situation will be sent to the preset background management port to determine whether active behavior correction is required. If a correction instruction is received from the preset background management port, the current behavior of the target mower will be corrected in real time according to the correction instruction. In order to quickly correct the behavior of the target mower after receiving the instruction in actual work, the active correction instruction can be directly set. By generating an expected behavior action set according to the target mowing strategy and comparing it with the behavior action of the current target mower, the target mower is actively corrected in real time according to the expected behavior action set after the comparison is abnormal.
本实施例在接收到目标任务时根据目标任务确定任务目标基础信息;获取当前工作模式确定策略偏好权重;根据任务目标基础信息和策略偏好权重生成第一割草策略;获取当前场景信息,根据当前场景信息中的地理信息和障碍物信息结合第一割草策略确定目标割草策略;根据目标割草策略确定割草工作计划信息并发送至目标割草机。通过结合工作模式、目标任务以及当前场景信息合理生成割草工作计划信息,实现了根据实际场景信息合理生成割草机控制方法的技术效果。This embodiment determines the basic information of the task target according to the target task when receiving the target task; obtains the current working mode to determine the strategy preference weight; generates the first mowing strategy according to the basic information of the task target and the strategy preference weight; obtains the current scene information, and determines the target mowing strategy according to the geographic information and obstacle information in the current scene information combined with the first mowing strategy; determines the mowing work plan information according to the target mowing strategy and sends it to the target mower. By combining the working mode, the target task and the current scene information to reasonably generate the mowing work plan information, the technical effect of reasonably generating the mower control method according to the actual scene information is achieved.
此外,本申请实施例还提出一种计算机可读存储介质,存储介质上存储有割草机控制的程序,割草机控制的程序被处理器执行时实现如上文的割草机控制的方法的步骤。In addition, an embodiment of the present application further proposes a computer-readable storage medium, on which a lawn mower control program is stored. When the lawn mower control program is executed by a processor, the steps of the lawn mower control method as described above are implemented.
参照图3,图3为本申请割草机控制系统第一实施例的结构框图。Refer to FIG. 3 , which is a structural block diagram of a first embodiment of a lawn mower control system of the present application.
如图3所示,本申请实施例提出的割草机控制系统包括:As shown in FIG3 , the lawn mower control system proposed in the embodiment of the present application includes:
基础信息模块10,用于在接收到目标任务时,根据目标任务确定任务目标基础信息;The basic information module 10 is used to determine the basic information of the task target according to the target task when receiving the target task;
工作模式模块20,用于获取当前工作模式,根据当前工作模式确定策略偏好权重;The working mode module 20 is used to obtain the current working mode and determine the strategy preference weight according to the current working mode;
第一割草策略模块30,用于根据任务目标基础信息和策略偏好权重生成第一割草策略;A first mowing strategy module 30, for generating a first mowing strategy according to task target basic information and strategy preference weights;
目标割草策略模块40,用于获取当前场景信息,根据当前场景信息中的地理信息和障碍物信息结合第一割草策略确定目标割草策略;A target mowing strategy module 40 is used to obtain current scene information, and determine a target mowing strategy based on geographic information and obstacle information in the current scene information in combination with a first mowing strategy;
割草工作计划信息模块50,用于根据目标割草策略确定割草工作计划信息并将割草工作计划信息发送至目标割草机。The mowing work plan information module 50 is used to determine the mowing work plan information according to the target mowing strategy and send the mowing work plan information to the target mower.
应当理解的是,以上仅为举例说明,对本申请的技术方案并不构成任何限定,在具体应用中,本领域的技术人员可以根据需要进行设置,本申请对此不作限制。It should be understood that the above is only an example and does not constitute any limitation on the technical solution of the present application. In specific applications, technicians in this field can make settings as needed, and the present application does not impose any restrictions on this.
本实施例在接收到目标任务时根据目标任务确定任务目标基础信息;获取当前工作模式确定策略偏好权重;根据任务目标基础信息和策略偏好权重生成第一割草策略;获取当前场景信息,根据当前场景信息中的地理信息和障碍物信息结合第一割草策略确定目标割草策略;根据目标割草策略确定割草工作计划信息并发送至目标割草机。通过结合工作模式、目标任务以及当前场景信息合理生成割草工作计划信息,实现了根据实际场景信息合理生成割草机控制方法的技术效果。This embodiment determines the basic information of the task target according to the target task when receiving the target task; obtains the current working mode to determine the strategy preference weight; generates the first mowing strategy according to the basic information of the task target and the strategy preference weight; obtains the current scene information, and determines the target mowing strategy according to the geographic information and obstacle information in the current scene information combined with the first mowing strategy; determines the mowing work plan information according to the target mowing strategy and sends it to the target mower. By combining the working mode, the target task and the current scene information to reasonably generate the mowing work plan information, the technical effect of reasonably generating the mower control method according to the actual scene information is achieved.
在一实施例中,工作模式模块20,还用于获取当前工作模式,根据当前工作模式在预设模式标签集合中匹配目标标签集合;根据目标标签集合确定具体标签内容信息;根据具体标签内容信息确定策略偏好权重。In one embodiment, the working mode module 20 is also used to obtain the current working mode, match the target tag set in the preset mode tag set according to the current working mode; determine the specific tag content information according to the target tag set; and determine the policy preference weight according to the specific tag content information.
在一实施例中,工作模式模块20,还用于获取预设标准内容规则;根据具体标签内容信息和预设标准内容规则确定每一类型数据的偏移状态;根据每一类型数据的偏移状态确定策略偏好权重。In one embodiment, the working mode module 20 is further used to obtain preset standard content rules; determine the offset state of each type of data according to the specific tag content information and the preset standard content rules; and determine the policy preference weight according to the offset state of each type of data.
在一实施例中,第一割草策略模块30,还用于根据任务目标基础信息确定目标工作内容以及工作需求信息;在策略偏好权重确定默认要素集合和变更要素集合;根据变更要素集合结合工作需求信息确定目标工作需求信息;根据目标工作需求信息和目标工作内容生成第一割草策略。In one embodiment, the first mowing strategy module 30 is further used to determine the target work content and work requirement information according to the task target basic information; determine the default element set and the change element set according to the strategy preference weight; determine the target work requirement information according to the change element set combined with the work requirement information; and generate the first mowing strategy according to the target work requirement information and the target work content.
在一实施例中,第一割草策略模块30,还用在变更要素集合中获取每一要素对应的偏好设定信息;在工作需求信息中获取分类信息;根据偏好设定信息对应的分类在分类信息中进行更新以确定目标工作需求信息。In one embodiment, the first mowing strategy module 30 is further used to obtain preference setting information corresponding to each element in the change element set; obtain classification information in the work requirement information; and update the classification information according to the classification corresponding to the preference setting information to determine the target work requirement information.
在一实施例中,目标割草策略模块40,还用于获取当前场景信息,在当前场景信息中确定地理信息、障碍物信息和待工作区域信息;根据地理信息和障碍物信息生成工作路线;根据待工作区域和工作路线确定待处理工作量信息;根据待处理工作量信息和第一割草策略确定目标割草策略。In one embodiment, the target mowing strategy module 40 is further used to obtain current scene information, determine geographic information, obstacle information and information of the area to be worked in the current scene information; generate a work route based on the geographic information and obstacle information; determine the workload information to be processed based on the area to be worked and the work route; and determine the target mowing strategy based on the workload information to be processed and the first mowing strategy.
在一实施例中,目标割草策略模块40,还用于在第一割草策略中获取对应的目标工作量并作为更新条件;根据更新条件和待处理工作量信息判断是否需要进行更新;若否,则将第一割草策略结合工作路线生成目标割草策略;若是,则根据更新条件结合工作路线在第一割草策略中进行更新以确定目标割草策略。In one embodiment, the target mowing strategy module 40 is further used to obtain the corresponding target workload in the first mowing strategy and use it as an update condition; determine whether an update is required based on the update condition and the workload information to be processed; if not, combine the first mowing strategy with the working route to generate a target mowing strategy; if so, update the first mowing strategy based on the update condition and the working route to determine the target mowing strategy.
需要说明的是,以上所描述的工作流程仅仅是示意性的,并不对本申请的保护范围构成限定,在实际应用中,本领域的技术人员可以根据实际的需要选择其中的部分或者全部来实现本实施例方案的目的,此处不作限制。It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present application. In practical applications, technicians in this field can select part or all of it according to actual needs to achieve the purpose of the present embodiment, and there is no limitation here.
另外,未在本实施例中详尽描述的技术细节,可参见本申请任意实施例所提供的割草机控制的方法,此处不再赘述。In addition, for technical details not fully described in this embodiment, please refer to the lawn mower control method provided in any embodiment of the present application, and will not be repeated here.
此外,需要说明的是,在本文中,术语“包括”“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。In addition, it should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术作出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如只读存储器(Read Only Memory,ROM)/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory (ROM)/RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410035521.4A CN117918108A (en) | 2024-01-10 | 2024-01-10 | Lawn mower control method, system, storage medium and lawn mower |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410035521.4A CN117918108A (en) | 2024-01-10 | 2024-01-10 | Lawn mower control method, system, storage medium and lawn mower |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117918108A true CN117918108A (en) | 2024-04-26 |
Family
ID=90765665
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410035521.4A Withdrawn CN117918108A (en) | 2024-01-10 | 2024-01-10 | Lawn mower control method, system, storage medium and lawn mower |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117918108A (en) |
-
2024
- 2024-01-10 CN CN202410035521.4A patent/CN117918108A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8117146B2 (en) | Computing the values of configuration parameters for optimal performance of associated applications | |
CN111444287B (en) | Graph database construction method, associated information query method, device and computing equipment | |
CN111108517B (en) | Systems and methods for crop protection optimization | |
CN105956718A (en) | Water resource optimization allocation method and system for irrigated area | |
CN117918108A (en) | Lawn mower control method, system, storage medium and lawn mower | |
CN118071368A (en) | Information processing device, information processing method, and storage medium | |
CN109062171A (en) | Unmanned plane plant protection operation control method, system, device and storage medium | |
CN117516552B (en) | Cross path planning method, device and equipment of intelligent mower and storage medium | |
CN116414129A (en) | Agricultural machinery monitoring control method and system for intelligent agriculture based on digital twin platform | |
CN107341007A (en) | Display terminal and its timing start-up method, computer-readable recording medium | |
JP5985835B2 (en) | Crop cultivation management system | |
CN114815812A (en) | A lawn mowing robot operation control method, device, electronic device and storage medium | |
EP3859467B1 (en) | Information processing device and information processing method | |
CN117922348B (en) | Mower charging control method, system and storage medium | |
CN117787710A (en) | Real-time wind control method and system based on dynamic rules | |
CN114371717B (en) | A hedge trimmer intelligent control method and system for tea pruning | |
CN114760109B (en) | Numerical behavior safety base line generation method and device for safety analysis | |
CN112882791B (en) | Method, equipment and storage medium for optimizing performance of virtual machine | |
JP7410274B2 (en) | Work management device, work management program and work management method | |
CN115599551A (en) | Cluster resource control method, device, equipment and storage medium | |
CN116438997A (en) | Lawn cutting planning method, device, equipment and storage medium | |
CN112559221A (en) | Intelligent list processing method, system, equipment and storage medium | |
CN118863352A (en) | Method and device for collaboratively controlling plant pests using multiple devices | |
EP3800592B1 (en) | System and method for suggesting an optimal time for performing an agricultural operation | |
JP2005063083A (en) | State change simulation system and device, control method thereof, and control program thereof |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20240426 |
|
WW01 | Invention patent application withdrawn after publication |