A security
verification method, apparatus, medium, device and product for a
large model service relate to the technical field of computers, receive an
encryption service request, acquire a private key of a
client from a
key management service running in a trusted execution environment through an
encryption and decryption service running in the trusted execution environment, decrypt the
encryption service request based on the private key, and verify the security of the encryption service request. The method comprises the following steps: decrypting a service request of a user, sending the decrypted service request to a
large model service to obtain a reasoning result of the
large model service, encrypting the reasoning result through a public key of a
client, and returning the encrypted reasoning result to the
client, so that the service request of the user can be visible in a
plaintext in a trusted execution environment; the security of the user data is greatly ensured, and the problem of user data leakage can be avoided through the public and private key pair of the user dimension. In addition, the
key management service and the encryption and decryption service both run in the trusted execution environment, so that attacks from an IaaS layer can be shielded.