Brush palm processing method, system and device, computer equipment and storage medium

By establishing a near-field communication connection between the target location and the palm-swiping device, and collecting and matching palm data, the slow response speed caused by the large number of interactions in traditional palm-swiping processing is solved, enabling rapid activation and use of the palm-swiping service.

CN121766985APending Publication Date: 2026-03-31TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

Traditional palm-swiping processes require multiple interactions, which slows down the response speed and affects the user experience.

Method used

By establishing a near-field communication connection with the palm-swiping device at the target location, the system collects images and data of the user's palm and matches them under the condition of liveness, triggering the activation event of the palm-swiping service and reducing the number of interactions.

Benefits of technology

It enables registration, activation, and use of the swipe service to be completed in just three interactions, significantly improving response speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121766985A_ABST
    Figure CN121766985A_ABST
Patent Text Reader

Abstract

The invention relates to a palm brushing processing method, device and system, computer equipment, a computer readable storage medium and a computer program product. The method comprises the steps that under the condition that a palm brushing device is configured in a target place provided by a target object, in response to a palm brushing service registration event triggered by a user for the target object, a palm image of the user is collected; establishing near field communication connection with the brush palm equipment in the target place; under the condition that the user triggers a brush palm confirmation operation through the brush palm device, palm data collected by the brush palm device for the user is obtained through the near field communication connection; and if the palm data is matched with the palm image, triggering an activation event for the palm brushing service, and carrying out resource transfer through the palm brushing service. Wherein the palm data is sent by the palm brushing device under the condition of confirming that the user meets the living body condition. By adopting the method, the number of times of interaction with the brush palm equipment can be remarkably reduced, and the response speed can be increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a palm-swiping processing method, apparatus, system, computer equipment, computer-readable storage medium, and computer program product. Background Technology

[0002] Palm scan processing is a data processing method based on biometric technology. After activating the palm scan service, users can scan their palm print in the palm print recognition area of ​​the palm scan device. Once the palm print recognition is successful, data processing operations can be performed on the object. Compared with facial recognition payment and QR code scanning, palm scan processing has advantages such as reducing privacy information leakage and convenient operation.

[0003] In traditional technology, the palm-scanning function needs to be activated beforehand using a dedicated palm-scanning device. Once activated, the device scans and recognizes the palm print to complete the process. This entire process requires multiple interactions with the device, and excessive interactions can slow down the device's response time, negatively impacting the overall user experience. Summary of the Invention

[0004] Therefore, it is necessary to provide a palm-swiping processing method, device, system, computer equipment, computer-readable storage medium, and computer program product that can reduce the number of interactions in order to address the above-mentioned technical problems.

[0005] Firstly, this application provides a palm-brushing processing method. The method includes:

[0006] If a palm-scanning device is configured in the target location provided by the target object, the palm-scanning service registration event triggered by the user for the target object is triggered, and the user's palm image is collected.

[0007] Establish a near-field communication connection between the palm-swiping device and the target location;

[0008] When the user triggers a palm-scanning confirmation operation through the palm-scanning device, the palm data collected by the palm-scanning device for the user is obtained through the near-field communication connection; the palm data is sent by the palm-scanning device after confirming that the user meets the living condition.

[0009] If the palm data matches the palm image, an activation event for the palm-scanning service is triggered, and the palm-scanning process is performed through the palm-scanning service.

[0010] Secondly, this application also provides a palm-brushing processing method. The method includes:

[0011] In the target location provided by the target object, a near-field communication connection is established with the user terminal; when the user terminal is equipped with a palm-swiping device in the target location, it collects the user's palm image in response to the palm-swiping service registration event triggered by the user for the target object.

[0012] When the user triggers a palm-scanning confirmation operation through the palm-scanning device, the user's palm data is collected;

[0013] If the user is determined to meet the liveness condition based on the palm data, the palm data is sent to the user terminal through the near-field communication connection; if the user terminal confirms that the palm data matches the palm image and triggers an activation event for the palm-swiping service, it performs palm-swiping processing through the palm-swiping service.

[0014] Thirdly, this application also provides a palm-swiping processing system. The system includes a user terminal and a palm-swiping device;

[0015] When the user terminal is equipped with a palm-scanning device at the target location provided by the target object, it responds to the palm-scanning service registration event triggered by the user for the target object, and collects the user's palm image; and establishes a near-field communication connection with the palm-scanning device at the target location.

[0016] The palm-scanning device is used to collect the user's palm data, and when it is determined based on the palm data that the user meets the condition of being alive, it sends the palm data to the user terminal through the near-field communication connection.

[0017] The user terminal is also used to trigger an activation event for the palm-swiping service when the palm data matches the palm image, and to perform palm-swiping processing through the palm-swiping service.

[0018] Fourthly, this application also provides a palm-brushing processing device. The device includes:

[0019] The image acquisition module is used to acquire the user's palm image in response to a palm-swiping service registration event triggered by the user for the target object, when a palm-swiping device is configured in the target location provided by the target object.

[0020] The first communication module is used to establish a near-field communication connection with the palm-swiping device at the target location;

[0021] The palm data acquisition module is used to acquire palm data collected by the palm-scanning device for the user through the near-field communication connection when the user triggers a palm-scanning confirmation operation through the palm-scanning device; the palm data is sent by the palm-scanning device after confirming that the user meets the living condition.

[0022] The palm-scanning processing module is used to trigger an activation event for the palm-scanning service if the palm data matches the palm image, and to perform palm-scanning processing through the palm-scanning service.

[0023] In one embodiment, the swipe processing device further includes a service registration event triggering module, configured to: collect object information of the target object in response to an information collection operation triggered by a user for the target object; display a swipe service registration page if, based on the object information, it is determined that a swipe device is configured in the target location provided by the target object; and trigger a swipe service registration event for the target object in response to a registration operation initiated by a user on the swipe service registration page.

[0024] In one embodiment, the palm-scanning device further includes a service status determination module, configured to: send the object information and the palm image to a server to determine the palm-scanning service status of the user corresponding to the target object; and send the palm data when the palm-scanning service status is in an inactive state and the user meets the liveness condition.

[0025] In one embodiment, the palm-scanning device further includes: an encrypted storage module for encrypting and storing the palm image in local memory; a data reading module for reading encrypted data corresponding to the palm image from the local memory when the palm data is obtained; and an image matching unit for matching the palm image obtained by decrypting the encrypted data with the palm data to obtain a matching result.

[0026] In one embodiment, the image matching module is specifically used for: performing parameter analysis on the palm image obtained by decrypting the encrypted data to determine image parameters; extracting a target image that matches the palm image from the palm data based on the image parameters; and matching the target image with the palm image to obtain a matching result.

[0027] In one embodiment, the encrypted storage module is specifically used to: convert the palm image into a byte array; compress the byte array based on compression parameters that match the available storage space size of the local memory to obtain compressed data; and encrypt and store the compressed data in the local memory.

[0028] In one embodiment, the swipe processing module is specifically used to: call the swipe service to generate a resource transfer certificate, and send the resource transfer certificate to the swipe device through the near-field communication connection; and complete the swipe processing upon receiving the verification feedback from the swipe device regarding the resource transfer certificate.

[0029] In one embodiment, the palm-swiping processing device further includes a data deletion module, configured to: obtain the verification result fed back by the palm-swiping device for the resource transfer certificate; and, if the verification result indicates that the resource transfer was successful, delete the palm data and disconnect the near-field communication connection.

[0030] In one embodiment, the first communication module includes: a connection request sending module, configured to obtain a connection request sent by a device to be connected configured in the target location when near-field communication service is enabled; the connection request carries type information of the device to be connected and object information of the object to which the device to be connected belongs; and a near-field communication connection module, configured to establish a near-field communication connection with the swiping device when the object information matches the target object and the type information indicates that the device to be connected is a swiping device.

