WO2019000229A1 - Pairing method and apparatus for wireless device and computing device - Google Patents

Pairing method and apparatus for wireless device and computing device Download PDF

Info

Publication number
WO2019000229A1
WO2019000229A1 PCT/CN2017/090360 CN2017090360W WO2019000229A1 WO 2019000229 A1 WO2019000229 A1 WO 2019000229A1 CN 2017090360 W CN2017090360 W CN 2017090360W WO 2019000229 A1 WO2019000229 A1 WO 2019000229A1
Authority
WO
WIPO (PCT)
Prior art keywords
pairing
client
clients
server
current client
Prior art date
Application number
PCT/CN2017/090360
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 深圳市大疆创新科技有限公司
Priority to PCT/CN2017/090360 priority Critical patent/WO2019000229A1/en
Priority to CN201780026991.2A priority patent/CN109076322A/en
Publication of WO2019000229A1 publication Critical patent/WO2019000229A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The present disclosure provides a pairing method for a wireless device, applied to a server to be paired with a plurality of clients, and comprises: entering a pairing state to pair with a current client; upon completing pairing with the current client, automatically re-entering the pairing state to pair with a next client; and ending the pairing state, according to a user operation, a system configuration, or upon completing pairing with the plurality of clients, and entering a working state. According to embodiments of the present disclosure, setting a pairing state of a server device to automatically pair with a plurality of client devices without manual intervention can reduce pairing time, and improve productivity of the server and client devices.

Description

