WO2021203745A1 - Standby position planning method and apparatus, and storage medium and computer device - Google Patents

Standby position planning method and apparatus, and storage medium and computer device Download PDF

Info

Publication number
WO2021203745A1
WO2021203745A1 PCT/CN2020/139857 CN2020139857W WO2021203745A1 WO 2021203745 A1 WO2021203745 A1 WO 2021203745A1 CN 2020139857 W CN2020139857 W CN 2020139857W WO 2021203745 A1 WO2021203745 A1 WO 2021203745A1
Authority
WO
WIPO (PCT)
Prior art keywords
time period
electronic device
standby position
target
end positions
Prior art date
Application number
PCT/CN2020/139857
Other languages
French (fr)
Chinese (zh)
Inventor
宋德超
贾巨涛
李立辉
黄姿荣
赵文静
Original Assignee
格力电器(武汉)有限公司
珠海格力电器股份有限公司
珠海联云科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 格力电器(武汉)有限公司, 珠海格力电器股份有限公司, 珠海联云科技有限公司 filed Critical 格力电器(武汉)有限公司
Publication of WO2021203745A1 publication Critical patent/WO2021203745A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • G05D1/0219Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory ensuring the processing of the whole working surface
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0276Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle

Definitions

  • the present disclosure relates to the field of smart home technology, and in particular to a method, device, storage medium, and computer equipment for planning a standby position.
  • the movable trash can can be awakened under voice control instructions and moved to the location of the user or other standby locations.
  • the moving distance of the movable trash can will be relatively long. In this case, the moving distance will be greatly increased, resulting in a longer time for the user to wait for the trash can to move, resulting in poor user experience.
  • embodiments of the present disclosure provide a method, device, storage medium, and computer device for setting a standby position.
  • the embodiments of the present disclosure provide a method for planning a standby position, which is applied to a portable electronic device, and the method includes:
  • the preset duration is divided into time periods to obtain multiple time periods
  • cluster analysis is performed on the end positions of the same time period to obtain the standby position that the mobile electronic device should reach in each time period, including:
  • the center position of the corresponding cluster is used as the standby position that the portable electronic device should reach in the corresponding time period
  • a target point from at least two clusters make the ratio of the distance from the target point to each center position is inversely proportional to the number of end positions included, and use the target point as the standby position that the portable electronic device should reach in the corresponding time period .
  • performing cluster analysis on the end positions of the same time period to obtain clusters includes:
  • At least one sliding window is established for the end positions of the same time period, so that at least one sliding window includes all the end positions of the same time period;
  • De-duplication processing is performed on multiple target sliding windows, and the target sliding windows retained after the de-duplication processing are used as clusters in the corresponding time period.
  • de-duplication processing is performed on multiple target sliding windows, and the target sliding windows retained after the de-duplication processing are used as clusters of corresponding time periods, including:
  • the number of end positions contained in the target sliding windows that have intersections among multiple target sliding windows is compared, and the target sliding window with the largest number of end positions contained in each intersection is retained as the cluster of the corresponding time period.
  • the method further includes:
  • Control the movable electronic device to move from the current position to the standby position corresponding to the target time period.
  • the method before controlling the movable electronic device to move from the current position to the standby position corresponding to the target time period, the method further includes:
  • Controlling the movable electronic device to move from the current position to the standby position corresponding to the target time period includes:
  • embodiments of the present disclosure provide a standby position planning device, which is applied to a portable electronic device, and the device includes:
  • the mobile information acquisition module is configured to acquire the mobile information of each movement of the portable electronic device within a preset time period
  • the dividing module is set to divide the preset time period into multiple time periods
  • the first matching module is set to determine the time period of each movement and the corresponding end position according to the movement information
  • the analysis module is set to perform cluster analysis on the end positions of the same time period to obtain the standby position that the movable electronic device should reach in each time period.
  • the device further includes:
  • the clock module is set to obtain the current time in real time
  • the positioning module is set to obtain the current position of the movable electronic device in real time
  • the second matching module is set to determine the time period of the current moment, and use the time period of the current moment as the target time period;
  • the movement control module is configured to control the movable electronic device to move from the current position to the standby position corresponding to the target time period.
  • the embodiments of the present disclosure provide a computer-readable storage medium with a computer program stored on the computer-readable storage medium.
  • the computer program When the computer program is executed by a processor, the processor executes any of the methods described above. A step of.
  • the embodiments of the present disclosure provide a computer device, including a memory, a processor, and a computer program stored in the memory and running on the processor.
  • the processor executes the program, it executes any of the above Method steps.
  • the standby position of the portable electronic device in each time period is reasonably planned, which reduces the overall time for the user to wait for the portable electronic device to move to the target position after waking up the portable electronic device, and improves the user experience .
  • the optimal standby position of the movable trash can is calculated based on the data of the user awakening the movable trash can at each time period, thereby reducing the time it takes for the trash can to move to the target location.
  • FIG. 1 is a schematic flowchart of a method for planning a standby position according to an embodiment
  • FIG. 2 is a structural block diagram of a standby position planning device provided by an embodiment
  • Fig. 3 is an internal structure diagram of a computer device provided by an embodiment.
  • FIG. 1 is a schematic flowchart of a method for planning a standby position according to an embodiment. Referring to Figure 1, the method includes the following steps:
  • S100 Acquire movement information of each movement of the movable electronic device within a preset time period.
  • the movable electronic device may be a movable trash can in an indoor environment such as a home or office, but is not limited thereto.
  • the preset duration can be one week, one month, one quarter, etc. It is not limited to this.
  • the movable electronic device may be awakened multiple times within a preset time period and move to different target locations according to user instructions, and the historical data is the movement information of the movable electronic device within the preset time period.
  • the movement information includes the time at which each movement is awakened or the starting time of the movement, as well as the end position of each movement.
  • S200 Divide the preset time period into time periods to obtain multiple time periods.
  • 24 hours a day can be divided into multiple time periods. If the preset time length is one week, there are multiple time periods of each type in a week. For example: divide 24 hours a day into 6 hours as a time period, the first time period is 00:00-6:00, the second time period is 6:00-12:00, and the third time period is 12:00-18: 00.
  • the fourth time period 18:00-24:00 if the preset time length is one week, there will be 7 first time periods, 7 second time periods, 7 third time periods, and 7 fourth time periods in a week. period.
  • the preset duration is one month, there are 28 or 29 or 30 or 31 first time periods, 28 or 29 or 30 or 31 second time periods, 28 or 29 or 30 in a month. Or 31 third time periods, 28 or 29 or 30 or 31 fourth time periods.
  • 24 hours a day can also be divided into 4 hours as a time period to obtain 6 time periods.
  • the specific division rules can be determined according to actual conditions.
  • S300 Determine the time period of each movement and the corresponding end position according to the movement information.
  • the movement information includes the time at which each movement is awakened or the start time of the movement, and also includes the end position of each movement. According to the time of each wake-up or the starting time of the movement, it is possible to determine which time period to move each time, thereby determining how many movements there are in each time period, and the end position corresponding to each movement.
  • the end position is obtained by selecting an origin on the site where the portable electronic device is located to establish a plane coordinate system, and converting the positioning data into plane coordinates in the plane coordinate system.
  • S400 Perform cluster analysis on the end positions of the same time period to obtain the standby position that the movable electronic device should reach in each time period.
  • the same time period refers to a time period of different days but the same time interval within a preset time period. For example, there are 7 time intervals between 00:00 and 6:00 within 7 days of a week, and they belong to the same time period; 6:00 There are 7 time intervals of -12:00, and they belong to another type of same time interval.
  • each time period has multiple same time periods that do not belong to the same day.
  • the present disclosure can use the movement information in the previous month to estimate the standby position that the mobile electronic device should reach in each time period in the next month; it can also estimate the movement information in each time period in the next week through the movement information in the previous week.
  • the standby position that the electronic device should reach can be further subdivided, based on yesterday's movement information to estimate the standby position that the mobile electronic device should reach in each time period today, etc., and so on, it is not limited to this.
  • step S400 specifically includes:
  • the center position of the corresponding cluster is used as the standby position that the portable electronic device should reach in the corresponding time period
  • a target point from at least two clusters make the ratio of the distance from the target point to each center position is inversely proportional to the number of end positions included, and use the target point as the standby position that the portable electronic device should reach in the corresponding time period .
  • the cluster is a sliding window corresponding to each time period that contains part of the end positions of the time period.
  • the sliding window can be circular.
  • the center of the cluster is the center of the circle. If there is only one cluster in a time period, the center position of the cluster, that is, the center position of the circle, is the standby position that the movable electronic device should reach in this time period.
  • the ratio of the distance from the standby position to the center position of the 2 or more clusters is the inverse ratio of the number of end positions contained in the 2 or more clusters . That is, the standby position is shorter from the center position of the cluster with more end positions included, and the center position of the cluster with fewer end positions included is longer. This ensures that the standby position is closer to the user's expected position in the future.
  • the standby position is a position where obstacles in the venue where the movable electronic device is located are avoided.
  • performing cluster analysis on the end positions of the same time period to obtain clusters includes:
  • At least one sliding window is established for the end positions of the same time period, so that at least one sliding window includes all the end positions of the same time period; sliding at least one sliding window so that the number of end positions contained in each sliding window reaches its maximum value.
  • each sliding window can be circular and has the same radius, and each sliding window iteratively moves to a higher density (containing more end positions) area until convergence.
  • the distance from the center point of each sliding window to each end position contained in it is obtained; the distance corresponding to each sliding window is averaged to obtain the corresponding distance of each sliding window.
  • Mean distance take the center point of each sliding window as a circle point, and the corresponding mean distance as a radius to get a circular sliding track, so that the center point of each sliding window slides on the corresponding circular sliding track, and get the 360
  • the sliding window contains the most end positions, and the position containing the most end positions is used as the new center point coordinates of the corresponding sliding window; get the new center point of each sliding window
  • the distance from the coordinates to each end position contained in itself, and so on, the average value of the distance is calculated, and a new circular sliding track is obtained, so that the new center point coordinates of each sliding window are obtained again, until each sliding window
  • the number of included end positions reaches their respective maximums, and convergence is reached.
  • some target sliding windows of the multiple target sliding windows corresponding to each time period may have an intersection, that is, they may include part of the same end position. It is also possible that part of the target sliding window completely overlaps and contains exactly the same end position. Therefore, the overlapping or overlapping target sliding windows need to be deduplicated.
  • the target sliding window remaining after the deduplication process is the cluster of the corresponding time period.
  • the positions in the present disclosure may all be coordinate vectors.
  • deduplication processing is performed on multiple target sliding windows, and the target sliding windows retained after the deduplication processing are used as clusters of corresponding time periods, including:
  • the number of end positions contained in the target sliding windows that have intersections among multiple target sliding windows is compared, and the target sliding window with the largest number of end positions contained in each intersection is retained as the cluster of the corresponding time period.
  • the target sliding window with the largest number of end positions contained in the target sliding window with the intersection is retained as the cluster, and the target sliding window that does not overlap with any other target sliding windows is also retained as the cluster.
  • intersection can also be taken as the cluster, and a point from the intersection is selected as the center position of the cluster.
  • the method further includes:
  • this embodiment is a movement control process. After each of the previous embodiments obtains the standby position that the mobile electronic device should reach in each time period, the mobile electronic device should be controlled in each time period according to the obtained standby position. Automatically move to the corresponding standby position. For example: it is acquired that the current time is 12:00 and it is in the third time period from 12:00 to 18:00, then the standby position of the third time period is obtained, and the current position of the movable electronic device is controlled from 12:00 Move to the standby position for the third time period. After the movable electronic device reaches the standby position in the third time period, between 12:00 and 18:00, since the standby position remains unchanged, the movable electronic device is always in the standby position in the third time period during this period. After 18:00, in the fourth time period from 18:00 to 24:00, the movable electronic device is controlled to move from the current position at 18:00 to the standby position in the fourth time period.
  • Controlling the movement of a portable electronic device can be controlled by voice or other control methods.
  • the method before controlling the movable electronic device to move from the current position to the standby position corresponding to the target time period, the method further includes:
  • Controlling the movable electronic device to move from the current position to the standby position corresponding to the target time period includes:
  • the method may also include: planning an optimal and nearest movement route for the portable electronic device according to the current position, standby position, and current position of the obstacle, so that the portable electronic device is routed according to the planned movement route.
  • the current position moves to the standby position corresponding to the target time period.
  • a mobility control method which includes:
  • steps in the flowchart of FIG. 1 are displayed in sequence as indicated by the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless specifically stated in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in FIG. 1 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution of these sub-steps or stages The sequence is not necessarily performed sequentially, but may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.
  • Fig. 2 is a structural block diagram of a standby position planning device provided by an embodiment. Referring to Figure 2, the device includes:
  • the mobile information acquiring module 100 is configured to acquire the mobile information of each movement of the portable electronic device within a preset time period
  • the dividing module 200 is configured to divide the preset time period into time periods to obtain multiple time periods;
  • the first matching module 300 is configured to determine the time period of each movement and the corresponding end position according to the movement information
  • the analysis module 400 is configured to perform cluster analysis on the end positions of the same time period to obtain the standby position that the movable electronic device should reach in each time period.
  • the analysis module 400 specifically includes:
  • the cluster analysis module is set to perform cluster analysis on the end positions of the same time period to obtain clusters
  • the central location acquisition module is set to use the central location of the corresponding cluster as the standby position that the mobile electronic device should reach in the corresponding time period if there is only one cluster in the same time period;
  • the counting module is set to obtain the number of end positions contained in each cluster if the same time period corresponds to at least two clusters,
  • the central position acquisition module is also set to acquire the central position of each cluster,
  • the distance calculation module is set to select a target point from at least two clusters, so that the ratio of the distance from the target point to each center position is inversely proportional to the number of end positions included, and the target point is movable in the corresponding time period The standby position that the electronic device should reach.
  • the cluster analysis module specifically includes:
  • the window establishment module is set to establish at least one sliding window for the end positions of the same time period, so that the at least one sliding window includes all the end positions of the same time period;
  • the sliding module is set to slide at least one sliding window so that the number of end positions contained in each sliding window reaches its maximum value to obtain multiple target sliding windows;
  • the deduplication module is set to perform deduplication processing on multiple target sliding windows, and the target sliding windows retained after the deduplication processing are used as clusters in the corresponding time period.
  • the deduplication module is specifically configured to compare the number of end positions contained in the target sliding windows that overlap each other among multiple target sliding windows, and retain the number of end positions contained in each intersection.
  • the most target sliding window is used as the cluster in the corresponding time period.
  • the device further includes:
  • the clock module is set to obtain the current time in real time
  • the positioning module is set to obtain the current position of the movable electronic device in real time
  • the second matching module is set to determine the time period of the current moment, and use the time period of the current moment as the target time period;
  • the movement control module is configured to control the movable electronic device to move from the current position to the standby position corresponding to the target time period.
  • the device further includes:
  • the obstacle positioning module is set to obtain the current position of the obstacle in the actual field at the current moment.
  • the movement control module is specifically configured to control the current position of the movable electronic device to avoid obstacles from its current position to the standby position corresponding to the target time period.
  • Fig. 3 is an internal structure diagram of a computer device provided by an embodiment.
  • the computer device can be installed in a portable electronic device, and the computer device is connected to a processor, a memory, a network interface, an input device, a voice device, and a display screen through a system bus.
  • the memory includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium of the computer device stores an operating system and may also store a computer program.
  • the processor can implement the standby position planning method.
  • a computer program may also be stored in the internal memory, and when the computer program is executed by the processor, the processor may execute the standby position planning method.
  • the display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen. It can be an external keyboard, touchpad, or mouse.
  • the voice device of the computer device is set to receive user instructions, and control the movable electronic device to move or perform other operations according to the user instructions.
  • FIG. 3 is only a block diagram of a part of the structure related to the solution of the present disclosure, and does not constitute a limitation on the computer device to which the solution of the present disclosure is applied.
  • the specific computer device may include More or fewer parts than shown in the figure, or some parts are combined, or have a different arrangement of parts.
  • the standby position planning apparatus provided in the present disclosure may be implemented in the form of a computer program, and the computer program may run on the computer device as shown in FIG. 3.
  • the memory of the computer device can store various program modules that make up the standby location planning apparatus, for example, the mobile information acquisition module 100, the division module 200, the first matching module 300, and the analysis module 400 shown in FIG. 2.
  • the computer program composed of each program module causes the processor to execute the steps in the standby position planning method of each embodiment of the present disclosure described in this specification.
  • the computer device shown in FIG. 3 may obtain the movement information of each movement of the movable electronic device within a preset time period through the movement information acquiring module 100 in the standby position planning apparatus shown in FIG. 2.
  • the computer device may divide the preset time period by the division module 200 to obtain multiple time periods.
  • the computer device can determine the time period of each movement and the corresponding end position according to the movement information through the first matching module 300.
  • the computer device can perform cluster analysis on the end positions of the same time period through the analysis module 400 to obtain the standby position that the movable electronic device should reach in each time period.
  • the computer device can acquire the current time in real time through a clock module.
  • the computer device can acquire the current position of the movable electronic device in real time through the positioning module.
  • the computer device can determine the time period at the current moment by executing the second matching module, and use the time period at the current moment as the target time period.
  • the computer device can control the movable electronic device to move from the current position to the standby position corresponding to the target time period through the movement control module.
  • a computer device including a memory, a processor, and a computer program stored in the memory and capable of running on the processor.
  • the processor executes the computer program, the following steps are implemented: The movement information of each movement within the preset time period; the preset time period is divided into time periods to obtain multiple time periods; the time period of each movement and the corresponding end position are determined according to the movement information; the end positions of the same time period are gathered Class analysis to obtain the standby position that the mobile electronic device should reach in each time period.
  • the processor further implements the following steps when executing the computer program: acquiring the current time in real time; acquiring the current position of the movable electronic device in real time; determining the time period of the current time, and taking the time period of the current time as Target time period; control the movable electronic device to move from the current position to the standby position corresponding to the target time period.
  • a computer-readable storage medium is provided, and a computer program is stored thereon.
  • the computer program is executed by a processor, the following steps are implemented: Obtain the movement information of each movement of the portable electronic device within a preset period of time ; Divide the preset time period into multiple time periods; determine the time period of each movement and the corresponding end position according to the movement information; perform cluster analysis on the end position of the same time period, and obtain that each time period can be moved The standby position that the electronic device should reach.
  • the following steps are also implemented: real-time acquisition of the current time; real-time acquisition of the current position of the movable electronic device; As the target time period; controlling the movable electronic device to move from the current position to the standby position corresponding to the target time period.
  • Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Telephone Function (AREA)

