CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority to Chinese Patent Application No. 202010857809.1, filed on Aug. 24, 2020, which is hereby incorporated by reference in its entirety.

TECHNICAL FIELD

The present specification relates to the technical field of data processing, and in particular, to service processing methods, apparatuses, devices and systems.

BACKGROUND

With continuous development of scientific and technological levels, short message services (SMS) have been applied in many services. For example, during identity authentication, a verification code is sent in the form of a short message to complete identity authentication. For another example, in marketing activities, marketing information, etc. is sent to a user in the form of a short message. Therefore, the authenticity and validity of content of a short message are of vital importance. For service providers of SMS, how to provide low-cost services on the basis of ensuring the authenticity and validity of the content of the short message is a problem urgently needing to be solved.

SUMMARY

One or more embodiments of the present specification provide a service processing method applied to a node device accessed to a blockchain. The method includes the following: a message processing request sent by a channel partner device is received. The message processing request includes at least one message ciphertext to be processed. The message ciphertext is sent by a service provider device to the channel partner device based on a service processing request sent by a request user after at least one message plaintext to be processed that is included in the service processing request is encrypted through a trusted execution environment (TEE) of the service provider device. The service processing request is used to request to transmit a message to be sent in the message plaintext to a corresponding target user. A first smart contract deployed in the blockchain is invoked in the TEE of the node device. The message ciphertext is decrypted based on the first smart contract to obtain the message plaintext. The message plaintext is sent to an operator device so that the operator device sends the message to be sent in the message plaintext to the target user.

One or more embodiments of the present specification provide a service processing method applied to a service provider device. The method includes the following: a service processing request sent by a request user is received. The service processing request includes at least one message plaintext to be processed. The service processing request is used to request to send a message to be sent in the message plaintext to a corresponding target user. The message plaintext is encrypted based on a predetermined mode in a TEE of the service provider device to obtain a message ciphertext. The message ciphertext is sent to a channel partner device so that the channel partner device sends, based on the message ciphertext, a message processing request to a node device accessed to a blockchain. The node device sends the message plaintext obtained by decrypting the message ciphertext to an operator device in the TEE of the node device. The operator device sends the message to be sent in the message plaintext to the target user.

One or more embodiments of the present specification provide a service processing apparatus applied to anode device accessed to a blockchain. The apparatus includes a receiving module configured to receive a message processing request sent by a channel partner. The message processing request includes at least one message ciphertext to be processed. The message ciphertext is sent by a service provider device to the channel partner device based on a service processing request sent by a request user after at least one message plaintext to be processed that is included in the service processing request is encrypted through a TEE of the service provider device. The service processing request is used to request to send a message to be sent in the message plaintext to a corresponding target user. The apparatus further includes a decryption module configured to invoke a first smart contract deployed in the blockchain in the TEE of the node device. The message ciphertext is decrypted based on the first smart contract to obtain the message plaintext. The apparatus further includes a sending module configured to send the message plaintext an operator device so that the operator device sends the message to be sent in the message plaintext to the target user.

One or more embodiments of the present specification provide a service processing apparatus applied to a service provider device. The apparatus includes a receiving module configured to receive a service processing request sent by a request user. The service processing request includes at least one message plaintext to be processed. The service processing request is used to request to send a message to be sent in the message plaintext to a corresponding target user. The apparatus further includes an encryption module configured to encrypt, based on a predetermined mode, the message plaintext in a TEE of the service provider device to obtain a message ciphertext. The apparatus further includes a sending module configured to send the message ciphertext to a channel partner device. The channel partner device sends, based on the message ciphertext, a message processing request to a node device accessed to a blockchain. The node device sends the message plaintext obtained by decrypting the message ciphertext to an operator device in the TEE of the node device. The operator device sends the message to be sent in the message plaintext to the target user.

