摘要 |
Embodiments of the present invention provide a method, an apparatus, and a terminal device for controlling near field communication radio frequency discovery. The method includes: acquiring, by a first NFC host, state information used to indicate a state of a near field communication controller NFCC; and skipping, by the first NFC host, sending a first radio frequency discovery command to the NFCC if the state of the NFCC is non-idle; or if the state of the NFCC is non-idle, and a priority of the first NFC host is higher than a priority of a third NFC host, sending, by the first NFC host, a state resetting command to the NFCC, so that the NFCC terminates a current radio frequency communication process. The embodiments of the present invention provide a radio frequency communication mechanism of an NFC device in a multi-host architecture. When a first NFC host learns that a state of an NFCC is non-idle, the first NFC host may not send a radio frequency discovery command to the NFCC, and may also control the NFCC to terminate a current radio frequency communication process. Therefore, a collision problem that occurs in the multi-host architecture when an NFC host controls the NFCC to perform radio frequency communication may be avoided. |