WO2019037458A1 - 通信方法和装置 - Google Patents

通信方法和装置 Download PDF

Info

Publication number
WO2019037458A1
WO2019037458A1 PCT/CN2018/084446 CN2018084446W WO2019037458A1 WO 2019037458 A1 WO2019037458 A1 WO 2019037458A1 CN 2018084446 W CN2018084446 W CN 2018084446W WO 2019037458 A1 WO2019037458 A1 WO 2019037458A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
target electronic
communication protocol
protocol version
communication
Prior art date
Application number
PCT/CN2018/084446
Other languages
English (en)
French (fr)
Inventor
周峰安
Original Assignee
深圳市道通智能航空技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市道通智能航空技术有限公司 filed Critical 深圳市道通智能航空技术有限公司
Publication of WO2019037458A1 publication Critical patent/WO2019037458A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Definitions

  • the present application relates to communication technologies, and more particularly to a communication method and apparatus.
  • the communication protocol or communication method will be modified in the iterative process.
  • the corresponding application (APP, Application) client is required for each iterative drone product. Interacting, for this reason, there will be multiple APP clients in the same product, which is unacceptable to users.
  • a generation of drones uses the drone communication protocol 1.0 to realize data exchange.
  • the human-machine uses the drone communication protocol 2.0 to realize data exchange.
  • the two versions of the communication protocol cannot share data, which means that the APP client communicating with the first-generation drone cannot communicate with the second-generation drone, the same.
  • the APP client that communicates with the second-generation drone cannot communicate with the first-generation drone, which causes the incompatibility problem of the multi-version communication protocol of the APP client.
  • the embodiment of the invention provides a communication method and device, which can make the APP client compatible with the multi-version communication protocol, thereby improving the user experience.
  • the embodiment of the invention provides a communication method, including:
  • the method before the sending the request message to the target electronic device, the method includes:
  • a request message of a communication protocol version supported by the communication interface is transmitted to the target electronic device through one of a wired communication interface or a wireless communication interface.
  • the sending by using one of a wired communication interface or a wireless communication interface, a request message for transmitting a communication protocol version to the target electronic device, including:
  • the wired communication interface has a higher priority than the wireless communication interface.
  • the sending the request message to the target electronic device includes:
  • Determining, according to whether the response message sent by the target electronic device is received, determining a communication protocol version currently supported by the target electronic device includes:
  • the sending the request message to the target electronic device includes:
  • Determining, according to whether the response message sent by the target electronic device is received, determining a communication protocol version currently supported by the target electronic device includes:
  • the request message that sends a communication protocol version to the target electronic device includes:
  • a request message of a communication protocol version is sequentially sent to the target electronic device in accordance with a second priority order of the communication protocol version.
  • the determining whether the response message sent by the target electronic device is received includes:
  • the request message is a heartbeat request
  • the response message is a heartbeat response
  • the target electronic device is a remote controller, and the remote controller is used to control at least one drone.
  • An embodiment of the present invention further provides an electronic device, including:
  • a memory a processor, and a computer program stored on the memory and operative on the processor, the computer program being executed by the processor to implement the following steps:
  • the request message of the communication protocol version supported by the communication interface is transmitted to the target electronic device through one of a wired communication interface or a wireless communication interface.
  • the wired communication interface has a higher priority than the wireless communication interface.
  • a request message of a communication protocol version is sequentially sent to the target electronic device in accordance with a second priority order of the communication protocol version.
  • the embodiment of the present invention further provides a computer readable storage medium having stored thereon a computer program, the computer program being executed by a processor to implement the steps of the communication method according to any one of claims 1 to 6.
  • the embodiment of the present invention includes: sending a request message to the target electronic device; determining, according to whether the response message sent by the target electronic device is received, a communication protocol version currently supported by the target electronic device; and based on the target electronic device
  • the currently supported communication protocol version communicates with the target electronic device.
  • the scheme of the embodiment of the present invention first determines a communication protocol version currently supported by the target electronic device, and then communicates with the target electronic device based on the determined currently supported communication protocol version, so that the APP client is compatible with multiple version communication protocols. Thereby improving the user experience.
  • FIG. 1 is a flowchart of a communication method according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of hardware structure of an electronic device according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a program module of an electronic device according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a communication method according to an embodiment of the present invention, where the method includes:
  • Step 100 Send a request message to the target electronic device.
  • the electronic device may first establish a communication link with the target electronic device, and send a request message to the target electronic device based on the established communication link.
  • the communication link can be established with the target electronic device in a wired or wireless manner.
  • a communication link can be established with the target electronic device through wireless fidelity (wifi); when a communication link is established with the target electronic device in a wired manner, A communication link can be established with the target electronic device using a Universal Serial Bus (USB).
  • Wifi wireless fidelity
  • USB Universal Serial Bus
  • the communication link may be established with the target electronic device in other manners, which is not limited by the embodiment of the present invention.
  • the communication link established between the electronic device and the target electronic device means that the communication interface of the electronic device is connected with the corresponding communication interface in the target electronic device, for example, if a wired communication link is established, it refers to the electronic device.
  • the communication interface and the corresponding communication interface in the target electronic device are connected through a connection line; if the wireless communication link is established, the communication interface of the electronic device and the corresponding communication interface in the target electronic device pass a certain wireless technology (such as Wi- Fi) established a wireless communication link.
  • a certain wireless technology such as Wi- Fi
  • a certain communication protocol version supported by the communication link is required to implement data transmission. That is, the electronic device sends a request message of one or more communication protocol versions to the target electronic device. It can be understood that the format or content of the request message is specified in a communication protocol version.
  • one of the communication links is selected to send a request message to the target electronic device.
  • a communication link established between the target electronic device through wifi and USB at the same time a communication link established by wifi or USB can be selected to send a request message to the target electronic device.
  • the priority of the USB can be set to be higher than wifi, so that when a communication link is established between the wifi and the USB and the target electronic device, the communication link established through the USB is selected to send a request message to the target electronic device, if If the request message sent by the USB established communication link to the target electronic device does not answer, the communication link established by Wi-Fi is selected to send a request message to the target electronic device.
  • the electronic device may be configured with multiple communication interfaces, such as one or more wired communication interfaces, one or more wireless communication interfaces, etc., and the electronic device may detect whether the target electronic device is established through the connection state of the communication interface. Communication link.
  • the target electronic device when the electronic device cannot know the connection status of each communication interface, or the electronic device learns that the request message can be sent to the target electronic device through multiple communication links, for example, the target electronic device is configured to have multiple configurations.
  • the electronic device first establishes a communication link with the target electronic device through a communication interface, and sends a request message to the target electronic device through a communication protocol version supported by the communication link.
  • the electronic device may select a communication interface from a communication interface that may establish a communication link with the target electronic device according to a first priority order of the communication interface, and establish a communication link with the target electronic device through the communication interface.
  • a first priority order the priority of the wired communication interface is higher than the priority of the wireless communication interface.
  • the electronic device can first establish a USB communication link with the target electronic device through the USB interface. And sending, by the USB interface, a request message of a USB communication protocol version supported by the USB interface or the USB communication link to the target electronic device.
  • the electronic device If the request message sent by the electronic device through the USB interface is not answered, the electronic device establishes a Wi-Fi communication link with the target electronic device through the Wi-Fi interface, and the electronic device can send the Wi to the target electronic device through the Wi-Fi interface.
  • the electronic device can determine the type and/or the number of communication interfaces supported or configured by the target electronic device by using the identifier of the target electronic device. Further, the electronic device can determine the identity of the target electronic device according to the input operation of the user.
  • a communication interface supports at least two communication protocol versions
  • the electronic device can simultaneously send at least two communication protocol version request messages, and the electronic device can simultaneously send the at least two request messages through a communication interface, or The electronic device can separately transmit the at least two request messages through a plurality of communication interfaces of one type, wherein each communication interface sends a request message.
  • the electronic device may send at least two request messages in parallel at the same time, which may be implemented by an asynchronous or parallel communication interface, or may be sent by the electronic device at one time.
  • At least 2 request messages the sending time of the at least 2 request messages is not limited to the same time, and the manner can be implemented by a serial communication interface.
  • the electronic device may sequentially send a request message of a communication protocol version.
  • the electronic device may sequentially send a request message of a communication protocol version based on a priority order of the communication protocol version.
  • the priority order of the communication protocol version may be determined based on the release time of the communication protocol version, that is, the latest version in the communication protocol version has the highest priority, and the communication protocol version is prioritized according to the time from the newest to the oldest.
  • the priority order of the communication protocol version may be determined according to the release time of the version and the factory time or release time of the target electronic device, that is, the communication protocol version whose release time is closer to the delivery time or release time of the target electronic device, and the priority thereof. The higher.
  • the electronic device when the electronic device establishes at least two communication links with the target electronic device, for example, establishing both a USB communication link and a Wi-Fi communication link, the electronic device simultaneously transmits multiple communication protocols to the target electronic device.
  • the request message of the version may include a request message that the electronic device sends multiple communication protocol versions at the same time through different kinds of communication links, that is, the electronic device sends a request message of the communication protocol version supported by the USB interface through the USB communication link, and the like.
  • the electronic device transmits a request message of a communication protocol version supported by the Wi-Fi interface through the Wi-Fi communication link.
  • the correct communication link can be selected to enable communication with the target electronic device. It is possible to connect an electronic device with a target electronic device supporting a different communication protocol.
  • Step 101 Determine, according to whether a response message sent by the target electronic device is received, a communication protocol version currently supported by the target electronic device.
  • Step 102 Communicate with the target electronic device based on the determined communication protocol version.
  • the communication protocol version currently supported by the target electronic device is determined, and then the communication is performed on the target electronic device based on the determined currently supported communication protocol version, so that the APP client, that is, the electronic device, is compatible with multiple versions. Communication protocol, which improves the user experience.
  • sending the request message to the target electronic device includes:
  • Determining, according to whether the response message sent by the target electronic device is received, the communication protocol version currently supported by the target electronic device includes:
  • the communication protocol version corresponding to the received response message is the communication protocol version currently supported by the target electronic device.
  • the electronic device simultaneously sends a plurality of communication protocol version request messages to the target electronic device, and after receiving the plurality of request messages, the target electronic device can identify one of the request messages, and then send a response message to the electronic device, and further, the electronic device The device may determine, according to the response message, a version of the communication protocol currently supported by the target electronic device.
  • the request message and the reply message of each communication protocol version are different from the request message and the reply message of other communication protocol versions. Therefore, the electronic device can determine the version of the communication protocol currently supported by the target electronic device according to the received response message.
  • the request message and the response message are different, and may mean that the format of the request message and the response message are different or included.
  • the target electronic device may support multiple communication protocol versions. For example, the electronic device transmits one or more USB communication protocol version request messages to the target electronic via the USB link, and transmits one or more Wi-Fi communication protocol version request messages to the target electronic through the Wi-Fi link.
  • the target electronic device receives the request message, it may identify a request message of a USB communication protocol version and may identify a request message of a Wi-Fi communication protocol version.
  • the target electronic device can send a plurality of response messages to the electronic device to indicate that the target electronic device supports multiple communication protocol versions.
  • the electronic device can select one of the communication protocol versions and communicate with the target electronic device via a communication link corresponding to the communication protocol version.
  • the electronic device may determine whether the response message of the target electronic device is received within the first preset time, and if not, the electronic device may send a request message of another communication protocol version, or send a request through another communication link. Message.
  • sending the request message to the target electronic device includes:
  • Determining, according to whether a response message sent by the target electronic device is received, determining a communication protocol version currently supported by the target electronic device includes:
  • the communication protocol version corresponding to the request message is a communication protocol version currently supported by the target electronic device.
  • determining, according to whether the response message sent by the target electronic device is received, determining a communication protocol version currently supported by the target electronic device further includes:
  • the request message for sending another communication protocol version to the target electronic device is continued, and it is determined whether the target electronic device is sent in the second preset time. The steps of the reply message.
  • the first preset time and the second preset time may be the same, may be different, and are not limited herein.
  • the request message is a heartbeat request
  • the response message is a heartbeat response
  • the request message and the reply message of each communication protocol version are different, and therefore, the communication protocol version currently supported by the remote controller can be determined according to the received response message.
  • the data carried in the heartbeat request and the heartbeat response can uniquely identify the communication protocol version.
  • the target electronic device after receiving the request message, the target electronic device returns a response message if the request message is a message that the target electronic device can recognize, and discards the request if the request message is a message that the target electronic device cannot identify itself. Message.
  • the electronic device may be a mobile terminal, such as a smart terminal, an image display device, a tablet computer, etc.
  • the target electronic device may be a remote controller.
  • An application program may be stored in the mobile terminal, and the mobile terminal may implement any of the above communication methods when the application is run.
  • the application stored in the mobile terminal may also be referred to as an APP client.
  • the APP client on the mobile terminal communicates with the drone through the remote controller.
  • the mobile terminal is compatible with a plurality of communication protocol versions, and the mobile terminal can communicate with a plurality of remote controllers. Further, the application in the mobile terminal can be applied to a plurality of drones, and the applicable compatibility of the applications in the mobile terminal is enhanced. .
  • FIG. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • the electronic device includes: a memory 22 and a processor 21.
  • the electronic device may be a mobile terminal, a remote controller, an electronic control center, a server, etc., and the electronic device is connected to a target electronic device by wire or wirelessly for implementing communication or control functions.
  • the mobile terminal is connected to the remote control for communicating with the drone through the remote control.
  • the memory 22 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, and a card type memory (for example, a Secure Digital Memory Card (SD card) or a data register (DX). , Data Register), random access memory (RAM, Random Access Memory), static random access memory (SRAM), read only memory (ROM, Read Only Memory), electrically erasable and programmable only Read EEPROM (Electrically Erasable Programmable Read-Only Memory), Programmable Read-Only Memory (PROM), magnetic memory, magnetic disk, optical disk, and the like.
  • the memory 22 can be partitioned to store computer programs (such as applications, function modules, etc.), computer instructions, data, and the like.
  • the above-mentioned computer program, computer instruction or data may be stored in different storage media or stored in the same storage medium, which is not limited herein.
  • the processor 21 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other dedicated processing chip or the like.
  • the memory 22 may be integrated in the processor 21, or the memory 22 may be disposed outside the processor 21, and the memory 22 may be connected to the processor 21 at a close or long distance.
  • the electronic device can include one or more communication interfaces, and the communication interface can include a wired communication interface and a wireless communication interface.
  • the processor 21 can implement a communication connection with the target electronic device through a communication interface.
  • the communication with the target electronic device is based on the version of the communication protocol currently supported by the target electronic device.
  • the request message of the communication protocol version supported by the communication interface is transmitted to the target electronic device through one of a wired communication interface or a wireless communication interface.
  • the wired communication interface has a higher priority than the wireless communication interface.
  • a request message of a communication protocol version is sequentially sent to the target electronic device in accordance with a second priority order of the communication protocol version.
  • FIG. 3 it is a schematic diagram of a program module of an electronic device according to an embodiment of the present invention.
  • the determination module 100 and the communication module 200 are included.
  • the modules are configured to be executed by one or more processors (the processor 21 of the present embodiment) to perform the communication method of the embodiments of the present invention.
  • the program module referred to in the embodiment of the present invention is a computer program segment that performs a specific function.
  • the memory 22 is used to store data such as program codes of electronic devices.
  • the processor 21 is operative to execute program code stored in the memory 22.
  • the module can also be implemented in combination with hardware, which is not limited herein.
  • a determining module configured to send a request message to the target electronic device; determining, according to whether the response message sent by the target electronic device is received, a version of the communication protocol currently supported by the target electronic device;
  • a communication module configured to communicate with the target electronic device based on a communication protocol version currently supported by the target electronic device.
  • the communication module is further configured to send, by using one of a wired communication interface or a wireless communication interface, a request message of a communication protocol version supported by the communication interface to the target electronic device.
  • the communication module is specifically configured to select a communication interface from the communication interface according to a first priority order of the communication interface;
  • the wired communication interface has a higher priority than the wireless communication interface.
  • the determining module is specifically configured to:
  • the determining module is specifically configured to:
  • the communication module is specifically configured to:
  • a request message of a communication protocol version is sequentially sent to the target electronic device in accordance with a second priority order of the communication protocol version.
  • the communication module is specifically configured to:
  • the determining module is further configured to:
  • the request message for sending another communication protocol version to the target electronic device is continued, and it is determined whether the response message sent by the target electronic device is received within the preset time. step.
  • Embodiments of the present invention also provide a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of any of the above described communication methods.

Abstract

本发明实施例公开了一种通信方法和装置,所述方法包括:向目标电子设备发送请求消息;根据是否接收到所述目标电子设备发送的应答消息确定所述目标电子设备当前支持的通信协议版本;基于所述目标电子设备当前支持的通信协议版本与所述目标电子设备进行通信。通过本发明实施例的方案,先确定目标电子设备当前支持的通信协议版本,再基于确定出的当前支持的通信协议版本与所述目标电子设备进行通信,使得APP客户端兼容了多个版本通信协议,从而提高了用户体验。

Description

通信方法和装置
本申请要求于2017年08月22日提交中国专利局、申请号为201710723465.3、申请名称为“一种通信方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术,尤指一种通信方法和装置。
背景技术
在无人机开发中,由于产品的迭代,会在迭代过程中修改通信协议或者通信的方式,针对每一个迭代的无人机产品,都需要与之对应的应用程序(APP,Application)客户端进行交互,为此造成了同一产品会有多个APP客户端,这是用户无法接受的,在现有的开发过程中,一代无人机使用无人机通信协议1.0实现数据交换,二代无人机使用无人机通信协议2.0实现数据交换,两个版本的通信协议不能进行数据共享,这就意味着和一代无人机通信的APP客户端不能和二代无人机进行通信,同样的,和二代无人机通信的APP客户端不能和一代无人机进行通信,这就造成了APP客户端多版本通信协议的不兼容问题。
发明内容
本发明实施例提供了一种通信方法和装置,能够使APP客户端兼容多版本通信协议,从而提高用户体验。
本发明实施例提供了一种通信方法,包括:
向目标电子设备发送请求消息;
根据是否接收到所述目标电子设备发送的应答消息确定所述目标电子设备当前支持的通信协议版本;
基于所述目标电子设备当前支持的通信协议版本与所述目标电子设备进行通信。
可选的,所述向目标电子设备发送请求消息之前,包括:
通过有线通信接口或无线通信接口中的一个,向所述目标电子设备发送所述通信接口支持的通信协议版本的请求消息。
可选的,所述通过有线通信接口或无线通信接口中的一个,向所述目标电子设备发送通信协议版本的请求消息,包括:
按照通信接口的第一优先级顺序,从所述通信接口中选取一个通信接口;
通过所述通信接口,向所述目标电子设备发送所述通信接口支持的通信协议版本的请求消息。
可选的,在所述第一优先级顺序中,所述有线通信接口的优先级高于所述无线通信接口的优先级。
可选的,所述向目标电子设备发送请求消息包括:
向所述目标电子设备同时发送多个通信协议版本的请求消息;
所述根据是否接受到所述目标电子设备发送的应答消息确定所述目标电子设备当前支持的通信协议版本包括:
判断是否接收到所述目标电子设备发送的应答消息;
当接收到所述目标电子设备发送的应答消息时,确定接收到的应答消息对应的通信协议版本为所述目标电子设备当前支持的通信协议版本。
可选的,所述向目标电子设备发送请求消息包括:
向所述目标电子设备发送一个通信协议版本的请求消息;
根据是否接收到所述目标电子设备发送的应答消息确定所述目标电子设备当前支持的通信协议版本包括:
所述判断是否接收到所述目标电子设备发送的应答消息;
当接收到所述通信协议版本的应答消息时,确定所述请求消息对应的通信协议版本为所述目标电子设备当前支持的通信协议版本。
可选的,所述向所述目标电子设备发送一个通信协议版本的请求消息,包括:
按照通信协议版本的第二优先级顺序,依次向所述目标电子设备发送一个通信协议版本的请求消息。
可选的,所述判断是否接收到所述目标电子设备发送的应答消息,包括:
判断是否在预设时间内接收到所述目标电子设备发送的应答消息。
可选的,所述请求消息为心跳请求,所述应答消息为心跳响应。
可选的,所述目标电子设备为遥控器,所述遥控器用于控制至少1个无人机。
本发明实施例还提出了一种电子设备,包括:
存储器、处理器,以及存储在所述存储器上并可在所述处理器运行的计算机程序,所述计算机程序被所述处理器执行时实现以下步骤:
向目标电子设备发送请求消息;
根据是否接收到所述目标电子设备发送的应答消息确定所述目标电子设备当前支持的通信协议版本;
基于所述目标电子设备当前支持的通信协议版本与所述目标电子设备进行通信。
可选的,所述计算机程序被所述处理器执行时实现以下步骤:
向目标电子设备发送请求消息之前,通过有线通信接口或无线通信接口中的一个,向所述目标电子设备发送所述通信接口支持的通信协议版本的请求消 息。
可选的,所述计算机程序被所述处理器执行时实现以下步骤:
按照通信接口的第一优先级顺序,从所述通信接口中选取一个通信接口;
通过所述通信接口,向所述目标电子设备发送所述通信接口支持的通信协议版本的请求消息。
可选的,在所述第一优先级顺序中,所述有线通信接口的优先级高于所述无线通信接口的优先级。
可选的,所述计算机程序被所述处理器执行时实现以下步骤:
向所述目标电子设备同时发送多个通信协议版本的请求消息;
判断是否接收到所述目标电子设备发送的应答消息;
当接收到所述目标电子设备发送的应答消息时,确定接收到的应答消息对应的通信协议版本为所述目标电子设备当前支持的通信协议版本;
基于所述目标电子设备当前支持的通信协议版本与所述目标电子设备进行通信。
可选的,所述计算机程序被所述处理器执行时实现以下步骤:
向所述目标电子设备发送一个通信协议版本的请求消息;
判断是否接收到所述目标电子设备发送的应答消息;
当接收到所述通信协议版本的应答消息时,确定所述请求消息对应的通信协议版本为所述目标电子设备当前支持的通信协议版本;
基于所述目标电子设备当前支持的通信协议版本与所述目标电子设备进行通信。
可选的,所述计算机程序被所述处理器执行时实现以下步骤:
按照通信协议版本的第二优先级顺序,依次向所述目标电子设备发送一个通信协议版本的请求消息。
可选的,所述计算机程序被所述处理器执行时实现以下步骤:
判断是否在预设时间内接收到所述目标电子设备发送的应答消息。
本发明实施例还提出了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1~6任意一项所述的通信方法的步骤。
与相关技术相比,本发明实施例包括:向目标电子设备发送请求消息;根据是否接收到所述目标电子设备发送的应答消息确定目标电子设备当前支持的通信协议版本;基于所述目标电子设备当前支持的通信协议版本与所述目标电子设备进行通信。通过本发明实施例的方案,先确定目标电子设备当前支持的通信协议版本,再基于确定出的当前支持的通信协议版本与目标电子设备进行通信,使得APP客户端兼容了多个版本通信协议,从而提高了用户体验。
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明 书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。
附图说明
附图用来提供对本发明技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本发明的技术方案,并不构成对本发明技术方案的限制。
图1为本发明实施例通信方法的流程图;
图2为本发明实施例电子设备的硬件结构组成示意图;
图3为本发明实施例电子设备的程序模块示意图。
具体实施方式
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。
本发明实施例提出了一种通信方法。所述方法应用于一种电子设备,电子设备可以与目标电子设备通过有线或无线的方式连接,以实现二者通信。参见图1,图1为本发明实施例通信方法的流程图,所述方法包括:
步骤100、向目标电子设备发送请求消息。
在本实施例中,电子设备可以先与目标电子设备建立通信链路,基于建立的通信链路向目标电子设备发送请求消息。
其中,可以采用有线或者无线的方式与目标电子设备建立通信链路。
当采用无线的方式与目标电子设备建立通信链路时,可以通过无线保真(wifi,Wireless Fidelity)与目标电子设备建立通信链路;当采用有线的方式与目标电子设备建立通信链路时,可以采用通用串行总线(USB,Universal Serial Bus)与目标电子设备建立通信链路。
当然,也可以采用其他方式与目标电子设备建立通信链路,本发明实施例对此不作限定。在此,电子设备与目标电子设备之间建立的通信链路是指电子设备的通信接口与目标电子设备中对应的通信接口实现连接,例如,若建立有线通信链路,则是指电子设备的通信接口与目标电子设备中对应的通信接口通过连接线进行连接;若建立无线通信链路,则是指电子设备的通信接口与目标电子设备中对应的通信接口通过某一无线技术(如Wi-Fi)建立了无线通信链路。
在电子设备与目标电子设备之间建立了通信链路后,需要该通信链路支持 的某一个通信协议版本实现数据传输。即电子设备向目标电子设备发送一个或多个通信协议版本的请求消息。可以理解为,请求消息的格式或内容是一个通信协议版本中所规定的。
可选的,如果和目标电子设备之间同时建立多个通信链路,选择其中一个通信链路向目标电子设备发送请求消息。
例如,如果同时通过wifi和USB与目标电子设备之间建立通信链路,可以选择通过wifi或USB建立的通信链路向目标电子设备发送请求消息。
具体可以设定USB的优先级高于wifi,这样,当同时通过wifi和USB和目标电子设备之间建立通信链路时,选择通过USB建立的通信链路向目标电子设备发送请求消息,若通过USB建立的通信链路向目标电子设备发送的请求消息无应答,则选择通过Wi-Fi建立的通信链路向目标电子设备发送请求消息。
可选的,电子设备可以配置有多个通信接口,如一个或多个有线通信接口,一个或多个无线通信接口等,电子设备可以通过通信接口的连接状态,来检测是否与目标电子设备建立通信链路。
另一种实现方式中,当电子设备无法获知各通信接口的连接状态,或者,电子设备获知可以通过多种通信链路向目标电子设备发送请求消息时,例如,获知目标电子设备配置有多种与电子设备向配合的通信接口,电子设备利用可能建立通信链路的通信接口来实现发送请求消息。
具体地,电子设备先通过一个通信接口与目标电子设备建立通信链路,并通过该通信链路支持的通信协议版本,向目标电子设备发送请求消息。
可选的,电子设备可以按照通信接口的第一优先级顺序,从可能与目标电子设备建立通信链路的通信接口中选择一个通信接口,并通过该通信接口与目标电子设备建立通信链路。例如,该第一优先级顺序中,有线通信接口的优先级高于无线通信接口的优先级。
举例说明,若电子设备获知既可以与目标电子设备建立USB通信链路,又可以与目标电子设备建立Wi-Fi通信链路时,电子设备可以首先通过USB接口与目标电子设备建立USB通信链路,并通过该USB接口向目标电子设备发送USB接口或USB通信链路所支持的USB通信协议版本的请求消息。
若电子设备通过USB接口发送的请求消息无应答,则电子设备通过Wi-Fi接口,与目标电子设备建立Wi-Fi通信链路,进而该电子设备可以通过Wi-Fi接口向目标电子设备发送Wi-Fi接口或Wi-Fi通信链路所支持的Wi-Fi通信协议版本的请求消息。
其中,电子设备可以通过目标电子设备的标识,来确定目标电子设备所支持或所配置的通信接口的类型和/或数量。进一步地,电子设备可以根据用户的输入操作,确定目标电子设备的标识。
进一步地,若某一通信接口支持至少2个通信协议版本,则电子设备可以 同时发送至少2个通信协议版本的请求消息,电子设备可以通过一个通信接口同时发送这至少2个请求消息,或者,电子设备可以通过一种类型下的多个通信接口分别发送这至少2个请求消息,其中,每个通信接口发送一个请求消息。
若电子设备通过一个通信接口同时发送至少2个请求消息,可以是指电子设备在同一时刻并行发送至少2个请求消息,这种方式可由异步或并行通信接口实现,也可以是指电子设备一次发送至少2个请求消息,这至少2个请求消息的发送时间并不限定为同一时刻,这种方式可由串行通信接口实现。
或者,若某一通信接口支持至少2个通信协议版本,则电子设备可以依次发送一个通信协议版本的请求消息。
进一步地,电子设备可以基于通信协议版本的优先级顺序,依次发送一个通信协议版本的请求消息。例如,通信协议版本的优先级顺序可以基于通信协议版本的发布时间确定,即通信协议版本中的最新版本优先级最高,并按照时间由新至旧的顺序对通信协议版本进行优先级排序。或者,通信协议版本的优先级顺序可以结合版本的发布时间和目标电子设备的出厂时间或发布时间确定,即发布时间与目标电子设备的出厂时间或发布时间越接近的通信协议版本,其优先级越高。
可以理解地,当电子设备与目标电子设备建立至少2个通信链路时,例如,既建立USB通信链路又建立Wi-Fi通信链路,则电子设备向目标电子设备同时发送多个通信协议版本的请求消息可以包括电子设备分别通过不同种类的通信链路同一时刻发送多个通信协议版本的请求消息,即电子设备通过USB通信链路发送USB接口支持的通信协议版本的请求消息,与此同时,电子设备通过Wi-Fi通信链路发送Wi-Fi接口支持的通信协议版本的请求消息。
通过上述实现方式,可以选择正确的通信链路以实现与目标电子设备进行通信。能够实现电子设备与支持不同的通信协议的目标电子设备进行连接。
步骤101、根据是否接收到目标电子设备发送的应答消息确定目标电子设备当前支持的通信协议版本。
步骤102、基于确定的通信协议版本与目标电子设备进行通信。
在本实施例中,先确定目标电子设备当前支持的通信协议版本,再基于确定出的当前支持的通信协议版本与目标电子设备进行通信,使得APP客户端,即电子设备,兼容了多个版本通信协议,从而提高了用户体验。
可选的,向目标电子设备发送请求消息包括:
向目标电子设备同时发送多个通信协议版本的请求消息;
根据是否接受到目标电子设备发送的应答消息确定目标电子设备当前支持的通信协议版本包括:
判断在第一预设时间内是否接收到目标电子设备发送的应答消息;
当在第一预设时间内接收到目标电子设备发送的应答消息时,确定接收到 的应答消息对应的通信协议版本为目标电子设备当前支持的通信协议版本。
具体地,电子设备向目标电子设备同时发送多个通信协议版本的请求消息,目标电子设备接收到多个请求消息后,能够识别其中一个请求消息,则可以向电子设备发送应答消息,进而,电子设备可以根据该应答消息,确定目标电子设备当前支持的通信协议版本。各通信协议版本的请求消息和应答消息与其他通信协议版本的请求消息和应答消息不同,因此,电子设备可以根据接收到的应答消息,确定目标电子设备当前支持的通信协议版本。在此,请求消息和应答消息不同,可以是指请求消息和应答消息的格式或包括的内容不同。
当电子设备通过不同种类的通信链路向目标电子设备同时发送多个通信协议版本的请求消息,则目标电子设备有可能支持多个通信协议版本。例如,电子设备通过USB链路向目标电子发送一个或多个USB通信协议版本的请求消息,通过Wi-Fi链路向目标电子发送一个或多个Wi-Fi通信协议版本的请求消息。当目标电子设备接收到这些请求消息时,可能识别出一个USB通信协议版本的请求消息,并可以识别出一个Wi-Fi通信协议版本的请求消息。在此情况下,目标电子设备可以向电子设备发送多个应答消息,以表明目标电子设备支持多种通信协议版本。电子设备可以选择其中一个通信协议版本,并通过与该通信协议版本对应的通信链路,与目标电子设备通信。
进一步地,电子设备可以判断在第一预设时间内是否接收到目标电子设备的应答消息,若未接收到,则电子设备可以发送其他通信协议版本的请求消息,或者通过其他通信链路发送请求消息。
可选的,向目标电子设备发送请求消息包括:
向目标电子设备发送一个通信协议版本的请求消息;
根据是否接收到目标电子设备发送的应答消息确定目标电子设备当前支持的通信协议版本包括:
判断在第二预设时间内是否接收到目标电子设备发送的应答消息;
当在第二预设时间内接收到该通信协议版本的应答消息时,确定该请求消息对应的通信协议版本为目标电子设备当前支持的通信协议版本。
可选的,根据是否接收到目标电子设备发送的应答消息确定目标电子设备当前支持的通信协议版本还包括:
当在第二预设时间内未接收到通信协议版本的应答消息时,继续执行向目标电子设备发送另一个通信协议版本的请求消息,判断在第二预设时间内是否接收到目标电子设备发送的应答消息的步骤。
其中,第一预设时间与第二预设时间可以相同,可以不同,在此不予限定。
可选的,请求消息为心跳请求,应答消息为心跳响应。
每一个通信协议版本的请求消息和应答消息均不一样,因此,根据接收到的应答消息就能确定遥控器当前支持的通信协议版本。
例如,心跳请求和心跳响应中携带的数据就能唯一识别通信协议版本。
上述通信方法中,目标电子设备接收到请求消息后,如果请求消息是目标电子设备自身能够识别的消息,则向返回应答消息;如果请求消息是目标电子设备自身无法识别的消息,则丢弃该请求消息。
上述通信方法中,例如,电子设备可以是移动终端,如智能终端、图像显示设备、平板电脑等,目标电子设备可以是遥控器。移动终端中可以存储有应用程序,移动终端在运行该应用程序时,可以实现上述任意一种通信方法。其中,移动终端中存储的应用程序也可以称为APP客户端。移动终端上的APP客户端通过遥控器与无人机进行通信。移动终端兼容多种通信协议版本,进而移动终端可以实现与多种遥控器通信,进而,移动终端中的应用程序可以适用于多种无人机,增强了移动终端中的应用程序的适用兼容性。
本发明实施例还提出了一种电子设备,参阅图2,图2为本发明实施例电子设备的结构组成示意图。本实施例中,电子设备包括:存储器22及处理器21。电子设备可以是移动终端、遥控器、电控中心、服务器等设备,电子设备通过有线或者无线的方式与一目标电子设备连接,用于实现通信或者控制功能。(例如,移动终端跟遥控器连接,用于通过遥控器与无人机进行通信。)
其中,存储器22至少包括一种类型的可读存储介质,可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,安全数码卡(SD卡,Secure Digital Memory Card)或数据寄存器(DX,Data Register)存储器等)、随机访问存储器(RAM,Random Access Memory)、静态随机访问存储器(SRAM,Static Random Access Memory)、只读存储器(ROM,Read Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、磁性存储器、磁盘、光盘等。存储器22中可以分区存储计算机程序(如应用程序、功能模块等)、计算机指令、数据等。上述计算机程序、计算机指令或数据(如上述实施例中的优先级顺序等)可以分别存储在不同的存储介质中,或存储在相同的存储介质中,在此不予限定。
处理器21可以是中央处理器(CPU,Central Processing Unit)、控制器、微控制器、微处理器、或其他专用处理芯片等。
存储器22可以集成在处理器21中,或者存储器22设置在处理器21外,存储器22与处理器21可以近距离或远距离连接。
当然,电子设备可以包括一个或多个通信接口,通信接口可以包括有线通信接口以及无线通信接口。处理器21可以通过通信接口实现与目标电子设备进行通信连接。
计算机程序被处理器执行时实现以下步骤:
向目标电子设备发送请求消息;
根据是否接收到目标电子设备发送的应答消息确定目标电子设备当前支持的通信协议版本;
基于目标电子设备当前支持的通信协议版本与目标电子设备进行通信。
可选的,所述计算机程序被所述处理器执行时实现以下步骤:
向目标电子设备发送请求消息之前,通过有线通信接口或无线通信接口中的一个,向所述目标电子设备发送所述通信接口支持的通信协议版本的请求消息。
可选的,所述计算机程序被所述处理器执行时实现以下步骤:
按照通信接口的第一优先级顺序,从所述通信接口中选取一个通信接口;
通过所述通信接口,向所述目标电子设备发送所述通信接口支持的通信协议版本的请求消息。
可选的,在所述第一优先级顺序中,所述有线通信接口的优先级高于所述无线通信接口的优先级。
可选的,所述计算机程序被所述处理器执行时实现以下步骤:
向所述目标电子设备同时发送多个通信协议版本的请求消息;
判断是否接收到所述目标电子设备发送的应答消息;
当接收到所述目标电子设备发送的应答消息时,确定接收到的应答消息对应的通信协议版本为所述目标电子设备当前支持的通信协议版本;
基于所述目标电子设备当前支持的通信协议版本与所述目标电子设备进行通信。
可选的,所述计算机程序被所述处理器执行时实现以下步骤:
向所述目标电子设备发送一个通信协议版本的请求消息;
判断是否接收到所述目标电子设备发送的应答消息;
当接收到所述通信协议版本的应答消息时,确定所述请求消息对应的通信协议版本为所述目标电子设备当前支持的通信协议版本;
基于所述目标电子设备当前支持的通信协议版本与所述目标电子设备进行通信。
可选的,所述计算机程序被所述处理器执行时实现以下步骤:
按照通信协议版本的第二优先级顺序,依次向所述目标电子设备发送一个通信协议版本的请求消息。
可选的,所述计算机程序被所述处理器执行时实现以下步骤:
判断是否在预设时间内接收到所述目标电子设备发送的应答消息。
参阅图3所示,是本发明实施例之电子设备的程序模块示意图。
包括确定模块100、通信模块200。模块被配置成由一个或多个处理器(本实施例为处理器21)执行,以完成本发明实施例的通信方法。本发明实施例 所称的程序模块是完成一特定功能的计算机程序段。存储器22用于存储电子设备的程序代码等资料。处理器21用于执行存储器22中存储的程序代码。当然,该模块也可以结合硬件实现,在此不予限定。
以下将对各个程序模块的功能进行详细说明。
确定模块,用于向目标电子设备发送请求消息;根据是否接收到目标电子设备发送的应答消息确定目标电子设备当前支持的通信协议版本;
通信模块,用于基于目标电子设备当前支持的通信协议版本与目标电子设备进行通信。
可选的,所述通信模块还用于通过有线通信接口或无线通信接口中的一个,向所述目标电子设备发送所述通信接口支持的通信协议版本的请求消息。
可选的,所述通信模块具体用于按照通信接口的第一优先级顺序,从所述通信接口中选取一个通信接口;
通过所述通信接口,向所述目标电子设备发送所述通信接口支持的通信协议版本的请求消息。
可选的,在所述第一优先级顺序中,所述有线通信接口的优先级高于所述无线通信接口的优先级。
可选的,确定模块具体用于:
向目标电子设备同时发送多个通信协议版本的请求消息;
判断是否接收到目标电子设备发送的应答消息;
当接收到目标电子设备发送的应答消息时,确定接收到的应答消息对应的通信协议版本为目标电子设备当前支持的通信协议版本
可选的,确定模块具体用于:
向目标电子设备发送一个通信协议版本的请求消息;
判断是否接收到目标电子设备发送的应答消息;
当接收到该通信协议版本的应答消息时,确定该请求消息对应的通信协议版本为目标电子设备当前支持的通信协议版本。
可选的,所述通信模块具体用于:
按照通信协议版本的第二优先级顺序,依次向所述目标电子设备发送一个通信协议版本的请求消息。
可选的,所述通信模块具体用于:
判断是否在预设时间内接收到所述目标电子设备发送的应答消息。
可选的,确定模块还用于:
当在预设时间内未接收到通信协议版本的应答消息时,继续执行向目标电子设备发送另一个通信协议版本的请求消息,判断在预设时间内是否接收到目标电子设备发送的应答消息的步骤。
本发明实施例还提出了一种计算机可读存储介质,其上存储有计算机程 序,计算机程序被处理器执行时实现上述任意一种通信方法的步骤。
虽然本发明所揭露的实施方式如上,但所述的内容仅为便于理解本发明而采用的实施方式,并非用以限定本发明。任何本发明所属领域内的技术人员,在不脱离本发明所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本发明的专利保护范围,仍须以所附的权利要求书所界定的范围为准。

Claims (19)

  1. 一种通信方法,其特征在于,包括:
    向目标电子设备发送请求消息;
    根据是否接收到所述目标电子设备发送的应答消息确定所述目标电子设备当前支持的通信协议版本;
    基于所述目标电子设备当前支持的通信协议版本与所述目标电子设备进行通信。
  2. 根据权利要求1所述的通信方法,其特征在于,所述向目标电子设备发送请求消息之前,包括:
    通过有线通信接口或无线通信接口中的一个,向所述目标电子设备发送所述通信接口支持的通信协议版本的请求消息。
  3. 根据权利要求2所述的通信方法,其特征在于,所述通过有线通信接口或无线通信接口中的一个,向所述目标电子设备发送通信协议版本的请求消息,包括:
    按照通信接口的第一优先级顺序,从所述通信接口中选取一个通信接口;
    通过所述通信接口,向所述目标电子设备发送所述通信接口支持的通信协议版本的请求消息。
  4. 根据权利要求3所述的通信方法,其特征在于,在所述第一优先级顺序中,所述有线通信接口的优先级高于所述无线通信接口的优先级。
  5. 根据权利要求1至4任一项所述的通信方法,其特征在于,所述向目标电子设备发送请求消息包括:
    向所述目标电子设备同时发送多个通信协议版本的请求消息;
    所述根据是否接受到所述目标电子设备发送的应答消息确定所述目标电子设备当前支持的通信协议版本包括:
    判断是否接收到所述目标电子设备发送的应答消息;
    当接收到所述目标电子设备发送的应答消息时,确定接收到的应答消息对应的通信协议版本为所述目标电子设备当前支持的通信协议版本。
  6. 根据权利要求1至4任一项所述的通信方法,其特征在于,所述向目标电子设备发送请求消息包括:
    向所述目标电子设备发送一个通信协议版本的请求消息;
    根据是否接收到所述目标电子设备发送的应答消息确定所述目标电子设备当前支持的通信协议版本包括:
    所述判断是否接收到所述目标电子设备发送的应答消息;
    当接收到所述通信协议版本的应答消息时,确定所述请求消息对应的通信协议版本为所述目标电子设备当前支持的通信协议版本。
  7. 根据权利要求6所述的通信方法,其特征在于,所述向所述目标电子设备发送一个通信协议版本的请求消息,包括:
    按照通信协议版本的第二优先级顺序,依次向所述目标电子设备发送一个通信协议版本的请求消息。
  8. 根据权利要求5至7任一项所述的通信方法,其特征在于,所述判断是否接收到所述目标电子设备发送的应答消息,包括:
    判断是否在预设时间内接收到所述目标电子设备发送的应答消息。
  9. 根据权利要求1至8任一项所述的通信方法,其特征在于,所述请求消息为心跳请求,所述应答消息为心跳响应。
  10. 根据权利要求1至9任意一项所述的通信方法,其特征在于,所述目标电子设备为遥控器,所述遥控器用于控制至少1个无人机。
  11. 一种电子设备,其特征在于,包括:
    存储器、处理器,以及存储在所述存储器上并可在所述处理器运行的计算机程序,所述计算机程序被所述处理器执行时实现以下步骤:
    向目标电子设备发送请求消息;
    根据是否接收到所述目标电子设备发送的应答消息确定所述目标电子设备当前支持的通信协议版本;
    基于所述目标电子设备当前支持的通信协议版本与所述目标电子设备进行通信。
  12. 根据权利要求11的电子设备,其特征在于,所述计算机程序被所述处理器执行时实现以下步骤:
    向目标电子设备发送请求消息之前,通过有线通信接口或无线通信接口中的一个,向所述目标电子设备发送所述通信接口支持的通信协议版本的请求消息。
  13. 根据权利要求12所述的电子设备,其特征在于,所述计算机程序被所述处理器执行时实现以下步骤:
    按照通信接口的第一优先级顺序,从所述通信接口中选取一个通信接口;
    通过所述通信接口,向所述目标电子设备发送所述通信接口支持的通信协议版本的请求消息。
  14. 根据权利要求13所述的电子设备,其特征在于,在所述第一优先级顺序中,所述有线通信接口的优先级高于所述无线通信接口的优先级。
  15. 根据权利要求11至14任一项所述的电子设备,其特征在于,所述计算机程序被所述处理器执行时实现以下步骤:
    向所述目标电子设备同时发送多个通信协议版本的请求消息;
    判断是否接收到所述目标电子设备发送的应答消息;
    当接收到所述目标电子设备发送的应答消息时,确定接收到的应答消息对 应的通信协议版本为所述目标电子设备当前支持的通信协议版本;
    基于所述目标电子设备当前支持的通信协议版本与所述目标电子设备进行通信。
  16. 根据权利要求11至14任一项所述的电子设备,其特征在于,所述计算机程序被所述处理器执行时实现以下步骤:
    向所述目标电子设备发送一个通信协议版本的请求消息;
    判断是否接收到所述目标电子设备发送的应答消息;
    当接收到所述通信协议版本的应答消息时,确定所述请求消息对应的通信协议版本为所述目标电子设备当前支持的通信协议版本;
    基于所述目标电子设备当前支持的通信协议版本与所述目标电子设备进行通信。
  17. 根据权利要求16所述的电子设备,其特征在于,所述计算机程序被所述处理器执行时实现以下步骤:
    按照通信协议版本的第二优先级顺序,依次向所述目标电子设备发送一个通信协议版本的请求消息。
  18. 根据权利要求15至17任一项所述的电子设备,其特征在于,所述计算机程序被所述处理器执行时实现以下步骤:
    判断是否在预设时间内接收到所述目标电子设备发送的应答消息。
  19. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1~10任意一项所述的通信方法的步骤。
PCT/CN2018/084446 2017-08-22 2018-04-25 通信方法和装置 WO2019037458A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710723465.3 2017-08-22
CN201710723465.3A CN109428773B (zh) 2017-08-22 2017-08-22 一种通信方法和装置

Publications (1)

Publication Number Publication Date
WO2019037458A1 true WO2019037458A1 (zh) 2019-02-28

Family

ID=65439948

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/084446 WO2019037458A1 (zh) 2017-08-22 2018-04-25 通信方法和装置

Country Status (2)

Country Link
CN (1) CN109428773B (zh)
WO (1) WO2019037458A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110764808A (zh) * 2019-10-31 2020-02-07 广州酷狗计算机科技有限公司 客户端升级检测方法、装置和计算机可读存储介质
CN111061498A (zh) * 2019-12-25 2020-04-24 上海众源网络有限公司 一种配置信息管理系统
CN111741457A (zh) * 2020-07-16 2020-10-02 Oppo广东移动通信有限公司 一种蓝牙通讯方法、装置及计算机可读存储介质
CN113170004A (zh) * 2021-03-15 2021-07-23 华为技术有限公司 数据传输方法、装置及系统
CN113844315A (zh) * 2021-09-24 2021-12-28 北京胜能能源科技有限公司 获取电池包信息的方法、装置、介质、电子设备和服务器

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111294890B (zh) 2019-05-17 2021-08-06 锐迪科(重庆)微电子科技有限公司 用于可穿戴设备的通信方法及装置、存储介质、终端
CN111294385B (zh) * 2020-01-02 2023-01-31 北京字节跳动网络技术有限公司 数据传输方法、装置、可读介质及电子设备
CN112422741A (zh) * 2020-11-19 2021-02-26 Oppo广东移动通信有限公司 信息提醒方法、装置、电子设备和计算机可读存储介质

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1595860A (zh) * 2003-09-13 2005-03-16 华为技术有限公司 通信系统中的协议版本探测方法
CN101388881A (zh) * 2007-09-13 2009-03-18 华为技术有限公司 通信协议版本协商的方法、网元及系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101686232A (zh) * 2008-09-25 2010-03-31 华为技术有限公司 通信协议版本协商方法和系统及设备
CN101668315B (zh) * 2009-10-12 2012-01-18 上海华为技术有限公司 对不同协议版本的网元进行操作的方法及装置
US8848702B2 (en) * 2011-02-19 2014-09-30 Cisco Technology, Inc. Automated transitioning between different communication protocols in a network
CN102857504B (zh) * 2012-09-06 2016-01-06 深信服网络科技(深圳)有限公司 网络优化方法及装置
KR101524166B1 (ko) * 2014-02-11 2015-06-10 현대자동차주식회사 커넥터 변환기 및 이를 이용한 차량 충전 시스템 및 차량 충전 방법

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1595860A (zh) * 2003-09-13 2005-03-16 华为技术有限公司 通信系统中的协议版本探测方法
CN101388881A (zh) * 2007-09-13 2009-03-18 华为技术有限公司 通信协议版本协商的方法、网元及系统

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110764808A (zh) * 2019-10-31 2020-02-07 广州酷狗计算机科技有限公司 客户端升级检测方法、装置和计算机可读存储介质
CN110764808B (zh) * 2019-10-31 2023-10-13 广州酷狗计算机科技有限公司 客户端升级检测方法、装置和计算机可读存储介质
CN111061498A (zh) * 2019-12-25 2020-04-24 上海众源网络有限公司 一种配置信息管理系统
CN111061498B (zh) * 2019-12-25 2024-03-15 上海众源网络有限公司 一种配置信息管理系统
CN111741457A (zh) * 2020-07-16 2020-10-02 Oppo广东移动通信有限公司 一种蓝牙通讯方法、装置及计算机可读存储介质
CN111741457B (zh) * 2020-07-16 2023-06-09 Oppo广东移动通信有限公司 一种蓝牙通讯方法、装置及计算机可读存储介质
CN113170004A (zh) * 2021-03-15 2021-07-23 华为技术有限公司 数据传输方法、装置及系统
CN113170004B (zh) * 2021-03-15 2023-01-06 华为技术有限公司 数据传输方法、装置及系统
CN113844315A (zh) * 2021-09-24 2021-12-28 北京胜能能源科技有限公司 获取电池包信息的方法、装置、介质、电子设备和服务器
CN113844315B (zh) * 2021-09-24 2024-01-26 北京胜能能源科技有限公司 获取电池包信息的方法、装置、介质、电子设备和服务器

Also Published As

Publication number Publication date
CN109428773B (zh) 2022-04-22
CN109428773A (zh) 2019-03-05

Similar Documents

Publication Publication Date Title
WO2019037458A1 (zh) 通信方法和装置
US10959287B2 (en) Roaming groups in a Peer-to-Peer Network
US20200351354A1 (en) System and method for supporting data communication in a heterogeneous environment
US9565708B2 (en) Auto-connect in a peer-to-peer network
JP6254747B2 (ja) 情報提供方法、装置、プログラム及び記録媒体
WO2019076037A1 (zh) 升级固件的方法和装置
US9467209B2 (en) Method, apparatus, and terminal device for near field communication radio frequency communication
CN107517438B (zh) 请求分享蓝牙设备的方法及电子设备、计算机存储介质
EP3490304B1 (en) Method for identifying access point and hotspot, and related products
CN110995647A (zh) 一种协议转换方法、装置、设备、存储介质和系统
WO2017088572A1 (zh) 一种处理数据的方法、装置及系统
US20130223361A1 (en) Terminal and method for establishing wireless access channel
CN113301568A (zh) 用于配网的方法、装置和智能家居设备
CN112118322B (zh) 一种网络设备的数据同步方法、网络设备及系统
US9380626B2 (en) Communication apparatus, information processing apparatus, and control method for the same
CN107277163B (zh) 一种设备远程映射方法及装置
WO2021223247A1 (zh) 一种设备升级方法、智能设备及计算机可读存储介质
EP2724489B1 (en) Validating download success
EP3000025B1 (en) Remote update of a portable storage device
WO2016015614A1 (zh) 一种密文发送、传输的方法、移动终端及通信基站
CN109697097B (zh) 数据处理方法及系统
CN112205066A (zh) 通信方法和通信系统
WO2014114044A1 (zh) 近场通信射频发现控制方法、装置和终端设备
US20240048990A1 (en) Bluetooth connection method and system, intelligent terminal, and computer storage medium
EP3996398A1 (en) Method, device and system for connecting a medical device to a network

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

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

Country of ref document: EP

Kind code of ref document: A1