[0031] In one embodiment, the near-field communication connection module is specifically used to: initiate a session key negotiation request to the swiping device; and, if a session key is determined based on the session key negotiation request, establish a near-field communication connection with the swiping device; the session key is used to encrypt and decrypt data information transmitted through the near-field communication connection.

[0032] Fifthly, this application also provides a palm brushing device. The device includes:

[0033] The second communication module is used to establish a near-field communication connection with the user terminal in the target location provided by the target object; when the user terminal is equipped with a palm-swiping device in the target location, it collects the user's palm image in response to the palm-swiping service registration event triggered by the user for the target object.

[0034] The data acquisition module is used to collect the user's palm data when the user triggers a palm confirmation operation through the palm-swiping device.

[0035] The data sending module is used to send the palm data to the user terminal via the near-field communication connection if it is determined that the user meets the liveness condition based on the palm data; and if the user terminal confirms that the palm data matches the palm image and triggers an activation event for the palm-swiping service, it performs palm-swiping processing through the palm-swiping service.

[0036] Sixthly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps of the above-described method.

[0037] Seventhly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the steps of the above-described method.

[0038] Eighthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the steps of the above-described method.

[0039] The aforementioned palm-scanning processing method, apparatus, system, computer equipment, computer-readable storage medium, and computer program product, when a palm-scanning device is configured in the target location provided by the target object, responds to a palm-scanning service registration event triggered by a user for the target object by acquiring the user's palm image; establishing a near-field communication connection with the palm-scanning device in the target location; and, when the user triggers a palm-scanning confirmation operation through the palm-scanning device, acquiring the palm data collected by the palm-scanning device for the user through the near-field communication connection. If the palm data matches the palm image, an activation event for the palm-scanning service is triggered, and resource transfer is performed through the palm-scanning service. The palm data is sent by the palm-scanning device after confirming that the user meets the liveness condition. Using this scheme, the registration, activation, and use of the palm-scanning service can be completed with only one acquisition of palm data, resulting in only three interactions with the palm-scanning device during the palm-scanning process: establishing a near-field communication connection, acquiring palm data from the palm-scanning device, and performing palm-scanning processing when activated. This significantly reduces the number of interactions with the palm-scanning device and improves response speed. Attached Figure Description

[0040] Figure 1 This is an application environment diagram of the palm-swiping processing method in one embodiment;

[0041] Figure 2 This is a schematic diagram illustrating the implementation process of the palm-swiping process in one embodiment;

[0042] Figure 3 This is a flowchart illustrating a palm-swiping processing method in one embodiment;

[0043] Figure 4 This is a schematic diagram illustrating the triggering process of the swipe service registration event in one embodiment;

[0044] Figure 5 This is a schematic diagram illustrating the process of a user triggering a palm-swiping confirmation operation via a palm-swiping device in one embodiment.

[0045] Figure 6 This is a schematic diagram illustrating the payment success message displayed on the palm-swipe device in one embodiment.

[0046] Figure 7 This is a flowchart illustrating the palm-brushing processing method in another embodiment;

[0047] Figure 8 This is a flowchart illustrating the palm-swiping processing method in yet another embodiment;

[0048] Figure 9 This is a schematic diagram illustrating the implementation process of the palm-swiping process in another embodiment;

[0049] Figure 10 This is a schematic diagram of the interactive process of registering for the swipe service in one embodiment;

[0050] Figure 11 This is a schematic diagram of the interaction process of activating and paying by swiping the palm in one embodiment;

[0051] Figure 12 This is a structural block diagram of the palm-brushing processing device in one embodiment;

[0052] Figure 13 This is a structural block diagram of the palm-brushing processing device in another embodiment;

[0053] Figure 14 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0054] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0055] The palm-brushing processing method provided in this application embodiment can be specifically applied to, for example, Figure 1 In the application environment shown, the environment may include a user terminal 102, a swiping device 104, and a server 106. The user terminal 102 and the swiping device 104 can interact via near-field communication (NFC). Communication between the swiping device 104 and the server 106, and between the user terminal 102 and the server 106, can be achieved via a network. This communication network can be a wired or wireless network. Therefore, the swiping device 104 and the server 106, and between the user terminal 102 and the server 106, can be directly or indirectly connected via wired or wireless communication. For example, the swiping device 104 can be indirectly connected to the server 106 via a wireless access point, or it can be directly connected to the server 106 via the Internet; this application does not impose any limitations on this.

[0056] The user terminal 102 can be, but is not limited to, various desktop computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, and smart in-vehicle devices. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted devices. The user terminal 102 can install an application for the palm-swiping service, which can be software, a webpage, or a mini-program. The user terminal 102 is equipped with an image acquisition device for capturing images of the user's palm. This image acquisition device can be, for example, a visible light camera, and the palm image can be a grayscale image or a color image. The server 106 is the backend server corresponding to the software, webpage, or mini-program. Furthermore, the server 106 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.

[0057] The palm-swiping device 104 can be, but is not limited to, a device with image data acquisition capabilities, such as a camera, video camera, scanner, or LiDAR, or various desktop computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices that integrate image acquisition devices. Among these, IoT devices can include smart speakers, smart TVs, smart air conditioners, and smart in-vehicle devices. In a specific implementation, the palm-swiping device 104 is equipped with an infrared camera and a visible light camera, which can acquire infrared and visible light palm images and perform liveness detection based on the acquired palm data to determine whether the user meets the liveness criteria.

[0058] During the palm-scanning process, if a palm-scanning device 104 is configured at the target location provided by the target object, the user terminal 102, in response to a palm-scanning service registration event triggered by the user for the target object, collects the user's palm image; establishes a near-field communication connection with the palm-scanning device 104 at the target location; if the user triggers a palm-scanning confirmation operation through the palm-scanning device 104, it obtains the palm data collected by the palm-scanning device 104 for the user through the near-field communication connection; if the palm data matches the palm image, it triggers an activation event for the palm-scanning service and performs palm-scanning processing through the palm-scanning service. The palm data is sent by the palm-scanning device 104 after confirming that the user meets the liveness condition.

[0059] In one embodiment, this application also provides an application scenario in which the palm-swiping processing method provided by this application is applied. This application scenario could be, for example, a palm-swiping payment scenario. The target object could be a merchant. Figure 2 As shown, user 201 can trigger a hand-scanning service registration event for a merchant through user terminal 203 when a hand-scanning device 202 is configured in the merchant's business premises. In response to this registration event, user terminal 203 can collect an image of the user's hand. Then, user terminal 203 can establish a near-field communication connection with the hand-scanning device 202 configured in the business premises. Then, user 201 can determine the amount of resources to be transferred to the merchant based on the desired purchase, and trigger a hand-scanning confirmation operation by placing their hand in the hand-scanning area of ​​the hand-scanning device 202. In response to this confirmation operation, hand-scanning device 202 can collect user 201's hand data and determine whether user 201 meets the liveness criteria based on the hand data. If user 201 meets the liveness criteria, hand-scanning device 202 sends the hand data to user terminal 203 through the near-field communication connection. User terminal 203 matches the palm data with its own collected palm image. If a match is found, an activation event for the palm-scanning service is triggered, and a payment code is provided to palm-scanning device 202 by calling the palm-scanning service. Palm-scanning device 202 then uses HID (The Human Interface Device) to send the code to POS (Point of Sales) terminal 204 for verification, thus completing the resource transfer operation based on palm scanning. HID defines the protocol, characteristics, and usage procedures of Bluetooth in human-machine interface devices, and the POS terminal can communicate with the server for payment verification.

