An information query method in a Wireless Fidelity network, comprising: sending, by a first device, a data-excluded information query request frame, wherein the data-excluded information query request frame comprises first control information and a first hash value, the first hash value is a hash value generated after first information is computed by using a first hash function, the data-excluded information query request frame does not comprise a target address, and the first control information comprises at least first indication information used for indicating a type of the data-excluded information query request frame; receiving, by the first device, a data-excluded information query response frame sent by a second device, wherein the data-excluded information query response frame comprises second control information, a second hash value, and an address of the second device, the second hash value is a hash value generated after the second device computes second information by using a second hash function, the data-excluded information query response frame does not comprise a target address, and the second control information comprises at least second indication information used for indicating the type of the data-excluded information query request frame; and sending, by the first device, a data-contained information query request frame to the second device when the first device determines that a third hash value is consistent with the second hash value, wherein the third hash value is generated after the first information is computed by using the second hash function, and the data-contained information query request frame comprises the address of the second device and an address of the first device, so that the second device responds to the data-contained information query request frame when receiving the data-contained information query request frame. sending, by a first device, a data-excluded information query request frame, wherein the data-excluded information query request frame comprises first control information and a first hash value, the first hash value is a hash value generated after first information is computed by using a first hash function, the data-excluded information query request frame does not comprise a target address, and the first control information comprises at least first indication information used for indicating a type of the data-excluded information query request frame; receiving, by the first device, a data-excluded information query response frame sent by a second device, wherein the data-excluded information query response frame comprises second control information, a second hash value, and an address of the second device, the second hash value is a hash value generated after the second device computes second information by using a second hash function, the data-excluded information query response frame does not comprise a target address, and the second control information comprises at least second indication information used for indicating the type of the data-excluded information query request frame; and sending, by the first device, a data-contained information query request frame to the second device when the first device determines that a third hash value is consistent with the second hash value, wherein the third hash value is generated after the first information is computed by using the second hash function, and the data-contained information query request frame comprises the address of the second device and an address of the first device, so that the second device responds to the data-contained information query request frame when receiving the data-contained information query request frame.