Abstract
A wireless communication method and apparatus are provided. The method includes: a first device obtains first information, which includes a correspondence between first customer premise equipment and at least one first terminal device, and a correspondence between the first terminal device and at least one second terminal device. The first device configures the first information on a second device, which uses the first information to verify that a received service packet is a service packet sent by the first terminal device to the second terminal device by using the first customer premise equipment. Therefore, accuracy of service packet transmission of an industrial terminal device can be ensured, an industrial terminal or customer premise equipment can be prevented from being attacked to some extent, a loss caused by the attack on the device is reduced, and information security of the industrial terminal device and an entire industrial field network is improved.