[0060] In one embodiment, this application also provides another application scenario where the palm-swiping processing method provided by this application is applied. This application scenario could be, for example, a ticket verification scenario based on palm swiping. The target object could be the ticket provider. Figure 2As shown, when a palm-scanning device is installed at the business premises of the invoice provider, a user can trigger a palm-scanning service registration event for that invoice provider via their user terminal. The user terminal can then respond to this registration event by capturing an image of the user's palm. Next, the user terminal can establish a near-field communication (NFC) connection with the palm-scanning device installed at the business premises. The user can then trigger a palm-scanning confirmation operation by placing their palm in the palm-scanning area of ​​the device. The palm-scanning device can then respond to this confirmation operation by collecting the user's palm data and determining whether the user meets the liveness criteria based on this data. If the user meets the liveness criteria, the palm-scanning device sends the palm data to the user terminal via the NFC connection. The user terminal matches this palm data with its own captured palm image. If a match is found, an activation event for the palm-scanning service is triggered, and the user provides the invoice to be verified to the palm-scanning device by invoking the palm-scanning service. The palm-scanning device can then process the verification of the invoice.

[0061] In one embodiment, such as Figure 3 As shown, a palm brushing processing method is provided, which is applied to... Figure 1 Taking a user terminal as an example, the explanation includes the following steps:

[0062] Step S302: If a palm-scanning device is configured in the target location provided by the target object, in response to the palm-scanning service registration event triggered by the user for the target object, the user's palm image is collected.

[0063] In this context, the target object refers to another object besides the user during the swipe payment process; the target location refers to the location provided by the target object. For example, in the swipe payment scenario, the target object can be a merchant, and the location provided by the target object can be an offline store; in the swipe check-in scenario, the target object can be the social organization to which the user belongs, and the location provided by the target object can be the office space of that social organization; in the ticket verification scenario, the target object can be the ticket provider, and the target location provided by the target object can be a business location such as a cinema or amusement park.

[0064] Specifically, a user can trigger a palm-scanning service registration event for a target object through a user terminal. The user terminal can install a client for the palm-scanning service, and the user can trigger the palm-scanning service registration event for the target object through this client. In response to the palm-scanning service registration event, the user terminal can invoke an image acquisition device to capture an image of the user's palm.

[0065] Optionally, users can access the registration configuration page by clicking the swipe service client and search for the target object's information. If the target object's information exists on the registration configuration page, it indicates that a swipe device is configured in the target location provided by the target object. In this case, the user can trigger a swipe service registration event for the target object. In one specific implementation, the registration configuration page can be configured with a confirmation control, allowing the user to select the target object and click the confirmation control to trigger a swipe service registration event for that target object. In another specific implementation, users can also trigger a swipe service registration event for the target object by clicking or long-pressing the target object's information.

[0066] Optionally, users can collect object information of the target object by calling the information collection function of the swipe service client. Based on this object information, the user terminal can query whether the target location provided by the target object is equipped with a swipe device. If it is determined that the target location provided by the target object is equipped with a swipe device, a swipe service registration event for the target object will be triggered.

[0067] In a specific implementation, such as Figure 4 As shown, if the user terminal determines that a palm-scanning device is configured at the target location provided by the target object, it can display a palm-scanning service registration page 401 to prompt the user with specific service activation steps. These steps may include "recording your palm on your mobile phone" and "sensing the recorded palm at an offline palm-scanning device within 24 hours." If the user confirms that they have read the palm-scanning service agreement and clicks the "record palm" control, a palm-scanning service registration event for the target object is triggered, and a palm-scanning page 402 is displayed. Furthermore, during the palm image acquisition process, the user can be guided to perform gesture changes according to prompts to ensure the validity of the recorded palm image. Gestures may include clenching a fist, opening the palm, etc. For example, as shown... Figure 4 As shown, the user terminal can display gesture guidance information 4021 on the palm input page 402 to guide the user to input the corresponding gesture. If the user's gesture matches the gesture guidance information 4021, the user will be further prompted to input their palm, and the user's palm image will be captured.

[0068] Step S304: Establish a near-field communication connection between the target location and the palm-swiping device.

[0069] Near-field communication (NFC) is a short-range wireless communication technology, which can specifically include Bluetooth, Zigbee, or Radio Frequency Identification (RFID). Specifically, when both the user terminal and the swipe device have NFC services enabled and are located in the same target area, either one can sense the other's presence. Therefore, either the user terminal or the swipe device can initiate a NFC connection request to the other, and a NFC connection is established if the other agrees. In other words, the user terminal can initiate a NFC connection request to the swipe device, or the swipe device can initiate a NFC connection request to the user terminal.

[0070] In one embodiment, establishing a near-field communication connection between a target location and a palm-swiping device includes: when near-field communication services are enabled, obtaining a connection request sent by a device to be connected configured at the target location; and establishing a near-field communication connection with the palm-swiping device when the object information matches the target object and the type information indicates that the device to be connected is a palm-swiping device.

[0071] The connection request includes information about the type of the device to be connected and the object information of the object to which the device belongs. Specifically, when a user triggers a swipe service registration event for a target object, the swipe service server can send the user's terminal identifier to the swipe device owned by the target object. Thus, the swipe device can detect the user terminal when the user terminal has enabled near-field communication (NFC) service and proactively initiate a connection request to the user terminal.

[0072] In practical applications, for the same near-field communication (NFC) service, since the target location may not have a unique set of devices to be connected, multiple devices may initiate connection requests to the user terminal. In this case, the user terminal can extract the type information of the device to be connected and the object information of the object to which the device belongs, carried in the connection request. If the object information matches the target object and the type information indicates that the device to be connected is a palm-swipe device, a NFC connection can be established with that device. This device to be connected is the palm-swipe device corresponding to the target object.

[0073] In one specific implementation, the near-field communication connection is a Bluetooth connection. When the user terminal has Bluetooth enabled, the swipe device will proactively initiate a Bluetooth connection request with that user terminal. Since secure data transmission and applications require authentication from both ends, the two-end Bluetooth communication needs to ensure both technical availability and data security. Optionally, a Bluetooth adapter can be used to enable Bluetooth and ensure the device is discoverable. During pairing, a pairing code or PIN (Personal Identification Number) can be used to ensure that only authorized devices can connect, and the Bluetooth Device's create Bond method is used for device pairing.

[0074] In the above embodiments, the connection request is initiated by the swipe device, which can avoid multiple user terminals interacting with the swipe device at the same time, thereby reducing the response time of the swipe device and further improving the device response speed.

[0075] In one specific embodiment, establishing a near-field communication connection with the swiping device includes: initiating a session key negotiation request to the swiping device; and, if a session key is determined based on the session key negotiation request, establishing a near-field communication connection with the swiping device.

[0076] The session key is used to encrypt and decrypt data transmitted via the near-field communication (NFC) connection. Encryption and decryption include encryption and decryption processes. The session key includes an encryption key and a decryption key. During NFC communication, the data sender uses the encryption key to encrypt the original data, obtaining encrypted data, and then transmits this encrypted data to the data receiver via the NFC connection. The data receiver uses the decryption key to decrypt the received encrypted data, restoring the original data.

[0077] Specifically, the user terminal can initiate a session key negotiation request to the swipe device. This request may carry a session key or a random number used to generate the session key. The swipe device can then respond to this request by providing an acknowledgment of the session key, or by providing a session key determined based on the random number. Once the session key is agreed upon by both parties, a near-field communication (NFC) connection is established between the user terminal and the swipe device. In a specific implementation, during the session key negotiation process and subsequent data transmission, SSL / TLS protocols can be used to ensure data encryption and authentication during communication. Alternatively, secure communication protocols such as OAuth and OpenID Connect can be selected to ensure communication security.

[0078] In the above embodiments, by negotiating a session key, which is used to encrypt the subsequently transmitted data, the security of communication can be effectively improved.

[0079] Step S306: When the user triggers a palm-scanning confirmation operation through the palm-scanning device, the palm data collected by the palm-scanning device for the user is obtained through near-field communication connection.

