CN116662462A - Method and device for processing area information, storage medium and electronic device - Google Patents

Method and device for processing area information, storage medium and electronic device Download PDF

Info

Publication number
CN116662462A
CN116662462A CN202210159245.3A CN202210159245A CN116662462A CN 116662462 A CN116662462 A CN 116662462A CN 202210159245 A CN202210159245 A CN 202210159245A CN 116662462 A CN116662462 A CN 116662462A
Authority
CN
China
Prior art keywords
partitions
target
boundary
area map
boundaries
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.)
Pending
Application number
CN202210159245.3A
Other languages
Chinese (zh)
Inventor
蔡洲
张新静
曹蒙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dreame Innovation Technology Suzhou Co Ltd
Original Assignee
Dreame Innovation Technology Suzhou Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dreame Innovation Technology Suzhou Co Ltd filed Critical Dreame Innovation Technology Suzhou Co Ltd
Priority to CN202210159245.3A priority Critical patent/CN116662462A/en
Priority to PCT/CN2023/075216 priority patent/WO2023155732A1/en
Publication of CN116662462A publication Critical patent/CN116662462A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/235Update request formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4038Image mosaicing, e.g. composing plane images from plane sub-images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/32Indexing scheme for image data processing or generation, in general involving image mosaicing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Remote Sensing (AREA)
  • Mathematical Physics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Navigation (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a method and a device for processing regional information, a storage medium and an electronic device, wherein the method comprises the following steps: displaying a target area map on a target configuration interface of a target application, wherein the target area map comprises a group of first boundaries and a group of first partitions divided by the group of first boundaries; determining at least two first partitions to be merged in the set of first partitions in case that a merging operation performed on the target area map is detected; and removing the first boundary between the adjacent first partitions in the at least two first partitions to obtain the merged partition. By adopting the technical scheme, the problem of low cleaning efficiency caused by unreasonable partition setting in the area information processing method in the related technology is solved.

Description

Method and device for processing area information, storage medium and electronic device
[ field of technology ]
The application relates to the field of intelligent home, in particular to a method and a device for processing regional information, a storage medium and an electronic device.
[ background Art ]
Currently, a cleaning device (e.g., a sweeping robot) may be configured with a region map, and a set of partitions within the region map, where different partitions may be represented by region boundaries (or dividing lines), and by selecting all or part of the partitions, the cleaning device may be controlled to perform region cleaning (e.g., sweeping).
To establish the partition, the identification of the boundary of the area (e.g., a wall, a grid door, a moving door, etc., obstacle) may be performed by the cleaning apparatus during the cleaning of the area, and the partition may be performed based on the identified boundary of the area. However, when there are many large obstacles in the area, the division of the partitions may be unreasonable, resulting in that the cleaning apparatus spends a lot of time cleaning the area with small partition area, increasing the cleaning time of the cleaning apparatus.
As can be seen from this, the method of processing area information in the related art has a problem in that cleaning efficiency is low due to unreasonable partition arrangement.
[ application ]
The application aims to provide a method and a device for processing regional information, a storage medium and an electronic device, which at least solve the problem that the cleaning efficiency is low due to unreasonable partition arrangement in the method for processing regional information in the related art.
The application aims at realizing the following technical scheme:
according to an aspect of an embodiment of the present application, there is provided a method for processing area information, including: displaying a target area map on a target configuration interface of a target application, wherein the target area map comprises a group of first boundaries and a group of first partitions divided by the group of first boundaries; determining at least two first partitions to be merged in the set of first partitions in case that a merging operation performed on the target area map is detected; and removing the first boundary between the adjacent first partitions in the at least two first partitions to obtain the merged partition.
In an exemplary embodiment, the determining at least two first partitions of the set of first partitions to be merged in case that a merging operation performed on the target area map is detected includes: under the condition that the selection operation and the first triggering operation which are respectively executed on the at least two first partitions are detected, determining the at least two partitions as the partitions of the to-be-combined area, wherein the first triggering operation is used for triggering and combining the partitions selected by the selection operation; or under the condition that the frame selection operation and the second triggering operation which are executed on the target area map are detected, determining the at least two first subareas selected by the frame selection operation as subareas of the to-be-combined area, wherein the second triggering operation is used for triggering and combining the subareas selected by the frame selection operation.
In an exemplary embodiment, the displaying the target area map on the target configuration interface of the target application includes: receiving a target indication message sent by cleaning equipment corresponding to the target area map, wherein the target indication message is used for indicating a cleaned partition in the target area map; responding to the target indication message, determining a partition to be cleaned in the target area map, and obtaining the group of first partitions; and displaying the target area map on the target configuration interface of the target application, wherein the other area boundaries except the group of first boundaries in the target area map are not displayed on the target area map.
In an exemplary embodiment, after said removing the first boundary between adjacent ones of the at least two first partitions, resulting in a merged partition, the method further comprises: and sending an update indication message to the cleaning device, wherein the update indication message is used for indicating that the at least two first partitions are updated to the merged partition so as to clean the merged partition through the cleaning device.
In an exemplary embodiment, after the target configuration interface of the target application displays the target area map, the method further comprises: determining a set of second partitions in the target area map that match target boundaries in the event that an add operation to the target area map is detected, wherein the add operation is for adding the target boundaries in the target area map; and executing a segmentation operation on the group of second partitions according to the target boundary and the group of second boundaries corresponding to the group of second partitions to obtain a group of third partitions.
In an exemplary embodiment, before said determining a set of second partitions in the target area map that match the target boundary, the method further comprises: detecting a matching boundary corresponding to each vertex of two vertexes of the target boundary, wherein the matching boundary corresponding to each vertex is an area boundary which is intersected with the target boundary in the target area map and has a distance with each vertex smaller than or equal to a preset distance threshold value; and under the condition that the regional boundary corresponding to the target vertex in the two vertexes is not detected, executing extension operation on the target boundary by taking the target vertex as a starting point to obtain the extended target boundary, wherein the extended target vertex has a corresponding matching boundary.
In an exemplary embodiment, before the performing a partitioning operation on the set of second partitions according to the target boundary and a set of second boundaries corresponding to the set of second partitions, the method further comprises: determining a set of boundaries to be split in the target area map, wherein each boundary to be split in the set of boundaries to be split has an intersection point with the target boundary; and executing splitting operation on each boundary to be split by taking the intersection point of each boundary to be split and the target boundary as a splitting point to obtain a group of split boundaries, wherein the group of second boundaries comprises the group of split boundaries.
According to another aspect of the embodiment of the present application, there is also provided a processing apparatus for area information, including: the display unit is used for displaying a target area map on a target configuration interface of a target application, wherein the target area map comprises a group of first boundaries and a group of first partitions divided by the group of first boundaries; a first determining unit configured to determine at least two first partitions of the set of first partitions to be merged, in a case where a merging operation performed on the target area map is detected; and the removing unit is used for removing the first boundary between the adjacent first partitions in the at least two first partitions to obtain the merged partition.
In an exemplary embodiment, the first determining unit includes: the first determining module is used for determining the at least two partitions as the partitions of the to-be-combined area under the condition that the selection operation and the first triggering operation which are respectively executed on the at least two first partitions are detected, wherein the first triggering operation is used for triggering and combining the partitions selected by the selection operation; or the second determining module is used for determining the at least two first partitions selected by the frame selection operation as the partitions of the to-be-combined area under the condition that the frame selection operation and the second triggering operation which are performed on the target area map are detected, wherein the second triggering operation is used for triggering and combining the partitions selected by the frame selection operation.
In one exemplary embodiment, the display unit includes: the receiving module is used for receiving a target indication message sent by the cleaning equipment corresponding to the target area map, wherein the target indication message is used for indicating the cleaned subarea in the target area map; the third determining module is used for responding to the target indication message, determining the to-be-cleaned subareas in the target area map and obtaining the group of first subareas; and the display module is used for displaying the target area map on the target configuration interface of the target application, wherein the other area boundaries except the group of first boundaries in the target area map are not displayed on the target area map.
In an exemplary embodiment, the apparatus further comprises: and the sending unit is used for sending an update indication message to the cleaning device after the first boundary between the adjacent first partitions in the at least two first partitions is removed to obtain the merged partition, wherein the update indication message is used for indicating the at least two first partitions to be updated into the merged partition so as to clean the merged partition through the cleaning device.
In an exemplary embodiment, the apparatus further comprises: a second determining unit configured to determine, after a target configuration interface of the target application displays a target area map, a set of second partitions in the target area map that match a target boundary in a case where an adding operation performed on the target area map is detected, wherein the adding operation is used to add the target boundary in the target area map; and the first execution unit is used for executing the segmentation operation on the group of second partitions according to the target boundary and the group of second boundaries corresponding to the group of second partitions to obtain a group of third partitions.
In an exemplary embodiment, the apparatus further comprises: a detection unit, configured to detect a matching boundary corresponding to each of two vertices of the target boundary before the determination of a set of second partitions in the target area map that match the target boundary, where the matching boundary corresponding to each vertex is an area boundary in the target area map that has an intersection with the target boundary and a distance between each vertex is less than or equal to a preset distance threshold; and the second execution unit is used for executing extension operation on the target boundary by taking the target vertex as a starting point under the condition that the region boundary corresponding to the target vertex in the two vertexes is not detected, so as to obtain the extended target boundary, wherein the extended target vertex has a corresponding matching boundary.
In an exemplary embodiment, the apparatus further comprises: a third determining unit, configured to determine a set of boundaries to be split in the target area map before the splitting operation is performed on the set of second partitions according to the target boundary and a set of second boundaries corresponding to the set of second partitions, where each boundary to be split in the set of boundaries to be split has an intersection with the target boundary; and the third execution unit is used for executing splitting operation on each boundary to be split by taking the intersection point of each boundary to be split and the target boundary as a splitting point to obtain a group of split boundaries, wherein the group of second boundaries comprise the group of split boundaries.
According to a further aspect of embodiments of the present application, there is also provided a computer readable storage medium having a computer program stored therein, wherein the computer program is arranged to execute the method of testing an interface as described above when run.
According to still another aspect of the embodiments of the present application, there is further provided an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the method for testing the interface through the computer program.
In the embodiment of the application, a mode of executing merging operation on the existing subareas in the regional map through the configuration interface in the application is adopted, and the target regional map is displayed through the target configuration interface of the target application, wherein the target regional map comprises a group of first boundaries and a group of first subareas divided by the group of first boundaries; determining at least two first partitions of a group of first partitions to be merged under the condition that the merging operation performed on the target area map is detected; the first boundaries between adjacent first partitions in at least two first partitions are removed to obtain merged partitions, and as the existing partitions in the area map are displayed through the configuration interface in the application, users can conveniently learn the partition conditions in the area map, and can conveniently determine the rationality of the partitions, and if the operation of the merged areas is detected, the boundaries of the adjacent areas in the partitions to be merged are removed to merge the areas, so that the purpose of quickly merging unreasonable partitions can be achieved, the technical effects of improving the rationality of the partitions and further improving the cleaning efficiency of the cleaning equipment can be achieved, and the problem that the cleaning efficiency is low due to unreasonable partition setting in the processing method of the area information in the related art is solved.
[ description of the drawings ]
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic diagram of a hardware environment of an alternative method of processing region information according to an embodiment of the present application;
FIG. 2 is a flow chart of an alternative method of processing region information according to an embodiment of the application;
FIG. 3 is a schematic diagram of an alternative selection of partitions to be merged according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an alternative display area information according to an embodiment of the application;
FIG. 5 is a schematic diagram of an alternative merge partition in accordance with an embodiment of the application;
FIG. 6 is a schematic diagram of an alternative addition boundary according to an embodiment of the present application;
FIG. 7 is a schematic diagram of an alternative split boundary according to an embodiment of the application;
fig. 8 is a block diagram of an alternative area information processing apparatus according to an embodiment of the present application;
fig. 9 is a block diagram of an alternative electronic device according to an embodiment of the application.
[ detailed description ] of the application
The application will be described in detail hereinafter with reference to the drawings in conjunction with embodiments. It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
According to an aspect of an embodiment of the present application, there is provided a method of processing area information. Alternatively, in the present embodiment, the above-described processing method of the area information may be applied to a hardware environment constituted by the terminal device 102, the cleaning device 104, and the server 106 as shown in fig. 1. As shown in fig. 1, the terminal device 102 may be connected to the cleaning device 104 and/or the server 106 (e.g., an internet of things platform or cloud server) through a network to control the cleaning device 104, e.g., bind with the cleaning device 104, configure the cleaning function of the cleaning device 104. The cleaning device 104 may include a host and a base (e.g., a sweeper and a base station, a scrubber and a base station) that may be connected via a network to determine a current status (e.g., a power status, an operational status, location information, etc.) of the opposite end.
The network may include, but is not limited to, at least one of: wired network, wireless network. The wired network may include, but is not limited to, at least one of: a wide area network, a metropolitan area network, a local area network, and the wireless network may include, but is not limited to, at least one of: WIFI (Wireless Fidelity ), bluetooth, infrared. The network used by the terminal device 102 to communicate with the cleaning device 104 and/or the server 106 may be the same or different from the network used by the cleaning device 104 to communicate with the server 106. The terminal device 102 may not be limited to a PC, a cell phone, a tablet computer, etc., and the cleaning device 104 may include, but is not limited to: the server 106 may be a server of an internet of things platform, for example, a self-cleaning robot, such as an automatic mop cleaning robot, a sweeping robot, or the like.
The method for processing area information according to the embodiment of the present application may be performed by the terminal device 102, the cleaning device 104, or the server 106 alone, or may be performed by at least two of the terminal device 102, the cleaning device 104, and the server 106 together. The method for processing the area information by the terminal device 102 or the cleaning device 104 according to the embodiment of the present application may be performed by a client installed thereon.
Taking the example that the terminal device 102 performs the method for processing the area information in this embodiment, fig. 2 is a schematic flow chart of an alternative method for processing the area information according to an embodiment of the present application, as shown in fig. 2, the flow of the method may include the following steps:
in step S202, a target area map is displayed on a target configuration interface of the target application, wherein the target area map includes a set of first boundaries and a set of first partitions divided by the set of first boundaries.
The method for processing area information in this embodiment may be applied to a scene where map operations are performed based on area boundaries acquired by a cleaning device, where the area boundaries may be area boundaries within a map of a target area of the cleaning device, which may correspond to obstacles such as a grid door, a moving door, a wall, a piece of furniture, and the like detected by the cleaning device, or may be area boundaries of other dividing lines that can be used as partitions. The map operation may be a partition operation performed on the target area map, a merging operation of the partitions, an adding operation of the partitions, or the like. The type of the region boundary and the type of the map operation are not limited in this embodiment.
The cleaning device can be a floor cleaning robot, a sweeping robot or other area cleaning devices with an area cleaning function, and the cleaning device can be used for cleaning areas in a washing and dragging integrated mode or cleaning mode. The target area to be cleaned by the cleaning device may be an indoor area in the user's home, may be an area in an office of another plant, company, or may be an area where area cleaning by the cleaning device is possible. This is not limited in this embodiment.
The cleaning device may be provided with detection components such as a laser sensor, an infrared sensor, an image acquisition device (e.g., a camera), etc., and in the process of cleaning a target area by the cleaning device, the cleaning device may acquire area information in the target area through one or more detection components, for example, identify area information such as a grid door moving door, etc., so as to obtain a target area map, and store the target area map information, for example, store the target area map information in the cleaning device, store the target area map information on a server, and store the target area map information on a corresponding terminal device. The cleaning device may update the target area map each time the cleaning device cleans the target area or a partial area within the target area.
Alternatively, when constructing or updating the target area map, partition processing may be performed based on the acquired area information, to obtain each partition and the area boundaries (i.e., the partition lines) of each partition, and save the target area map and all the area boundaries.
For example, the robot returns to the charging base after the first cleaning is completed, and performs the partitioning process. And processing the information of the grid gate, the sliding gate and the like, then using the processed information for partitioning, and storing the map of the target area and all partition line information.
The sweeping robot cleans again, can reuse the previous map, can also do the discernment of door like cleaning for the first time, can update the target area map after returning to the charging seat. In updating, the map may be updated in combination with the increase or decrease of the map of the target area by using the previously stored parting line information and the information of the door identified by the cleaning, for example, whether the parting line is similar, and the information of the integrated parting line may be moved and adjusted and stored.
In the related art, when a cleaning device is used to clean all or part of a target area, there may be a large number of obstacles in the cleaned area, so that the partition of the map of the target area is unreasonable, and the cleaning efficiency of the cleaning device is low.
In this embodiment, in order to solve the above-described problem, the target area map of the cleaning device may be configured by a target application on the terminal device. The terminal device can be operated with a target application, the target application can be an application program installed on the terminal device, a user can associate the target application with the cleaning device, and partition configuration in a target area map can be performed through a target configuration interface of the target application.
The target configuration interface may display a target area map, and the target area map may display obstacle information, partition information, area boundary information of the partition, and the like on the target area. Alternatively, the terminal device may also detect a map configuration operation performed by the user on the target configuration interface of the target application, and generate a map configuration instruction to adjust the obstacle information, the partition information, the area boundary information of the partition, and the like on the target area map.
Optionally, a set of first boundaries and a set of first partitions divided by the set of first boundaries may be displayed within the target area map. The first set of partitions may be all the partitions within the target area map, all the partitions that need to be cleaned when one area cleaning is performed, or the remaining partitions to be cleaned (i.e., the cleaned partitions are not displayed), or one or more partitions selected from the target area map. The set of first boundaries may be a set of dividing lines that divide the target area map into a plurality of first partitions.
In step S204, in the case of detecting the merging operation performed on the target area map, at least two first partitions of the to-be-merged area in the set of first partitions are determined.
In order to improve the cleaning efficiency of the cleaning device, the user may perform a merge operation on at least two first partitions in the target configuration interface to trigger the target application to merge the at least two first partitions into one partition. The merge operation may be a combination of one or more operations, for example, the merge operation may include a selection operation (e.g., separate selection, simultaneous selection, etc.) performed on at least two partitions, and may further include a trigger operation that triggers generation of a merge instruction. Alternatively, the above-described pooling operations may include, but are not limited to, at least one of: clicking operation, double clicking operation, long pressing operation and sliding operation. In this embodiment, the operation of the combining section is not limited.
The terminal equipment can detect the above-mentioned region-combining operation, and can produce region-combining instruction, and the region-combining instruction is used for indicating target application to combine at least two first partitions into one partition. In response to the merge area instruction, the target application may determine at least two first partitions of the merge area. Alternatively, the terminal device may mark at least two first partitions of the to-be-combined area on the target area map.
In step S206, a first boundary between adjacent first partitions in the at least two first partitions is removed, so as to obtain a merged partition.
When the user merges the partitions, the user can merge two or more partitions, delete the dividing line originally used for dividing the two regions, and store updated dividing line information. For example, after determining at least two first partitions of the pending areas, the terminal device may merge the at least two first partitions. When the region merging is performed, the region information of each of the at least two first partitions may be merged to obtain the region information of the merged partition. Since the first boundaries of the set of first boundaries comprise first boundaries that distinguish between adjacent ones of the at least two first partitions. To ensure accuracy of the boundary information, a first boundary between adjacent ones of the at least two first partitions may be removed.
In this embodiment, the first boundaries between adjacent first partitions in the at least two first partitions may be removed in a plurality of manners, for example, any two adjacent first partitions in the two first partitions may be determined respectively, and the first boundary between any two adjacent first partitions may be removed, and for example, the first boundaries corresponding to the at least two first partitions may be determined according to the region information of the merged partition, which belongs to the first boundaries in the merged partition, and the determined first boundaries are removed, so as to obtain an updated set of first boundaries.
After removing the first boundaries between adjacent ones of the at least two first partitions, the terminal device may update the target region map, the updated region map comprising the merged partition and further comprising the updated set of first boundaries. The terminal device may send the updated target area map to the server, or may send the updated target area map to the cleaning device through the server. The cleaning device may receive the updated target area map and perform subsequent operations, such as cleaning all or part of the target area, according to the updated target area map.
Displaying a target area map on a target configuration interface of the target application through the steps S202 to S206, wherein the target area map includes a group of first boundaries and a group of first partitions divided by the group of first boundaries; determining at least two first partitions of a group of first partitions to be merged under the condition that the merging operation performed on the target area map is detected; the first boundaries between adjacent first partitions in at least two first partitions are removed to obtain merged partitions, so that the problem that the cleaning efficiency is low due to unreasonable partition arrangement in the area information processing method in the related technology is solved, the rationality of the partitions is improved, and the cleaning efficiency of the cleaning equipment is further improved.
In one exemplary embodiment, in a case where a merge operation performed on a target area map is detected, determining at least two first partitions of a set of first partitions to be merged includes:
s11, determining at least two partitions as the partitions of the to-be-combined area under the condition that the selection operation and the first triggering operation which are respectively executed on at least two first partitions are detected, wherein the first triggering operation is used for triggering the partition selected by the combination selection operation; or alternatively, the process may be performed,
and S12, under the condition that the frame selection operation and the second triggering operation are detected, at least two first subareas selected by the frame selection operation are determined to be subareas of the to-be-combined areas, wherein the second triggering operation is used for triggering the subareas selected by the frame selection operation.
In this embodiment, the merging operation may include one or more of a selection operation for at least two partitions, and a trigger operation for triggering generation of a merge instruction.
As an alternative embodiment, the terminal device may detect the selection operations performed on the at least two first partitions, respectively. In response to the selection operation, the terminal device may mark the first partition that has been selected in the target area map. After marking the selected at least two first partitions in the target area map, the terminal device may further detect a first triggering operation, where the first triggering operation is used to trigger the partition selected by the merging and selecting operation. In response to the first triggering operation, the terminal device may determine the at least two noted first partitions as pending partition.
Alternatively, the selecting operation may be a selecting operation directly performed on the first partition displayed in the target area map, or may be a selecting operation performed on a partition identifier corresponding to the first partition in the target area map.
Illustratively, as shown in fig. 3, a merging window for performing partition merging is included on the target configuration interface, and a set of first partitions is displayed in the merging window. Upon detecting a check operation performed on check boxes corresponding to at least two first partitions (e.g., partition 4 and partition 5) within the merge window, and a trigger operation (e.g., a click operation) performed on the merge button, it may be determined that the partition to be merged is the at least two first partitions. Furthermore, at least two first partitions (e.g., partition 4 and partition 5) may be labeled in the target area map.
As another alternative embodiment, the terminal device may detect a framing operation performed on at least two first partitions, where the framing operation is used to simultaneously select a plurality of partitions. The shape of the selection frame corresponding to the frame selection operation may be fixed, for example, quadrangle, circle, etc., or may be non-fixed, that is, the shape of the selection frame may be manually set, and the first partition located in the selection frame is the selected first partition.
In response to the box selection operation, the terminal device may draw a corresponding selection box in the target area map, and mark all the first partitions completely contained in the selection box. After marking the selected at least two first partitions in the target area map, the terminal device may further detect a second triggering operation, where the second triggering operation is used to trigger the partition selected by the merging frame selection operation. In response to the second triggering operation, the terminal device may determine the at least two noted first partitions as pending partition.
According to the embodiment, the region merging is performed based on the detected selection operation, frame selection operation and the like and combined with triggering operation triggering, so that convenience and flexibility of region merging can be improved, and the use experience of a user is improved.
In one exemplary embodiment, displaying a target area map at a target configuration interface of a target application includes:
s21, receiving a target indication message sent by cleaning equipment corresponding to a target area map, wherein the target indication message is used for indicating a cleaned partition in the target area map;
s22, determining a partition to be cleaned in a target area map in response to a target indication message to obtain a group of first partitions;
S23, displaying a target area map on a target configuration interface of the target application, wherein the other area boundaries except for a group of first boundaries in the target area map are not displayed on the target area map.
The target area map displayed on the terminal device may contain all the partitions in the target area map, i.e. the set of first partitions is all the partitions in the target area map. In order to facilitate the area cleaning, the target area map displayed on the terminal device may include the partition cleaned by the cleaning device in the process of cleaning the area at this time, for example, a set of first partitions is all the partitions cleaned by the cleaning device in the process of cleaning the area at this time.
In this embodiment, in order to facilitate the user to know the cleaning progress, the areas of the cleaning device that have not been cleaned in the one-time cleaning process, that is, the areas to be cleaned, may be displayed in the target area map, and a set of the first areas are the areas to be cleaned of the cleaning device.
Alternatively, the partition to be cleaned may be updated as cleaning progresses. For example, the cleaning device may send a target indication message to the terminal device, where the indication indicates the cleaned partition in the target area map, where the cleaned partition may be sent in real time, that is, once every time the cleaned partition is completed, or may send the indication message based on an acquisition request sent by the terminal device, where the acquisition request is used to acquire the cleaned partition of the cleaning device.
In this embodiment, the terminal device may receive the target indication information sent by the cleaning device, and determine, according to the cleaned partition indicated by the target indication information, a partition in the target area map where the cleaning device does not clean at least one, that is, a set of first partitions, and determine a set of first boundaries corresponding to the set of first partitions.
After determining the set of first partitions and the set of first boundaries, the terminal device may display the set of first partitions and the set of first boundaries on the target area map, and for other partitions, may identify that the corresponding partition is not the partition to be cleaned through different area attributes. Alternatively, in order to improve the convenience of information acquisition, the region boundaries other than the set of first boundaries in the target region map may not be displayed, and the regions other than the set of first regions may not be displayed. Alternatively, the terminal device may mark the first partition currently being cleaned on the target area map, and may also mark the number of first partitions to be cleaned.
For example, as shown in fig. 4, a plurality of first partitions may be displayed on a sweeping configuration interface (an example of a target configuration interface) of a smartphone associated with the sweeping robot, for example, partition 1, partition 2, partition 3, partition 4, partition 5, and partition 6 may be displayed on a sweeping configuration page. The smart phone can receive the prompt information sent by the sweeping robot, and the prompt information can prompt that the sweeping robot has completed cleaning of the partition 1. After receiving the prompt information, the boundary adjacent to other partitions in the partition 1 may not be displayed on the cleaning configuration interface, so that only the partition to be cleaned is displayed on the cleaning configuration interface.
According to the method and the device for obtaining the information, only the partition information and the boundary information related to the area to be cleaned are displayed on the target configuration interface, so that the convenience of information acquisition can be improved, misoperation of a user is reduced, and the use experience of the user is improved.
In an exemplary embodiment, after removing the first boundary between adjacent first partitions of the at least two first partitions to obtain the merged partition, the method further comprises:
and S31, sending an update indication message to the cleaning device, wherein the update indication message is used for indicating that at least two first partitions are updated to be combined partitions, so that the combined partitions are cleaned by the cleaning device.
In this embodiment, after the merged partition is obtained, the terminal device may send update instruction information to the cleaning device. The indication information is used for indicating that at least two first partitions in the target area map are updated to be combined partitions. The cleaning device may receive update indication information transmitted from the terminal device, and update at least two first partitions in the target area map to merged partitions in response to the update indication information.
Since at least two first partitions are to-be-cleaned partitions, the cleaning device can adjust the cleaning route and clean the merged partition according to the area information of the merged partition. Here, for a scenario in which area merging is not performed during the area cleaning by the cleaning device, the terminal device may send the merged partition information to the cleaning device for updating the target area map each time there is partition merging, which is not limited in this embodiment.
For example, as shown in fig. 5, the user may determine the partition 4 and the partition 5 as the partition to be combined on the sweeping configuration interface, combine the partition 4 and the partition 5, remove the dividing line between the partition 4 and the partition 5, obtain the partition 4', and send the obtained partition 4' to the sweeping robot so that the sweeping robot performs area sweeping on the partition 4 '.
By updating the merged partition to the target area map of the cleaning device, the cleaning accuracy of the cleaning device can be improved, and the area cleaning flexibility can be improved.
In an exemplary embodiment, after the target configuration interface of the target application displays the target area map, the method further includes:
s41, in the case that the adding operation performed on the target area map is detected, determining a group of second partitions matched with the target boundary in the target area map, wherein the adding operation is used for adding the target boundary in the target area map;
s42, executing the segmentation operation on the group of second partitions according to the target boundary and the group of second boundaries corresponding to the group of second partitions, and obtaining a group of third partitions.
When there is a partition division requirement, for example, the partition is too large, so that the partition needs to be split for cleaning the area, for example, a large number of obstacles contained in the partition are more, the cleaning device is easy to be blocked, and the partition division can be performed in the target area map by adding an area boundary, which may be a dividing line corresponding to an actual object, for example, a wall, a large piece of furniture, or a virtual dividing line, which is not limited in this embodiment.
The user may perform an adding operation to the target area map to add the target boundary in the target area map. The terminal device may detect the above-described adding operation, and generate an adding instruction in response to the detected adding operation, and the added target boundary may be displayed on the target area map. The adding operation may be an editing operation performed on an existing boundary template on the target configuration interface, and the adding operation in this embodiment is not limited by performing operations such as selecting, stretching, moving, and rotating on the boundary template, or by other operation modes.
The terminal device may acquire the adding instruction, and determine, in response to the adding instruction, a set of second partitions matching the target boundary on the target area map, where each second partition in the set of second partitions may include at least a portion of the target boundary, and a length of the included target boundary is greater than or equal to a target length threshold. The relationship between the set of second partitions and the set of first partitions may be an inclusion relationship, an overlapping relationship (i.e., partial partitions with overlapping portions), or an independent relationship (i.e., no intersection of the two), which is not limited in this embodiment.
For example, the terminal device may determine all partitions that contain the target boundary and determine the partitions as a set of candidate partitions. After determining the set of candidate partitions, the terminal device may determine a set of second partitions from the set of candidate partitions. Here, the number of partitions included in the set of candidate partitions may be one or more, and the number of partitions included in the set of second partitions may be one or more.
The second partition may be determined by one or more manners, for example, the second partition may be determined according to whether the length of the included target boundary is greater than or equal to a preset length threshold, that is, the length of the included target boundary is greater than or equal to a preset length threshold, otherwise, the second partition may not be the second partition, for example, the second partition may be determined according to whether the ratio of the length of the included target boundary to the total length of the target boundary is greater than or equal to a preset ratio threshold, that is, the length of the included target boundary is greater than or equal to a preset ratio threshold, otherwise, the second partition may not be the second partition, or other manners of determining the second partition may be used, where the manner of determining the second partition is not limited in this embodiment.
After determining a group of second partitions, the terminal device may send a prompt message on the target area map to prompt for confirmation of the group of second partitions to be partitioned. In the event that an acknowledge split instruction is received, a split operation is performed on a set of second partitions. Alternatively, the partitioning operation may be performed directly on the determined set of second partitions.
When dividing the set of second partitions, the terminal device may obtain the region boundaries of the set of second partitions, to obtain a set of second boundaries. According to the target boundary and the set of second boundaries, a partitioning operation may be performed on the set of second partitions, resulting in a set of third partitions, each of which may belong to one second partition, and each of which may be partitioned into at least two third partitions.
According to the embodiment, the partition on the regional map is segmented by adding the segmentation lines, so that the flexibility of partition configuration can be improved, and the cleaning efficiency of the cleaning equipment can be improved.
In one exemplary embodiment, before determining the set of second partitions in the target area map that match the target boundary, the method further includes:
s51, detecting a matching boundary corresponding to each vertex in two vertexes of the target boundary, wherein the matching boundary corresponding to each vertex is an area boundary which is intersected with the target boundary in the target area map and has a distance with each vertex smaller than or equal to a preset distance threshold value;
and S52, when the regional boundary corresponding to the target vertex in the two vertexes is not detected, performing extension operation on the target boundary by taking the target vertex as a starting point to obtain an extended target boundary, wherein the extended target vertex has a corresponding matching boundary.
In this embodiment, considering that the target boundary added by the user is not necessarily standard, the partition operation of performing the partition directly based on the added target boundary has a problem that the region partition cannot be performed or the region partition is unreasonable. In order to improve the accuracy of the region segmentation, the target boundary may be preprocessed, which may include a normalization operation of the target boundary.
The target boundary may have two vertices. For each vertex, a matching boundary in the target area map that matches each vertex may be determined. The matching boundary of a vertex refers to: and the area boundary is intersected with the target boundary, and the distance between the area boundary and the vertex is smaller than or equal to a preset distance threshold value. Here, the intersection with the target boundary is to facilitate region segmentation, and the distance between the target boundary and the vertex is less than or equal to a preset distance threshold to avoid misidentification of the matching boundary.
If no region boundary corresponding to a target vertex of the two vertices (which may be any one of the two vertices) is detected, the terminal device may perform an extension operation on the target boundary, the extended target boundary intersecting with one region boundary of the target map region, i.e., the extended target vertex has a corresponding matching boundary.
The extending operation may be performed on the target vertex according to a preset extending length (the extending length may be less than or equal to a preset distance threshold, for example, 2 mm), so as to obtain an extended target boundary, or may be performed on the target boundary by other manners, so as to obtain an extended target boundary, which is not limited in this embodiment.
For example, as shown in fig. 6, the user may add a dividing line on the sweep configuration page, and the vertices of the added dividing line include vertex 1 and vertex 2. The smartphone may display the user added split line. At this time, only the region boundary matching with the vertex 1, that is, the boundary 1, is detected, and the region boundary matching with the vertex 2 is not detected. The extending operation may be performed on the vertex 2 by a preset extending length (i.e., the interval 1), resulting in an extended vertex 2' and an extended dividing line. At this time, the boundary 1 intersecting the extended dividing line may be regarded as a region boundary matching the vertex 2' (i.e., the vertex 2).
By the method, the vertex added with the boundary can be subjected to extension operation, so that region segmentation based on the added boundary can be facilitated, and the accuracy of region segmentation is improved.
In one exemplary embodiment, before performing the partitioning operation on the set of second partitions according to the target boundary and the set of second boundaries corresponding to the set of second partitions, the method further comprises:
s61, determining a group of boundaries to be split in the target area map, wherein each boundary to be split in the group of boundaries to be split has an intersection point with the target boundary;
s62, splitting operation is carried out on each boundary to be split by taking the intersection point of each boundary to be split and the target boundary as a splitting point, so that a group of split boundaries are obtained, wherein a group of second boundaries comprise a group of split boundaries.
In this embodiment, in order to ensure accuracy of region segmentation, a set of region boundaries to be split, that is, a set of boundaries to be split, of all region boundaries of a set of second partitions, each of which is a region boundary having an intersection with a target boundary, may be acquired before the segmentation operation is performed. One or more manners of obtaining a group of boundaries to be split may be adopted, for example, one vertex of the target boundary may be used as a starting point, a preset distance threshold is used as a step length, whether there is an intersecting region boundary is sequentially determined until another vertex is found, for example, whether each region boundary of a group of second partitions has an intersecting point with the target boundary may be separately determined until all region boundaries are confirmed, or other manners of determining boundaries to be split may be adopted, which are not limited in this embodiment.
For each boundary to be split, the intersection point of the boundary to be split and the target boundary can be taken as a splitting point, and splitting operation is carried out on the boundary to be split, so that a group of split boundaries are obtained. The set of second boundaries may include a set of split boundaries and may further include other region boundaries among all boundaries of the set of second partitions except for the set of boundaries to be split.
For example, when a user manually divides a partition, a partition line may be added and processed together with existing partition line information, for example, whether or not there is a crossover is determined, and the partition line information after the division update is stored
Illustratively, as shown in FIG. 7, partition 2 includes 4 boundaries, boundary 1, boundary 2, boundary 3, and boundary 4, respectively. Before the partition 2 performs the partition operation, boundaries 1 'and 1″ obtained by splitting the boundary 1 and boundaries 2' and 2″ obtained by splitting the boundary 2 may be obtained from the partition boundary having the intersection point between the partition line and the partition 2, that is, the boundary 1 intersecting the partition line at the intersection point 1 and the boundary 2 intersecting the partition line at the intersection point 2. Then, after the partition 2 is subjected to the partition operation, the partition 2 'and the partition 2″ may be obtained, wherein the boundary of the partition 2' is boundary 1', boundary 3, boundary 2' and a partition line, and the boundary of the partition 2″ is a partition line, boundary 1", boundary 2″ and boundary 4.
According to the embodiment, the existing boundary is split according to the intersection point of the added boundary and the existing boundary, so that partition errors caused by mismatching of the boundary can be avoided, the accuracy of the partition is improved, and the use experience of a user is improved.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present application.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM (Read-Only Memory)/RAM (Random Access Memory), magnetic disk, optical disk), comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
According to still another aspect of the embodiment of the present application, there is also provided a processing apparatus for region information for implementing the above-described processing method for region information. Fig. 8 is a block diagram of an alternative area information processing apparatus according to an embodiment of the present application, and as shown in fig. 8, the apparatus may include:
a display unit 802, configured to display a target area map on a target configuration interface of a target application, where the target area map includes a set of first boundaries and a set of first partitions divided by the set of first boundaries;
a first determining unit 804 connected to the display unit 802, for determining at least two first partitions of the to-be-merged areas in the set of first partitions in case that the merge operation performed on the target area map is detected;
a removing unit 806, coupled to the first determining unit 804, is configured to remove a first boundary between adjacent first partitions in the at least two first partitions, to obtain a merged partition.
It should be noted that, the display unit 802 in this embodiment may be used to perform the above-mentioned step S202, the first determining unit 804 in this embodiment may be used to perform the above-mentioned step S204, and the removing unit 806 in this embodiment may be used to perform the above-mentioned step S206.
Displaying a target area map on a target configuration interface of a target application through the module, wherein the target area map comprises a group of first boundaries and a group of first partitions divided by the group of first boundaries; determining at least two first partitions of a group of first partitions to be merged under the condition that the merging operation performed on the target area map is detected; the first boundaries between adjacent first partitions in at least two first partitions are removed to obtain merged partitions, so that the problem that the cleaning efficiency is low due to unreasonable partition arrangement in the area information processing method in the related technology is solved, the rationality of the partitions is improved, and the cleaning efficiency of the cleaning equipment is further improved.
In one exemplary embodiment, the first determining unit includes:
the first determining module is used for determining at least two partitions as the partitions of the to-be-combined region under the condition that the selection operation and the first triggering operation which are respectively executed on the at least two first partitions are detected, wherein the first triggering operation is used for triggering the partition selected by the combination selection operation; or alternatively, the process may be performed,
and the second determining module is used for determining at least two first subareas selected by the frame selection operation as subareas of the to-be-combined area under the condition that the frame selection operation and the second triggering operation which are performed on the target area map are detected, wherein the second triggering operation is used for triggering the subareas selected by the frame selection operation.
In one exemplary embodiment, a display unit includes:
the receiving module is used for receiving a target indication message sent by the cleaning equipment corresponding to the target area map, wherein the target indication message is used for indicating the cleaned subarea in the target area map;
the third determining module is used for responding to the target indication message, determining the to-be-cleaned subareas in the target area map and obtaining a group of first subareas;
and the display module is used for displaying a target area map on a target configuration interface of the target application, wherein the other area boundaries except for the group of first boundaries in the target area map are not displayed on the target area map.
In an exemplary embodiment, the above apparatus further includes:
and the sending unit is used for sending an update indication message to the cleaning device after removing the first boundary between the adjacent first partitions in the at least two first partitions to obtain the merged partition, wherein the update indication message is used for indicating that the at least two first partitions are updated to the merged partition so as to clean the merged partition through the cleaning device.
In an exemplary embodiment, the above apparatus further includes:
a second determining unit configured to determine, after the target configuration interface of the target application displays the target area map, a set of second partitions in the target area map that match the target boundary in a case where an adding operation performed on the target area map is detected, wherein the adding operation is used to add the target boundary in the target area map;
And the first execution unit is used for executing the segmentation operation on the group of second partitions according to the target boundary and the group of second boundaries corresponding to the group of second partitions to obtain a group of third partitions.
In an exemplary embodiment, the above apparatus further includes:
the detection unit is used for detecting a matching boundary corresponding to each vertex in the two vertexes of the target boundary before determining a group of second partitions matched with the target boundary in the target area map, wherein the matching boundary corresponding to each vertex is an area boundary which is intersected with the target boundary in the target area map and has a distance smaller than or equal to a preset distance threshold value with each vertex;
and the second execution unit is used for executing extension operation on the target boundary by taking the target vertex as a starting point under the condition that the region boundary corresponding to the target vertex in the two vertexes is not detected, so as to obtain an extended target boundary, wherein the extended target vertex has a corresponding matching boundary.
In an exemplary embodiment, the above apparatus further includes:
a third determining unit, configured to determine a set of boundaries to be split in the target area map before performing a splitting operation on the set of second partitions according to the target boundary and a set of second boundaries corresponding to the set of second partitions, where each boundary to be split in the set of boundaries to be split has an intersection with the target boundary;
And the third execution unit is used for executing splitting operation on each boundary to be split by taking the intersection point of each boundary to be split and the target boundary as a splitting point to obtain a group of split boundaries, wherein the group of second boundaries comprises a group of split boundaries.
It should be noted that the above modules are the same as examples and application scenarios implemented by the corresponding steps, but are not limited to what is disclosed in the above embodiments. It should be noted that the above modules may be implemented in software or in hardware as part of the apparatus shown in fig. 1, where the hardware environment includes a network environment.
According to yet another aspect of an embodiment of the present application, there is also provided a storage medium. Alternatively, in this embodiment, the above-described storage medium may be used to execute the program code of the processing method of any of the above-described area information in the embodiment of the present application.
Alternatively, in this embodiment, the storage medium may be located on at least one network device of the plurality of network devices in the network shown in the above embodiment.
Alternatively, in the present embodiment, the storage medium is configured to store program code for performing the steps of:
S1, displaying a target area map on a target configuration interface of a target application, wherein the target area map comprises a group of first boundaries and a group of first partitions divided by the group of first boundaries;
s2, determining at least two first partitions of a group of first partitions to be combined under the condition that the combined area operation executed on the target area map is detected;
and S3, removing a first boundary between adjacent first partitions in the at least two first partitions to obtain the merged partition.
Alternatively, specific examples in the present embodiment may refer to examples described in the above embodiments, which are not described in detail in the present embodiment.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a U disk, ROM, RAM, a mobile hard disk, a magnetic disk or an optical disk.
According to still another aspect of the embodiment of the present application, there is also provided an electronic device for implementing the above-mentioned method for processing area information, where the electronic device may be a server, a terminal, or a combination thereof.
Fig. 9 is a block diagram of an alternative electronic device, according to an embodiment of the present application, as shown in fig. 9, including a processor 902, a communication interface 904, a memory 906, and a communication bus 908, wherein the processor 902, the communication interface 904, and the memory 906 communicate with each other via the communication bus 908, wherein,
A memory 906 for storing a computer program;
the processor 902 is configured to execute the computer program stored in the memory 906, and implement the following steps:
s1, displaying a target area map on a target configuration interface of a target application, wherein the target area map comprises a group of first boundaries and a group of first partitions divided by the group of first boundaries;
s2, determining at least two first partitions of a group of first partitions to be combined under the condition that the combined area operation executed on the target area map is detected;
and S3, removing a first boundary between adjacent first partitions in the at least two first partitions to obtain the merged partition.
Alternatively, in the present embodiment, the communication bus may be a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus, or an EISA (Extended Industry Standard Architecture ) bus, or the like. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, only one thick line is shown in fig. 9, but not only one bus or one type of bus. The communication interface is used for communication between the electronic device and other equipment.
The memory may include RAM or nonvolatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
As an example, the above-described memory 906 may include, but is not limited to, a display unit 802, a first determination unit 804, and a removal unit 806 in a control apparatus including the above-described device. In addition, other module units in the control device of the above apparatus may be included, but are not limited to, and are not described in detail in this example.
The processor may be a general purpose processor and may include, but is not limited to: CPU (Central Processing Unit ), NP (Network Processor, network processor), etc.; but also DSP (Digital Signal Processing, digital signal processor), ASIC (Application Specific Integrated Circuit ), FPGA (Field-Programmable Gate Array, field programmable gate array) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments, and this embodiment is not described herein.
It will be understood by those skilled in the art that the structure shown in fig. 9 is only schematic, and the device implementing the above-mentioned method for processing area information may be a terminal device, and the terminal device may be a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palmtop computer, a mobile internet device (Mobile Internet Devices, MID), a PAD, etc. Fig. 9 is not limited to the structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in fig. 9, or have a different configuration than shown in fig. 9.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be implemented by a program for instructing a terminal device to execute in association with hardware, the program may be stored in a computer readable storage medium, and the storage medium may include: flash disk, ROM, RAM, magnetic or optical disk, etc.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The integrated units in the above embodiments may be stored in the above-described computer-readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing one or more computer devices (which may be personal computers, servers or network devices, etc.) to perform all or part of the steps of the method described in the embodiments of the present application.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In several embodiments provided by the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, such as the division of the units, is merely a logical function division, and may be implemented in another manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution provided in the present embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application, which are intended to be comprehended within the scope of the present application.