One or more embodiments of the present specification provide a service processing system. The system includes a service provider device, a channel partner device, an operator device, and a blockchain system. The service provider device is configured to receive a service processing request sent by a request user; encrypt at least one message plaintext to be processed that is included in the service processing request through a TEE of the service provider device to obtain a message ciphertext; and sends the message ciphertext to the channel partner device. The service processing request is used to request to send a message to be sent in the message plaintext to a corresponding target user. The channel partner device is configured to receive the message ciphertext sent by the service provider device; and send the message ciphertext to a node device in a blockchain system. The node device in the blockchain system is configured to receive the message ciphertext sent by the channel partner device; invoke a first smart contract deployed in the blockchain in the TEE of the node device; decrypt the message ciphertext based on the first smart contract to obtain the message plaintext; and send the message plaintext to the channel partner device. The operator device is configured to receive the message plaintext sent by the node device; send the message to be sent in the message plaintext to the target user.

One or more embodiments of the present specification provide a service processing device. The device includes a processor. The device further includes a memory configured to store computer-executable instructions. The computer-executable instructions, when executed, enable the processor to receive a message processing request sent by a channel partner device. The message processing request includes at least one message ciphertext to be processed. The message ciphertext is sent by a service provider device to the channel partner device based on a service processing request sent by a request user after at least one message plaintext to be processed that is included in the service processing request is encrypted through a TEE of the service provider device. The service processing request is used to request to send a message to be sent in the message plaintext to a corresponding target user. A first smart contract deployed in a blockchain is invoked in the TEE of a node device. The message ciphertext is decrypted based on the first smart contract to obtain the message plaintext. The message plaintext is sent to an operator device so that the operator device sends the message to be sent in the message plaintext to the target user.

One or more embodiments of the present specification provide a service processing device. The device includes a processor. The device further includes a memory configured to store computer-executable instructions. The computer-executable instructions, when executed, enable the processor to receive a service processing request sent by a request user. The service processing request includes at least one message plaintext to be processed. The service processing request is used to request to send a message to be sent in the message plaintext to a corresponding target user. The message plaintext is encrypted based on a predetermined mode in a TEE of a service provider device to obtain a message ciphertext. The message ciphertext is sent to a channel partner device so that the channel partner device sends, based on the message ciphertext, a message processing request to a node device accessed to a blockchain. The node device sends the message plaintext obtained by decrypting the message ciphertext to an operator device in the TEE of the node device. The operator device sends the message to be sent in the message plaintext to the target user.

One or more embodiments of the present specification provide a storage medium configured to store computer-executable instructions. The computer-executable instructions, when executed, implement the followings: a message processing request sent by a channel partner device is received. The message processing request includes at least one message ciphertext to be processed. The message ciphertext is sent by a service provider device to the channel partner device based on a service processing request sent by a request user after at least one message plaintext to be processed that is included in the service processing request is encrypted through a TEE of the service provider device. The service processing request is used to request to send a message to be sent in the message plaintext to a corresponding target user. A first smart contract deployed in a blockchain is invoked in the TEE of a node device. The message ciphertext is decrypted based on the first smart contract to obtain the message plaintext. The message plaintext is sent to an operator device so that the operator device sends the message to be sent in the message plaintext to the target user.

One or more embodiments of the present specification provide a storage medium configured to store computer-executable instructions. The computer-executable instructions, when executed, implement the following: a service processing request sent by a request user is received. The service processing request includes at least one message plaintext to be processed. The service processing request is used to request to send a message to be sent in the message plaintext to a corresponding target user. The message plaintext is encrypted based on a predetermined mode in a TEE of a service provider device to obtain a message ciphertext. The message ciphertext is sent to a channel partner device so that the channel partner device sends, based on the message ciphertext, a message processing request to a node device accessed to a blockchain. The node device sends the message plaintext obtained by decrypting the message ciphertext to an operator device in the TEE of the node device. The operator device sends the message to be sent in the message plaintext to the target user.