[0080] Here, palm data refers to palm image data collected by the palm-scanning device from the user's palm, which includes at least visible light palm data. In a specific implementation, palm data refers to palm streaming media data. Streaming media refers to a technology and process that compresses a series of multimedia data, transmits it in segments over the internet, and streams audio and video in real time for viewing. This technology allows data packets to be sent like a flowing stream, so users do not need to download the entire media file before playback. In this application, palm streaming media data refers to streaming media data collected by the palm-scanning device from the user's palm. In practical applications, user terminals are usually equipped with visible light image acquisition devices, while palm-scanning devices, as dedicated devices, are usually equipped with both visible light and infrared image acquisition devices, capable of simultaneously acquiring visible light and infrared images of the palm.

[0081] Specifically, users can place their palm on the palm-scanning area of ​​the device to trigger a confirmation operation. The device then collects palm data under both infrared and visible light conditions, and uses this data to perform a liveness detection. If the user meets the liveness criteria, the device transmits the visible light palm data to the user's terminal via near-field communication (NFC). Thus, the user's terminal can access the palm data collected by the device through NFC.

[0082] In step S308, if the palm data matches the palm image, an activation event for the palm-scanning service is triggered, and the palm-scanning process is performed through the palm-scanning service.

[0083] Palm scan processing refers to the data processing performed after identity authentication is completed through palm image recognition. It's understandable that the specific content of palm scan processing varies depending on the application scenario. For example, in a palm scan payment scenario, it involves resource transfer processing, used to transfer resources from the user's resource account to the merchant; in a palm scan check-in scenario, it involves check-in data processing, used to record the user's check-in time information; and in a ticket verification scenario, it involves the verification processing of tickets.

[0084] Specifically, the user terminal can match the received palm data with the palm image, and if the two match, it can determine that the user has completed identity authentication, trigger the activation event for the palm swiping service, and perform palm swiping processing through the palm swiping service.

[0085] Optionally, taking the palm-scanning check-in scenario as an example, the user terminal can trigger an activation event for the palm-scanning service when the palm data matches the palm image, and send a check-in record request to the palm-scanning device by calling the palm-scanning service function. Thus, the server can respond to the check-in record request and record the collection time of the palm data as the user's check-in time.

[0086] Optionally, taking the ticket verification scenario as an example, the user terminal can trigger an activation event for the palm-scanning service when the palm data matches the palm image, and send the ticket to be verified to the palm-scanning device by calling the palm-scanning service function, so that the palm-scanning device can perform verification processing on the ticket.

[0087] There is no single way to match palm data with palm images. For example, a user terminal can extract palmprint features from multiple image frames included in the palm data, further fuse them to obtain the user's palmprint features, and then perform similarity matching between these palmprint features and those extracted from the palm image to determine the matching result. Alternatively, the user terminal can perform pose recognition on multiple image frames included in the palm data, determine the target image frame with the highest pose similarity to the palm image, and then perform palmprint feature similarity matching between the target image frame and the palm image to determine the matching result.

[0088] The aforementioned palm-scanning method, when a palm-scanning device is configured at the target location provided by the target object, responds to a palm-scanning service registration event triggered by the user for the target object by acquiring the user's palm image; establishing a near-field communication connection with the palm-scanning device at the target location; and, when the user triggers a palm-scanning confirmation operation through the palm-scanning device, obtaining the palm data collected by the palm-scanning device for the user through the near-field communication connection. If the palm data matches the palm image, an activation event for the palm-scanning service is triggered, and resource transfer is performed through the palm-scanning service. The palm data is sent by the palm-scanning device after confirming that the user meets the liveness condition. Using this scheme, the registration, activation, and use of the palm-scanning service can be completed with only one acquisition of palm data. This means that the palm-scanning process involves only three interactions with the palm-scanning device: establishing a near-field communication connection, obtaining palm data from the palm-scanning device, and performing palm-scanning processing when activated. This significantly reduces the number of interactions with the palm-scanning device and improves response speed.

[0089] In one embodiment, performing a swipe-to-swipe process via a swipe-to-swipe service includes: invoking the swipe-to-swipe service to generate a resource transfer credential, and sending the resource transfer credential to the swipe-to-swipe device via a near-field communication connection; and completing the swipe-to-swipe process upon receiving verification feedback from the swipe-to-swipe device regarding the resource transfer credential.

[0090] The resource transfer credential can be a QR code, barcode, or digital code. In one specific implementation, the resource transfer credential is the user's payment code. Specifically, in the swipe-to-pay scenario, after activating the swipe-to-pay service, the user terminal can generate a resource transfer credential by calling the swipe-to-pay service. This resource transfer credential may or may not include the amount of resources to be transferred. Optionally, the user can select a service or product, determine the amount of resources to be transferred to the merchant, and call the swipe-to-pay service to generate a resource transfer credential matching that amount. In one specific implementation, the swipe-to-pay device can collect product information of the selected product and determine the resource amount based on the product information. In another specific implementation, the user can use their terminal to scan the product information to determine the amount of resources to be transferred to the merchant, thereby further reducing the number of interactions with the swipe-to-pay device.

[0091] After receiving the resource transfer credential, the swiping device can interact with the server to complete the verification process for the credential and send verification feedback to the user terminal. In a specific implementation, such as... Figure 6 As shown, the swipe device can also provide verification feedback to the user by displaying a "Payment Successful" message. For the user terminal, receiving verification feedback indicates that the swipe processing is complete. It should be noted that verification feedback can indicate either successful or unsuccessful resource transfer. For example, if the swipe device's communication is poor, communication with the server may be blocked, resulting in unsuccessful resource transfer. In the event of unsuccessful resource transfer, the user terminal can request the resend of the resource transfer certificate. Furthermore, to ensure security, the number of certificate resends can be configured. Once the configured number of resends is reached, the resource transfer processing for the target object ends, and a failure message is sent to the user.

[0092] In the above embodiments, the swipe service is invoked to generate a resource transfer certificate, and the resource transfer certificate is sent to the swipe device via a near-field communication connection. Upon receiving the verification feedback from the swipe device for the resource transfer certificate, the swipe process is completed, thus eliminating the need for a second swipe to complete the payment. This effectively reduces the number of interactions of the swipe device during the swipe process and improves the response speed of the swipe device.

[0093] In one embodiment, the palm-swiping processing method further includes: obtaining the verification result fed back by the palm-swiping device for the resource transfer certificate; if the verification result indicates that the resource transfer was successful, deleting the palm data and disconnecting the near-field communication connection.

[0094] In practical applications, the verification result of the resource transfer certificate returned by the palm-swiping device is obtained. As mentioned earlier, the verification feedback can indicate that the resource transfer was successful or unsuccessful. If the verification result indicates that the resource transfer was unsuccessful, the user terminal can request the user to resend the resource transfer certificate. If the verification result indicates that the resource transfer was successful, the user terminal can delete the cached palm data and disconnect the near-field communication connection.

[0095] In this embodiment, when the verification result indicates successful resource transfer, deleting the palm data and disconnecting the near-field communication connection can promptly release terminal memory space, which helps improve the response speed of the user terminal and thus enhances the user experience. Simultaneously, it avoids using the same palm data for multiple palm-swiping processes, improving security.

[0096] In one embodiment, the swipe processing method further includes: collecting object information of the target object in response to an information collection operation triggered by a user targeting the target object; displaying a swipe service registration page if, based on the object information, it is determined that a swipe device is configured in the target location provided by the target object; and triggering a swipe service registration event for the target object in response to a registration operation initiated by a user on the swipe service registration page.

