Communication method, communication device, computer equipment, computer readable storage medium and computer program product

By collecting biometric images in the payment verification device and establishing a communication connection using an instant messaging server, the problem of the single function of the payment verification device is solved, and instant communication and function expansion between devices are achieved.

CN120825473APending Publication Date: 2025-10-21TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410434710.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-11
Publication Date
2025-10-21

AI Technical Summary

Technical Problem

Existing payment verification devices have a single function, which is limited to payment verification and cannot achieve instant communication between devices of the same type.

Method used

Payment identity verification is achieved by collecting biometric images, and an instant messaging server is used to establish a communication connection between the source payment verification device and the target payment verification device, supporting audio or video communication.

Benefits of technology

It expands the functions of payment verification devices, enables instant communication between devices of the same type, and improves communication efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120825473A_ABST
    Figure CN120825473A_ABST
Patent Text Reader

Abstract

The invention provides a communication method, a communication device, computer equipment, a computer readable storage medium and a computer program product. The embodiment of the invention can be applied to scenes of cloud technology, artificial intelligence and the like, and the method comprises the following steps: in response to a received communication instruction, sending a communication request to an instant messaging server, the communication request carrying target identification information and a source communication identification, the instant messaging server sends a communication connection creation request to the target payment verification device based on the target identification information; receiving a communication connection creation result returned by the target payment verification device through the instant messaging server; when the communication connection creation result represents that the communication connection is successfully created, obtaining a communication message to be sent; and sending the communication message to the target payment verification device. According to the invention, the instant messaging function of the source payment verification device can be realized, and the functions and application scenarios of the source payment verification device are enriched.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information technology, and in particular to a communication method, a communication device, a computer equipment, a computer-readable storage medium, and a computer program product. Background Art

[0002] Payment verification devices are used to verify payment identities and complete transactions. They play a vital role in various payment systems, ensuring the security, reliability, and convenience of the payment process. Using methods such as passwords and biometrics, payment verification devices confirm user identities, ensuring that only legitimate users can make payments. This not only protects payment security and user rights, but also improves payment convenience and efficiency.

[0003] However, the functions of current payment verification devices are limited to the verification function for payment, and the application scenarios are also limited to payment scenarios. As a result, the functions and application scenarios of payment verification devices are relatively simple. Summary of the Invention

[0004] The embodiments of the present application provide a communication method, a communication device, a computer device, a computer-readable storage medium, and a computer program product, which can realize the communication function of a source payment verification device, expand the function of the source payment verification device, and enrich the application scenarios of the source payment verification device.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] An embodiment of the present application provides a communication method, which is applied to a source payment verification device. The source payment verification device can use a collected biometric image to verify the payment identity. The method includes:

[0007] In response to the received communication instruction, sending a communication request to an instant messaging server, the communication request carrying target identification information of the target payment verification device and a source communication identification of the source payment verification device, so that the instant messaging server sends a communication connection establishment request to the target payment verification device based on the target identification information;

[0008] receiving a communication connection establishment result returned by the target payment verification device via the instant messaging server;

[0009] When the communication connection creation result indicates that the communication connection is successfully created, obtaining a communication message to be sent;

[0010] The communication message is sent to the target payment verification device.

[0011] An embodiment of the present application provides a communication device, the device comprising:

[0012] a first sending module, configured to send a communication request to an instant messaging server in response to a received communication instruction, wherein the communication request carries target identification information of a target payment verification device and a source communication identification of a source payment verification device, so that the instant messaging server sends a communication connection establishment request to the target payment verification device based on the target identification information;

[0013] A first receiving module, configured to receive a communication connection establishment result returned by the target payment verification device via the instant messaging server;

[0014] A first acquisition module is configured to acquire a communication message to be sent when the communication connection creation result indicates that the communication connection is successfully established;

[0015] The second sending module is configured to send the communication message to the target payment verification device.

[0016] In some embodiments, the first sending module is further configured to:

[0017] Get the device ID list and the location ID list;

[0018] In response to the received communication instruction, determining a target device identifier from the device identifier list and determining the target device identifier as the target identifier information; or determining a target location identifier from the location identifier list and determining the target location identifier as the target identifier information;

[0019] A communication request is generated based on the target identification information and the source communication identification, and the communication request is sent to the instant messaging server.

[0020] In some embodiments, the communication device further comprises:

[0021] A second acquisition module is used to obtain the device identification of the source payment verification device;

[0022] a third obtaining module, configured to obtain, in response to the received first setting operation for the place identifier, a place identifier of the place where the source payment verification device is located;

[0023] a fourth obtaining module, configured to obtain, in response to the received second setting operation for the merchant identifier, a merchant identifier corresponding to the location where the source payment verification device is located;

[0024] a fourth sending module, configured to send the device identifier, the place identifier, and the merchant identifier to the instant messaging server, so that the instant messaging server updates a device identifier list and a place identifier list corresponding to the merchant identifier;

[0025] The third receiving module is configured to receive the updated device identification list and the updated location identification list returned by the instant messaging server.

[0026] In some embodiments, when the source communication identifier includes instant messaging account information, the communication device further includes:

[0027] A fifth acquisition module, configured to acquire instant messaging account information for instant messaging;

[0028] a fifth sending module, configured to send the instant messaging account information to the instant messaging server, so that the instant messaging server generates the source communication identifier based on the instant messaging account information;

[0029] The fourth receiving module is configured to receive the source communication identifier returned by the instant messaging server.

[0030] In some embodiments, the communication device further comprises:

[0031] A starting module, configured to start the short-range wireless communication function in response to a received short-range wireless communication function instruction;

[0032] The sixth acquisition module is used to obtain the instant messaging account information logged in on the matching device when a matching device is detected within the communication range and an authentication success message is received from the matching device, wherein the matching device is configured to allow the account information logged in on its own instant messaging application to be obtained through short-range wireless communication.

[0033] In some embodiments, the communication device further comprises:

[0034] a seventh acquisition module, configured to acquire login information in response to a received login operation for the instant messaging application;

[0035] a sixth sending module, configured to send the login information to the instant messaging server, so that the instant messaging server performs login verification on the login information and returns the login verification result to the source payment verification device;

[0036] The second determining module is configured to determine the login information as the instant messaging account information when receiving a login verification result returned by the instant messaging server indicating that the verification is successful.

[0037] In some embodiments, the communication message is at least one of an audio message, a video message, and a character message, and the communication message is displayed on a communication interface. The communication device further includes:

[0038] a fifth receiving module, configured to receive a floating display instruction for the communication interface;

[0039] A zoom-out module, configured to zoom out the communication interface based on the floating display instruction to obtain a zoomed-out communication interface;

[0040] The display module is used to suspend and display the reduced communication interface in a preset area of ​​the display module on the source payment verification device.

[0041] In some embodiments, the communication device further comprises:

[0042] an adjusting module configured to, upon receiving a size adjustment instruction for the reduced communication interface, adjust the reduced communication interface based on the size adjustment instruction to obtain an adjusted communication interface;

[0043] a moving module, configured to, upon receiving a position movement instruction for the reduced communication interface, move the reduced communication interface on the display module based on the position movement instruction;

[0044] A hiding module is used to hide the reduced communication interface based on the hiding instruction when a hiding instruction for the reduced communication interface is received, and display a hiding icon on the display module; so that when a trigger operation for the hiding icon is received, the reduced communication interface is redisplayed on the display module.

[0045] In some embodiments, the communication device further comprises:

[0046] an acquisition module, configured to acquire a biometric image during instant communication with the target payment verification device, and upload the biometric image to a payment server, so that the payment server performs payment verification processing based on the biometric image to obtain a verification result, wherein the biometric image is one of a palm print image, a fingerprint image, and a facial image;

[0047] The sixth receiving module is used to receive the verification result returned by the payment server.

[0048] In some embodiments, the communication device further comprises:

[0049] a seventh sending module, configured to send a public key for identity authentication to the target payment verification device;

[0050] a seventh receiving module, configured to receive encrypted information returned by the target payment verification device, wherein the encrypted information is obtained by the target payment verification device encrypting the verification information using the public key;

[0051] A decryption module is used to decrypt the encrypted information using a private key to obtain decrypted information, and send the decrypted information to the target payment verification device. When the decrypted information is the same as the verification information, the target payment verification device determines that the identity authentication is passed, establishes a communication connection, and obtains a communication connection creation result.

[0052] The present invention provides a communication method for an instant messaging server. The method includes:

[0053] receiving source identification information sent by a source payment verification device, the source identification information including at least one of a device identification of the source payment verification device, a location identification of a location where the source payment verification device is located, a merchant identification corresponding to the location where the source payment verification device is located, and instant messaging account information;

[0054] determining a source communication identifier of the source payment verification device based on the source identification information, and returning the source communication identifier to the source payment verification device;

[0055] In response to the received communication request, parsing the communication request to obtain target identification information of the target payment verification device and the source communication identifier;

[0056] A communication connection creation request is sent to the target payment verification device based on the target identification information, and a communication connection creation result sent by the target payment verification device is returned to the source payment verification device.

[0057] An embodiment of the present application provides a communication device, comprising:

[0058] a second receiving module, configured to receive source identification information sent by a source payment verification device, the source identification information including at least one of a device identification of the source payment verification device, a location identification of a location where the source payment verification device is located, a merchant identification corresponding to the location where the source payment verification device is located, and instant messaging account information;

[0059] a first determining module, configured to determine a source communication identifier of the source payment verification device based on the source identification information, and return the source communication identifier to the source payment verification device;

[0060] a parsing module, configured to parse the communication request in response to the received communication request to obtain target identification information of the target payment verification device and the source communication identification;

[0061] The third sending module is configured to send a communication connection establishment request to the target payment verification device based on the target identification information, and return a communication connection establishment result sent by the target payment verification device to the source payment verification device.

[0062] In some embodiments, the first determining module is further configured to:

[0063] generating the source communication identifier based on the device identifier and the location identifier; or

[0064] generating the source communication identifier based on the device identifier, the location identifier, and the merchant identifier; or

[0065] The source communication identifier is generated based on the place identifier, the merchant identifier, and the instant messaging account information.

[0066] An embodiment of the present application provides a computer device, including:

[0067] a memory for storing computer-executable instructions;

[0068] The processor is used to implement the communication method provided in the embodiment of the present application when executing the computer-executable instructions stored in the memory.

[0069] An embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions for causing a processor to execute the communication method provided in the embodiment of the present application.

[0070] An embodiment of the present application provides a computer program product, including a computer program or computer-executable instructions. When the computer program or computer-executable instructions are executed by a processor, the communication method provided in the embodiment of the present application is implemented.

[0071] The embodiments of the present application have the following beneficial effects:

[0072] In an embodiment of the present application, a source payment verification device can use a captured biometric image to verify the payment identity. The source payment verification device can receive a communication instruction and send a communication request to an instant messaging server, causing the instant messaging server to send a communication connection establishment request to a target payment verification device. The target payment verification device and the source payment verification device are of the same type, meaning that the target payment verification device can also use the captured biometric image to verify the payment identity. The source payment verification device then receives a communication connection establishment result from the target payment verification device via the instant messaging server. Finally, if the communication connection establishment result indicates a successful communication connection, it indicates that a communication connection has been successfully established between the source payment verification device and the target payment verification device. Based on this, the source payment verification device obtains a communication message to be sent and sends the communication message to the target payment verification device. This enables instant communication between the source payment verification device and the target payment verification device, which can be audio or video communication. This allows the source payment verification device to function not only as a payment identity verification device but also to enable instant communication with the target payment verification device. This not only expands the functionality and application scenarios of the source payment verification device but also improves the efficiency of instant messaging. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] Figure 1 1 is a schematic diagram of a network architecture of a communication system 100 provided in an embodiment of the present application;

