CN105844881A - Method for establishing connection between robot and remote controller - Google Patents

Method for establishing connection between robot and remote controller Download PDF

Info

Publication number
CN105844881A
CN105844881A CN201610251433.3A CN201610251433A CN105844881A CN 105844881 A CN105844881 A CN 105844881A CN 201610251433 A CN201610251433 A CN 201610251433A CN 105844881 A CN105844881 A CN 105844881A
Authority
CN
China
Prior art keywords
robot
connection
remote
remote controller
list
Prior art date
Application number
CN201610251433.3A
Other languages
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 奇弩(北京)科技有限公司
Priority to CN201610251433.3A priority Critical patent/CN105844881A/en
Publication of CN105844881A publication Critical patent/CN105844881A/en
Priority claimed from PCT/CN2017/081075 external-priority patent/WO2017181956A1/en

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C2201/00Transmission systems of control signals via wireless link
    • G08C2201/40Remote control systems using repeaters, converters, gateways
    • G08C2201/42Transmitting or receiving remote control signals via a network

Abstract

The invention discloses a method for establishing connection between a robot and a remote controller. The method comprises the following steps of: judging whether the robot and the remote controller can be connected in a same local area network or not; if the robot and the remote controller cannot be successfully connected, judging whether the robot and the remote controller can be respectively connected with a remote server through internet or not and establishing the connection; and if connection can not be successfully established, opening an AP hot spot by the robot and utilizing the AP hot spot to access the local area network established by the robot by the remote controller and connecting with the robot. According to the method provided by the invention, the robot can be connected with the remote controller through the local area network or the remote server; under the condition of no network, the robot can automatically convert to AP hot spot and the remote controller can utilize the AP hot spot to connect with the robot; the remote controller and the robot can be connected under the conditions of short distance, no WIFI and same local area network; the robot is applicable to various network environments; the problems of single connection method between the robot and the remote controller and poor adaptation are solved.

Description

机器人与遥控器建立连接的方法 The robot and the remote control method for establishing a connection

技术领域 FIELD

[0001 ]本发明涉及机器人领域,具体涉及机器人与遥控器建立连接的方法。 [0001] The present invention relates to the field of robotics, robots and particularly relates to a method to establish a connection to the remote controller.

背景技术 Background technique

[0002]近年来,随着物联网技术的快速发展,智能家庭环境整合了家居自动化技术、计算机与嵌入式技术、云计算和大数据技术,一跃成为未来家庭环境发展的新方向。 [0002] In recent years, with the rapid development of networking technology, smart home environment integrates home automation technology, computer and embedded technology, cloud computing and big data technology, became the new home of the future direction of the development environment. 机器人采用了全新智能控制系统,可实现自动清扫,自动回充,智能分析,路径规划,智能防撞,以及遥控控制等功能可完成人们指定的大量工作,因此备受人们的欢迎。 Robot uses a new intelligent control system, automatic cleaning, automatic recharge, intelligent analysis, route planning, smart anti-collision, and remote control functions can be assigned to complete a lot of people work, so much welcomed.

[0003] 现在市场上机器人与遥控器的连接与通信方式主要为通过蓝牙、2.4G无线或WIFI等方式进行直接连接通信,但这些方式存在以下缺点: [0003] robot and a remote controller connected to the main communication through Bluetooth, 2.4G wireless or WIFI mode directly connecting communication now on the market, but these methods present the following disadvantages:

[0004] (I)通过蓝牙、2.4G无线进行直接连接的方式仅能适用于短距离遥控且传输数据量小,2.4G技术应用成本较高。 Embodiment [0004] (I) 2.4G wireless direct connection via Bluetooth, a short-range remote control can apply only a small amount of data transmission and high cost 2.4G technology.

[0005] (2)通过WIFI连接互联网进行直接连接的方式,仅适用于远程控制,通信时需经过服务器进行信息中转,信息传输慢,如在近距离内信号传输性能远不如直连通信。 [0005] The embodiment (2) directly connected to the Internet via WIFI connection, only for the remote control, subject to communication relay server information, slow information transfer, such as in the short distance signal transmission performance far better than the direct communication.

[0006]以上那个几种技术,都存在机器人与遥控器连接方式单一,自适应性差,在多种网络下无法自动识别出最佳的连接状态,达到最高速的信息传输的问题。 [0006] Several techniques than that, there is a single robot and a remote control connection, adaptive difference, in many networks does not automatically identify the best connection state, the problem to achieve the highest speed of information transfer.

[0007]有鉴于此,急需对机器人与遥控器的连接与通信方法进行改进,使两者通信连方式接广,且自适应性强。 [0007] In view of the urgent need for a communication connection with the remote control method of a robot is improved so that both the wide connection communication connection mode, and the self-adaptability.

发明内容 SUMMARY