Claims (10)

1. A method for processing area information, comprising:
displaying a target area map on a target configuration interface of a target application, wherein the target area map comprises a group of first boundaries and a group of first partitions divided by the group of first boundaries;
determining at least two first partitions to be merged in the set of first partitions in case that a merging operation performed on the target area map is detected;
and removing the first boundary between the adjacent first partitions in the at least two first partitions to obtain the merged partition.
2. The method of claim 1, wherein the determining at least two first partitions of the set of first partitions to be merged in the event that a merge operation performed on the target area map is detected comprises:
under the condition that the selection operation and the first triggering operation which are respectively executed on the at least two first partitions are detected, determining the at least two partitions as the partitions of the to-be-combined area, wherein the first triggering operation is used for triggering and combining the partitions selected by the selection operation; or alternatively, the process may be performed,
and under the condition that the frame selection operation and the second triggering operation are detected, determining the at least two first partitions selected by the frame selection operation as the partitions of the to-be-combined area, wherein the second triggering operation is used for triggering and combining the partitions selected by the frame selection operation.
3. The method of claim 1, wherein displaying the target area map at the target configuration interface of the target application comprises:
receiving a target indication message sent by cleaning equipment corresponding to the target area map, wherein the target indication message is used for indicating a cleaned partition in the target area map;
Responding to the target indication message, determining a partition to be cleaned in the target area map, and obtaining the group of first partitions;
and displaying the target area map on the target configuration interface of the target application, wherein the other area boundaries except the group of first boundaries in the target area map are not displayed on the target area map.
4. A method according to claim 3, wherein after said removing a first boundary between adjacent ones of said at least two first partitions, resulting in a merged partition, the method further comprises:
and sending an update indication message to the cleaning device, wherein the update indication message is used for indicating that the at least two first partitions are updated to the merged partition so as to clean the merged partition through the cleaning device.
5. The method of any of claims 1-4, wherein after the target configuration interface of the target application displays a target area map, the method further comprises:
determining a set of second partitions in the target area map that match target boundaries in the event that an add operation to the target area map is detected, wherein the add operation is for adding the target boundaries in the target area map;
And executing a segmentation operation on the group of second partitions according to the target boundary and the group of second boundaries corresponding to the group of second partitions to obtain a group of third partitions.
6. The method of claim 5, wherein prior to said determining a set of second partitions in the target area map that match the target boundary, the method further comprises:
detecting a matching boundary corresponding to each vertex of two vertexes of the target boundary, wherein the matching boundary corresponding to each vertex is an area boundary which is intersected with the target boundary in the target area map and has a distance with each vertex smaller than or equal to a preset distance threshold value;
and under the condition that the regional boundary corresponding to the target vertex in the two vertexes is not detected, executing extension operation on the target boundary by taking the target vertex as a starting point to obtain the extended target boundary, wherein the extended target vertex has a corresponding matching boundary.
7. The method of claim 5, wherein prior to performing a partitioning operation on the set of second partitions according to the target boundary and a set of second boundaries corresponding to the set of second partitions, the method further comprises:
Determining a set of boundaries to be split in the target area map, wherein each boundary to be split in the set of boundaries to be split has an intersection point with the target boundary;
and executing splitting operation on each boundary to be split by taking the intersection point of each boundary to be split and the target boundary as a splitting point to obtain a group of split boundaries, wherein the group of second boundaries comprises the group of split boundaries.
8. A processing apparatus for area information, comprising:
the display unit is used for displaying a target area map on a target configuration interface of a target application, wherein the target area map comprises a group of first boundaries and a group of first partitions divided by the group of first boundaries;
a first determining unit configured to determine at least two first partitions of the set of first partitions to be merged, in a case where a merging operation performed on the target area map is detected;
and the removing unit is used for removing the first boundary between the adjacent first partitions in the at least two first partitions to obtain the merged partition.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program when run performs the method of any one of claims 1 to 7.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of claims 1 to 7 by means of the computer program.
CN202210159245.3A 2022-02-21 2022-02-21 Method and device for processing area information, storage medium and electronic device Pending CN116662462A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210159245.3A CN116662462A (en) 2022-02-21 2022-02-21 Method and device for processing area information, storage medium and electronic device
PCT/CN2023/075216 WO2023155732A1 (en) 2022-02-21 2023-02-09 Area information processing method and apparatus, storage medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210159245.3A CN116662462A (en) 2022-02-21 2022-02-21 Method and device for processing area information, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN116662462A true CN116662462A (en) 2023-08-29

