WO2020019508A1 - 一种设备控制方法、终端及计算机可读存储介质 - Google Patents

一种设备控制方法、终端及计算机可读存储介质 Download PDF

Info

Publication number
WO2020019508A1
WO2020019508A1 PCT/CN2018/108666 CN2018108666W WO2020019508A1 WO 2020019508 A1 WO2020019508 A1 WO 2020019508A1 CN 2018108666 W CN2018108666 W CN 2018108666W WO 2020019508 A1 WO2020019508 A1 WO 2020019508A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
working mode
preset
target object
area
Prior art date
Application number
PCT/CN2018/108666
Other languages
English (en)
French (fr)
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 WO2020019508A1 publication Critical patent/WO2020019508A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J19/00Accessories fitted to manipulators, e.g. for monitoring, for viewing; Safety devices combined with or specially adapted for use in connection with manipulators
    • B25J19/02Sensing devices
    • B25J19/021Optical sensing devices
    • B25J19/023Optical sensing devices including video camera means

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a control method, device, and computer-readable storage medium.
  • the service industry includes chess and card rooms, massage shops, sweat rooms, KTV, beauty Home, etc.
  • KTV as an example to explain.
  • the switch setting of the lighting and air conditioning requires more service personnel deployed in the store to adjust and maintain one by one, which causes unnecessary waste of labor costs.
  • the idle of power-consuming equipment during the transfer of boxes and hands often results in waste of energy and equipment life. Therefore, how to realize the intelligent and automatic management of indoor application equipment has become a research hotspot.
  • the embodiments of the present application provide a device control method, a terminal, and a computer-readable storage medium, which realize the intelligent and automatic control of application devices, improve the control efficiency of application devices, and reduce energy waste and equipment loss.
  • an embodiment of the present application provides a method for controlling a device, which is applied to a robot.
  • the robot includes a rotating part, and the rotating part is provided with a camera device.
  • the method includes:
  • an embodiment of the present application provides a control terminal, and the control terminal includes a unit for executing the method in the first aspect.
  • an embodiment of the present application provides another control terminal, including a processor, an input device, an output device, and a memory, and the processor, the input device, the output device, and the memory are connected to each other, where the memory is used for A computer program supporting the control terminal to execute the above method is stored, the computer program includes program instructions, and the processor is configured to call the program instructions to execute the method of the first aspect.
  • an embodiment of the present application provides a computer-readable storage medium.
  • the computer storage medium stores a computer program, where the computer program includes program instructions, and the program instructions cause the processing when executed by a processor.
  • the processor performs the method of the first aspect.
  • the first application device and / or the second application device are adjusted by detecting whether the first target object and / or the second target object exist in the preset area, thereby realizing the intelligence and automation of the application device Control improves the control efficiency of application equipment.
  • FIG. 1 is a schematic flowchart of a device control method according to an embodiment of the present application
  • FIG. 2a is a schematic structural diagram of a robot according to an embodiment of the present application.
  • 2b is a schematic diagram of a spatial layout of a preset area provided by an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of another device control method according to an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of another device control method according to an embodiment of the present application.
  • FIG. 5 is a schematic block diagram of a control terminal according to an embodiment of the present application.
  • FIG. 6 is a schematic block diagram of another control terminal according to an embodiment of the present application.
  • the device control method provided in the embodiments of the present application may be executed by a control terminal.
  • a communication connection may be established between the control terminal and the robot for two-way communication.
  • the control terminal may be installed on the robot, in some embodiments, the control terminal may be spatially independent of the robot, and in some embodiments, the control The terminal may be a component of the robot, ie the robot includes a control terminal.
  • the robot may include a mobile robot such as an unmanned car, a drone, or an unmanned ship.
  • the robot may include a base, a rotating part, and the rotating part may be a part of the robot such as a head, a torso, an arm, or the like, and an imaging device may be provided on the rotating part.
  • a touch screen may be provided on the torso of the robot.
  • a robot is used as an example to schematically describe the device control method provided in the embodiment of the present application.
  • the control terminal may control the rotating component of the robot to rotate according to a rotation path determined by a preset control rule. During the rotation of the rotating component, the control terminal may obtain a camera device provided on the rotating component. If the first image acquired is detected that the first target object exists in the first image, the first application device of the preset area may be started, and the target area within the preset area may be further detected. Whether a second target object exists in. If it is detected that the second target object exists in the target area, the control terminal may adjust the working mode of the second application device in the preset area according to the characteristic information of the second target object.
  • the device control method proposed in the embodiment of the present application is described below with reference to the accompanying drawings.
  • FIG. 1 is a schematic flowchart of a device control method according to an embodiment of the present application. As shown in FIG. 1, the method may be executed by a control terminal. The specific explanation of the control terminal is as described above. I won't repeat them here. Specifically, the method in the embodiment of the present application includes the following steps.
  • S101 Acquire a first image in a preset area collected by a camera device.
  • control terminal may acquire a first image in a preset area collected by the camera device during the rotation of the rotating component.
  • the rotating member can be rotated periodically.
  • the rotating component may be any one of a robot's head, torso, and arm, or the entire robot, which is not specifically limited in this embodiment of the present application.
  • the rotation path is a path for controlling the rotation of the rotating component according to a preset control rule
  • the preset control rule may be a control rule set in advance by a user.
  • the control rule may be a control rule set according to time information or a control rule set according to angle information.
  • the control rule may also be performed according to other factors. The setting is not specifically limited in the embodiment of the present application.
  • the preset area may be a room of any one or more industries, such as a chess room, a massage shop, a steam room, a KTV, a beauty salon, or other space areas. Embodiments of the present application Not specifically limited.
  • FIG. 2a is a schematic structural diagram of a robot provided in an embodiment of the present application
  • FIG. 2b is a schematic diagram of a spatial layout of a preset area provided in an embodiment of the present application.
  • the structure of the robot 20 includes a rotating member 21, a rotating joint 22, a torso 23, and a base 24.
  • the rotating member 21 includes a camera device 211
  • the torso 23 includes a screen 231.
  • the rotating member 21 can rotate freely, and can also rotate according to a preset angle range.
  • the image capturing device 211 performs image capturing during the rotation of the rotating member 21.
  • the screen 231 may be used for a user to perform a user operation on the screen 231 to send a control instruction to a control terminal, so that the user can autonomously control the robot.
  • the robot 20 shown in FIG. 2a is placed in a preset area 24 shown in FIG. 2b.
  • the preset area 24 includes the robot 20, a screen device 251, an air-conditioning device 252, and a first lighting device. 253.
  • the user can put the robot 20 into a preset area 24 as shown in FIG. 2b, and the rotating part 21 of the robot 20 can rotate freely, so that the camera device 211 collects the first part during the rotation of the rotating part 21 Image, the control terminal may acquire a first image in the preset area 24 collected by the camera device 211.
  • the spatial layout of the preset area in the embodiment of the present application is not limited to the layout shown in FIG. 2b, and may also be a layout in another manner.
  • S102 If a first target object is detected in the first image, start a first application device in the preset area, and detect whether a second target object exists in a target area within the preset area.
  • the control terminal may detect whether a first target object exists in the first image collected by the camera device, and if it detects that the first target object exists in the first image, open the preset area.
  • the first application device and detects whether a second target object exists in a target area within the preset area.
  • the first application device may include any one or more devices such as a light, an air conditioner, a speaker, and a screen.
  • the target area is within the preset area, such as a dance floor area.
  • the first target object may include the second target object, and the second target The object may also include other target objects than the first target object, and the target object may be a human or an animal.
  • FIG. 2b can be used as an example for explanation.
  • the control terminal can obtain the camera 211 The acquired first image.
  • the control terminal may detect whether the first target image exists in the first image, and if so, may start the first application device in the application devices 25 in the preset area, and further detect the preset. Whether a second target object exists in the target region 26 within the region 24.
  • control terminal may detect whether the target area exists in the first image, and if it detects that the target area exists in the first image, it may further detect the presence of the first image. Whether the second target object exists in the target area, wherein the first target object includes the second target object.
  • the control terminal if the control terminal detects that the second target object exists in the target area, it obtains characteristic information of the second target object.
  • the feature information includes feature information such as the number of the second target object, gender information of the second target object, and the like.
  • the control terminal if the control terminal detects that the second target object exists in the target area of the first image, it may obtain characteristic information of the second target object.
  • control terminal when the control terminal detects that the second target object exists in the target area, it can obtain the number of the second target object. In some embodiments, when the control terminal detects that the second target object exists in the target area, it can obtain gender information of the second target object.
  • S104 Adjust the working mode of the second application device in the preset area according to the characteristic information.
  • the control terminal may adjust the working mode of the second application device in the preset area according to the characteristic information. In one embodiment, if the second application device in the preset area belongs to the first application device, the control terminal may directly perform the working mode of the second application device according to the characteristic information. Adjustment.
  • the control terminal works on the second application device in the preset area according to the characteristic information. Before adjusting the mode, first turn on a device in the second application device that does not belong to the first application device, and then adjust the working mode of the second application device.
  • control terminal may adjust a working mode of a device belonging to the first application device among the second application devices in the preset area according to the characteristic information, and at the same time, turn on the first A device of the second application device that does not belong to the first application device, and then adjust a working mode of a device of the second application device that does not belong to the first application device.
  • control terminal may obtain the gender information of the second target object according to a preset recognition algorithm, and perform, on the corresponding relationship between the preset different gender information and different working modes, the second terminal object. Adjust the working mode of the application device.
  • the gender information may include the gender of the second target object and a quantity corresponding to the gender of the second target object, and the gender includes males and females.
  • the control terminal when the control terminal adjusts the working mode of the second application device according to a preset correspondence between different gender information and different working modes, the control terminal may obtain a female in the second target object. The number of target objects and the number of male target objects, and it is detected whether the number of female target objects is greater than the number of male target objects. If the control terminal detects that the number of female target objects is greater than the number of male target objects, the control terminal may determine the number of female target objects corresponding to different working modes according to a preset relationship between the number of different female target objects and different working modes, and determine the relationship with the female target. The first working mode corresponding to the number of objects, thereby adjusting the working mode of the second application device to the first working mode.
  • control terminal may determine a relationship with the male according to a preset relationship between the number of different male target objects and different work modes. A second working mode corresponding to the number of target objects, and adjusting a working mode of the second application device to the second working mode.
  • the control terminal detects that the first target object exists in the first image in the preset area collected by the camera device, it starts the first application device in the preset area. If there is a second target object in the target area, the characteristic information of the second target object is obtained, and the working mode of the second application device in the preset area is adjusted according to the characteristic information, thereby realizing the intelligence and Automated control improves the control efficiency of application equipment and reduces energy waste and equipment loss.
  • FIG. 3 is a schematic flowchart of another device control method according to an embodiment of the present application. As shown in FIG. 3, the method may be executed by a control terminal. The specific explanation of the control terminal is as described above. I will not repeat them here. Specifically, the method in the embodiment of the present application includes the following steps.
  • S301 Determine position information of the robot and position information of a preset area.
  • control terminal may determine position information of the robot and position information of the preset area.
  • S302 Determine a first rotation angle range of a rotating component of the robot according to the position information of the robot and the position information of the preset area.
  • the control terminal may determine the first rotation angle range of the rotating component of the robot according to the position information of the robot and the position information of the preset area.
  • the first rotation angle range is used to cause the rotating device to rotate the first rotation angle range according to the first rotation angle range, so that the imaging device can capture a first image in an entire preset area.
  • the control terminal may be based on the position information of the robot 20 and the preset area 24 Position information, it is determined that the first rotation angle range of the rotating member 21 of the robot 20 is [0 °, 90 °]. As another example, assuming that the position information of the robot 20 is within the target area 26 of the preset area 24, the control terminal may according to the position information of the robot 20 and the position information of the preset area 24, It is determined that the first rotation angle range of the rotating part 21 of the robot 20 is [0 °, 360 °].
  • the control terminal may control the rotating component of the robot to rotate according to the determined first rotation angle range.
  • the specific implementation process can be illustrated in FIG. 2b as an example. Assuming that the robot 20 is placed at a corner position as shown in FIG. 2b, the control terminal can determine that the first rotation angle range of the robot's rotating parts is [0 °, 90 °], the face detection function can be turned on when the robot 20 is started, the control terminal can control the rotating parts of the robot to rotate according to the determined first rotation angle range [0 °, 90 °], and the camera device 211 Periodic rotation and image capturing can be performed with the rotating member 21 of the robot 20.
  • the control terminal may set a rotation time interval for the rotating component, and then control the rotating component of the robot to rotate according to the first rotation angle range and the rotation time interval. For example, assuming that the rotation time interval set by the control terminal for the rotating component is 1 s per 10 ° rotation, and the first rotation angle range is [0 °, 90 °], the control terminal can control all The rotating parts of the robot are stopped for 1 s when rotating from 0 ° to 10 °, and then stopped for 1 s when rotating from 10 ° to 20 °, so as to rotate cyclically.
  • control terminal may control the rotating component of the robot to rotate according to the first rotation angle range within a preset time range.
  • S304 Acquire a first image in the preset area collected by the camera device in the first rotation angle range.
  • control terminal may acquire a first image in the preset area collected by the camera device in the first rotation angle range.
  • S305 If a first target object is detected in the first image, start the first application device in the preset area, and detect whether a second target object exists in the target area in the preset area.
  • control terminal may start the first application device in the preset area and detect whether the target area in the preset area is There is a second target object.
  • the specific implementation process and examples are as described above, which will not be repeated here.
  • the control terminal may be turned off after the reserved buffer time.
  • a first application device in the preset area For example, assuming that the preset time range is T and the reserved buffer time is t, if after the first application device is turned on, it is detected that the first image does not exist in the first image within the preset time range T
  • the target object may close the first application device in the preset area after the reserved buffer time t, where the first application device may include devices such as an air conditioner, a speaker, and a screen. Through this implementation mode, power can be saved and resources are not wasted.
  • the control terminal detects that the second target object exists in the target area, it obtains characteristic information of the second target object.
  • the feature information includes feature information such as the number of the second target object, gender information of the second target object, and the like. The specific implementation process and examples are as described above, and will not be repeated here.
  • S307 Adjust the working mode of the second application device in the preset area according to the characteristic information.
  • the control terminal may adjust the working mode of the second application device in the preset area according to the characteristic information. For example, assuming that the feature information is quantity and the second target object is a person in the target area of the preset area, if it is detected that the number of people in the target area is greater than a preset threshold N, the control terminal may The number of people in the target area is adjusted for the second application device, such as enhancing the sound of the sound, accelerating the flashing speed of the light, playing explosive music, and the like. This implementation can improve the user experience.
  • the control terminal determines the first rotation angle range of the rotating part of the robot, controls the rotation part of the robot to rotate according to the first rotation angle range, and obtains the camera device in the first rotation angle range. If the first image in the preset area is collected, if a first target object is detected in the first image, the first application device in the preset area is started, and if the first area in the target area is detected, If the second target object exists, the working mode of the second application device in the preset area is adjusted according to the characteristic information of the second target object. In this way, the rotation efficiency of the rotating parts of the robot is improved, the control efficiency of the application equipment is improved, and energy waste and equipment loss are reduced.
  • FIG. 4 is a schematic flowchart of another device control method according to an embodiment of the present application. As shown in FIG. 4, the method may be executed by a control terminal. The specific explanation of the control terminal is as described above. I will not repeat them here. Specifically, the method in the embodiment of the present application includes the following steps.
  • S401 Acquire a first image in a preset area collected by a camera device.
  • control terminal may acquire a first image in a preset area collected by the camera device during the rotation of the rotating component.
  • the specific implementation process is as described above, and is not repeated here.
  • control terminal may detect whether a first target object exists in the first image collected by the camera device, and if it detects that the first target object exists in the first image, open the preset area.
  • the first application device and detects whether a second target object exists in a target area within the preset area.
  • S403 Determine a second rotation angle range of the rotating component of the robot according to the position information of the robot and the position information of the target area in the preset area.
  • the control terminal may determine the second rotation angle range of the rotating component of the robot according to the position information of the robot and the position information of the target area in the preset area.
  • the control terminal may obtain the position information of the robot and the position information of the target area, and based on the position information of the robot and the The position information of the target area determines a positional relationship between the robot and the target area, thereby determining a second rotation angle range of a rotating part of the robot.
  • the control terminal may start the first application device in the preset area according to The position information of the robot 20 and the position information of the target area 26 determine that the second rotation angle range of the rotating component 21 of the robot 20 is [0 °, 30 °].
  • S404 Acquire a second image corresponding to the target area, which is acquired by the imaging device in the second rotation angle range.
  • the control terminal may acquire a second image corresponding to the target area, which is collected by the camera device in the second rotation angle range.
  • the control terminal may control the rotating member of the robot to rotate according to the second rotation angle range, and obtain the A second image corresponding to the target region collected in the second rotation angle range.
  • the control terminal may, after determining the second rotation angle range of the rotating component, control the rotating component of the robot according to the
  • the second rotation angle range [0 °, 30 °] performs periodic rotation, and acquires the image corresponding to the target area, which is acquired by the imaging device within the second rotation angle range [0 °, 30 °]. Second image.
  • S405 If it is detected that the second target object exists in the second image, obtain feature information of the second target object.
  • control terminal detects that the second target object exists in the second image, it obtains characteristic information of the second target object.
  • the explanation of the characteristic information is as described above, and is not repeated here.
  • S406 Adjust the working mode of the second application device in the preset area according to the characteristic information.
  • control terminal may adjust the working mode of the second application device in the preset area according to the characteristic information.
  • the specific implementation process is as described above, and is not repeated here.
  • the control terminal detects that a first target object exists in the first image, it starts the first application device of the preset area, and determines the location of the target application based on the position information of the robot and the target area in the preset area.
  • the second rotation angle range of the rotating part of the robot is used to obtain a second image corresponding to the target area, which is acquired by the camera device in the second rotation angle range. If it is detected that the first image exists in the second image, The second target object adjusts the working mode of the second application device in the preset area according to the characteristic information of the second target object, realizes the intelligentization and automation control of the application device, and improves the performance of the application device. Control efficiency, reduce energy waste and equipment loss.
  • FIG. 5 is a schematic block diagram of a control terminal according to an embodiment of the present application.
  • the control terminal in this embodiment includes a first obtaining unit 501, a detecting unit 502, a second obtaining unit 503, and an adjusting unit 504.
  • a first obtaining unit 501 is configured to obtain a first image in a preset area collected by the camera device on a rotation path of the rotating component, wherein the rotation path controls the rotation path according to a preset control rule.
  • a detecting unit 502 is configured to, if a first target object is detected in the first image, start a first application device in the preset area, and detect whether a second target exists in the target area in the preset area. target;
  • a second obtaining unit 503, configured to obtain characteristic information of the second target object if it is detected that the second target object exists in the target area;
  • the adjusting unit 504 is configured to adjust the working mode of the second application device in the preset area according to the characteristic information.
  • the characteristic information includes gender information of the second target object, and when the adjusting unit 504 adjusts the working mode of the second application device in the preset area according to the characteristic information, specifically, to:
  • the adjustment unit 504 adjusts the working mode of the second application device according to the preset correspondence between different gender information and different working modes, it is specifically configured to:
  • a first corresponding to the number of the female target objects is determined.
  • the number of female target objects is less than or equal to the number of male target objects, it is determined to correspond to the number of male target objects according to the preset corresponding relationship between the number of different male target objects and different working modes. And a second working mode of the second application device, and adjusting the working mode of the second application device to the second working mode.
  • the feature information includes the number of the second target objects
  • the adjustment unit 504 is specifically configured to adjust the working mode of the second application device in the preset area according to the feature information, and is specifically used to: :
  • the first obtaining unit 501 obtains a first image in a preset area collected by the camera device during the rotation of the rotating component, the first obtaining unit 501 is further configured to:
  • the first obtaining unit 501 When the first obtaining unit 501 obtains a first image in a preset area collected by the camera device during the rotation of the rotating component, the first obtaining unit 501 is specifically configured to:
  • a first image in the preset area acquired by the camera device in the first rotation angle range is acquired.
  • the detecting unit 502 detects whether a second target object exists in a target area within the preset area, it is specifically configured to:
  • the target area is detected in the first image, detecting whether the second target object exists in the target area, wherein the first target object includes the second target object.
  • the detecting unit 502 detects whether a second target object exists in a target area within the preset area, it is further configured to:
  • the detecting unit 502 detects whether a second target object exists in a target area within the preset area, it is specifically configured to:
  • the control terminal detects that a first target object exists in a first image in a preset area collected by the camera device, it starts the first application device in the preset area, and if the target is detected If the second target object exists in the area, the feature information of the second target object is obtained, and the working mode of the second application device in the preset area is adjusted according to the feature information. In this way, the control efficiency of application equipment is improved, and energy waste and equipment loss are reduced.
  • FIG. 6 is a schematic block diagram of another control terminal according to an embodiment of the present application.
  • the control terminal in this embodiment as shown in the figure may include: one or more processors 601; one or more input devices 602, one or more output devices 603, and a memory 604.
  • the processor 601, the input device 602, the output device 603, and the memory 604 are connected through a bus 605.
  • the memory 604 is configured to store a computer program, where the computer program includes program instructions, and the processor 601 is configured to execute the program instructions stored in the memory 604.
  • the processor 601 is configured to call the program instruction to execute:
  • the characteristic information includes gender information of the second target object, and when the processor 601 adjusts the working mode of the second application device in the preset area according to the characteristic information, the specific use to:
  • the processor 601 adjusts the working mode of the second application device according to a preset corresponding relationship between different gender information and different working modes, the processor 601 is specifically configured to:
  • the number of female target objects is less than or equal to the number of male target objects, it is determined to correspond to the number of male target objects according to the preset corresponding relationship between the number of different male target objects and different working modes. And a second working mode of the second application device, and adjusting the working mode of the second application device to the second working mode.
  • the characteristic information includes the number of the second target objects, and when the processor 601 adjusts the working mode of the second application device in the preset area according to the characteristic information, it is specifically used to: :
  • the processor 601 acquires a first image in a preset area collected by the camera device during the rotation of the rotating component, the processor 601 is further configured to:
  • the processor 601 acquires a first image in a preset area collected by the camera device during the rotation of the rotating component, the processor 601 is specifically configured to:
  • a first image in the preset area acquired by the camera device in the first rotation angle range is acquired.
  • the processor 601 detects whether a second target object exists in a target area within the preset area, the processor 601 is specifically configured to:
  • the target area is detected in the first image, detecting whether the second target object exists in the target area, wherein the first target object includes the second target object.
  • the processor 601 detects whether a second target object exists in a target area in the preset area, the processor 601 is further configured to:
  • the processor 601 detects whether a second target object exists in a target area within the preset area, the processor 601 is specifically configured to:
  • the control terminal detects that a first target object exists in a first image in a preset area collected by the camera device, it starts the first application device in the preset area and detects the preset Whether a second target object exists in the target area within the area, and if it is detected that the second target object exists in the target area, feature information of the second target object is obtained, and The working mode of the second application device in the preset area is adjusted. In this way, intelligent and automatic control of the application equipment is achieved, the control efficiency of the application equipment is improved, and energy waste and equipment loss are reduced.
  • a computer-readable storage medium is also provided in the embodiments of the present application.
  • the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the embodiment corresponding to FIG. 1, FIG. 3, or FIG. 4 is implemented.
  • the control method described in the above can also implement the control terminal of the embodiment corresponding to FIG. 5 or FIG. 6 of the present application, and details are not described herein again.