[0008]本发明所要解决的技术问题是机器人与遥控器连接方式单一,自适应性差,在不同的连接方式的情况下无法选择出最佳的连接状态,达到最高速的信息传输的问题。 [0008] The present invention solves the technical problem of the robot and the single remote connection, adaptive difference, in the case of different connection of the connector can not select the best state, to the problem of the most high-speed information transmission.

[0009]为了解决上述技术问题,本发明所采用的技术方案是机器人与遥控器建立连接的方法,包括以下步骤: [0009] To solve the above technical problem, the technical solution employed in the present invention is a robot and the remote control method for establishing a connection, comprising the steps of:

[0010] 判断机器人与遥控器是否可在同一局域网内建立连接; [0010] It is determined whether the robot can be established with the remote controller connected to the same LAN;

[0011]当二者不能成功建立连接时,判断机器人与遥控器是否可以通过互联网分别连接至远程服务器,并建立二者之间的连接; [0011] When both the connector can not be successfully established, determining whether the robot and the remote controller may be connected through the Internet to a remote server, respectively, and to establish a connection therebetween;

[0012]当二者不能成功建立连接时,机器人打开自身AP热点,遥控器利用该AP热点加入机器人建立的局域网并与机器人建立连接。 [0012] When both the connector can not be successfully established, the robot opens itself hot AP, AP with which the remote LAN hotspot was added and the robot establish a connection with the robot.

[0013] 在上述方法中,机器人与遥控器在同一局域网内建立连接的方法如下: [0013] The robot and the remote controller of establishing a connection in the same LAN as in the above method:

[0014] 遥控器通过局域网发送广播信号,同一局域网内的机器人收到广播信号后,返回包含自己身份信息的响应信息,并在遥控器上以列表形式保存; [0014] The remote controller transmits a broadcast signal via a LAN, the same LAN when the robot receives a broadcast signal, returns a response message its own identity information, and stored in list form on the remote control;

[0015] 遥控器通过列表选择其中的一台机器人建立连接。 [0015] wherein the remote controller to establish a connection to a robot selected by the list.

[0016] 在上述方法中,机器人与遥控器通过远程服务器建立连接的方法如下: [0016] In the above process, the remote control method of a robot connected to the remote server to establish the following:

[0017] 机器人与遥控器分别通过互联网连接到远程服务器; [0017] robot and a remote controller connected to a remote server via the Internet;

[0018] 遥控器发送扫描指令,远程服务器返回当前遥控器可控制的机器人身份的响应信息,并在遥控器上以列表形式保存; [0018] The remote controller transmits a scan instruction, the remote server returns a response message the identity of the current robot remote controllable, and saved in a list on the remote control;

[0019] 遥控器通过列表选择其中的一台机器人建立连接。 [0019] wherein the remote controller to establish a connection to a robot selected by the list.

[0020] 在上述方法中,若机器人与遥控器在同一局域网内且可连接远程服务器,默认通过局域网建立连接。 [0020] In the above method, if the robot and the remote controller in the same LAN and can connect to a remote server, the default connection is established through a LAN.

[0021]在上述方法中,所述机器人内设有支持APmode的无线网络适配器。 [0021] In the above method, the robot is equipped with wireless network adapters APmode support.

[0022]在上述方法中,所述遥控器为移动终端设备。 [0022] In the above process, the remote control is a mobile terminal device.

[0023]在上述方法中,所述遥控器可管理编辑所述机器人内保存的所有信息列表,包括WIFI列表和可控的遥控器列表,用户将编辑或修改过的信息列表,发送至所述机器人并保存在所述机器人内。 [0023] In the above process, the remote controller may manage a list of all edit information stored in the robot, and comprising a list of controllable WIFI remote list, user list edited or modified information is sent to the and the robot stored in the robot.

[0024] 在上述方法中,所述机器人通过灯光、蜂鸣声提醒用户当前机器人采用何种方式建立连接。 [0024] In the above method, the robot with light, beep to alert the user how to establish a connection using the current robot.

[0025] 在上述方法中,机器人与遥控器无论是通过远程服务器建立连接,还是通过AP热点建立连接,当发现可以通过同一局域网建立连接时,则切换为通过同一局域网建立连接。 [0025] In the above process, the robot and the remote controller to establish whether it is connected through a remote server, or connect through hot AP, when found can be established via the same local area network, it is switched to establish a connection over a LAN.