Abstract

A standby position planning method and apparatus, and a storage medium and a computer device. The method comprises: acquiring movement information of each movement of a movable electronic device within a pre-set duration (S100); performing time period division on the pre-set duration so as to obtain a plurality of time periods (S200); determining, according to the movement information, a time period of each movement and a corresponding endpoint position (S300); and performing clustering analysis on endpoint positions within the same time period so as to obtain a standby position which the movable electronic device should reach in each time period (S400). According to the method, the standby position of a movable electronic device within each time period is rationally planned, and the amount of time spent waiting for the movable electronic device to move to a target position after a user wakes up the movable electronic device is shortened on the whole, thereby improving the user experience.

Description

待命位置规划方法、装置、存储介质及计算机设备Standby position planning method, device, storage medium and computer equipment
本公开要求于2020年04月07日提交中国专利局、申请号为202010266042.5、发明名称为“待命位置规划方法、装置、存储介质及计算机设备”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This disclosure claims the priority of a Chinese patent application filed with the Chinese Patent Office, the application number is 202010266042.5, and the invention title is "standby position planning method, device, storage medium and computer equipment" on April 07, 2020, the entire content of which is incorporated by reference Incorporated in this disclosure.
技术领域Technical field
本公开涉及智能家居技术领域,尤其涉及一种待命位置规划方法、装置、存储介质及计算机设备。The present disclosure relates to the field of smart home technology, and in particular to a method, device, storage medium, and computer equipment for planning a standby position.
背景技术Background technique
随着智能家居的快速发展,越来越多的智能家居设备都能够通过语音进行控制,可移动垃圾桶可在语音控制指令下被唤醒并移动到用户所在位置或其他待命位置。但是如果室内面积过大,则可移动垃圾桶的移动距离会相对较远,在此情况下移动距离会大大增加,从而导致用户等待垃圾桶移动过来的时间会较长,导致用户体验差。With the rapid development of smart homes, more and more smart home devices can be controlled by voice. The movable trash can can be awakened under voice control instructions and moved to the location of the user or other standby locations. However, if the indoor area is too large, the moving distance of the movable trash can will be relatively long. In this case, the moving distance will be greatly increased, resulting in a longer time for the user to wait for the trash can to move, resulting in poor user experience.
发明内容Summary of the invention
为了解决上述智能家居设备移动距离大导致用时较长、用户体验差的技术问题,本公开实施例提供了一种待命位置设置方法、装置、存储介质及计算机设备。In order to solve the above-mentioned technical problems of the long moving distance of the smart home equipment resulting in long time and poor user experience, embodiments of the present disclosure provide a method, device, storage medium, and computer device for setting a standby position.
第一方面,本公开实施例提供了一种待命位置规划方法,应用于可移动电子设备,该方法包括:In the first aspect, the embodiments of the present disclosure provide a method for planning a standby position, which is applied to a portable electronic device, and the method includes:
获取可移动电子设备在预设时长内每次移动的移动信息;Obtain the movement information of each movement of the portable electronic device within a preset period of time;
对预设时长进行时间段划分得到多个时间段;The preset duration is divided into time periods to obtain multiple time periods;
根据移动信息确定每次移动的时间段及对应的终点位置;Determine the time period of each movement and the corresponding end position according to the movement information;
对相同时间段的终点位置进行聚类分析,得到每个时间段可移动电子设备应该到达的待命位置。Perform cluster analysis on the end positions of the same time period to obtain the standby position that the mobile electronic device should reach in each time period.
在一些实施方式中,对相同时间段的终点位置进行聚类分析,得到每个时间段可移动电子设备应该到达的待命位置,包括:In some embodiments, cluster analysis is performed on the end positions of the same time period to obtain the standby position that the mobile electronic device should reach in each time period, including:
对相同时间段的终点位置进行聚类分析得到聚集簇;Perform cluster analysis on the end positions of the same time period to obtain clusters;
若相同时间段只对应一个聚集簇,则将对应的聚集簇的中心位置作为对应时间段可移动电子设备应该到达的待命位置;If there is only one cluster in the same time period, the center position of the corresponding cluster is used as the standby position that the portable electronic device should reach in the corresponding time period;
若相同时间段对应至少两个聚集簇,则,If the same time period corresponds to at least two clusters, then,
获取每个聚集簇所包含的终点位置的数量,Get the number of end positions contained in each cluster,
获取每个聚集簇的中心位置,Get the center position of each cluster,
从至少两个聚集簇中选取一个目标点,使目标点到达每个中心位置的距离的比为包含的终点位置的数量的反比,将目标点作为对应时间段可移动电子设备应该到达的待命位置。Select a target point from at least two clusters, make the ratio of the distance from the target point to each center position is inversely proportional to the number of end positions included, and use the target point as the standby position that the portable electronic device should reach in the corresponding time period .
在一些实施方式中,对相同时间段的终点位置进行聚类分析得到聚集簇,包括:In some embodiments, performing cluster analysis on the end positions of the same time period to obtain clusters includes:
对相同时间段的终点位置建立至少一个滑动窗口,使至少一个滑动窗口包含相同时间段的所有终点位置;At least one sliding window is established for the end positions of the same time period, so that at least one sliding window includes all the end positions of the same time period;
滑动至少一个滑动窗口使每个滑动窗口所包含的终点位置的数量达到各自的最大值得到多个目标滑动窗口;Sliding at least one sliding window so that the number of end positions contained in each sliding window reaches its maximum value to obtain multiple target sliding windows;
对多个目标滑动窗口进行去重处理,将去重处理后保留的目标滑动窗口作为对应时间段的聚集簇。De-duplication processing is performed on multiple target sliding windows, and the target sliding windows retained after the de-duplication processing are used as clusters in the corresponding time period.
在一些实施方式中,对多个目标滑动窗口进行去重处理,将去重 处理后保留的目标滑动窗口作为对应时间段的聚集簇,包括:In some implementations, de-duplication processing is performed on multiple target sliding windows, and the target sliding windows retained after the de-duplication processing are used as clusters of corresponding time periods, including:
对多个目标滑动窗口中相互有交集的目标滑动窗口所包含的终点位置的数量进行对比,保留每个交集中所包含的终点位置的数量最多的目标滑动窗口作为对应时间段的聚集簇。The number of end positions contained in the target sliding windows that have intersections among multiple target sliding windows is compared, and the target sliding window with the largest number of end positions contained in each intersection is retained as the cluster of the corresponding time period.
在一些实施方式中,在对相同时间段的终点位置进行聚类分析,得到每个时间段可移动电子设备应该到达的待命位置之后,方法还包括:In some embodiments, after performing cluster analysis on the end positions of the same time period to obtain the standby position that the movable electronic device should reach in each time period, the method further includes:
实时获取当前时刻;Get the current time in real time;
实时获取可移动电子设备的当前位置;Obtain the current position of the movable electronic device in real time;
确定当前时刻所处的时间段,将当前时刻所处的时间段作为目标时间段;Determine the time period of the current moment, and use the time period of the current moment as the target time period;
控制可移动电子设备由当前位置移动至目标时间段对应的待命位置。Control the movable electronic device to move from the current position to the standby position corresponding to the target time period.
在一些实施方式中,在控制可移动电子设备由当前位置移动至目标时间段对应的待命位置之前,方法还包括:In some embodiments, before controlling the movable electronic device to move from the current position to the standby position corresponding to the target time period, the method further includes:
获取当前时刻实际场地内障碍物的当前位置;Get the current position of the obstacle in the actual field at the current moment;
控制可移动电子设备由当前位置移动至目标时间段对应的待命位置,包括:Controlling the movable electronic device to move from the current position to the standby position corresponding to the target time period includes:
控制可移动电子设备避开障碍物的当前位置由当前位置移动至目标时间段对应的待命位置。Control the current position of the movable electronic device to avoid the obstacle to move from the current position to the standby position corresponding to the target time period.
第二方面,本公开实施例提供了一种待命位置规划装置,应用于可移动电子设备,该装置包括:In a second aspect, embodiments of the present disclosure provide a standby position planning device, which is applied to a portable electronic device, and the device includes:
移动信息获取模块,被设置为获取可移动电子设备在预设时长内每次移动的移动信息;The mobile information acquisition module is configured to acquire the mobile information of each movement of the portable electronic device within a preset time period;
划分模块,被设置为对预设时长进行时间段划分得到多个时间段;The dividing module is set to divide the preset time period into multiple time periods;
第一匹配模块,被设置为根据移动信息确定每次移动的时间段及对应的终点位置;The first matching module is set to determine the time period of each movement and the corresponding end position according to the movement information;
分析模块,被设置为对相同时间段的终点位置进行聚类分析得到每个时间段可移动电子设备应该到达的待命位置。The analysis module is set to perform cluster analysis on the end positions of the same time period to obtain the standby position that the movable electronic device should reach in each time period.
在一些实施方式中,该装置还包括:In some embodiments, the device further includes:
时钟模块,被设置为实时获取当前时刻;The clock module is set to obtain the current time in real time;
定位模块,被设置为实时获取可移动电子设备的当前位置;The positioning module is set to obtain the current position of the movable electronic device in real time;
第二匹配模块,被设置为确定当前时刻所处的时间段,将当前时刻所处的时间段作为目标时间段;The second matching module is set to determine the time period of the current moment, and use the time period of the current moment as the target time period;
移动控制模块,被设置为控制可移动电子设备由当前位置移动至目标时间段对应的待命位置。The movement control module is configured to control the movable electronic device to move from the current position to the standby position corresponding to the target time period.
第三方面,本公开实施例提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时,使得处理器执行如前面所述任一项的方法的步骤。In the third aspect, the embodiments of the present disclosure provide a computer-readable storage medium with a computer program stored on the computer-readable storage medium. When the computer program is executed by a processor, the processor executes any of the methods described above. A step of.
第四方面,本公开实施例提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行程序时执行如前面所述任一项的方法的步骤。In a fourth aspect, the embodiments of the present disclosure provide a computer device, including a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the program, it executes any of the above Method steps.
本公开实施例提供的上述技术方案与相关技术相比具有如下优点:Compared with related technologies, the above-mentioned technical solutions provided by the embodiments of the present disclosure have the following advantages:
通过本公开的技术方案,合理规划可移动电子设备在每个时间段的待命位置,整体上减少了用户唤醒可移动电子设备后,等待可移动电子设备移动至目标位置的时间,提升了用户体验。例如,对于可移 动垃圾桶,根据每个时间段用户唤醒可移动垃圾桶的数据计算出可移动垃圾桶的最佳待命位置,从而减少垃圾桶到达目标位置的移动时间。Through the technical solution of the present disclosure, the standby position of the portable electronic device in each time period is reasonably planned, which reduces the overall time for the user to wait for the portable electronic device to move to the target position after waking up the portable electronic device, and improves the user experience . For example, for a movable trash can, the optimal standby position of the movable trash can is calculated based on the data of the user awakening the movable trash can at each time period, thereby reducing the time it takes for the trash can to move to the target location.
附图说明Description of the drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The drawings herein are incorporated into the specification and constitute a part of the specification, show embodiments consistent with the disclosure, and are used together with the specification to explain the principle of the disclosure.
为了更清楚地说明本公开实施例或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present disclosure or related technologies, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments or related technologies. Obviously, for those of ordinary skill in the art, Other drawings can be obtained based on these drawings without creative labor.
图1为一个实施例提供的一种待命位置规划方法的流程示意图;FIG. 1 is a schematic flowchart of a method for planning a standby position according to an embodiment;
图2为一个实施例提供的一种待命位置规划装置的结构框图;2 is a structural block diagram of a standby position planning device provided by an embodiment;
图3为一个实施例提供的一种计算机设备的内部结构图。Fig. 3 is an internal structure diagram of a computer device provided by an embodiment.
具体实施方式Detailed ways
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开的一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。In order to make the objectives, technical solutions, and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments They are a part of the embodiments of the present disclosure, but not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present disclosure.
图1为一个实施例提供的一种待命位置规划方法的流程示意图。参考图1,该方法包括以下步骤:FIG. 1 is a schematic flowchart of a method for planning a standby position according to an embodiment. Referring to Figure 1, the method includes the following steps:
S100:获取可移动电子设备在预设时长内每次移动的移动信息。S100: Acquire movement information of each movement of the movable electronic device within a preset time period.
具体地,可移动电子设备可以是家居或办公等室内环境中的可移动垃圾桶但不局限于此。预设时长可以是一周,可以是一个月,也可 以是一个季度等等不局限于此。可移动电子设备在预设时长内可能被多次唤醒并根据用户指令移动到不同的目标位置,这些历史数据为该可移动电子设备在预设时长内的移动信息。移动信息包括了每次被唤醒的时刻或移动的起始时刻,还包括了每次移动的终点位置。Specifically, the movable electronic device may be a movable trash can in an indoor environment such as a home or office, but is not limited thereto. The preset duration can be one week, one month, one quarter, etc. It is not limited to this. The movable electronic device may be awakened multiple times within a preset time period and move to different target locations according to user instructions, and the historical data is the movement information of the movable electronic device within the preset time period. The movement information includes the time at which each movement is awakened or the starting time of the movement, as well as the end position of each movement.
S200:对预设时长进行时间段划分得到多个时间段。S200: Divide the preset time period into time periods to obtain multiple time periods.
具体地,可以将一天24小时划分为多个时间段,如果预设时长为一周,则一周内每种时间段有多个。例如:将一天24小时划分为6个小时为一个时间段,第一时间段0:00-6:00、第二时间段6:00-12:00、第三时间段12:00-18:00、第四时间段18:00-24:00,如果预设时长为一周,则一周内有7个第一时间段,7个第二时间段,7个第三时间段,7个第四时间段。Specifically, 24 hours a day can be divided into multiple time periods. If the preset time length is one week, there are multiple time periods of each type in a week. For example: divide 24 hours a day into 6 hours as a time period, the first time period is 00:00-6:00, the second time period is 6:00-12:00, and the third time period is 12:00-18: 00. The fourth time period 18:00-24:00, if the preset time length is one week, there will be 7 first time periods, 7 second time periods, 7 third time periods, and 7 fourth time periods in a week. period.
当然不局限于此,如果预设时长为一个月,则一个月内有28或29或30或31个第一时间段,28或29或30或31个第二时间段,28或29或30或31个第三时间段,28或29或30或31个第四时间段。Of course, it is not limited to this. If the preset duration is one month, there are 28 or 29 or 30 or 31 first time periods, 28 or 29 or 30 or 31 second time periods, 28 or 29 or 30 in a month. Or 31 third time periods, 28 or 29 or 30 or 31 fourth time periods.
当然也可以将一天24小时划分为4个小时为一个时间段,得到6个时间段,具体划分规则可以根据实际情况确定。Of course, 24 hours a day can also be divided into 4 hours as a time period to obtain 6 time periods. The specific division rules can be determined according to actual conditions.
S300:根据移动信息确定每次移动的时间段及对应的终点位置。S300: Determine the time period of each movement and the corresponding end position according to the movement information.
具体地,移动信息包括了每次被唤醒的时刻或移动的起始时刻,还包括了每次移动的终点位置。根据每次被唤醒的时刻或移动的起始时刻可以确定每次在哪个时间段移动,从而确定每个时间段有多少次移动,以及每次移动对应的终点位置。Specifically, the movement information includes the time at which each movement is awakened or the start time of the movement, and also includes the end position of each movement. According to the time of each wake-up or the starting time of the movement, it is possible to determine which time period to move each time, thereby determining how many movements there are in each time period, and the end position corresponding to each movement.
终点位置是通过在可移动电子设备所在的场地选取一个原点以建立平面坐标系,在平面坐标系内将定位数据转换为平面坐标得到。The end position is obtained by selecting an origin on the site where the portable electronic device is located to establish a plane coordinate system, and converting the positioning data into plane coordinates in the plane coordinate system.
S400:对相同时间段的终点位置进行聚类分析,得到每个时间段可移动电子设备应该到达的待命位置。S400: Perform cluster analysis on the end positions of the same time period to obtain the standby position that the movable electronic device should reach in each time period.
具体地,相同时间段指预设时长内不同天但是同时间区间的时间段,例如:一周7天内的0:00-6:00这个时间区间有7个,他们属于相同时间段;6:00-12:00这个时间区间有7个,他们属于另一类 相同时间段。Specifically, the same time period refers to a time period of different days but the same time interval within a preset time period. For example, there are 7 time intervals between 00:00 and 6:00 within 7 days of a week, and they belong to the same time period; 6:00 There are 7 time intervals of -12:00, and they belong to another type of same time interval.
预设时长内有多种不同的时间段,每个时间段有多个不属于同一天的相同时间段。相同时间段内有对应的多个终点位置,对这些终点位置进行聚类分析,可以得到该时间段内可移动电子设备最应该到达的待命位置,从而使可移动电子设备在该时间段内自动移动至对应的待命位置,这个待命位置是根据历史终点位置预估的位置,这个预估的位置接近用户未来在这个时间段内预期要求可移动电子设备应该到达的终点位置。There are multiple different time periods within the preset time period, and each time period has multiple same time periods that do not belong to the same day. There are multiple corresponding end positions in the same time period. Cluster analysis of these end positions can obtain the standby position that the mobile electronic device should reach during the time period, so that the mobile electronic device can automatically Move to the corresponding standby position, the standby position is a position estimated based on the historical end position, and this estimated position is close to the end position that the user expects that the portable electronic device should reach within this time period in the future.
当然本公开可以通过上一个月内的移动信息预估下一个月每个时间段可移动电子设备应该到达的待命位置;也可以通过上一周内的移动信息预估下一周每个时间段可移动电子设备应该到达的待命位置。当然,还可以进一步细分,根据昨天的移动信息预估今天每个时间段可移动电子设备应该到达的待命位置,等等,不局限于此。Of course, the present disclosure can use the movement information in the previous month to estimate the standby position that the mobile electronic device should reach in each time period in the next month; it can also estimate the movement information in each time period in the next week through the movement information in the previous week. The standby position that the electronic device should reach. Of course, it can be further subdivided, based on yesterday's movement information to estimate the standby position that the mobile electronic device should reach in each time period today, etc., and so on, it is not limited to this.
在一个实施例中,步骤S400具体包括:In an embodiment, step S400 specifically includes:
对相同时间段的终点位置进行聚类分析得到聚集簇;Perform cluster analysis on the end positions of the same time period to obtain clusters;
若相同时间段只对应一个聚集簇,则将对应的聚集簇的中心位置作为对应时间段可移动电子设备应该到达的待命位置;If there is only one cluster in the same time period, the center position of the corresponding cluster is used as the standby position that the portable electronic device should reach in the corresponding time period;
若相同时间段对应至少两个聚集簇,则,If the same time period corresponds to at least two clusters, then,
获取每个聚集簇所包含的终点位置的数量,Get the number of end positions contained in each cluster,
获取每个聚集簇的中心位置,Get the center position of each cluster,
从至少两个聚集簇中选取一个目标点,使目标点到达每个中心位置的距离的比为包含的终点位置的数量的反比,将目标点作为对应时间段可移动电子设备应该到达的待命位置。Select a target point from at least two clusters, make the ratio of the distance from the target point to each center position is inversely proportional to the number of end positions included, and use the target point as the standby position that the portable electronic device should reach in the corresponding time period .
具体地,聚集簇是每个时间段对应的包含该时间段的部分终点位置的滑动窗口。滑动窗口可以是圆形。聚集簇的中心位置即为圆心位置。若一个时间段只有一个聚集簇,则该聚集簇的中心位置即圆心位置为这个时间段可移动电子设备应该到达的待命位置。Specifically, the cluster is a sliding window corresponding to each time period that contains part of the end positions of the time period. The sliding window can be circular. The center of the cluster is the center of the circle. If there is only one cluster in a time period, the center position of the cluster, that is, the center position of the circle, is the standby position that the movable electronic device should reach in this time period.
如果一个时间段有2个及以上的聚集簇,则待命位置到达这2个及以上的聚集簇的中心位置的距离之比为这2个及以上的聚集簇所包含的终点位置的数量的反比。即,待命位置离包含的终点位置越多的聚集簇的中心位置越短,离包含的终点位置越少的聚集簇的中心位置越长。这样保证了待命位置离用户未来预期的位置越近。If there are 2 or more clusters in a time period, the ratio of the distance from the standby position to the center position of the 2 or more clusters is the inverse ratio of the number of end positions contained in the 2 or more clusters . That is, the standby position is shorter from the center position of the cluster with more end positions included, and the center position of the cluster with fewer end positions included is longer. This ensures that the standby position is closer to the user's expected position in the future.
例如:某个时间段对应有3个聚集簇,他们所包含的终点位置的数量之比为4:2:1,则,选取的待命位置到达这3个聚集簇的中心位置的距离之比为1:2:4。For example: there are 3 clusters corresponding to a certain period of time, and the ratio of the number of end positions contained in them is 4:2:1, then the ratio of the distance from the selected standby position to the center position of these 3 clusters is 1:2:4.
当然待命位置是避开可移动电子设备所在的场地的障碍物所在的位置的。Of course, the standby position is a position where obstacles in the venue where the movable electronic device is located are avoided.
在一个实施例中,对相同时间段的终点位置进行聚类分析得到聚集簇,包括:In one embodiment, performing cluster analysis on the end positions of the same time period to obtain clusters includes:
对相同时间段的终点位置建立至少一个滑动窗口,使至少一个滑动窗口包含相同时间段的所有终点位置;滑动至少一个滑动窗口使每个滑动窗口所包含的终点位置的数量达到各自的最大值得到多个目标滑动窗口;对多个目标滑动窗口进行去重处理,将去重处理后保留的目标滑动窗口作为对应时间段的聚集簇。At least one sliding window is established for the end positions of the same time period, so that at least one sliding window includes all the end positions of the same time period; sliding at least one sliding window so that the number of end positions contained in each sliding window reaches its maximum value. Multiple target sliding windows; deduplication processing is performed on multiple target sliding windows, and the target sliding windows retained after the deduplication processing are used as clusters in the corresponding time period.
具体地,采用均值漂移聚类法得到聚集簇。每个滑动窗口可以是圆形,且为相同半径,每个滑动窗口迭代地向更高密度(包含的终点位置更多)区域移动,直至收敛。Specifically, the mean shift clustering method is used to obtain the clusters. Each sliding window can be circular and has the same radius, and each sliding window iteratively moves to a higher density (containing more end positions) area until convergence.
可以理解的是,在每次迭代中,获取每个滑动窗口的中心点到其自身包含的每个终点位置的距离;分别对每个滑动窗口对应的距离求平均值得到每个滑动窗口对应的距离均值;将每个滑动窗口的中心点作为圆点,对应的距离均值作为半径得到一个圆形滑动轨,使每个滑动窗口的中心点在对应的圆形滑动轨滑动,并获取在这360度范围内的圆形滑动轨上滑动时该滑动窗口所包含的终点位置最多的位置,将包含的终点位置最多的位置作为对应滑动窗口新的中心点坐标;获取 每个滑动窗口新的中心点坐标到其自身包含的每个终点位置的距离,以此类推,求取距离均值,得到新的圆形滑动轨,从而再次获取到每个滑动窗口新的中心点坐标,直至每个滑动窗口内包含的终点位置的数量达到各自的最大值,达到收敛。每个包含的终点位置的数量达到各自的最大值的滑动窗口为目标滑动窗口。It is understandable that in each iteration, the distance from the center point of each sliding window to each end position contained in it is obtained; the distance corresponding to each sliding window is averaged to obtain the corresponding distance of each sliding window. Mean distance; take the center point of each sliding window as a circle point, and the corresponding mean distance as a radius to get a circular sliding track, so that the center point of each sliding window slides on the corresponding circular sliding track, and get the 360 When sliding on the circular sliding rail within the range of degrees, the sliding window contains the most end positions, and the position containing the most end positions is used as the new center point coordinates of the corresponding sliding window; get the new center point of each sliding window The distance from the coordinates to each end position contained in itself, and so on, the average value of the distance is calculated, and a new circular sliding track is obtained, so that the new center point coordinates of each sliding window are obtained again, until each sliding window The number of included end positions reaches their respective maximums, and convergence is reached. Each sliding window in which the number of included end positions reaches the respective maximum value is the target sliding window.
通过滑动,每个时间段对应的多个目标滑动窗口中可能部分目标滑动窗口有交集,即,包含部分相同的终点位置。也可能部分目标滑动窗口完全重合,包含完全相同的终点位置。因此需要对有交集或重合的目标滑动窗口进行去重处理。去重处理后保留下来的目标滑动窗口即为对应时间段的聚集簇。Through sliding, some target sliding windows of the multiple target sliding windows corresponding to each time period may have an intersection, that is, they may include part of the same end position. It is also possible that part of the target sliding window completely overlaps and contains exactly the same end position. Therefore, the overlapping or overlapping target sliding windows need to be deduplicated. The target sliding window remaining after the deduplication process is the cluster of the corresponding time period.
本公开的位置可以均为坐标向量。The positions in the present disclosure may all be coordinate vectors.
在一个实施例中,对多个目标滑动窗口进行去重处理,将去重处理后保留的目标滑动窗口作为对应时间段的聚集簇,包括:In one embodiment, deduplication processing is performed on multiple target sliding windows, and the target sliding windows retained after the deduplication processing are used as clusters of corresponding time periods, including:
对多个目标滑动窗口中相互有交集的目标滑动窗口所包含的终点位置的数量进行对比,保留每个交集中所包含的终点位置的数量最多的目标滑动窗口作为对应时间段的聚集簇。The number of end positions contained in the target sliding windows that have intersections among multiple target sliding windows is compared, and the target sliding window with the largest number of end positions contained in each intersection is retained as the cluster of the corresponding time period.
具体地,保留有交集的目标滑动窗口中包含的终点位置的数量最多的目标滑动窗口作为聚集簇,跟其他任何目标滑动窗口都没有交集的目标滑动窗口也要保留作为聚集簇。Specifically, the target sliding window with the largest number of end positions contained in the target sliding window with the intersection is retained as the cluster, and the target sliding window that does not overlap with any other target sliding windows is also retained as the cluster.
当然,也可以取交集的部分作为聚集簇,从交集的部分中选择一个点作为该聚集簇的中心位置。Of course, the intersection can also be taken as the cluster, and a point from the intersection is selected as the center position of the cluster.
在一个实施例中,该方法还包括:In one embodiment, the method further includes:
实时获取当前时刻;实时获取可移动电子设备的当前位置;确定当前时刻所处的时间段,将当前时刻所处的时间段作为目标时间段;控制可移动电子设备由当前位置移动至目标时间段对应的待命位置。Get the current time in real time; get the current location of the movable electronic device in real time; determine the time period of the current moment, and use the time period of the current moment as the target time period; control the movable electronic device to move from the current position to the target time period The corresponding standby position.
具体地,本实施例是一个移动控制过程,在前面各个实施例获取到了每个时间段可移动电子设备应该到达的待命位置后,要根据获取 到的待命位置控制可移动电子设备在各个时间段自动移动到对应的待命位置。例如:获取到当前时刻为12:00,且位于第三时间段12:00-18:00,则,获取到第三时间段的待命位置,控制可移动电子设备由12:00时的当前位置移动到第三时间段的待命位置。可移动电子设备到达第三时间段的待命位置后,在12:00-18:00之间,由于待命位置不变,因此在此期间可移动电子设备一直位于第三时间段的待命位置。在18:00之后,位于第四时间段18:00-24:00,则控制可移动电子设备由18:00时的当前位置移动到第四时间段的待命位置。Specifically, this embodiment is a movement control process. After each of the previous embodiments obtains the standby position that the mobile electronic device should reach in each time period, the mobile electronic device should be controlled in each time period according to the obtained standby position. Automatically move to the corresponding standby position. For example: it is acquired that the current time is 12:00 and it is in the third time period from 12:00 to 18:00, then the standby position of the third time period is obtained, and the current position of the movable electronic device is controlled from 12:00 Move to the standby position for the third time period. After the movable electronic device reaches the standby position in the third time period, between 12:00 and 18:00, since the standby position remains unchanged, the movable electronic device is always in the standby position in the third time period during this period. After 18:00, in the fourth time period from 18:00 to 24:00, the movable electronic device is controlled to move from the current position at 18:00 to the standby position in the fourth time period.
控制可移动电子设备移动可以通过语音控制也可以采用其他控制方法。Controlling the movement of a portable electronic device can be controlled by voice or other control methods.
在一个实施例中,在控制可移动电子设备由当前位置移动至目标时间段对应的待命位置之前,该方法还包括:In an embodiment, before controlling the movable electronic device to move from the current position to the standby position corresponding to the target time period, the method further includes:
获取当前时刻实际场地内障碍物的当前位置;Get the current position of the obstacle in the actual field at the current moment;
控制可移动电子设备由当前位置移动至目标时间段对应的待命位置,包括:Controlling the movable electronic device to move from the current position to the standby position corresponding to the target time period includes:
控制可移动电子设备避开障碍物的当前位置由当前位置移动至目标时间段对应的待命位置。Control the current position of the movable electronic device to avoid the obstacle to move from the current position to the standby position corresponding to the target time period.
具体地,在控制可移动电子设备由当前位置移动至待命位置前,需要判断场地内哪些位置是障碍物,从而控制可移动电子设备避开这些障碍物顺利到达待命位置。Specifically, before controlling the movable electronic device to move from the current position to the standby position, it is necessary to determine which positions in the venue are obstacles, so as to control the movable electronic device to avoid these obstacles and reach the standby position smoothly.
当然,该方法也可以包括:根据可移动电子设备的当前位置、待命位置、障碍物的当前位置为可移动电子设备规划最优最近的移动路线,从而使可移动电子设备根据规划的移动路线由当前位置移动至目标时间段对应的待命位置。Of course, the method may also include: planning an optimal and nearest movement route for the portable electronic device according to the current position, standby position, and current position of the obstacle, so that the portable electronic device is routed according to the planned movement route. The current position moves to the standby position corresponding to the target time period.
在一个实施例中,还提供了一种移动控制方法,该方法包括:In an embodiment, a mobility control method is also provided, which includes:
获取每个时间段可移动电子设备应该到达的待命位置;实时获取 当前时刻;实时获取可移动电子设备的当前位置;确定当前时刻所处的时间段,将当前时刻所处的时间段作为目标时间段;控制可移动电子设备由当前位置移动至目标时间段对应的待命位置。Obtain the standby position that the mobile electronic device should reach in each time period; obtain the current time in real time; obtain the current position of the mobile electronic device in real time; determine the time period in which the current time is located, and use the time period in which the current time is in as the target time Segment: Control the movable electronic device to move from the current position to the standby position corresponding to the target time period.
应该理解的是,虽然图1的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图1中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flowchart of FIG. 1 are displayed in sequence as indicated by the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless specifically stated in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in FIG. 1 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution of these sub-steps or stages The sequence is not necessarily performed sequentially, but may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.
图2为一个实施例提供的一种待命位置规划装置的结构框图。参考图2,该装置包括:Fig. 2 is a structural block diagram of a standby position planning device provided by an embodiment. Referring to Figure 2, the device includes:
移动信息获取模块100,被设置为获取可移动电子设备在预设时长内每次移动的移动信息;The mobile information acquiring module 100 is configured to acquire the mobile information of each movement of the portable electronic device within a preset time period;
划分模块200,被设置为对预设时长进行时间段划分得到多个时间段;The dividing module 200 is configured to divide the preset time period into time periods to obtain multiple time periods;
第一匹配模块300,被设置为根据移动信息确定每次移动的时间段及对应的终点位置;The first matching module 300 is configured to determine the time period of each movement and the corresponding end position according to the movement information;
分析模块400,被设置为对相同时间段的终点位置进行聚类分析得到每个时间段可移动电子设备应该到达的待命位置。The analysis module 400 is configured to perform cluster analysis on the end positions of the same time period to obtain the standby position that the movable electronic device should reach in each time period.
在一个实施例中,分析模块400具体包括:In an embodiment, the analysis module 400 specifically includes:
聚类分析模块,被设置为对相同时间段的终点位置进行聚类分析得到聚集簇;The cluster analysis module is set to perform cluster analysis on the end positions of the same time period to obtain clusters;
中心位置获取模块,被设置为若相同时间段只对应一个聚集簇,则将对应的聚集簇的中心位置作为对应时间段可移动电子设备应该到 达的待命位置;The central location acquisition module is set to use the central location of the corresponding cluster as the standby position that the mobile electronic device should reach in the corresponding time period if there is only one cluster in the same time period;
计数模块,被设置为若相同时间段对应至少两个聚集簇,则,获取每个聚集簇所包含的终点位置的数量,The counting module is set to obtain the number of end positions contained in each cluster if the same time period corresponds to at least two clusters,
中心位置获取模块,还被设置为获取每个聚集簇的中心位置,The central position acquisition module is also set to acquire the central position of each cluster,
距离计算模块,被设置为从至少两个聚集簇中选取一个目标点,使目标点到达每个中心位置的距离的比为包含的终点位置的数量的反比,将目标点作为对应时间段可移动电子设备应该到达的待命位置。The distance calculation module is set to select a target point from at least two clusters, so that the ratio of the distance from the target point to each center position is inversely proportional to the number of end positions included, and the target point is movable in the corresponding time period The standby position that the electronic device should reach.
在一个实施例中,聚类分析模块具体包括:In an embodiment, the cluster analysis module specifically includes:
窗口建立模块,被设置为对相同时间段的终点位置建立至少一个滑动窗口,使至少一个滑动窗口包含相同时间段的所有终点位置;The window establishment module is set to establish at least one sliding window for the end positions of the same time period, so that the at least one sliding window includes all the end positions of the same time period;
滑动模块,被设置为滑动至少一个滑动窗口使每个滑动窗口所包含的终点位置的数量达到各自的最大值得到多个目标滑动窗口;The sliding module is set to slide at least one sliding window so that the number of end positions contained in each sliding window reaches its maximum value to obtain multiple target sliding windows;
去重模块,被设置为对多个目标滑动窗口进行去重处理,将去重处理后保留的目标滑动窗口作为对应时间段的聚集簇。The deduplication module is set to perform deduplication processing on multiple target sliding windows, and the target sliding windows retained after the deduplication processing are used as clusters in the corresponding time period.
在一个实施例中,去重模块具体被设置为:对多个目标滑动窗口中相互有交集的目标滑动窗口所包含的终点位置的数量进行对比,保留每个交集中所包含的终点位置的数量最多的目标滑动窗口作为对应时间段的聚集簇。In one embodiment, the deduplication module is specifically configured to compare the number of end positions contained in the target sliding windows that overlap each other among multiple target sliding windows, and retain the number of end positions contained in each intersection. The most target sliding window is used as the cluster in the corresponding time period.
在一个实施例中,该装置还包括:In an embodiment, the device further includes:
时钟模块,被设置为实时获取当前时刻;The clock module is set to obtain the current time in real time;
定位模块,被设置为实时获取可移动电子设备的当前位置;The positioning module is set to obtain the current position of the movable electronic device in real time;
第二匹配模块,被设置为确定当前时刻所处的时间段,将当前时刻所处的时间段作为目标时间段;The second matching module is set to determine the time period of the current moment, and use the time period of the current moment as the target time period;
移动控制模块,被设置为控制可移动电子设备由当前位置移动至目标时间段对应的待命位置。The movement control module is configured to control the movable electronic device to move from the current position to the standby position corresponding to the target time period.
在一个实施例中,该装置还包括:In an embodiment, the device further includes:
障碍物定位模块,被设置为获取当前时刻实际场地内障碍物的当前位置。The obstacle positioning module is set to obtain the current position of the obstacle in the actual field at the current moment.
在一个实施例中,移动控制模块具体被设置为:控制可移动电子设备避开障碍物的当前位置由自身的当前位置移动至目标时间段对应的待命位置。In one embodiment, the movement control module is specifically configured to control the current position of the movable electronic device to avoid obstacles from its current position to the standby position corresponding to the target time period.
图3为一个实施例提供的一种计算机设备的内部结构图。参考图3,该计算机设备可以安装于可移动电子设备中,该计算机设备通过系统总线连接的处理器、存储器、网络接口、输入装置、语音装置和显示屏。其中,存储器包括非易失性存储介质和内存储器。该计算机设备的非易失性存储介质存储有操作系统,还可存储有计算机程序,该计算机程序被处理器执行时,可使得处理器实现待命位置规划方法。该内存储器中也可储存有计算机程序,该计算机程序被处理器执行时,可使得处理器执行待命位置规划方法。计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等,计算机设备的语音装置被设置为接收用户指令,根据用户指令控制可移动电子设备移动或者执行其他操作。Fig. 3 is an internal structure diagram of a computer device provided by an embodiment. Referring to FIG. 3, the computer device can be installed in a portable electronic device, and the computer device is connected to a processor, a memory, a network interface, an input device, a voice device, and a display screen through a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement the standby position planning method. A computer program may also be stored in the internal memory, and when the computer program is executed by the processor, the processor may execute the standby position planning method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen. It can be an external keyboard, touchpad, or mouse. The voice device of the computer device is set to receive user instructions, and control the movable electronic device to move or perform other operations according to the user instructions.
本领域技术人员可以理解,图3示出的结构,仅仅是与本公开方案相关的部分结构的框图,并不构成对本公开方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 3 is only a block diagram of a part of the structure related to the solution of the present disclosure, and does not constitute a limitation on the computer device to which the solution of the present disclosure is applied. The specific computer device may include More or fewer parts than shown in the figure, or some parts are combined, or have a different arrangement of parts.
在一个实施例中,本公开提供的待命位置规划装置可以实现为一种计算机程序的形式,计算机程序可在如图3所示的计算机设备上运行。计算机设备的存储器中可存储组成该待命位置规划装置的各个程序模块,比如,图2所示的移动信息获取模块100、划分模块200、第一匹配模块300、分析模块400。各个程序模块构成的计算机程序使得处理器执行本说明书中描述的本公开各个实施例的待命位置规划方法 中的步骤。In an embodiment, the standby position planning apparatus provided in the present disclosure may be implemented in the form of a computer program, and the computer program may run on the computer device as shown in FIG. 3. The memory of the computer device can store various program modules that make up the standby location planning apparatus, for example, the mobile information acquisition module 100, the division module 200, the first matching module 300, and the analysis module 400 shown in FIG. 2. The computer program composed of each program module causes the processor to execute the steps in the standby position planning method of each embodiment of the present disclosure described in this specification.
例如,图3所示的计算机设备可以通过如图2所示的待命位置规划装置中的移动信息获取模块100执行获取可移动电子设备在预设时长内每次移动的移动信息。计算机设备可以通过划分模块200执行对预设时长进行时间段划分得到多个时间段。计算机设备可以通过第一匹配模块300执行根据移动信息确定每次移动的时间段及对应的终点位置。计算机设备可以通过分析模块400执行对相同时间段的终点位置进行聚类分析得到每个时间段可移动电子设备应该到达的待命位置。For example, the computer device shown in FIG. 3 may obtain the movement information of each movement of the movable electronic device within a preset time period through the movement information acquiring module 100 in the standby position planning apparatus shown in FIG. 2. The computer device may divide the preset time period by the division module 200 to obtain multiple time periods. The computer device can determine the time period of each movement and the corresponding end position according to the movement information through the first matching module 300. The computer device can perform cluster analysis on the end positions of the same time period through the analysis module 400 to obtain the standby position that the movable electronic device should reach in each time period.
在一个实施例中,计算机设备可以通过时钟模块执行实时获取当前时刻。计算机设备可以通过定位模块执行实时获取可移动电子设备的当前位置。计算机设备可以通过第二匹配模块执行确定当前时刻所处的时间段,将当前时刻所处的时间段作为目标时间段。计算机设备可以通过移动控制模块执行控制可移动电子设备由当前位置移动至目标时间段对应的待命位置。In one embodiment, the computer device can acquire the current time in real time through a clock module. The computer device can acquire the current position of the movable electronic device in real time through the positioning module. The computer device can determine the time period at the current moment by executing the second matching module, and use the time period at the current moment as the target time period. The computer device can control the movable electronic device to move from the current position to the standby position corresponding to the target time period through the movement control module.
在一个实施例中,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现以下步骤:获取可移动电子设备在预设时长内每次移动的移动信息;对预设时长进行时间段划分得到多个时间段;根据移动信息确定每次移动的时间段及对应的终点位置;对相同时间段的终点位置进行聚类分析,得到每个时间段可移动电子设备应该到达的待命位置。In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor. When the processor executes the computer program, the following steps are implemented: The movement information of each movement within the preset time period; the preset time period is divided into time periods to obtain multiple time periods; the time period of each movement and the corresponding end position are determined according to the movement information; the end positions of the same time period are gathered Class analysis to obtain the standby position that the mobile electronic device should reach in each time period.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:实时获取当前时刻;实时获取可移动电子设备的当前位置;确定当前时刻所处的时间段,将当前时刻所处的时间段作为目标时间段;控制可移动电子设备由当前位置移动至目标时间段对应的待命位置。In one embodiment, the processor further implements the following steps when executing the computer program: acquiring the current time in real time; acquiring the current position of the movable electronic device in real time; determining the time period of the current time, and taking the time period of the current time as Target time period; control the movable electronic device to move from the current position to the standby position corresponding to the target time period.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:获取可移动电子设备在预设时长内每次移动的移动信息;对预设时长进行时间段划分得到多个时间段;根据移动信息确定每次移动的时间段及对应的终点位置;对相同时间段的终点位置进行聚类分析,得到每个时间段可移动电子设备应该到达的待命位置。In one embodiment, a computer-readable storage medium is provided, and a computer program is stored thereon. When the computer program is executed by a processor, the following steps are implemented: Obtain the movement information of each movement of the portable electronic device within a preset period of time ; Divide the preset time period into multiple time periods; determine the time period of each movement and the corresponding end position according to the movement information; perform cluster analysis on the end position of the same time period, and obtain that each time period can be moved The standby position that the electronic device should reach.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:实时获取当前时刻;实时获取可移动电子设备的当前位置;确定当前时刻所处的时间段,将当前时刻所处的时间段作为目标时间段;控制可移动电子设备由当前位置移动至目标时间段对应的待命位置。In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: real-time acquisition of the current time; real-time acquisition of the current position of the movable electronic device; As the target time period; controlling the movable electronic device to move from the current position to the standby position corresponding to the target time period.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,本公开所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through a computer program. The program can be stored in a non-volatile computer readable storage medium. Here, when the program is executed, it may include the procedures of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other media used in the various embodiments provided in the present disclosure may include non-volatile and/or volatile memory. Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not a limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these There is any such actual relationship or sequence between entities or operations. Moreover, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes those that are not explicitly listed Other elements of, or also include elements inherent to this process, method, article or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or equipment that includes the element.
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所示的这些实施例,而是要符合与本文所申请的原理和新颖特点相一致的最宽的范围。The above are only specific implementations of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments shown in this document, but should conform to the widest scope consistent with the principles and novel features applied for in this document.