[0097] Object information refers to information that uniquely identifies the target object. This object information may include, for example, the target object's identifier, name, image, etc. Specifically, users can collect the target object's object information by invoking the user terminal's information collection function. Based on this object information, the user terminal can determine whether a swipe-enabled device is configured in the target location provided by the target object. If the user terminal determines that a swipe-enabled device is configured in the target location, it displays the swipe-enabled service registration page. Users can initiate a registration operation on this page, and the user terminal can respond to this registration operation by triggering a swipe-enabled service registration event for the target object.

[0098] There is no single way to determine whether a swipe-enabled device is configured in the target location provided by the target object. For example, a user terminal can obtain the relationship between the swipe-enabled device, the object to which the swipe-enabled device belongs, and the location from the server, and query whether the relationship records a swipe-enabled device that matches the object information and its own location. If the relationship records a swipe-enabled device that matches the object information and location, it means that a swipe-enabled device is configured in the target location provided by the target object. Alternatively, the user terminal can report the object information and its own location to the swipe-enabled device service server, which will then query the relationship between the swipe-enabled device, the object to which the swipe-enabled device belongs, and the location to see if a swipe-enabled device that matches the object information and location is recorded, and return the query results to the user terminal.

[0099] There is no single way to initiate a registration process. For example, the target page may display a card or control corresponding to the target object, which the user can trigger to initiate a registration process for that object. The card or control can be triggered by a single click, double click, or long press, etc. For example,... Figure 4 As shown, the palm scan service registration page 401 may include a "Record Palm" control. Users can initiate a registration operation by clicking this control, triggering a palm scan service registration event for the target object.

[0100] In the above embodiments, when it is determined from the object information that a swipe device is configured in the target location provided by the target object, a swipe service registration page is displayed, and a swipe service registration event for the target object is triggered in response to the registration operation initiated by the user on the swipe service registration page. This can avoid triggering the swipe service registration event when no swipe device is configured, which is beneficial to improving the reliability of swipe processing.

[0101] In one embodiment, the palm-swiping processing method further includes sending object information and a palm image to a server to determine the palm-swiping service status of the user corresponding to the target object.

[0102] Users can activate the palm-scanning service by object. That is, a user can activate the palm-scanning service for object A, but not for object B. Specifically, the palm-scanning service server can record the palm-scanning service status for each user corresponding to different objects. The user's terminal can then send the collected object information and palm image to the server. The server can then perform user identity matching based on the palm image, confirm the user's identity, and further query the objects for which the palm-scanning service has been activated by that user.

[0103] If the target object is included in the activated palm-scanning service, the user's palm-scanning service status for that target object is activated. If the target object is not included in the activated palm-scanning service, the user's palm-scanning service status for that target object is pending activation. When the palm-scanning service is activated, the server can send a duplicate registration notification to the user's terminal. When the palm-scanning service is pending activation and the user meets the liveness requirement, the server can send an activation command to the palm-scanning device, instructing the device to send the collected palm data to the user's terminal.

[0104] It should be noted that in some embodiments, the palm-swiping device can also send palm data to the server so that the server can query the palm-swiping service status of the user corresponding to the target object to which the palm-swiping device belongs, as represented by the palm data, and return the query results to the palm-swiping device.

[0105] In the above embodiments, the server confirms the status of the swipe service, which can prevent users from repeatedly registering for the swipe service for the same target object, and is conducive to further improving the efficiency of swipe processing.

[0106] In one embodiment, the palm-scanning method further includes: encrypting and storing the palm image in local memory; reading the encrypted data corresponding to the palm image from the local memory when palm data is obtained; and matching the palm image obtained by decrypting the encrypted data with the palm data to obtain a matching result.

[0107] In practical applications, for user terminals, there needs to be a time interval between capturing a palm image and receiving palm data. To ensure the security of the palm image, the user terminal can encrypt the palm image to obtain encrypted data and store the encrypted data in local memory. When obtaining palm data from the palm-scanning device via a near-field communication connection, the user terminal then reads the encrypted data corresponding to the palm image from local memory, decrypts the encrypted data, and reconstructs the user's palm image. Finally, the palm image is matched with the palm data to obtain the matching result. In a specific implementation, internal storage or external storage (such as an SD card) can be used to save the palm image. To ensure the security of the palm image, it is recommended to use internal storage and set appropriate file permissions. In addition, it is advisable to store the encrypted data separately from other sensitive information (such as user credentials) to reduce the risk of data leakage.

[0108] The specific encryption and decryption algorithm is not unique. It can be either a symmetric or asymmetric encryption algorithm. Optionally, the user terminal can encrypt the palm image using Java's Cipher class based on the generated AES (Advanced Encryption Standard) key. In one specific implementation, a 256-bit AES key can be generated before using the AES encryption algorithm. Specifically, Java's SecureRandom class can be used to generate random numbers and convert them into a byte array as the AES key. To improve security, the AES key can be stored in the phone's operating system's dedicated key storage space (such as the Android KeyStore system) instead of being stored directly within the application.

[0109] The method of matching the palm image with palm data is not unique. For example, the user terminal can extract palmprint features from multiple image frames included in the palm data, further fuse them to obtain the user's palmprint features, and then perform similarity matching between these palmprint features and the palmprint features extracted from the palm image to determine the matching result. Alternatively, the user terminal can perform pose recognition on multiple image frames included in the palm data, determine the target image frame with the highest pose similarity to the palm image, and then determine the matching result by performing palmprint feature similarity matching between the target image frame and the palm image.

[0110] In the above embodiments, the palm image is encrypted and stored in local memory. After the palm data is obtained, it is decrypted and further image matching is performed, which can prevent the palm image from being leaked and improve security.

[0111] In one embodiment, matching a palm image obtained by decrypting encrypted data with palm data to obtain a matching result includes: performing parameter analysis on the palm image obtained by decrypting encrypted data to determine image parameters; extracting a target image that matches the palm image from the palm data based on the image parameters; and matching the target image with the palm image to obtain a matching result.

[0112] Image parameters are a series of key attributes that describe and control image quality, display effects, and processing methods, and may include image brightness, contrast, hue, sharpness, etc. In this embodiment, image parameters may also include hand information such as hand posture and hand size.

[0113] Specifically, the user terminal can perform parameter analysis on the hand image obtained by decrypting the encrypted data to determine the image parameters. Then, based on these image parameters, the user terminal can extract a target image that matches the hand image from multiple image frames contained in the hand data. The target image is then matched with the hand image to obtain a matching result.

[0114] Optionally, the user terminal can perform parameter analysis on the hand image obtained by decrypting the encrypted data to determine the hand posture, hand size, brightness, contrast, and sharpness. It can also obtain the weights configured for each of these image parameters. Then, multiple color image frames are extracted from the hand data, and parameter analysis is performed on each color image frame to determine the corresponding hand posture, hand size, brightness, contrast, and sharpness. Next, for each color image frame, parameter matching is performed between the color image frame and the hand image to determine the parameter matching degree for each of the two for different image parameters. Finally, based on the weights of each image parameter, the parameter matching degrees are weighted and summed to determine the fit degree between the color image frame and the hand image. Thus, the target image with the highest fit degree to the hand image can be determined from all the color image frames. The method for determining the parameter matching degree is not unique. For example, it can first perform feature mapping on the image parameter values, and then calculate the parameter matching degree by calculating feature similarity, such as cosine similarity or Euclidean distance. For example, one can first calculate the parameter differences for the same image parameters, and then determine the fit degree that is inversely correlated with the parameter differences. This parameter difference can be a difference or a ratio.

[0115] In a specific implementation, the parameter categories for each image parameter can be determined. These categories include a first category that significantly impacts palmprint information extraction, and a second category that has a smaller impact. If the parameter values ​​of the first category do not meet the set conditions, valid palmprint information cannot be extracted. For example, poor image clarity or brightness may prevent the extraction of valid palmprint information; therefore, image clarity and brightness can be categorized as the first category. Conversely, different hand sizes or hand postures may allow for the extraction of valid palmprint information; therefore, hand size and hand posture can be categorized as the second category. The user terminal can first filter candidate image frames from each color image frame whose first category parameter values ​​meet the palmprint information extraction conditions. Then, based on the second category parameter values ​​of each candidate image frame, parameter matching is performed with the palm image to determine the fit between each candidate image frame and the palm image. The specific implementation method for parameter matching is described above and will not be repeated here.