[0026] 本发明在机器人内部安装了APmode无线适配器,在无网络情况下,机器人打开自身AP热点,遥控器可通过AP热点与机器人连接,使遥控器与机器人无论在短距离但无WIF1、同一局域网或互联网的情况下,都可以进行连接;在有网络的情况下,遥控器可通过局域网或远程服务器与机器人连接,使机器人可适用多种的网络环境,并最大程度地高效利用网络资源,解决了机器人与遥控器之间连接方法单一,适应性差的问题。 [0026] The present invention is within the robots APmode wireless adapter is installed, in the absence of a network, the robot opens itself AP hotspot, the remote controller may be connected by AP hotspot with the robot, so that remote control of the robot in terms of short distances without WIFl, the same in the case of a LAN or the Internet, can be connected; in the case where there is a network, remote control or a remote server via a LAN connection with a robot, the robot applicable to a variety of network environments, and maximize the efficient use of network resources, the method solves the connection between a robot and a single remote control, adaptability is poor. 另外,遥控器为一终端设备,遥控器通过终端设备上的应用软件控制机器人,遥控器可通过更改机器人内部保存的WIFI列表和可控制其的遥控器列表,使其可在新的WIFI的环境下连接WIFI并可被任意一台遥控器控制。 Further, the terminal device is a remote control, remote control of the robot by the application software on the terminal device, the remote controller may be saved by changing the internal robot WIFI list and list thereof remote control, it may be in the new environment of WIFI WIFI and may be connected to the remote control Renyiyitai.

附图说明 BRIEF DESCRIPTION

[0027]图1为本发明提供的遥控器与机器人建立连接的方法流程图; [0027] FIG 1 provides a remote control of the robot a flow chart of establishing a connection of the invention;

[0028]图2为本发明提供的机器人启动过程的流程图。 Flowchart of a process [0028] The present invention provides a robot of FIG. 2 to start.

具体实施方式 Detailed ways

[0029]下面结合具体实施方式和说明书附图对本发明做出详细的说明。 [0029] The following description with reference to specific embodiments and drawings to make a detailed description of the present invention.

[0030]如图1所示,为本发明提供的遥控器与机器人建立连接的方法,包括以下步骤: [0030] As shown in FIG 1, the robot provided with the remote controller establishing a connection of the present invention, comprising the steps of:

[0031] S1、机器人启动; [0031] S1, the robot starts;

[0032] S2、机器人检查本机内是否保存了WIFI列表,若是,则转S3,否则转S7; [0032] S2, within the robot to check whether the machine saves WIFI list, and if so, turn S3, otherwise turn to S7;

[0033] S3、机器人扫描周边WIFI热点; [0033] S3, the robot WIFI hotspots scan peripheral;

[0034] S4、机器人判断扫描到WIFI热点是否存在与列表内一致的,若存在,则转S5,否则转S7; [0034] S4, WIFI hotspots to scan the robot is determined whether there is consistent with the list, if present, the switch S5, S7 or transferred;

[0035] S5、机器人将扫描到的WIFI热点逐个与本机内保存的WIFI列表相匹配,若匹配且连接成功,转S6,否则转S7; [0035] S5, the robot WIFI hotspots to scan one by one and stored in the unit list WIFI match, and if the matching is successful connection, switch S6, S7 or transferred;

[0036] S6、机器人进入WIFI模式并尝试登录远程服务器,转S8;若WIFI模式中网络意外中断,则转S3; [0036] S6, the robot enters WIFI mode and attempt to log on a remote server, turn S8; if WIFI mode network interrupted unexpectedly, then turn S3;

[0037] S7、机器人切换至AP模式,转S14; [0037] S7, the robot is switched to AP mode, switch S14;

[0038] S8、遥控器连接附近的WIFI,并通过局域网广播的形式发送信号; [0038] S8, the remote control near the WIFI connection, and broadcast transmission signal in the form of a local area network;

[0039] S9、同一局域网内的所有机器人收到遥控器发送的广播信号时返回包含身份信息的响应信号,遥控器将接收到的信息以列表形式保存; [0039] returns a response signal, the remote controller includes the identity of the received information is stored in a list when the remote controller transmits the broadcast signal is received for all robots in S9, the same local area network;

[0040] S10、遥控器尝试连接远程服务器并发送扫描指令,远程服务器返回当前遥控器可控制的进入远程服务器模式的机器人包含身份的相应信息,遥控器将接收到的信息以列表形式保存; [0040] S10, try to connect the remote control and the remote server sends a scan instruction, the remote server returns information corresponding to the current mode of the robot to enter the remote server remote control may comprise the identity of the remote controller stores the received information is stored in a list form;

[0041] S11、遥控器将机器人返回的包含身份信息的响应信号列表与当前遥控器可控的进入远程服务器模式的机器人列表进行比对,若机器人与遥控器在同一局域网内,则转S12,若机器人与遥控器不在同一局域网内,但机器人连接了其他局域网并已经连接上远程服务器,则转S13; [0041] S11, the response signal list includes the identity of the remote control to return the robot to compare the current list of remote controlled robot enters the remote server mode, the robot if the remote controller in the same LAN, the switch S12, If the robot and remote control are not in the same LAN, but other robots connected to the LAN and connected on the remote server, then go to S13;

[0042 ] S12、遥控器选择与其中一台机器人直接连接,转S15; [0042] S12, wherein the remote control to select a robot with directly connected switch S15;

