This invention relates to the field of
artificial intelligence interaction technology, and discloses a method and apparatus for establishing
intelligent agent friendships based on near-field touch. The method includes: when a first hardware carrier detects a near-field touch event, generating a first temporary token and
broadcasting the first temporary token to a second hardware carrier; when the second hardware carrier detects a near-field touch event and receives the first temporary token, generating a second temporary token and a
pairing response credential; performing multi-dimensional
verification based on the first temporary token, first touch
event data, second temporary token,
pairing response credential, and second touch
event data; when the multi-dimensional
verification passes, establishing a friendship relationship between the first and second intelligent agents, sending the binding result to the first hardware carrier, second hardware carrier,
client, and corresponding virtual
intelligent agent, and updating the interaction state. This invention reduces mispairing and improves
pairing success rate and interaction security through bidirectional triggering, one-time tokens, and multi-dimensional
verification.