[0116] In the above embodiments, based on the image parameters of the palm image, a target image that matches the palm image is extracted from the palm data, and then the target image is further matched with the palm image to obtain a matching result. This can avoid the matching result being affected by the image parameters, thereby ensuring the accuracy of the matching result.

[0117] In one embodiment, encrypting and storing a palm image in local memory includes: converting the palm image into a byte array; compressing the byte array based on compression parameters that match the available storage space size of the local memory to obtain compressed data; and encrypting and storing the compressed data in local memory.

[0118] Specifically, the user terminal can first convert the palm image into a byte array. Then, based on the available storage space in local memory, it determines compression parameters and compresses the byte array according to these parameters to obtain compressed data, reducing the data size and ensuring that local memory has the capacity to store the palm image. Finally, the compressed data is encrypted and stored in local memory. In a specific implementation, the preprocessed image data (i.e., compressed data) can be encrypted using a generated AES key and encryption algorithm, resulting in an encrypted byte array, which is then saved to local memory.

[0119] In the above embodiments, preprocessing is performed before encrypting the palm image, which can reduce the data size and save storage space.

[0120] In one embodiment, this application also provides another palm-brushing processing method, which can be applied to... Figure 1 In the palm-swiping device of this embodiment, the palm-swiping method includes the following steps:

[0121] Step S702: Establish a near-field communication connection with the user terminal in the target location provided by the target object.

[0122] In the case where the user terminal is equipped with a palm-scanning device at the target location, it collects the user's palm image in response to the palm-scanning service registration event triggered by the user for the target object.

[0123] Step S704: When the user triggers a palm confirmation operation through the palm-swiping device, the user's palm data is collected.

[0124] Step S706: If it is determined that the user meets the living condition based on the palm data, then the palm data is sent to the user terminal through a near-field communication connection.

[0125] Specifically, when the user terminal confirms that the palm data matches the palm image, it triggers an activation event for the palm-scanning service and then performs palm-scanning processing through the palm-scanning service.

[0126] The above palm-scanning method can complete the registration, activation, and use of the palm-scanning service by collecting palm data only once. This means that the palm-scanning process involves only three interactions with the palm-scanning device, including establishing a near-field communication connection, obtaining palm data from the palm-scanning device, and performing palm-scanning when activated. This significantly reduces the number of interactions with the palm-scanning device and helps improve response speed.

[0127] Based on the same inventive concept, this application also provides a palm-brushing processing system for implementing the palm-brushing processing method described above. The solution provided by this system is similar to the implementation scheme described in the above method; therefore, the specific limitations of one or more palm-brushing processing system embodiments provided below can be found in the limitations of the palm-brushing processing method described above, and will not be repeated here.

[0128] In one embodiment, this application discloses a palm-scanning processing system, which includes a user terminal and a palm-scanning device. When the palm-scanning device is configured at a target location provided by the target object, the user terminal, in response to a palm-scanning service registration event triggered by the user for the target object, acquires an image of the user's palm. A near-field communication connection is established between the user terminal and the palm-scanning device at the target location. The palm-scanning device is used to acquire the user's palm data, and if it determines that the user meets the liveness criteria based on the palm data, it sends the palm data to the user terminal via the near-field communication connection. The user terminal is also used to trigger an activation event for the palm-scanning service when the palm data matches the palm image, and to perform palm-scanning processing through the palm-scanning service.

[0129] In one embodiment, the palm-swiping system further includes a server: the palm-swiping device is also used to send palm data to the server; the server is used to determine and report the palm-swiping service status of the user corresponding to the target object based on the palm data; the palm-swiping device sends palm data to the user terminal when the palm-swiping service status is in an inactive state and the user meets the liveness condition.

[0130] In one embodiment, this application also provides a palm-swipe processing method. Taking the application of this method to a user terminal as an example, such as... Figure 8 As shown, the method may include the following steps:

[0131] Step S801: In response to the information collection operation triggered by the user for the target object, collect the object information of the target object;

[0132] Step S802: If, based on object information, it is determined that a swipe device is configured in the target location provided by the target object, the swipe service registration page is displayed.

[0133] Step S803: In response to the user's registration operation initiated on the palm scan service registration page, trigger the palm scan service registration event for the target object and collect the user's palm image;

[0134] Step S804: Convert the palm image into a byte array;

[0135] Step S805: Based on compression parameters that match the available storage space size of local memory, compress the byte array to obtain compressed data;

[0136] Step S806: Encrypt and store the compressed data in local memory;

[0137] Step S807: When near-field communication service is enabled, obtain the connection request sent by the device to be connected configured at the target location;

[0138] The connection request includes information about the type of the device to be connected, as well as the object information of the object to which the device to be connected belongs.

[0139] Step S808: If the object information matches the target object and the type information indicates that the device to be connected is a swipe device, initiate a session key negotiation request to the swipe device.

[0140] Step S809: If the session key is determined based on the session key negotiation request, a near-field communication connection is established with the palm-swiping device.

[0141] The session key is used to encrypt and decrypt data transmitted through the near-field communication connection.

[0142] Step S810: When the user triggers a palm-scanning confirmation operation through the palm-scanning device, the palm data collected by the palm-scanning device for the user is obtained through near-field communication connection.

[0143] Among them, the palm data is sent by the palm-swiping device when it confirms that the palm-swiping service status of the user corresponding to the target object is in an activated state and the user meets the liveness condition.

[0144] Step S811: If the palm data is obtained, read the encrypted data corresponding to the palm image from the local memory;

[0145] Step S812: Analyze the parameters of the palm image obtained by decrypting the encrypted data to determine the image parameters;

[0146] Step S813: Based on image parameters, extract a target image that matches the palm image from the palm data;

[0147] Step S814: If the target image matches the palm image, call the palm-swiping service to generate a resource transfer certificate, and send the resource transfer certificate to the palm-swiping device via near-field communication connection.

[0148] Step S815: Obtain the verification result returned by the swipe device for the resource transfer certificate;

[0149] In step S816, if the verification result indicates that the resource transfer was successful, delete the palm data and disconnect the near-field communication connection.

[0150] The following section uses the palm payment scenario as an example to explain in detail the palm processing method of this application.

[0151] This application primarily aims to improve the initial activation and usage experience for new users of the palm-swiping service. In practical applications, due to the high density of people at offline checkout counters during peak hours, activating the service at the counter can affect checkout efficiency. Therefore, the applicant has developed a technical solution for in-flight palm activation. Users can pre-register a color image of their palm using their mobile phones, confirming the binding relationship between their palm and the palm-swiping service client. Subsequently, when users use the palm-swiping service offline, they only need to complete a simple activation confirmation, eliminating the need for a complicated activation process.

[0152] Since only color images can be captured for recognition on mobile devices (single-factor recognition), to further ensure recognition accuracy, the currently available online base image library needs to be kept within a relatively small range. Therefore, in the application of this application, if... Figure 9 and Figure 10 As shown, after arriving at an offline merchant, users need to scan the merchant's QR code to access the "Scan Palm" service activation mini-program. The merchant's QR code may include the mini-program link, merchant ID, and other information. Subsequently, the "Scan Palm" payment service can be activated based on the merchant ID, establishing a link between the palm image and the merchant ID. When users activate the application on their offline "Scan Palm" devices, it will only recognize the image from the current merchant's database.