Family

ID=87577590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210159245.3A Pending CN116662462A (en) 2022-02-21 2022-02-21 Method and device for processing area information, storage medium and electronic device

Country Status (2)

Country Link
CN (1) CN116662462A (en)
WO (1) WO2023155732A1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102017109219A1 (en) * 2017-04-28 2018-10-31 RobArt GmbH Method for robot navigation
CN110428423A (en) * 2019-06-25 2019-11-08 深圳乐动机器人有限公司 A kind of terrain feature edit method, editing equipment and editing system
CN111123278B (en) * 2019-12-30 2022-07-12 科沃斯机器人股份有限公司 Partitioning method, partitioning equipment and storage medium
CN111722630B (en) * 2020-06-30 2024-02-02 深圳银星智能集团股份有限公司 Partition boundary extension method, device and equipment of cleaning robot and storage medium

Also Published As

Publication number Publication date
WO2023155732A1 (en) 2023-08-24

Similar Documents

Publication Publication Date Title
RU2624737C2 (en) Method and device for cleaning waste
CN109540155A (en) A kind of path planning and navigation method, computer installation and the computer readable storage medium of sweeping robot
CN112515563B (en) Obstacle avoiding method, sweeping robot and readable storage medium
CN110533700B (en) Object tracking method and device, storage medium and electronic device
CN113469000B (en) Regional map processing method and device, storage medium and electronic device
CN116612232A (en) Digital twin system construction method, terminal equipment and storage medium
CN110146098A (en) A kind of robot map enlargement method, device, control equipment and storage medium
WO2023045798A1 (en) Method and apparatus for identifying aisle area
CN112286185A (en) Floor sweeping robot, three-dimensional map building method and system thereof, and computer readable storage medium
CN114066917B (en) Cleaning method, cleaning device, electronic equipment and storage medium
CN112386171B (en) Intelligent cleaning method and system for building property
CN116662462A (en) Method and device for processing area information, storage medium and electronic device
CN112435274A (en) Remote sensing image planar ground object extraction method based on object-oriented segmentation
CN116662352A (en) Method and device for processing area information, storage medium and electronic device
CN112927278A (en) Control method, control device, robot and computer-readable storage medium
CN111784797A (en) Robot networking interaction method, device and medium based on AR
WO2023155731A1 (en) Operation control method and apparatus for cleaning device, and storage medium and electronic apparatus
WO2023185247A1 (en) Region cleaning control method and apparatus, and storage medium and electronic apparatus
CN114886345B (en) Method, device, system and storage medium for controlling sweeping robot
CN113720337B (en) Map editing method and device of sweeping robot, storage medium and electronic equipment
CN112809669B (en) Robot control method and device, robot and storage medium
CN113009911A (en) Cleaning path generation method and device and self-moving equipment
CN114627130A (en) Cleaning map segmentation method and device, computer equipment and storage medium
CN117095279A (en) Robot repositioning method and device, storage medium and electronic device
CN114343507A (en) Map data generation method and device and sweeping robot

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