The invention discloses an equipment secure connection method based on a web
Bluetooth API, a
security system and a computer readable medium, and relates to the technical field of
wireless communication, and the method comprises the steps: negotiating and selecting an elliptic curve parameter between
user equipment and target equipment, generating a private key, calculating a public key, exchanging the public key, calculating a shared key, and establishing a secure session. A secure connection mechanism is established, so that the
user equipment and the target equipment perform secure connection and
secure communication through the first shared key and the second shared key respectively, and the connection, the connection keeping state or the communication process can only occur between the first shared key and the second shared key which are equal and authorized. Equipment without a shared key is prevented from acquiring user data or information, so that the security of connection and communication between the equipment is protected; the generated secret key can only be used by legal equipment, so that the security and integrity of subsequent
data transmission are ensured, and the security of data interaction between the equipment is improved; communication interference of other devices can be avoided, a
third party is prevented from acquiring or interfering
data transmission, and the stability of connection between the
user equipment and the target device and the
data transmission rate are improved.