Abstract

本申请实施例公开了一种设备控制方法、终端及计算机可读存储介质,应用于机器人,所述机器人包括旋转部件,所述旋转部件上设置有摄像装置,其中方法包括:获取所述摄像装置在所述旋转部件的旋转路径上采集到的预设区域内的第一图像;如果检测到所述第一图像中存在第一目标对象,则开启所述预设区域的第一应用设备,并检测所述预设区域内的目标区域中是否存在第二目标对象;如果检测到所述目标区域中存在所述第二目标对象,则获取所述第二目标对象的特征信息;根据所述特征信息,对所述预设区域内的第二应用设备的工作模式进行调整。通过这种方式,实现了对应用设备的智能化和自动化控制,提高了对应用设备的控制效率,降低能源浪费和设备损耗。

Description

一种设备控制方法、终端及计算机可读存储介质
本申请要求于2018年07月27日提交中国专利局、申请号为201810852620.6、申请名称为“一种设备控制方法方法、终端及计算机可读介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种控制方法、设备及计算机可读存储介质。
背景技术
目前,随着人们生活水平的提高,服务行业的发展越来越迅速,服务行业在人们生活中占据了非常重要的地位,其中,服务行业包括棋牌室、按摩店、汗蒸房、KTV、美容院等。以KTV为例进行说明,在传统的KTV门店中,包间无客状态下,灯光空调的开关设置需要门店部署较多的服务人员进行逐个调控和维护,造成了人力成本的不必要浪费。在有客状态下,由于门店一般包厢数量众多,员工人数有限,包厢及人手交接过程中耗电设备的闲置常常造成能源浪费和设备寿命损耗。因此,如何实现对室内应用设备的智能化和自动化管理成为研究的热点。
发明内容
本申请实施例提供一种设备控制方法、终端及计算机可读存储介质,实现了对应用设备的智能化和自动化控制,提高了对应用设备的控制效率,降低能源浪费和设备损耗。
第一方面,本申请实施例提供了一种设备控制方法,应用于机器人,所述机器人包括旋转部件,所述旋转部件上设置有摄像装置,该方法包括:
获取所述摄像装置在所述旋转部件的旋转路径上采集到的预设区域内的第一图像,其中,所述旋转路径是根据预设的控制规则控制所述旋转部件旋转的路径;
如果检测到所述第一图像中存在第一目标对象,则开启所述预设区域的第一应用设备,并检测所述预设区域内的目标区域中是否存在第二目标对象;
如果检测到所述目标区域中存在所述第二目标对象,则获取所述第二目标对象的特征信息;
根据所述特征信息,对所述预设区域内的第二应用设备的工作模式进行调整。
第二方面,本申请实施例提供了一种控制终端,该控制终端包括用于执行上述第一方面的方法的单元。
第三方面,本申请实施例提供了另一种控制终端,包括处理器、输入设备、输出设备和存储器,所述处理器、输入设备、输出设备和存储器相互连接,其中,所述存储器用于存储支持控制终端执行上述方法的计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行上述第一方面的方法。
第四方面,本申请实施例提供了一种计算机可读存储介质,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行上述第一方面的方法。
本申请实施例,通过检测预设区域内是否存在第一目标对象和/或第二目标对象,对第一应用设备和/或第二应用设备进行调整,实现了对应用设备的智能化和自动化控制,提高了对应用设备的控制效率。
附图说明
图1是本申请实施例提供的一种设备控制方法的示意流程图;
图2a是本申请实施例提供的一种机器人的结构示意图;
图2b是本申请实施例提供的一种预设区域的空间布局示意图;
图3是本申请实施例提供的另一种设备控制方法的示意流程图;
图4是本申请实施例提供的又一种设备控制方法的示意流程图;
图5是本申请实施例提供的一种控制终端的示意框图;
图6是本申请实施例提供的另一种控制终端示意框图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请实施例提供的设备控制方法可以由一种控制终端执行,在某些实施例中,所述控制终端和所述机器人之间可以建立通信连接,以进行双向通信。在某些实施例中,所述控制终端可以安装在所述机器人上,在某些实施例中,所述控制终端可以在空间上独立于所述机器人,在某些实施例中,所述控制终端可以是所述机器人的部件,即所述机器人包括控制终端。在某些实施例中,所述机器人可以包括:无人汽车、无人机、无人船等可移动的机器人。在某些实施例中,所述机器人可以包括底座、旋转部件,所述旋转部件可以是所述机器人的部分部件如头部、躯干、手臂等部件,所述旋转部件上可以设置摄像 装置。在某些实施例中,所述机器人的躯干上可以设置触摸屏。下面以机器人为例对本申请实施例提供的设备控制方法进行示意性说明。
所述控制终端可以控制所述机器人的旋转部件按照预设的控制规则确定的旋转路径进行旋转,在所述旋转部件旋转的过程中,所述控制终端可以获取所述旋转部件上设置的摄像装置采集到的第一图像,如果检测到所述第一图像中存在所述第一目标对象,则可以开启所述预设区域的第一应用设备,并进一步检测所述预设区域内的目标区域中是否存在第二目标对象。如果检测到所述目标区域中存在所述第二目标对象,则所述控制终端可以根据所述第二目标对象的特征信息对所述预设区域内的第二应用设备的工作模式进行调整。下面结合附图对本申请实施例提出的设备控制方法进行示意性说明。
请参见图1,图1是本申请实施例提供的一种设备控制方法的示意流程图,如图1所示,该方法可以由控制终端执行,所述控制终端的具体解释如前所述,此处不再赘述。具体地,本申请实施例的所述方法包括如下步骤。
S101:获取摄像装置采集到的预设区域内的第一图像。
本申请实施例中,控制终端可以获取所述摄像装置在所述旋转部件旋转过程中采集到的预设区域内的第一图像。其中,所述旋转部件可以进行周期性地旋转。在一个实施例中,所述旋转部件可以是机器人的头部、躯干、手臂等任意一个部件,也可以是所述机器人整体,本申请实施例不做具体限定。
在一个实施例中,所述机器人的旋转部件在旋转过程中,可以根据预设的时间间隔进行旋转。在某些实施例中,所述旋转路径是根据预设的控制规则控制所述旋转部件旋转的路径,所述预设的控制规则可以是用户预先设置的控制规则。在某些实施例中,所述控制规则可以是根据时间信息设置的控制规则,也可以是根据角度信息设置的控制规则,当然,在其他实施例中,所述控制规则还可以根据其他因素进行设置,本申请实施例不做具体限定。在某些实施例中,所述预设区域可以是棋牌室、按摩店、汗蒸房、KTV、美容院等任意一种或多种行业的房间,也可以是其他空间区域,本申请实施例不做具体限定。
具体实施过程可以图2a和图2b为了进行说明,图2a是本申请实施例提供的一种机器人的结构示意图,图2b是本申请实施例提供的一种预设区域的空间布局示意图。如图2a所示,所述机器人20的结构包括:旋转部件21、旋转关节22、躯干23、底座24,所述旋转部件21中包括摄像装置211,所述躯干23包括屏幕231。在某些实施例中,所述旋转部件21可以自由旋转,也可以根据预设角度范围进行旋转。在某些实施例中,所述摄像装置211在所述旋转部件21的旋转过程中进行图像拍摄。在某些实施例中,所述屏幕231可以用于用户在所述屏幕231进行用户操作,以发送控制指令给控制终端,可以实现用户自主控制机器人。
如图2b所示,将图2a所示的机器人20放入图2b所示的预设区域24中,所述预设区域24中包括 机器人20、屏幕设备251、空调设备252、第一灯光设备253、第二灯光设备254、目标区域26。用户可以将所述机器人20放入如图2b所示的预设区域24中,所述机器人20的旋转部件21可以自由旋转,以使所述摄像装置211在旋转部件21旋转过程中采集第一图像,所述控制终端可以获取到所述摄像装置211采集到的该预设区域24内的第一图像。本申请实施例对预设区域的空间布局不限于图2b所示的布局,还可以是其他方式的布局。
S102:如果检测到所述第一图像中存在第一目标对象,则开启所述预设区域的第一应用设备,并检测所述预设区域内的目标区域中是否存在第二目标对象。
本申请实施例中,控制终端可以检测所述摄像装置采集到的第一图像中是否存在第一目标对象,如果检测到所述第一图像中存在第一目标对象,则开启所述预设区域的第一应用设备,并检测所述预设区域内的目标区域中是否存在第二目标对象。在一些实施例中,所述第一应用设备可以包括灯光、空调、音箱、屏幕等任意一种或多种设备。在某些实施例中,所述目标区域在所述预设区域内如舞池区域,在某些实实施例中,所述第一目标对象可以包括所述第二目标对象,所述第二目标对象也可以包括除第一目标对象以外的其他目标对象,所述目标对象可以是人或动物。
具体可以图2b为例进行说明,假设所述机器人20中旋转部件21上的摄像装置211在所述旋转部件21旋转过程中采集到第一图像,则所述控制终端可以获取所述摄像装置211采集的所述第一图像。所述控制终端可以检测所述第一图像中是否存在所述第一目标图像,如果存在则可以开启所述预设区域内的应用设备25中的第一应用设备,并进一步检测所述预设区域24内的目标区域26中是否存在第二目标对象。
在一个实施例中,所述控制终端可以检测所述第一图像中是否存在所述目标区域,如果检测到所述第一图像中存在所述目标区域,则可以进一步检测所述第一图像的所述目标区域中是否存在所述第二目标对象,其中,所述第一目标对象包括所述第二目标对象。
S103:如果检测到所述目标区域中存在所述第二目标对象,则获取所述第二目标对象的特征信息。
本申请实施例中,控制终端如果检测到所述目标区域中存在所述第二目标对象,则获取所述第二目标对象的特征信息。在一个实施例中,所述特征信息包括所述第二目标对象的数量、所述第二目标对象的性别信息等特征信息。在一个实施例中,所述控制终端如果检测到所述第一图像的所述目标区域中存在所述第二目标对象,则可以获取所述第二目标对象的特征信息。
在一个实施例中,所述控制终端检测到所述目标区域中存在所述第二目标对象,则可以获取所述第二目标对象的数量。在某些实施例中,所述控制终端检测到所述目标区域中存在所述第二目标对象,则可以获取所述第二目标对象的性别信息。
S104:根据所述特征信息,对所述预设区域内的第二应用设备的工作模式进行调整。
本申请实施例中,所述控制终端可以根据所述特征信息,对所述预设区域内的第二应用设备的工作模式进行调整。在一个实施例中,如果所述预设区域内的第二应用设备属于所述第一应用设备,则所述控制终端可以根据所述特征信息,直接对所述第二应用设备的工作模式进行调整。
在一个实施例中,如果所述第二应用设备包括不属于所述第一应用设备的设备,则所述控制终端在根据所述特征信息对所述预设区域内的第二应用设备的工作模式进行调整之前,先开启所述第二应用设备中不属于所述第一应用设备的设备,然后再对所述第二应用设备的工作模式进行调整。
在某些实施例中,所述控制终端可以根据所述特征信息对所述预设区域内第二应用设备中属于所述第一应用设备的设备的工作模式进行调整,同时,开启所述第二应用设备中不属于所述第一应用设备的设备,然后再对所述第二应用设备中不属于所述第一应用设备的设备的工作模式进行调整。
在一个实施例中,所述控制终端可以根据预设的识别算法,获取所述第二目标对象的性别信息,并根据预先设置的不同性别信息与不同工作模式的对应关系,对所述第二应用设备的工作模式进行调整。在某些实施例中,所述性别信息可以包括所述第二目标对象的性别和所述第二目标对象的性别对应的数量,所述性别包括男性和女性。
在一个实施例中,所述控制终端在根据预先设置的不同性别信息与不同工作模式的对应关系,对所述第二应用设备的工作模式进行调整时,可以获取所述第二目标对象中女性目标对象的数量和男性目标对象的数量,并检测所述女性目标对象的数量是否大于所述男性目标对象的数量。所述控制终端如果检测到所述女性目标对象的数量大于所述男性目标对象的数量,则可以根据预先设置的不同女性目标对象的数量与不同工作模式的对应关系,并确定与所述女性目标对象的数量对应的第一工作模式,从而将所述第二应用设备的工作模式调整为所述第一工作模式。如果检测到所述女性目标对象的数量小于或等于所述男性目标对象的数量,则所述控制终端可以根据预先设置的不同男性目标对象的数量与不同工作模式的对应关系,确定与所述男性目标对象的数量对应的第二工作模式,并将所述第二应用设备的工作模式调整为所述第二工作模式。
本申请实施例中,控制终端如果检测到摄像装置采集到的预设区域内的第一图像中存在第一目标对象,则开启预设区域的第一应用设备,如果检测到预设区域内的目标区域中存在第二目标对象,则获取第二目标对象的特征信息,并根据所述特征信息对预设区域内的第二应用设备的工作模式进行调整,实现了对应用设备的智能化和自动化控制,提高了对应用设备的控制效率,降低能源浪费和设备损耗。
参见图3,图3是本申请实施例提供的另一种设备控制方法的示意流程图,如图3所示,该方法可以由控制终端执行,该控制终端的具体解释如前所述,此处不再赘述。具体地,本申请实施例的所述方 法包括如下步骤。
S301:确定机器人的位置信息以及预设区域的位置信息。
本申请实施例中,控制终端可以确定所述机器人的位置信息以及所述预设区域的位置信息。
S302:根据所述机器人的位置信息以及所述预设区域的位置信息,确定所述机器人的旋转部件的第一旋转角度范围。
本申请实施例中,控制终端可以根据所述机器人的位置信息以及所述预设区域的位置信息,确定所述机器人的旋转部件的第一旋转角度范围。在一个实施例中,所述第一旋转角度范围用于使所述旋转部件按照所述第一旋转角度范围进行旋转时,可以使所述摄像装置拍摄到整个预设区域内的第一图像。
以图2b为例,假设所述机器人20的位置信息为如图2b所示预设区域24的图示角落位置,所述控制终端可以根据所述机器人20的位置信息以及所述预设区域24的位置信息,确定所述机器人20的旋转部件21的第一旋转角度范围为[0°,90°]。又例如,假设所述机器人20的位置信息为处于所述预设区域24的目标区域26内,则所述控制终端可以根据所述机器人20的位置信息以及所述预设区域24的位置信息,确定所述机器人20的旋转部件21的第一旋转角度范围为[0°,360°]。
S303:控制所述机器人的旋转部件按照所述第一旋转角度范围进行旋转。
本申请实施例中,控制终端可以控制所述机器人的旋转部件按照确定的所述第一旋转角度范围进行旋转。具体实施过程可以图2b为例进行说明,假设机器人20放置于如图2b所示的角落位置,则所述控制终端可以确定所述机器人的旋转部件的第一旋转角度范围为[0°,90°],在机器人20启动时可以开启人脸检测功能,所述控制终端可以控制所述机器人的旋转部件按照确定的所述第一旋转角度范围[0°,90°]进行旋转,摄像装置211可以随机器人20的旋转部件21进行周期性地旋转和图像拍摄。
在一个实施例中,所述控制终端可以为所述旋转部件设置旋转时间间隔,然后控制所述机器人的旋转部件按照所述第一旋转角度范围以及所述旋转时间间隔进行旋转。例如,假设所述控制终端为所述旋转部件设置的旋转时间间隔为每旋转10°停顿1s,且所述第一旋转角度范围为[0°,90°],则所述控制终端可以控制所述机器人的旋转部件从0°旋转到10°时停顿1s,然后再从10°旋转到20°时停顿1s,如此周期性循环旋转。
在一个实施例中,所述控制终端可以控制所述机器人的旋转部件在预设时间范围内按照所述第一旋转角度范围进行旋转。
S304:获取所述摄像装置在所述第一旋转角度范围采集到的所述预设区域内的第一图像。
本申请实施例中,控制终端可以获取所述摄像装置在所述第一旋转角度范围采集到的所述预设区域内的第一图像。
S305:如果检测到所述第一图像中存在第一目标对象,则开启所述预设区域的第一应用设备,并检测所述预设区域内的目标区域中是否存在第二目标对象。
本申请实施例中,控制终端如果检测到所述第一图像中存在第一目标对象,则可以开启所述预设区域的第一应用设备,并检测所述预设区域内的目标区域中是否存在第二目标对象。具体实施过程及举例如前所述,此处不再赘述。
在一个实施例中,控制终端如果在开启第一应用设备之后,在预设时间范围内检测到所述第一图像中不存在所述第一目标对象,则可以在预留的缓冲时间后关闭所述预设区域的第一应用设备。例如,假设所述预设时间范围为T,预留的缓冲时间为t,如果在开启第一应用设备之后,在预设时间范围T内检测到所述第一图像中不存在所述第一目标对象,则可以在预留的缓冲时间t后关闭所述预设区域的第一应用设备,其中,所述第一应用设备可以包括空调、音箱、屏幕等设备。通过这种实施方式可以节省电能,避免资源浪费。
S306:如果检测到所述目标区域中存在所述第二目标对象,则获取所述第二目标对象的特征信息。
本申请实施例中,控制终端如果检测到所述目标区域中存在所述第二目标对象,则获取所述第二目标对象的特征信息。在一个实施例中,所述特征信息包括所述第二目标对象的数量、所述第二目标对象的性别信息等特征信息。具体实施过程及举例说明如前所述,此处不再赘述。
S307:根据所述特征信息,对所述预设区域内的第二应用设备的工作模式进行调整。
本申请实施例中,所述控制终端可以根据所述特征信息,对所述预设区域内的第二应用设备的工作模式进行调整。例如,假设所述特征信息为数量,第二目标对象为所述预设区域的目标区域内的人,如果检测到所述目标区域中的人数大于预设阈值N,则所述控制终端可以根据所述目标区域内的人数,调整第二应用设备,如增强音响声音,加快灯光闪烁速度,播放劲爆音乐等。通过这种实施方式可以提升用户体验。
本申请实施例中,控制终端通过确定机器人的旋转部件的第一旋转角度范围,控制所述机器人的旋转部件按照所述第一旋转角度范围进行旋转,获取摄像装置在所述第一旋转角度范围采集到的所述预设区域内的第一图像,如果检测到所述第一图像中存在第一目标对象,则开启所述预设区域的第一应用设备,如果检测到所述目标区域中存在所述第二目标对象,则根据所述第二目标对象的特征信息,对所述预设区域内的第二应用设备的工作模式进行调整。通过这种方式,提高了机器人的旋转部件的旋转效率,提高了对应用设备的控制效率,降低了能源浪费和设备损耗。
参见图4,图4是本申请实施例提供的又一种设备控制方法的示意流程图,如图4所示,该方法可以由控制终端执行,该控制终端的具体解释如前所述,此处不再赘述。具体地,本申请实施例的所述方 法包括如下步骤。
S401:获取摄像装置采集到的预设区域内的第一图像。
本申请实施例中,控制终端可以获取所述摄像装置在所述旋转部件旋转过程中采集到的预设区域内的第一图像。具体实施过程如前所述,此处不再赘述。
S402:如果检测到所述第一图像中存在第一目标对象,则开启所述预设区域的第一应用设备。
本申请实施例中,控制终端可以检测所述摄像装置采集到的第一图像中是否存在第一目标对象,如果检测到所述第一图像中存在第一目标对象,则开启所述预设区域的第一应用设备,并检测所述预设区域内的目标区域中是否存在第二目标对象。具体实施过程及举例如前所述,此处不再赘述。
S403:根据机器人的位置信息和所述预设区域中目标区域的位置信息,确定所述机器人的旋转部件的第二旋转角度范围。
本申请实施例中,控制终端可以根据机器人的位置信息和所述预设区域中目标区域的位置信息,确定所述机器人的旋转部件的第二旋转角度范围。具体实施过程中,所述控制终端在开启所述预设区域的第一应用设备之后,可以获取所述机器人的位置信息以及所述目标区域的位置信息,并根据所述机器人的位置信息以及所述目标区域的位置信息,确定所述机器人与所述目标区域的位置关系,从而确定所述机器人的旋转部件的第二旋转角度范围。
以图2b为例,假设所述机器人20的位置信息为如图2b所示预设区域24的图示位置,则所述控制终端可以在开启所述预设区域的第一应用设备之后,根据所述机器人20的位置信息以及所述目标区域26的位置信息,确定所述机器人20的旋转部件21的第二旋转角度范围为[0°,30°]。
S404:获取所述摄像装置在所述第二旋转角度范围采集到的与所述目标区域对应的第二图像。
本申请实施例中,控制终端可以获取所述摄像装置在所述第二旋转角度范围采集到的与所述目标区域对应的第二图像。具体实施过程中,所述控制终端可以在确定出所述旋转部件的第二旋转角度范围之后,控制所述机器人的旋转部件按照所述第二旋转角度范围进行旋转,并获取所述摄像装置在所述第二旋转角度范围采集到的与所述目标区域对应的第二图像。例如,假设所述第二旋转角度范围为[0°,30°],则所述控制终端可以在确定出所述旋转部件的第二旋转角度范围之后,控制所述机器人的旋转部件按照所述第二旋转角度范围[0°,30°]进行周期性地旋转,并获取所述摄像装置在所述第二旋转角度范围[0°,30°]内采集到的与所述目标区域对应的第二图像。
S405:如果检测到所述第二图像中存在所述第二目标对象,则获取所述第二目标对象的特征信息。
本申请实施例中,控制终端如果检测到所述第二图像中存在所述第二目标对象,则获取所述第二目标对象的特征信息。所述特征信息的解释如前所述,此处不再赘述。
S406:根据所述特征信息,对所述预设区域内的第二应用设备的工作模式进行调整。
本申请实施例中,控制终端可以根据所述特征信息,对所述预设区域内的第二应用设备的工作模式进行调整。具体实施过程如前所述,此处不再赘述。
本申请实施例中,控制终端如果检测到第一图像中存在第一目标对象,则开启预设区域的第一应用设备,根据机器人的位置信息和预设区域中目标区域的位置信息,确定所述机器人的旋转部件的第二旋转角度范围,获取摄像装置在所述第二旋转角度范围采集到的与所述目标区域对应的第二图像,如果检测到所述第二图像中存在所述第二目标对象,则根据所述第二目标对象的特征信息,对预设区域内的第二应用设备的工作模式进行调整,实现了对应用设备的智能化和自动化控制,提高了对应用设备的控制效率,降低能源浪费和设备损耗。
本申请实施例还提供了一种控制终端,该控制终端用于执行前述任一项所述的方法的单元。具体地,参见图5,图5是本申请实施例提供的一种控制终端的示意框图。本实施例的控制终端包括:第一获取单元501、检测单元502、第二获取单元503、调整单元504。
第一获取单元501,用于获取所述摄像装置在所述旋转部件的旋转路径上采集到的预设区域内的第一图像,其中,所述旋转路径是根据预设的控制规则控制所述旋转部件旋转的路径;
检测单元502,用于如果检测到所述第一图像中存在第一目标对象,则开启所述预设区域的第一应用设备,并检测所述预设区域内的目标区域中是否存在第二目标对象;
第二获取单元503,用于如果检测到所述目标区域中存在所述第二目标对象,则获取所述第二目标对象的特征信息;
调整单元504,用于根据所述特征信息,对所述预设区域内的第二应用设备的工作模式进行调整。
进一步地,所述特征信息包括所述第二目标对象的性别信息,所述调整单元504根据所述特征信息,对所述预设区域内的第二应用设备的工作模式进行调整时,具体用于:
根据预设的识别算法,获取所述第二目标对象的性别信息;
根据预先设置的不同性别信息与不同工作模式的对应关系,对所述第二应用设备的工作模式进行调整。
进一步地,所述调整单元504根据预先设置的不同性别信息与不同工作模式的对应关系,对所述第二应用设备的工作模式进行调整时,具体用于:
获取所述第二目标对象中女性目标对象的数量和男性目标对象的数量;
如果检测到所述女性目标对象的数量大于所述男性目标对象的数量,则根据预先设置的不同女性目标对象的数量与不同工作模式的对应关系,确定与所述女性目标对象的数量对应的第一工作模式,并将 所述第二应用设备的工作模式调整为所述第一工作模式;
如果检测到所述女性目标对象的数量小于或等于所述男性目标对象的数量,则根据预先设置的不同男性目标对象的数量与不同工作模式的对应关系,确定与所述男性目标对象的数量对应的第二工作模式,并将所述第二应用设备的工作模式调整为所述第二工作模式。
进一步地,所述特征信息包括所述第二目标对象的数量,所述调整单元504根据所述特征信息,对所述预设区域内的第二应用设备的工作模式进行调整时,具体用于:
根据预先设置的不同数量与不同工作模式的对应关系,确定与所述第二目标对象的数量对应的第三工作模式;
将所述第二应用设备的工作模式调整为所述第三工作模式。
进一步地,所述第一获取单元501获取所述摄像装置在所述旋转部件旋转过程中采集到的预设区域内的第一图像之前,还用于:
确定所述机器人的位置信息以及所述预设区域的位置信息;
根据所述机器人的位置信息以及所述预设区域的位置信息,确定所述机器人的旋转部件的第一旋转角度范围;
控制所述机器人的旋转部件按照所述第一旋转角度范围进行旋转;
所述第一获取单元501获取所述摄像装置在所述旋转部件旋转过程中采集到的预设区域内的第一图像时,具体用于:
获取所述摄像装置在所述第一旋转角度范围采集到的所述预设区域内的第一图像。
进一步地,所述检测单元502检测所述预设区域内的目标区域中是否存在第二目标对象时,具体用于:
检测所述第一图像中是否存在所述目标区域;
如果检测到所述第一图像中存在所述目标区域,则检测所述目标区域中是否存在所述第二目标对象,其中,所述第一目标对象包括所述第二目标对象。
进一步地,所述检测单元502检测所述预设区域内的目标区域中是否存在第二目标对象之前,还用于:
确定所述机器人的位置信息以及所述目标区域的位置信息;
根据所述机器人的位置信息和所述目标区域的位置信息,确定所述机器人的旋转部件的第二旋转角度范围;
控制所述机器人的旋转部件按照所述第二旋转角度范围进行旋转;
获取所述摄像装置在所述第二旋转角度范围采集到的与所述目标区域对应的第二图像;
所述检测单元502检测所述预设区域内的目标区域中是否存在第二目标对象时,具体用于:
检测所述第二图像中是否存在所述第二目标对象。
本申请实施例中,控制终端如果检测到摄像装置采集到的预设区域内的第一图像中存在第一目标对象,则开启所述预设区域的第一应用设备,如果检测到所述目标区域中存在所述第二目标对象,则获取所述第二目标对象的特征信息,并根据所述特征信息对所述预设区域内的第二应用设备的工作模式进行调整。通过这种方式,提高了对应用设备的控制效率,降低能源浪费和设备损耗。
参见图6,图6是本申请实施例提供的另一种控制终端示意框图。如图所示的本实施例中的控制终端可以包括:一个或多个处理器601;一个或多个输入设备602,一个或多个输出设备603和存储器604。上述处理器601、输入设备602、输出设备603和存储器604通过总线605连接。存储器604用于存储计算机程序,所述计算机程序包括程序指令,处理器601用于执行存储器604存储的程序指令。其中,处理器601被配置用于调用所述程序指令执行:
获取所述摄像装置在所述旋转部件的旋转路径上采集到的预设区域内的第一图像,其中,所述旋转路径是根据预设的控制规则控制所述旋转部件旋转的路径;
如果检测到所述第一图像中存在第一目标对象,则开启所述预设区域的第一应用设备,并检测所述预设区域内的目标区域中是否存在第二目标对象;
如果检测到所述目标区域中存在所述第二目标对象,则获取所述第二目标对象的特征信息;
根据所述特征信息,对所述预设区域内的第二应用设备的工作模式进行调整。
进一步地,所述特征信息包括所述第二目标对象的性别信息,所述处理器601根据所述特征信息,对所述预设区域内的第二应用设备的工作模式进行调整时,具体用于:
根据预设的识别算法,获取所述第二目标对象的性别信息;
根据预先设置的不同性别信息与不同工作模式的对应关系,对所述第二应用设备的工作模式进行调整。
进一步地,所述处理器601根据预先设置的不同性别信息与不同工作模式的对应关系,对所述第二应用设备的工作模式进行调整时,具体用于:
获取所述第二目标对象中女性目标对象的数量和男性目标对象的数量;
如果检测到所述女性目标对象的数量大于所述男性目标对象的数量,则根据预先设置的不同女性目标对象的数量与不同工作模式的对应关系,确定与所述女性目标对象的数量对应的第一工作模式,并将所述第二应用设备的工作模式调整为所述第一工作模式;
如果检测到所述女性目标对象的数量小于或等于所述男性目标对象的数量,则根据预先设置的不同男性目标对象的数量与不同工作模式的对应关系,确定与所述男性目标对象的数量对应的第二工作模式,并将所述第二应用设备的工作模式调整为所述第二工作模式。
进一步地,所述特征信息包括所述第二目标对象的数量,所述处理器601根据所述特征信息,对所述预设区域内的第二应用设备的工作模式进行调整时,具体用于:
根据预先设置的不同数量与不同工作模式的对应关系,确定与所述第二目标对象的数量对应的第三工作模式;
将所述第二应用设备的工作模式调整为所述第三工作模式。
进一步地,所述处理器601获取所述摄像装置在所述旋转部件旋转过程中采集到的预设区域内的第一图像之前,还用于:
确定所述机器人的位置信息以及所述预设区域的位置信息;
根据所述机器人的位置信息以及所述预设区域的位置信息,确定所述机器人的旋转部件的第一旋转角度范围;
控制所述机器人的旋转部件按照所述第一旋转角度范围进行旋转;
所述处理器601获取所述摄像装置在所述旋转部件旋转过程中采集到的预设区域内的第一图像时,具体用于:
获取所述摄像装置在所述第一旋转角度范围采集到的所述预设区域内的第一图像。
进一步地,所述处理器601检测所述预设区域内的目标区域中是否存在第二目标对象时,具体用于:
检测所述第一图像中是否存在所述目标区域;
如果检测到所述第一图像中存在所述目标区域,则检测所述目标区域中是否存在所述第二目标对象,其中,所述第一目标对象包括所述第二目标对象。
进一步地,所述处理器601检测所述预设区域内的目标区域中是否存在第二目标对象之前,还用于:
确定所述机器人的位置信息以及所述目标区域的位置信息;
根据所述机器人的位置信息和所述目标区域的位置信息,确定所述机器人的旋转部件的第二旋转角度范围;
控制所述机器人的旋转部件按照所述第二旋转角度范围进行旋转;
获取所述摄像装置在所述第二旋转角度范围采集到的与所述目标区域对应的第二图像;
所述处理器601检测所述预设区域内的目标区域中是否存在第二目标对象时,具体用于:
检测所述第二图像中是否存在所述第二目标对象。
本申请实施例中,控制终端如果检测到摄像装置采集到的预设区域内的第一图像中存在第一目标对象,则开启所述预设区域的第一应用设备,并检测所述预设区域内的目标区域中是否存在第二目标对象,如果检测到所述目标区域中存在所述第二目标对象,则获取所述第二目标对象的特征信息,并根据所述特征信息对所述预设区域内的第二应用设备的工作模式进行调整。通过这种方式,实现了对应用设备的智能化和自动化控制,提高了对应用设备的控制效率,降低能源浪费和设备损耗。
本申请实施例中还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现图1、图3或图4所对应实施例中描述的控制方法,也可实现本申请图5或图6所对应实施例的控制终端,在此不再赘述。
以上所述,仅为本申请的部分实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。