[0043] S13、遥控器通过远程服务器选择与其中一台机器人连接,转S15; [0043] S13, the remote controller by the remote server and selecting a robot which is connected, switch S15;

[0044] S14、遥控器自动识别并通过机器人AP热点与机器人进行连接; [0044] S14, the remote controller automatically identify and connected with the robot by the robot AP hotspot;

[0045] S15、连接结束。 [0045] S15, the connection is ended.

[0046]下面介绍本发明遥控器与机器人建立连接的工作原理: [0046] The following describes the principles of the present invention is to establish a connection with the remote control of the robot:

[0047] 本发明中,遥控器为一手机等移动终端设备,且通过移动终端设备上的应用程序控制机器人,遥控器选择连接附近的WIFI热点。 [0047] In the present invention, the remote control is a mobile phone and other mobile devices, and controlling the robot by the application program on the mobile terminal device, remote control to select WIFI hotspots near the connection.

[0048]当遥控器连接上WIFI后,通过局域网广播的形式发送信号,同一局域网内的所有机器人收到广播信号后返回包含身份信息(如名字、型号、可被哪些遥控器控制等)的响应信息,遥控器将接收到的响应信息以列表形式保存;同时遥控器尝试通过互联网连接远程服务器并发送扫描指令,若遥控器连接上远程服务器,远程服务器将会返回当前遥控器可控制的进入远程服务器模式的包含机器人身份信息(如名字、型号、可被哪些遥控器控制等)的响应信息,同样以列表形式保存。 Response [0048] When the remote connection WIFI, broadcast transmission signal in the form of a local area network, all robots within the same local area network returns a broadcast signal is received after the identification information (e.g., name, model, which may be remote controls, etc.) information, the remote controller in response to the received information is stored in a list form; while attempting to connect a remote control and a remote Internet server sends a scan instruction, if the remote control is connected on a remote server, the remote server will return the current remote control enters a remote control robot comprising a server mode identity information (e.g., name, model, which may be remote controls, etc.) response information also stored in tabular form.

[0049] 遥控器将两份列表进行比对合并;如果所有机器人与遥控器在同一局域网并已经连接上远程服务器,则遥控器可以通过局域网或远程服务器机器人进行连接通信;但是遥控器默认优先通过局域网与机器人进行连接。 [0049] The remote controller will merge the two lists are aligned; if all of the robot and the remote control in the same LAN and has already connected to the remote server, the remote controller may be connected to a local area network or a remote server through a communication robot; however, the remote controller by default priority LAN connection with the robot.

[0050] 如果所有机器人与遥控器不在同一局域网内,但有些机器人已经连接上远程服务器,此时遥控器可通过远程服务器与机器人进行连接通信。 [0050] If all of the robot and the remote controller is not in the same LAN, but some robots connected on a remote server, then the remote control can be connected via a remote server communicate with the robot.

[0051 ]若遥控器发现机器人处于AP模式时,则通过与机器人的AP热点连接通信。 [0051] If the robot is in the remote AP discovery mode, the communication through the connection of the robot AP hotspots.

[0052] 机器人与遥控器无论是通过远程服务器建立连接,还是通过AP热点建立连接,当发现可以通过同一局域网建立连接时,则切换为通过同一局域网建立连接,选择与其最佳连接的机器人连接通信。 [0052] The robot and the remote controller whether to establish a connection through a remote server, or connect through hot AP, when found in the connection can be established in the same LAN, the robot is switched to establish a connection, the best choice is connected thereto through the same local area network connection communication .

[0053] 遥控器与机器人连接后,遥控器(即移动终端设备)可通过下载后的应用程序管理编辑机器人内保存的所有信息列表,如WIFI列表、可控其的遥控器列表等,然后将遥控器编辑或修改过的列表信息通过指令的方式发送至机器人并同步保存,这样机器人不但适用多种的网络环境,并最大程度地高效利用网络资源,另外,一台遥控器可控制多台机器人,一台机器人也可被多台遥控器所控制,但一台遥控器只能选定一台最适合的机器人进行连接通信。 [0053] After the robot and the remote controller is connected, the remote control (i.e., mobile terminal) can be saved by the application management bots list of all the download information, such as WIFI list, the list of remote controllability thereof, and the like, and then remote edited or modified by way of the list information transmitting commands to the robot and saving synchronization, so that the robot is not only applicable to a variety of network environments, and maximize the efficient use of network resources, in addition, a remote controller can control a plurality of robots , a robot may be controlled by a plurality of the remote control, a remote controller can select a most suitable connection for communication robot.