无线设备的配对方法和装置以及计算设备Pairing method and device for wireless device and computing device 技术领域Technical field
本公开涉及无线控制技术领域,尤其涉及一种无线设备的配对方法和装置以及计算设备。The present disclosure relates to the field of wireless control technologies, and in particular, to a method and apparatus for pairing wireless devices and a computing device.
背景技术Background technique
随着无线控制技术的发展,无人机等无线设备在生产领域和日常生活中都得到了越来越广泛的应用。无线设备的控制端和设备端一般可视为点对点网络,为了保证无线链路的安全、防止来自其他无线信号的干扰,在控制端与设备端之间建立点对点网络之前,通常需要进行配对操作。以无人机的应用场景为例,配对过程一般包括如下步骤:首先,在无人机按下对频按钮;然后,通过遥控器的应用程序(App)或按下遥控器快捷按键来选择开始配对;之后在无人机与遥控器之间完成频道集合、设备ID和秘钥的交换,配对成功即可进入使用状态。With the development of wireless control technology, wireless devices such as drones have been widely used in production and daily life. The control end and the device end of the wireless device can generally be regarded as a point-to-point network. In order to ensure the security of the wireless link and prevent interference from other wireless signals, a pairing operation is usually required before establishing a point-to-point network between the control end and the device end. Taking the application scenario of the drone as an example, the pairing process generally includes the following steps: First, press the frequency button on the drone; then, select the start by using the remote control application (App) or pressing the remote control shortcut button. Pairing; after that, the channel set, device ID and key exchange are completed between the drone and the remote controller, and the pairing succeeds to enter the use state.
相关技术中控制端和设备端之间的配对过程还不算繁琐,可通过使用者来手动完成。然而,随着无线控制的应用场景逐渐扩展到一控多设备(一个控制端对应控制多个设备端)和一设备多控(多个控制端同时控制一个设备端),手动配对的方法就显得繁琐和枯燥,不仅浪费大量的时间,也影响设备的工作效率。The matching process between the control end and the device end in the related art is not cumbersome and can be manually performed by the user. However, as the application scenario of the wireless control is gradually extended to one control multi-device (one control end corresponding to controlling multiple device ends) and one device multi-control (multiple control terminals simultaneously control one device end), the manual pairing method appears It is cumbersome and boring, which not only wastes a lot of time, but also affects the working efficiency of the equipment.
应当理解的是,以上的一般描述仅是对相关技术的示例性解释,并不表示属于本公开的现有技术。It is to be understood that the above general description is merely illustrative of the related art and does not represent the prior art of the present disclosure.
发明内容Summary of the invention
本公开的目的是提供一种无线设备的配对方法和装置及计算设备,至少在一定程度上克服由于相关技术的限制和缺陷而导致的一个或者多个问题。It is an object of the present disclosure to provide a method and apparatus for pairing wireless devices and computing devices that overcome, at least to some extent, one or more problems due to limitations and disadvantages of the related art.
本公开的其他特性和优点将通过下面的详细描述变得显然,或部分地通过本公开的实践而习得。Other features and advantages of the present disclosure will be apparent from the following detailed description.
根据本公开实施例的第一方面,提供一种无线设备的配对方法,应用于待与多个客户端进行配对的服务端,所述方法包括:进入配对状态与当前客户端进行配对;在与所述当前客户端完成配对后,自动再次进入所述配对状态与下一客户端进行配对;以及根据用户操作或系统配置,或者在与所述多个客户端完成配对后,结束所述配对状态并进入工作状态。According to a first aspect of the embodiments of the present disclosure, a method for pairing a wireless device is provided, which is applied to a server to be paired with a plurality of clients, the method comprising: entering a pairing state to pair with a current client; After the current client completes pairing, the pairing state is automatically re-entered into pairing with the next client; and the pairing state is ended according to user operation or system configuration, or after pairing with the plurality of clients. And enter the working state.
根据本公开实施例的第二方面,提供一种无线设备的配对装置,应用于待与多个客户端进行配对的服务端,所述装置包括:配对模块,设置为使所述服务端进入配对状态与当前客户端进行配对;并且在与所述当前客户端完成配对后,自动再次进入所述配对状态与下一客户端进行配对;以及判定模块,设置为根据用户操作或系统配置,或者在与所述多 个客户端完成配对后,使所述服务端结束所述配对状态并进入工作状态。According to a second aspect of the embodiments of the present disclosure, there is provided a pairing device for a wireless device, which is applied to a server to be paired with a plurality of clients, the device comprising: a pairing module configured to cause the server to enter the pairing The status is paired with the current client; and after pairing with the current client, automatically entering the pairing state and pairing with the next client; and the determining module is set to be based on user operation or system configuration, or With the above After the clients complete the pairing, the server ends the pairing state and enters the working state.
根据本公开实施例的第三方面,提供一种存储有计算机程序的存储介质,所述计算机程序在由计算机的处理器运行时,使所述计算机执行如上所述的方法。According to a third aspect of an embodiment of the present disclosure, there is provided a storage medium storing a computer program that, when executed by a processor of a computer, causes the computer to perform the method as described above.
根据本公开实施例的第四方面,提供一种计算设备,应用于待与多个客户端进行配对的服务端,包括:处理器;存储器,存储有可由所述处理器执行的指令;其中所述处理器被配置为执行:使所述服务端进入配对状态与当前客户端进行配对;在与所述当前客户端完成配对后,使所述服务端再次进入所述配对状态与下一客户端进行配对;以及根据用户操作或系统配置,或者在与所述多个客户端完成配对后,使所述服务端结束所述配对状态并进入工作状态。According to a fourth aspect of the embodiments of the present disclosure, there is provided a computing device, applicable to a server to be paired with a plurality of clients, comprising: a processor; a memory storing instructions executable by the processor; The processor is configured to perform: pairing the server into a pairing state to pair with a current client; after completing pairing with the current client, causing the server to enter the pairing state and the next client again Pairing is performed; and according to user operation or system configuration, or after pairing with the plurality of clients, the server is caused to end the pairing state and enter a working state.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
本公开的一种实施例中,通过设置服务端设备的配对状态,能够在无需人工干预的情况下完成与多个客户端设备的自动配对,节省了配对时间,提高了服务端和客户端设备的工作效率。In an embodiment of the present disclosure, by setting the pairing status of the server device, automatic pairing with multiple client devices can be completed without manual intervention, saving pairing time and improving server and client devices. Work efficiency.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。The above general description and the following detailed description are intended to be illustrative and not restrictive.
附图说明DRAWINGS
图1为根据本公开一实施例的无线设备的配对方法流程图。FIG. 1 is a flowchart of a pairing method of a wireless device according to an embodiment of the present disclosure.
图2为根据本公开一实施例的方法中配对步骤的示例流程图。2 is an example flow diagram of a pairing step in a method in accordance with an embodiment of the present disclosure.
图3为根据本公开另一实施例的无线设备的配对方法流程图。FIG. 3 is a flowchart of a pairing method of a wireless device according to another embodiment of the present disclosure.
图4为根据本公开一实施例的无线设备的配对装置结构图。FIG. 4 is a structural diagram of a pairing device of a wireless device according to an embodiment of the present disclosure.
图5为根据本公开一实施例的无线设备的配对设备示意图。FIG. 5 is a schematic diagram of a pairing device of a wireless device according to an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将参考若干示例性实施方式来描述本发明的原理和精神。应当理解,给出这些实施方式仅仅是为了使本领域技术人员能够更好地理解进而实现本发明,而并非以任何方式限制本发明的范围。相反,提供这些实施方式是为了使本公开更加透彻和完整,并且能够将本公开的范围完整地传达给本领域的技术人员。The principles and spirit of the present invention are described below with reference to a few exemplary embodiments. It is to be understood that the embodiments are presented only to enable those skilled in the art to understand the invention. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
本领域技术人员知道,本发明的实施方式可以实现为一种系统、装置、设备、方法或计算机程序产品。因此,本公开可以具体实现为以下形式,即:完全的硬件、完全的软件(包括固件、驻留软件、微代码等),或者硬件和软件结合的形式。Those skilled in the art will appreciate that embodiments of the present invention can be implemented as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of full hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.
根据本发明的实施方式,提出了一种无线设备的配对方法和装置以及计算设备。In accordance with an embodiment of the present invention, a method and apparatus for pairing wireless devices and computing devices are presented.
下面参考本发明的若干代表性实施方式,详细阐释本发明的原理和精神。The principles and spirit of the present invention are explained in detail below with reference to a few representative embodiments of the invention.
需要说明的是,本公开的以下实施例用服务端(SERVER)和客户端(CLIENT)分别表示控制设备和被控设备中的一个和另一个,但并不仅限于此。例如,在一控多设备的场景下, 包括一个控制设备(如遥控器)和多个被控设备(如无人机),服务端对应于控制设备,而客户端对应于被控设备。又例如,在一设备多控的场景下,包括一个被控设备(如无人机)和多个控制设备(如遥控器),此时服务端对应于被控设备,而客户端对应于控制设备。在一个实施例中,控制设备和被控设备可以根据不同的应用场景通过烧录相应固件或安装相应软件来决定对应于以下实施例的服务端还是客户端。It should be noted that the following embodiments of the present disclosure use the server (SERVER) and the client (CLIENT) to respectively represent one and the other of the control device and the controlled device, but are not limited thereto. For example, in the case of a multi-device, It includes a control device (such as a remote control) and a plurality of controlled devices (such as a drone). The server corresponds to the control device, and the client corresponds to the controlled device. For another example, in a scenario where multiple devices are controlled, including a controlled device (such as a drone) and multiple control devices (such as a remote controller), the server corresponds to the controlled device, and the client corresponds to the control. device. In an embodiment, the control device and the controlled device may determine whether the server or the client corresponding to the following embodiment is determined by burning corresponding firmware or installing corresponding software according to different application scenarios.
为不失通用性,本公开的以下实施例均以服务端和客户端来描述配对过程,而不限定二者分别是控制设备还是被控设备。For the sake of versatility, the following embodiments of the present disclosure describe the pairing process by the server and the client, without limiting whether the two are control devices or controlled devices, respectively.
图1为根据本公开一实施例的无线设备的配对方法流程图。本实施例的方法可应用于待与多个客户端进行配对的服务端。如图1所示,本实施例的方法包括以下步骤S101-S103。FIG. 1 is a flowchart of a pairing method of a wireless device according to an embodiment of the present disclosure. The method of this embodiment can be applied to a server to be paired with a plurality of clients. As shown in FIG. 1, the method of this embodiment includes the following steps S101-S103.
在步骤S101中,服务端进入配对状态与当前客户端进行配对。In step S101, the server enters the pairing state and pairs with the current client.
本步骤中,服务端和所有待匹配的客户端均进入配对状态。以无人机的应用场景为例,无人机自身可通过按键进入配对状态,而遥控器则可通过应用程序(App)或快捷按键进入配对状态。In this step, the server and all clients to be matched enter the pairing state. Taking the application scenario of the drone as an example, the drone itself can enter the pairing state by pressing the button, and the remote controller can enter the pairing state through the application (App) or the shortcut button.
在一个实施例中,步骤S101针对当前客户端的配对过程示例如图2所示,可包括以下步骤S201-S203。In an embodiment, the step S101 for the current client's pairing process is shown in FIG. 2, and may include the following steps S201-S203.
在步骤S201中,服务端接收当前客户端发送的配对请求。In step S201, the server receives the pairing request sent by the current client.
服务端与当前客户端进入配对状态时,双方使用约定的频点、带宽、设备ID和扰码等进行通信,由客户端搜索服务端。在客户端确认搜索到服务端后开始配对流程,首先由客户端向服务端发送配对请求。在一个实施例中,配对请求中携带但不限于当前客户端的设备类型和设备ID。When the server enters the pairing state with the current client, the two parties communicate using the agreed frequency, bandwidth, device ID, and scrambling code, and the client searches for the server. After the client confirms the search to the server, the pairing process starts. First, the client sends a pairing request to the server. In one embodiment, the pairing request carries, but is not limited to, the device type and device ID of the current client.
在本实施例中,由于存在多个客户端要与服务端同时配对,因此可能发生服务端在与当前客户端配对的过程中收到其他客户端发送的配对请求的情况。为避免对服务端与当前客户端的配对造成干扰,在一个实施例中,本步骤S201中服务端在收到当前客户端发送的配对请求时可立即启动一计时器(TIMER),在计时器的预设时间长度内如果再收到其他客户端的配对请求时将直接忽略,直到当前配对过程完成或者计时器超时后才能接收并处理下一客户端发送的新配对请求。In this embodiment, since there are multiple clients to be paired with the server at the same time, it may happen that the server receives the pairing request sent by other clients in the process of pairing with the current client. In order to avoid interference with the pairing of the server and the current client, in an embodiment, in this step S201, the server can immediately start a timer (TIMER) when receiving the pairing request sent by the current client, in the timer If the pairing request of other clients is received within the preset time length, it will be directly ignored until the current pairing process is completed or the timer expires before the new pairing request sent by the next client can be received and processed.
在步骤S202中,服务端向当前客户端发送配对设置。In step S202, the server sends a pairing setting to the current client.
服务端在收到当前客户端发送的配对请求后,向其发送相应的配对设置。在一个实施例中,配对设置中携带但不限于服务端的设备类型、设备ID、为当前客户端分配的设备编号、与当前客户端之间的链路秘钥。After receiving the pairing request sent by the current client, the server sends the corresponding pairing settings to it. In one embodiment, the pairing settings carry, but are not limited to, the device type of the server, the device ID, the device number assigned to the current client, and the link key with the current client.
在步骤S203中,服务端接收当前客户端反馈的配对确认以完成与当前客户端的配对。In step S203, the server receives the pairing confirmation of the current client feedback to complete the pairing with the current client.
当前客户端在收到服务端发送的配对设备后,会向服务端回传配对确认以完成此次配对。在一个实施例中,配对确认中携带但不限于自身的设备ID和从配对设备中提取的服务端为自身分配的设备编号。 After receiving the paired device sent by the server, the current client will return a pairing confirmation to the server to complete the pairing. In one embodiment, the pairing confirmation carries, but is not limited to, its own device ID and the device number assigned to itself by the server extracted from the paired device.
在步骤S102中,服务端在与当前客户端完成配对后,自动再次进入配对状态与下一客户端进行配对。In step S102, after the server completes pairing with the current client, the server automatically enters the pairing state again to pair with the next client.
相关技术中服务端在与某个客户端完成配对后,会结束配对状态并进入正常工作状态,在工作状态中例如准备接收用户的操作而向配对的客户端发出相应的控制指令。在本实施例中,服务端在与当前客户端完成配对后,会自动再次进入配对状态准备与下一客户端进行配对。与下一客户端的配对过程可直接参照步骤S101的实施例,例如下一客户端即被视为当前客户端从而执行步骤S201-S203的配对过程。In the related art, after the server completes pairing with a certain client, the pairing state is ended and the normal working state is entered. In the working state, for example, it is ready to receive the user's operation and issue corresponding control commands to the paired client. In this embodiment, after the server completes pairing with the current client, it will automatically enter the pairing state again and prepare to pair with the next client. The pairing process with the next client can directly refer to the embodiment of step S101, for example, the next client is regarded as the current client to perform the pairing process of steps S201-S203.
在步骤S103中,服务端根据用户操作或系统配置,或者在与多个客户端完成配对后,结束配对状态并进入工作状态。In step S103, the server ends the pairing state and enters the working state according to the user operation or system configuration, or after pairing with multiple clients.
与相关技术中服务端在与某个客户端完成配对后即结束配对状态并进入工作状态不同,在本实施例中,服务端是根据用户操作或者系统配置或者是在确定与所有待配对的客户端完成配对后来结束配对状态并进入工作状态。例如,用户在判断所有待配对的客户端都完成配对后,可手动复位服务端使其进入正常工作状态。又例如,服务端在判断配对的客户端数目达到自身允许的连接设备上限时自动复位进入正常工作状态。再例如,服务端在判断预设时间段内都未收到新的配对请求时(从而可确定与所有客户端完成配对)自动复位进入正常工作状态。In the related art, the server ends the pairing state and enters the working state after completing the pairing with a certain client. In this embodiment, the server is determined according to the user operation or system configuration or is determined to be associated with all the clients to be paired. After the pair completes the pairing, it ends the pairing state and enters the working state. For example, after the user determines that all the clients to be paired have been paired, the user can manually reset the server to enter the normal working state. For another example, the server automatically resets to the normal working state when it determines that the number of the paired clients reaches the upper limit of the connected devices allowed by itself. For another example, when the server does not receive a new pairing request within a predetermined period of time (and thus can determine that all clients are paired), the server automatically resets to a normal working state.
图3为根据本公开另一实施例的无线设备的配对方法流程图。本实施例的方法可应用于已与多个客户端完成配对的服务端。如图3所示,本实施例的方法包括以下步骤S301-S303。FIG. 3 is a flowchart of a pairing method of a wireless device according to another embodiment of the present disclosure. The method of this embodiment can be applied to a server that has been paired with a plurality of clients. As shown in FIG. 3, the method of this embodiment includes the following steps S301-S303.
在步骤S301中,服务端保存并呈现多个客户端的列表。In step S301, the server saves and presents a list of a plurality of clients.
在一个实施例中,服务端可保存多个客户端的配对信息,并以列表的形式提供给服务端用户。以无人机的一控多机应用场景为例,遥控设备可通过自身的屏幕或者通过相应的应用程序将上述列表呈现给用户。客户端列表例如可包括相应的客户端设备ID和服务端为各客户端分配的设备编号,从而方便用户通过该列表对特定客户端进行操作。In one embodiment, the server may store pairing information of multiple clients and provide them to the server users in the form of a list. Taking a multi-machine application scenario of the drone as an example, the remote control device can present the above list to the user through its own screen or through a corresponding application. The client list may include, for example, a corresponding client device ID and a device number assigned by the server to each client, thereby facilitating the user to operate on the specific client through the list.
在步骤S302中,服务端接收用户在列表中对至少一个客户端的操作。In step S302, the server receives an operation of the user on the at least one client in the list.
用户在服务端呈现的列表中可选择一个或多个客户端进行多种操作,例如包括但不限于删除操作、选定操作和重命名操作等等,并根据不同的操作种类进入不同的后续步骤。The user may select one or more clients in the list presented by the server to perform various operations, such as but not limited to deletion operations, selected operations, and rename operations, etc., and enter different subsequent steps according to different operation types. .
在步骤S303中,根据用户的删除操作在广播的允许接入设备中删除对应的至少一个客户端,以使该至少一个客户端无法搜到服务端。In step S303, the corresponding at least one client is deleted in the broadcast enabled access device according to the deletion operation of the user, so that the at least one client cannot find the server.
用户可根据实际需求,例如在服务端连接设备达到上限的情况下为了新增客户端设备,可选取列表中的一个或多个客户端进行删除操作。为防止被删除的客户端后续尝试接入服务端而对其它设备造成干扰,在一个实施例中,服务端例如可通过加密通信的方式向外广播允许接入(即配对)的客户端设备信息(如包括设备ID和设备编号),并在其中删除用户所选取的一个或多个客户端。如此一来,被删除的客户端在收到广播的设备信息后,发现自身不在允许的接入设备中,从而例如通过删除自身所保存的服务端设备ID 的方式来实现后续无法搜到该服务端。The user can select one or more clients in the list to delete according to actual needs. For example, if the server connected to the device reaches the upper limit, the user may select one or more clients in the list. In order to prevent the deleted client from subsequently attempting to access the server and causing interference to other devices, in one embodiment, the server may broadcast the access device information that allows access (ie, pairing), for example, by means of encrypted communication. (such as including the device ID and device number), and delete one or more clients selected by the user. In this way, after receiving the broadcasted device information, the deleted client finds that it is not in the allowed access device, for example, by deleting the server device ID saved by itself. The way to achieve subsequent can not be found on the server.
在步骤S304中,根据用户的选定操作控制对应的至少一个客户端,以使该至少一个客户端作出响应以提示用户。In step S304, the corresponding at least one client is controlled according to the selected operation of the user, so that the at least one client responds to prompt the user.
相关技术中,在一控多设备的场景下,用户即使通过控制设备选取了终端的某个设备,往往无法及时得知选取的对象。例如,在通过一个遥控器控制多个无人机的场景下,用户在切换选取的无人机时,可能只有在再输入特定飞行操作的指令后才能得知选取的是哪个无人机,由此造成无法及时处理危险的情况。在本实施例中,用户在通过列表选择其中的一个客户端后,服务端可自动向该客户端发出指令,从而使该客户端作出特定的响应,例如通过闪灯、蜂鸣或进行特定飞行动作(如旋转、上升)等方式,达到提示用户的效果。根据本实施例,在无人机等一控多设备的应用场景下,能够使操作者从多个被控设备中快速定位到目标设备,以实施精准控制。In the related art, in a scenario of controlling multiple devices, even if a user selects a certain device of the terminal through the control device, the selected object cannot be known in time. For example, in a scenario where multiple drones are controlled by one remote controller, when the user switches the selected drone, it may only know which drone is selected after re-entering the instruction of the specific flight operation. This creates a situation where the danger cannot be handled in a timely manner. In this embodiment, after the user selects one of the clients through the list, the server can automatically issue an instruction to the client, so that the client makes a specific response, such as by flashing, buzzing, or performing a specific flight. Actions (such as rotation, rising), etc., to achieve the effect of prompting the user. According to the embodiment, in an application scenario of a multi-device such as a drone, the operator can quickly locate the target device from the plurality of controlled devices to implement precise control.
在步骤S305中,根据用户的重命名操作对列表中的至少一个客户端进行重命名。In step S305, at least one client in the list is renamed according to the user's rename operation.
根据特定需要,用户还可在服务端提供的列表中针对一个或多个客户端进行重命名操作,例如根据客户端的颜色、形状等特性或者根据用户偏好,对不同客户端赋以不同的命名,从而方便后续的选定控制等操作。According to specific needs, the user may also perform a rename operation for one or more clients in a list provided by the server, for example, according to the color, shape and the like characteristics of the client or according to the user preference, different clients are given different names. Thereby facilitating subsequent operations such as selected control.
如上所述,步骤S301-S305涉及服务端与多个客户端完成匹配后的通信。在一个实施例中,多个客户端向服务端发送的上行消息(如响应消息)可通过时分、频分、码分等相关技术实现多址通信;而服务端到客户端则可通过广播和点播的方式进行下行消息(如控制消息)的发送。例如,服务端发送的下行广播数据是由针对各个客户端的数据携带相应的客户端标识(例如上述由服务端分配的设备编号)组包而成,客户端在组包的数据中根据自身标识从广播数据提取给自身的数据,并丢弃给其他客户端的数据。进一步例如,在无人机的一控多机场景下,遥控器可以选择控制所有无人机或控制其中一架或几架无人机,相应地,遥控器在向无人机广播下发的飞控命令中携带目标无人机的设备编号,只有被选中的无人机才能从广播数据中提取相应的飞控命令以响应遥控器的摇杆操作,而没有被选中的无人机则悬停或执行自动飞行。As described above, steps S301-S305 involve the communication between the server and the plurality of clients after the matching is completed. In an embodiment, an uplink message (such as a response message) sent by multiple clients to the server may implement multiple access communication by using related technologies such as time division, frequency division, and code division; and the server to the client may broadcast and The method of on-demand broadcasts downlink messages (such as control messages). For example, the downlink broadcast data sent by the server is formed by grouping the corresponding client identifier (for example, the device number assigned by the server) for the data of each client, and the client is based on the identity of the packet in the data of the packet. The broadcast data is extracted to its own data and discarded to other clients' data. Further, for example, in a controlled multi-machine scenario of the drone, the remote controller can selectively control all the drones or control one or several drones, and accordingly, the remote controller broadcasts to the drones. The flight control command carries the device number of the target drone. Only the selected drone can extract the corresponding flight control command from the broadcast data in response to the joystick operation of the remote controller, while the unmanned drone is suspended. Stop or perform an automatic flight.
另外,上述实施例中服务端和客户端之间的通信均以二者之间的直接加密通信为例进行说明,但本公开并不仅限于此。在一个实施例中,服务端和客户端均设置有网络接入装置(例如无线网卡或3G/4G通信模块),从而二者可借助通信公网(例如因特网或3G/4G移动数据网络)和私有服务器(例如设备厂商提供的服务器)来完成配对过程,至于配对信息则可通过上述私有服务器进行存储和完成交互,从而保护用户的隐私并保障设备的安全。In addition, the communication between the server and the client in the above embodiment is described by taking the direct encrypted communication between the two as an example, but the disclosure is not limited thereto. In an embodiment, both the server and the client are provided with a network access device (such as a wireless network card or a 3G/4G communication module), so that the two can be connected via a public network (such as the Internet or a 3G/4G mobile data network) and A private server (such as a server provided by a device manufacturer) completes the pairing process, and the pairing information can be stored and completed through the above-mentioned private server, thereby protecting the privacy of the user and ensuring the security of the device.
需要说明的是,尽管在附图中以特定顺序描述了本公开中方法的各个步骤,但是,这并非要求或者暗示必须按照该特定顺序来执行这些步骤,或是必须执行全部所示的步骤才能实现期望的结果。附加的或备选的,可以省略某些步骤,将多个步骤合并为一个步骤执行,以及/或者将一个步骤分解为多个步骤执行等。另外,也易于理解的是,这些步骤可 以是例如在多个模块/进程/线程中同步或异步执行。It should be noted that, although the various steps of the method of the present disclosure are described in a particular order in the drawings, this does not require or imply that the steps must be performed in the specific order, or that all the steps shown must be performed. Achieve the desired results. Additionally or alternatively, certain steps may be omitted, multiple steps being combined into one step execution, and/or one step being decomposed into multiple step executions and the like. In addition, it is also easy to understand that these steps can be So, for example, synchronous or asynchronous execution in multiple modules/processes/threads.
本示例实施方式中进一步提供了一种无线设备的配对装置,该装置可以软件和/或硬件的方式应用于待与多个客户端进行配对的服务端。图4为根据本公开一实施例的无线设备的配对装置结构图。如图4所示,本实施例中无线设备的配对装置包括配对模块41和判定模块42。其中,配对模块41可设置为使上述服务端进入配对状态与当前客户端进行配对,并且在与该当前客户端完成配对后,自动再次进入配对状态与下一客户端进行配对;判定模块42可设置为根据用户操作或系统配置,或者在与上述多个客户端完成配对后,使服务端结束配对状态并进入工作状态。Further provided in this example embodiment is a pairing device of a wireless device that can be applied to a server to be paired with a plurality of clients in a software and/or hardware manner. FIG. 4 is a structural diagram of a pairing device of a wireless device according to an embodiment of the present disclosure. As shown in FIG. 4, the pairing device of the wireless device in this embodiment includes a pairing module 41 and a determining module 42. The pairing module 41 may be configured to enable the server to enter the pairing state and pair with the current client, and after completing the pairing with the current client, automatically enter the pairing state and pair with the next client; the determining module 42 may It is set to end the pairing state and enter the working state according to the user operation or system configuration, or after pairing with the above multiple clients.
在一个实施例中,配对模块41进一步包括请求接收单元411、配置发送单元412及确认单元413。其中,请求接收单元411可设置为接收当前客户端发送的配对请求;配置发送单元412可设置为向当前客户端发送配对设置;确认单元413可设置为接收当前客户端反馈的配对确认以完成与当前客户端的配对。In one embodiment, the pairing module 41 further includes a request receiving unit 411, a configuration transmitting unit 412, and a confirming unit 413. The request receiving unit 411 can be configured to receive the pairing request sent by the current client; the configuration sending unit 412 can be configured to send the pairing setting to the current client; the confirming unit 413 can be configured to receive the pairing confirmation of the current client feedback to complete Current client pairing.
在一个实施例中,配对模块41还包括计时单元414、处理单元415及通知单元416。其中,计时单元414可设置为在请求接收单元411接收到当前客户端发送的配对请求时启动计时;处理单元415与计时单元414连接并可设置为在预设时间长度内忽略其他客户端发送的配对请求;通知单元416可设置为在计时单元414的计时超过上述预设时间长度时或者在确认单元413完成与当前客户端的配对时,通知请求接收单元411继续接收下一客户端发送的配对请求。In one embodiment, the pairing module 41 further includes a timing unit 414, a processing unit 415, and a notification unit 416. The timing unit 414 can be configured to start timing when the request receiving unit 411 receives the pairing request sent by the current client; the processing unit 415 is connected to the timing unit 414 and can be set to ignore the sending by other clients for a preset length of time. Pairing request; the notification unit 416 may be configured to notify the request receiving unit 411 to continue receiving the pairing request sent by the next client when the timing of the timing unit 414 exceeds the preset time length or when the confirmation unit 413 completes pairing with the current client. .
在一个实施例中,本公开无线设备的配对装置还包括列表模块43、输入模块44、删除模块45以及选择模块46。其中,列表模块43可设置为在与上述多个客户端完成配对后保存并呈现这多个客户端的列表;输入模块44可设置为接收用户在上述列表中对至少一个客户端的删除操作或选定操作;删除模块45可设置为根据输入模块44接收的删除操作在广播的允许接入设备中删除对应的至少一个客户端,以使该至少一个客户端无法搜到上述服务端;选择模块46可设置为根据输入模块44接收的选定操作控制对应的至少一个客户端,以使该至少一个客户端作出响应以提示用户。In one embodiment, the pairing device of the disclosed wireless device further includes a list module 43, an input module 44, a delete module 45, and a selection module 46. The list module 43 may be configured to save and present a list of the plurality of clients after pairing with the plurality of clients; the input module 44 may be configured to receive a deletion operation or selection of the at least one client by the user in the list. The deleting module 45 may be configured to delete the corresponding at least one client in the broadcast enabled access device according to the deletion operation received by the input module 44, so that the at least one client cannot find the server; the selecting module 46 may It is arranged to control the corresponding at least one client according to the selected operation received by the input module 44, so that the at least one client responds to prompt the user.
在一个实施例中,本公开无线设备的配对装置还包括下行发送模块47和/或上行接收模块48。其中,下行发送模块47可设置为在与上述多个客户端完成配对后通过广播或点播方式向这多个客户端发送下行消息;上行接收模块48可设置为接收上述多个客户端通过多址通信方式发送的上行消息。In one embodiment, the pairing device of the disclosed wireless device further includes a downlink transmitting module 47 and/or an uplink receiving module 48. The downlink sending module 47 may be configured to send a downlink message to the multiple clients by means of broadcast or on-demand after completing pairing with the multiple clients, and the uplink receiving module 48 may be configured to receive the multiple clients by using multiple addresses. Uplink message sent by communication mode.
在一个实施例中,上述下行发送模块47进一步包括:标识单元471和广播单元472。其中,标识单元471可设置为为上述多个客户端分配各自的标识;广播单元472可设置为在针对上述各客户端的控制消息中携带对应的标识后发送广播数据,以使与各标识对应的客户端从该广播数据中提取与自身标识对应的控制消息并丢弃其他数据。In an embodiment, the downlink sending module 47 further includes: an identifying unit 471 and a broadcasting unit 472. The identifier unit 471 can be configured to allocate the respective identifiers to the multiple clients. The broadcast unit 472 can be configured to send the broadcast data after the corresponding identifiers are carried in the control messages of the clients, so that the identifiers are corresponding to the identifiers. The client extracts a control message corresponding to its own identity from the broadcast data and discards other data.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。 With regard to the apparatus in the above embodiments, the specific manner in which the respective modules perform the operations has been described in detail in the embodiment relating to the method, and will not be explained in detail herein.
应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本公开的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。作为模块或单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现木公开方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。It should be noted that although several modules or units of equipment for action execution are mentioned in the detailed description above, such division is not mandatory. Indeed, in accordance with embodiments of the present disclosure, the features and functions of two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of one of the modules or units described above may be further divided into multiple modules or units. The components displayed as modules or units may or may not be physical units, ie may be located in one place or may be distributed over multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the wood disclosure scheme. Those of ordinary skill in the art can understand and implement without any creative effort.
本示例实施方式中,还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时可以实现上述任意一个实施例中所述无线设备的配对方法的步骤。所述无线设备的配对方法的具体步骤可参考前述方法实施例中各步骤的详细描述,此处不再赘述。所述计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In this exemplary embodiment, there is also provided a computer readable storage medium having stored thereon a computer program, the program being executable by the processor to implement the steps of the pairing method of the wireless device in any one of the above embodiments. For detailed steps of the method for pairing the wireless device, reference may be made to the detailed description of the steps in the foregoing method embodiments, and details are not described herein again. The computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
本示例实施方式中,还提供一种计算设备,该计算设备可以应用于待与多个客户端进行配对的服务端,并包括处理器,以及用于存储所述处理器的可执行指令的存储器。其中,所述处理器配置为经由执行所述可执行指令来使所述服务端执行上述任意一个实施例中所述无线设备的配对方法的步骤。该无线设备的配对方法的步骤可参考前述方法实施例中的详细描述,此处不再赘述。所述计算设备可以是手机、平板电脑等移动终端,也可以是台式计算机、服务器等终端设备,本示例实施方式中对此不作限制。In this example embodiment, there is also provided a computing device that can be applied to a server to be paired with a plurality of clients, and includes a processor, and a memory for storing executable instructions of the processor . The processor is configured to, by executing the executable instruction, cause the server to perform the step of the pairing method of the wireless device in any one of the above embodiments. For the steps of the method for pairing the wireless device, refer to the detailed description in the foregoing method embodiments, and details are not described herein again. The computing device may be a mobile terminal such as a mobile phone or a tablet computer, or may be a terminal device such as a desktop computer or a server. This is not limited in this embodiment.
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本公开实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、触控终端、或者网络设备等)执行根据本公开实施方式的上述方法。Through the description of the above embodiments, those skilled in the art will readily understand that the example embodiments described herein may be implemented by software or by software in combination with necessary hardware. Therefore, the technical solution according to an embodiment of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network. A number of instructions are included to cause a computing device (which may be a personal computer, server, touch terminal, or network device, etc.) to perform the above-described methods in accordance with embodiments of the present disclosure.
图5示出根据本公开示例实施方式中一种无线设备的配对设备50的示意图。例如,设备50可以被提供为一无人机的飞行器或遥控器。参照图5,设备50包括处理组件51,其进一步包括一个或多个处理器,以及由存储器52所代表的存储器资源,用于存储可由处理组件51的执行的指令,例如应用程序。存储器52中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件51被配置为执行指令,以执行上述无线设备的配对方法。FIG. 5 shows a schematic diagram of a pairing device 50 of a wireless device in accordance with an example embodiment of the present disclosure. For example, device 50 can be provided as an unmanned aerial vehicle or remote control. Referring to Figure 5, device 50 includes a processing component 51 that further includes one or more processors, and memory resources represented by memory 52 for storing instructions executable by processing component 51, such as an application. An application stored in memory 52 may include one or more modules each corresponding to a set of instructions. Further, the processing component 51 is configured to execute instructions to perform the pairing method of the wireless device described above.
设备50还可以包括一个电源组件53被配置为执行设备50的电源管理,一个有线或无线网络接口54被配置为将设备50连接到网络,和一个输入输出(I/O)接口55。装置50可以操作基于存储在存储器52的操作系统,例如Windows Server,Mac OS X,Unix,Linux,FreeBSD或类似。 Device 50 may also include a power supply component 53 configured to perform power management of device 50, a wired or wireless network interface 54 configured to connect device 50 to the network, and an input/output (I/O) interface 55. Device 50 can operate based on an operating system stored in memory 52, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD or the like.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实 施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由所附的权利要求指出。Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. Scheme. The present application is intended to cover any variations, uses, or adaptations of the present disclosure, which are in accordance with the general principles of the disclosure and include common general knowledge or common technical means in the art that are not disclosed in the present disclosure. . The specification and examples are to be regarded as illustrative only,
虽然已参照几个典型实施例描述了本公开,但应当理解,所用的术语是说明和示例性、而非限制性的术语。由于本公开能够以多种形式具体实施而不脱离申请的精神或实质,所以应当理解,上述实施例不限于任何前述的细节,而应在随附权利要求所限定的精神和范围内广泛地解释,因此落入权利要求或其等效范围内的全部变化和改型都应为随附权利要求所涵盖。 The present disclosure has been described with reference to a few exemplary embodiments, and it is understood that the terms used are illustrative and exemplary and not restrictive. The present disclosure may be embodied in a variety of forms without departing from the spirit or scope of the application, and it is to be understood that the above-described embodiments are not limited to the details of the foregoing, but are construed broadly within the spirit and scope defined by the appended claims All changes and modifications that come within the scope of the claims or the equivalents thereof are intended to be covered by the appended claims.

