WO2021003875A1 - Control method, controller, terminal and storage medium - Google Patents

Control method, controller, terminal and storage medium Download PDF

Info

Publication number
WO2021003875A1
WO2021003875A1 PCT/CN2019/111734 CN2019111734W WO2021003875A1 WO 2021003875 A1 WO2021003875 A1 WO 2021003875A1 CN 2019111734 W CN2019111734 W CN 2019111734W WO 2021003875 A1 WO2021003875 A1 WO 2021003875A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminals
target environment
information
location information
mobile terminal
Prior art date
Application number
PCT/CN2019/111734
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 WO2021003875A1 publication Critical patent/WO2021003875A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Selective Calling Equipment (AREA)
  • Telephone Function (AREA)

Abstract

A control method, comprising: acquiring location information and working state information, in a target environment, of at least two terminals (S101); on the basis of the location information, in the target environment, of at least some terminals of the at least two terminals, determining a relative location relationship between the at least some terminals (S102); and on the basis of the relative position relationship between the at least some terminals and the working state information of at least one terminal of the at least some terminals, generating a control instruction for the at least one terminal of the at least some terminals, and sending the control instruction (S103). Further disclosed are a controller, a terminal and a storage medium.

Description

一种控制方法、控制器、终端及存储介质Control method, controller, terminal and storage medium
相关申请的交叉引用Cross references to related applications
本申请基于申请号为201910611805.2,申请日为2019年07月08日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is filed based on a Chinese patent application with an application number of 201910611805.2 and an application date of July 08, 2019, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated into this application by reference.
技术领域Technical field
本申请涉及信息技术领域,尤其涉及一种控制方法、控制器、终端及存储介质。This application relates to the field of information technology, and in particular to a control method, controller, terminal and storage medium.
背景技术Background technique
随着物联网技术的发展,智能终端变得不再陌生,越来越多的智能终端出现在人们的日常生活中。例如,智能电视、智能垃圾桶、智能穿戴设备、智能播放设备以及智能清洁机器人等。智能终端可以与网络连接,不同的智能终端也可以通过网络实现互联。但是,在现有技术中,并不能对目标环境中各智能终端的位置信息进行监测。那么,就可能出现智能终端因为位置信息发生改变,以及工作状态发生改变的情况,从而影响用户的体验。With the development of the Internet of Things technology, smart terminals are no longer unfamiliar, and more and more smart terminals appear in people's daily lives. For example, smart TVs, smart trash cans, smart wearable devices, smart playback devices, and smart cleaning robots. Smart terminals can be connected to the network, and different smart terminals can also be interconnected through the network. However, in the prior art, the location information of each smart terminal in the target environment cannot be monitored. Then, it may happen that the position information of the smart terminal is changed, and the working status is changed, thereby affecting the user experience.
发明内容Summary of the invention
有鉴于此,本申请实施例期望提供一种控制方法、控制器、终端及存储介质,旨在解决现有技术中存在的上述问题。In view of this, the embodiments of the present application expect to provide a control method, a controller, a terminal, and a storage medium to solve the above-mentioned problems in the prior art.
为达到上述目的,本申请实施例的技术方案是这样实现的:In order to achieve the foregoing objectives, the technical solutions of the embodiments of the present application are implemented as follows:
本申请实施例提供一种控制方法,应用于控制器,所述方法包括:The embodiment of the present application provides a control method applied to a controller, and the method includes:
获取至少两个终端在目标环境中的位置信息及工作状态信息;Obtaining location information and working status information of at least two terminals in the target environment;
基于所述至少两个终端中的至少部分终端在所述目标环境中的位置信息,确定所述至少部分终端之间的相对位置关系;Determine the relative position relationship between the at least some of the at least two terminals based on the location information of at least some of the at least two terminals in the target environment;
基于所述至少部分终端之间的相对位置关系、及所述至少部分终端中的至少一个终端的工作状态信息,生成针对所述至少部分终端中的至少一个终端的控制指令,并发送所述控制指令。Based on the relative position relationship between the at least some of the terminals and the working status information of at least one of the at least some of the terminals, generate a control instruction for at least one of the at least some of the terminals, and send the control instruction.
本申请实施例提供一种控制方法,应用于第一移动终端,所述方法包括:The embodiment of the present application provides a control method applied to a first mobile terminal, and the method includes:
采集在目标环境中的至少两个终端的位置信息;Collect location information of at least two terminals in the target environment;
获取所述目标环境中的至少两个终端的工作状态信息;Acquiring working status information of at least two terminals in the target environment;
发送在所述目标环境中的所述至少两个终端的位置信息及工作状态信息至控制器;Sending location information and working status information of the at least two terminals in the target environment to the controller;
接收所述控制器发送的控制指令。Receiving a control instruction sent by the controller.
本申请实施例提供还一种控制器,所述控制器包括:第一获取模块、确定模块和处理模块;其中,The embodiment of the present application provides another controller, the controller includes: a first acquisition module, a determination module, and a processing module; wherein,
所述第一获取模块,用于获取至少两个终端在目标环境中的位置信息及工作状态信息;The first acquiring module is configured to acquire location information and working status information of at least two terminals in the target environment;
所述确定模块,用于基于所述至少两个终端中的至少部分终端在所述目标环境中的位置信息,确定所述至少部分终端之间的相对位置关系;The determining module is configured to determine the relative positional relationship between the at least some of the terminals based on the location information of at least some of the at least two terminals in the target environment;
所述处理模块,用于基于所述至少部分终端之间的相对位置关系、及所述至少部分终端中的至少一个终端的工作状态信息,生成针对所述至少部分终端中的至少一个终端的控制指令,并发送所述控制指令。The processing module is configured to generate control for at least one of the at least some of the terminals based on the relative position relationship between the at least some of the terminals and the working status information of the at least one of the at least some of the terminals Command and send the control command.
本申请实施例提供还一种终端,所述终端包括:所述终端包括:采集模块、第二获取模块、发送模块和接收模块;其中,An embodiment of the present application provides a terminal, the terminal includes: the terminal includes: an acquisition module, a second acquisition module, a sending module, and a receiving module; wherein,
所述采集模块,用于采集在目标环境中的至少两个终端的位置信息;The collection module is used to collect location information of at least two terminals in the target environment;
所述第二获取模块,用于获取所述目标环境中的至少两个终端的工作状态信息;The second acquiring module is configured to acquire working status information of at least two terminals in the target environment;
所述发送模块,用于发送在所述目标环境中的所述至少两个终端的及工作状态信息位置信息至控制器;The sending module is configured to send location information of the at least two terminals in the target environment and working status information to the controller;
所述接收模块,用于接收所述控制器发送的控制指令。The receiving module is used to receive a control instruction sent by the controller.
本申请实施例还提供一种存储介质,其上存储有可执行程序,其特征在于,所述可执行程序被处理器执行时实现上述技术方案的步骤。An embodiment of the present application also provides a storage medium on which an executable program is stored, characterized in that, when the executable program is executed by a processor, the steps of the above technical solution are implemented.
本申请实施例提供的一种控制方法、控制器、终端及存储介质,获取至少两个终端在目标环境中的位置信息和工作状态信息,根据至少两个终端中的至少部分终端在所述目标环境中的位置信息,确定所述至少部分终端在所述目标环境中的相对位置关系,然后通过判定至少部分终端在所述目标环境中的相对位置关系、及所述至少部分终端中的至少一个终端的工作状态信息来确定是否向所述至少部分终端中的至少一个发送控制指令。可见,通过对目标环境中的终端位置信息及工作状态信息的监测,进而根据终端之间的相对位置关系及终端的工作状态信息所满足的条件,便可以确定是否向目标终端发送控制指令。可知,整个过程无需人为干预便实现了对终端的控制,有效的改善了用户体验。A control method, a controller, a terminal, and a storage medium provided by the embodiments of the present application obtain the location information and working status information of at least two terminals in a target environment, and according to the fact that at least some of the at least two terminals are in the target environment Location information in the environment, determine the relative location relationship of the at least some terminals in the target environment, and then determine the relative location relationship of at least some terminals in the target environment and at least one of the at least some terminals The working status information of the terminal is used to determine whether to send a control instruction to at least one of the at least part of the terminals. It can be seen that by monitoring the terminal location information and working status information in the target environment, and then according to the relative position relationship between the terminals and the conditions satisfied by the terminal working status information, it is possible to determine whether to send a control command to the target terminal. It can be seen that the whole process can realize the control of the terminal without human intervention, which effectively improves the user experience.
附图说明Description of the drawings
图1为本申请实施例的控制方法的实现流程示意图一;FIG. 1 is a schematic diagram 1 of the implementation process of the control method of the embodiment of the application;
图2为本申请实施例的控制方法的场景示意图;FIG. 2 is a schematic diagram of a scene of a control method according to an embodiment of the application;
图3(a)-图3(b)为本申请实施例的确定位置信息的场景示意图一;3(a)-FIG. 3(b) are schematic diagrams 1 of a scene for determining location information according to an embodiment of this application;
图4(a)-图4(b)为本申请实施例的确定位置信息的场景示意图二;4(a)-FIG. 4(b) are schematic diagrams 2 of a scene for determining location information according to an embodiment of the application;
图5为本申请实施例的控制方法的实现流程示意图二;FIG. 5 is a second schematic diagram of the implementation process of the control method according to the embodiment of the application;
图6(a)-图6(b)为本申请实施例的接收控制指令的示意图;6(a)-FIG. 6(b) are schematic diagrams of receiving control instructions according to an embodiment of the application;
图7为本申请实施例的控制器的组成结构示意图;FIG. 7 is a schematic diagram of the composition structure of a controller according to an embodiment of the application;
图8为本申请实施例的终端的组成结构示意图;FIG. 8 is a schematic diagram of the composition structure of a terminal according to an embodiment of the application;
图9为本申请实施例的通信设备的硬件结构示意图。FIG. 9 is a schematic diagram of the hardware structure of a communication device according to an embodiment of the application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚明白,下文中将结合附图对本申请实施例进行详细说明。In order to make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
实施例一、Example one
本申请实施例中,一种控制方法,应用于控制器,所述控制方法的实现流程示意图如图1所示,包括以下步骤:In the embodiment of the present application, a control method is applied to a controller. The implementation flow diagram of the control method is shown in Fig. 1, and includes the following steps:
S101:获取至少两个终端在目标环境中的位置信息及工作状态信息;S101: Acquire location information and working status information of at least two terminals in a target environment;
S102:基于所述至少两个终端中的至少部分终端在所述目标环境中的位置信息,确定所述至少部分终端之间的相对位置关系;S102: Based on the location information of at least some of the at least two terminals in the target environment, determine the relative position relationship between the at least some of the terminals;
S103:基于所述至少部分终端之间的相对位置关系、及所述至少部分终端中的至少一个终端的工作状态信息,生成针对所述至少部分终端中的至少一个终端的控制指令,并发送所述控制指令。S103: Based on the relative positional relationship between the at least some of the terminals and the working status information of the at least one of the at least some of the terminals, generate a control instruction for at least one of the at least some of the terminals, and send the The control instructions.
在本申请实施例中的步骤S101中,目标环境中的终端可以包括电视、电脑、扫地机器人、智能可穿戴设备、智能垃圾桶、电动窗帘、空调等。那么,有的终端便能够识别目标环境,有的终端自身却并不能识别目标环境。In step S101 in the embodiment of the present application, the terminals in the target environment may include TVs, computers, sweeping robots, smart wearable devices, smart trash cans, electric curtains, air conditioners, and the like. Then, some terminals can recognize the target environment, and some terminals themselves cannot recognize the target environment.
进一步的,所述获取至少两个终端在目标环境中的位置信息,包括以下至少之一:接收第一移动终端发来的自身在所述目标环境中的位置信息;其中,所述第一移动终端为至少两个终端中之一;接收第一移动终端发来的除所述第一移动终端外的其他终端中的至少部分终端在所述目标环境中的位置信息。Further, the acquiring location information of at least two terminals in the target environment includes at least one of the following: receiving location information of itself in the target environment sent by the first mobile terminal; wherein, the first mobile terminal The terminal is one of at least two terminals; receiving the location information of at least some of the terminals in the target environment from the first mobile terminal except the first mobile terminal.
其中,第一移动终端是能够识别目标环境、确定自身在目标环境中的位置信息的终端。进一步的,所述第一移动终端可以确定与所述目标环境中的至少两个参考物体的直线距离。其中,所述第一移动终端可以采用发射声波、光等方式,分别测量出与参考物体之间的直线距离。接下来,基于与所述至少两个参考物体的直线距离,确定自身在目标环境中的位置信息。具体的,在测量出与参考物体之间的直线距离的情况下,利用所述直线距离和所述参考物体之间的夹角,确定自身在目标环境中的位置信息。进而,控制器便可以直接接收从所述第一移动终端发来的所述第一移动终端在目标环境中的位置信息。Among them, the first mobile terminal is a terminal that can identify the target environment and determine its own location information in the target environment. Further, the first mobile terminal may determine a linear distance from at least two reference objects in the target environment. Wherein, the first mobile terminal may use methods such as emitting sound waves, light, etc., to respectively measure the linear distance to the reference object. Next, based on the linear distance from the at least two reference objects, the position information of the self in the target environment is determined. Specifically, in the case of measuring the linear distance from the reference object, the angle between the linear distance and the reference object is used to determine the position information of the self in the target environment. Furthermore, the controller can directly receive the location information of the first mobile terminal in the target environment sent from the first mobile terminal.
进一步的,所述其他终端中的至少部分终端在所述目标环境中的位置信息就需要所述第一移动终端来获取得到。具体的,所述第一移动终端获取所述除第一移动终端外的其他终端中的至少部分终端的特征识别信息。其中,所述特征识别信息至少包括所述其他终端中的至少部分终端的身份特征信息。接下来,所述第一移动终端采集所述其他终端中的至少部分终端在所述目标环境中的图像信息。具体的,所述第一终端利用深度摄像头、碰撞传感器等,采集所述其他终端中的至少部分终端所在的目标环境中的图像信息。进一步的,所述第一移动终端基于所述其他终端中的至少部分终端的特征识别信息和图像信息,确定所述其他终端中的至少部分终端在所述目标环境中的位置信息。然后,控制器接收来自所述第一移动终端发来的所述其他终端中的至少部分终端在目标环境中的位置信息。例如,目标环境的冰箱并不能识别目标环境,也就不能确定自身的位置信息,在这样的情况下,扫地机器人可以利用自身的深度摄像头及碰撞传感器对冰箱所在目标环境进行图像采集,通过提取冰箱的特征信息完成对冰箱的特征识别。进而根据采集到的图像信息和识别到的冰箱的特征标签,确定出冰箱在目标环境的位置信息,然后控制器便可以接收到扫地机器人处发来的冰箱的位置信息。Further, the location information of at least some of the other terminals in the target environment needs to be obtained by the first mobile terminal. Specifically, the first mobile terminal acquires characteristic identification information of at least some of the terminals other than the first mobile terminal. Wherein, the feature identification information includes at least identification feature information of at least some of the other terminals. Next, the first mobile terminal collects image information of at least some of the other terminals in the target environment. Specifically, the first terminal uses a depth camera, a collision sensor, etc., to collect image information in a target environment where at least some of the other terminals are located. Further, the first mobile terminal determines the location information of at least some of the other terminals in the target environment based on the feature identification information and image information of at least some of the other terminals. Then, the controller receives the location information of at least some of the other terminals in the target environment sent from the first mobile terminal. For example, the refrigerator in the target environment cannot recognize the target environment, and therefore cannot determine its own location information. In this case, the sweeping robot can use its own depth camera and collision sensor to collect images of the target environment where the refrigerator is located. The feature information completes the feature recognition of the refrigerator. Then, according to the collected image information and the identified feature tags of the refrigerator, the location information of the refrigerator in the target environment is determined, and then the controller can receive the location information of the refrigerator sent by the cleaning robot.
进一步的,所述第一移动终端能够识别目标环境、确定自身工作状态,则控制器可以直接获取到第一移动终端在所述目标环境中的工作状态。这里,所述其他终端中的至少部分终端在所述目标环境中的工作状态信息需要所述第一移动终端来获取得到,控制器接收来自所述第一终端发来的所述其他终端中的至少部分终端在所述目标环境中的工作状态信息。比如,扫地机器人通过摄像头和碰撞传感器获取到冰箱的工作状态,然后控制器接收来自扫地机器人发送的冰箱的工作状态并保存。进一步的,当所述其他终端中的至少部分终端中的至少一个终端的工作状态发生改变时,控制器向所述其他终端中的至少部分终端中的至少一个终端发送控制指令。Further, if the first mobile terminal can identify the target environment and determine its own working state, the controller can directly obtain the working state of the first mobile terminal in the target environment. Here, the working status information of at least some of the other terminals in the target environment needs to be obtained by the first mobile terminal, and the controller receives the information from the other terminals sent from the first terminal. Information about the working status of at least part of the terminal in the target environment. For example, the cleaning robot obtains the working status of the refrigerator through the camera and the collision sensor, and then the controller receives and saves the working status of the refrigerator sent from the cleaning robot. Further, when the working state of at least one of the at least some of the other terminals changes, the controller sends a control instruction to at least one of the at least some of the other terminals.
进一步的,控制器预先设定一个时间间隔,比如:10毫秒、30毫秒等。这里,所述时间间隔可以根据实际环境进行调整。在设置好所述时间间隔后,在每个时间间隔内,获取一次所述至少两个终端在目标环境中的位置信息及工作状态信息,以使得所述控制器能够不断更新所述至少两个终端在目标环境的位置信息及工作状态信息。这里,所述控制器可以位于云端服务器中,也可以在本地实体设备中。比如,控制器位于扫地机器人中。Further, the controller presets a time interval, such as 10 milliseconds, 30 milliseconds, and so on. Here, the time interval can be adjusted according to the actual environment. After the time interval is set, the location information and working status information of the at least two terminals in the target environment are acquired once in each time interval, so that the controller can continuously update the at least two terminals. Terminal location information and working status information in the target environment. Here, the controller can be located in a cloud server, or in a local physical device. For example, the controller is located in a sweeping robot.
在步骤S102中,控制器基于所述至少两个终端中的至少部分终端在目标环境的位置信息,确定所述至少部分终端之间的相对位置关系。具体的,控制器根据所述至少两个终端中的至少部分终端在目标环境的位置信息,通过计算得到所述至少部分终端之间的相对距离。In step S102, the controller determines the relative positional relationship between at least some of the at least two terminals based on the location information of at least some of the at least two terminals in the target environment. Specifically, the controller obtains the relative distance between the at least some of the terminals through calculation according to the location information of the at least some of the at least two terminals in the target environment.
在步骤S103中,基于所述至少部分终端之间的相对位置关系、及所述至少部分终端中 的至少一个终端的工作状态信息,生成针对所述至少部分终端中的至少一个终端的控制指令,并发送所述控制指令。具体的,控制器在所述至少部分终端之间的相对位置关系达到预设条件、并且所述至少部分终端中的至少一个终端的工作状态发生改变的情况下,生成针对所述至少部分终端中的至少一个终端的控制指令,并发送所述控制给所述至少部分终端中的至少一个终端。进一步的,控制器内对所述目标环境的终端之间的相对位置关系均有预设值,当通过监测得到所述至少部分终端在目标环境的相对位置关系后,将所述至少部分终端在目标环境的相对位置关系与控制器中的所述预设值进行比较便可判断所述至少部分终端之间的相对位置关系是否达到预设条件。In step S103, based on the relative positional relationship between the at least some of the terminals and the working status information of the at least one of the at least some of the terminals, a control instruction for at least one of the at least some of the terminals is generated, And send the control instruction. Specifically, when the relative positional relationship between the at least some of the terminals reaches a preset condition, and the working state of at least one of the at least some of the terminals is changed, the controller generates information for the at least some of the terminals. And send the control instruction to at least one of the at least some terminals. Further, the relative position relationship between the terminals in the target environment has a preset value in the controller, and when the relative position relationship of the at least part of the terminals in the target environment is obtained through monitoring, the at least part of the terminals is By comparing the relative position relationship of the target environment with the preset value in the controller, it can be determined whether the relative position relationship between at least some of the terminals meets the preset condition.
下面结合一个实例,对家居环境中控制过程进行详细描述。The following describes in detail the control process in the home environment with an example.
如图2所示,室内分布有电视、电脑、冰箱、空调、扫地机器人等家电设备。并且,室内的用户身上佩戴有蓝牙耳机播放器。这里,控制器位于扫地机器人内,用以控制室内所有的终端。As shown in Figure 2, home appliances such as TVs, computers, refrigerators, air conditioners, and sweeping robots are distributed indoors. In addition, indoor users wear Bluetooth headset players. Here, the controller is located in the sweeping robot to control all the terminals in the room.
进一步的,电脑与蓝牙耳机通过网络连接,通过蓝牙耳机播放电脑中的歌曲。扫地机器人中的控制器每15秒钟获取一次包括电脑和蓝牙耳机在内的室内终端的位置信息及蓝牙耳机的工作状态信息。进一步的,扫地机器人能够获取到自身的工作状态信息、以及电脑和蓝牙耳机的工作状态信息。Further, the computer and the Bluetooth headset are connected via a network, and the songs in the computer are played through the Bluetooth headset. The controller in the sweeping robot obtains the location information of the indoor terminal including the computer and the Bluetooth headset and the working status information of the Bluetooth headset every 15 seconds. Further, the sweeping robot can obtain its own working status information, as well as the working status information of the computer and the Bluetooth headset.
其中,可以通过扫地机器人获取到电脑和蓝牙耳机的位置信息,然后控制器接收来自扫地机器人发送的电脑和蓝牙耳机的位置信息。具体的,扫地机器人获取所述电脑蓝牙耳机的特征信息,然后将所述特征信息上传至服务器进行信息比对,最终完成对所述电脑和蓝牙耳机的特征识别。其中,所述特征识别信息至少包括所述电脑和蓝牙耳机的身份特征信息。然后,如图3所示,所述扫地机器人利用深度摄像头对所述电脑和蓝牙耳机进行拍照,采集所述电脑和蓝牙耳机在室内的图像信息。其中,所述图像信息中包含各物体之间的距离信息。如图3(a)所示,图像信息包含有扫地机器人到墙壁的距离和扫地机器人到电脑的距离,从而确定电脑到相邻的两个墙壁的距离。同样的,从图3(b)中也能够确定蓝牙耳机到相邻的两个墙壁的距离。这样,便可以根据所述图像信息确定所述电脑和蓝牙耳机在室内的具体位置信息。此时,所述电脑和蓝牙耳机中的位置信息与所述电脑和蓝牙耳机的特征识别信息是相关联的。Among them, the location information of the computer and the Bluetooth headset can be obtained through the cleaning robot, and then the controller receives the location information of the computer and the Bluetooth headset sent from the cleaning robot. Specifically, the cleaning robot obtains the characteristic information of the computer Bluetooth headset, and then uploads the characteristic information to a server for information comparison, and finally completes the characteristic recognition of the computer and the Bluetooth headset. Wherein, the characteristic identification information includes at least the identity characteristic information of the computer and the Bluetooth headset. Then, as shown in FIG. 3, the sweeping robot uses a depth camera to take pictures of the computer and the Bluetooth headset, and collects indoor image information of the computer and the Bluetooth headset. Wherein, the image information includes distance information between objects. As shown in Figure 3(a), the image information includes the distance between the cleaning robot and the wall and the distance between the cleaning robot and the computer, so as to determine the distance between the computer and two adjacent walls. Similarly, from Figure 3(b), the distance from the Bluetooth headset to two adjacent walls can also be determined. In this way, the specific indoor location information of the computer and the Bluetooth headset can be determined according to the image information. At this time, the location information in the computer and the Bluetooth headset is associated with the feature identification information of the computer and the Bluetooth headset.
进一步的,如图4(a)和图4(b)所示,所述扫地机器人可以获取自身在室内的位置信息。具体的,所述扫地机器人可以发射激光,然后通过记录从发射光线到接收到反射光线的时间,从而测量出自身到两个相邻墙壁的直线距离,由于相邻的两个墙壁之间的夹角是90度,那么根据与所述两个相邻墙壁直接的直线距离,确定自身在室内的位置信息。进一步的,由于机器人发射激光的角度是随机的,那么便可能出现打在室内参考物体上的情况,并且 接收到激光的物体之间也会有不同的角度。这样的情况下,同样是可以通过扫地机器人通过发射到接收激光的时间,确定出扫地机器人到达参考物体之间的直线距离。然后根据参考物体之间的夹角、各自在室内的位置信息、以及扫地机器人到达参考物体之间的直线距离,通过计算,确定出扫地机器人在室内的位置信息。进一步的,控制器预先设定电脑和蓝牙耳机的最大相对距离为3米。即,蓝牙耳机位于以电脑为中心,半径为二者之间相对距离的范围内。那么,在室内的用户携带蓝牙耳机收听歌曲的情况下,当控制器检测到电脑和蓝牙耳机之间的相对距离大于3米时,蓝牙耳机工作状态改变、将不能正常播放歌曲。并且,检测到扫地机器人和蓝牙耳机之间的相对距离同样大于3米。这种情况下,控制器便会向扫地机器人发送控制指令,使得扫地机器人对用户进行跟随,保证扫地机器人与携带蓝牙耳机的用户之间的相对距离小于3米。这样,扫地机器人将缓存的播放数据发送至蓝牙耳机,保证蓝牙耳机进行歌曲的正常播放。Further, as shown in Fig. 4(a) and Fig. 4(b), the cleaning robot can obtain its own indoor position information. Specifically, the sweeping robot can emit laser light, and then measure the linear distance between itself and two adjacent walls by recording the time from emitting light to receiving reflected light. Due to the clamping between two adjacent walls The angle is 90 degrees, then according to the direct linear distance from the two adjacent walls, the indoor position information of the self is determined. Furthermore, since the angle at which the robot emits the laser light is random, it may hit the indoor reference object, and there will be different angles between the objects receiving the laser light. In this case, it is also possible to determine the linear distance between the sweeping robot and the reference object by the time between the sweeping robot launching and receiving the laser. Then according to the angle between the reference objects, their respective indoor location information, and the linear distance between the cleaning robot to the reference object, through calculation, the indoor location information of the cleaning robot is determined. Further, the controller presets the maximum relative distance between the computer and the Bluetooth headset as 3 meters. That is, the Bluetooth headset is located in a range centered on the computer and the radius is the relative distance between the two. Then, in the case of indoor users carrying Bluetooth headsets to listen to songs, when the controller detects that the relative distance between the computer and the Bluetooth headset is greater than 3 meters, the working state of the Bluetooth headset changes and the song cannot be played normally. Moreover, it is detected that the relative distance between the sweeping robot and the Bluetooth headset is also greater than 3 meters. In this case, the controller will send a control command to the sweeping robot to make the sweeping robot follow the user to ensure that the relative distance between the sweeping robot and the user wearing the Bluetooth headset is less than 3 meters. In this way, the sweeping robot sends the buffered playback data to the Bluetooth headset to ensure the normal playback of the song by the Bluetooth headset.
本实施例中,控制器通过监测终端的位置信息、及工作状态信息,实现了对所述终端的控制。在确定终端在目标环境中的位置信息后,进而确定所述终端在目标环境中的相对位置关系,在所述终端在目标环境中的相对位置关系达到预设条件并且所述终端中的至少一个终端的工作状态发生改变的情况下,控制器生成针对所述终端中的至少一个终端的控制指令,并发送所述控制指令至终端中的至少一个终端。上述操作均无需人为干预,可以有效地改善了用户体验。In this embodiment, the controller realizes the control of the terminal by monitoring the location information and working status information of the terminal. After the location information of the terminal in the target environment is determined, the relative location relationship of the terminal in the target environment is determined, where the relative location relationship of the terminal in the target environment reaches a preset condition and at least one of the terminals When the working state of the terminal changes, the controller generates a control instruction for at least one of the terminals, and sends the control instruction to at least one of the terminals. The above operations do not require human intervention, which can effectively improve the user experience.
实施例二、Embodiment two
本申请实施例中,一种控制方法,应用于第一移动终端,所述控制方法的实现流程示意图如图5所示,包括以下步骤:In the embodiment of the present application, a control method is applied to a first mobile terminal. The implementation flow diagram of the control method is shown in FIG. 5, and includes the following steps:
S501:采集在目标环境中的至少两个终端的位置信息;S501: Collect location information of at least two terminals in the target environment;
S502:获取所述目标环境中的至少两个终端的工作状态信息;S502: Acquire working status information of at least two terminals in the target environment;
S503:发送在所述目标环境中的所述至少两个终端的位置信息及工作状态信息至控制器;S503: Send location information and working status information of the at least two terminals in the target environment to the controller;
S504:接收所述控制器发送的控制指令。S504: Receive a control instruction sent by the controller.
在本申请实施例中的步骤S501中,目标环境中的终端可以包括电视、电脑、扫地机器人、智能可穿戴设备、智能垃圾桶、电动窗帘、空调等。In step S501 in the embodiment of the present application, the terminals in the target environment may include TVs, computers, sweeping robots, smart wearable devices, smart trash cans, electric curtains, air conditioners, and the like.
这里,目标环境中的第一移动终端便能够识别目标环境、确定在所述目标环境中的位置信息;进一步的,所述第一移动终端采集在目标环境中的位置信息。其中,第一移动终端可以确定与所述目标环境中的至少两个参考物体的直线距离。其中,所述第一移动终端可以采用发射声波、光等方式,分别测量出与参考物体之间的直线距离。接下来,基于与所述至少两个参考物体的直线距离,确定自身在目标环境中的位置信息。其中,在测量出 与参考物体之间的直线距离的情况下,利用所述直线距离和所述参考物体之间的夹角,确定自身在目标环境中的位置信息。Here, the first mobile terminal in the target environment can recognize the target environment and determine location information in the target environment; further, the first mobile terminal collects location information in the target environment. Wherein, the first mobile terminal can determine the linear distance from at least two reference objects in the target environment. Wherein, the first mobile terminal may use methods such as emitting sound waves, light, etc., to respectively measure the linear distance to the reference object. Next, based on the linear distance from the at least two reference objects, the position information of the self in the target environment is determined. Wherein, in the case of measuring the straight-line distance to the reference object, the angle between the straight-line distance and the reference object is used to determine its own position information in the target environment.
这里,所述其他终端中的至少部分终端在所述目标环境中的位置信息就需要所述第一移动终端来获取得到。具体的,所述第一移动终端获取所述除第一移动终端外的其他终端中的至少部分终端的特征识别信息。其中,所述特征识别信息至少包括所述其他终端中的至少部分终端的身份特征信息。接下来,所述第一移动终端采集所述其他终端中的至少部分终端在所述目标环境中的图像信息。具体的,所述第一移动终端利用深度摄像头、碰撞传感器等,采集所述其他终端中的至少部分终端所在的目标环境中的图像信息。进一步的,所述第一移动终端基于所述其他终端中的至少部分终端的特征识别信息和图像信息,确定所述其他终端中的至少部分终端在所述目标环境中的位置信息。Here, the location information of at least some of the other terminals in the target environment needs to be obtained by the first mobile terminal. Specifically, the first mobile terminal acquires characteristic identification information of at least some of the terminals other than the first mobile terminal. Wherein, the feature identification information includes at least identification feature information of at least some of the other terminals. Next, the first mobile terminal collects image information of at least some of the other terminals in the target environment. Specifically, the first mobile terminal uses a depth camera, a collision sensor, etc., to collect image information in a target environment where at least some of the other terminals are located. Further, the first mobile terminal determines the location information of at least some of the other terminals in the target environment based on the feature identification information and image information of at least some of the other terminals.
进一步的,第一移动终端可以预先设定一个时间间隔,比如:10毫秒、30毫秒等。这里,所述时间间隔可以根据实际环境进行调整。在设置好所述时间间隔后,在每个时间间隔内,采集一次在目标环境中位置信息,以使得所述控制器能够不断更新终端在目标环境中的位置信息。Further, the first mobile terminal may preset a time interval, such as 10 milliseconds, 30 milliseconds, and so on. Here, the time interval can be adjusted according to the actual environment. After the time interval is set, the position information in the target environment is collected once in each time interval, so that the controller can continuously update the position information of the terminal in the target environment.
在步骤S502中,第一移动终端获取所述目标环境中的至少两个终端的工作状态信息。具体的,所述第一移动终端直接获取自身在所述目标环境中的工作状态信息。所述第一移动终端可以监测到除所述第一移动终端外的其他终端中的至少部分终端在所述目标环境中的工作状态信息,进而获取所述其他终端中的至少部分终端在所述目标环境中的工作状态信息。例如,扫地机器人可以直接获取自身的工作状态信息,还可以监测到电脑、蓝牙耳机的工作状态信息,进而获取所述电脑、蓝牙耳机的工作状态信息。In step S502, the first mobile terminal acquires working status information of at least two terminals in the target environment. Specifically, the first mobile terminal directly obtains its own working status information in the target environment. The first mobile terminal can monitor the working status information of at least some of the other terminals in the target environment in addition to the first mobile terminal, and then obtain that at least some of the other terminals are in the target environment. Work status information in the target environment. For example, the sweeping robot can directly obtain its own working status information, and can also monitor the working status information of the computer and the Bluetooth headset, and then obtain the working status information of the computer and the Bluetooth headset.
在步骤S503中,第一移动终端发送在所述目标环境中的所述至少两个终端的位置信息及工作状态信息至控制器。具体的,第一移动终端将采集到的所述位置信息、所述终端的特征识别信息、及工作状态信息,以数据流的形式上传至控制器。这样,控制器在接收到所述位置信息的时候可以明确的知道所述位置信息对应于哪个终端、并且可以知道所述终端的当前的工作状态,使得所述位置信息、所述工作状态信息和所述终端能够对应起来存储在控制器中。例如,扫地机器人将自身的位置信息、工作状态信息和特征识别信息一同上传至控制器,控制器在存储信息时便可将扫地机器人及其位置信息对应存储起来,并且掌握扫地机器人当前的工作状态信息。In step S503, the first mobile terminal sends location information and working status information of the at least two terminals in the target environment to the controller. Specifically, the first mobile terminal uploads the collected location information, characteristic identification information of the terminal, and working status information to the controller in the form of a data stream. In this way, when the controller receives the location information, it can clearly know which terminal the location information corresponds to, and can know the current working status of the terminal, so that the location information, the working status information and The terminal can be stored in the controller correspondingly. For example, a sweeping robot uploads its own position information, working status information, and feature identification information to the controller. The controller can store the sweeping robot and its position information when storing the information, and grasp the current working status of the sweeping robot information.
在步骤S504中,接收所述控制器发送的控制指令。In step S504, a control instruction sent by the controller is received.
这里,在接收到控制器发送的针对目标环境中的至少一个终端的控制指令后,基于所述控制指令进行相应的处理。例如,当扫地机器人接收到跟随蓝牙耳机的指令后,便会向蓝牙耳机移动,并保持自身与蓝牙耳机之间的距离在预设范围内,保证蓝牙耳机能够正常 播放。Here, after receiving a control instruction for at least one terminal in the target environment sent by the controller, corresponding processing is performed based on the control instruction. For example, when the sweeping robot receives the instruction to follow the Bluetooth headset, it will move to the Bluetooth headset and keep the distance between itself and the Bluetooth headset within a preset range to ensure that the Bluetooth headset can play normally.
这里,针对目标环境中的不同终端,根据所述终端的位置信息的不同、及工作状态的不同,会接收到控制器发送的不同的控制指令。Here, for different terminals in the target environment, different control instructions sent by the controller will be received according to different location information of the terminals and different working states.
例如,在图6(a)中,扫地机器人采集并发送空调和智能手环的位置信息至控制器,当控制器判断空调和用户佩戴的智能手环的距离小于等于5米的情况下,空调接收到控制器发来的开启指令,打开空调;当控制器判断空调和用户佩戴的智能手环的距离大于5米的情况下,空调接收到控制器发来的关闭指令,关闭空调。For example, in Figure 6(a), the sweeping robot collects and sends location information of the air conditioner and smart bracelet to the controller. When the controller determines that the distance between the air conditioner and the smart bracelet worn by the user is less than or equal to 5 meters, the air conditioner Receive the turn-on instruction from the controller to turn on the air conditioner; when the controller determines that the distance between the air conditioner and the smart bracelet worn by the user is greater than 5 meters, the air conditioner receives the turn off instruction from the controller to turn off the air conditioner.
在图6(b)中,扫地机器人采集并发送电脑和蓝牙耳机的位置信息,当控制器判断蓝牙耳机移动到距离电脑之间3米之外时,蓝牙耳机不能正常播放。并且,扫地机器人与蓝牙耳机之间的相对距离也大于3米,则扫地机器人接收到控制器发来的控制指令,使得扫地机器人对蓝牙耳机进行跟随移动,并保持与蓝牙耳机小于3米的距离;当控制器判断蓝牙耳机移动到距离电脑之间3米之内时,蓝牙耳机可以正常播放,则扫地机器人接收到控制器发来的控制指令,使得扫地机器人对蓝牙暂停跟随移动。In Figure 6(b), the sweeping robot collects and sends the position information of the computer and the Bluetooth headset. When the controller determines that the Bluetooth headset moves 3 meters away from the computer, the Bluetooth headset cannot play normally. In addition, if the relative distance between the sweeping robot and the Bluetooth headset is also greater than 3 meters, the sweeping robot receives the control command from the controller, so that the sweeping robot follows the Bluetooth headset and keeps a distance of less than 3 meters from the Bluetooth headset. ; When the controller judges that the Bluetooth headset moves within 3 meters from the computer, the Bluetooth headset can play normally, and the sweeping robot receives the control command from the controller, so that the sweeping robot pauses and follows the movement of the Bluetooth.
本实施例中,第一移动终端采集在目标环境中的位置信息,获取所述目标环境中的至少两个终端的工作状态信息之后,将所述位置信息及工作状态信息发送至控制器,并接收所述控制器发送的控制指令。可见,第一移动终端能够实现自动确定位置,并接收控制指令,并进行相应的操作,改善了用户体验。In this embodiment, the first mobile terminal collects location information in the target environment, and after acquiring the working status information of at least two terminals in the target environment, sends the location information and working status information to the controller, and Receiving a control instruction sent by the controller. It can be seen that the first mobile terminal can automatically determine the location, receive control instructions, and perform corresponding operations, which improves user experience.
实施例三、Embodiment three
为实现上述控制方法,本申请实施例还提供了一种控制器,所述控制器的组成结构示意图如图7所示,包括:第一获取模块71、确定模块72和处理模块73;其中,In order to implement the above control method, an embodiment of the present application also provides a controller. The schematic diagram of the structure of the controller is shown in FIG. 7 and includes: a first acquisition module 71, a determination module 72, and a processing module 73; wherein,
所述第一获取模块71,用于获取至少两个终端在目标环境中的位置信息及工作状态信息;The first obtaining module 71 is configured to obtain location information and working status information of at least two terminals in the target environment;
其中,所述第一获取模块71,具体用于接收第一移动终端发来的自身在所述目标环境中的位置信息;所述第一移动终端为至少两个终端中之一;接收第一移动终端发来的除所述第一移动终端外的其他终端中的至少部分终端在所述目标环境中的位置信息。进一步的,所述第一获取模块71,每隔一段时间会获取一次所述至少两个终端在目标环境中的位置信息及工作状态信息。Wherein, the first acquiring module 71 is specifically configured to receive its own location information in the target environment sent by a first mobile terminal; the first mobile terminal is one of at least two terminals; The location information of at least some of the terminals in the target environment sent from the mobile terminal except for the first mobile terminal. Further, the first obtaining module 71 obtains the location information and working status information of the at least two terminals in the target environment at regular intervals.
所述确定模块72,用于基于所述至少两个终端中的至少部分终端在所述目标环境中的位置信息,确定所述至少部分终端之间的相对位置关系;具体的,根据所述至少两个终端中的至少部分终端在目标环境的位置信息,通过计算得到所述至少部分终端之间的相对距离。The determining module 72 is configured to determine the relative position relationship between at least some of the at least two terminals based on the location information of at least some of the at least two terminals in the target environment; specifically, according to the at least The location information of at least some of the two terminals in the target environment is obtained by calculating the relative distance between the at least some of the terminals.
所述处理模块73,用于基于所述至少部分终端之间的相对位置关系、及所述至少部分 终端中的至少一个终端的工作状态信息,生成针对所述至少部分终端中的至少一个终端的控制指令,并发送所述控制指令。具体的,当所述至少部分终端之间的相对位置关系达到预设条件、且所述至少部分终端中的至少一个终端的工作状态发生改变时,所述处理模块73,生成针对所述至少部分终端中的至少一个终端的控制指令。The processing module 73 is configured to generate information for at least one of the at least some of the terminals based on the relative positional relationship between the at least some of the terminals and the working status information of the at least one of the at least some of the terminals. Control instructions, and send the control instructions. Specifically, when the relative positional relationship between the at least some of the terminals reaches a preset condition, and the working state of at least one of the at least some of the terminals changes, the processing module 73 generates information for the at least some of the terminals. A control instruction of at least one of the terminals.
这里,所述第一获取模块71,具体用接收第一移动终端发来的自身在所述目标环境中的位置信息;其中,所述第一移动终端为至少两个终端中之一。所述第一获取模块71,具体还用于接收第一移动终端发来的除所述第一移动终端外的其他终端中的至少部分终端在所述目标环境中的位置信息。Here, the first acquiring module 71 is specifically used to receive its own location information in the target environment sent by a first mobile terminal; wherein, the first mobile terminal is one of at least two terminals. The first obtaining module 71 is specifically further configured to receive the location information of at least some of the terminals in the target environment sent by the first mobile terminal except for the first mobile terminal.
另外,本实施例的具体实施过程在前面的技术方案中已详细阐明,这里不再进行赘述。In addition, the specific implementation process of this embodiment has been clarified in detail in the previous technical solutions, and will not be repeated here.
在实际应用中,所述第一获取模块71、确定模块72、处理模块73均可由位于控制器中的中央处理器(CPU,Central Processing Unit)、微处理器(MPU,Micro Processor Unit)、数字信号处理器(DSP,Digital Signal Processor)、或现场可编程门阵列(FPGA,Field Programmable Gate Array)等实现。In practical applications, the first acquisition module 71, the determination module 72, and the processing module 73 can all be composed of a central processing unit (CPU, Central Processing Unit), a microprocessor (MPU, Micro Processor Unit), and a digital processor located in the controller. Signal processor (DSP, Digital Signal Processor), or Field Programmable Gate Array (FPGA, Field Programmable Gate Array), etc. are implemented.
实施例四、Embodiment four
为实现上述控制方法,本申请实施例还提供了一种终端,所述终端的组成结构示意图如图8所示,包括:采集模块81、第二获取模块82、发送模块83和接收模块84;其中,In order to implement the above control method, an embodiment of the present application also provides a terminal. The structure diagram of the terminal is shown in FIG. 8 and includes: a collection module 81, a second acquisition module 82, a sending module 83, and a receiving module 84; among them,
所述采集模块81,用于采集在目标环境中的至少两个终端的位置信息;The collection module 81 is configured to collect location information of at least two terminals in the target environment;
所述第二获取模块82,用于获取所述目标环境中的至少两个终端的工作状态信息;The second acquiring module 82 is configured to acquire working status information of at least two terminals in the target environment;
所述发送模块83,用于发送在所述目标环境中的所述至少两个终端的及工作状态信息位置信息至控制器;The sending module 83 is configured to send location information of the at least two terminals in the target environment and working status information to the controller;
具体的,所述发送模块83将采集到的所述位置信息、所述工作状态信息、及所述终端的特征识别信息以数据流的形式,上传至控制器。Specifically, the sending module 83 uploads the collected location information, the working status information, and the characteristic identification information of the terminal to the controller in the form of a data stream.
所述接收模块84,用于接收所述控制器发送的控制指令。这里,对于第一移动终端,能够识别目标环境、确定在所述目标环境中的位置信息。因此,第一移动终端的采集模块81可以采集在目标环境中的位置信息。The receiving module 84 is configured to receive a control instruction sent by the controller. Here, for the first mobile terminal, it is possible to identify the target environment and determine the location information in the target environment. Therefore, the collection module 81 of the first mobile terminal can collect location information in the target environment.
具体的,所述采集模块81,具体用于确定与所述目标环境中的至少两个物体的直线距离;基于与所述至少两个物体的直线距离,确定自身在目标环境中的位置信息。所述采集模块81,具体还用于获取除第一移动终端外的其他终端中的至少部分终端的特征识别信息;采集所述其他终端中的至少部分终端在所述目标环境中的图像信息;基于所述其他终端中的至少部分终端的特征识别信息和图像信息,确定所述其他终端中的至少部分终端在所述目标环境中的位置信息。Specifically, the collection module 81 is specifically configured to determine the linear distance from at least two objects in the target environment; and determine its own position information in the target environment based on the linear distance from the at least two objects. The collection module 81 is also specifically configured to obtain characteristic identification information of at least some of the other terminals except the first mobile terminal; and collect image information of at least some of the other terminals in the target environment; The location information of at least some of the other terminals in the target environment is determined based on the feature identification information and image information of at least some of the other terminals.
进一步的,所述采集模块81根据预设的时间间隔,多次采集终端在目标环境中的位置 信息。Further, the collection module 81 collects position information of the terminal in the target environment multiple times according to a preset time interval.
另外,本实施例的具体实施过程在前面的技术方案中已详细阐明,这里不再进行赘述。In addition, the specific implementation process of this embodiment has been clarified in detail in the previous technical solutions, and will not be repeated here.
在实际应用中,所述采集模块81、第二获取模块82、发送模块83和接收模块84均可由位于终端设备中的中央处理器(CPU,Central Processing Unit)、微处理器(MPU,Micro Processor Unit)、数字信号处理器(DSP,Digital Signal Processor)、或现场可编程门阵列(FPGA,Field Programmable Gate Array)等实现。In practical applications, the acquisition module 81, the second acquisition module 82, the sending module 83, and the receiving module 84 can all be implemented by a central processing unit (CPU, Central Processing Unit), a microprocessor (MPU, Micro Processor) located in the terminal device. Unit), Digital Signal Processor (DSP, Digital Signal Processor), or Field Programmable Gate Array (FPGA, Field Programmable Gate Array), etc.
需要说明的是:上述实施例提供的控制器在进行控制时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的控制器与控制方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the controller provided in the above embodiment performs control, only the division of the above-mentioned program modules is used as an example for illustration. In actual applications, the above-mentioned processing can be distributed by different program modules as needed, that is, the device The internal structure is divided into different program modules to complete all or part of the processing described above. In addition, the controller provided in the foregoing embodiment and the control method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
图9给出了本申请实施例的通信设备硬件结构示意图,其中,所述通信设备为控制器或者终端。这里,图9所示的通信设备900包括:至少一个处理器901、存储器902、用户接口903和至少一个网络接口904。所述通信设备900中的各个组件通过总线系统905耦合在一起。可理解,总线系统905用于实现这些组件之间的连接通信。总线系统905除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图9中将各种总线都标为总线系统905。FIG. 9 shows a schematic diagram of the hardware structure of a communication device according to an embodiment of the present application, where the communication device is a controller or a terminal. Here, the communication device 900 shown in FIG. 9 includes: at least one processor 901, a memory 902, a user interface 903, and at least one network interface 904. The components in the communication device 900 are coupled together through the bus system 905. It can be understood that the bus system 905 is used to implement connection and communication between these components. In addition to the data bus, the bus system 905 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clear description, various buses are marked as the bus system 905 in FIG. 9.
其中,用户接口903可以包括显示器、键盘、鼠标、轨迹球、点击轮、按键、按钮、触感板或者触摸屏等。The user interface 903 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch panel, or a touch screen, etc.
可以理解,存储器902可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。It can be understood that the memory 902 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memory.
本申请实施例中的存储器902用于存储各种类型的数据以支持通信设备900的操作。这些数据的示例包括:用于在通信设备900上操作的任何计算机程序,如可执行程序9021,实现本申请实施例方法的程序可以包含在可执行程序9021中。The memory 902 in the embodiment of the present application is used to store various types of data to support the operation of the communication device 900. Examples of these data include: any computer program used to operate on the communication device 900, such as an executable program 9021, and a program that implements the method of the embodiment of the present application may be included in the executable program 9021.
上述本申请实施例揭示的方法可以应用于处理器901中,或者由处理器901实现。处理器901可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器901中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器901可以是通用处理器、DSP,或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器901可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器902, 处理器901读取存储器902中的信息,结合其硬件完成前述方法的步骤。The method disclosed in the foregoing embodiments of the present application may be applied to the processor 901 or implemented by the processor 901. The processor 901 may be an integrated circuit chip with signal processing capability. In the implementation process, the steps of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 901 or instructions in the form of software. The aforementioned processor 901 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. The processor 901 may implement or execute the methods, steps, and logical block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor. Combining the steps of the method disclosed in the embodiments of the present application, it may be directly embodied as execution and completion by a hardware decoding processor, or execution and completion by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, and the storage medium is located in the memory 902. The processor 901 reads the information in the memory 902, and completes the steps of the foregoing method in combination with its hardware.
在示例性实施例中,本申请实施例还提供了一种存储介质,其上存储有可执行程序,所述可执行程序在处理器运行时,执行前述方法。In an exemplary embodiment, the embodiment of the present application further provides a storage medium on which an executable program is stored, and the executable program executes the foregoing method when the processor is running.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或可执行程序产品。因此,本申请可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的可执行程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or executable program products. Therefore, this application may adopt the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Moreover, this application may adopt the form of executable program products implemented on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) containing computer-usable program codes.
本申请是参照根据本申请实施例的方法、设备(系统)、和可执行程序产品的流程图和/或方框图来描述的。应理解可由可执行程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些可执行程序指令到通用计算机、专用计算机、嵌入式处理机或参考可编程数据处理设备的处理器以产生一个机器,使得通过计算机或参考可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。This application is described with reference to flowcharts and/or block diagrams of methods, devices (systems), and executable program products according to embodiments of this application. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be realized by executable program instructions. These executable program instructions can be provided to a general-purpose computer, a special-purpose computer, an embedded processor, or the processor of a reference programmable data processing device to generate a machine, so that the instructions executed by the computer or the processor of the reference programmable data processing device are generated A device used to implement the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些可执行程序指令也可存储在能引导计算机或参考可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These executable program instructions can also be stored in a computer-readable memory that can guide a computer or refer to a programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device. The instruction device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些可执行程序指令也可装载到计算机或参考可编程数据处理设备上,使得在计算机或参考可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或参考可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These executable program instructions can also be loaded on a computer or a reference programmable data processing device, so that a series of operation steps are executed on the computer or a reference programmable device to generate computer-implemented processing, which can be executed on the computer or a reference programmable device. The instructions provide steps for implementing functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
以上所述,仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。The above are only the preferred embodiments of the present application, and are not used to limit the protection scope of the present application.