[0153] After the user confirms activation on their mobile device, a color background image of the user's hand will be securely and temporarily stored on the device, prompting the user to turn on Bluetooth for further activation. Bluetooth on the mobile device is disabled by default. After user confirmation, Bluetooth will be enabled, and the user will be prompted to activate and use the application offline. To ensure the security of the background image data, AES encryption can be used. Before using the AES encryption algorithm, a 256-bit key needs to be generated. A random number can be generated using Java's SecureRandom class and converted into a byte array as the AES key. To improve security, the key can be stored in the Android KeyStore system instead of directly within the application. Simultaneously, the image needs to be preprocessed before encrypting the background image data. First, the background image is read as a byte array. Then, the byte array is compressed as needed to reduce the size of the encrypted data. Finally, the preprocessed background image data is encrypted using the generated AES key and encryption algorithm. AES encryption can be implemented using Java's Cipher class. After encryption, an encrypted byte array will be obtained. The encrypted byte array is then saved to a secure storage location. In Android, internal storage or external storage (such as an SD card) can be used to save the data. To ensure data security, it is recommended to use internal storage and set appropriate file permissions. Additionally, consider storing the encrypted data separately from other sensitive information (such as user credentials) to reduce the risk of data leakage. When accessing the encrypted background image data is needed, first read the encrypted byte array from the storage location. Then, decrypt the data using the same AES key and decryption algorithm. After decryption, the original image byte array will be obtained. To ensure key security, the Android KeyStore system can be used to manage and store keys. Furthermore, when keys are no longer needed, they should be securely destroyed to prevent key leakage.

[0154] If the user confirms that Bluetooth connectivity is enabled, the store's swipe device will proactively initiate a secure Bluetooth connection with the current user's terminal. Secure data transmission and applications require authentication from both ends. Specifically, the user terminal can enable Bluetooth using a Bluetooth Adapter and ensure the device is discoverable. During pairing, a pairing code or PIN code is used to ensure only authorized devices can connect, and the `createBond` method of `BluetoothDevice` is used for device pairing. After the connection is established, BluetoothSocket is used for data transmission. At the start of communication, the user terminal and the swipe device can negotiate a session key for subsequent data encryption, using the established session key for both encryption and decryption. Specifically, SSL / TLS protocols can be used to ensure data encryption and authentication during communication, or existing secure communication protocols such as OAuth and OpenID Connect can be selected to ensure communication security.

[0155] like Figure 11 As shown, after establishing a Bluetooth connection, the user swipes their palm on the device for identification. The device uses a customized camera to capture both a color image and an infrared image of the current user. After passing the selection and liveness detection criteria, the user's palm data, along with the merchant ID linked to the device, is transmitted to the backend server for identification to determine if the user is a newly authorized user awaiting activation. Specifically, the color image can be analyzed based on the merchant ID. Figure 1 In a one-to-many comparison (during a one-to-many comparison, there is a certain probability of finding highly similar images, so the payment code is not directly returned in this step), if a match is found, the current user is confirmed as a user to be activated. During the palm recognition process, the device uses a camera to collect streaming media data of the user's current palm. After acquiring the streaming media data, the user terminal can optimize the streaming media by comprehensively evaluating a series of image parameters such as palm size, angle, image contrast, brightness, and clarity to select the best palm image. This image is then compared with palm background images in the database to further obtain the user information corresponding to that palm.

[0156] Once the palm-scanning device confirms a match between the live palm image data collected and the color background image stored on the user's terminal, the user's terminal can quickly send the corresponding payment code to the palm-scanning device via Bluetooth for payment, instead of requiring a second palm scan (i.e., repeating the palm-scanning process) as in traditional technologies. Specifically, the user's terminal performs a one-to-one comparison of the color palm image. If the similarity reaches a threshold, the user's payment code information is obtained and securely returned to the palm-scanning device via Bluetooth. The palm-scanning device then sends the code to the POS terminal for verification via HID. After transmitting the payment code information, the live palm-scanning data on the user's terminal is deleted, and the Bluetooth connection is turned off.

[0157] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0158] Based on the same inventive concept, this application also provides a palm-brushing processing device for implementing the palm-brushing processing method described above. The solution provided by this device is similar to the solution described in the above method. Therefore, the specific limitations of one or more palm-brushing processing device embodiments provided below can be found in the limitations of the palm-brushing processing method above, and will not be repeated here.

[0159] In one embodiment, such as Figure 12 As shown, a palm brushing processing device is provided, including: an image acquisition module 1202, a first communication module 1204, a palm data acquisition module 1206, and a palm brushing processing module 1208, wherein:

[0160] Image acquisition module 1202 is used to acquire images of the user's palm in response to a palm-swiping service registration event triggered by the user for the target object, when a palm-swiping device is configured in the target location provided by the target object.

[0161] The first communication module 1204 is used to establish a near-field communication connection with the palm-swiping device at the target location;

[0162] The palm data acquisition module 1206 is used to acquire palm data collected by the palm-scanning device for the user through a near-field communication connection when the user triggers a palm-scanning confirmation operation through the palm-scanning device; the palm data is sent by the palm-scanning device after confirming that the user meets the liveness condition.

[0163] The palm-scanning processing module 1208 is used to trigger an activation event for the palm-scanning service if the palm data matches the palm image, and to perform palm-scanning processing through the palm-scanning service.

[0164] In one embodiment, the swipe processing device further includes a service registration event triggering module, configured to: collect object information of the target object in response to an information collection operation triggered by a user for the target object; display a swipe service registration page if, based on the object information, it is determined that a swipe device is configured in the target location provided by the target object; and trigger a swipe service registration event for the target object in response to a registration operation initiated by a user on the swipe service registration page.

[0165] In one embodiment, the palm-swiping processing device further includes a service status determination module, used to: send object information and palm image to the server to determine the palm-swiping service status of the user corresponding to the target object; and send palm data when the palm-swiping service status is in an inactive state and the user meets the liveness condition.

[0166] In one embodiment, the palm-scanning device further includes: an encrypted storage module for encrypting and storing the palm image in local memory; a data reading module for reading the encrypted data corresponding to the palm image from local memory when the palm data is obtained; and an image matching unit for matching the palm image obtained by decrypting the encrypted data with the palm data to obtain a matching result.

[0167] In one embodiment, the image matching module is specifically used to: perform parameter analysis on the palm image obtained by decrypting the encrypted data to determine the image parameters; extract a target image that matches the palm image from the palm data based on the image parameters; and match the target image with the palm image to obtain a matching result.

[0168] In one embodiment, the encrypted storage module is specifically used to: convert a palm image into a byte array; compress the byte array based on compression parameters that match the available storage space size of the local memory to obtain compressed data; and encrypt and store the compressed data in the local memory.

[0169] In one embodiment, the swipe processing module 1208 is specifically used to: call the swipe service to generate a resource transfer certificate, and send the resource transfer certificate to the swipe device via a near-field communication connection; and complete the swipe processing upon receiving the verification feedback from the swipe device regarding the resource transfer certificate.

[0170] In one embodiment, the palm-swiping processing device further includes a data deletion module, configured to: obtain the verification result fed back by the palm-swiping device for the resource transfer certificate; and delete the palm data and disconnect the near-field communication connection if the verification result indicates that the resource transfer was successful.

[0171] In one embodiment, the first communication module 1204 includes: a connection request sending module, used to obtain a connection request sent by a device to be connected configured in the target location when near-field communication service is enabled; the connection request carries type information of the device to be connected and object information of the object to which the device to be connected belongs; and a near-field communication connection module, used to establish a near-field communication connection with the swiping device when the object information matches the target object and the type information indicates that the device to be connected is a swiping device.

[0172] In one embodiment, the near-field communication connection module is specifically used to: initiate a session key negotiation request to the swiping device; and, if a session key is determined based on the session key negotiation request, establish a near-field communication connection with the swiping device; the session key is used to encrypt and decrypt data information transmitted through the near-field communication connection.