Claims (22)

  1. 一种无线设备的配对方法,应用于待与多个客户端进行配对的服务端,所述方法包括:A pairing method for a wireless device is applied to a server to be paired with a plurality of clients, the method comprising:
    进入配对状态与当前客户端进行配对;Enter the pairing status to pair with the current client;
    在与所述当前客户端完成配对后,自动再次进入所述配对状态与下一客户端进行配对;以及After pairing with the current client, automatically entering the pairing state and pairing with the next client; and
    根据用户操作或系统配置,或者在与所述多个客户端完成配对后,结束所述配对状态并进入工作状态。The pairing state is terminated and entered into a working state according to a user operation or a system configuration, or after pairing with the plurality of clients.
  2. 如权利要求1所述的方法,其中所述与当前客户端进行配对包括:The method of claim 1 wherein said pairing with a current client comprises:
    接收所述当前客户端发送的配对请求;Receiving a pairing request sent by the current client;
    向所述当前客户端发送配对设置;以及Sending pairing settings to the current client;
    接收所述当前客户端反馈的配对确认以完成与所述当前客户端的配对。Receiving a pairing confirmation of the current client feedback to complete pairing with the current client.
  3. 如权利要求2所述的方法,其中所述与当前客户端进行配对还包括:The method of claim 2 wherein said pairing with a current client further comprises:
    在接收到所述当前客户端发送的所述配对请求时启动计时;Starting timing when receiving the pairing request sent by the current client;
    在预设时间长度内忽略其他客户端发送的配对请求;以及Ignore pairing requests sent by other clients for a preset length of time;
    在所述计时超过所述预设时间长度时或者在所述完成与当前客户端的配对时,接收所述下一客户端发送的配对请求。Receiving a pairing request sent by the next client when the timing exceeds the preset time length or when the pairing with the current client is completed.
  4. 如权利要求1所述的方法,其中在所述与多个客户端完成配对后还包括:The method of claim 1 further comprising: after said pairing with said plurality of clients:
    保存并呈现所述多个客户端的列表;Saving and presenting a list of the plurality of clients;
    接收用户在所述列表中对至少一个客户端的删除操作;以及Receiving a deletion operation of the user on the at least one client in the list;
    根据所述删除操作在广播的允许接入设备中删除对应的至少一个客户端,以使该至少一个客户端无法搜到所述服务端。And deleting, according to the deleting operation, the corresponding at least one client in the broadcast enabled access device, so that the at least one client cannot find the server.
  5. 如权利要求1所述的方法,其中在所述与多个客户端完成配对后还包括:The method of claim 1 further comprising: after said pairing with said plurality of clients:
    保存并呈现所述多个客户端的列表;Saving and presenting a list of the plurality of clients;
    接收用户在所述列表中对至少一个客户端的选定操作;以及Receiving a selected operation of the user on the at least one client in the list;
    根据所述选定操作控制对应的至少一个客户端,以使该至少一个客户端作出响应以提示用户。Controlling the corresponding at least one client according to the selected operation, so that the at least one client responds to prompt the user.
  6. 如权利要求1至5任一项所述的方法,其中在所述与多个客户端完成配对后还包括:The method of any one of claims 1 to 5, further comprising: after the pairing with the plurality of clients:
    通过广播或点播方式向所述多个客户端发送下行消息;和/或Sending a downlink message to the plurality of clients by broadcast or on-demand; and/or
    接收所述多个客户端通过多址通信方式发送的上行消息。Receiving an uplink message sent by the multiple clients by means of multiple access communication.
  7. 如权利要求6所述的方法,其中所述通过广播方式向多个客户端发送控制消息包括:The method of claim 6, wherein the transmitting the control message to the plurality of clients by broadcasting comprises:
    为所述多个客户端分配各自的标识;以及 Assigning respective identifiers to the plurality of clients;
    在针对各所述客户端的控制消息中携带对应的标识后发送广播数据,以使与各标识对应的客户端从所述广播数据中提取与自身标识对应的控制消息并丢弃其他数据。After the corresponding identifier is carried in the control message for each of the clients, the broadcast data is sent, so that the client corresponding to each identifier extracts a control message corresponding to the identifier from the broadcast data and discards other data.
  8. 一种无线设备的配对装置,应用于待与多个客户端进行配对的服务端,所述装置包括:A pairing device for a wireless device is applied to a server to be paired with a plurality of clients, the device comprising:
    配对模块,设置为使所述服务端进入配对状态与当前客户端进行配对;并且在与所述当前客户端完成配对后,自动再次进入所述配对状态与下一客户端进行配对;以及a pairing module, configured to pair the server into a pairing state and pair with a current client; and after completing pairing with the current client, automatically entering the pairing state and pairing with a next client;
    判定模块,设置为根据用户操作或系统配置,或者在与所述多个客户端完成配对后,使所述服务端结束所述配对状态并进入工作状态。The determining module is configured to cause the server to end the pairing state and enter a working state according to a user operation or a system configuration, or after pairing with the plurality of clients.
  9. 如权利要求8所述的装置,其中所述配对模块包括:The apparatus of claim 8 wherein said pairing module comprises:
    请求接收单元,设置为接收所述当前客户端发送的配对请求;a request receiving unit, configured to receive a pairing request sent by the current client;
    配置发送单元,设置为向所述当前客户端发送配对设置;以及Configuring a sending unit, configured to send a pairing setting to the current client;
    确认单元,设置为接收所述当前客户端反馈的配对确认以完成与所述当前客户端的配对。And a confirmation unit, configured to receive a pairing confirmation of the current client feedback to complete pairing with the current client.
  10. 如权利要求9所述的装置,其中所述配对模块还包括:The device of claim 9 wherein said pairing module further comprises:
    计时单元,设置为在所述请求接收单元接收到所述当前客户端发送的所述配对请求时启动计时;a timing unit configured to start timing when the request receiving unit receives the pairing request sent by the current client;
    处理单元,与所述计时单元连接并设置为在预设时间长度内忽略其他客户端发送的配对请求;以及a processing unit coupled to the timing unit and configured to ignore a pairing request sent by other clients for a preset length of time;
    通知单元,设置为在所述计时单元的计时超过所述预设时间长度时或者在所述确认单元完成与当前客户端的配对时,通知所述请求接收单元接收所述下一客户端发送的配对请求。a notification unit, configured to notify the request receiving unit to receive the pairing sent by the next client when the timing of the timing unit exceeds the preset time length or when the confirmation unit completes pairing with the current client request.
  11. 如权利要求8所述的装置,其中还包括:The apparatus of claim 8 further comprising:
    列表模块,设置为在与所述多个客户端完成配对后保存并呈现所述多个客户端的列表;a list module, configured to save and present a list of the plurality of clients after completing pairing with the plurality of clients;
    输入模块,设置为接收用户在所述列表中对至少一个客户端的删除操作;以及An input module configured to receive a deletion operation of the user on the at least one client in the list;
    删除模块,设置为根据所述删除操作在广播的允许接入设备中删除对应的至少一个客户端,以使该至少一个客户端无法搜到所述服务端。The deleting module is configured to delete the corresponding at least one client in the broadcast enabled access device according to the deleting operation, so that the at least one client cannot find the server.
  12. 如权利要求8所述的装置,其中还包括:The apparatus of claim 8 further comprising:
    列表模块,设置为在与所述多个客户端完成配对后保存并呈现所述多个客户端的列表;a list module, configured to save and present a list of the plurality of clients after completing pairing with the plurality of clients;
    输入模块,设置为接收用户在所述列表中对至少一个客户端的选定操作;以及An input module configured to receive a user selected operation of the at least one client in the list;
    选择模块,设置为根据所述选定操作控制对应的至少一个客户端,以使该至少一个客户端作出响应以提示用户。The selecting module is configured to control the corresponding at least one client according to the selected operation, so that the at least one client responds to prompt the user.
  13. 如权利要求8至12任一项所述的装置,其中还包括:The apparatus according to any one of claims 8 to 12, further comprising:
    下行发送模块,设置为在与所述多个客户端完成配对后通过广播或点播方式向所述多 个客户端发送下行消息;和/或a downlink sending module, configured to broadcast to the plurality of clients after being paired with the plurality of clients Clients send downstream messages; and/or
    上行接收模块,设置为接收所述多个客户端通过多址通信方式发送的上行消息。The uplink receiving module is configured to receive an uplink message sent by the multiple clients by using multiple access communication.
  14. 如权利要求13所述的装置,其中所述下行发送模块包括:The apparatus of claim 13, wherein the downlink sending module comprises:
    标识单元,设置为为所述多个客户端分配各自的标识;以及An identification unit, configured to assign respective identifiers to the plurality of clients;
    广播单元,设置为在针对各所述客户端的控制消息中携带对应的标识后发送广播数据,以使与各标识对应的客户端从所述广播数据中提取与自身标识对应的控制消息并丢弃其他数据。a broadcast unit, configured to send broadcast data after carrying the corresponding identifier in the control message for each of the clients, so that the client corresponding to each identifier extracts a control message corresponding to the identifier from the broadcast data and discards the other data.
  15. 一种存储有计算机程序的存储介质,所述计算机程序在由计算机的处理器运行时,使所述计算机执行如权利要求1-7中任一项所述的方法。A storage medium storing a computer program, which when executed by a processor of a computer, causes the computer to perform the method of any one of claims 1-7.
  16. 一种计算设备,应用于待与多个客户端进行配对的服务端,包括:A computing device applied to a server to be paired with multiple clients, including:
    处理器;processor;
    存储器,存储有可由所述处理器执行的指令;a memory storing instructions executable by the processor;
    其中所述处理器被配置为执行:Wherein the processor is configured to execute:
    使所述服务端进入配对状态与当前客户端进行配对;The server is brought into a pairing state and paired with the current client;
    在与所述当前客户端完成配对后,使所述服务端再次进入所述配对状态与下一客户端进行配对;以及After completing pairing with the current client, causing the server to enter the pairing state again to pair with the next client;
    根据用户操作或系统配置,或者在与所述多个客户端完成配对后,使所述服务端结束所述配对状态并进入工作状态。The server ends the pairing state and enters a working state according to a user operation or a system configuration, or after pairing with the plurality of clients.
  17. 如权利要求16所述的计算设备,其中所述处理器进一步被配置为执行:The computing device of claim 16 wherein said processor is further configured to perform:
    接收所述当前客户端发送的配对请求;Receiving a pairing request sent by the current client;
    向所述当前客户端发送配对设置;以及Sending pairing settings to the current client;
    接收所述当前客户端反馈的配对确认以完成与所述当前客户端的配对。Receiving a pairing confirmation of the current client feedback to complete pairing with the current client.
  18. 如权利要求17所述的计算设备,其中所述处理器还被配置为执行:The computing device of claim 17 wherein said processor is further configured to execute:
    在接收到所述当前客户端发送的所述配对请求时启动计时;Starting timing when receiving the pairing request sent by the current client;
    在预设时间长度内忽略其他客户端发送的配对请求;以及Ignore pairing requests sent by other clients for a preset length of time;
    在所述计时超过所述预设时间长度时或者在所述完成与当前客户端的配对时,接收所述下一客户端发送的配对请求。Receiving a pairing request sent by the next client when the timing exceeds the preset time length or when the pairing with the current client is completed.
  19. 如权利要求16所述的计算设备,其中所述处理器还被配置为执行:The computing device of claim 16 wherein said processor is further configured to execute:
    在与所述多个客户端完成配对后保存并呈现所述多个客户端的列表;Saving and presenting a list of the plurality of clients after pairing with the plurality of clients;
    接收用户在所述列表中对至少一个客户端的删除操作;以及Receiving a deletion operation of the user on the at least one client in the list;
    根据所述删除操作在广播的允许接入设备中删除对应的至少一个客户端,以使该至少一个客户端无法搜到所述服务端。And deleting, according to the deleting operation, the corresponding at least one client in the broadcast enabled access device, so that the at least one client cannot find the server.
  20. 如权利要求16所述的计算设备,其中所述处理器还被配置为执行:The computing device of claim 16 wherein said processor is further configured to execute:
    在所述与多个客户端完成配对后保存并呈现所述多个客户端的列表;Saving and presenting a list of the plurality of clients after the pairing with the plurality of clients is completed;
    接收用户在所述列表中对至少一个客户端的选定操作;以及 Receiving a selected operation of the user on the at least one client in the list;
    根据所述选定操作控制对应的至少一个客户端,以使该至少一个客户端作出响应以提示用户。Controlling the corresponding at least one client according to the selected operation, so that the at least one client responds to prompt the user.
  21. 如权利要求16至20任一项所述的计算设备,其中所述处理器还被配置为执行:A computing device as claimed in any of claims 16 to 20, wherein the processor is further configured to perform:
    在所述与多个客户端完成配对后通过广播或点播方式向所述多个客户端发送下行消息;和/或Sending a downlink message to the plurality of clients by broadcast or on-demand after the pairing with the plurality of clients; and/or
    在所述与多个客户端完成配对后接收所述多个客户端通过多址通信方式发送的上行消息。Receiving an uplink message sent by the multiple clients by means of multiple access communication after the pairing with the plurality of clients is completed.
  22. 如权利要求21所述的计算设备,其中所述处理器进一步被配置为执行:The computing device of claim 21 wherein said processor is further configured to perform:
    在所述通过广播方式向多个客户端发送控制消息时为所述多个客户端分配各自的标识;以及Allocating respective identifiers to the plurality of clients when the control message is sent to a plurality of clients by broadcast; and
    在针对各所述客户端的控制消息中携带对应的标识后发送广播数据,以使与各标识对应的客户端从所述广播数据中提取与自身标识对应的控制消息并丢弃其他数据。 After the corresponding identifier is carried in the control message for each of the clients, the broadcast data is sent, so that the client corresponding to each identifier extracts a control message corresponding to the identifier from the broadcast data and discards other data.