Claims (17)

  1. 一种控制方法,应用于控制器,其特征在于,所述方法包括:A control method applied to a controller, characterized in that the method includes:
    获取至少两个终端在目标环境中的位置信息及工作状态信息;Obtaining location information and working status information of at least two terminals in the target environment;
    基于所述至少两个终端中的至少部分终端在所述目标环境中的位置信息,确定所述至少部分终端之间的相对位置关系;Determine the relative position relationship between the at least some of the at least two terminals based on the location information of at least some of the at least two terminals in the target environment;
    基于所述至少部分终端之间的相对位置关系、及所述至少部分终端中的至少一个终端的工作状态信息,生成针对所述至少部分终端中的至少一个终端的控制指令,并发送所述控制指令。Based on the relative position relationship between the at least some of the terminals and the working status information of at least one of the at least some of the terminals, generate a control instruction for at least one of the at least some of the terminals, and send the control instruction.
  2. 根据权利要求1所述的方法,其特征在于,所述获取至少两个终端在目标环境中的位置信息,包括:The method according to claim 1, wherein said acquiring location information of at least two terminals in a target environment comprises:
    接收第一移动终端发来的自身在所述目标环境中的位置信息;其中,所述第一移动终端为至少两个终端中之一。Receiving the position information of itself in the target environment sent by the first mobile terminal; wherein the first mobile terminal is one of at least two terminals.
  3. 根据权利要求1或2所述的方法,其特征在于,所述获取至少两个终端在目标环境中的位置信息,包括:The method according to claim 1 or 2, wherein the obtaining location information of at least two terminals in the target environment comprises:
    接收第一移动终端发来的除所述第一移动终端外的其他终端中的至少部分终端在所述目标环境中的位置信息。Receiving the location information of at least some of the terminals in the target environment from the first mobile terminal except the first mobile terminal.
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述基于所述至少部分终端之间的相对位置关系、及所述至少部分终端的工作状态信息,确定针对所述至少部分终端中的至少一个终端的控制指令,包括:The method according to any one of claims 1 to 3, wherein the determination is based on the relative positional relationship between the at least part of the terminals and the working status information of the at least part of the The control instruction of at least one of the terminals includes:
    响应于所述至少部分终端之间的相对位置关系达到预设条件、且所述至少部分终端中的至少一个终端的工作状态发生改变,执行生成针对所述至少部分终端中的至少一个终端的控制指令。In response to the relative positional relationship between the at least some of the terminals reaching a preset condition and the working state of at least one of the at least some of the terminals is changed, execute generating control for at least one of the at least some of the terminals instruction.
  5. 一种控制方法,应用于第一移动终端,其特征在于,所述方法包括:A control method applied to a first mobile terminal, characterized in that the method includes:
    采集在目标环境中的至少两个终端的位置信息;Collect location information of at least two terminals in the target environment;
    获取所述目标环境中的至少两个终端的工作状态信息;Acquiring working status information of at least two terminals in the target environment;
    发送在所述目标环境中的所述至少两个终端的位置信息及工作状态信息至控制器;Sending location information and working status information of the at least two terminals in the target environment to the controller;
    接收所述控制器发送的控制指令。Receiving a control instruction sent by the controller.
  6. 根据权利要求5所述的方法,其特征在于,所述采集在目标环境中的至少两个终端的位置信息,包括:The method according to claim 5, wherein the collecting location information of at least two terminals in the target environment comprises:
    采集第一移动终端自身在目标环境中的位置信息及所述目标环境中除所述第一移动终端外的其他终端中的至少部分终端的位置信息。Collecting the position information of the first mobile terminal itself in the target environment and the position information of at least some of the terminals in the target environment except the first mobile terminal.
  7. 根据权利要求6所述的方法,其特征在于,所述采集第一移动终端自身在目标环境中的位置信息,包括:The method according to claim 6, wherein the collecting position information of the first mobile terminal itself in the target environment comprises:
    确定与所述目标环境中的至少两个参考物体的直线距离;Determine the linear distance to at least two reference objects in the target environment;
    基于与所述至少两个参考物体的直线距离,确定自身在目标环境中的位置信息。Based on the linear distance from the at least two reference objects, the position information of the self in the target environment is determined.
  8. 根据权利要求6或7所述的方法,其特征在于,所述采集所述目标环境中除所述第一移动终端外的其他终端中的至少部分终端的位置信息,包括:The method according to claim 6 or 7, wherein the collecting location information of at least some of the terminals in the target environment except the first mobile terminal includes:
    获取除第一移动终端外的其他终端中的至少部分终端的特征识别信息;Acquiring feature identification information of at least some of the terminals other than the first mobile terminal;
    采集所述其他终端中的至少部分终端在所述目标环境中的图像信息;Collecting image information of at least some of the other terminals in the target environment;
    基于所述其他终端中的至少部分终端的特征识别信息和图像信息,确定所述其他终端中的至少部分终端在所述目标环境中的位置信息。Determine location information of at least some of the other terminals in the target environment based on the feature identification information and image information of at least some of the other terminals.
  9. 一种控制器,其特征在于,所述控制器包括:第一获取模块、确定模块和处理模块;其中,A controller, characterized in that the controller includes: a first acquisition module, a determination module, and a processing module; wherein,
    所述第一获取模块,用于获取至少两个终端在目标环境中的位置信息及工作状态信息;The first acquiring module is configured to acquire location information and working status information of at least two terminals in the target environment;
    所述确定模块,用于基于所述至少两个终端中的至少部分终端在所述目标环境中的位置信息,确定所述至少部分终端之间的相对位置关系;The determining module is configured to determine the relative positional relationship between the at least some of the terminals based on the location information of at least some of the at least two terminals in the target environment;
    所述处理模块,用于基于所述至少部分终端之间的相对位置关系、及所述至少部分终端中的至少一个终端的工作状态信息,生成针对所述至少部分终端中的至少一个终端的控制指令,并发送所述控制指令。The processing module is configured to generate control for at least one of the at least some of the terminals based on the relative position relationship between the at least some of the terminals and the working status information of the at least one of the at least some of the terminals Command and send the control command.
  10. 根据权利要求9所述的控制器,其特征在于,所述第一获取模块,具体用于接收第一移动终端发来的自身在所述目标环境中的位置信息;其中,所述第一移动终端为至少两个终端中之一。The controller according to claim 9, wherein the first acquiring module is specifically configured to receive its own location information in the target environment sent by the first mobile terminal; wherein, the first mobile terminal The terminal is one of at least two terminals.
  11. 根据权利要求9或10所述的控制器,其特征在于,所述第一获取模块,具体还用于接收第一移动终端发来的除所述第一移动终端外的其他终端中的至少部分终端在所述目标环境中的位置信息。The controller according to claim 9 or 10, wherein the first acquiring module is specifically further configured to receive at least part of the terminals other than the first mobile terminal sent by the first mobile terminal Location information of the terminal in the target environment.
  12. 根据权利要求9至11任一项所述的控制器,其特征在于,所述处理模块,具体用于响应于所述至少部分终端之间的相对位置关系达到预设条件、且所述至少部分终端中的至少一个终端的工作状态发生改变,执行生成针对所述至少部分终端中的至少一个终端的控制指令。The controller according to any one of claims 9 to 11, wherein the processing module is specifically configured to respond to that the relative position relationship between the at least part of the terminals reaches a preset condition and the at least part of the The working state of at least one of the terminals is changed, and a control instruction for at least one of the at least part of the terminals is generated.
  13. 一种终端,其特征在于,所述终端包括:采集模块、第二获取模块、发送模块和接收模块;其中,A terminal, characterized in that the terminal includes: an acquisition module, a second acquisition module, a sending module, and a receiving module; wherein,
    所述采集模块,用于采集在目标环境中的至少两个终端的位置信息;The collection module is used to collect location information of at least two terminals in the target environment;
    所述第二获取模块,用于获取所述目标环境中的至少两个终端的工作状态信息;The second acquiring module is configured to acquire working status information of at least two terminals in the target environment;
    所述发送模块,用于发送在所述目标环境中的所述至少两个终端的及工作状态信息位置信息至控制器;The sending module is configured to send location information of the at least two terminals in the target environment and working status information to the controller;
    所述接收模块,用于接收所述控制器发送的控制指令。The receiving module is used to receive a control instruction sent by the controller.
  14. 根据权利要求13所述的终端,其特征在于,所述采集模块,具体用于采集第一移动终端自身在目标环境中的位置信息及所述目标环境中除所述第一移动终端外的其他终端中的至少部分终端的位置信息。The terminal according to claim 13, wherein the collection module is specifically configured to collect the position information of the first mobile terminal itself in the target environment and other information in the target environment except the first mobile terminal Location information of at least some of the terminals.
  15. 根据权利要求13或14所述的终端,其特征在于,所述采集模块,具体还用于确定与所述目标环境中的至少两个参考物体的直线距离;基于与所述至少两个参考物体的直线距离,确定自身在目标环境中的位置信息。The terminal according to claim 13 or 14, wherein the collection module is specifically further configured to determine a linear distance from at least two reference objects in the target environment; based on the distance from the at least two reference objects The straight-line distance to determine its own location information in the target environment.
  16. 根据权利要求13至15任一项所述的终端,其特征在于,所述采集模块,具体还用于获取除第一移动终端外的其他终端中的至少部分终端的特征识别信息;采集所述其他终端中的至少部分终端在所述目标环境中的图像信息;基于所述其他终端中的至少部分终端的特征识别信息和图像信息,确定所述其他终端中的至少部分终端在所述目标环境中的位置信息。The terminal according to any one of claims 13 to 15, wherein the collection module is specifically further configured to obtain characteristic identification information of at least some of the terminals other than the first mobile terminal; and collect the Image information of at least some of the other terminals in the target environment; based on the feature identification information and image information of at least some of the other terminals, it is determined that at least some of the other terminals are in the target environment Location information in.
  17. 一种存储介质,其上存储有可执行程序,其特征在于,所述可执行程序被处理器执行时实现权利要求1至8任一项所述方法的步骤。A storage medium having an executable program stored thereon, wherein the executable program implements the steps of any one of claims 1 to 8 when the executable program is executed by a processor.