[0173] In one embodiment, such as Figure 13 As shown, a palm-swiping processing device is provided, including: a second communication module 1302, a data acquisition module 1304, and a data transmission module 1306, wherein:

[0174] The second communication module 1302 is used to establish a near-field communication connection with the user terminal in the target location provided by the target object; when the user terminal is equipped with a palm-swiping device in the target location, it collects the user's palm image in response to the palm-swiping service registration event triggered by the user for the target object.

[0175] The data acquisition module 1304 is used to collect the user's palm data when the user triggers a palm confirmation operation through the palm-swiping device.

[0176] The data sending module 1306 is used to send palm data to the user terminal via near-field communication if it is determined that the user meets the living condition based on the palm data; and the user terminal performs palm swiping processing through the palm swiping service if it confirms that the palm data matches the palm image and triggers an activation event for the palm swiping service.

[0177] Each module in the aforementioned palm-swiping processing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0178] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 14 As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage medium. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a palm-swiping processing method. The display unit of the computer device is used to form a visually visible image. It can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0179] Those skilled in the art will understand that Figure 14 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0180] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.

[0181] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.

[0182] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0183] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0184] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0185] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0186] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method of processing a brush palm, characterized by, The method comprises: In the case that the target site provided by the target object is configured with a palm brushing device, in response to a palm brushing service registration event triggered by a user for the target object, collecting a palm image of the user; Establishing a near field communication connection between the target site and the palm brushing device; In the case that the user triggers a palm brushing confirmation operation through the palm brushing device, acquiring palm data collected by the palm brushing device for the user through the near field communication connection; the palm data is sent by the palm brushing device in the case that the user meets the living body condition; If the palm data matches the palm image, an activation event for the palm brushing service is triggered, and palm brushing processing is performed through the palm brushing service.

2. The method of claim 1, wherein, The method further comprises: In response to an information collection operation triggered by a user for a target object, collecting object information of the target object; In the case that it is determined based on the object information that the target site provided by the target object is configured with a palm brushing device, displaying a palm brushing service registration page; In response to a registration operation initiated by a user on the palm brushing service registration page, triggering a palm brushing service registration event for the target object.

3. The method of claim 2, wherein, The method further comprises: Sending the object information and the palm image to a server to determine the palm brushing service state of the user corresponding to the target object; In the case that the palm brushing service state is a to-be-activated state and the user meets the living body condition, the palm brushing device sends the palm data.

4. The method of claim 1, wherein, The method further comprises: Encrypting and storing the palm image to a local memory; In the case that the palm data is acquired, reading encrypted data corresponding to the palm image from the local memory; Matching the palm image obtained by decrypting the encrypted data with the palm data to obtain a matching result.

5. The method of claim 4, wherein, The matching of the palm image obtained by decrypting the encrypted data with the palm data to obtain a matching result comprises: Performing parameter analysis on the palm image obtained by decrypting the encrypted data to determine image parameters; Based on the image parameters, extracting a target image adapted to the palm image from the palm data; Matching the target image with the palm image to obtain a matching result.

6. The method of claim 4, wherein, The encryption and storage of the palm image to a local memory comprises: Converting the palm image into a byte array; Based on a compression parameter matched with the size of the available storage space of the local memory, compressing the byte array to obtain compressed data; Encrypting and storing the compressed data to the local memory.

7. The method of claim 1, wherein, The palm brushing processing through the palm brushing service comprises: Calling the palm brushing service to generate a resource transfer credential, and sending the resource transfer credential to the palm brushing device through the near field communication connection; In the case that the palm brushing device feeds back a verification result for the resource transfer credential is received, completing the palm brushing processing.

8. The method of claim 7, wherein, The method further comprises: Acquiring a verification result of the palm brushing device for the resource transfer credential; In the case that the verification result indicates that the resource transfer is successful, deleting the palm data and disconnecting the near field communication connection.

9. The method of claim 1, wherein, The establishing of the near field communication connection with the palm brushing device in the target site comprises: In the case of enabling the near field communication service, obtaining a connection request sent by a to-be-connected device configured by the target site; the connection request carries type information of the to-be-connected device and object information of an object to which the to-be-connected device belongs; In the case that the object information matches the target object and the type information represents that the to-be-connected device is a palm brushing device, establishing a near field communication connection with the palm brushing device.

10. The method of claim 9, wherein, The establishing of the near field communication connection with the palm brushing device comprises: Initiating a session key negotiation request to the palm brushing device; In the case of determining a session key based on the session key negotiation request, establishing a near field communication connection with the palm brushing device; the session key is used for encryption and decryption processing of data information transmitted through the near field communication connection.

11. A method of processing a brush palm, characterized by, The method comprises: In a target site provided by a target object, establishing a near field communication connection with a user terminal; in the case that the user terminal is configured with a palm brushing device in the target site, collecting a palm image of a user in response to a palm brushing service registration event triggered by the user for the target object; In the case that the user triggers a palm brushing confirmation operation through the palm brushing device, collecting palm data of the user; If it is determined based on the palm data that the user satisfies a living body condition, sending the palm data to the user terminal through the near field communication connection; in the case that the user terminal confirms that the palm data matches the palm image, triggering an activation event for the palm brushing service, and performing palm brushing processing through the palm brushing service.

12. A brush palm processing system characterized by, The system comprises a user terminal and a palm brushing device; In the case that the user terminal is configured with a palm brushing device in a target site provided by a target object, collecting a palm image of a user in response to a palm brushing service registration event triggered by the user for the target object; establishing a near field communication connection with the palm brushing device in the target site; The palm brushing device is configured to collect palm data of the user, and in the case that it is determined based on the palm data that the user satisfies a living body condition, send the palm data to the user terminal through the near field communication connection; The user terminal is further configured to trigger an activation event for the palm brushing service in the case that the palm data matches the palm image, and perform palm brushing processing through the palm brushing service.

13. The system of claim 12, wherein, The system further comprises a server: The palm brushing device is further configured to send the palm data to the server; The server is configured to determine a palm brushing service state of the user corresponding to the target object according to the palm data, and feed back the palm brushing service state to the palm brushing device; In the case that the palm brushing service state is a to-be-activated state and the user satisfies a living body condition, the palm brushing device sends the palm data to the user terminal.

14. A brush palm processing device, characterized by, The apparatus comprises: An image collection module configured to, in the case that a palm brushing device is configured in a target site provided by a target object, collect a palm image of a user in response to a palm brushing service registration event triggered by the user for the target object; The first communication module is configured to establish a near field communication connection between the target site and the palm brushing device. The palm data acquisition module is configured to, in response to the user triggering a palm brushing confirmation operation via the palm brushing device, acquire palm data collected by the palm brushing device from the user via the near field communication connection; the palm data is sent by the palm brushing device in response to the user meeting a living body condition. The palm brushing processing module is configured to, if the palm data matches the palm image, trigger an activation event for a palm brushing service, and perform palm brushing processing via the palm brushing service.

15. A brush palm processing device, characterized by, The device comprises: The second communication module is configured to establish a near field communication connection between the target site provided by the target object and the user terminal; in response to a palm brushing service registration event triggered by the user for the target object, the user terminal acquires a palm image of the user when the palm brushing device is configured in the target site; The data acquisition module is configured to, in response to the user triggering a palm brushing confirmation operation via the palm brushing device, acquire palm data of the user. The data sending module is configured to, if it is determined that the user meets a living body condition based on the palm data, send the palm data to the user terminal via the near field communication connection; the user terminal performs palm brushing processing via the palm brushing service in response to an activation event for the palm brushing service triggered in response to the palm data matching the palm image being confirmed. 16.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is configured to perform the method according to any one of claims 1-14. The processor executes the computer program to implement the steps of the method of any one of claims 1 to 11.

17. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 11.

18. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 11.