Face-scanning payment method, device and face-scanning equipment
By using vibration sensors and cameras in face-scanning equipment and combining recognition technology, intelligently trigger face-scanning payment when the bus arrives at the station, solving the high risk of face-scanning and misidentification problems in the existing technology, and improving the payment process Safety and efficiency.
Patent Information
- Application Number
- CN202111232714.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-22
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2041-10-22
AI Technical Summary
The existing face-scanning technology is difficult to achieve effective screen interaction in an environment where light, temperature, humidity and/or vibration changes in the bus, and cannot intelligently trigger face-scanning, resulting in high risk of face-scanning and incorrect identification outside the warehouse. There are high risks, excessive return log traffic, etc.
By installing a vibration sensor in the face-scanning device, the vibration signal is obtained to determine whether the bus has arrived at the station, and the camera is automatically activated according to the vibration signal, the image at the door is identified to determine the door status and the existence of passengers, and thus intelligently trigger the face-scanning payment process.
It effectively reduces the risk of face-scanning when the bus is full or when the user is stranded in front of the face-scanning equipment, reduces the occurrence of unwilling face-scanning and misidentification outside the warehouse, and improves the security and efficiency of face-scanning payment.
Smart Images

Figure CN113888155B_ABST
Abstract
Description
[Technical field]
[0001] The embodiments of this specification relate to the field of Internet technology, and in particular to a face-scanning payment method, apparatus, and face-scanning device. [Background technology]
[0002] In the field of public transportation, the elderly group accounts for a relatively high proportion. The main card used by the elderly group to travel is still the senior citizen card. For bus companies, in order to prevent the senior citizen cards from being misused, they need to conduct periodic annual inspections of the senior citizen cards. This will first bring inconvenience to the elderly group. Secondly, the bumps and disputes that arise during the annual inspection will undoubtedly bring operational risks and increase the operating costs of the bus.
[0003] To solve the above problems, the existing related technologies have proposed a solution for face-scanning for boarding, which can bring convenience to both bus companies and elderly passengers. However, the light, temperature, humidity and / or vibration in the bus change dramatically, which places high demands on the on-board equipment. At present, most touch screens do not meet the requirements of on-board equipment. Under the condition of limited cost, non-touch screens are the first choice for on-board face-scanning devices. The direct problem brought about by this is that screen interaction cannot be performed during face-scanning for boarding, and users cannot actively trigger face-scanning recognition. In one solution provided by the existing related technologies, a mechanical structure is used to trigger face-scanning recognition, but this solution requires changing the mechanical structure of the existing equipment, which is difficult to implement; in another solution, when the bus is full or someone is stranded in front of the face-scanning device, face-scanning recognition is always started indiscriminately, resulting in a high concentration of unintentional face-scanning, a high risk of misidentification outside the warehouse, and excessive flow of reflux logs.
[0004] Therefore, it is necessary to provide a solution that can effectively sense whether the bus has arrived at the station and intelligently trigger face scanning, thereby effectively reducing the risk of users' willingness to scan their faces when the bus is full or when users are stranded in front of the face scanning device. [Summary of the invention]
[0005] The embodiments of this specification provide a face-scanning payment method, apparatus, and face-scanning device to effectively sense whether a bus has arrived at a station, intelligently trigger face-scanning, and effectively reduce the risk of face-scanning willingness when the bus is full and / or the user is stranded in front of the face-scanning device.
[0006] In a first aspect, an embodiment of the present specification provides a face-scanning payment method, comprising: obtaining a vibration signal from a vibration sensor installed in a face-scanning device; wherein the face-scanning device is arranged on a vehicle; based on the vibration signal within a first predetermined time period before a current moment, starting a camera of the face-scanning device; obtaining an image of a vehicle door captured by the camera; identifying the image at the door; when the recognition result is that the door is in an open state and the image includes a human body, obtaining a facial image of a user captured by the camera; and based on the facial image, deducting the cost of the user's ride in the vehicle from the user's payment account.
[0007] In the above-mentioned face-scanning payment method, after the face-scanning device obtains the vibration signal of the vibration sensor installed in the above-mentioned face-scanning device, the camera of the above-mentioned face-scanning device is started according to the vibration signal within the first predetermined time period before the current moment. Since the vibration signals during the driving of the vehicle and when it stops at the station are different, it can be preliminarily determined that the vehicle has arrived at the station according to the vibration signal within the first predetermined time period before the current moment. At this time, the camera of the above-mentioned face-scanning device can be started, and the face-scanning device can obtain the image of the door of the above-mentioned vehicle captured by the above-mentioned camera, and recognize the image at the above-mentioned door. After recognizing the image at the door, if the recognition result is that the door is in an open state, it can be determined that the vehicle has arrived at the station. The above-mentioned image includes a human body, and it can be determined that there are passengers in the vehicle. At this time, the face-scanning device can start face scanning to obtain the facial image of the user captured by the above-mentioned camera. Therefore, face scanning can be initiated only after the vehicle arrives at the station and detects a human body. Face scanning will not be initiated when the vehicle has not arrived at the station or when the vehicle arrives at the station but no human body is detected. In this way, even if the bus is full and / or the user is stranded in front of the face scanning device, face scanning will not be initiated if the vehicle has not arrived at the station, which can effectively reduce the risk of face scanning willingness when the bus is full and / or the user is stranded in front of the face scanning device.
[0008] In one possible implementation manner, starting the camera of the face scanning device based on the vibration signal within a first predetermined time period before the current moment includes: if the intensity of the vibration signal within the first predetermined time period before the current moment is less than or equal to a predetermined threshold, starting the camera of the face scanning device; and / or if the vibration signal within the first predetermined time period before the current moment is discontinuous, the number of interruptions of the vibration signal is greater than or equal to a predetermined number of times, and the duration of each interruption of the vibration signal is greater than or equal to a predetermined threshold, then starting the camera of the face scanning device.
[0009] In one possible implementation, deducting the cost of the user's ride on the vehicle from the user's payment account based on the facial image includes: sending the facial image to a server connected to the face scanning device so that the server can recognize the facial image, obtaining a user ID of the user based on the recognition result of the facial image, and obtaining a payment account corresponding to the user ID, and deducting the cost of the user's ride on the vehicle from the payment account.
[0010] In one possible implementation, before the server deducts the cost of the user's ride on the vehicle from the payment account, it also includes: if the server repeatedly obtains the payment account within a second predetermined period of time after the payment account is first obtained, then after the second predetermined period of time ends, the payment account is deduplicated; the server deducting the cost of the user's ride on the vehicle from the payment account includes: the server deducting the cost of the user's ride on the vehicle from the payment account retained after the deduplication process.
[0011] In the second aspect, an embodiment of the present specification provides a face-scanning payment device, comprising: an acquisition module, used to acquire a vibration signal of a vibration sensor installed in a face-scanning device; wherein the face-scanning device is arranged on a vehicle; a start module, used to start a camera of the face-scanning device according to a vibration signal within a first predetermined time period before a current moment; the acquisition module is also used to acquire an image of the vehicle door captured by the camera; a recognition module, used to recognize the image at the door; the acquisition module is also used to acquire a facial image of the user captured by the camera when the recognition result of the recognition module is that the door is in an open state and the image includes a human body; a payment module, used to deduct the fee for the user's ride in the vehicle from the user's payment account according to the facial image acquired by the acquisition module.
[0012] In one possible implementation, the start module is specifically used to start the camera of the face scanning device when the intensity of the vibration signal within the first predetermined time before the current moment is less than or equal to a predetermined threshold; and / or, when the vibration signal within the first predetermined time before the current moment is discontinuous, the number of interruptions of the vibration signal is greater than or equal to a predetermined number, and the duration of each interruption of the vibration signal is greater than or equal to a predetermined threshold, start the camera of the face scanning device.
[0013] In one possible implementation, the payment module is specifically used to send the facial image to a server to which the face recognition device is connected, so that the server can recognize the facial image, obtain a user ID of the user based on the recognition result of the facial image, and obtain a payment account corresponding to the user ID, and deduct the cost of the user's ride in the vehicle from the payment account.
[0014] In a third aspect, an embodiment of this specification provides a face recognition device, comprising: a camera; at least one processor; and at least one memory communicatively connected to the processor, wherein: the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute the method provided in the first aspect.
[0015] In a fourth aspect, an embodiment of the present specification provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions enable the computer to execute the method provided in the first aspect.
[0016] It should be understood that the second to fourth aspects of the embodiments of this specification are consistent with the technical solutions of the first aspect of the embodiments of this specification, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated here.
Brief Description of the Drawings
[0017] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 A flowchart of a face-scanning payment method provided in one embodiment of this specification;
[0019] Figure 2 A flow chart of a face-scanning payment method provided in another embodiment of this specification;
[0020] Figure 3 A flowchart of a face-scanning payment method provided in yet another embodiment of this specification;
[0021] Figure 4 A schematic diagram of the structure of a face-scanning payment device provided in one embodiment of this specification;
[0022] Figure 5 A schematic diagram of the structure of a face recognition device provided in one embodiment of this specification. [Specific implementation method]
[0023] In order to better understand the technical solution of this specification, the embodiments of this specification are described in detail below with reference to the accompanying drawings.
[0024] It should be clear that the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.
[0025] The terms used in the embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit this specification. The singular forms "a", "said" and "the" used in the embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0026] In view of the problems existing in the face-scanning scheme used in existing public transportation vehicles, such as the high concentration of unwilling face-scanning, the high risk of misidentification outside the library, and the excessive flow of return logs, this specification provides a face-scanning payment method that combines low-cost vibration sensors with images. The installation and deployment are simple and low-cost, and it can effectively sense whether public transportation vehicles (such as buses) have arrived at the station. After determining that the bus has arrived at the station, face-scanning is intelligently triggered, effectively reducing the risk of face-scanning willingness when the bus is full and / or the user is stranded in front of the device.
[0027] It should be noted that the collection and use of personal information involved in the face-scanning payment method, apparatus, and face-scanning device provided in the embodiments of this specification are legal.
[0028] Figure 1 This is a flow chart of a face-scanning payment method provided in one embodiment of this specification. The face-scanning payment method can be applied to a face-scanning device. Figure 1 As shown, the above-mentioned face-swiping payment method may include:
[0029] Step 102: The face recognition device obtains a vibration signal from a vibration sensor installed in the face recognition device; wherein the face recognition device is arranged on a vehicle.
[0030] Specifically, the vehicle may be a public transportation vehicle, such as a bus, that is, a face recognition device is provided on the bus, and a vibration sensor is installed in the face recognition device. The vibration sensor senses whether the bus is vibrating, and records the vibration signal according to time. Then, the face recognition device may obtain the vibration signal of the vibration sensor. Since the vibration signal is recorded according to time, the vibration signal obtained by the face recognition device here is a time sequence signal.
[0031] Step 104: activating the camera of the face recognition device according to the vibration signal within a first predetermined time period before the current moment.
[0032] Among them, the above-mentioned first predetermined time length can be set according to system performance and / or implementation requirements during specific implementation. This embodiment does not limit the length of the above-mentioned first predetermined time length. For example, the above-mentioned first predetermined time length can be 1 minute.
[0033] Specifically, since the vibration signals during the driving process and when the vehicle stops at the station are different, it can be preliminarily determined that the vehicle has arrived at the station based on the vibration signal within the first predetermined time period before the current moment, and the camera of the face recognition device can be activated at this time. That is to say, in this embodiment, the face recognition device will only activate the camera of the face recognition device after it is preliminarily determined that the vehicle has arrived at the station based on the vibration signal.
[0034] Step 106, obtaining the image of the vehicle door captured by the camera.
[0035] Step 108, identifying the image at the vehicle door.
[0036] Step 110: When the recognition result is that the door is in an open state and the image includes a human body, a facial image of the user captured by the camera is obtained.
[0037] In this embodiment, the face scanning device starts the camera of the face scanning device only after it is preliminarily determined that the vehicle has arrived at the station according to the vibration signal. Then the face scanning device can obtain the image of the vehicle door captured by the camera and identify the image of the vehicle door. After identifying the image at the door, if the recognition result is that the door is in an open state, it can be determined that the vehicle has arrived at the station. The image includes a human body, and it can be determined that there are passengers in the vehicle. At this time, the face scanning device can start face scanning and obtain the user's facial image captured by the camera. In this way, face scanning can be started only after the vehicle arrives at the station and a human body is detected. When the vehicle has not arrived at the station or the vehicle arrives at the station but no human body is detected, face scanning will not be started. In this way, even if the bus is full and / or the user is stranded in front of the face scanning device, if the vehicle has not arrived at the station, face scanning will not be started, which can effectively reduce the risk of face scanning willingness when the bus is full and / or the user is stranded in front of the face scanning device.
[0038] Step 112, based on the facial image, deduct the cost of the user's ride in the vehicle from the user's payment account.
[0039] In the above-mentioned face-scanning payment method, after the face-scanning device obtains the vibration signal of the vibration sensor installed in the above-mentioned face-scanning device, the camera of the above-mentioned face-scanning device is started according to the vibration signal within the first predetermined time period before the current moment. Since the vibration signals during the driving of the vehicle and when it stops at the station are different, it can be preliminarily determined that the vehicle has arrived at the station according to the vibration signal within the first predetermined time period before the current moment. At this time, the camera of the above-mentioned face-scanning device can be started, and the face-scanning device can obtain the image of the door of the above-mentioned vehicle captured by the above-mentioned camera, and recognize the image at the above-mentioned door. After recognizing the image at the door, if the recognition result is that the door is in an open state, it can be determined that the vehicle has arrived at the station. The above-mentioned image includes a human body, and it can be determined that there are passengers in the vehicle. At this time, the face-scanning device can start face scanning to obtain the facial image of the user captured by the above-mentioned camera. Therefore, face scanning can be initiated only after the vehicle arrives at the station and detects a human body. Face scanning will not be initiated when the vehicle has not arrived at the station or when the vehicle arrives at the station but no human body is detected. In this way, even if the bus is full and / or the user is stranded in front of the face scanning device, face scanning will not be initiated if the vehicle has not arrived at the station, which can effectively reduce the risk of face scanning willingness when the bus is full and / or the user is stranded in front of the face scanning device.
[0040] Figure 2 A flow chart of a face-scanning payment method provided in another embodiment of this specification is as follows: Figure 2 As shown in this manual Figure 1 In the illustrated embodiment, step 104 may include:
[0041] Step 202: if the strength of the vibration signal within the first predetermined time period before the current moment is less than or equal to a predetermined threshold, the camera of the face recognition device is started; and / or, if the vibration signal within the first predetermined time period before the current moment is discontinuous, the number of interruptions of the vibration signal is greater than or equal to a predetermined number of times, and the duration of each interruption of the vibration signal is greater than or equal to a predetermined threshold, the camera of the face recognition device is started.
[0042] Among them, the above-mentioned predetermined number of times can be set by oneself in specific implementation according to system performance and / or implementation requirements, etc., and the present embodiment does not limit the size of the above-mentioned predetermined number of times. For example, the above-mentioned predetermined number of times can be 5; similarly, the above-mentioned predetermined threshold value can also be set by oneself in specific implementation according to system performance and / or implementation requirements, etc., and the present embodiment does not limit the size of the above-mentioned predetermined threshold value. For example, the above-mentioned predetermined threshold value can be 5 seconds.
[0043] Figure 3 A flow chart of a face-scanning payment method provided in another embodiment of this specification is as follows: Figure 3 As shown in this manual Figure 1 In the illustrated embodiment, step 112 may include:
[0044] In step 302, the face recognition device sends the facial image to the server to which the face recognition device is connected, so that the server can recognize the facial image, obtain the user ID of the user based on the recognition result of the facial image, and obtain the payment account corresponding to the user ID, and deduct the cost of the user's ride from the payment account.
[0045] Furthermore, before the server deducts the user's vehicle ride fee from the above-mentioned payment account, if the server repeatedly obtains the above-mentioned payment account within a second predetermined period of time after the above-mentioned payment account is first obtained, then after the second predetermined period of time ends, the above-mentioned payment account will be deduplicated; in this way, the server deducts the user's vehicle ride fee from the above-mentioned payment account as follows: the server deducts the user's vehicle ride fee from the payment account retained after the deduplication processing.
[0046] That is to say, in specific implementation, after starting face scanning, there may be a situation where the face scanning device obtains the facial image of the same user multiple times within the second predetermined time period. Therefore, if the server obtains the payment account again within the second predetermined time period after obtaining the payment account for the first time, in order to avoid repeated deductions, the server needs to deduplicate the obtained payment account, and then deduct the fee for the user's ride on the above vehicle from the payment account retained after deduplication. In this way, it can effectively avoid repeated deductions from the same payment account.
[0047] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0048] Figure 4 A schematic diagram of the structure of a face-scanning payment device provided in one embodiment of this specification, such as Figure 4 As shown, the above-mentioned face-scanning payment device may include: an acquisition module 41, a start module 42, an identification module 43 and a payment module 44;
[0049] An acquisition module 41 is used to acquire a vibration signal of a vibration sensor installed in a face recognition device; wherein the face recognition device is installed in a vehicle;
[0050] A starting module 42, configured to start the camera of the face recognition device according to a vibration signal within a first predetermined time period before the current moment;
[0051] Furthermore, the acquisition module 41 is also used to acquire the image of the vehicle door captured by the camera;
[0052] A recognition module 43, used for recognizing the image at the door;
[0053] Furthermore, the acquisition module 41 is further configured to acquire a facial image of the user captured by the camera when the recognition result of the recognition module 43 is that the vehicle door is in an open state and the image includes a human body;
[0054] The payment module 44 is used to deduct the cost of the user's ride on the vehicle from the user's payment account based on the facial image obtained by the obtaining module 41.
[0055] In this embodiment, the starting module 42 is specifically used to start the camera of the face recognition device when the intensity of the vibration signal within the first predetermined time before the current moment is less than or equal to a predetermined threshold; and / or, when the vibration signal within the first predetermined time before the current moment is discontinuous, the number of interruptions of the vibration signal is greater than or equal to a predetermined number of times, and the duration of each interruption of the vibration signal is greater than or equal to a predetermined threshold, start the camera of the face recognition device.
[0056] The payment module 44 is specifically used to send the above-mentioned facial image to the server connected to the above-mentioned face recognition device, so that the server can recognize the above-mentioned facial image, obtain the user identification of the above-mentioned user according to the recognition result of the above-mentioned facial image, and obtain the payment account corresponding to the above-mentioned user identification, and deduct the fee for the user's ride in the above-mentioned vehicle from the above-mentioned payment account.
[0057] Figure 4 The face-scanning payment device provided in the embodiment shown can be used to implement the present invention. Figure 1 to Figure 3 The technical solution of the method embodiment shown, its implementation principle and technical effects can be further referred to the relevant description in the method embodiment.
[0058] Figure 5 A schematic diagram of the structure of a face recognition device provided in one embodiment of this specification is shown in FIG. Figure 5 As shown, the face recognition device may include a camera; at least one processor; and at least one memory in communication with the processor, wherein: the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute the instructions of this specification. Figure 1 to Figure 3 The illustrated embodiment provides a face-scanning payment method.
[0059] The face recognition device may be installed in a vehicle, such as a bus. The embodiment does not limit the installation method of the face recognition device.
[0060] Figure 5A block diagram of an exemplary face scanning device suitable for implementing the embodiments of the present specification is shown. Figure 5 The face recognition device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of this specification.
[0061] like Figure 5 As shown, the face recognition device is in the form of a general computing device. The components of the face recognition device may include but are not limited to: one or more processors 410, a communication interface 420, a memory 430, a camera 440, and a communication bus 450 connecting different components (including the memory 430, the communication interface 420, the processing unit 410 and the camera 440).
[0062] The communication bus 450 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, or a local bus using any of a variety of bus structures. For example, the communication bus 450 may include, but is not limited to, an industry standard architecture (ISA) bus, a micro channel architecture (MAC) bus, an enhanced ISA bus, a video electronics standards association (VESA) local bus, and a peripheral component interconnection (PCI) bus.
[0063] The face scanning device typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the face scanning device, including volatile and non-volatile media, removable and non-removable media.
[0064] The memory 430 may include a computer system readable medium in the form of a volatile memory, such as a random access memory (RAM) and / or a cache memory. The memory 430 may include at least one program product having a set (e.g., at least one) of program modules configured to execute the instructions of the present invention. Figure 1 to Figure 3 Functionality of the illustrated embodiment.
[0065] A program / utility having a set (at least one) of program modules may be stored in the memory 430, such program modules including - but not limited to - an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include the implementation of a network environment. The program modules generally execute the instructions in this specification. Figure 1 to Figure 3 The functions and / or methods in the described embodiments.
[0066] The processor 410 executes various functional applications and data processing by running the programs stored in the memory 430, such as implementing the present specification. Figure 1 to Figure 3 The illustrated embodiment provides a face-scanning payment method.
[0067] The embodiment of the present specification provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, wherein the computer instructions enable the computer to execute the present specification. Figure 1 to Figure 3 The illustrated embodiment provides a face-scanning payment method.
[0068] The above-mentioned non-transient computer-readable storage medium can adopt any combination of one or more computer-readable media. Computer-readable media can be computer-readable signal media or computer-readable storage media. Computer-readable storage media can be, for example, - but not limited to - electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. More specific examples (non-exhaustive lists) of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memories (RAM), read-only memories (read only memory, ROM), erasable programmable read-only memories (erasable programmable read only memory, EPROM) or flash memory, optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this document, computer-readable storage media can be any tangible medium containing or storing programs, which can be used by instruction execution systems, devices or devices or used in combination with them.
[0069] Computer-readable signal media may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0070] The program code embodied on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
[0071] Computer program code for performing the operations of the present specification may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0072] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0073] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of this specification. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0074] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this specification, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0075] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of this specification includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of this specification belong.
[0076] The word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0077] It should be noted that the terminals involved in the embodiments of this specification may include but are not limited to personal computers (PCs), personal digital assistants (PDAs), wireless handheld devices, tablet computers, mobile phones, MP3 players, MP4 players, etc.
[0078] In the several embodiments provided in this specification, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0079] In addition, each functional unit in each embodiment of this specification may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0080] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the method described in each embodiment of this specification. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes.
[0081] The above description is only a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this specification should be included in the scope of protection of this specification.
Claims
1. A face-scanning payment method, comprising: Acquire a vibration signal of a vibration sensor installed in a face recognition device; wherein the face recognition device is arranged on a vehicle; After determining that the vehicle has arrived at the station based on the vibration signal within a first predetermined time period before the current moment, activating the camera of the face recognition device; Acquire the image of the vehicle door captured by the camera; Recognizing the image at the vehicle door; When the recognition result of the image at the vehicle door is that the vehicle door is in an open state and the image includes a human body, acquiring a facial image of the user captured by the camera; Based on the facial image, the cost of the user's ride in the vehicle is deducted from the user's payment account.
2. The method according to claim 1, wherein: The step of activating the camera of the face recognition device according to the vibration signal within a first predetermined time period before the current moment includes: If the intensity of the vibration signal within the first predetermined time period before the current moment is less than or equal to a predetermined threshold, then starting the camera of the face recognition device; and / or, If the vibration signal within the first predetermined time period before the current moment is discontinuous, the number of interruptions of the vibration signal is greater than or equal to the predetermined number of times, and the duration of each interruption of the vibration signal is greater than or equal to a predetermined threshold, the camera of the face recognition device is started.
3. The method according to claim 1, wherein: The deducting the fee for the user's current ride on the vehicle from the user's payment account according to the facial image includes: The facial image is sent to a server connected to the face recognition device so that the server can recognize the facial image, obtain the user ID of the user and the payment account corresponding to the user ID based on the recognition result of the facial image, and deduct the fee for the user's ride in the vehicle from the payment account.
4. The method according to claim 3, wherein: Before the server deducts the fee for the user's ride on the vehicle from the payment account, the method further includes: If the server repeatedly obtains the payment account within a second predetermined period of time after the payment account is first obtained, then after the second predetermined period of time ends, the payment account is deduplicated; The server deducts the fee for the user's ride on the vehicle from the payment account including: The server deducts the cost of the user's ride on the vehicle from the payment account retained after the deduplication process.
5. A face-scanning payment device, comprising: An acquisition module, used to acquire a vibration signal of a vibration sensor installed in a face recognition device; wherein the face recognition device is arranged on a vehicle; A starting module, configured to start the camera of the face recognition device after determining that the vehicle has arrived at the station based on a vibration signal within a first predetermined time period before the current moment; The acquisition module is further used to acquire the image of the vehicle door captured by the camera; A recognition module, used for recognizing the image at the vehicle door; The acquisition module is further configured to acquire a facial image of the user captured by the camera when the recognition result of the recognition module is that the vehicle door is in an open state and the image includes a human body; The payment module is used to deduct the fee for the user's ride on the vehicle from the user's payment account based on the facial image obtained by the acquisition module.
6. The device according to claim 5, wherein: The starting module is specifically used to start the camera of the face scanning device when the intensity of the vibration signal within the first predetermined time before the current moment is less than or equal to a predetermined threshold; and / or to start the camera of the face scanning device when the vibration signal within the first predetermined time before the current moment is discontinuous, the number of interruptions of the vibration signal is greater than or equal to a predetermined number of times, and the duration of each interruption of the vibration signal is greater than or equal to a predetermined threshold.
7. The device according to claim 5, wherein: The payment module is specifically used to send the facial image to the server connected to the face scanning device so that the server can recognize the facial image, obtain the user ID of the user based on the recognition result of the facial image, and obtain the payment account corresponding to the user ID, and deduct the fee for the user's ride in the vehicle from the payment account.
8. A face recognition device, comprising: Camera; at least one processor; as well as at least one memory in communication with the processor, wherein: The memory stores program instructions executable by the processor, and the processor can execute the method according to any one of claims 1 to 4 by calling the program instructions. 9 . A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions enable the computer to execute the method according to claim 1 .
Citation Information
Patent Citations
Vehicle position determination method and device, electronic equipment and vehicle-mounted equipment
CN111368765A
Face-scanning payment method and device, face-scanning equipment and server
CN112541767A