PCT/CN2019/111734 2019-07-08 2019-10-17 Control method, controller, terminal and storage medium WO2021003875A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910611805.2A CN112198804A (en) 2019-07-08 2019-07-08 Control method, controller, terminal and storage medium
CN201910611805.2 2019-07-08

Publications (1)

Publication Number Publication Date
WO2021003875A1 true WO2021003875A1 (en) 2021-01-14

Family

ID=74004749

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/111734 WO2021003875A1 (en) 2019-07-08 2019-10-17 Control method, controller, terminal and storage medium

Country Status (2)

Country Link
CN (1) CN112198804A (en)
WO (1) WO2021003875A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100088361A1 (en) * 2008-10-06 2010-04-08 Aspen Media Products, Llc System for providing services and products using home audio visual system
CN102117062A (en) * 2009-12-31 2011-07-06 青岛海尔软件有限公司 Intelligent household system
CN104155938A (en) * 2014-07-21 2014-11-19 惠州Tcl移动通信有限公司 Management method and system for household devices
CN104777750A (en) * 2015-03-18 2015-07-15 四川长虹电器股份有限公司 Intelligent home control system based on bluetooth
CN104837198A (en) * 2015-04-29 2015-08-12 深圳市金立通信设备有限公司 Terminal
CN109507686A (en) * 2018-11-08 2019-03-22 歌尔科技有限公司 A kind of control method wears display equipment, electronic equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100088361A1 (en) * 2008-10-06 2010-04-08 Aspen Media Products, Llc System for providing services and products using home audio visual system
CN102117062A (en) * 2009-12-31 2011-07-06 青岛海尔软件有限公司 Intelligent household system
CN104155938A (en) * 2014-07-21 2014-11-19 惠州Tcl移动通信有限公司 Management method and system for household devices
CN104777750A (en) * 2015-03-18 2015-07-15 四川长虹电器股份有限公司 Intelligent home control system based on bluetooth
CN104837198A (en) * 2015-04-29 2015-08-12 深圳市金立通信设备有限公司 Terminal
CN109507686A (en) * 2018-11-08 2019-03-22 歌尔科技有限公司 A kind of control method wears display equipment, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112198804A (en) 2021-01-08