[0074] Figure 2 4 is a schematic diagram of the structure of the source payment verification device 400-1 provided in an embodiment of the present application;

[0075] Figure 3 This is a schematic diagram of a first flow chart of a communication method provided in an embodiment of the present application;

[0076] Figure 4 This is a flowchart of obtaining a device identification list and a location identification list provided in an embodiment of the present application;

[0077] Figure 5 This is a schematic diagram of a process for generating a source communication identifier provided by an embodiment of the present application;

[0078] Figure 6 This is a flow chart of obtaining instant messaging account information provided by an embodiment of the present application;

[0079] Figure 7 This is a flow chart of identity authentication provided by an embodiment of the present application;

[0080] Figure 8 This is a schematic diagram of a first flow chart for issuing instructions on a communication interface provided by an embodiment of the present application;

[0081] Figure 9 This is a second flow chart for issuing instructions on a communication interface provided by an embodiment of the present application;

[0082] Figure 10 This is a schematic diagram of an implementation process of payment identity verification provided by an embodiment of the present application;

[0083] Figure 11 This is a second flow chart of the communication method provided in an embodiment of the present application;

[0084] Figure 12 This is a schematic diagram of an interaction flow of the communication method provided in an embodiment of the present application;

[0085] Figure 13 This is a schematic diagram showing the appearance of a palm brushing device provided in an embodiment of the present application;

[0086] Figure 14 This is a schematic diagram of an interactive process of audio and video communication proposed in an embodiment of the present application;

[0087] Figure 15 This is a structural diagram of the hardware framework for implementing the communication interaction process provided in an embodiment of the present application.

[0088] It should be pointed out that the above-mentioned "first" and "second" are only used to distinguish different plans, and do not represent the degree of distinction between the advantages and disadvantages of the plans or the priority in the implementation process. DETAILED DESCRIPTION

[0089] In order to make the purpose, technical solutions and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limiting this application. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0090] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0091] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0092] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program that has a predetermined function and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories) or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.

[0093] Unless otherwise defined, all technical and scientific terms used in the embodiments of the present application have the same meanings as those commonly understood by those skilled in the art. The terms used in the embodiments of the present application are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.

[0094] The relevant data collection and processing in the embodiments of this application should be strictly in accordance with the requirements of relevant national laws and regulations when applied in examples, and the informed consent or separate consent of the personal information subject should be obtained. Subsequent data use and processing should be carried out within the scope of authorization of laws and regulations and the personal information subject.

[0095] Before further explaining the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0096] 1) Palmprint recognition is a biometric technology that identifies and verifies an individual's identity by analyzing the pattern of lines on their palms. This technology leverages the unique characteristics of palm skin textures, such as dermatoglyphics, dermatoglyphic spacing, and sweat pores, for identity authentication or identification. Palmprint recognition is commonly used in security access control, identity verification, and attendance management. Because each person's palm print is unique, it offers high accuracy and security. In essence, it uses multimedia information from the palm of your hand to exchange for personal identity information.

[0097] 2) 3D camera, which is a camera device that can capture three-dimensional images or scenes. Unlike traditional two-dimensional cameras, 3D cameras can provide more realistic and rich image information because they can capture the depth information of objects, not just their surface outlines.

[0098] These cameras are typically implemented using a variety of technologies, including stereo vision, structured light, and time-of-flight. They can be used in a variety of applications, such as 3D modeling, virtual reality, augmented reality, facial recognition, gesture recognition, and motion capture. The development of 3D cameras has driven innovation in many fields, enabling people to experience the digital world in a more immersive way.

[0099] Analogous to traditional cameras, it adds a lot of living-related software and hardware, including depth cameras and infrared cameras, to ensure information security.

[0100] 3) Serial Number (SN) is a unique identifier on a product or device used to distinguish between different items. A serial number is typically a set of numbers or letters assigned by the manufacturer during the production process to uniquely identify a product. Serial numbers are used to manage inventory, clarify the production and distribution process, support product warranties, prevent loss, and identify products during after-sales service. In general, a serial number is a sequence of characters that uniquely identifies a device.

[0101] In current offline checkout scenarios, cashiers in stores primarily communicate via instant messaging applications on their mobile devices or through in-store landline phones. These methods are relatively simple and inflexible. Furthermore, without knowing the other party's instant messaging number or phone number, these communication methods are limited, resulting in low communication efficiency.

[0102] However, the disadvantage of the related technology is that the source payment verification device can only perform identity authentication, but cannot achieve instant and real-time communication between devices of the same type.

[0103] The embodiments of the present application provide a communication method, a communication device, a computer device, a computer-readable storage medium, and a computer program product, which can realize the instant and real-time communication function of the source payment verification device. The following describes an exemplary application of the computer device provided by the embodiment of the present application. The computer device provided by the embodiment of the present application can be implemented as a source payment verification device and an instant messaging server, wherein the source payment verification device refers to a biometric device, which refers to an independent biometric scanner and can be implemented as various types of terminals such as a palm-swiping device, a face-swiping device, and a fingerprint-swiping device. The following describes an exemplary application when the source payment verification device is implemented as a palm-swiping device.

[0104] See also Figure 1 , Figure 1 This is a network architecture diagram of the communication system 100 provided in an embodiment of the present application. In order to support a communication application, the source payment verification device 400-1 and the target payment verification device 400-2 are connected to the instant messaging server 200 through the network 300. The network 300 can be a wide area network or a local area network, or a combination of the two.

[0105] exist Figure 1In the figure, the source payment verification device 400-1 and the target payment verification device 400-2 are palm-swiping devices as an example for illustration. When the source payment verification device 400-1 receives the communication instruction, the source payment verification device 400-1 is used to send a communication request to the instant messaging server 200. The communication request carries the target identification information of the target payment verification device 400-2 and the source communication identification of the source payment verification device 400-1; then, the instant messaging server 200 is used to send a communication connection creation request to the target payment verification device 400-2 based on the target identification information, and receive the communication connection creation result returned by the target payment verification device 400-2; the instant messaging server 200 is also used to return the communication connection creation result to the source payment verification device 400-1, which is equivalent to the source payment verification device 400-1 being used to receive the communication connection creation result returned by the target payment verification device 400-2 via the instant messaging server 200; finally, when the communication connection creation result indicates that the communication connection is successfully created, the source payment verification device 400-1 is used to obtain the communication message to be sent, and send the communication message to the target payment verification device 400-2.

[0106] In an embodiment of the present application, a source payment verification device can use a captured palm print image to verify the payment identity. The source payment verification device can receive a communication instruction and send a communication request to an instant messaging server, causing the instant messaging server to send a communication connection establishment request to a target payment verification device. The target payment verification device and the source payment verification device are of the same type, meaning that the target payment verification device can also use the captured palm print image to verify the payment identity. The source payment verification device then receives a communication connection establishment result from the target payment verification device via the instant messaging server. Finally, if the communication connection establishment result indicates a successful communication connection, the communication connection between the source payment verification device and the target payment verification device has been successfully established. Based on this, the source payment verification device obtains a communication message to be sent and sends the communication message to the target payment verification device. This enables instant communication between the source payment verification device and the target payment verification device, which can be audio or video communication. This allows the source payment verification device to function not only as a payment identity verification device but also to enable instant communication with the target payment verification device. This not only expands the functionality and application scenarios of the source payment verification device but also improves the efficiency of instant messaging.

[0107] In some embodiments, the instant messaging server 200 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. The palm-swiping device and the instant messaging server can be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.

[0108] Artificial Intelligence (AI) refers to the theories, methods, techniques, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, to perceive the environment, acquire knowledge, and use that knowledge to achieve optimal results. In other words, AI is a comprehensive technology within computer science that seeks to understand the essence of intelligence and produce new intelligent machines that can respond in a manner similar to human intelligence. AI also studies the design principles and implementation methods of various intelligent machines, enabling them to possess the capabilities of perception, reasoning, and decision-making.

[0109] Artificial intelligence technology is a comprehensive discipline that covers a wide range of fields, including both hardware-level and software-level technologies. Basic artificial intelligence technologies generally include sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, pre-trained model technology, operation / interaction systems, mechatronics, etc. Among them, the pre-trained model is also called a large model or a basic model. After fine-tuning, it can be widely used in downstream tasks in various major directions of artificial intelligence. Artificial intelligence software technology mainly includes computer vision technology, speech processing technology, natural language processing technology, and machine learning / deep learning. The embodiments of this application relate to computer vision technology (CV) in artificial intelligence.

[0110] Computer vision is the science of making machines "see." Specifically, it refers to machine vision, which uses cameras and computers to replace the human eye in identifying and measuring objects, and then further processes the images to create images more suitable for human observation or transmission to instruments. As a scientific discipline, computer vision studies related theories and technologies, aiming to build artificial intelligence systems that can extract information from images or multidimensional data. Large model technology has brought significant changes to the development of computer vision technology. Pre-trained models in the field of vision, such as the Swin Transformer, ViT, V-MOE, and MAE, can be fine-tuned to quickly and widely apply to specific downstream tasks. Computer vision technologies generally include image processing, image recognition, image semantic understanding, image retrieval, optical character recognition (OCR), video processing, video semantic understanding, video content / action recognition, 3D object reconstruction, 3D technology, virtual reality, augmented reality, simultaneous localization and mapping, and other technologies. Common biometric recognition technologies include facial recognition, fingerprint recognition, and palm print recognition.

[0111] See also Figure 2 , Figure 2 This is a schematic diagram of the structure of the source payment verification device 400-1 provided in an embodiment of the present application. Figure 2 The source payment verification device 400-1 shown includes: at least one processor 410, a memory 450, at least one network interface 420, and a user interface 430. The various components in the source payment verification device 400-1 are coupled together via a bus system 440. It is understood that the bus system 440 is used to achieve connection and communication between these components. In addition to including a data bus, the bus system 440 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, the bus system 440 is not described in detail. Figure 2 Various buses are labeled as bus system 440 .

[0112] The processor 410 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0113] The user interface 430 includes one or more output devices 431 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.

[0114] The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard drives, optical drives, etc. The memory 450 may optionally include one or more storage devices that are physically remote from the processor 410.

[0115] The memory 450 includes volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be read-only memory (ROM), and the volatile memory may be random access memory (RAM). The memory 450 described in the embodiments of the present application is intended to include any suitable type of memory.

[0116] In some embodiments, the memory 450 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplified below.

[0117] Operating system 451, including system programs for processing various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, and driver layer, which are used to implement various basic services and process hardware-based tasks;

[0118] A network communication module 452 is used to reach other electronic devices via one or more (wired or wireless) network interfaces 420. Exemplary network interfaces 420 include Bluetooth, Wi-Fi, and Universal Serial Bus (USB);

[0119] a presentation module 453 for enabling presentation of information via one or more output devices 431 (e.g., a display screen, a speaker, etc.) associated with the user interface 430 (e.g., a user interface for operating peripheral devices and displaying content and information);

[0120] The input processing module 454 is configured to detect one or more user inputs or interactions from one of the one or more input devices 432 and to translate the detected inputs or interactions.

[0121] In some embodiments, the apparatus provided in the embodiments of the present application may be implemented in software. Figure 2The communication device 455 stored in the memory 450 is shown. This device can be software in the form of a program or plug-in, and includes the following software modules: a first sending module 4551, a first receiving module 4552, a first obtaining module 4553, and a second sending module 4554. These modules are logical and can be arbitrarily combined or further separated according to the functions implemented. The functions of each module will be described below.

[0122] In other embodiments, the apparatus provided in the embodiments of the present application may be implemented in hardware. As an example, the apparatus provided in the embodiments of the present application may be a processor in the form of a hardware decoding processor, which is programmed to execute the communication method provided in the embodiments of the present application. For example, the processor in the form of a hardware decoding processor may be one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.

[0123] In some embodiments, the source payment verification device or instant messaging server can implement the communication method provided in the embodiments of the present application by running various computer executable instructions or computer programs. For example, computer executable instructions can be microprogram-level commands, machine instructions or software instructions. The computer program can be a native program or software module in the operating system; it can be a native application (APP), that is, a program that needs to be installed in the operating system to run, such as a payment verification APP; it can also be a small program that can be embedded in any APP, that is, a program that can be run only by downloading it to a browser environment. In short, the above-mentioned computer executable instructions can be instructions in any form, and the above-mentioned computer program can be an application, module or plug-in in any form.

[0124] The communication method provided in the embodiment of the present application will be explained in combination with the exemplary application and implementation of the source payment verification device provided in the embodiment of the present application.

[0125] The following describes the communication method provided by the embodiment of the present application. As mentioned above, the computer device that implements the communication method of the embodiment of the present application can be a source payment verification device. Therefore, the execution entity of each step will not be repeated below.

[0126] It should be noted that in the examples of the communication method below, the source payment verification device is described as a palmprint verification device. Based on their understanding of the following, those skilled in the art can apply the communication method provided in the embodiments of the present application to communications with payment verification devices including other types of biometric features.

[0127] See also Figure 3 , Figure 3 This is a first flow chart of the communication method provided by the embodiment of the present application, which is applied to a source payment verification device, which refers to a device that can use the collected biometric image to realize payment identity verification. Figure 3 The steps shown illustrate the communication method provided in the embodiment of the present application. Figure 3 The execution subject is the source payment verification device. That is, the communication method is applied to the source payment verification device, which can use the collected biometric image to verify the payment identity. The source payment verification device has voice call (Voice over Internet Protocol, VoIP) capability. Exemplarily, the source payment verification device can be a palm scan device, a face scan device, or a fingerprint scan device.

[0128] In step S101 , in response to the received communication instruction, a communication request is sent to the instant messaging server, so that the instant messaging server sends a communication connection establishment request to the target payment verification device based on the target identification information.

[0129] In this embodiment of the present application, the communication request carries the target identification information of the target payment verification device and the source communication identification of the source payment verification device.

[0130] In some embodiments, the target identification information may be the device identification of the target payment verification device, for example, 123456; the target identification information may also be the location identification of the location where the target payment verification device is located, for example, Branch 66. The source communication identification refers to the identification of the source payment verification device during real-time communication. The source communication identification is generated and assigned by the instant messaging server, and different source payment verification devices have unique and different source communication identifications.

[0131] In some embodiments, the target payment verification device may be a payment verification device, and the corresponding target identification information is the device identification of the payment verification device. In this case, the communication request is used to request instant communication between the source payment verification device and the target payment verification device.

[0132] In some embodiments, the target payment verification device may also be multiple payment verification devices. The multiple payment verification devices may be multiple payment verification devices under the same merchant. The multiple payment verification devices may also be all payment verification devices under the same merchant.

[0133] In some embodiments, when the target payment verification device is multiple payment verification devices under the same merchant, the corresponding target identification information is the device identification of the multiple payment verification devices, or the corresponding target identification information is a group identification representing the device identification of the multiple payment verification devices. In this case, the communication request is used to request instant communication between the source payment verification device and the multiple payment verification devices, that is, the source payment verification device initiates a group instant communication.

[0134] In some embodiments, when the target payment verification device is all payment verification devices under the same merchant, the corresponding target identification information is the device identification of all payment verification devices under the merchant, or the corresponding target identification information is a group identification representing the device identification of all payment verification devices under the merchant. Exemplarily, the group identification can be a merchant identification. In this case, the communication request is used to request instant communication between the source payment verification device and the devices of all payment verification devices under the merchant, that is, the source payment verification device initiates a group instant communication. In an embodiment of the present application, instant communication includes audio or video communication, then the source payment verification device can initiate group audio or video communication.

[0135] In some embodiments, when the source payment verification device initiates a group audio or video call, the communication instruction may be triggered by pressing a physical button, touching a virtual button, or by a preset gesture, audio, or posture. For example, the preset audio instruction may be "Please initiate a group video call," and the preset posture may be opening your mouth wide, turning your head to the left, etc.

[0136] In some embodiments, the communication instruction may be an instruction acting on a device identification list or a place identification list, wherein the communication instruction may be in the form of voice, touch, or gesture. Based on this, before executing the above step S101, it is also necessary to obtain the device identification list and the place identification list. In some embodiments, the method for obtaining the device identification list and the place identification list can be found in Figure 4 , including the following steps S001A to S005A to achieve, which are described in detail below.

[0137] In step S001A, the device identification of the source payment verification device is obtained.

[0138] In some embodiments, the source payment verification device is provided with its own device identification when it leaves the factory, which may be a device serial number. The device identification is stored in its own storage module, and the device identification of the source payment verification device can be obtained through a device identification acquisition instruction.

[0139] In step S002A, in response to the received first setting operation for the location identifier, the location identifier of the location where the source payment verification device is located is obtained.

[0140] In some embodiments, when the source payment verification device is installed at a location (e.g., a store), a location identifier of the location can be received through a first setup operation, where the location identifier is input into the source payment verification device. Exemplarily, the first setup operation can be performed in the form of a touch, voice, or gesture.

[0141] In step S003A, in response to the received second setting operation for the merchant identifier, the merchant identifier corresponding to the location where the source payment verification device is located is obtained.

[0142] In this embodiment of the present application, since each location corresponds to a merchant, when the source payment verification device is installed at a location, it is equivalent to installing the source payment verification device at the merchant's business premises. This second setting operation is similar to the first setting operation described above, except that the first setting operation sets the location identifier, while the second setting operation here sets the merchant identifier.

[0143] In some embodiments, the merchant identifier can be represented by characters, for example, the merchant identifier can be AAA, BCD, etc. AAA represents the merchant identifier of the skin care merchant 1, and BCD represents the merchant identifier of the gourmet merchant 1.

[0144] In some embodiments, a merchant may refer to a chain merchant, that is, the merchant has multiple stores, that is, one merchant has multiple locations. For example, skin care merchant 1 may have 20 locations, that is, one merchant identifier AAA may have 20 location identifiers.

[0145] In step S004A, the device identification, the place identification and the merchant identification are sent to the instant messaging server, so that the instant messaging server updates the device identification list and the place identification list corresponding to the merchant identification.

[0146] In an embodiment of the present application, the source payment verification device sends the device identification, location identification and merchant identification to the instant messaging server through the network.

[0147] In some embodiments, the instant messaging server stores a list of devices corresponding to the same merchant identifier and a list of venues corresponding to the same merchant identifier. Upon receiving the device identifier, venue identifier, and merchant identifier of the source payment verification device, the instant messaging server determines its own stored list of device identifiers and venue identifiers based on the merchant identifier. The instant messaging server then adds the device identifier of the source payment verification device to the device identifier list, resulting in an updated device identifier list; similarly, it also adds the venue identifier of the source payment verification device to the venue identifier list, resulting in an updated venue identifier list.

[0148] In some embodiments, when the device identification list and location identification list corresponding to the merchant identification do not exist in the instant messaging server, an initial device identification list and initial location identification list corresponding to the merchant identification are created. Based on the initial device identification list and initial location identification list, the device identification and location identification of the source payment verification device are added to the initial device identification list and initial location identification list, thereby obtaining an updated device identification list and an updated location identification list. The initial device identification list and initial location identification list are empty lists.

[0149] In step S005A, the updated device identification list and the updated location identification list returned by the instant messaging server are received.

[0150] In some embodiments, when the device list and venue list in the instant messaging server are updated, the updated device identification list and venue identification list are sent to the source payment verification device. In other words, the source payment verification device receives the updated device identification list and venue identification list, and thus obtains all device identifications and venue identifications corresponding to the merchant.

[0151] In some embodiments, through the above steps S001A to S005A, the source payment verification device obtains all device identifiers and all location identifiers corresponding to the merchant, which is equivalent to obtaining the address book required for subsequent communication, thereby improving the execution efficiency of subsequent instant messaging.

[0152] In some embodiments, the source payment verification device can create a communication group based on the updated device identification list or the updated location identification list. This communication group can include some payment verification devices under the same merchant, all payment verification devices under the same merchant, or payment verification devices under different merchants. Based on this, the source payment verification device can upload group files to the communication group. The group files can be document files, image files, audio files, video files, compressed files, spreadsheet files, note files, etc. This can implement file sharing functions and improve the convenience of file acquisition, thereby enriching the functions of the source payment verification device and improving the convenience of the source payment verification device.

[0153] Based on this, in some embodiments, the above step S101 can be implemented by the following steps S1011 and S1012, which are described in detail below:

[0154] In step S1011, in response to the received communication instruction, the target device identifier is determined from the device identifier list and the target device identifier is determined as the target identifier information; or, the target place identifier is determined from the place identifier list and the target place identifier is determined as the target identifier information.

[0155] In some embodiments, the communication instruction can be an instruction that acts on a device identification list or a place identification list. For example, the communication instruction can be clicking on at least one target device identification in the device identification list to determine the at least one target device identification as the target identification information. The communication instruction can also be clicking on at least one target place identification in the place identification list to determine the at least one target place identification as the target identification information. The device identification list and the place identification list can also be a master list. In this case, the communication instruction acts on the master list to determine the target device identification and target place identification as the target identification information. In some embodiments, the communication instruction can also be a voice instruction. For example, the communication instruction can be voice commands such as "Call a video call to branch No. 66" or "Initiate a group video call to all branches."

[0156] In step S1012, a communication request is generated based on the target identification information and the source communication identification, and the communication request is sent to the instant messaging server.

[0157] In some embodiments, a communication request refers to a request from a source payment verification device to establish a communication link with a target payment verification device for subsequent communication. The communication request carries target identification information and a source communication identification. The target identification information instructs the instant messaging server to send the communication request to the target payment verification device, and the source communication identification indicates that the communication request originated from the source payment verification device. After the source payment verification device generates the communication request, it sends the communication request to the instant messaging server.

[0158] In some embodiments, when the source communication identifier includes instant messaging account information, before the above step S101, it is also necessary to obtain the instant messaging account information and receive the source communication identifier generated by the instant messaging server based on the instant messaging account information. Figure 5 Before executing the above step S101, the following steps S001B to S003B may also be executed:

[0159] In step S001B, instant messaging account information for instant messaging is obtained.

[0160] In some embodiments, the method for obtaining instant messaging account information may include: activating the short-range wireless communication function in response to a received short-range wireless communication function instruction; and obtaining the instant messaging account information logged in on the matching device upon detecting the presence of a matching device within the communication range and receiving a message indicating that the matching device has passed authentication. The matching device is configured to allow the acquisition of account information logged in on its own instant messaging application via short-range wireless communication. In actual application scenarios, the matching device may be the mobile phone of a store manager or employee.

[0161] In the embodiment of the present application, short-range wireless communication can be near field communication technology (NFC), Bluetooth, Wi-Fi Direct, etc.

[0162] In some embodiments, using NFC as an example for short-range wireless communication, the source payment verification device receives an NFC function instruction and activates its own NFC function. Upon detecting the presence of a matching device with NFC enabled within communication range and completing identity authentication with the matching device, the source payment verification device obtains the instant messaging account information logged into the matching device via NFC. The matching device is pre-configured to allow access to account information logged into its own instant messaging application via NFC.

[0163] In some embodiments, the source payment verification device and the matching device perform identity authentication, and both have a pair of keys. First, the source payment verification device sends its own public key to the matching device; then, the matching device uses the public key of the source payment verification device to encrypt a random number, and returns the encrypted random number to the source payment verification device; then, the source payment verification device uses its own private key to decrypt the encrypted random number, obtains the decryption result, and sends the decryption result to the matching device; finally, the matching device verifies the decryption result and the original random number. When the decryption result and the original random number are the same, the identity authentication is considered to be passed, and an identity authentication pass message is returned to the source payment verification device; otherwise, the identity authentication is considered to have failed, and an identity authentication failure message may also be returned to the source payment verification device.

[0164] In some embodiments, to ensure the security of communication, when the source payment verification device receives the identity authentication success message returned by the matching device, the matching device encrypts the logged-in instant messaging account information and then sends the encrypted instant messaging account information to the source payment verification device. That is, the source payment verification device obtains the encrypted instant messaging account information.

[0165] When the source payment verification device obtains instant messaging account information through the above-mentioned short-range wireless communication method, it can improve the convenience of obtaining instant messaging account information, shorten the time of obtaining instant messaging account information, and improve the efficiency of obtaining instant messaging account information, thus bringing a better user experience.

[0166] In some embodiments, see Figure 6 The above step S001B can also be implemented through the following methods 011B to 013B, which are described in detail below.

[0167] In step S011B, in response to the received login operation for the instant messaging application, login information is obtained.

[0168] In some embodiments, the login information includes account information to be verified.

[0169] In step S012B, the login information is sent to the instant messaging server, so that the instant messaging server performs login verification on the login information and returns the login verification result to the source payment verification device.

[0170] In some embodiments, the source payment verification device sends the login information to the instant messaging server. The instant messaging server verifies the login information, specifically, checks whether the login information matches the reference information in its records. If the login information matches the reference information in the instant messaging server records, a login verification result indicating a pass is obtained. If the login information does not match the reference information in the instant messaging server records, a login verification result indicating a fail is obtained. The instant messaging server then sends the login verification result to the source payment verification device. The reference information recorded in the instant messaging server is information about a registered, compliant communication account.

[0171] In step S013B, when the login verification result indicating that the verification is passed is received from the instant messaging server, the login information is determined as the instant messaging account information.

[0172] In some embodiments, when the source payment verification device receives a login verification result indicating a successful authentication, the login information is determined to be the instant messaging account information. When the source payment verification device receives a login verification result indicating a failed authentication, the process ends and the instant messaging account information is retrieved again.

[0173] Through the above steps S011B to S013B, the source payment verification device can directly obtain the login information, and upon receiving the login verification result indicating that the verification is successful, determine the login information as the instant messaging account information.

[0174] Continue to see Figure 5 , continue with step S001B above for description.

[0175] In step S002B, the instant messaging account information is sent to the instant messaging server, so that the instant messaging server generates a source communication identifier based on the instant messaging account information.

[0176] In some embodiments, to generate a source communication identifier containing instant messaging account information, the source payment verification device sends the instant messaging account information to the instant messaging server via the network. The instant messaging server may then concatenate the device identifier, location identifier, and instant messaging account information to obtain a source communication identifier containing the instant messaging account information.

[0177] In step S003B, the source communication identifier returned by the instant messaging server is received.

[0178] Through the above steps S001B to S003B, the source payment verification device can send the instant messaging account information to the instant messaging server, so that the instant messaging server generates and allocates a unique source communication identifier for the source payment verification device. Based on this, during the communication process, the source payment verification device can be identified based on the source communication identifier. At the same time, the source communication identifier also provides a basis for establishing a communication connection between the source payment verification device and the target payment verification device.

[0179] Continue to see Figure 3 , and the description continues with step S101 above.

[0180] In step S102, a communication connection establishment result returned by the target payment verification device via the instant messaging server is received.

[0181] In the embodiment of the present application, the target payment verification device first returns the communication connection creation result to the instant messaging server, and the source payment verification device receives the communication connection creation result forwarded by the instant messaging server.

[0182] In some embodiments, the communication connection creation result is used to indicate whether the communication connection between the source payment verification device and the target payment verification device is successfully established. When the communication connection between the source payment verification device and the target payment verification device is successfully established, the source payment verification device receives the communication connection creation result indicating that the communication connection is successfully established; when the communication connection between the source payment verification device and the target payment verification device fails to be established, the source payment verification device receives the communication connection creation result indicating that the communication connection fails to be established.

[0183] In some embodiments, when a communication connection is successfully established between a source payment verification device and a target payment verification device, if the target payment verification device is a single payment verification device, this indicates that audio or video communication between the two devices has been successfully established. Alternatively, if the target payment verification device is a plurality of payment verification devices, this indicates that audio or video communication within the group has been successfully established.

[0184] In some embodiments, in order to ensure the security of communication, before executing the above step S102, the source payment verification device and the target payment device need to perform identity authentication, see Figure 7 , the following steps S201 to S203 may also be performed, which are described in detail below.

[0185] In step S201 , a public key for identity authentication is sent to a target payment verification device.

[0186] In some embodiments, the source payment verification device has a pair of keys, including a public key and a private key. The public key is used for encryption, and the private key is used for decryption. The keys can be used for authentication, for example, in a public-key cryptography system, the private key is used to sign messages to prove their authenticity. Furthermore, the keys can be used to encrypt and decrypt sensitive data, protecting its confidentiality.

[0187] In some embodiments, the source payment verification device sends the public key to the target payment verification device via an instant messaging server.

[0188] In step S202, the encrypted information returned by the target payment verification device is received.

[0189] In the embodiment of the present application, the encrypted information is obtained by encrypting the verification information by the target payment verification device using the public key.

[0190] In some embodiments, the target payment verification device encrypts the verification information using the public key sent by the source payment verification device, obtains the encrypted information, and returns the encrypted information to the source payment verification device; that is, the source payment verification device receives the encrypted information returned by the target payment verification device. The verification information can be a string, for example, abcd, or 1234.

[0191] In step S203, the encrypted information is decrypted using the private key to obtain decrypted information, and the decrypted information is sent to the target payment verification device.

[0192] In the embodiment of the present application, when the decrypted information is identical to the verification information, the target payment verification device determines that the identity authentication is passed, and establishes a communication connection to obtain a communication connection creation result.

[0193] In some embodiments, when the decrypted information is the same as the verification information, the target payment verification device determines that the identity authentication is passed, and creates a communication connection based on network quality, hardware resources, bandwidth resources, etc., and obtains a communication connection creation result; when the decrypted information is different from the verification information, the target payment verification device determines that the identity authentication fails, and can also obtain a communication connection creation result indicating that the communication connection creation failed.

[0194] Through the above steps S201 to S203, before establishing the communication connection, the source payment verification device and the target payment verification device will also perform identity authentication, thereby ensuring the security and reliability of the communication.

[0195] In step S103, when the communication connection creation result indicates that the communication connection is successfully created, a communication message to be sent is obtained.

[0196] In some embodiments, the communication message is at least one of an audio message, a video message, and a character message, and the communication message is displayed on the communication interface.

[0197] In some embodiments, the communication message is obtained by the source payment verification device through its own collection module. For example, when the communication message is an audio message, the collection module is a camera and a microphone; when the communication message is audio, the collection module is a microphone.

[0198] In some embodiments, when the communication creation result indicates that the communication connection is successfully created, that is, the communication connection between the source payment verification device and the target payment verification device has been created, and the two can communicate instantly; and when the communication creation result indicates that the communication connection fails to be created, that is, the communication connection between the source payment verification device and the target payment verification device has not been completed, and the two cannot communicate.

[0199] In step S104, a communication message is sent to the target payment verification device.

[0200] In some embodiments, the source payment verification device sends a communication message to the target payment verification device based on the established communication connection.

[0201] In some embodiments, the source payment verification device may encrypt the communication message, obtain the encrypted communication message, and then send the encrypted communication message to the target payment verification device, thereby ensuring the security of the communication message during the communication process. For example, a symmetric encryption algorithm may be used for encryption and decryption. Based on this, the source payment verification device and the target payment verification device need to share a key for encryption and decryption.

[0202] In some embodiments, when the target payment verification device is a single payment verification device, the communication message is sent to the single payment verification device. When the target payment verification device is multiple payment verification devices, the communication message is sent simultaneously to a group of devices, where the group includes the source payment verification device and the target payment verification device.

[0203] Through the above steps S101 to S104, the source payment verification device can use the collected biometric image to verify the payment identity. The source payment verification device can receive the communication instruction and send a communication request to the instant messaging server, so that the instant messaging server sends a communication connection creation request to the target payment verification device, wherein the target payment verification device and the source payment verification device are of the same type of device, that is, the target payment verification device can also use the collected biometric image to verify the payment identity; then, the source payment verification device receives the communication connection creation result returned by the target payment verification device via the instant messaging server; finally, when the communication connection creation result indicates that the communication connection is successfully established, it indicates that the communication connection between the source payment verification device and the target payment verification device is successfully established. Based on this, the source payment verification device obtains the communication message to be sent and sends the communication message to the target payment verification device. Instant communication between the source payment verification device and the target payment verification device is thereby realized, and the instant communication can be audio or video communication. In this way, the source payment verification device's functions are not limited to payment identity verification; it also enables instant communication with the target payment verification device. This instant communication can be video or video communication between the two payment verification devices, or audio or video communication within a group. This not only expands the source payment verification device's functions and application scenarios, but also improves the efficiency of instant communication. Furthermore, before establishing a communication connection, the source and target payment verification devices will perform identity authentication, thereby enhancing the security and reliability of the communication process. Furthermore, the source payment verification device can also receive communication instructions based on a device identification list or a location identification list, selecting the target identification information of the target payment verification device from the device identification list or location identification list, thereby enhancing the convenience of communication. When the source communication identification includes instant messaging account information, the source payment verification device can quickly obtain the instant messaging account information through short-range wireless communication, or it can obtain the instant messaging account information from its own device, demonstrating the diversity of ways the source payment verification device can obtain instant messaging account information.

[0204] In some embodiments, after step S104 above, when the source payment verification device does not receive a response message returned by the target payment verification, if the communication message is a character or voice message, the character or voice message is stored in the target payment verification device in the form of a message. If the communication message is an audio call or a video call, the source payment verification device will also collect the message and send it to the target payment verification device. Correspondingly, when the source payment verification device detects that it has a message, it generates and outputs a play prompt message, which is used to prompt the play of the message. In this way, the message leaving function can be realized, thereby improving the intelligence level of the source payment verification device.

[0205] In some embodiments, during the communication process between the source payment verification device and the target payment verification device, that is, after the above step S104, the communication interface can be displayed in full screen on the display module of the source payment verification device, or the communication interface can be displayed in the form of a floating window on the display module of the source payment verification device. Figure 8 , Figure 8 This is a first flow chart of issuing instructions for a communication interface provided by an embodiment of the present application. The communication interface can be displayed in the form of a floating window on the display module of the source payment verification device through the following steps S301 to S303, which are described in detail below.

[0206] In step S301, a floating display instruction for a communication interface is received.

[0207] In some embodiments, the floating display instruction may be a voice message "floating display communication interface", and the floating display instruction may also be a touch operation on a floating icon, which is displayed on the communication interface.

[0208] In step S302, based on the floating display instruction, the communication interface is reduced to obtain a reduced communication interface.

[0209] In some embodiments, the communication interface is reduced to a preset multiple of the original communication interface, where the preset multiple is a positive number less than 1. For example, the preset multiple can be 0.2, 0.4, 0.5, 0.25, etc., thereby obtaining a reduced communication interface that is smaller than the original communication interface. When reducing the communication interface, all displayed content in the communication interface is reduced as a whole.

[0210] In step S303, the reduced communication interface is displayed in a floating manner in a preset area of ​​the display module on the source payment verification device.

[0211] In some embodiments, the preset area may be the upper left corner, upper right corner, lower left corner, lower right corner, or the middle of the display module, etc. That is, the communication interface only occupies a partial area of ​​the display module, but not the entire area.

[0212] Through the above steps S301 to S303, the source payment verification device has the function of displaying the communication interface in the form of a floating window on the display module.

[0213] In some embodiments, the reduced communication interface can also be resized, moved, and hidden. Figure 9 , Figure 9 This is a second flow chart for issuing instructions on a communication interface provided by an embodiment of the present application. After the above step S303, the following steps S304A to S306A may also be executed, which are described in detail below.

[0214] In step S304A, when a size adjustment instruction for the reduced communication interface is received, the reduced communication interface is adjusted based on the size adjustment instruction to obtain an adjusted communication interface.

[0215] In some embodiments, the size adjustment instruction is triggered based on a received size adjustment operation, which can be a voice operation, a touch operation, etc. Exemplarily, the size adjustment instruction can be a voice command "adjust the communication floating window to width x and height y", thereby obtaining an adjusted communication interface, where the width and height of the adjusted communication interface are x and y respectively. The size adjustment instruction can also be a touch and drag on the edge of the reduced communication interface. In this case, the touch position when the touch disappears is the edge of the adjusted communication interface. The size adjustment instruction can also be an instruction to enlarge the reduced communication interface, an instruction to display the reduced communication interface in full screen, etc. In this way, the size of the communication interface can be adjusted in real time and on demand to obtain the adjusted communication interface.

[0216] In step S305A, when a position movement instruction for the reduced communication interface is received, the reduced communication interface is moved on the display module based on the position movement instruction.

[0217] In some embodiments, the position movement instruction can be triggered by voice, touch, gesture, etc. For example, the position movement instruction can be triggered by voice, such as "Move the center of the reduced communication interface to a, b on the display module." In this case, the center of the reduced communication interface is moved from the current position to the (a, b) position on the display module. The position movement instruction can also be triggered by voice, such as "Move the reduced communication interface to the lower left corner." In this case, the reduced communication interface is moved to the lower left corner of the display module. In this way, the movement of the reduced communication interface is completed.

[0218] In step S306A, when a hiding instruction for the reduced communication interface is received, the reduced communication interface is hidden based on the hiding instruction, and a hiding icon is displayed on the display module; so that when a trigger operation for the hiding icon is received, the reduced communication interface is redisplayed on the display module.

[0219] In some embodiments, the hiding instruction can be a voice message "hide the reduced communication interface", based on which the reduced communication interface is hidden, that is, the reduced communication interface is not displayed on the display module, and a hidden icon is displayed on the display module. When a touch operation is received for the hidden icon, the hidden reduced communication interface is redisplayed on the display module, and the display position of the reduced communication interface after it is redisplayed can be the display position before it is hidden.

[0220] Through the above steps S304A to S306A, the size adjustment, movement, and hiding operations of the reduced communication interface can be achieved, achieving flexibility and diversity in the display of the reduced communication interface. There is no fixed execution order for steps S304A, S305A, and S306A. The corresponding steps are executed based on the actual command type received. That is, if the first command received is a hiding command, step S306A corresponding to the hiding command is executed first.

[0221] In some embodiments, during the instant communication between the source payment verification device and the target payment verification device, the source payment verification device can also simultaneously implement payment identity verification. Figure 10 After the above step S303, the following steps S304B and S305B may also be executed, which are described in detail below.

[0222] In step S304B, a biometric image is collected and uploaded to a payment server, so that the payment server performs payment verification processing based on the biometric image to obtain a verification result.

[0223] In the embodiment of the present application, the biological image is one of a palm print image, a fingerprint image, and a facial image.

[0224] In some embodiments, the source payment verification device includes a collection module, which may be a 3D camera. The collection module can capture a biometric image and upload the biometric image to a payment server. The payment server then extracts features from the biometric image to obtain biometric image features. The payment server also determines a verification result based on the biometric image features and stored reference image features. When the biometric image features successfully match any reference image features, a verification result indicating successful verification is obtained, and payment information is retrieved to complete payment. When the biometric image features fail to match any reference image features, a verification result indicating failed verification is obtained.

[0225] In some embodiments, the payment server and the instant messaging server can be different physical servers. In this case, different services are deployed on the different servers: the payment service is deployed on the payment server, and the instant messaging service is deployed on the instant messaging server. The payment server and the instant messaging server can also be the same physical server. When used as a payment server, the server calls the payment service; when used as an instant messaging server, the server calls the instant messaging service.

[0226] In some embodiments, the source payment verification device may have two collection modules, one collection module for collecting biometric images and the other collection module for collecting communication messages.

[0227] In step S305B, the verification result returned by the payment server is received.

[0228] In some embodiments, the source payment verification device can promptly learn about the payment status through the received verification results.

[0229] Through the above steps S304B to S305B, during the communication between the source payment verification device and the target payment verification device, the source payment verification device can still perform payment identity verification. To enhance the user experience, the communication interface can be displayed in the form of a floating window, so that the area outside the floating window in the display module is used to output prompt information during identity verification. In this way, the source payment verification device can perform multiple tasks in parallel and realize multiple functions simultaneously.

[0230] See also Figure 11 , Figure 11 This is a second flow chart of the communication method provided in the embodiment of the present application, which is applied to an instant messaging server. Figure 11 The steps shown illustrate the communication method provided in the embodiment of the present application. Figure 11 The execution subject is the instant messaging server.

[0231] In step S1101, source identification information sent by a source payment verification device is received.

[0232] In an embodiment of the present application, the source identification information includes at least one of a device identification of a source payment verification device, a location identification of a location where the source payment verification device is located, a merchant identification corresponding to the location where the source payment verification device is located, and instant messaging account information.

[0233] In some embodiments, the above step S1101 corresponds to the above step S004A.

[0234] In step S1102, the source communication identifier of the source payment verification device is determined based on the source identification information, and the source communication identifier is returned to the source payment verification device.

[0235] In some embodiments, the above step S1102 can be implemented in the following three ways:

[0236] Method 1: Generate a source communication identifier based on the device identifier and the location identifier.

[0237] In some embodiments, the device identification and the location identification may be concatenated to generate unique communication identification information corresponding to the device.

[0238] In some embodiments, the device identifier and the location identifier can be concatenated first, and a preset suffix can be added to the concatenated information to generate unique communication identification information corresponding to the device, wherein the preset suffix can be TX, JSTX, etc., and the preset suffix can intuitively reflect that the identification information is communication identification information.

[0239] Method 2: Generate a source communication ID based on the device ID, location ID, and merchant ID.

[0240] In some embodiments, the device identification, the location identification, and the place identification may be concatenated to generate unique communication identification information corresponding to the device.

[0241] In some embodiments, the device identifier, the location identifier, and the place identifier may be concatenated first, and a preset suffix may be added to the concatenated information to generate unique communication identification information corresponding to the device.

[0242] Method three: Generate a source communication identifier based on the location identifier, merchant identifier and instant messaging account information.

[0243] In some embodiments, the location identifier, merchant identifier, and instant messaging account information may be concatenated to generate unique communication identification information corresponding to the device.

[0244] In some embodiments, the location identifier, merchant identifier, and instant messaging account information may be concatenated first, and a preset suffix may be added to the concatenated information to generate unique communication identification information corresponding to the device.

[0245] When generating communication identifications through the above three methods, in order to ensure the orderliness of communication, it is necessary to follow that different source payment verification devices have different and unique communication identification information.

[0246] In step S1103, in response to the received communication request, the communication request is parsed to obtain the target identification information and the source communication identification of the target payment verification device.

[0247] In some embodiments, the instant messaging server parses the received communication request to obtain the target identification information and the source communication identification carried in the communication request.

[0248] In step S1104, a communication connection creation request is sent to the target payment verification device based on the target identification information, and the communication connection creation result sent by the target payment verification device is returned to the source payment verification device.

[0249] In some embodiments, the instant messaging server has already established a communication connection with a target payment verification device. Based on this connection, the instant messaging server determines the target payment verification device based on the target identification information and sends a communication connection establishment request to the target payment verification device. The communication connection establishment request is a request to establish a communication connection between the source payment verification device and the target payment verification device. The instant messaging server then receives a communication connection establishment result from the target payment verification device and returns the communication connection establishment result to the source payment verification device.

[0250] Through the above steps S1101 to S1104, on the one hand, the instant messaging server can generate a source communication identifier of the source payment verification device; on the other hand, the instant messaging server can also send a communication connection creation request to the target payment verification device, and return a communication connection creation result to the source payment verification device, serving as a bridge for information interaction between the source payment verification device and the target payment verification device.

[0251] See also Figure 12 , Figure 12 This is an interactive flow diagram of the communication method provided by the embodiment of the present application, which is applied to the source payment verification device, the target payment verification device, the instant messaging server and the payment server. Figure 12 The steps shown illustrate the communication method provided in the embodiment of the present application.

[0252] In step S1201 , the source payment verification device obtains the device identification of the source payment verification device.

[0253] In some embodiments, step S1201 corresponds to the above-mentioned step S001A, and thus, the implementation process of step S1201 may refer to the implementation process of the above-mentioned step S001A.

[0254] In step S1202, the source payment verification device obtains the location identifier of the location where the source payment verification device is located in response to the received first setting operation for the location identifier; and obtains the merchant identifier corresponding to the location where the source payment verification device is located in response to the received second setting operation for the merchant identifier.

[0255] In some embodiments, step S1202 corresponds to the above-mentioned step S002A and step S003A. Therefore, the implementation process of step S1202 can refer to the implementation process of the above-mentioned step S002A and step S003A.

[0256] In step S1203, the source payment verification device sends the device identification, location identification and merchant identification to the instant messaging server.

[0257] In some embodiments, step S1203 corresponds to the above-mentioned step S004A, and thus, the implementation process of step S1203 may refer to the implementation process of the above-mentioned step S004A.

[0258] In step S1204, the instant messaging server updates the device identification list and the place identification list corresponding to the merchant identification based on the device identification, the place identification and the merchant identification, and obtains an updated device identification list and an updated place identification list.

[0259] In some embodiments, step S1204 corresponds to the above-mentioned step S004A, and thus, the implementation process of step S1204 may refer to the implementation process of the above-mentioned step S004A.

[0260] In step S1205, the instant messaging server returns the updated device identification list and the updated location identification list to the source payment verification device.

[0261] In some embodiments, step S1205 corresponds to the above-mentioned step S005A, and thus, the implementation process of step S1205 may refer to the implementation process of the above-mentioned step S005A.

[0262] In step S1206, the source payment verification device obtains instant messaging account information used for instant messaging.

[0263] In some embodiments, step S1206 corresponds to the above-mentioned step S001B, and thus, the implementation process of step S1206 may refer to the implementation process of the above-mentioned step S001B.

[0264] In step S1207, the source payment verification device sends the instant messaging account information to the instant messaging server.

[0265] In some embodiments, step S1207 corresponds to the above-mentioned step S002B, and thus, the implementation process of step S1207 may refer to the implementation process of the above-mentioned step S002B.

[0266] In step S1208, the instant messaging server generates a source communication identifier based on the instant messaging account information.

[0267] In some embodiments, step S1208 corresponds to the above step S002B or the third method in the above step S1102. Therefore, the implementation process of step S1208 can refer to the implementation process of the above step S002B or the third method in the above step S1102.

[0268] In step S1209, the instant messaging server sends the source communication identifier to the source payment verification device.

[0269] In step S1210, the source payment verification device determines the target device identifier from the device identifier list in response to the received communication instruction, and determines the target device identifier as the target identifier information; or determines the target place identifier from the place identifier list, and determines the target place identifier as the target identifier information.

[0270] In some embodiments, step S1210 corresponds to the above-mentioned step S1011, and thus, the implementation process of step S1210 may refer to the implementation process of the above-mentioned step S1011.

[0271] In step S1211, the source payment verification device generates a communication request based on the target identification information and the source communication identification, and sends the communication request to the instant messaging server.

[0272] In some embodiments, step S1211 corresponds to the above-mentioned step S1012, and thus, the implementation process of step S1211 may refer to the implementation process of the above-mentioned step S1012.

[0273] In step S1212, the instant messaging server responds to the received communication request, parses the communication request, obtains the target identification information and the source communication identification; and sends a communication connection establishment request to the target payment verification device based on the target identification information.

[0274] In some embodiments, step S1212 corresponds to the above-mentioned step S1103 and step S1104, and thus, the implementation process of step S1211 may refer to the implementation process of the above-mentioned step S1103 and step S1104.

[0275] In step S1213 , the source payment verification device performs identity authentication with the target payment verification device.

[0276] In some embodiments, step S1213 corresponds to the above steps S201 to S203 , and thus, the implementation process of step S1213 may refer to the implementation process of the above steps S201 to S203 .

[0277] In step S1214, when the target payment verification device determines that the identity authentication is passed, the target payment verification device establishes a communication connection and obtains a communication connection establishment result.

[0278] In some embodiments, step S1214 corresponds to the above-mentioned step S203, and thus, the implementation process of step S1214 may refer to the implementation process of the above-mentioned step S203.

[0279] In step S1215 , the target payment verification device sends the communication connection establishment result to the instant messaging server.

[0280] In step S1216, the instant messaging server returns the communication connection creation result to the source payment verification device.

[0281] In step S1217 , when the communication connection creation result indicates that the communication connection is successfully created, the source payment verification device obtains the communication message to be sent.

[0282] In some embodiments, step S1217 corresponds to the above-mentioned step S103, and thus, the implementation process of step S1217 may refer to the implementation process of the above-mentioned step S103.

[0283] In step S1218, the source payment verification device sends a communication message to the target payment verification device.

[0284] In some embodiments, step S1218 corresponds to the above-mentioned step S104, and thus, the implementation process of step S1218 may refer to the implementation process of the above-mentioned step S104.

[0285] In step S1219, the source payment verification device receives a floating display instruction for the communication interface.

[0286] In some embodiments, step S1219 corresponds to the above-mentioned step S301, and thus, the implementation process of step S1219 may refer to the implementation process of the above-mentioned step S301.

[0287] In step S1220, the source payment verification device reduces the communication interface based on the floating display instruction to obtain a reduced communication interface; and floats and displays the reduced communication interface in a preset area of ​​the display module on the source payment verification device.

[0288] In some embodiments, step S1220 corresponds to the above-mentioned step S302 and step S303, and thus, the implementation process of step S1220 may refer to the implementation process of the above-mentioned step S302 and step S303.

[0289] In step S1221, when the source payment verification device receives an operation instruction for the reduced communication interface, it performs a corresponding operation on the reduced communication interface.

[0290] In some embodiments, the operation instruction for the reduced communication interface can be one of a size adjustment instruction, a position movement instruction, and a hiding instruction. Step S1221 corresponds to the above steps S304A to S306A. Therefore, the implementation process of step S1221 can refer to the implementation process of the above steps S304A to S306A.

[0291] In step S1222, the source payment verification device captures a biometric image.

[0292] In step S1223 , the source payment verification device uploads the biometric image to the payment server.

[0293] In step S1224, the payment server performs payment verification processing based on the biometric image and obtains a verification result.

[0294] In some embodiments, step S1224 corresponds to the above-mentioned step S304B, and thus, the implementation process of step S1224 may refer to the implementation process of the above-mentioned step S304B.

[0295] In step S1225 , the source payment verification device receives the verification result returned by the payment server.

[0296] In some embodiments, step S1225 corresponds to the above-mentioned step S305B, and thus, the implementation process of step S1225 may refer to the implementation process of the above-mentioned step S305B.

[0297] Through the above steps S1201 to S1225, on the one hand, instant communication between the source payment verification device and the target payment verification device can be realized based on the instant messaging server; on the other hand, during the process of instant communication, the source payment verification device can also verify the payment identity based on the payment server, thereby enriching the function of the source payment verification device, so that the source payment verification device can not only realize the verification of the payment identity, but also realize instant communication with the same type of devices.

[0298] The following describes an exemplary application of the embodiments of the present application in a practical application scenario.

[0299] This application embodiment proposes a technical solution for realizing audio and video communication based on NFC combined with cashier instant messaging and device serial number. Figure 13 This is a schematic diagram showing a palm-swiping device 13 provided in an embodiment of the present application, wherein the palm-swiping device 13 includes a screen 1301 and a collection device 1302. The palm-swiping device 13 corresponds to the source payment verification device in other embodiments.

[0300] To further maximize the value of the palm-swiping device screen, by leveraging the built-in VoIP capabilities of the mini-program and instant messaging ecosystem, the cashier can quickly transfer their identity to the palm-swiping device via NFC. A virtual instant messaging signal is generated using the palm-swiping device serial number, the cashier's identity information, and the store number. A group is established using the serial numbers of all devices under the merchant number. Upon receiving the merchant's preset instructions, the palm-swiping devices in the group can directly initiate cross-store audio and video communication with the merchant, further maximizing the value of the palm-swiping device. The virtual instant messaging signal corresponds to the source communication identifier in other embodiments, the device serial number corresponds to the device identifier in other embodiments, the cashier's identity information corresponds to the instant messaging account information in other embodiments, the store number corresponds to the location identifier in other embodiments, and the merchant number corresponds to the merchant identifier in other embodiments.

[0301] When the embodiment of the present application is implemented through the palm-swiping device, an independent group is established for all palm-swiping devices based on the merchant identification (Identity document, ID), and the related devices in the subsequent group can perform audio and video communication. And in order to further improve the efficiency of communication, the device will be bound to the store ID when it is implemented. When the cashier needs to perform voice or video communication, he only needs to synchronize the current mobile phone login instant messaging account information to the palm-swiping device end through NFC, so that the palm-swiping device has the user's identity, and then initiate voice commands through the palm-swiping device, and realize audio and video communication across stores through voice commands. Among them, the merchant identification corresponds to the merchant identification in other embodiments, and the store ID corresponds to the place identification in other embodiments.

[0302] Figure 14 This is a schematic diagram of an interactive process of audio and video communication proposed in the embodiment of the present application, see Figure 14 , including the following steps S1401 to S1423:

[0303] Step S1401: Palm-swiping device A receives the store ID of the associated store.

[0304] In this embodiment of the present application, merchants can power on any palm-scanning device after receiving it. After powering on, they need to further input relevant information about the current store into the palm-scanning device to associate the current palm-scanning device with the store ID. In other words, palm-scanning device A receives the store ID of the associated store and binds itself to the store ID.

[0305] Step S1402: The palm-swiping device A receives the group ID.

[0306] In this embodiment of the present application, the merchant terminal needs to apply for a group ID on the merchant platform. Once the application is successful, the associated group ID is configured on the settings page of the palm-swiping device. In other words, palm-swiping device A receives the group ID and binds itself to it. The group ID corresponds to the merchant identifier in other embodiments.

[0307] In step S1403, the palm-swiping device A sends the device SN, store ID, and group ID to the cloud platform.

[0308] In an embodiment of the present application, the palm-swiping device A can obtain its own device SN from the attribute information it carries. Based on this, the palm-swiping device A can send the device SN, store ID and group ID to the cloud platform through a communication link, wherein a communication link is established in advance between the palm-swiping device A and the cloud platform, and the communication link can be one of a wireless communication link and a wired communication link.

[0309] In some embodiments, a cloud platform is an internet-based computing platform that provides various computing resources and services. Users can access and use these resources and services on demand via the internet, eliminating the need to deploy and maintain local hardware and software systems. Services provided by the cloud platform include computing power, storage space, databases, development tools, network services, etc. The cloud platform corresponds to the instant messaging server or payment server described in other embodiments.

[0310] In step S1404, the cloud platform associates the device SN, store ID, and group ID.

[0311] In the embodiment of the present application, a backend service is built on the cloud platform. The cloud platform can use this backend service to bind the device SN, store ID, and group ID, thereby establishing an association between devices, stores, and groups, and enabling palm-swiping devices within the same group to communicate with each other. The backend service can be an instant messaging service. Through association, all device SNs corresponding to the same group ID can be determined, as well as all store IDs corresponding to the same group ID.

[0312] In some embodiments, the instant messaging service refers to the backend system of the instant messaging application, which is responsible for processing and managing the business logic, data storage, user authentication, message push, and other functions of the instant messaging application. The instant messaging backend service is usually built on a cloud platform and can provide stable, scalable, and secure services.

[0313] The main functions of instant messaging backend services include: user management, message management, data storage, business logic processing, security management, message push, and third-party service integration. User management refers to managing functions such as user registration, login, identity authentication, and permission control. Message management refers to processing messages sent and received by users, including text messages, image messages, voice messages, etc. Data storage refers to storing user personal information, interaction records, message records, and other data. Business logic processing refers to executing corresponding business logic based on user requests and operations, such as processing user orders, payments, queries, and other functions. Security management refers to ensuring the security and privacy of user data and preventing security risks such as cyberattacks and data leaks. Message push refers to sending notifications, reminders, and promotional information to users, interacting with them in real time. Integrating third-party services refers to integrating with other services and systems, such as payment systems, map services, and social networks.

[0314] Instant messaging backend services typically employ distributed and microservice architectures to accommodate large user bases and high concurrent access. They also require integration with related services on open platforms, such as official accounts, mini-programs, and payment systems, to enable a wider range of features and services. As a key component supporting the operation of instant messaging applications, these backends offer a rich set of features and services, providing users and developers with a comprehensive application experience and development platform.

[0315] In step S1405, the cloud platform returns the association relationship to the palm-swiping device A.

[0316] In some embodiments, the association relationship may refer to the device ID and store ID belonging to the same group as the palm-swiping device A.

[0317] Step S1406: Communication device A receives configuration information.

[0318] In the embodiment of the present application, communication device A can be a mobile phone. The user of communication device A needs to set permission information on the instant messaging mobile phone settings page. Setting it to allow reading of relevant information of the instant messaging app via NFC means allowing reading of relevant information such as the current user's public avatar, public nickname, and public encrypted account via NFC, where the public encrypted account can be OPENID information. That is, communication device A receives configuration information for permission information. Based on this, palm-swiping device A can obtain relevant information such as the current user's public avatar, public nickname, and public encrypted account from communication device A via NFC. Among them, communication device A corresponds to the matching device in other embodiments.

[0319] In some embodiments, the user of communication device A can also set some shortcut commands for palm-swiping device A on the settings page. Subsequently, when dialing a video call, the user no longer needs to read out the name of the corresponding store. Instead, the user can directly use voice commands such as "play voice" to display a list of available stores on the screen of palm-swiping device A. In other words, the configuration information received by communication device A can also include shortcut command configuration information for palm-swiping device A.

[0320] In step S1407, the palm-swiping device A obtains the public encrypted instant messaging account through NFC.

[0321] In an embodiment of the present application, after the user settings are completed, if the user needs to dial the audio or video of other stores, the user needs to place the communication device A close to the palm-swiping device A, that is, the palm-swiping device A obtains the publicly encrypted instant messaging account logged in on the communication device A through NFC.

[0322] In step S1408, the palm-swiping device A is associated with the public encrypted instant messaging account.

[0323] In an embodiment of the present application, the palm-swiping device A associates the publicly encrypted instant messaging account with the association relationship, that is, splices the publicly encrypted instant messaging account and the above-mentioned association relationship to generate a virtual number. The virtual number can be in the form of store ID-device SN-OPENID, and the virtual number is injected into the voice call technology framework.

[0324] In some embodiments, VoIP is a technology for transmitting voice, video, and other forms of communication over the Internet. The VoIP framework refers to the software running on the user's terminal device, which converts voice data into digital signals through the VoIP protocol and transmits them to the other party's terminal device via the Internet. VoIP protocols include SIP (Session Initiation Protocol), H.323, MGCP (Media Gateway Control Protocol), etc., which specify the format, transmission method, signaling, and other aspects of VoIP communication. In addition, it also includes VoIP gateways and servers, IP networks, etc.

[0325] In step S1409, the palm-swiping device A generates and displays prompt information.

[0326] In the embodiment of the present application, the prompt information is used to prompt the user to input a start instruction so as to start audio and video communication through the palm-swiping device A.

[0327] In some application embodiments, the palm-swiping device A can display prompt information in the form of characters on its screen. For example, the prompt information can be a prompt for the user to input one of the following instructions: voice, characters, gestures, etc.

[0328] In step S1410, the palm-brushing device A receives a voice instruction.

[0329] In this embodiment of the present application, after successfully injecting the instant messaging account into the VoIP framework of palm-swipe device A, palm-swipe device A will prompt the user to enter a voice command. For example, for audio and video related functions, the voice command can be "Dial the voice or video communication of store No. 1".

[0330] In some embodiments, the palm-swiping device A can receive voice commands from a store clerk, store manager, or cashier.

[0331] In step S1411, the palm-swiping device A forwards the voice command to the cloud platform.

[0332] In the embodiment of the present application, after the user finishes speaking the current voice, that is, after the palm-swiping device A receives the voice command, the current voice command will be uploaded to the cloud platform.

[0333] In step S1412, the cloud platform parses the voice command and obtains the identification of the palm-swiping device B.

[0334] In some embodiments, the cloud platform can use back-end services to parse voice commands, obtain relevant information about the store or device of the communication destination, and use this to determine the corresponding communication destination from the current group, that is, obtain the palm-swiping device B.

[0335] In the embodiment of the present application, the palm-swiping device B is the communication destination, and the identifier of the palm-swiping device B may include at least one of the store ID and the ID of the palm-swiping device B. In other words, the voice command carries at least one of the store ID and the device ID to indicate the communication destination.

[0336] In step S1413, the cloud platform sends a VoIP call to the palm-swiping device B.

[0337] In some embodiments, sending a VoIP call is equivalent to a VoIP broadcast.

[0338] In step S1414, palm-swiping device A and palm-swiping device B perform identity authentication.

[0339] In an embodiment of the present application, when communicating between different palm-brush devices, in order to ensure the security of the transmitted content. Secure transmission can be achieved through the following encryption method, that is, a communication method based on NFC to implement security information encryption and decryption, to achieve identity authentication between different palm-brush devices to ensure the security of communication. Public key encryption algorithm can be used for verification. Among them, each palm-brush device has a pair of keys, the public key can be used for encryption, and the private key is used for decryption. Suppose palm-brush device A sends its own public key to palm-brush device B, palm-brush device B uses the public key to encrypt a random number, and sends the encrypted random number back to palm-brush device A. Palm-brush device A uses its own private key to decrypt the random number, and sends the decrypted result to palm-brush device B. If palm-brush device B can verify that the decrypted random number is the same as the original random number, it is considered that the identity authentication is passed. If palm-brush device B verifies that the decrypted random number is different from the original random number, it is considered that the identity authentication has failed.

[0340] In some embodiments, after identity verification is successful, both palm-swipe devices can encrypt and decrypt information. Encryption and decryption can employ a symmetric encryption algorithm, an asymmetric encryption algorithm, a hash algorithm, or a cryptographic protocol. For example, if the encryption and decryption algorithm is a symmetric encryption algorithm, palm-swipe device A and palm-swipe device B need to share a key. The Diffie-Hellman key exchange protocol can be used to negotiate a shared key.

[0341] In step S1415, the palm-swiping device B connects the VoIP call.

[0342] In the embodiment of the present application, communication between the palm-brush device A and the palm-brush device B is realized, thereby realizing that the palm-brush device has VoIP capability. Based on this, the palm-brush device A or the palm-brush device B can receive a manual hang-up operation triggered by the user.

[0343] In step S1416, the palm-swiping device B returns the instant messaging related information it has logged into to the cloud platform.

[0344] In an embodiment of the present application, the instant messaging related information may include a public avatar, a public nickname, and a public instant messaging account information.

[0345] In step S1417, the cloud platform forwards the instant messaging related information of the palm-swiping device B to the palm-swiping device A.

[0346] In step S1418, the palm-swiping device A receives the floating window triggering instruction.

[0347] In this embodiment of the present application, since the application scenario of palm-swiping device A includes payment scenarios, in order to avoid the impact of VoIP capabilities on payment, this embodiment of the present application also provides related floating window capabilities. That is, after palm-swiping device A and palm-swiping device B are connected by voice, the user or cashier can issue a floating window trigger command. When palm-swiping device A receives the floating window trigger command, it can minimize the current audio and video communication interface into a floating window, and the floating window can be dragged at will to ensure that the palm-swiping payment experience is not affected.

[0348] In the embodiment of the present application, the floating window triggering instruction may be in the form of a touch or voice. For example, the floating window triggering instruction may be a click operation on the floating window control, or the floating window triggering instruction may be a voice "start floating window".

[0349] In some embodiments, the pop-up window triggering instruction may be an instruction issued by a store clerk, store manager, or cashier.

[0350] In step S1419, the palm-swiping device A displays the VoIP call in a floating window.

[0351] In step S1420, the palm scanning device A collects palm print information.

[0352] In this embodiment of the present application, palm payment relies on palm recognition. Specifically, the app uses a 3D camera to capture streaming media data from the consumer's palm. After acquiring the streaming media, palm-swiping device A filters the streaming media. Target palm images are selected based on a comprehensive set of factors, including palm size, angle, image contrast, brightness, and clarity.

[0353] In some embodiments, the collection object may be a consumer, a purchaser, etc., that is, the palm print information of the consumer or the purchaser is collected.

[0354] In step S1421, the palm-swiping device A sends the target palm image to the cloud platform.

[0355] In the embodiment of the present application, the palm scanning device A uses its own palm scanning recognition module to determine the target palm image based on the palm print information, and sends the target palm image to the cloud platform.

[0356] In step S1422, the cloud platform recognizes the target palm image and obtains a recognition result.

[0357] In the embodiment of the present application, the cloud platform will extract features from the target palm image through the back-end related recognition service, and then further obtain the recognition result corresponding to the consumer. The recognition result can be instant messaging related information, such as payment code, etc. Among them, the back-end related recognition service corresponds to the payment service in other embodiments.

[0358] In step S1423, the cloud platform returns the recognition result to palmprint device A.

[0359] In some embodiments, the above Figure 14 The hardware framework diagram of the interaction process is as follows: Figure 15 As shown, the hardware framework includes a mobile phone 1501, an instant messaging backend server 1502, and a palm-swipe device 1503. Mobile phone 1501 includes an instant messaging app 15011, an NFC module 15012, and an operating system (OS) 15013. In some embodiments, mobile phone 1501 corresponds to the matching device in other embodiments; instant messaging backend server 1502 corresponds to the instant messaging server and payment server in other embodiments; and palm-swipe device 1503 corresponds to the source payment verification device in other embodiments.

[0360] In some embodiments, see Figure 15 Instant messaging app 15011 includes a settings module 50111 and a Bluetooth and other near-field modules 50112. Furthermore, settings module 50111 is used to set permissions for accessing public avatars and nicknames for instant messaging. Settings module 50111 is also used to set quick contacts, i.e., to set shortcut commands. Bluetooth and other near-field modules 50112 include an encryption and decryption module 1121 and an authentication module 1122.

[0361] In some embodiments, see Figure 15 The instant messaging backend server 1502 includes a palm recognition service 15021, a device management service 15022, a VoIP service 15023, and a payment service 15024. Among them, the device management service 15022 is used to bind the group ID and the store ID to achieve information binding.

[0362] In some embodiments, see Figure 15 The palm-swiping device 1503 includes a palm-swiping recognition module 15031, a voice recognition module 15032, an NFC module 15033, a screen module 15034, a VoIP module 15035, an identity management module 15036, and a 3D camera 15037. The palm-swiping recognition module 15031 is used to perform a palm print biopsy and filter out a target palm image from the palm print information; the identity management module 15036 is used to manage the login and logout of instant messaging account information.

[0363] Through the audio and video communication method provided by the embodiment of the present application, when the palm-swiping device is put into use, an independent group can be established for all the palm-swiping devices under the merchant based on the merchant ID, and the palm-swiping devices in the subsequent group can perform audio and video communication. And in order to further improve the efficiency of communication, the palm-swiping device will be bound to the store ID when it is put into use. When the cashier needs to conduct voice or video communication, he only needs to synchronize the current mobile phone login instant messaging account information to the palm-swiping device end through NFC, so that the palm-swiping device has the user's identity, and then he can initiate voice commands, and realize the audio and video communication capability across stores through voice commands.

[0364] It is understandable that in the embodiments of the present application, data related to device identification, location identification, merchant identification, instant messaging account information, biometric images, etc. are involved, and the collection, use and processing of such data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0365] The following continues to describe the exemplary structure of the communication device 455 provided in the embodiment of the present application implemented as a software module. In some embodiments, such as Figure 2 As shown, the software modules stored in the communication device 455 of the memory 450 may include:

[0366] A first sending module 4551 is configured to send a communication request to an instant messaging server in response to a received communication instruction, wherein the communication request carries target identification information of a target payment verification device and a source communication identification of a source payment verification device, so that the instant messaging server sends a communication connection establishment request to the target payment verification device based on the target identification information;

[0367] A first receiving module 4552 is configured to receive a communication connection establishment result returned by the target payment verification device via the instant messaging server;

[0368] A first acquisition module 4553 is configured to acquire a communication message to be sent when the communication connection establishment result indicates that the communication connection is successfully established;

[0369] The second sending module 4554 is configured to send the communication message to the target payment verification device.

[0370] In some embodiments, the first sending module 4551 is further configured to:

[0371] Get the device ID list and the location ID list;

[0372] In response to the received communication instruction, determining a target device identifier from the device identifier list and determining the target device identifier as the target identifier information; or determining a target location identifier from the location identifier list and determining the target location identifier as the target identifier information;

[0373] A communication request is generated based on the target identification information and the source communication identification, and the communication request is sent to the instant messaging server.

[0374] In some embodiments, the communication device 455 further includes:

[0375] A second acquisition module is used to obtain the device identification of the source payment verification device;

[0376] a third obtaining module, configured to obtain, in response to the received first setting operation for the place identifier, a place identifier of the place where the source payment verification device is located;

[0377] a fourth obtaining module, configured to obtain, in response to the received second setting operation for the merchant identifier, a merchant identifier corresponding to the location where the source payment verification device is located;

[0378] a fourth sending module, configured to send the device identifier, the place identifier, and the merchant identifier to the instant messaging server, so that the instant messaging server updates a device identifier list and a place identifier list corresponding to the merchant identifier;

[0379] The third receiving module is configured to receive the updated device identification list and the updated location identification list returned by the instant messaging server.

[0380] In some embodiments, when the source communication identifier includes instant messaging account information, the communication device 455 further includes:

[0381] A fifth acquisition module, configured to acquire instant messaging account information for instant messaging;

[0382] a fifth sending module, configured to send the instant messaging account information to the instant messaging server, so that the instant messaging server generates the source communication identifier based on the instant messaging account information;

[0383] The fourth receiving module is configured to receive the source communication identifier returned by the instant messaging server.

[0384] In some embodiments, the communication device 455 further includes:

[0385] A starting module, configured to start the short-range wireless communication function in response to a received short-range wireless communication function instruction;

[0386] The sixth acquisition module is used to obtain the instant messaging account information logged in on the matching device when a matching device is detected within the communication range and an authentication success message is received from the matching device, wherein the matching device is configured to allow the account information logged in on its own instant messaging application to be obtained through short-range wireless communication.

[0387] In some embodiments, the communication device 455 further includes:

[0388] a seventh acquisition module, configured to acquire login information in response to a received login operation for the instant messaging application;

[0389] a sixth sending module, configured to send the login information to the instant messaging server, so that the instant messaging server performs login verification on the login information and returns the login verification result to the source payment verification device;

[0390] The second determining module is configured to determine the login information as the instant messaging account information when receiving a login verification result returned by the instant messaging server indicating that the verification is successful.

[0391] In some embodiments, the communication message is at least one of an audio message, a video message, and a character message, and the communication message is displayed on the communication interface. The communication device 455 further includes:

[0392] a fifth receiving module, configured to receive a floating display instruction for the communication interface;

[0393] A zoom-out module, configured to zoom out the communication interface based on the floating display instruction to obtain a zoomed-out communication interface;

[0394] The display module is used to suspend and display the reduced communication interface in a preset area of ​​the display module on the source payment verification device.

[0395] In some embodiments, the communication device 455 further includes:

[0396] an adjusting module configured to, upon receiving a size adjustment instruction for the reduced communication interface, adjust the reduced communication interface based on the size adjustment instruction to obtain an adjusted communication interface;

[0397] a moving module, configured to, upon receiving a position movement instruction for the reduced communication interface, move the reduced communication interface on the display module based on the position movement instruction;

[0398] A hiding module is used to hide the reduced communication interface based on the hiding instruction when a hiding instruction for the reduced communication interface is received, and display a hiding icon on the display module; so that when a trigger operation for the hiding icon is received, the reduced communication interface is redisplayed on the display module.

[0399] In some embodiments, the communication device 455 further includes:

[0400] an acquisition module, configured to acquire a biometric image during instant communication with the target payment verification device, and upload the biometric image to a payment server, so that the payment server performs payment verification processing based on the biometric image to obtain a verification result, wherein the biometric image is one of a palm print image, a fingerprint image, and a facial image;

[0401] The sixth receiving module is used to receive the verification result returned by the payment server.

[0402] In some embodiments, the communication device 455 further includes:

[0403] a seventh sending module, configured to send a public key for identity authentication to the target payment verification device;

[0404] a seventh receiving module, configured to receive encrypted information returned by the target payment verification device, wherein the encrypted information is obtained by the target payment verification device encrypting the verification information using the public key;

[0405] A decryption module is used to decrypt the encrypted information using a private key to obtain decrypted information, and send the decrypted information to the target payment verification device. When the decrypted information is the same as the verification information, the target payment verification device determines that the identity authentication is passed, establishes a communication connection, and obtains a communication connection creation result.

[0406] In some embodiments, the software modules stored in the communication device 455 of the memory 450 may also include:

[0407] a second receiving module, configured to receive source identification information sent by a source payment verification device, the source identification information including at least one of a device identification of the source payment verification device, a location identification of a location where the source payment verification device is located, a merchant identification corresponding to the location where the source payment verification device is located, and instant messaging account information;

[0408] a first determining module, configured to determine a source communication identifier of the source payment verification device based on the source identification information, and return the source communication identifier to the source payment verification device;

[0409] a parsing module, configured to parse the communication request in response to the received communication request to obtain target identification information of the target payment verification device and the source communication identification;

[0410] The third sending module is configured to send a communication connection establishment request to the target payment verification device based on the target identification information, and return a communication connection establishment result sent by the target payment verification device to the source payment verification device.

[0411] In some embodiments, the first determining module is further configured to:

[0412] generating the source communication identifier based on the device identifier and the location identifier; or

[0413] generating the source communication identifier based on the device identifier, the location identifier, and the merchant identifier; or

[0414] The source communication identifier is generated based on the place identifier, the merchant identifier, and the instant messaging account information.

[0415] The present invention provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the communication method described above in the present invention.

[0416] The embodiment of the present application provides a computer-readable storage medium storing executable instructions, wherein the executable instructions are stored. When the executable instructions are executed by a processor, the processor will execute the communication method provided by the embodiment of the present application, for example, Figure 3 、 Figure 8 、 Figure 9 、 Figure 10 、 Figure 11 、 Figure 12 The communication method shown.

[0417] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or various devices including one or any combination of the above memories.

[0418] In some embodiments, executable instructions may be in the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.

[0419] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinating files (e.g., files storing one or more modules, subroutines, or code portions).

[0420] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.

[0421] The above description is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent replacements, and improvements made within the spirit and scope of the present application are included in the scope of protection of the present application.

Claims

1. A communication method, characterized in that: Applied to a source payment verification device, the source payment verification device can use the collected biometric image to verify the payment identity, and the method includes: In response to the received communication instruction, sending a communication request to an instant messaging server, the communication request carrying target identification information of the target payment verification device and a source communication identification of the source payment verification device, so that the instant messaging server sends a communication connection establishment request to the target payment verification device based on the target identification information; receiving a communication connection establishment result returned by the target payment verification device via the instant messaging server; When the communication connection creation result indicates that the communication connection is successfully created, obtaining a communication message to be sent; The communication message is sent to the target payment verification device.

2. The method according to claim 1, wherein The method further comprises: Get the device ID list and the location ID list; In response to the received communication instruction, determining a target device identifier from the device identifier list and determining the target device identifier as the target identifier information; or determining a target location identifier from the location identifier list and determining the target location identifier as the target identifier information; A communication request is generated based on the target identification information and the source communication identification, and the communication request is sent to the instant messaging server.

3. The method according to claim 2, characterized in that The method further comprises: Obtaining a device identification of the source payment verification device; In response to the received first setting operation for the location identifier, obtaining the location identifier of the location where the source payment verification device is located; In response to the received second setting operation for the merchant identifier, obtaining a merchant identifier corresponding to the location where the source payment verification device is located; Sending the device identifier, the place identifier, and the merchant identifier to the instant messaging server, so that the instant messaging server updates a device identifier list and a place identifier list corresponding to the merchant identifier; Receive the updated device identification list and the updated location identification list returned by the instant messaging server.

4. The method according to claim 1, wherein When the source communication identifier includes instant messaging account information, the method further includes: Obtain instant messaging account information for instant messaging; Sending the instant messaging account information to the instant messaging server, so that the instant messaging server generates the source communication identifier based on the instant messaging account information; Receive the source communication identifier returned by the instant messaging server.

5. The method according to claim 4, characterized in that The method further comprises: In response to the received short-range wireless communication function instruction, starting the short-range wireless communication function; When a matching device is detected within the communication range and an authentication success message is received from the matching device, the instant messaging account information logged in on the matching device is obtained, wherein the matching device is configured to allow the account information logged in on its own instant messaging application to be obtained through short-range wireless communication.

6. The method according to claim 4, characterized in that The method further comprises: In response to receiving a login operation for an instant messaging application, obtaining login information; Sending the login information to the instant messaging server, so that the instant messaging server performs login verification on the login information and returns the login verification result to the source payment verification device; When the login verification result indicating that the verification is successful is received from the instant messaging server, the login information is determined as the instant messaging account information.

7. The method according to any one of claims 1 to 6, characterized in that The communication message is at least one of an audio message, a video message, and a character message, and the communication message is displayed on a communication interface. The method further includes: receiving a floating display instruction for the communication interface; Based on the floating display instruction, shrinking the communication interface to obtain a shrunken communication interface; The reduced communication interface is displayed in a floating manner in a preset area of ​​a display module on the source payment verification device.

8. The method according to claim 7, characterized in that The method further comprises: When a size adjustment instruction for the reduced communication interface is received, adjusting the reduced communication interface based on the size adjustment instruction to obtain an adjusted communication interface; When receiving a position movement instruction for the reduced communication interface, moving the reduced communication interface on the display module based on the position movement instruction; When a hiding instruction for the reduced communication interface is received, the reduced communication interface is hidden based on the hiding instruction, and a hiding icon is displayed on the display module; so that when a trigger operation for the hiding icon is received, the reduced communication interface is redisplayed on the display module.

9. The method according to claim 7, characterized in that The method further comprises: During instant communication with the target payment verification device, a biometric image is collected and uploaded to a payment server, so that the payment server performs payment verification processing based on the biometric image to obtain a verification result, wherein the biometric image is one of a palm print image, a fingerprint image, and a facial image; Receive the verification result returned by the payment server.

10. The method according to any one of claims 1 to 6, characterized in that Before receiving the communication connection establishment result returned by the target payment verification device via the instant messaging server, the method further includes: Sending a public key for identity authentication to the target payment verification device; receiving encrypted information returned by the target payment verification device, wherein the encrypted information is obtained by the target payment verification device encrypting the verification information using the public key; The encrypted information is decrypted using a private key to obtain decrypted information, and the decrypted information is sent to the target payment verification device. When the decrypted information is identical to the verification information, the target payment verification device determines that the identity authentication is passed, establishes a communication connection, and obtains a communication connection creation result.

11. A communication method, characterized in that: Applied to an instant messaging server, the method includes: receiving source identification information sent by a source payment verification device, the source identification information including at least one of a device identification of the source payment verification device, a location identification of a location where the source payment verification device is located, a merchant identification corresponding to the location where the source payment verification device is located, and instant messaging account information; determining a source communication identifier of the source payment verification device based on the source identification information, and returning the source communication identifier to the source payment verification device; In response to the received communication request, parsing the communication request to obtain target identification information of the target payment verification device and the source communication identifier; A communication connection creation request is sent to the target payment verification device based on the target identification information, and a communication connection creation result sent by the target payment verification device is returned to the source payment verification device.

12. The method according to claim 11, characterized in that The determining the source communication identifier of the source payment verification device based on the source identification information includes: generating the source communication identifier based on the device identifier and the location identifier; or generating the source communication identifier based on the device identifier, the location identifier, and the merchant identifier; or The source communication identifier is generated based on the place identifier, the merchant identifier, and the instant messaging account information.

13. A communication device, characterized in that: The device comprises: a first sending module, configured to send a communication request to an instant messaging server in response to a received communication instruction, wherein the communication request carries target identification information of a target payment verification device and a source communication identification of a source payment verification device, so that the instant messaging server sends a communication connection establishment request to the target payment verification device based on the target identification information; A first receiving module, configured to receive a communication connection establishment result returned by the target payment verification device via the instant messaging server; A first acquisition module is configured to acquire a communication message to be sent when the communication connection creation result indicates that the communication connection is successfully established; The second sending module is configured to send the communication message to the target payment verification device.

14. A communication device, characterized in that: The device comprises: a second receiving module, configured to receive source identification information sent by a source payment verification device, the source identification information including at least one of a device identification of the source payment verification device, a location identification of a location where the source payment verification device is located, a merchant identification corresponding to the location where the source payment verification device is located, and instant messaging account information; a first determining module, configured to determine a source communication identifier of the source payment verification device based on the source identification information, and return the source communication identifier to the source payment verification device; a parsing module, configured to parse the communication request in response to the received communication request to obtain target identification information of the target payment verification device and the source communication identification; The third sending module is configured to send a communication connection establishment request to the target payment verification device based on the target identification information, and return a communication connection establishment result sent by the target payment verification device to the source payment verification device.

15. A computer device, characterized in that: The computer device comprises: a memory for storing computer-executable instructions; A processor, configured to implement the communication method according to any one of claims 1 to 10 or 11 to 12 when executing the computer-executable instructions stored in the memory.

16. A computer-readable storage medium storing computer-executable instructions, characterized in that: When the computer executable instructions are executed by a processor, the communication method according to any one of claims 1 to 10 or 11 to 12 is implemented.

17. A computer program product comprising a computer program or computer executable instructions, characterized in that When the computer program or computer executable instructions are executed by a processor, the communication method according to any one of claims 1 to 10 or 11 to 12 is implemented.