Social method, device and equipment based on payment behavior and storage medium
By displaying an add control and sending a request message on the payment results page, social relationships can be established in payment scenarios without manual recommendations or QR code scanning, simplifying the process of consumers joining merchant groups.
Patent Information
- Application Number
- CN202110008111.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-05
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2041-01-05
AI Technical Summary
Consumers need to open the social media app and manually scan a QR code to join a merchant's social media group, which is a cumbersome process.
The payment results page displays an add control. By triggering an action, an add request is sent to the server. The server then establishes a social relationship between the consumer and the social object specified by the merchant based on the request, simplifying the operation process.
Without requiring merchants to manually recommend products or consumers to scan QR codes, social relationships can be established directly within the payment scenario, simplifying the process of building social relationships between consumers and merchants.
Smart Images

Figure CN114723435B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet technology, and in particular to a social method, device, equipment and storage medium based on payment behavior. Background Technology
[0002] With the widespread use of social media, more and more merchants are using social media to create their own groups in order to promote their businesses or sell their products.
[0003] In this technology, after creating a group on social media, merchants place a printed QR code for the group in their store. When customers enter the store, the merchant recommends the group to them. If a customer wishes to join the group, they can open the corresponding social media app and use its QR code scanning function to scan the group's QR code to join.
[0004] In the methods of related technologies, consumers need to open social media software and scan the group's QR code to join a merchant's group, which is too complicated for consumers. Summary of the Invention
[0005] This application provides a social method, device, equipment, and storage medium based on payment behavior, which can simplify the process of consumers joining merchant groups. The technical solution is as follows.
[0006] According to one aspect of this application, a social method based on payment behavior is provided, applied in a merchant payment device, the method comprising: The payment result page displays the payment result of the payment made by the first account to the second account, and includes an add control. In response to the triggering operation on the add control, an add request information is sent to the server. The add request information is used to request the server to establish the social relationship between the first account and the social object. The social object includes at least one of a third account specified by the second account and a group. Display the addition result information; the addition result information is used to indicate that the first account and the social object have successfully established the social relationship, or the addition result information is used to indicate that the addition request information has been successfully sent.
[0007] According to one aspect of this application, a social method based on payment behavior is provided, applied in a server, the method comprising: Send the payment result from the first account to the second account to the merchant's payment device; The server receives an add request message sent by the merchant payment device. The add request message is used to request the server to establish a social relationship between the first account and a social object. The social object includes at least one of a third account specified by the second account and a group. Based on the added request information, a social relationship is established between the first account and the social object.
[0008] According to another aspect of this application, a social device based on payment behavior is provided, which is applied in a merchant payment device. The device includes: a display module and an add request sending module. The display module is used to display a payment result page, which displays the payment result of the first account making a payment to the second account. The payment result page includes an add control. The add request sending module is used to send add request information to the server in response to the trigger operation on the add control. The add request information is used to request the server to establish the social relationship between the first account and the social object. The social object includes at least one of the third account specified by the second account and the group. The display module is used to display the addition result information; the addition result information is used to indicate that the first account and the social object have successfully established the social relationship, or the addition result information is used to indicate that the addition request information has been successfully sent.
[0009] Optionally, the display module is used to display a notification message indicating that a friend has been successfully added; the notification message indicating that a friend has been successfully added is used to indicate that the first account and the third account have successfully established a friend relationship, or the notification message indicating that the friend addition request information has been successfully sent from the first account to the third account to establish a friend relationship.
[0010] Optionally, the display module is used to display a notification message indicating that the group has been successfully added; the notification message indicating that the first account has successfully joined the group, or the notification message indicating that the first account's request to join the group has been successfully sent.
[0011] Optionally, the merchant payment device caches the account information of the social object, and the device further includes: an information collection module and an addition verification module; The information collection module is used to collect scanning information, which includes at least one of biometric data and the payment QR code of the first account; The addition verification module is used to send addition verification information to the server, the addition verification information being used by the server to determine the establishment of the social relationship between the first account and the social object, the addition verification information carrying the scanning information and the account information of the social object; and to receive addition instruction information returned by the server, the addition instruction information being used to instruct the addition control to be displayed on the payment result page.
[0012] Optionally, the verification module is configured to receive a no-addition indication information returned by the server, which indicates that the addition control does not need to be displayed on the payment result page.
[0013] Optionally, the device may also include: a payment result receiving module; The payment result receiving module is used to send payment verification information to the merchant settlement device, the payment verification information being used by the merchant settlement device to generate a payment request, the payment verification information carrying the payment QR code of the first account; and to receive the payment result returned by the server based on the payment request; The display module is used to display the payment result page, including the add control, based on the payment result and the add instruction information.
[0014] According to another aspect of this application, a social device based on payment behavior is provided, which is applied in a server. The device includes: a payment result sending module, an add request receiving module, and a social relationship establishment module. The payment result sending module is used to send the payment result of the first account making a payment to the second account to the merchant's payment device; The add request receiving module is used to receive add request information sent by the merchant payment device. The add request information is used to request the server to establish a social relationship between the first account and the social object. The social object includes at least one of the third account specified by the second account and a group. The social relationship establishment module is used to establish a social relationship between the first account and the social object based on the add request information.
[0015] Optionally, the apparatus further includes: an added verification module; the added verification module is used for, The system receives verification information sent by the merchant's payment device. The verification information carries scanning information and the account information of the social object. The scanning information includes at least one of biometric data and the payment QR code of the first account. Based on the added verification information, the establishment of the social relationship between the first account and the social object is determined; In response to the first account not establishing a social relationship with the social object, an add instruction message is sent to the merchant payment device, which is used to instruct the merchant payment device to display an add control on the payment result page.
[0016] Optionally, the addition verification module is used to send an exemption instruction to the merchant payment device in response to the first account having established a social relationship with the social object. The exemption instruction is used to instruct the merchant payment device not to display the addition control on the payment result page.
[0017] Optionally, the social relationship establishment module is used to determine the account information of the first account based on the scanning information; and to determine the establishment status of the social relationship between the first account and the social object based on the account information of the first account and the account information of the social object.
[0018] Optionally, the payment result sending module is configured to receive a payment request sent by the merchant settlement device, the payment request carrying the payment QR code of the first account; determine the payment result based on the payment request; and send the payment result to the merchant payment device.
[0019] According to another aspect of this application, a computer device is provided, the computer device comprising: a processor and a memory, the memory storing at least one instruction, at least one program, a code set or an instruction set, the at least one instruction, the at least one program, the code set or instruction set being loaded and executed by the processor to implement the payment behavior-based social method as described above.
[0020] According to another aspect of this application, a computer-readable storage medium is provided, wherein at least one instruction, at least one program, code set, or instruction set is stored therein, wherein the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the payment behavior-based social method as described above.
[0021] According to another aspect of this application, a computer program product or computer program is provided, comprising 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 payment-based social method provided in the above-described optional implementation.
[0022] The beneficial effects of the technical solutions provided in this application include at least the following:
[0023] In payment scenarios, an add control is displayed on the payment result page of the merchant's payment device. The merchant's payment device sends an add request to the server by receiving the trigger operation on the add control. The server then establishes a social relationship between the consumer's first account and the social object specified by the merchant based on the add request information. This eliminates the need for merchants to make manual recommendations and for consumers to open social software and scan the QR code of the social object specified by the merchant, simplifying the process of establishing a social relationship between consumers and merchants. Attached Figure Description
[0024] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0025] Figure 1 This is a schematic diagram of a payment system provided in an exemplary embodiment of this application; Figure 2 This is a flowchart of a payment-based social method provided in an exemplary embodiment of this application; Figure 3 This is a schematic diagram of a payment result interface provided in an exemplary embodiment of this application; Figure 4 This is a flowchart of a payment-based social method provided in an exemplary embodiment of this application; Figure 5 This is a flowchart of a payment-based social method provided in an exemplary embodiment of this application; Figure 6 This is a schematic diagram of a payment-based social method provided in an exemplary embodiment of this application; Figure 7 This is a schematic diagram of the structure of a distributed system applied to a blockchain system, provided by an exemplary embodiment of this application; Figure 8 This is a schematic diagram of a block structure provided in an exemplary embodiment of this application; Figure 9 This is a block diagram of a payment-based social device provided in an exemplary embodiment of this application; Figure 10 This is a block diagram of a payment-based social device provided in an exemplary embodiment of this application; Figure 11 This is a schematic diagram of the structure of a server provided in an exemplary embodiment of this application; Figure 12 This is a block diagram of a terminal provided in an exemplary embodiment of this application. Detailed Implementation
[0026] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0027] Artificial intelligence (AI) is the theory, methods, technology, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, 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 attempts to understand the essence of intelligence and produce a new kind of intelligent machine that can react in a way similar to human intelligence. AI studies the design principles and implementation methods of various intelligent machines, enabling them to possess the functions of perception, reasoning, and decision-making.
[0028] Artificial intelligence (AI) is a comprehensive discipline encompassing a wide range of fields, including both hardware and software technologies. Fundamental AI technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interactive systems, and mechatronics. AI software technologies primarily include computer vision, speech processing, natural language processing, and machine learning / deep learning.
[0029] The solutions provided in this application relate to the field of computer vision technology within artificial intelligence. Computer vision (CV) is a science that studies how to enable machines to "see." More specifically, it refers to machine vision, which uses cameras and computers to replace human eyes for target recognition, tracking, and measurement, and further performs image processing to create images more suitable for human observation or transmission to instruments for detection. As a scientific discipline, computer vision researches related theories and technologies, attempting to establish artificial intelligence systems capable of extracting information from images or multidimensional data. Computer vision technology typically includes image processing, image recognition, image semantic understanding, image retrieval, OCR (Optical Character Recognition), video processing, video semantic understanding, video content / behavior recognition, 3D object reconstruction, 3D technology (three-dimensional), virtual reality, augmented reality, simultaneous localization and mapping (SLAM), and other technologies, as well as common biometric recognition technologies such as facial recognition and fingerprint recognition.
[0030] Biometric data refers to the biometric data corresponding to biometric identification methods. Biometric identification methods include: facial recognition payment, iris recognition payment, retinal recognition payment, gait recognition payment, vein recognition payment, etc., and this application embodiment does not constitute a limitation thereto. Correspondingly, biometric data includes: facial data, iris data, retinal data, gait data, vein data, etc. For example, the biometric data corresponding to facial recognition payment is facial data, and the biometric data corresponding to iris recognition payment is iris data.
[0031] In this embodiment of the application, biometric data can uniquely identify the consumer's identity.
[0032] Figure 1 A schematic diagram of the framework of a payment system provided in an exemplary embodiment of this application is shown. Figure 1 The payment system includes a merchant payment device 110, a server 120, and a merchant settlement device 130.
[0033] Merchant payment device 110 and merchant settlement device 130 are provided by the merchant. A communication connection is established between merchant payment device 110 and merchant settlement device 130. This communication connection can be a wired connection or a wireless connection, such as a connection through a Universal Serial Bus (USB) interface or a network cable interface.
[0034] Merchant payment device 110 is a computer device with information collection and display functions. Generally, merchant payment device 110 is for consumers, collecting consumers' identity information for payment and displaying payment results for consumers to view. In this embodiment, merchant payment device 110 is a smart terminal device including a camera and an information display screen. For example, information is collected through the camera in merchant payment device 110, such as collecting facial data and the consumer's payment QR code. For example, the payment result is displayed on the information display screen in merchant payment device 110. For example, the payment result page on the information display screen also includes an add control, which allows the establishment of a social relationship between the consumer's corresponding first account and a merchant-designated third account or group. For example, merchant payment device 110 pre-stores account information of the merchant-designated third account or group.
[0035] Merchant settlement device 130 is a computer device with payment settlement function. Generally, merchant settlement device 130 is for merchants. Merchant settlement device 130 can be a desktop cash register, a campus catering device, a self-service cash register, a vending machine, a self-service gas station, a self-service ticketing machine, etc. In this embodiment, after receiving payment verification information sent by merchant payment device 110, merchant settlement device 130 can generate a payment request based on payment verification information, order information, etc., and send the payment request to server 120 to complete the payment.
[0036] Merchant payment device 110 (or merchant settlement device 130) is directly or indirectly connected to server 120 via wired or wireless communication.
[0037] Server 120 is a business server or backend server providing payment services and social relationship addition services. It can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. In this embodiment, server 120 can receive addition request information sent by merchant payment device 110, and after establishing social relationships based on the addition request information, it feeds back the addition result information to merchant payment device 110. Simultaneously, server 120 can also feed back payment results to merchant payment device 110. For example, the payment result is generated by server 120 based on the payment request sent by merchant settlement device 130.
[0038] Please refer to Figure 2 It illustrates a flowchart of a payment behavior-based social method as shown in an exemplary embodiment of this application, in which the method is applied to... Figure 1 Taking the payment system shown as an example, the method includes: Step 202: The server sends the payment result from the first account to the second account to the merchant's payment device.
[0039] In this embodiment, the first account is the account corresponding to the consumer, and the second account is the account corresponding to the merchant. In the payment scenario, the first account makes a payment to the second account, and the server completes the corresponding payment service in the background, generates the payment result, and sends the payment result to the merchant's payment device.
[0040] Optionally, the payment result includes, but is not limited to, the payment amount, the payment time, and the payment deduction result. The specific content of the payment result in this application embodiment is not limited in this respect.
[0041] Step 204: The merchant's payment device receives the payment result.
[0042] The merchant's payment device receives the payment result sent by the server to generate the payment result interface.
[0043] Step 206: The merchant's payment device displays the payment result page, which includes an add control.
[0044] The payment results page displays the payment result of the payment from the first account to the second account. The merchant's payment device receives the payment result from the server and displays it on the payment results page to inform the consumer of the payment status.
[0045] In payment scenarios, consumers typically need to confirm the payment result through a payment result interface. In this embodiment, the payment result page also includes an add control. The presence of the add control prompts the consumer that a social relationship can be established between the consumer's first account and the social object specified by the merchant's second account, thus eliminating the need for manual prompting from the merchant.
[0046] For example, in conjunction with reference Figure 3 The merchant's payment device displays a payment result page 301, which shows the payment result "Payment Complete" in the form of an image 302. The payment result page 301 also includes an add control 303.
[0047] Step 208: In response to the trigger operation on the added control, the merchant payment device sends an add request to the server.
[0048] The merchant payment device sends an add request to the server upon receiving a trigger action on the add control. This add request requests the server to establish a social relationship between the first account and a social object. The social object includes at least one of a third account specified by the second account and a group. Optionally, the add request carries the account information of both the first account and the social object.
[0049] For example, the added request information is used to request the server to establish a social relationship between the first account and the third account specified by the second account. The second account and the third account can be the same account, such as both being the merchant's owner account; or they can be different accounts, such as the second account being the merchant's owner account and the third account being the merchant's promotional account. It is understood that the above description only uses the third account as an example; the third account can also be multiple accounts specified by the second account, and this application embodiment does not impose any limitations on this.
[0050] For example, the added request information is used to request the server to establish a social relationship between the first account and the group specified by the second account. That is, the added request information is used to request the server to allow the first account to join the group specified by the second account. The group specified by the second account can be one group or multiple groups, and this application does not impose any restrictions on this.
[0051] In this embodiment, to comply with the consumer's wishes, when the consumer actively triggers the addition of a control, the merchant's payment device sends an addition request to the server. Regarding the triggering operation for adding a control, the consumer can click, long-press, or double-click, etc. This embodiment does not limit the type of triggering operation. By performing the triggering operation on the addition control, the consumer can establish a social relationship with the merchant, thereby reducing the consumer's operational costs by eliminating the need to open social media software and scan a QR code.
[0052] Step 210: The server receives the add request information sent by the merchant's payment device.
[0053] The added request information is used to request the server to establish a social relationship between the first account and a social object, which includes at least one of the third account specified by the second account and a group.
[0054] Step 212: The server establishes a social relationship between the first account and the social object based on the add request information.
[0055] After receiving the add request information, the server establishes a social relationship between the first account and the social object according to the request information.
[0056] Step 214: The merchant payment device displays the addition result information.
[0057] The added result information is used to indicate that the first account has successfully established a social relationship with the social object, or to indicate that the add request information has been successfully sent.
[0058] For example, in conjunction with the reference Figure 3 The merchant's payment device displays a payment result page 301. After the consumer triggers the add control 303, the add result information 304 is displayed on the payment result page 301.
[0059] In one possible implementation, after step 208, that is, after the merchant payment device sends the add request information to the server, the merchant payment device executes step 214 and displays the add result information, which is used to indicate that the add request information was successfully sent.
[0060] In another possible implementation, after step 212, that is, after the server establishes a social relationship between the first account and the social object, the merchant payment device executes step 214 to display the addition result information, which is used to indicate that the first account and the social object have successfully established a social relationship.
[0061] In summary, the method provided in this embodiment displays an add control on the payment result page of the merchant's payment device in a payment scenario. The merchant's payment device sends an add request to the server by receiving the trigger operation on the add control. The server then establishes a social relationship between the consumer's first account and the social object specified by the merchant based on the add request information. This eliminates the need for merchants to make manual recommendations and for consumers to open social software and scan the QR code of the social object specified by the merchant, simplifying the process of establishing a social relationship between consumers and merchants.
[0062] Based on Figure 2 In an alternative embodiment, the social object includes a third account specified by the second account; or, the social object includes a group specified by the second account.
[0063] 1) Social contacts include the third account specified by the second account.
[0064] Step 214 is replaced as follows: The merchant payment device displays a message indicating that the friend has been successfully added; the message indicating that the first account and the third account have successfully established a friend relationship, or the message indicating that the friend addition request was successfully sent to the first account to request the third account to establish a friend relationship.
[0065] Correspondingly, on the consumer's terminal device, the consumer can see that a friend relationship has been established between the first account and the third account.
[0066] 2) Social contacts include groups specified by the second account.
[0067] Step 214 is replaced as follows: The merchant payment device displays a message indicating that the group has been successfully added; the message indicating that the first account has successfully joined the group, or the message indicating that the first account's request to join the group has been successfully sent.
[0068] Correspondingly, on the consumer's device, the consumer can see that the first account has joined the group specified by the second account. The consumer can selectively block the group or leave the group.
[0069] In real-world scenarios, there are two possibilities: the first account has not established a social relationship with the social object specified by the second account, and the first account has already established a social relationship with the social object specified by the second account. If the first account has already established a social relationship with the social object specified by the second account, there is no need to display the add control on the merchant's payment results page. Therefore, in one possible implementation, the server detects the establishment of the social relationship between the first account and the social object, and then instructs the merchant's payment device whether to display the add control.
[0070] Figure 4 A flowchart illustrating a payment behavior-based social method provided in an exemplary embodiment of this application is shown. This embodiment of the application applies this method to... Figure 1 Taking the payment system shown as an example, the method includes: Step 402: The merchant payment device collects scanning information, which includes at least one of biometric data and the payment QR code of the first account.
[0071] To verify a consumer's identity, merchant payment devices have information collection capabilities, including the ability to collect scanned information, such as through a camera within the device. This scanned information is used to identify the consumer.
[0072] In one possible implementation, the scanning information includes biometric data. Biometric data is the biometric data corresponding to a biometric method. Biometric methods include: facial recognition payment, iris recognition payment, retinal recognition payment, gait recognition payment, vein recognition payment, etc., which are not limited in this embodiment. Accordingly, biometric data includes: face data, iris data, retinal data, gait data, vein data, etc. For example, the biometric data corresponding to facial recognition payment is face data, and the biometric data corresponding to iris recognition payment is iris data. For example, the merchant's payment device activates the camera and prompts the consumer that the merchant's payment device supports biometrics, thereby collecting the consumer's biometric data.
[0073] In another possible implementation, the scanned information includes the payment QR code of the first account. For example, the merchant payment device activates its camera and prompts the consumer that the device supports QR code scanning. The consumer opens the payment QR code of the first account on their own device, and the merchant payment device scans the QR code to obtain the payment QR code of the first account.
[0074] Step 404: The merchant payment device sends verification information to the server. The verification information is used by the server to determine the establishment of the social relationship between the first account and the social object.
[0075] The added verification information includes scanned information and the social media contact's account information. The merchant's payment device caches the social media contact's account information.
[0076] After collecting the scan information, the merchant payment device reads the cached account information of the social object, generates the addition verification information based on the scan information and the social object's account information, and sends the addition verification information to the server.
[0077] In one exemplary example, the merchant payment device includes a settings module containing the account information of a social media user. For example, the social media user's account information is provided to the merchant payment device by the terminal device corresponding to the second account, such as by the merchant's terminal device sending the social media user's account information to the merchant payment device. Alternatively, the social media user's account information may be pre-set by the merchant in the merchant payment device, such as by the merchant manually entering the social media user's account information into the merchant payment device.
[0078] Step 406: The server receives the verification information sent by the merchant's payment device.
[0079] The added verification information includes scanning information and the social media account information. The scanning information includes at least one of biometric data and the payment QR code of the first account.
[0080] Step 408: The server determines the status of the social relationship between the first account and the social object based on the added verification information.
[0081] The server queries the scan information carried in the added verification information and the account information of the social object to determine the establishment of the social relationship between the first account and the social object.
[0082] In one possible implementation, the server determines the account information of the first account based on the scan information; and determines the establishment of the social relationship between the first account and the social object based on the account information of the first account and the account information of the social object.
[0083] The server can query the account information of the first account corresponding to the scanned information. Furthermore, the server queries the account information of the first account and the social object to determine the establishment of the social relationship between the first account and the social object.
[0084] For example, the scanned information is biometric data. The server performs biometric identification on the biometric data, determines the first account corresponding to the biometric data, and obtains the account information of the first account.
[0085] For example, the scanned information is the payment QR code of the first account. The server scans and recognizes the payment QR code of the first account to obtain the account information of the first account.
[0086] Step 410: In response to the fact that the first account has not established a social relationship with the social object, the server sends an add instruction message to the merchant payment device. The add instruction message is used to instruct the merchant payment device to display the add control on the payment result page.
[0087] The server determines the status of the social relationship between the first account and the social object. If the first account has not established a social relationship with the social object, it means that the merchant payment device needs to prompt the consumer by displaying an add control. Therefore, the server sends add instruction information to the merchant payment device.
[0088] Optionally, an instruction message can be added carrying the account information of the first account and the payment QR code of the first account. The account information of the first account is used for the merchant's payment device to request the establishment of a social relationship between the first account and the social object, and the payment QR code of the first account is used for the merchant's payment device to send to the merchant's settlement device for subsequent payment settlement.
[0089] In another possible scenario, in response to the first account having established a social relationship with the social object, the server sends a no-addition instruction to the merchant's payment device. This no-addition instruction is used to instruct the merchant's payment device not to display the add control on the payment results page.
[0090] If the first account has already established a social relationship with the social object, it means that the merchant payment device does not need to prompt the consumer by displaying the add control, so the server sends an instruction message to the merchant payment device that the add control is not required.
[0091] Optionally, the payment QR code of the first account can be included without adding any instruction information. This payment QR code is used by the merchant's payment device to provide to the merchant's settlement device for subsequent payment settlement.
[0092] Step 412: The merchant payment device receives the addition instruction information returned by the server.
[0093] The "Add Instruction" information is used to direct the display of the "Add Control" on the payment results page. Optionally, the "Add Instruction" information may include the account information of the first account and the payment QR code of the first account.
[0094] Step 414: The server sends the payment result from the first account to the second account to the merchant's payment device.
[0095] The implementation method for this step is the same as step 202 above, and will not be repeated here.
[0096] Step 416: The merchant's payment device receives the payment result.
[0097] The implementation method for this step is the same as step 204 above, and will not be repeated here.
[0098] Step 418: The merchant's payment device displays the payment result page, which includes an added control.
[0099] The implementation method for this step is the same as step 206 above, and will not be repeated here.
[0100] Step 420: In response to the trigger operation on the added control, the merchant payment device sends an add request to the server.
[0101] The implementation method for this step is the same as step 208 above, and will not be repeated here.
[0102] Step 422: The server receives the add request information sent by the merchant's payment device.
[0103] The implementation method for this step is the same as step 210 above, and will not be repeated here.
[0104] Step 424: The server establishes a social relationship between the first account and the social object based on the add request information.
[0105] The implementation method for this step is the same as step 212 above, and will not be repeated here.
[0106] Step 428: The merchant payment device displays the addition result information.
[0107] The implementation method for this step is the same as step 214 above, and will not be repeated here.
[0108] It is understandable that, such as Figure 4 As shown, steps 404 to 412 are the social relationship verification module, steps 414 to 416 are the payment result determination module, and steps 418 to 428 are the social relationship establishment module. This application embodiment does not limit the implementation order of the social relationship verification module and the payment result determination module.
[0109] In one possible implementation, the merchant payment device collects information and sends the payment QR code of the first account to the merchant settlement device. The merchant settlement device then generates a payment request based on the payment QR code of the first account, order information, etc., and requests the server to deduct the payment.
[0110] For example, the scanning information collected by the merchant payment device is biometric data. Since the merchant payment device needs to identify and query the biometric data through the social relationship verification module to obtain the payment QR code of the first account returned by the server, and then proceed with the subsequent payment process, the implementation order of the social relationship verification module is before the implementation order of the payment result determination module.
[0111] For example, the scanned information collected by the merchant payment device is the payment QR code of the first account. Since the merchant payment device has already obtained the payment QR code of the first account, it is not necessary to obtain the payment QR code of the first account returned by the server through the social relationship verification module. Therefore, there is no limitation on the implementation order of the social relationship verification module and the payment result determination module.
[0112] In summary, the method provided in this embodiment involves a merchant payment device collecting scanning information and sending addition verification information carrying the scanning information and the account information of the social object to the service. The server then detects the establishment of a social relationship between the first account and the social object based on the addition verification information, and then instructs the merchant payment device whether to display the addition control. This ensures that the merchant payment device only displays the addition control if the first account has not established a social relationship with the social object, thereby improving the accuracy of the addition control application.
[0113] Based on Figure 4 In an optional embodiment, the merchant payment device may collect biometric data for scanning information. Below, an exemplary implementation of the payment system's information collection and social relationship verification modules is provided when the biometric data is facial data.
[0114] I. Face Collection To enhance the security of facial recognition, merchant payment devices use 3D cameras to collect information.
[0115] For example, through a 3D camera, a merchant payment device can capture different types of image streams, such as RGB image streams, depth image streams, and infrared image streams.
[0116] II. Face Optimization To enhance the reliability of facial recognition, it is necessary to ensure that the facial images provided for facial data contain complete and clear facial images. When multiple facial images are collected, the merchant payment device selects the optimal facial image through a comprehensive evaluation using coefficient indicators, and then sends the facial data corresponding to the optimized facial image to the server. These coefficient indicators include at least one of the following: face size, face angle, image contrast, image brightness, and image sharpness.
[0117] For example, the size of the face in the face image needs to be greater than a size threshold. For example, the angle of the face in the face image needs to be within a preset angle range. For example, the image contrast of the face image needs to be greater than a contrast threshold. For example, the image brightness of the face image needs to be greater than a brightness threshold. For example, the image sharpness of the face image needs to be greater than a sharpness threshold.
[0118] III. Facial Recognition The server performs facial recognition based on the facial data provided by the merchant's payment device.
[0119] For example, after receiving facial data, the server extracts features from the facial data and compares the extracted features with features in a face database to find the target feature with the highest comparison score in the face database. The server then locates the target facial data corresponding to the target feature in the face database and compares the facial data to be identified with the target facial data to complete the identification process.
[0120] After recognition is completed, the server determines the first account corresponding to the facial data and uses the account information of the first account to query the account information of the social object. If no social relationship is established between the account information of the first account and the account of the social object, the server returns the account information of the first account corresponding to the consumer and the payment QR code of the first account to the merchant payment device.
[0121] The following section provides a further explanation of the implementation plan for the payment result determination module.
[0122] Figure 5 A flowchart illustrating a payment behavior-based social method provided in an exemplary embodiment of this application is shown. This embodiment of the application applies this method to... Figure 1 Taking the payment system shown as an example, the method includes: Step 502: The merchant payment device sends payment verification information to the merchant settlement device.
[0123] Merchant payment devices can send payment verification information to merchant settlement devices based on the communication connection between the merchant payment device and the merchant settlement device.
[0124] Optionally, the payment verification information carries the payment QR code of the first account. In one possible implementation, the scanning information collected by the merchant payment device is biometric data. The merchant payment device sends the biometric data to the server, which then identifies and queries the biometric data and returns the payment QR code of the first account to the merchant payment device, thus allowing the merchant payment device to obtain the payment QR code of the first account. In another possible implementation, the scanning information collected by the merchant payment device is simply the payment QR code of the first account.
[0125] Step 504: The merchant's settlement device receives payment verification information.
[0126] The merchant settlement device receives payment verification information sent by the merchant payment device.
[0127] Step 506: The merchant settlement device generates a payment request based on the payment verification information.
[0128] Optionally, after receiving the payment verification information, the merchant settlement device generates a payment request based on the payment QR code of the first account in the received payment verification information and the order information generated by itself.
[0129] The order information can include product information, payment amount, merchant information, order generation time, order number, etc.
[0130] Step 508: The merchant's settlement device sends a payment request to the server.
[0131] Optionally, if the payment verification information includes the payment QR code of the first account, the payment request may also include the payment QR code of the first account. Optionally, the payment request may also include order information.
[0132] Step 510: The server receives the payment request.
[0133] The server receives payment requests sent by the merchant's settlement device.
[0134] Step 512: The server determines the payment result based on the payment request.
[0135] Optionally, the payment request may include the payment QR code of the first account and order information. Optionally, after receiving the payment request, the server may deduct the payment from the payment account corresponding to the payment QR code of the first account to confirm the payment result.
[0136] Step 514: The server sends the payment result to the merchant's payment device.
[0137] After confirming the payment result, the server sends the payment result to the merchant's payment device. Optionally, the server may send the payment result to the merchant's settlement device as well as the payment device.
[0138] Step 516: The merchant's payment device receives the payment result.
[0139] The merchant's payment device receives the payment result sent by the server.
[0140] Step 518: The merchant payment device displays a payment result page, including the added control, based on the payment result and the added instruction information.
[0141] The merchant payment device displays a payment result page, including the addition control, based on the received payment result and the addition instruction information.
[0142] In summary, the method provided in this embodiment allows the merchant payment device to send payment verification information carrying the payment QR code of the first account to the merchant settlement device after obtaining the payment QR code of the first account. The merchant settlement device then initiates a payment request for the order to the server based on the payment verification information. After confirming the payment result, the server sends the payment result to the merchant payment device, thereby fulfilling the need to display a payment result page including added controls on the merchant payment device.
[0143] The following is an exemplary description of the social payment method based on payment behavior provided in this application, with reference to the following embodiments. In this embodiment, the consumer makes a facial recognition payment, that is, the merchant's payment device is a facial recognition terminal, and the scanned information it collects is facial data. Figure 6 As shown, this application scenario includes a merchant mobile terminal 601, a face recognition terminal 602, and a server 603.
[0144] After a merchant creates a group on their mobile app 601, the app stores the corresponding group QR code. Using the QR code to text conversion tool on the app, the group QR code is converted into text information, which is the group's account information, such as XXXX1111. The merchant app 601 then sends this account information to the settings module of the face recognition terminal 602. The settings module of the face recognition terminal 602 writes the group's account information into the merchant configuration module within the settings module, in the format: {groupid:XXXX1111}.
[0145] After the group's account information is set in the face recognition terminal 602, in the payment scenario, the face recognition terminal uses a 3D camera and its face recognition module to capture faces. For example, the 3D camera captures the consumer's face data, obtaining RGB image streams, depth image streams, and infrared image streams. Face selection is performed using factors such as face size, face angle, image contrast, image brightness, and image clarity, comprehensively evaluating and selecting the optimal face image. After successful face selection, the face recognition terminal 602 sends the face data corresponding to the optimal face image to the server 603 for recognition via the network module. The front-end interface of the face recognition terminal 602 enters a loading state, waiting for the server 603 to query the final payment result.
[0146] After receiving face data uploaded from face terminal 602, the face recognition service in server 603 extracts features from the face data and identifies the target feature with the highest comparison score in the face database. It then locates the target face data corresponding to the target feature in the face database and compares the face data to be recognized with the target face data to complete the recognition. Finally, it sends the identified target face data to the basic account service in server 603.
[0147] The basic account service in server 603 supports retrieving the account information of the first account corresponding to the target face data from the basic information database. The basic account service obtains the group's account information (groupid) from the settings module in face terminal 602 via network module forwarding. The basic account service then sends the account information of the first account and the group's account information to the group status service in server 603.
[0148] The group status service in server 603 checks whether the first account has joined the group based on the received account information of the first account and the group's account information. The group status service then reports the detection results back to the basic account service.
[0149] The basic account service in server 603 determines the detection status. If the first account has already joined the group, the basic account service retrieves the first account's payment QR code from the basic information database and sends the first account's account information and payment QR code to the network module in face recognition terminal 602. The first account's payment QR code is then sent by the network module to the merchant settlement device. Figure 6 (Not shown in the image) For subsequent payment, the account information of the first account is sent from the network module to the result page module in the face recognition terminal 602. Upon receiving the payment result from the server 603, the face recognition terminal 602 displays the payment result and the "One-Click Group Joining" control on the payment result page. Upon receiving a trigger operation from the consumer on the "One-Click Group Joining" control, the face recognition terminal 602 reads the groupid from the settings module and the account information of the first account cached in the result page module. It then sends the groupid and the account information of the first account to the group joining service of the server 603 via the network module. The group joining service then adds the first account to the group corresponding to the groupid.
[0150] If the first account has not joined the group, the basic account service retrieves the payment QR code of the first account from the basic information database and sends it to the network module in the face recognition terminal 602. The network module then sends the payment QR code of the first account to the merchant's settlement device for subsequent payment. Since the result page module in the face recognition terminal 602 has not received the account information of the first account, when the face recognition terminal 602 receives the payment result from the server 603, the face recognition terminal 602 only displays the payment result on the payment result page and does not display the "One-Click Group Joining" control.
[0151] The payment system involved in this application embodiment can be a distributed system formed by connecting clients and multiple nodes (any form of computing device in the network, such as servers and user terminals) through network communication.
[0152] Taking a distributed system as an example, see blockchain system. Figure 7 , Figure 7 This is an optional structural diagram of the distributed system 700 provided in this application embodiment applied to a blockchain system. It consists of multiple nodes (any form of computing device in the network, such as servers or user terminals) and clients. The nodes form a peer-to-peer (P2P) network. The P2P protocol is an application layer protocol running on top of the Transmission Control Protocol (TCP). In the distributed system, any machine, such as a server or terminal, can join and become a node. A node includes a hardware layer, a middleware layer, an operating system layer, and an application layer.
[0153] See Figure 7 The functions of each node in the blockchain system shown include: 1) Routing: A basic function of nodes used to support communication between nodes.
[0154] In addition to routing capabilities, nodes can also have the following functions: 2) Applications are deployed in the blockchain to implement specific business needs. They record data related to the implementation of functions to form record data, carry digital signatures in the record data to indicate the source of the task data, and send the record data to other nodes in the blockchain system. When other nodes successfully verify the source and integrity of the record data, they add the record data to a temporary block.
[0155] For example, the business logic implemented by the application includes: 2.1) A wallet is used to provide transaction functions, including initiating transactions (i.e., sending the transaction record of the current transaction to other nodes in the blockchain system; after other nodes successfully verify the transaction, they store the transaction record data in a temporary block of the blockchain as a response to acknowledge the validity of the transaction). 2.2) Shared ledger, used to provide functions such as storage, query and modification of ledger data. It sends the record data of the operation on the ledger data to other nodes in the blockchain system. After the other nodes verify the validity, as a response to acknowledge the validity of the ledger data, they store the record data in a temporary block. They can also send confirmation to the node that initiated the operation.
[0156] 2.3) Smart contracts are computerized protocols that can execute the terms of a contract. They are implemented through code deployed on a shared ledger that executes when certain conditions are met. The code is used to complete automated transactions according to actual business needs. Of course, smart contracts are not limited to executing contracts for transactions; they can also execute contracts for processing received information.
[0157] 3) A blockchain consists of a series of blocks that are sequentially generated. Once a new block is added to the blockchain, it will not be removed. The blocks contain the data submitted by the nodes in the blockchain system.
[0158] See Figure 8 , Figure 8 This is an optional schematic diagram of the block structure provided in this application embodiment. Each block includes the hash value of the transaction records stored in this block (the hash value of this block) and the hash value of the previous block. The blocks are connected through their hash values to form a blockchain. Additionally, the block may include information such as a timestamp when it was generated. A blockchain is essentially a decentralized database, a chain of data blocks linked together using cryptographic methods. Each data block contains relevant information used to verify the validity of the information (anti-counterfeiting) and to generate the next block.
[0159] The following are device embodiments of this application. For details not described in detail in the device embodiments, please refer to the corresponding descriptions in the above method embodiments. They will not be repeated here.
[0160] Figure 9 This illustration shows a schematic diagram of a payment-based social device provided in an exemplary embodiment of this application. The device can be implemented as all or part of a merchant payment device through software, hardware, or a combination of both. The device includes: a display module 901 and an add request sending module 902; The display module 901 is used to display a payment result page, which displays the payment result of the first account making a payment to the second account. The payment result page includes an add control. The add request sending module 902 is used to send add request information to the server in response to the trigger operation on the add control. The add request information is used to request the server to establish the social relationship between the first account and the social object. The social object includes at least one of the third account specified by the second account and the group. The display module 901 is used to display addition result information; the addition result information is used to indicate that the first account and the social object have successfully established the social relationship, or the addition result information is used to indicate that the addition request information has been successfully sent.
[0161] In an optional embodiment, the display module 901 is used to display a notification message indicating that a friend has been successfully added; the notification message indicating that a friend has been successfully added is used to indicate that the first account and the third account have successfully established a friend relationship, or the notification message indicating that the friend addition request information has been successfully sent from the first account to the third account to establish a friend relationship.
[0162] In an optional embodiment, the display module 901 is used to display a notification message indicating that the group has been successfully added; the notification message indicating that the first account has successfully joined the group, or the notification message indicating that the first account's request to join the group has been successfully sent.
[0163] In an optional embodiment, the merchant payment device caches the account information of the social object, and the device further includes: an information collection module and an addition verification module; The information collection module is used to collect scanning information, which includes at least one of biometric data and the payment QR code of the first account; The addition verification module is used to send addition verification information to the server, the addition verification information being used by the server to determine the establishment of the social relationship between the first account and the social object, the addition verification information carrying the scanning information and the account information of the social object; and to receive addition instruction information returned by the server, the addition instruction information being used to instruct the addition control to be displayed on the payment result page.
[0164] In an optional embodiment, the verification module is configured to receive a no-addition instruction returned by the server, the no-addition instruction indicating that the addition control does not need to be displayed on the payment result page.
[0165] In an optional embodiment, the device further includes: a payment result receiving module; The payment result receiving module is used to send payment verification information to the merchant settlement device, the payment verification information being used by the merchant settlement device to generate a payment request, the payment verification information carrying the payment QR code of the first account; and to receive the payment result returned by the server based on the payment request; The display module 901 is used to display the payment result page, including the add control, based on the payment result and the add instruction information.
[0166] Figure 10 This illustration shows a schematic diagram of a payment-based social device provided in an exemplary embodiment of this application. The device can be implemented as all or part of a server through software, hardware, or a combination of both. The device includes: a payment result sending module 1001, an add request receiving module 1002, and a social relationship establishment module 1003. The payment result sending module 1001 is used to send the payment result of the first account making a payment to the second account to the merchant payment device; The add request receiving module 1002 is used to receive add request information sent by the merchant payment device. The add request information is used to request the server to establish a social relationship between the first account and the social object. The social object includes at least one of the third account specified by the second account and a group. The social relationship establishment module 1003 is used to establish a social relationship between the first account and the social object based on the addition request information.
[0167] In an optional embodiment, the apparatus further includes: an addition verification module; the addition verification module is used to, The system receives verification information sent by the merchant's payment device. The verification information carries scanning information and the account information of the social object. The scanning information includes at least one of biometric data and the payment QR code of the first account. Based on the added verification information, the establishment of the social relationship between the first account and the social object is determined; In response to the first account not establishing a social relationship with the social object, an add instruction message is sent to the merchant payment device, which is used to instruct the merchant payment device to display an add control on the payment result page.
[0168] In an optional embodiment, the addition verification module is configured to send an exemption instruction to the merchant payment device in response to the first account having established a social relationship with the social object. The exemption instruction is used to instruct the merchant payment device not to display the addition control on the payment result page.
[0169] In an optional embodiment, the social relationship establishment module 1003 is used to determine the account information of the first account based on the scanning information; and to determine the establishment status of the social relationship between the first account and the social object based on the account information of the first account and the account information of the social object.
[0170] In an optional embodiment, the payment result sending module 1001 is configured to receive a payment request sent by a merchant settlement device, the payment request carrying a payment QR code of the first account; determine the payment result based on the payment request; and send the payment result to the merchant payment device.
[0171] Figure 11 This is a schematic diagram of the structure of a server provided in one embodiment of this application. Specifically, the server 1100 includes a Central Processing Unit (CPU) 1101, a system memory 1104 including Random Access Memory (RAM) 1102 and Read-Only Memory (ROM) 1103, and a system bus 1105 connecting the system memory 1104 and the CPU 1101. The server 1100 also includes a basic input / output system (I / O system) 1106 that facilitates the transfer of information between various devices within the computer, and a mass storage device 1107 for storing the operating system 1113, application programs 1114, and other program modules 1115.
[0172] The basic input / output system 1106 includes a display 1108 for displaying information and an input device 1109, such as a mouse or keyboard, for entering information into a user account. Both the display 1108 and the input device 1109 are connected to the central processing unit 1101 via an input / output controller 1110 connected to the system bus 1105. The basic input / output system 1106 may also include the input / output controller 1110 for receiving and processing input from multiple other devices such as a keyboard, mouse, or electronic stylus. Similarly, the input / output controller 1110 also provides output to a display screen, printer, or other types of output devices.
[0173] Mass storage device 1107 is connected to central processing unit 1101 via a mass storage controller (not shown) connected to system bus 1105. Mass storage device 1107 and its associated computer-readable media provide non-volatile storage for server 1100. That is, mass storage device 1107 may include computer-readable media (not shown) such as hard disk or compact disc read-only memory (CD-ROM) drive.
[0174] Without loss of generality, computer-readable media can include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented using any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media include RAM, ROM, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other solid-state storage technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape cassettes, magnetic tape, disk storage, or other magnetic storage devices. Of course, those skilled in the art will recognize that computer storage media are not limited to the above-mentioned types. The system memory 1104 and mass storage device 1107 described above can be collectively referred to as memory.
[0175] According to various embodiments of this application, server 1100 can also be connected to a remote computer on a network, such as the Internet. That is, server 1100 can be connected to network 1112 via network interface unit 1111 connected to system bus 1105, or it can also use network interface unit 1111 to connect to other types of networks or remote computer systems (not shown).
[0176] This application also provides a terminal, which includes a processor and a memory. The memory stores at least one instruction, which is loaded and executed by the processor to implement the payment behavior-based social methods provided in the above-described method embodiments. It should be noted that the terminal may be as follows: Figure 12 The provided terminal.
[0177] Figure 12A structural block diagram of a terminal 1200 provided in an exemplary embodiment of this application is shown. The terminal 1200 may be a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. The terminal 1200 may also be referred to as a user account device, portable terminal, laptop terminal, desktop terminal, or other names.
[0178] Typically, terminal 1200 includes a processor 1201 and a memory 1202.
[0179] Processor 1201 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1201 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1201 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1201 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 1201 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0180] The memory 1202 may include one or more computer-readable storage media, which may be non-transitory. The memory 1202 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1202 are used to store at least one instruction, which is executed by the processor 1201 to implement the payment behavior-based social method provided in the method embodiments of this application.
[0181] In some embodiments, the terminal 1200 may also optionally include a peripheral device interface 1203 and at least one peripheral device. The processor 1201, memory 1202, and peripheral device interface 1203 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1203 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 1204, a display screen 1205, a camera assembly 1206, an audio circuit 1207, and a power supply 1208.
[0182] Peripheral device interface 1203 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 1201 and memory 1202. In some embodiments, processor 1201, memory 1202 and peripheral device interface 1203 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 1201, memory 1202 and peripheral device interface 1203 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0183] The radio frequency (RF) circuit 1204 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1204 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1204 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Exemplarily, the RF circuit 1204 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user account identity module card, etc. The RF circuit 1204 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 1204 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.
[0184] Display screen 1205 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 1205 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 1201 for processing. In this case, display screen 1205 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 1205, which serves as the front panel of terminal 1200; in other embodiments, there may be at least two display screens 1205, respectively disposed on different surfaces of terminal 1200 or in a folded design; in still other embodiments, display screen 1205 may be a flexible display screen, disposed on a curved or folded surface of terminal 1200. Furthermore, display screen 1205 may also be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 1205 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0185] The camera assembly 1206 is used to acquire images or videos. Exemplarily, the camera assembly 1206 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 1206 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.
[0186] The audio circuit 1207 may include a microphone and a speaker. The microphone is used to collect sound waves from the user account and environment, converting the sound waves into electrical signals that are input to the processor 1201 for processing, or input to the radio frequency circuit 1204 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each positioned at a different location on the terminal 1200. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 1201 or the radio frequency circuit 1204 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 1207 may also include a headphone jack.
[0187] Power supply 1208 is used to power the various components in terminal 1200. Power supply 1208 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 1208 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, and a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0188] In some embodiments, the terminal 1200 further includes one or more sensors 1210. The one or more sensors 1210 include, but are not limited to: an acceleration sensor 1211, a gyroscope sensor 1212, a pressure sensor 1213, an optical sensor 1214, and a proximity sensor 1215.
[0189] Accelerometer 1211 can detect the magnitude of acceleration on the three coordinate axes of a coordinate system established with terminal 1200. For example, accelerometer 1211 can be used to detect the components of gravitational acceleration on the three coordinate axes. Processor 1201 can control display screen 1205 to display the user account interface in either a landscape or portrait view based on the gravitational acceleration signal acquired by accelerometer 1211. Accelerometer 1211 can also be used to acquire motion data for games or user accounts.
[0190] The gyroscope sensor 1212 can detect the orientation and rotation angle of the terminal 1200. The gyroscope sensor 1212, in conjunction with the accelerometer sensor 1211, can collect 3D motion data from the user account on the terminal 1200. Based on the data collected by the gyroscope sensor 1212, the processor 1201 can perform the following functions: motion sensing (e.g., changing the UI based on the user account's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0191] The pressure sensor 1213 can be disposed on the side bezel of the terminal 1200 and / or on the lower layer of the display screen 1205. When the pressure sensor 1213 is disposed on the side bezel of the terminal 1200, it can detect the user's grip signal on the terminal 1200, and the processor 1201 can perform left / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 1213. When the pressure sensor 1213 is disposed on the lower layer of the display screen 1205, the processor 1201 can control the operable controls on the UI interface based on the user's pressure operation on the display screen 1205. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0192] Optical sensor 1214 is used to collect ambient light intensity. In one embodiment, processor 1201 can control the display brightness of display screen 1205 based on the ambient light intensity collected by optical sensor 1214. Specifically, when the ambient light intensity is high, the display brightness of display screen 1205 is increased; when the ambient light intensity is low, the display brightness of display screen 1205 is decreased. In another embodiment, processor 1201 can also dynamically adjust the shooting parameters of camera assembly 1206 based on the ambient light intensity collected by optical sensor 1214.
[0193] The proximity sensor 1215, also known as a distance sensor, is typically mounted on the front panel of the terminal 1200. The proximity sensor 1215 is used to detect the distance between the user account and the front of the terminal 1200. In one embodiment, when the proximity sensor 1215 detects that the distance between the user account and the front of the terminal 1200 is gradually decreasing, the processor 1201 controls the display screen 1205 to switch from a screen-on state to a screen-off state; when the proximity sensor 1215 detects that the distance between the user account and the front of the terminal 1200 is gradually increasing, the processor 1201 controls the display screen 1205 to switch from a screen-off state to a screen-on state.
[0194] Those skilled in the art will understand that Figure 12 The structure shown does not constitute a limitation on terminal 1200 and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0195] The memory also includes one or more programs stored in the memory, and the one or more programs include social methods based on payment behavior provided in the embodiments of this application.
[0196] This application also provides a computer device, which includes a processor and a memory, wherein the storage medium stores at least one instruction, at least one program, code set or instruction set, the at least one instruction, at least one program, code set or instruction set being loaded and executed by the processor to implement the payment behavior-based social method provided in the above-described method embodiments.
[0197] This application also provides a computer-readable storage medium storing at least one instruction, at least one program, code set, or instruction set, which is loaded and executed by a processor to implement the payment behavior-based social method provided in the above-described method embodiments.
[0198] This application also provides a computer program product or computer program including 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 payment-based social method provided in the above-described optional implementation.
[0199] It should be understood that "multiple" as used in this article refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0200] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware, or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0201] The above are merely optional embodiments of this application and are not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A social method based on payment behavior, characterized in that, The method, applied in merchant payment devices that cache account information of social media users, includes: Collect scanning information, which includes at least one of biometric data and a payment QR code for the first account; Send verification information to the server. The verification information is used by the server to determine the establishment of the social relationship between the first account and the social object. The verification information carries the scanning information and the account information of the social object. The server receives an addition instruction, which is used to instruct the display of an addition control on the payment result page. The server is used to query the information carried by the addition verification information. The payment result page displays the payment result of the payment made by the first account to the second account, and the payment result page includes the add control; In response to the trigger operation on the add control, an add request information is sent to the server. The add request information is used to request the server to establish the social relationship between the first account and the social object. The social object includes at least one of a third account specified by the second account and a group. The add request information carries the account information of the first account and the account information of the social object. Display the addition result information; the addition result information is used to indicate that the first account and the social object have successfully established the social relationship, or the addition result information is used to indicate that the addition request information has been successfully sent.
2. The method according to claim 1, characterized in that, The social object includes the third account specified by the second account; The information displayed for adding results includes: Display a message indicating that the friend has been successfully added; The message indicating successful friend addition is used to notify the first account and the third account that a friend relationship has been successfully established, or the message indicating successful friend addition request information sent by the first account to request the third account to establish a friend relationship.
3. The method according to claim 1, characterized in that, The social objects include the groups specified by the second account; The information displayed for adding results includes: Display a message indicating that the group has been successfully added; The group addition success message is used to notify the first account that it has successfully joined the group, or the group addition success message is used to notify the first account that it has successfully sent the addition request message to join the group.
4. The method according to any one of claims 1 to 3, characterized in that, The method further includes: The server returns a no-addition instruction, which indicates that the addition control does not need to be displayed on the payment result page.
5. The method according to any one of claims 1 to 3, characterized in that, The payment result display page includes: Send payment verification information to the merchant settlement device. The payment verification information is used by the merchant settlement device to generate a payment request. The payment verification information carries the payment QR code of the first account. Receive the payment result returned by the server based on the payment request; Based on the payment result and the addition instruction information, the payment result page, including the addition control, is displayed.
6. A social method based on payment behavior, characterized in that, When applied to a server, the method includes: The system receives verification information sent by a merchant's payment device. The verification information carries scanning information and account information of a social media user. The scanning information includes at least one of biometric data and a payment QR code for the first account. Based on the added verification information, the establishment of the social relationship between the first account and the social object is determined, and the server is used to query the information carried by the added verification information; In response to the first account not establishing a social relationship with the social object, an add instruction message is sent to the merchant payment device, the add instruction message being used to instruct the merchant payment device to display an add control on the payment result page; Send the payment result of the first account making a payment to the second account to the merchant payment device; The server receives an add request message sent by the merchant payment device. The add request message is used to request the server to establish a social relationship between the first account and the social object. The social object includes at least one of a third account specified by the second account and a group. The add request message carries the account information of the first account and the account information of the social object. Based on the added request information, a social relationship is established between the first account and the social object.
7. The method according to claim 6, characterized in that, The method further includes: In response to the fact that the first account has established a social relationship with the social object, a no-addition instruction message is sent to the merchant payment device. The no-addition instruction message is used to instruct the merchant payment device not to display the add control on the payment result page.
8. The method according to claim 6, characterized in that, The step of determining the establishment of a social relationship between the first account and the social object based on the added verification information includes: Based on the scanned information, the account information of the first account is determined; Based on the account information of the first account and the account information of the social object, the establishment of the social relationship between the first account and the social object is determined.
9. The method according to any one of claims 6 to 8, characterized in that, The process of sending the payment result from the first account to the second account to the merchant's payment device includes: Receive a payment request sent by the merchant's settlement device, the payment request carrying the payment QR code of the first account; Based on the payment request, the payment result is determined; The payment result is sent to the merchant's payment device.
10. A social device based on payment behavior, characterized in that, The device is used in merchant payment devices, which cache account information of social contacts. The device includes: an information collection module, an addition verification module, a payment result receiving module, a display module, and an addition request sending module. The information collection module is used to collect scanning information, which includes at least one of biometric data and payment QR code of the first account; The added verification module is used to send added verification information to the server. The added verification information is used by the server to determine the establishment of the social relationship between the first account and the social object. The added verification information carries the scanning information and the account information of the social object. The payment result receiving module is used to receive the addition instruction information returned by the server. The addition instruction information is used to instruct the display of the addition control on the payment result page. The server is used to query the information carried by the addition verification information. The display module is used to display the payment result page, which is used to display the payment result of the first account making a payment to the second account. The payment result page includes the add control. The add request sending module is used to send add request information to the server in response to the trigger operation on the add control. The add request information is used to request the server to establish the social relationship between the first account and the social object. The social object includes at least one of a third account specified by the second account and a group. The add request information carries the account information of the first account and the account information of the social object. The display module is used to display the addition result information; the addition result information is used to indicate that the first account and the social object have successfully established the social relationship, or the addition result information is used to indicate that the addition request information has been successfully sent.
11. The apparatus according to claim 10, characterized in that, The display module is used to display a notification message indicating that a friend has been successfully added; the notification message indicates that the first account and the third account have successfully established a friend relationship, or the notification message indicates that the friend request information of the first account requesting to establish a friend relationship with the third account has been successfully sent.
12. A social device based on payment behavior, characterized in that, When used in a server, the device includes: an addition verification module, a payment result sending module, an addition request receiving module, and a social relationship establishment module; The added verification module is used to receive added verification information sent by the merchant's payment device. The added verification information carries scanning information and account information of the social object. The scanning information includes at least one of biometric data and payment QR code of the first account. Based on the added verification information, the establishment of the social relationship between the first account and the social object is determined, and the server is used to query the information carried by the added verification information; In response to the first account not establishing a social relationship with the social object, an add instruction message is sent to the merchant payment device, the add instruction message being used to instruct the merchant payment device to display an add control on the payment result page; The payment result sending module is used to send the payment result of the first account making a payment to the second account to the merchant payment device; The add request receiving module is used to receive add request information sent by the merchant payment device. The add request information is used to request the server to establish a social relationship between the first account and the social object. The social object includes at least one of a third account specified by the second account and a group. The add request information carries the account information of the first account and the account information of the social object. The social relationship establishment module is used to establish a social relationship between the first account and the social object based on the add request information.
13. The apparatus according to claim 12, characterized in that, The added verification module is used to send a no-addition instruction to the merchant payment device in response to the first account having established a social relationship with the social object. The no-addition instruction is used to instruct the merchant payment device not to display the add control on the payment result page.
14. A computer device, characterized in that, The computer device includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set, or an instruction set, wherein the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the payment behavior-based social method as described in any one of claims 1 to 9.
15. A computer-readable storage medium, characterized in that, The storage medium stores at least one instruction, at least one program, code set, or instruction set, wherein the at least one instruction, the at least one program, the code set, or instruction set is loaded and executed by a processor to implement the social method based on payment behavior as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Friend addition methods and device, mobile terminals and readable memory medium
CN109525699A