Similar Documents

Publication Publication Date Title
CN111542420B (en) Mobile home robot and control method thereof
KR102269035B1 (en) Server and method for controlling a group action
US10042425B2 (en) Electronic device and method for controlling vibration of electronic device
US9201499B1 (en) Object tracking in a 3-dimensional environment
WO2017133498A1 (en) Intelligent device and intelligent device control method
US20190339703A1 (en) Path Planning Method and Apparatus
US10936880B2 (en) Surveillance
US9336602B1 (en) Estimating features of occluded objects
US8988662B1 (en) Time-of-flight calculations using a shared light source
WO2015137740A1 (en) Home network system using robot and control method thereof
JP2018508851A (en) monitoring
CN105446332B (en) Automatic cleaning control method and device and electronic equipment
US9562966B1 (en) Surface distance determination using reflected light
US10444852B2 (en) Method and apparatus for monitoring in a monitoring space
WO2021042985A1 (en) Internet of things control apparatus and method, and electronic device
KR102365431B1 (en) Electronic device for providing target video in sports play video and operating method thereof
WO2023115927A1 (en) Cloud robot mapping method, system, device and storage medium
JP6665276B2 (en) Trigger area
CN105791518A (en) Information processing method and electronic device
JP2005202578A (en) Communication device and communication method
WO2021003875A1 (en) Control method, controller, terminal and storage medium
JPWO2019138661A1 (en) Information processing device and information processing method
CN110837295A (en) Handheld control equipment and tracking and positioning method, equipment and system thereof
WO2019054037A1 (en) Information processing device, information processing method and program
US10289203B1 (en) Detection of an input object on or near a surface

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

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19936846

Country of ref document: EP

Kind code of ref document: A1