Claims (20)

  1. 一种设备控制方法,其特征在于,应用于机器人,所述机器人包括旋转部件,所述旋转部件上设置有摄像装置,包括:
    获取所述摄像装置在所述旋转部件的旋转路径上采集到的预设区域内的第一图像,其中,所述旋转路径是根据预设的控制规则控制所述旋转部件旋转的路径;
    如果检测到所述第一图像中存在第一目标对象,则开启所述预设区域的第一应用设备,并检测所述预设区域内的目标区域中是否存在第二目标对象;
    如果检测到所述目标区域中存在所述第二目标对象,则获取所述第二目标对象的特征信息;
    根据所述特征信息,对所述预设区域内的第二应用设备的工作模式进行调整。
  2. 根据权利要求1所述的方法,其特征在于,所述特征信息包括所述第二目标对象的性别信息,所述根据所述特征信息,对所述预设区域内的第二应用设备的工作模式进行调整,包括:
    根据预设的识别算法,获取所述第二目标对象的性别信息;
    根据预先设置的不同性别信息与不同工作模式的对应关系,对所述第二应用设备的工作模式进行调整。
  3. 根据权利要求2所述的方法,其特征在于,所述根据预先设置的不同性别信息与不同工作模式的对应关系,对所述第二应用设备的工作模式进行调整,包括:
    获取所述第二目标对象中女性目标对象的数量和男性目标对象的数量;
    如果检测到所述女性目标对象的数量大于所述男性目标对象的数量,则根据预先设置的不同女性目标对象的数量与不同工作模式的对应关系,确定与所述女性目标对象的数量对应的第一工作模式,并将所述第二应用设备的工作模式调整为所述第一工作模式;
    如果检测到所述女性目标对象的数量小于或等于所述男性目标对象的数量,则根据预先设置的不同男性目标对象的数量与不同工作模式的对应关系,确定与所述男性目标对象的数量对应的第二工作模式,并将所述第二应用设备的工作模式调整为所述第二工作模式。
  4. 根据权利要求1所述的方法,其特征在于,所述特征信息包括所述第二目标对象的数量,所述根据所述特征信息,对所述预设区域内的第二应用设备的工作模式进行调整,包括:
    根据预先设置的不同数量与不同工作模式的对应关系,确定与所述第二目标对象的数量对应的第三工作模式;
    将所述第二应用设备的工作模式调整为所述第三工作模式。
  5. 根据权利要求1所述的方法,其特征在于,所述获取所述摄像装置在所述旋转部件旋转过程中采集到的预设区域内的第一图像之前,还包括:
    确定所述机器人的位置信息以及所述预设区域的位置信息;
    根据所述机器人的位置信息以及所述预设区域的位置信息,确定所述机器人的旋转部件的第一旋转角度范围;
    控制所述机器人的旋转部件按照所述第一旋转角度范围进行旋转;
    所述获取所述摄像装置在所述旋转部件旋转过程中采集到的预设区域内的第一图像,包括:
    获取所述摄像装置在所述第一旋转角度范围采集到的所述预设区域内的第一图像。
  6. 根据权利要求1所述的方法,其特征在于,所述检测所述预设区域内的目标区域中是否存在第二目标对象,包括:
    检测所述第一图像中是否存在所述目标区域;
    如果检测到所述第一图像中存在所述目标区域,则检测所述目标区域中是否存在所述第二目标对象,其中,所述第一目标对象包括所述第二目标对象。
  7. 根据权利要求1所述的方法,其特征在于,所述检测所述预设区域内的目标区域中是否存在第二目标对象之前,还包括:
    确定所述机器人的位置信息以及所述目标区域的位置信息;
    根据所述机器人的位置信息和所述目标区域的位置信息,确定所述机器人的旋转部件的第二旋转角度范围;
    控制所述机器人的旋转部件按照所述第二旋转角度范围进行旋转;
    获取所述摄像装置在所述第二旋转角度范围采集到的与所述目标区域对应的第二图像;
    所述检测所述预设区域内的目标区域中是否存在第二目标对象,包括:
    检测所述第二图像中是否存在所述第二目标对象。
  8. 一种控制终端,其特征在于,包括:
    第一获取单元,用于获取所述摄像装置在所述旋转部件的旋转路径上采集到的预设区域内的第一图像,其中,所述旋转路径是根据预设的控制规则控制所述旋转部件旋转的路径;
    检测单元,用于如果检测到所述第一图像中存在第一目标对象,则开启所述预设区域的第一应用设备,并检测所述预设区域内的目标区域中是否存在第二目标对象;
    第二获取单元,用于如果检测到所述目标区域中存在所述第二目标对象,则获取所述第二目标对象 的特征信息;
    调整单元,用于根据所述特征信息,对所述预设区域内的第二应用设备的工作模式进行调整。
  9. 根据权利要求8所述的终端,其特征在于,所述特征信息包括所述第二目标对象的性别信息,所述调整单元根据所述特征信息,对所述预设区域内的第二应用设备的工作模式进行调整时,具体用于:
    根据预设的识别算法,获取所述第二目标对象的性别信息;
    根据预先设置的不同性别信息与不同工作模式的对应关系,对所述第二应用设备的工作模式进行调整。
  10. 根据权利要求9所述的终端,其特征在于,所述调整单元根据预先设置的不同性别信息与不同工作模式的对应关系,对所述第二应用设备的工作模式进行调整时,具体用于:
    获取所述第二目标对象中女性目标对象的数量和男性目标对象的数量;
    如果检测到所述女性目标对象的数量大于所述男性目标对象的数量,则根据预先设置的不同女性目标对象的数量与不同工作模式的对应关系,确定与所述女性目标对象的数量对应的第一工作模式,并将所述第二应用设备的工作模式调整为所述第一工作模式;
    如果检测到所述女性目标对象的数量小于或等于所述男性目标对象的数量,则根据预先设置的不同男性目标对象的数量与不同工作模式的对应关系,确定与所述男性目标对象的数量对应的第二工作模式,并将所述第二应用设备的工作模式调整为所述第二工作模式。
  11. 根据权利要求8所述的终端,其特征在于,所述特征信息包括所述第二目标对象的数量,所述调整单元根据所述特征信息,对所述预设区域内的第二应用设备的工作模式进行调整时,具体用于:
    根据预先设置的不同数量与不同工作模式的对应关系,确定与所述第二目标对象的数量对应的第三工作模式;
    将所述第二应用设备的工作模式调整为所述第三工作模式。
  12. 根据权利要求8所述的终端,其特征在于,所述第一获取单元获取所述摄像装置在所述旋转部件旋转过程中采集到的预设区域内的第一图像之前,还用于:
    确定所述机器人的位置信息以及所述预设区域的位置信息;
    根据所述机器人的位置信息以及所述预设区域的位置信息,确定所述机器人的旋转部件的第一旋转角度范围;
    控制所述机器人的旋转部件按照所述第一旋转角度范围进行旋转;
    所述第一获取单元获取所述摄像装置在所述旋转部件旋转过程中采集到的预设区域内的第一图像时,具体用于:
    获取所述摄像装置在所述第一旋转角度范围采集到的所述预设区域内的第一图像。
  13. 根据权利要求8所述的终端,其特征在于,所述检测单元检测所述预设区域内的目标区域中是否存在第二目标对象时,具体用于:
    检测所述第一图像中是否存在所述目标区域;
    如果检测到所述第一图像中存在所述目标区域,则检测所述目标区域中是否存在所述第二目标对象,其中,所述第一目标对象包括所述第二目标对象。
  14. 根据权利要求8所述的终端,其特征在于,所述检测单元检测所述预设区域内的目标区域中是否存在第二目标对象之前,还用于:
    确定所述机器人的位置信息以及所述目标区域的位置信息;
    根据所述机器人的位置信息和所述目标区域的位置信息,确定所述机器人的旋转部件的第二旋转角度范围;
    控制所述机器人的旋转部件按照所述第二旋转角度范围进行旋转;
    获取所述摄像装置在所述第二旋转角度范围采集到的与所述目标区域对应的第二图像;
    所述检测所述预设区域内的目标区域中是否存在第二目标对象,包括:
    检测所述第二图像中是否存在所述第二目标对象。
  15. 一种控制终端,其特征在于,包括处理器、输入设备、输出设备和存储器,所述处理器、输入设备、输出设备和存储器相互连接,其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,用于执行:
    获取所述摄像装置在所述旋转部件的旋转路径上采集到的预设区域内的第一图像,其中,所述旋转路径是根据预设的控制规则控制所述旋转部件旋转的路径;
    如果检测到所述第一图像中存在第一目标对象,则开启所述预设区域的第一应用设备,并检测所述预设区域内的目标区域中是否存在第二目标对象;
    如果检测到所述目标区域中存在所述第二目标对象,则获取所述第二目标对象的特征信息;
    根据所述特征信息,对所述预设区域内的第二应用设备的工作模式进行调整。
  16. 根据权利要求15所述的终端,其特征在于,所述特征信息包括所述第二目标对象的性别信息,所述处理器根据所述特征信息,对所述预设区域内的第二应用设备的工作模式进行调整时,具体用于:
    根据预设的识别算法,获取所述第二目标对象的性别信息;
    根据预先设置的不同性别信息与不同工作模式的对应关系,对所述第二应用设备的工作模式进行调整。
  17. 根据权利要求16所述的终端,其特征在于,所述处理器根据预先设置的不同性别信息与不同工作模式的对应关系,对所述第二应用设备的工作模式进行调整时,具体用于:
    获取所述第二目标对象中女性目标对象的数量和男性目标对象的数量;
    如果检测到所述女性目标对象的数量大于所述男性目标对象的数量,则根据预先设置的不同女性目标对象的数量与不同工作模式的对应关系,确定与所述女性目标对象的数量对应的第一工作模式,并将所述第二应用设备的工作模式调整为所述第一工作模式;
    如果检测到所述女性目标对象的数量小于或等于所述男性目标对象的数量,则根据预先设置的不同男性目标对象的数量与不同工作模式的对应关系,确定与所述男性目标对象的数量对应的第二工作模式,并将所述第二应用设备的工作模式调整为所述第二工作模式。
  18. 根据权利要求15所述的终端,其特征在于,所述特征信息包括所述第二目标对象的数量,所述处理器根据所述特征信息,对所述预设区域内的第二应用设备的工作模式进行调整时,具体用于:
    根据预先设置的不同数量与不同工作模式的对应关系,确定与所述第二目标对象的数量对应的第三工作模式;
    将所述第二应用设备的工作模式调整为所述第三工作模式。
  19. 根据权利要求15所述的终端,其特征在于,所述处理器还用于执行权利要求5-7任一项所述的方法。
  20. 一种计算机可读存储介质,其特征在于,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行如权利要求1-7任一项所述的方法。
