Automatic control method for battling device, battling device, and readable storage medium
Abstract
A first battling device has one or more processors, memory, one or more wireless receiving components; and one or more driving component for moving the first battling device. The first battling device receives a radio signal by using at least one of the wireless receiving components, the radio signal being broadcast by a wireless transmitting component of a second battling device that is distinct from the first battling device. The first battling device determines a position of the first battling device relative to the second battling device according to respective position information of the at least one of the wireless receiving components of the first battling device that have received the radio signal. The first battling device performs a predetermined action according to the respective position information of the at least one of the wireless receiving components of the first battling device that have received the radio signal.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A method for automatically controlling a battling device,
at a first battling device having one or more processors, memory, one or more wireless receiving components; and one or more driving component for moving the first battling device:
receiving a radio signal by using at least one of the wireless receiving components, the radio signal being broadcast by a wireless transmitting component of a second battling device that is distinct from the first battling device;
determining a position of the first battling device relative to the second battling device according to respective position information of the at least one of the wireless receiving components of the first battling device that have received the radio signal; and
performing a predetermined action according to the respective position information of the at least one of the wireless receiving components of the first battling device that have received the radio signal.
2 . The method according to claim 1 , wherein:
a first wireless receiving component is disposed at a front end of the first battling device, and the first wireless receiving component is configured to receive a radio signal from the front of the first battling device; a second wireless receiving component is disposed at a rear end of the first battling device, and the second wireless receiving component is configured to receive a radio signal from the rear of the first battling device; a third wireless receiving component is disposed on a left side of the first battling device, and the third wireless receiving component is configured to receive a radio signal from the left side of the first battling device; and a fourth wireless receiving component is disposed on a right side of the first battling device, and the fourth wireless receiving component is configured to receive a radio signal from the right side of the battling device.
3 . The method according to claim 2 , wherein the determining a position of the first battling device relative to the second battling device according to respective position information of the at least one of the wireless receiving components of the first battling device that have received the radio signal comprises:
determining that the second battling device is located at the left front of the first battling device when both the first wireless receiving component and the third wireless receiving component receive a radio signal; determining that the second battling device is located at the right front of the first battling device when both the first wireless receiving component and the fourth wireless receiving component receive a radio signal; determining that the second battling device is located at the left rear of the first battling device when both the second wireless receiving component and the third wireless receiving component receive a radio signal; and determining that the second battling device is located at the right rear of the first battling device when both the second wireless receiving component and the fourth wireless receiving component receive a radio signal.
4 . The method according to claim 1 , including:
before determining the position of the first battling device relative to the second battling device according to the respective position information of the at least one of the wireless receiving components of the first battling device that have received the radio signal:
obtaining a device identifier comprised in the radio signal, and
determining the radio signal as a valid signal when a data format of the radio signal satisfies a predetermined data format, the predetermined data format being a data format that are pre-established between the battling devices.
5 . The method according to claim 1 , wherein performing the predetermined action according to the relative position comprises:
controlling, by using a driving component according to the respective position information, the first battling device relative to a position of the second battling device in a respective direction.
6 . The method according to claim 1 , wherein performing the predetermined action according to the relative position comprises:
transmitting a radio attack signal to the position of the second battling device by using a wireless transmitting component according to the respective position information, the radio attack signal comprising an attack parameter.
7 . The method according to claim 1 , including:
after the determining the position of the first battling device relative to the second battling device according to the position information of the wireless receiving component receiving the radio signal:
sending the relative position to a control device;
receiving a control instruction delivered by the control device, the control instruction being generated by the control device according to the relative position; and
performing a corresponding action according to the control instruction.
8 . A first battling device, comprising:
one or more processors; memory; one or more wireless receiving components; one or more driving component for moving the first battling device; and a plurality of instructions stored in the memory that, when executed by the one or more processors, cause the one or more processors to perform the following operations: receiving a radio signal by using at least one of the wireless receiving components, the radio signal being broadcast by a wireless transmitting component of a second battling device that is distinct from the first battling device; determining a position of the first battling device relative to the second battling device according to respective position information of the at least one of the wireless receiving components of the first battling device that have received the radio signal; and performing a predetermined action according to the respective position information of the at least one of the wireless receiving components of the first battling device that have received the radio signal.
9 . The first battling device according to claim 8 , wherein:
a first wireless receiving component is disposed at a front end of the first battling device, and the first wireless receiving component is configured to receive a radio signal from the front of the first battling device; a second wireless receiving component is disposed at a rear end of the first battling device, and the second wireless receiving component is configured to receive a radio signal from the rear of the first battling device; a third wireless receiving component is disposed on a left side of the first battling device, and the third wireless receiving component is configured to receive a radio signal from the left side of the first battling device; and a fourth wireless receiving component is disposed on a right side of the first battling device, and the fourth wireless receiving component is configured to receive a radio signal from the right side of the battling device.
10 . The first battling device according to claim 9 , wherein the determining a position of the first battling device relative to the second battling device according to respective position information of the at least one of the wireless receiving components of the first battling device that have received the radio signal comprises:
determining that the second battling device is located at the left front of the first battling device when both the first wireless receiving component and the third wireless receiving component receive a radio signal; determining that the second battling device is located at the right front of the first battling device when both the first wireless receiving component and the fourth wireless receiving component receive a radio signal; determining that the second battling device is located at the left rear of the first battling device when both the second wireless receiving component and the third wireless receiving component receive a radio signal; and determining that the second battling device is located at the right rear of the first battling device when both the second wireless receiving component and the fourth wireless receiving component receive a radio signal.
11 . The first battling device according to claim 8 , wherein the operations include:
before determining the position of the first battling device relative to the second battling device according to the respective position information of the at least one of the wireless receiving components of the first battling device that have received the radio signal:
obtaining a device identifier comprised in the radio signal, and
determining the radio signal as a valid signal when a data format of the radio signal satisfies a predetermined data format, the predetermined data format being a data format that are pre-established between the battling devices.
12 . The first battling device according to claim 8 , wherein performing the predetermined action according to the relative position comprises:
controlling, by using a driving component according to the respective position information, the first battling device relative to a position of the second battling device in a respective direction.
13 . The first battling device according to claim 8 , wherein performing the predetermined action according to the relative position comprises:
transmitting a radio attack signal to the position of the second battling device by using a wireless transmitting component according to the respective position information, the radio attack signal comprising an attack parameter.
14 . The first battling device according to claim 8 , wherein the operations include:
after the determining the position of the first battling device relative to the second battling device according to the position information of the wireless receiving component receiving the radio signal:
sending the relative position to a control device;
receiving a control instruction delivered by the control device, the control instruction being generated by the control device according to the relative position; and
performing a corresponding action according to the control instruction.
15 . A non-transitory computer-readable storage medium storing a plurality of instructions configured for execution by a first battling device having one or more processors, one or more wireless receiving components and one or more driving component for moving the first battling device, wherein the plurality of instructions cause the first battling device to perform the following operations:
receiving a radio signal by using at least one of the wireless receiving components, the radio signal being broadcast by a wireless transmitting component of a second battling device that is distinct from the first battling device; determining a position of the first battling device relative to the second battling device according to respective position information of the at least one of the wireless receiving components of the first battling device that have received the radio signal; and performing a predetermined action according to the respective position information of the at least one of the wireless receiving components of the first battling device that have received the radio signal.
16 . The non-transitory computer-readable storage medium according to claim 15 , wherein:
a first wireless receiving component is disposed at a front end of the first battling device, and the first wireless receiving component is configured to receive a radio signal from the front of the first battling device; a second wireless receiving component is disposed at a rear end of the first battling device, and the second wireless receiving component is configured to receive a radio signal from the rear of the first battling device; a third wireless receiving component is disposed on a left side of the first battling device, and the third wireless receiving component is configured to receive a radio signal from the left side of the first battling device; and a fourth wireless receiving component is disposed on a right side of the first battling device, and the fourth wireless receiving component is configured to receive a radio signal from the right side of the battling device.
17 . The non-transitory computer-readable storage medium according to claim 16 , wherein the determining a position of the first battling device relative to the second battling device according to respective position information of the at least one of the wireless receiving components of the first battling device that have received the radio signal comprises:
determining that the second battling device is located at the left front of the first battling device when both the first wireless receiving component and the third wireless receiving component receive a radio signal; determining that the second battling device is located at the right front of the first battling device when both the first wireless receiving component and the fourth wireless receiving component receive a radio signal; determining that the second battling device is located at the left rear of the first battling device when both the second wireless receiving component and the third wireless receiving component receive a radio signal; and determining that the second battling device is located at the right rear of the first battling device when both the second wireless receiving component and the fourth wireless receiving component receive a radio signal.
18 . The non-transitory computer-readable storage medium according to claim 15 , wherein the operations include:
before determining the position of the first battling device relative to the second battling device according to the respective position information of the at least one of the wireless receiving components of the first battling device that have received the radio signal:
obtaining a device identifier comprised in the radio signal, and
determining the radio signal as a valid signal when a data format of the radio signal satisfies a predetermined data format, the predetermined data format being a data format that are pre-established between the battling devices.
19 . The non-transitory computer-readable storage medium according to claim 15 , wherein performing the predetermined action according to the relative position comprises:
controlling, by using a driving component according to the respective position information, the first battling device relative to a position of the second battling device in a respective direction.
20 . The non-transitory computer-readable storage medium according to claim 15 , wherein performing the predetermined action according to the relative position comprises:
transmitting a radio attack signal to the position of the second battling device by using a wireless transmitting component according to the respective position information, the radio attack signal comprising an attack parameter.Join the waitlist — get patent alerts
Track US2019070518A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.