The invention discloses a self-adaptive identity
authentication and key agreement method in a cloud side end environment, which comprises the following steps that: identity registration is carried out on a user, equipment, an
edge server and a
cloud server by utilizing a trust mechanism, and after identity registration is completed, the user logs in the equipment and sends request information of the user to the
edge server in the range through the logged-in equipment; the
edge server after receiving the request information provides service for the user: judging whether the service capability of the edge
server meets the request information, if so, performing
authentication and key negotiation between the edge
server and the equipment logged in by the user, and providing service for the user after the
authentication and key negotiation are completed; and if not, the
cloud server is selected to perform authentication and key negotiation with the equipment logged in by the user, and the service is provided for the user after the authentication and key negotiation are completed. According to the method, different authentication
modes can be executed in a self-adaptive mode, the equipment only needs to send out the authentication request once to meet the requirement, redundant authentication of the equipment is reduced, the load of the TA is reduced, and meanwhile the privacy of the equipment is protected.