[0054]本发明中,在机器人内部设有支持APmode的无线网络适配器,在有网络的情况下,遥控器与机器人除了可通过局域网和互联网进行连接,在无任何网络的情况下,机器人将打开自身AP热点供遥控器与其连接;另外,如机器人上未安装任何触摸屏、连接控制接口或其他输入设备的情况下时,可通过遥控器修改机器人的内部信息,使其可在新的WIFI的环境下连接WIFI并可被任意一台遥控器控制,解决了当前机器人与遥控器之间连接方法单一,适应性差的问题。 [0054] In the present invention, support is provided in the interior of the robot APmode wireless network adapter, the network in the case where there is, in addition to the robot and the remote controller can be connected via a local area network and the Internet, without any network, the robot will open own AP hotspot for remote connected thereto; addition, any of the touch screen as not installed on the robot, connected to the case where the control interface or other input device may be modified internal information of the robot by remote control, so as to be the environment in the new WIFI of WIFI and may be connected to the remote control Renyiyitai, a method to solve the current connection between the robot and a single remote control, adaptability is poor. 下面介绍本发明中机器人的启动过程,如图2所示,为本发明机器人的启动流程图,包括以下步骤: The following describes the startup process of the present invention, the robot shown in Figure 2, the robot starts a flowchart of the present invention, comprising the steps of:

[0055] Slll、机器人开机启动; [0055] Slll, robot start-up;

[0056] SI 12、机器人检查本机内是否存有SSID列表,若是,则转SI 13,否则转SI 18; [0056] SI 12, the robot checks whether the SSID list within the machine there, if yes, turn SI 13, otherwise turn to SI 18;

[0057] S113、机器人扫描周边的WIFI热点; [0057] S113, the robot WIFI hotspots scanning periphery;

[0058] SI 14、机器人判断是否有与本地保存的SSID相同的WIFI,若有,则转SI 15,否则转S118; [0058] SI 14, the robot determines whether there is stored the same local WIFI SSID, and if so, turn SI 15, otherwise turn to S118;

[0059] S115、机器人将扫描到的WIFI与本机内保存的SSID逐个匹配且尝试连接; [0059] S115, the robot will be scanned and saved in the WIFI native individually matched SSID and try to connect;

[0060] S116、判断是否有匹配的WIFI且连接成功,若有,则转S117,否则转S118; [0060] S116, determines whether there is a successful match WIFI connection and, if so, then go to S117, otherwise turn to S118;

[0061 ] S117、机器人进入WIFI模式且开启监听模式;转S119;若连接WIFI意外中断,则转S113; [0061] S117, the robot enters WIFI mode and open listening mode; turn S119; if WIFI connection interrupted unexpectedly, then turn S113;

[0062] S118、机器人开启AP模式且开启监听模式; [0062] S118, the robot opening AP mode and listening mode is turned on;

[0063] S119、机器人尝试与服务器连接; [0063] S119, the robot tries to connect to the server;

[0064] S120、判断是否与服务器连接成功,若是,转S121,否则转S122; [0064] S120, to determine whether the connection to the server is successful, and if so, turn S121, otherwise turn to S122;

[0065] S121、服务器对预连接的机器人进行身份验证,判断身份验证是否成功,若是,转S123;否则转S121; [0065] S121, the server pre-connected to the robot for authentication to determine whether authentication is successful, and if so, turn S123; otherwise turn to S121;

[0066] S122、预设时间(60秒)后,转S119; [0066] S122, after a preset time (60 seconds), switch S119;

[0067] S123、机器人与服务器连接且进入远程服务器模式;若机器人与服务器连接意外中断,则转SI 22。 [0067] S123, the robot connects to the server and access to remote server mode; connected to the server if the robot unexpectedly interrupted, the switch SI 22.

[0068] S124、机器人每隔预设时间(60秒)自检; [0068] S124, the robot every predetermined time (60 seconds) self-test;

[0069] S125、判断是否已连接遥控器,若是,则转S124,否则转113; [0069] S125, determines whether the remote control is connected, and if so, then go to S124, otherwise turn to 113;

[0070] 一台新的或本地WIFI列表为空的机器人,开启后将切换至AP模式,遥控器扫描到机器人自身AP热点并加入,通过此AP热点与机器人建立连接,在遥控器中输入机器人的初始登录地址(例如192.168.1.1)与登录信息,进行登录,通过遥控器修改机器人的SSID与初始登录地址并通过指令的方式发送至机器人保存,此时机器人将重新启动;由于每个机器人出厂时SSID码与登录地址是相同的,修改SSID与登录地址是为了更好地区分每个机器人。 [0070] a new or local WIFI list is empty the robot turn will switch to the AP mode, the remote controller scan to the robot itself AP hot and added, to establish a connection with this AP hot and the robot, the input of the robot in the remote control the initial login address (e.g., 192.168.1.1) and login information, login, change to the initial login address SSID robot by remote control and transmitted to the robot through instruction stored, then the robot will be restarted; factory since each robot when SSID and login code address is the same, modify SSID and login address in order to better distinguish each robot.

[0071]下面介绍本发明中机器人启动的工作原理: [0071] The following describes the operation of the present invention, the robot starts:

[0072]机器人启动后首先自动扫描周边WIFI热点,若扫描时存在WIFI热点,机器人将扫描到的WIFI热点与本机内保存的WIFI列表相匹配,如有相同SSID则逐个尝试用预存的密码连接WIFI热点,如没有相同SSID则机器人将切换至AP模式;若机器人没有扫描到任何WIFI热点,机器人同样将切换至AP模式。 [0072] First, when the robot automatically starts scanning surrounding WIFI hotspots, if the scan WIFI hotspots exist, the robot WIFI hotspots to scan the list stored in the unit WIFI matches one by one if the same SSID is trying to connect with a prestored password WIFI hotspots, if not the same as the SSID AP mode is switched to the robot; the robot has not been scanned if any WIFI hotspots, the robot AP switches to the same mode.

[0073]当机器人切换至AP模式后将开启监听服务,机器人每60秒自检是否有遥控器连接,若连接,则重复上述操作,若没有连接,则机器人将重新扫描周边的WIFI热点,如此往复。 [0073] When the robot after the AP is switched to the listening mode on service, every 60 seconds if the robot is connected with a remote self-test, if connected, the above operation is repeated, if there is no connection, the rescan robot WIFI hotspots periphery, so back and forth.

[0074]若机器人连接WIFI成功,则进入WIFI模式,同样也会开启监听服务判断是否有遥控器与之连接。 [0074] If the robot WIFI connection is successful, the WIFI mode, will also open listening service to determine whether there is a remote control connected to it. 机器人尝试连接服务器,如机器人连接上服务器,服务器将对机器人的身份进行验证识别,若验证成功,则机器人成功登入服务器进入远程服务器模式,并可与遥控器进行远程通信连接,若验证失败或没有连上服务器,机器人将保持本地WIFI模式并将每60秒尝试与服务器连接,另外,网络出现故障有WIFI也无法上网,或是远程服务器自身出现故障,都将导致机器人连接不上服务器。 Robot trying to connect the server, such as a robot connected to the server, the server will verify the identity of the robot's identification, if the verification is successful, the robot remote server successfully logged into the server mode, and remote communication connection with the remote control, or if no verification failure connected to the server, the robot will maintain a local WIFI mode every 60 seconds and try to connect to the server, in addition, there is WIFI network failures can not access, or remote server itself fails, the robot will lead to not connect to the server.

[0075]机器人在任何连接状态时,将通过适当方式(如灯光、蜂鸣声等)让用户了解当前机器人正处于远程服务器模式、局域网(本地WIFI)模式或AP模式; [0075] connection state of the robot at any time, through appropriate means (e.g., light, beep etc.) to let the user know the current mode of the robot is in a remote server, a LAN (Local WIFI) mode or AP mode;

[0076]上述机器人每60秒的自检操作是为了机器人可选择更好的连接方式,以支持更高的网络宽带,可与遥控器进行高质量的音视频传输。 [0076] The robot every 60 seconds in order to test operation of the robot can use better connection to support higher network bandwidth, can transmit high-quality audio and video with the remote controller.

[0077]本发明中编辑修改机器人内的信息方式不局限于上述最佳实施方式,如果在机器人上安装触摸屏或其他显示输入设备,可以通过直接在机器人上扫描及输入SSID密码的方式,不必与遥控器事先连接好才能连接新WIFI热点。 [0077] In the present invention, the information in the edit mode not limited to the modified preferred embodiment of the robot embodiment, if a touch screen or other display mounted input device on the robot, can be scanned directly on the robot, and the password input mode SSID, need not connect remote control in advance in order to connect the new WIFI hotspot.

[0078]任何人应该得知在本发明的启示下作出的结构变化,凡是与本发明具有相同或相近的技术方案,均落入本发明的保护范围之内。 [0078] and any structural changes that should be made in light of the present invention, the present invention all have the same or similar technical solutions, all fall within the scope of the present invention.

Claims (9)