PCT/CN2017/090360 2017-06-27 2017-06-27 Pairing method and apparatus for wireless device and computing device WO2019000229A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/090360 WO2019000229A1 (en) 2017-06-27 2017-06-27 Pairing method and apparatus for wireless device and computing device
CN201780026991.2A CN109076322A (en) 2017-06-27 2017-06-27 The matching method and device and calculating equipment of wireless device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/090360 WO2019000229A1 (en) 2017-06-27 2017-06-27 Pairing method and apparatus for wireless device and computing device

Publications (1)

Publication Number Publication Date
WO2019000229A1 true WO2019000229A1 (en) 2019-01-03

Family

ID=64740805

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/090360 WO2019000229A1 (en) 2017-06-27 2017-06-27 Pairing method and apparatus for wireless device and computing device

Country Status (2)

Country Link
CN (1) CN109076322A (en)
WO (1) WO2019000229A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023160372A1 (en) * 2022-02-25 2023-08-31 华为技术有限公司 External device pairing method and apparatus, device, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009086529A1 (en) * 2007-12-29 2009-07-09 Brigitte Bernadette Birze System, method, and computer-readable medium for dynamic device discovery for servers binding to multiple masters
CN102149167A (en) * 2010-02-10 2011-08-10 正崴精密工业股份有限公司 Method for automatic pairing to a wireless network
CN105744636A (en) * 2016-01-22 2016-07-06 广州极飞电子科技有限公司 Ground station, unmanned aerial vehicle, ground station and unmanned aerial vehicle communication system, and ground station and unmanned aerial vehicle communication method
CN105807788A (en) * 2016-03-09 2016-07-27 广州极飞电子科技有限公司 Unmanned aerial vehicle monitoring method, system, unmanned aerial vehicle and ground station
CN105812029A (en) * 2014-12-31 2016-07-27 鸿富锦精密工业(深圳)有限公司 Electronic device group matching method
CN106100721A (en) * 2016-06-24 2016-11-09 广州极飞电子科技有限公司 Method, server, remote controller and the system that unmanned plane and remote controller are matched

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201523458U (en) * 2009-11-19 2010-07-07 重庆蓝媒科技有限公司 Bluetooth information intelligent group sending device
US8699948B2 (en) * 2011-01-25 2014-04-15 Sony Corporation Connection method for near field communication
CN102752029A (en) * 2011-04-18 2012-10-24 中兴通讯股份有限公司 Method for matching Bluetooth accessory with Bluetooth devices and Bluetooth accessory
US20140089503A1 (en) * 2011-04-29 2014-03-27 Telefonaktiebolaget L M Ericsson (Publ) Automatic Connection Selection
CN102255753B (en) * 2011-06-28 2015-09-23 迈普通信技术股份有限公司 A kind of business configuration synchronous method and system
KR101842047B1 (en) * 2012-03-15 2018-03-26 삼성전자주식회사 Method and apparatus for group profile management in wi-fi direct communication system
WO2015128758A1 (en) * 2014-02-26 2015-09-03 Yogesh Chunilal Rathod Request based real-time or near real-time broadcasting & sharing of captured & selected media
CN108200558A (en) * 2017-12-24 2018-06-22 湛江正信科技服务有限公司 A kind of Bluetooth pairing methods and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009086529A1 (en) * 2007-12-29 2009-07-09 Brigitte Bernadette Birze System, method, and computer-readable medium for dynamic device discovery for servers binding to multiple masters
CN102149167A (en) * 2010-02-10 2011-08-10 正崴精密工业股份有限公司 Method for automatic pairing to a wireless network
CN105812029A (en) * 2014-12-31 2016-07-27 鸿富锦精密工业(深圳)有限公司 Electronic device group matching method
CN105744636A (en) * 2016-01-22 2016-07-06 广州极飞电子科技有限公司 Ground station, unmanned aerial vehicle, ground station and unmanned aerial vehicle communication system, and ground station and unmanned aerial vehicle communication method
CN105807788A (en) * 2016-03-09 2016-07-27 广州极飞电子科技有限公司 Unmanned aerial vehicle monitoring method, system, unmanned aerial vehicle and ground station
CN106100721A (en) * 2016-06-24 2016-11-09 广州极飞电子科技有限公司 Method, server, remote controller and the system that unmanned plane and remote controller are matched

