Search

US-20260129416-A1 - SERVICE EXECUTION METHODS, DEVICES, AND STORAGE MEDIA

US20260129416A1US 20260129416 A1US20260129416 A1US 20260129416A1US-20260129416-A1

Abstract

A service execution method is applied to a terminal, and includes: establishing a short-range connection with a short-range communication device in response to a short-range connection operation of a user; sending a read request to the short-range communication device based on the short-range connection with the short-range communication device, to cause the short-range communication device to return verification information based on the short-range connection; receiving the verification information returned by the short-range communication device; sending an access request comprising the verification information to a service platform, to cause the service platform to return a service interface based on the verification information; and receiving and displaying the service interface returned by the service platform, for the user to execute a service based on the displayed service interface.

Inventors

  • Long MEI

Assignees

  • Alipay (Hangzhou) Digital Service Technology Co., Ltd.

Dates

Publication Date
20260507
Application Date
20251106
Priority Date
20241107

Claims (14)

  1. 1 . A service execution method, applied to a terminal, and comprising: establishing a short-range connection with a short-range communication device in response to a short-range connection operation of a user; sending a read request to the short-range communication device based on the short-range connection with the short-range communication device, to cause the short-range communication device to return verification information based on the short-range connection; receiving the verification information returned by the short-range communication device; sending an access request comprising the verification information to a service platform, to cause the service platform to return a service interface based on the verification information; and receiving and displaying the service interface returned by the service platform, for the user to execute a service based on the displayed service interface.
  2. 2 . The method according to claim 1 , wherein the short-range communication device comprises at least one of a near field communication chip, a radio frequency identification chip, or a Bluetooth device.
  3. 3 . The method according to claim 1 , further comprising: receiving to-be-decoded service information returned by the short-range communication device based on the short-range connection; wherein the access request further comprises the to-be-decoded service information; and the sending the access request comprising the verification information to the service platform, comprises: sending the access request comprising the verification information to the service platform, to cause the service platform performs qualification verification on the user based on the verification information, and to obtain the service interface based on the to-be-decoded service information when the verification succeeds.
  4. 4 . A service execution method, applied to a service platform, and comprising: receiving an access request that is sent by a terminal and comprises verification information, wherein the verification information is obtained by the terminal based on a short-range connection established with a short-range communication device; performing qualification verification on a user based on the verification information; obtaining a service interface when the verification succeeds; and returning the service interface to the terminal, to cause the user to execute a service based on the service interface displayed by the terminal.
  5. 5 . The method according to claim 4 , wherein the access request further comprises to-be-decoded service information returned by the short-range communication device to the terminal based on the short-range connection; and the obtaining the service interface comprises: decoding the to-be-decoded service information to obtain the service interface.
  6. 6 . The method according to claim 4 , wherein the obtaining the service interface comprises: determining the service interface based on the verification information and a pre-stored correspondence.
  7. 7 . The method according to claim 4 , further comprising: obtaining service information; generating, based on the service information, a service code as to-be-decoded service information; and writing the to-be-decoded service information into the short-range communication device by using a write device.
  8. 8 . A service execution method, applied to a short-range communication device, and comprising: establishing a short-range connection with a terminal of a user in response to a short-range connection operation of the user; receiving a read request sent by the terminal based on the short-range connection; determining verification information based on the read request; and returning the verification information to the terminal based on the short-range connection, to cause the terminal to send the verification information to a service platform, and to obtain and display a service interface returned by the service platform, for the user to execute a service displayed in the service interface.
  9. 9 . A terminal, comprising: a processor; and a memory storing instructions executable by the processor, wherein the processor is configured to perform the service execution method according to claim 1 .
  10. 10 . A service platform, comprising: a processor; and a memory storing instructions executable by the processor, wherein the processor is configured to perform the service execution method according to claim 4 .
  11. 11 . A short-range communication device, comprising: a processor; and a memory storing instructions executable by the processor, wherein the processor is configured to perform the service execution method according to claim 8 .
  12. 12 . A non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor of a terminal, cause the terminal to perform the service execution method according to claim 1 .
  13. 13 . A non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor of a service platform, cause the service platform to perform the service execution method according to claim 4 .
  14. 14 . A non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor of a short-range communication device, cause the short-range communication device to perform the service execution method according to claim 8 .

Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application claims priority to Chinese Patent Application No. 202411587184.6, filed on Nov. 7, 2024, the entire content of which is incorporated herein by reference. TECHNICAL FIELD This specification relates to the computer field, and in particular, to service execution methods, devices, and storage media. BACKGROUND With the development of Internet technologies, users can execute various services by scanning a QR code, for example, scan a QR code of a lottery to participate in the lottery. For offline services, users usually need to execute the services in particular locations. For example, a province holds a shopping fund subsidy campaign, and users need to receive and use subsidy funds at a specified location in the province. If users can obtain subsidy funds only by scanning a QR code of the campaign, users that are not in the province can obtain subsidy funds via the QR code of the campaign sent by other persons, which harms the interests of the users in the province. This is because the QR code is easy to copy and spread through screenshots. Other persons can send the QR code of the campaign to users who do not satisfy the regional need. Therefore, for a service executed via a QR code, it may be difficult to guarantee that users executing the service satisfy the regional need. SUMMARY According to a first aspect of this specification, a service execution method is applied to a terminal and includes: establishing a short-range connection with a short-range communication device in response to a short-range connection operation of a user; sending a read request to the short-range communication device based on the short-range connection with the short-range communication device, to cause the short-range communication device to return verification information based on the short-range connection; receiving the verification information returned by the short-range communication device; sending an access request including the verification information to a service platform, to cause the service platform to return a service interface based on the verification information; and receiving and displaying the service interface returned by the service platform, for the user to execute a service based on the displayed service interface. According to a second aspect of this specification, a service execution method is applied to a service platform and includes: receiving an access request that is sent by a terminal and includes verification information, where the verification information is obtained by the terminal based on a short-range connection established with a short-range communication device; performing qualification verification on a user based on the verification information; obtaining a service interface when the verification succeeds; and returning the service interface to the terminal, for the user to execute a service based on the service interface displayed by the terminal. According to a third aspect of this specification, a service execution method is applied to a short-range communication device and includes: establishing a short-range connection with a terminal of a user in response to a short-range connection operation of the user; receiving a read request sent by the terminal based on the short-range connection; determining verification information based on the read request; and returning the verification information to the terminal based on the short-range connection, to cause the terminal to send the verification information to a service platform, and to obtain and display a service interface returned by the service platform, for the user to execute a service displayed in the service interface. According to a fourth aspect of this specification, a service execution device includes: a processor; and a memory storing instructions executable by the processor, wherein the processor is configured to perform the service execution method in the first, second, or third aspect. According to a fifth aspect of this specification, a non-transitory computer-readable storage medium has stored therein instructions that, when executed by a processor of a device, cause the device to perform the service execution method in the first, second, or third aspect. BRIEF DESCRIPTION OF DRAWINGS The accompanying drawings described here are used to provide a further understanding of this specification and constitute a part of this specification. The example embodiments of this specification and descriptions thereof are used to explain this specification, and do not constitute an improper limitation on this specification. In the accompanying drawings: FIG. 1 is a flowchart illustrating a service execution method according to an example embodiment. FIG. 2 is a schematic diagram illustrating the service execution method according to an example embodiment. FIG. 3 is a schematic diagram illustrating a short-range connection according to an example embodiment. FIG. 4 is a flowchart il