1.机器人与遥控器建立连接的方法,其特征在于,包括以下步骤: 判断机器人与遥控器是否可在同一局域网内建立连接; 当二者不能成功建立连接时,判断机器人与遥控器是否可以通过互联网分别连接至远程服务器,并建立二者之间的连接; 当二者不能成功建立连接时,机器人打开自身AP热点,遥控器利用该AP热点加入机器人建立的局域网并与机器人建立连接。 1. robot and the remote control method for establishing a connection, characterized by comprising the steps of: determining whether the robot and the remote controller to establish a connection within the same local area network; not both when connection is successfully established, determining whether the robot and the remote controller by Internet are connected to a remote server, and establish a connection therebetween; not both when connection is successfully established, the robot opens itself hot AP, AP with which the remote LAN hotspot was added and the robot establish a connection with the robot.
2.如权利要求1所述的方法,其特征在于,机器人与遥控器在同一局域网内建立连接的方法如下: 遥控器通过局域网发送广播信号,同一局域网内的机器人收到广播信号后,返回包含自己身份信息的响应信息,并在遥控器上以列表形式保存; 遥控器通过列表选择其中的一台机器人建立连接。 2. The method according to claim 1, characterized in that the robot and the remote controller of establishing a connection in the same LAN as follows: After a broadcast signal transmitted by the remote LAN, the robot on the same LAN broadcast signal is received, returns a in response to their own identity information, and stores in a list on the remote control; wherein the remote controller to select a connection to a robot through a list.
3.如权利要求1所述的方法,其特征在于,机器人与遥控器通过远程服务器建立连接的方法如下: 机器人与遥控器分别通过互联网连接到远程服务器; 遥控器发送扫描指令,远程服务器返回当前遥控器可控制的机器人身份的响应信息,并在遥控器上以列表形式保存; 遥控器通过列表选择其中的一台机器人建立连接。 3. The method according to claim 1, characterized in that the robot and the remote controller establishing a connection with the remote server is as follows: the robot and the remote controller are connected via the Internet to a remote server; remote controller transmits a scan instruction, the remote server returns this remote control response information may be the identity of the robot and stored in a list on the remote control; wherein the remote controller to select a connection to a robot through a list.
4.如权利要求1所述的方法,其特征在于,若机器人与遥控器在同一局域网内且可连接远程服务器,默认通过局域网建立连接。 4. The method according to claim 1, wherein, when the robot and the remote controller in the same LAN and can connect to a remote server, the default connection is established through a LAN.
5.如权利要求1所述的方法,其特征在于,所述机器人内设有支持APmode的无线网络适配器。 5. The method according to claim 1, wherein said support APmode robot equipped with wireless network adapters.
6.如权利要求1所述的方法,其特征在于,所述遥控器为移动终端设备。 6. The method according to claim 1, wherein said remote control is a mobile terminal device.
7.如权利要求1所述的方法,其特征在于,所述遥控器可管理编辑所述机器人内保存的所有信息列表,包括WIFI列表和可控的遥控器列表,用户将编辑或修改过的信息列表,发送至所述机器人并保存在所述机器人内。 7. The method according to claim 1, wherein said remote controller may manage a list of all edit information stored in the robot, and a list including WIFI remote controlled list, the user will be edited or modified information list transmitted to the robot and stored within the robot.
8.如权利要求1所述的方法,其特征在于,所述机器人通过灯光、蜂鸣声提醒用户当前机器人采用何种方式建立连接。 8. The method according to claim 1, characterized in that said robot by light, beep to alert the user how to establish a connection using the current robot.
9.如权利要求1所述的方法,其特征在于,机器人与遥控器无论是通过远程服务器建立连接,还是通过AP热点建立连接,当发现可以通过同一局域网建立连接时,则切换为通过同一局域网建立连接。 9. The method according to claim 1, characterized in that the robot and the remote controller whether to establish a connection through a remote server, or connect through hot AP, when found can be established via the same local area network, a local area network is switched through the same establish connection.
CN201610251433.3A 2016-04-21 2016-04-21 Method for establishing connection between robot and remote controller CN105844881A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610251433.3A CN105844881A (en) 2016-04-21 2016-04-21 Method for establishing connection between robot and remote controller

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610251433.3A CN105844881A (en) 2016-04-21 2016-04-21 Method for establishing connection between robot and remote controller
PCT/CN2017/081075 WO2017181956A1 (en) 2016-04-21 2017-04-19 Method for establishing connection with and controlling intelligent robot through intelligent terminal

Publications (1)

Publication Number Publication Date
CN105844881A true CN105844881A (en) 2016-08-10

Family

ID=56588703

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610251433.3A CN105844881A (en) 2016-04-21 2016-04-21 Method for establishing connection between robot and remote controller

Country Status (1)