Claims (10)

  1. 一种待命位置规划方法,应用于可移动电子设备,所述方法包括:A method for planning a standby position, which is applied to a portable electronic device, and the method includes:
    获取可移动电子设备在预设时长内每次移动的移动信息;Obtain the movement information of each movement of the portable electronic device within a preset period of time;
    对所述预设时长进行时间段划分得到多个时间段;Dividing the preset time period into time periods to obtain multiple time periods;
    根据所述移动信息确定每次移动的时间段及对应的终点位置;Determine the time period of each movement and the corresponding end position according to the movement information;
    对相同时间段的终点位置进行聚类分析,得到每个时间段可移动电子设备应该到达的待命位置。Perform cluster analysis on the end positions of the same time period to obtain the standby position that the mobile electronic device should reach in each time period.
  2. 根据权利要求1所述的方法,其中,所述对相同时间段的终点位置进行聚类分析,得到每个时间段可移动电子设备应该到达的待命位置,包括:The method according to claim 1, wherein the performing cluster analysis on the end positions of the same time period to obtain the standby position that the movable electronic device should reach in each time period comprises:
    对相同时间段的终点位置进行聚类分析得到聚集簇;Perform cluster analysis on the end positions of the same time period to obtain clusters;
    若相同时间段只对应一个聚集簇,则将对应的聚集簇的中心位置作为对应时间段可移动电子设备应该到达的待命位置;If there is only one cluster in the same time period, the center position of the corresponding cluster is used as the standby position that the portable electronic device should reach in the corresponding time period;
    若相同时间段对应至少两个聚集簇,则,If the same time period corresponds to at least two clusters, then,
    获取每个聚集簇所包含的终点位置的数量,Get the number of end positions contained in each cluster,
    获取每个聚集簇的中心位置,Get the center position of each cluster,
    从所述至少两个聚集簇中选取一个目标点,使所述目标点到达每个所述中心位置的距离的比为包含的终点位置的数量的反比,将所述目标点作为对应时间段可移动电子设备应该到达的待命位置。A target point is selected from the at least two clusters, so that the ratio of the distance from the target point to each of the center positions is inversely proportional to the number of end positions included, and the target point can be regarded as the corresponding time period. The standby position that the mobile electronic device should reach.
  3. 根据权利要求2所述的方法,其中,所述对相同时间段的终点位置进行聚类分析得到聚集簇,包括:The method according to claim 2, wherein said performing cluster analysis on the end positions of the same time period to obtain clusters comprises:
    对相同时间段的终点位置建立至少一个滑动窗口,使所述至少一 个滑动窗口包含所述相同时间段的所有终点位置;At least one sliding window is established for the end positions of the same time period, so that the at least one sliding window includes all the end positions of the same time period;
    滑动所述至少一个滑动窗口使每个滑动窗口所包含的终点位置的数量达到各自的最大值得到多个目标滑动窗口;Sliding the at least one sliding window so that the number of end positions included in each sliding window reaches a respective maximum value to obtain multiple target sliding windows;
    对所述多个目标滑动窗口进行去重处理,将去重处理后保留的目标滑动窗口作为对应时间段的聚集簇。De-duplication processing is performed on the multiple target sliding windows, and the target sliding windows retained after the de-duplication processing are used as clusters of corresponding time periods.
  4. 根据权利要求3所述的方法,其中,所述对所述多个目标滑动窗口进行去重处理,将去重处理后保留的目标滑动窗口作为对应时间段的聚集簇,包括:The method according to claim 3, wherein the de-duplication processing on the multiple target sliding windows, and using the target sliding windows retained after the de-duplication processing as the clusters of the corresponding time period, comprises:
    对所述多个目标滑动窗口中相互有交集的目标滑动窗口所包含的终点位置的数量进行对比,保留每个交集中所包含的终点位置的数量最多的目标滑动窗口作为对应时间段的聚集簇。The number of end positions contained in the target sliding windows that overlap each other among the multiple target sliding windows is compared, and the target sliding window with the largest number of end positions contained in each intersection is retained as the cluster of the corresponding time period. .
  5. 根据权利要求1-4任一项所述的方法,其中,在所述对相同时间段的终点位置进行聚类分析,得到每个时间段可移动电子设备应该到达的待命位置之后,所述方法还包括:The method according to any one of claims 1 to 4, wherein after the cluster analysis is performed on the end positions of the same time period to obtain the standby position that the movable electronic device should reach in each time period, the method Also includes:
    实时获取当前时刻;Get the current time in real time;
    实时获取可移动电子设备的当前位置;Obtain the current position of the movable electronic device in real time;
    确定所述当前时刻所处的时间段,将当前时刻所处的时间段作为目标时间段;Determine the time period in which the current moment is located, and use the time period in the current moment as the target time period;
    控制所述可移动电子设备由所述当前位置移动至所述目标时间段对应的待命位置。Controlling the movable electronic device to move from the current position to a standby position corresponding to the target time period.
  6. 根据权利要求5所述的方法,其中,在所述控制所述可移动电子设备由所述当前位置移动至所述目标时间段对应的待命位置之前,所述方法还包括:The method according to claim 5, wherein before the controlling the movable electronic device to move from the current position to the standby position corresponding to the target time period, the method further comprises:
    获取当前时刻实际场地内障碍物的当前位置;Get the current position of the obstacle in the actual field at the current moment;
    所述控制所述可移动电子设备由所述当前位置移动至所述目标时间段对应的待命位置,包括:The controlling the movable electronic device to move from the current position to the standby position corresponding to the target time period includes:
    控制所述可移动电子设备避开所述障碍物的当前位置由自身的所述当前位置移动至所述目标时间段对应的待命位置。Controlling the current position of the movable electronic device to avoid the obstacle from its current position to a standby position corresponding to the target time period.
  7. 一种待命位置规划装置,应用于可移动电子设备,所述装置包括:A standby position planning device, applied to a portable electronic device, the device comprising:
    移动信息获取模块,被设置为获取所述可移动电子设备在预设时长内每次移动的移动信息;The mobile information acquiring module is configured to acquire the mobile information of each movement of the movable electronic device within a preset time period;
    划分模块,被设置为对所述预设时长进行时间段划分得到多个时间段;The dividing module is set to divide the preset time period into time periods to obtain multiple time periods;
    第一匹配模块,被设置为根据所述移动信息确定每次移动的时间段及对应的终点位置;The first matching module is configured to determine the time period of each movement and the corresponding end position according to the movement information;
    分析模块,被设置为对相同时间段的终点位置进行聚类分析得到每个时间段可移动电子设备应该到达的待命位置。The analysis module is set to perform cluster analysis on the end positions of the same time period to obtain the standby position that the movable electronic device should reach in each time period.
  8. 根据权利要求7所述的装置,其中,所述装置还包括:The device according to claim 7, wherein the device further comprises:
    时钟模块,被设置为实时获取当前时刻;The clock module is set to obtain the current time in real time;
    定位模块,被设置为实时获取可移动电子设备的当前位置;The positioning module is set to obtain the current position of the movable electronic device in real time;
    第二匹配模块,被设置为确定所述当前时刻所处的时间段,将当前时刻所处的时间段作为目标时间段;The second matching module is configured to determine the time period of the current moment, and use the time period of the current moment as the target time period;
    移动控制模块,被设置为控制所述可移动电子设备由所述当前位置移动至所述目标时间段对应的待命位置。The movement control module is configured to control the movable electronic device to move from the current position to the standby position corresponding to the target time period.
  9. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时,使得所述处理器执行如权利要求1-6任一项所述的方法的步骤。A computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the processor executes the method according to any one of claims 1 to 6 A step of.
  10. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时执行如权利要求1-6任一项所述的方法的步骤。A computer device, comprising a memory, a processor, and a computer program stored on the memory and running on the processor. The processor executes the method according to any one of claims 1 to 6 when the processor executes the program. step.