PCT/CN2018/108666 2018-07-27 2018-09-29 一种设备控制方法、终端及计算机可读存储介质 WO2020019508A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810852620.6 2018-07-27
CN201810852620.6A CN109063635A (zh) 2018-07-27 2018-07-27 一种设备控制方法、终端及计算机可读介质

Publications (1)

Publication Number Publication Date
WO2020019508A1 true WO2020019508A1 (zh) 2020-01-30

Family

ID=64831571

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/108666 WO2020019508A1 (zh) 2018-07-27 2018-09-29 一种设备控制方法、终端及计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN109063635A (zh)
WO (1) WO2020019508A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111413881A (zh) * 2020-03-31 2020-07-14 佛山市云米电器科技有限公司 一种采集系统、智能出风系统及其混合式控制方法

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110991213A (zh) * 2019-05-14 2020-04-10 杨春燕 自动化大数据分配平台
CN114742960A (zh) * 2021-02-08 2022-07-12 追觅创新科技(苏州)有限公司 目标对象的躲避方法及装置、存储介质、电子装置
CN117593949B (zh) * 2024-01-19 2024-03-29 成都金都超星天文设备有限公司 一种用于天象仪运行演示天象的控制方法、设备及介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104180469A (zh) * 2013-05-23 2014-12-03 海尔集团公司 一种空调器智能控制方法及采用所述方法的空调器
US20150073568A1 (en) * 2013-09-10 2015-03-12 Kt Corporation Controlling electronic devices based on footstep pattern
CN106247558A (zh) * 2016-08-25 2016-12-21 珠海格力电器股份有限公司 空调器的控制方法和装置
CN106302562A (zh) * 2015-05-12 2017-01-04 上海瑛世得信息科技有限公司 家电的远程控制系统及其控制方法
CN107479471A (zh) * 2017-09-13 2017-12-15 长沙展朔轩兴信息科技有限公司 远程遥控的家用机器人的方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104180469A (zh) * 2013-05-23 2014-12-03 海尔集团公司 一种空调器智能控制方法及采用所述方法的空调器
US20150073568A1 (en) * 2013-09-10 2015-03-12 Kt Corporation Controlling electronic devices based on footstep pattern
CN106302562A (zh) * 2015-05-12 2017-01-04 上海瑛世得信息科技有限公司 家电的远程控制系统及其控制方法
CN106247558A (zh) * 2016-08-25 2016-12-21 珠海格力电器股份有限公司 空调器的控制方法和装置
CN107479471A (zh) * 2017-09-13 2017-12-15 长沙展朔轩兴信息科技有限公司 远程遥控的家用机器人的方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111413881A (zh) * 2020-03-31 2020-07-14 佛山市云米电器科技有限公司 一种采集系统、智能出风系统及其混合式控制方法
CN111413881B (zh) * 2020-03-31 2023-08-22 佛山市云米电器科技有限公司 一种采集系统、智能出风系统及其混合式控制方法