Country Link
CN (1) CN105844881A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106357492A (en) * 2016-09-27 2017-01-25 美的智慧家居科技有限公司 Network access method and device for household appliance and household appliance
WO2017181956A1 (en) * 2016-04-21 2017-10-26 孙天齐 Method for establishing connection with and controlling intelligent robot through intelligent terminal

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1743144A (en) * 2005-09-29 2006-03-08 天津理工大学 Internet-based robot long-distance control method
CN201374697Y (en) * 2009-03-09 2009-12-30 江苏省电力公司南京供电公司;江苏苏源高科技有限公司 Double-channel concentrator conforming to DLT 698 standard
CN101697497A (en) * 2009-10-10 2010-04-21 江苏省电力公司南京供电公司;江苏苏源高科技有限公司; Multifunctional electrical energy information concentrator and communication method thereof
CN201950673U (en) * 2010-12-16 2011-08-31 深圳市银星智能电器有限公司 Intelligent family service robot system
CN201998172U (en) * 2011-01-06 2011-10-05 深圳市银星智能电器有限公司 Movable robot system with intelligent home alarming module
CN102404725A (en) * 2011-11-08 2012-04-04 复旦大学 Method for safely building WiFi connection by SSID in application program
CN103648181A (en) * 2013-12-24 2014-03-19 广州爱的信息科技有限公司 Wireless network connection method for wireless network audio equipment
CN103941651A (en) * 2013-01-19 2014-07-23 珠海格力电器股份有限公司 Internet-based intelligent home system and control method
CN104202655A (en) * 2014-03-24 2014-12-10 无锡天脉聚源传媒科技有限公司 Method and device of downloading audio and video files
CN104503378A (en) * 2014-11-05 2015-04-08 广州艾若博机器人科技有限公司 Robot and household electrical appliance control method based on robot
CN204633475U (en) * 2015-06-09 2015-09-09 四川汇源光通信有限公司 Binary channels communication system based on transmission line on -line monitoring
CN105068431A (en) * 2015-07-03 2015-11-18 上海姆弘自动化技术有限公司 Remote control method and system for floor-sweeping robot

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1743144A (en) * 2005-09-29 2006-03-08 天津理工大学 Internet-based robot long-distance control method
CN201374697Y (en) * 2009-03-09 2009-12-30 江苏省电力公司南京供电公司;江苏苏源高科技有限公司 Double-channel concentrator conforming to DLT 698 standard
CN101697497A (en) * 2009-10-10 2010-04-21 江苏省电力公司南京供电公司;江苏苏源高科技有限公司; Multifunctional electrical energy information concentrator and communication method thereof
CN201950673U (en) * 2010-12-16 2011-08-31 深圳市银星智能电器有限公司 Intelligent family service robot system
CN201998172U (en) * 2011-01-06 2011-10-05 深圳市银星智能电器有限公司 Movable robot system with intelligent home alarming module
CN102404725A (en) * 2011-11-08 2012-04-04 复旦大学 Method for safely building WiFi connection by SSID in application program
CN103941651A (en) * 2013-01-19 2014-07-23 珠海格力电器股份有限公司 Internet-based intelligent home system and control method
CN103648181A (en) * 2013-12-24 2014-03-19 广州爱的信息科技有限公司 Wireless network connection method for wireless network audio equipment
CN104202655A (en) * 2014-03-24 2014-12-10 无锡天脉聚源传媒科技有限公司 Method and device of downloading audio and video files
CN104503378A (en) * 2014-11-05 2015-04-08 广州艾若博机器人科技有限公司 Robot and household electrical appliance control method based on robot
CN204633475U (en) * 2015-06-09 2015-09-09 四川汇源光通信有限公司 Binary channels communication system based on transmission line on -line monitoring
CN105068431A (en) * 2015-07-03 2015-11-18 上海姆弘自动化技术有限公司 Remote control method and system for floor-sweeping robot

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017181956A1 (en) * 2016-04-21 2017-10-26 孙天齐 Method for establishing connection with and controlling intelligent robot through intelligent terminal
CN106357492A (en) * 2016-09-27 2017-01-25 美的智慧家居科技有限公司 Network access method and device for household appliance and household appliance

Similar Documents

Publication Publication Date Title
US8122135B2 (en) System, computer program product and method for managing and controlling a local network of electronic devices and reliably and securely adding an electronic device to the network
US7631062B2 (en) System, computer program product and method for managing and controlling a local network of electronic devices
US9826116B2 (en) Image forming apparatus supporting peer to peer connection and method of performing image forming operation thereof
KR100520931B1 (en) Communication system and method in wireless infrastructure network environment
RU2470473C1 (en) Communication device, communication method for said device and machine-readable data storage
US20050148326A1 (en) Wireless LAN setting system and communication terminal
KR100982070B1 (en) Communication method, communication system, and communication device
US7197011B2 (en) System, computer program product and method for managing and controlling a local network of electronic devices
KR101735334B1 (en) Method and apparatus for performing discovery procedures in wi-fi p2p device
EP1389853A1 (en) Bandwidth oriented reconfiguration of wireless ad hoc networks
JP5477951B2 (en) Automatic ad hoc network formation and coalescence using Wps
CN100505651C (en) Method and system for sending signals to nodes in a system
US8755276B2 (en) System, computer program product and method for accessing a local network of electronic devices
US8565165B2 (en) Wireless terminal device, communication method, and computer-readable recording medium
CN103914041B (en) The method of binding terminal and the user operates the appliance control device and a control system for home appliance
US8625461B2 (en) Mobile WLAN gateway
US20090300722A1 (en) Support for integrated wlan hotspot clients
US20070173296A1 (en) Communication apparatus having power-saving communication function, and communication method
KR20130015135A (en) Method for generating wi-fi p2p group
US20140053246A1 (en) Self-configuring wireless network
CN1666473A (en) Interface selection from multiple networks
US8037218B2 (en) Communication apparatus and method
US10178610B2 (en) Smart home control method and system based on alljoyn technology
CN103369637A (en) Communication means
CN104375497A (en) Smart home, smart home control method, control system and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination