Bidirectional wireless communication method, device and terminal

A technology of two-way wireless communication and host information, applied in the field of communication, can solve the problems of communication failure, inability to send information from the host, long distance, etc., and achieve the effect of improving the success rate of communication

CN107181628AActive Publication Date: 2017-09-19HANGZHOU ROBAM APPLIANCES CO LTD
9 Cites 3 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2017-09-19

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The present invention provides a bidirectional wireless communication method, a device and a terminal, and relates to the technical field of communication. The invention is applied to a system including a host and a plurality of slave computers. The host and the plurality of slave computers are configured to sequentially and cyclically send out heartbeat packets at the interval of a fixed period of time. The method comprises the steps of receiving a host heartbeat packet sent from the host and a first slave computer heartbeat packet sent from a first slave computer by a second slave computer, wherein the host heartbeat packet contains the information of the host and the first slave computer heartbeat packet contains the information of the first slave computer; broadcasting a second heartbeat packet to the host and other slave computers by the second slave computer, wherein the second heartbeat packet contains the information of the host, the information of the first slave computer and the information of the second slave computer. Based on the bidirectional wireless communication method, the device and the terminal, the bidirectional interaction of the information between the host and the slave computers is realized. Meanwhile, the information of the host and the information of the slave computers can be forwarded among the slave computers. The interaction with the host is realized through the information sharing with other slave computers. Therefore, the success rate of communication between the slave computers and the host is improved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the technical field of communication, in particular to a two-way wireless communication method, device and terminal. Background technique

[0002] The use of wireless technology in smart devices is becoming more and more common. However, most of the wireless communications in the market for a system composed of a master and multiple slaves are one-way, and only the slave can report to the master for operation. state, the master cannot send information to the slave. And because the distance between the master of the smart device and multiple slaves is relatively long, not all of them are within the coverage of the same wireless network, resulting in communication failure between the slave and the master. At the same time, due to the short-term disconnection of individual slaves, the communication between the slaves and the master will also fail.

[0003] For the above-mentioned communication problems existing in the sy...

Examples

Embodiment 1

[0027] Embodiment 1 of the present invention provides a two-way wireless communication method, see figure 1 The flow chart of the two-way wireless communication method shown, the system of the host and multiple slaves, the host and the multiple slaves send heartbeat packets cyclically at regular intervals in sequence, and the method includes the following steps:

[0028] Step S11, the second slave receives the master heartbeat packet sent by the master and the first slave heartbeat packet sent by the first slave.

[0029] In a system including at least one master and multiple slaves, two-way communication can be realized by regularly sending a heartbeat packet, which not only carries the information to be interacted with but also includes the information to verify whether it is online. Specifically, the master and the multiple slaves cyclically send heartbeat packets at fixed intervals in sequence. see figure 2 The schematic diagram of the communication sequence of the syst...

Embodiment 2

[0053] Embodiment 2 of the present invention provides a two-way wireless communication device, which is applied to a system including a host and multiple slaves. The host and multiple slaves send heartbeat packets cyclically at regular intervals in sequence, Image 6 A structural block diagram of a two-way wireless communication device provided by an embodiment of the present invention is shown, and the device includes:

[0054] The receiving module 610 is used for the second slave to receive the master heartbeat packet sent by the master and the first slave heartbeat packet sent by the first slave; the master heartbeat packet includes master information, and the first slave heartbeat packet includes first slave information ;

[0055] The sending module 620 is used for the second slave to broadcast a second heartbeat packet to the master and other slaves; the second heartbeat packet includes master information, first slave information and second slave information.