Also Published As

Publication number Publication date
CN109063635A (zh) 2018-12-21

Similar Documents

Publication Publication Date Title
WO2020019508A1 (zh) 一种设备控制方法、终端及计算机可读存储介质
WO2018049782A1 (zh) 一种家电控制方法、装置、系统及智能空调
CN105045140B (zh) 智能控制受控设备的方法和装置
CN103940035B (zh) 空调送风控制方法和控制系统
CN100357670C (zh) 智能送风空调及智能送风方法
JP2007107782A (ja) 空調制御システムおよび空調制御装置
KR101812668B1 (ko) 스마트 홈 기기 제어방법, 장치, 프로그램 및 기록매체
US20220244710A1 (en) Information processing device and information processing method
JP2019054383A (ja) 監視カメラシステム及び監視方法
CN111487889A (zh) 控制智能设备的方法、装置、设备、控制系统及存储介质
WO2021073400A1 (zh) 一种空调控制方法、装置、设备和存储介质
CN108644976B (zh) 空调器的控制方法和装置
CN107560080A (zh) 空调控制方法及控制装置
EP4195651A1 (en) Photographing device stabilizer
WO2023138063A1 (zh) 家居巡检方法、非易失性可读存储介质和计算机设备
JP2015087102A (ja) 機器管理システム、機器管理装置、制御方法及びプログラム
CN110531653A (zh) 一种控制方法、装置和用于控制的装置
JP6159576B2 (ja) 制御装置及びプログラム
JP6316102B2 (ja) 調整端末、調整方法及びコンピュータプログラム
WO2016079891A1 (en) Monitoring system
CN112923526B (zh) 温度调节方法、风扇、系统和存储介质
JP7262978B2 (ja) セキュリティシステム、制御装置、空調機、威嚇方法、及び、プログラム
JP2022117761A (ja) センサシステム、画像センサ、サーバ装置、センシング方法、およびプログラム
CN113093589A (zh) 一种智慧建筑内分布式最小场景控制系统
JP2015156125A (ja) 住宅環境構築システム

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: 18927642

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17.05.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18927642

Country of ref document: EP

Kind code of ref document: A1