Also Published As

Publication number Publication date
CN109076322A (en) 2018-12-21

Similar Documents

Publication Publication Date Title
EP3151628B1 (en) Method, device and system for accessing a wireless network
EP3118700B1 (en) Intelligent home control method and system based on alljoyn technology
CN109525540B (en) Intelligent device binding method and device
WO2017129124A1 (en) Smart appliance control method and smart appliance
WO2020135355A1 (en) Wireless network configuration method and device
JP2019537322A (en) Network connection method for home appliances, network connection method for home appliances and home systems
JP6254747B2 (en) Information providing method, apparatus, program, and recording medium
EP3425566A1 (en) Electronic device and method of registering personal cloud apparatus in user portal server thereof
WO2015143794A1 (en) Creating and upgrading methods, server, terminal, upgrading system, and storage media
CN111787540B (en) Method and device for accessing Internet of things, electronic equipment and readable storage medium
CN112152853A (en) Equipment network distribution method and device, computer-readable storage medium and electronic device
WO2018010425A1 (en) Method and apparatus for pushing and receiving wi-fi hotspot information, and storage medium
WO2016000462A1 (en) User information sharing method, device and system
US20150106529A1 (en) Terminal apparatus and method for connecting to virtual server in virtual desktop infrastructure
WO2016101545A1 (en) Device management method, apparatus, and system
JP2015220604A (en) Communication device, control method, and program
JP2018148470A (en) Communication device, communication control method and program
WO2011140906A1 (en) Network accessing method and apparatus for device in wireless sensor network
WO2022242324A1 (en) Network distribution method, apparatus and device, and computer-readable storage medium
WO2023005410A1 (en) Information synchronization method and system, storage medium, and electronic device
CN112637931A (en) Method and device for establishing network connection
WO2014169589A1 (en) Intelligent terminal synchronous operation method and device
WO2019000229A1 (en) Pairing method and apparatus for wireless device and computing device
JP2003044288A (en) Information processor, information processing system and program
WO2012171409A1 (en) Processing method and system for initiating radio remote unit

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17915505

Country of ref document: EP

Kind code of ref document: A1