PCT/CN2020/139857 2020-04-07 2020-12-28 Standby position planning method and apparatus, and storage medium and computer device WO2021203745A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010266042.5 2020-04-07
CN202010266042.5A CN111459162B (en) 2020-04-07 2020-04-07 Standby position planning method and device, storage medium and computer equipment

Publications (1)

Publication Number Publication Date
WO2021203745A1 true WO2021203745A1 (en) 2021-10-14

Family

ID=71683579

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/139857 WO2021203745A1 (en) 2020-04-07 2020-12-28 Standby position planning method and apparatus, and storage medium and computer device

Country Status (2)

Country Link
CN (1) CN111459162B (en)
WO (1) WO2021203745A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111459162B (en) * 2020-04-07 2021-11-16 珠海格力电器股份有限公司 Standby position planning method and device, storage medium and computer equipment
CN112749056A (en) * 2020-12-30 2021-05-04 广州品唯软件有限公司 Application service index monitoring method and device, computer equipment and storage medium
CN113433857A (en) * 2021-06-24 2021-09-24 南京水年数字科技有限公司 Sliding rail screen stroke control system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004091206A (en) * 2002-09-02 2004-03-25 Keiko Tsukasaki Trash box with built-in frame
CN108459575A (en) * 2018-04-09 2018-08-28 绥化学院 Wisdom home control system
CN108826595A (en) * 2018-04-26 2018-11-16 上海康斐信息技术有限公司 A kind of control method and system of air purifier
CN109189876A (en) * 2018-08-31 2019-01-11 深圳市元征科技股份有限公司 A kind of data processing method and device
CN110490047A (en) * 2019-07-01 2019-11-22 珠海格力电器股份有限公司 A kind of appliances equipment control method, household appliance and computer-readable medium
US20200031239A1 (en) * 2018-07-26 2020-01-30 Hyundai Motor Company Mobile charging system and operation method thereof
CN110765371A (en) * 2019-09-25 2020-02-07 恒大智慧科技有限公司 Position selection method and system of movable garbage can and storage medium
CN111459162A (en) * 2020-04-07 2020-07-28 珠海格力电器股份有限公司 Standby position planning method and device, storage medium and computer equipment

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595591B (en) * 2011-01-06 2015-04-22 中国移动通信集团公司 Method and device for determining position range of mobile terminal
CN102917385B (en) * 2012-10-26 2014-11-12 西安电子科技大学 Mobile perception clustering method based on statistical mobile scale
CN103874015B (en) * 2012-12-18 2018-12-14 北京百度网讯科技有限公司 A kind of method and apparatus of the identification position Wi-Fi resettlement
EP2757753B1 (en) * 2013-01-21 2019-08-21 Mitsubishi Electric R&D Centre Europe B.V. Data transmission and reception using a hierarchical modulation scheme with clustered constellation points
CN103713640B (en) * 2013-12-31 2016-03-02 北京理工大学 A kind of mobile radio sensor network node motor behavior control method
CN104062972B (en) * 2014-06-20 2017-11-10 惠州Tcl移动通信有限公司 A kind of removable housed device and people's relative position adjustment control method and its system
CN104076819B (en) * 2014-07-08 2016-09-21 清华大学 The boundary control method of satellite bounded accompanying flying under a kind of round reference orbit
CN104463912A (en) * 2014-12-16 2015-03-25 武汉大学 Multi-scale target tracking method based on cluster similarity
CN104737721B (en) * 2015-03-04 2016-08-31 江苏大学 A kind of combined harvester self adaptation cleans control device and self adaptation cleans method
CN107092611B (en) * 2016-08-03 2021-06-01 阿里巴巴集团控股有限公司 Method and equipment for determining position information and pushing information
CN107766808B (en) * 2017-09-30 2021-06-29 北京泓达九通科技发展有限公司 Method and system for clustering moving tracks of vehicle objects in road network space
CN107959919B (en) * 2017-12-07 2019-03-19 北京三快在线科技有限公司 The localization method of mobile terminal, calculates equipment and storage medium at device
CN108399200B (en) * 2018-01-30 2020-08-07 武汉大学 Construction method of time-space buffer zone of road network constrained track
CN208168070U (en) * 2018-04-27 2018-11-30 江苏欧美钢结构幕墙科技有限公司 A kind of glass curtain wall automatic assembling pallet
WO2020050494A1 (en) * 2018-09-06 2020-03-12 Lg Electronics Inc. A robot cleaner and a controlling method for the same
CN109164810B (en) * 2018-09-28 2021-08-10 昆明理工大学 Robot self-adaptive dynamic path planning method based on ant colony-clustering algorithm
CN109992726A (en) * 2018-10-17 2019-07-09 招商银行股份有限公司 Position predicting method, device and readable storage medium storing program for executing
CN110516902B (en) * 2019-07-11 2023-08-22 平安科技(深圳)有限公司 Intelligent scheduling method, intelligent scheduling device, computer system and readable storage medium
CN110730218A (en) * 2019-09-25 2020-01-24 恒大智慧科技有限公司 Intelligent garbage putting method and system and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004091206A (en) * 2002-09-02 2004-03-25 Keiko Tsukasaki Trash box with built-in frame
CN108459575A (en) * 2018-04-09 2018-08-28 绥化学院 Wisdom home control system
CN108826595A (en) * 2018-04-26 2018-11-16 上海康斐信息技术有限公司 A kind of control method and system of air purifier
US20200031239A1 (en) * 2018-07-26 2020-01-30 Hyundai Motor Company Mobile charging system and operation method thereof
CN109189876A (en) * 2018-08-31 2019-01-11 深圳市元征科技股份有限公司 A kind of data processing method and device
CN110490047A (en) * 2019-07-01 2019-11-22 珠海格力电器股份有限公司 A kind of appliances equipment control method, household appliance and computer-readable medium
CN110765371A (en) * 2019-09-25 2020-02-07 恒大智慧科技有限公司 Position selection method and system of movable garbage can and storage medium
CN111459162A (en) * 2020-04-07 2020-07-28 珠海格力电器股份有限公司 Standby position planning method and device, storage medium and computer equipment

Also Published As

Publication number Publication date
CN111459162B (en) 2021-11-16
CN111459162A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
WO2021203745A1 (en) Standby position planning method and apparatus, and storage medium and computer device
US11131996B2 (en) Area partitioning method, partition cleaning method and robot thereof
US9836557B2 (en) Real-time spatial daylighting analysis for a 3D geometric structure
US20200059539A1 (en) Cloud-native reservoir simulation
US10572848B2 (en) System and method for intelligent project schedule forecasting
Defraeye et al. Controlling excessive waiting times in small service systems with time-varying demand: an extension of the ISA algorithm
Hummel et al. Improving simulation-based algorithms for fitting ERGMs
US20150234944A1 (en) Systems and methods for displaying impact analysis data while designing an architectural structure
US11468073B2 (en) Techniques for maintaining statistics in a database system
Heitjan et al. Real-time prediction of clinical trial enrollment and event counts: a review
EP3005136B1 (en) Systems and methods for feedback while designing an architectural structure
Su et al. A fast genetic algorithm for solving architectural design optimization problems
US20220358259A1 (en) Construction Knowledge Graph
Lucko et al. Construction spatial modeling and scheduling with three-dimensional singularity functions
US9477708B2 (en) System for multi-store analytics execution environments with storage constraints
Bamdad Masouleh Building energy optimisation using machine learning and metaheuristic algorithms
Ma et al. Decomposition of temporal changes in construction labour productivity
US20140026093A1 (en) Editing Information with Slider Edit Tools
Cho et al. Space zoning concept-based scheduling model for repetitive construction process
Zhang et al. Heuristic scheduling of resource‐constrained, multiple‐mode and repetitive projects
WO2023071101A1 (en) Io task processing method and apparatus, and computer device and storage medium
US20170068916A1 (en) System and method for providing a tradeoff between time and quality for a task
Lee et al. EPPY based building co-simulation for model predictive control of HVAC optimization
US20220374802A1 (en) Automated analysis of objects for construction planning
US10095999B2 (en) Managing multiple tasks of a project plan via a task management tool

Legal Events

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

Ref document number: 20930462

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20930462

Country of ref document: EP

Kind code of ref document: A1