CN108171832B - Unlocking method of shared bicycle and mobile terminal - Google Patents
Unlocking method of shared bicycle and mobile terminal Download PDFInfo
- Publication number
- CN108171832B CN108171832B CN201711401727.0A CN201711401727A CN108171832B CN 108171832 B CN108171832 B CN 108171832B CN 201711401727 A CN201711401727 A CN 201711401727A CN 108171832 B CN108171832 B CN 108171832B
- Authority
- CN
- China
- Prior art keywords
- target user
- shared bicycle
- age
- unlocking
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00563—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys using personal physical data of the operator, e.g. finger prints, retinal images, voicepatterns
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0645—Rental transactions; Leasing transactions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/168—Feature extraction; Face representation
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F17/00—Coin-freed apparatus for hiring articles; Coin-freed facilities or services
- G07F17/0042—Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects
- G07F17/0057—Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects for the hiring or rent of vehicles, e.g. cars, bicycles or wheelchairs
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Theoretical Computer Science (AREA)
- Finance (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Telephone Function (AREA)
Abstract
The invention provides an unlocking method of a shared bicycle and a mobile terminal, and solves the problems that the existing shared bicycle can be ridden only by scanning a two-dimensional code through an account number, children and adults cannot be identified, and great potential safety hazards exist. The unlocking method of the invention comprises the following steps: in the process of verifying unlocking information of a shared bicycle, facial features of a target user are obtained; determining a target age group corresponding to the facial features of the target user according to the facial features corresponding to different age groups in a face database; and if the target age group is in a preset age group and the unlocking information passes the verification, controlling the shared bicycle to unlock. According to the embodiment of the invention, the age of the user is identified through the facial features, and the shared bicycle is unlocked only when the age of the user is in the preset age range, so that the user who does not meet the age of the user can be effectively prevented from using the shared bicycle, and potential safety hazards caused by the use of children in the bicycle are reduced.
Description
Technical Field
The invention relates to the technical field of communication application, in particular to an unlocking method of a shared bicycle and a mobile terminal.
Background
At present, bicycles are used as main transportation tools for short trips, and sharing the use rules of taking and parking bicycles at any time brings great convenience to people.
Although the shared bicycle in the market is pasted with a logo which is forbidden to ride in the age of less than 12 years old, the shared bicycle can be ridden by a software design only by scanning a two-dimensional code through an account number, and children and adults cannot be identified. And many children now use parent's cell-phone scanning two-dimensional code alright ride sharing bicycle, have very big potential safety hazard.
Disclosure of Invention
The invention aims to provide an unlocking method of a shared bicycle and a mobile terminal, and aims to solve the problems that the existing shared bicycle can be ridden only by scanning a two-dimensional code through an account number, children and adults cannot be identified, and great potential safety hazards exist.
In a first aspect, an embodiment of the present invention provides an unlocking method for a shared bicycle, which is applied to a mobile terminal, and includes:
in the process of verifying unlocking information of a shared bicycle, facial features of a target user are obtained;
determining a target age group corresponding to the facial features of the target user according to the facial features corresponding to different age groups in a face database;
and if the target age group is in a preset age group and the unlocking information passes the verification, controlling the shared bicycle to unlock.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including:
the first acquisition module is used for acquiring the facial features of a target user in the process of verifying the unlocking information of the shared bicycle;
the determining module is used for determining a target age group corresponding to the facial features of the target user according to the facial features corresponding to different age groups in the face database;
and the first control module is used for controlling the shared bicycle to unlock if the target age group is in a preset age group and the unlocking information passes verification.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including a memory, a processor, and an unlocking program of a shared bicycle, which is stored in the memory and can be run on the processor, where the processor implements the steps in the unlocking method of the shared bicycle when executing the unlocking program of the shared bicycle.
In the embodiment of the invention, the facial features of a target user are obtained in the process of verifying the unlocking information of the shared bicycle; determining a target age group corresponding to the facial features of the target user according to the facial features corresponding to different age groups in a face database; and if the target age group is in a preset age group and the unlocking information passes the verification, controlling the shared bicycle to unlock. According to the embodiment of the invention, the age of the user is identified through the facial features, and the shared bicycle is unlocked only when the age of the user is in the preset age range, so that the user who does not meet the age of the user can be effectively prevented from using the shared bicycle, and potential safety hazards caused by the use of children in the bicycle are reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flowchart of a method for unlocking a shared bicycle according to an embodiment of the present invention;
FIG. 2 is a second flowchart of the unlocking method of the shared bicycle according to the embodiment of the present invention;
fig. 3 is a block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a second block diagram of a mobile terminal according to the embodiment of the present invention;
fig. 5 is a block diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides an unlocking method for a shared bicycle, which is applied to a mobile terminal, and includes:
step 101: in the process of verifying the unlocking information of the shared bicycle, the facial features of the target user are obtained.
Specifically, in the process of verifying the unlocking two-dimensional code by controlling the first camera of the mobile terminal, the second camera of the mobile terminal is controlled to acquire the facial features of the target user, and here, the second camera of the mobile terminal is directly controlled to acquire the facial features without adding new hardware, so that the hardware cost is saved, and the method is easy to implement.
For example, the user starts the app of the shared bicycle application program, starts the rear camera to scan the unlocking two-dimensional code, simultaneously starts the front camera to identify face information, and prompts the user to perform face identification if the face is not detected, aligns the face, and re-identifies to obtain the facial features of the target user.
Step 102: and determining a target age group corresponding to the facial features of the target user according to the facial features corresponding to different age groups in the face database.
The terminal stores the corresponding facial features of users in different age groups in advance, matches the recognized facial features and determines the age group of the target user.
Step 103: and if the target age group is in a preset age group and the unlocking information passes the verification, controlling the shared bicycle to unlock.
If the unlocking two-dimensional code is successfully scanned, and the target age section is in the preset age section, namely the age of the target user accords with the age of the bicycle, the shared bicycle is controlled to be unlocked.
The preset age range can be set according to specific requirements, such as less than 12 years old or more than 70 years old.
According to the unlocking method of the shared bicycle, the facial features of the target user are obtained in the process of verifying the unlocking information of the shared bicycle; determining a target age group corresponding to the facial features of the target user according to the facial features corresponding to different age groups in a face database; and if the target age group is in a preset age group and the unlocking information passes the verification, controlling the shared bicycle to unlock. According to the embodiment of the invention, the age of the user is identified through the facial features, and the shared bicycle is unlocked only when the age of the user is in the preset age range, so that the user who does not meet the age of the user can be effectively prevented from using the shared bicycle, and potential safety hazards caused by the use of children in the bicycle are reduced.
Further, as shown in fig. 2, after the step 102, the method further includes:
step 104: and if the target age group is outside a preset age group, acquiring the identity identification information of the target user, wherein the identity identification information comprises the age of the target user and the face image of the target user.
The identification information may be identification card information, and the age of the user is obtained according to the identification card information, and a face image on the identification card is obtained.
Step 105: and if the facial image of the target user is successfully matched with the facial features of the target user, the age of the target user is in a preset age range, and the unlocking information passes the verification, controlling the shared bicycle to unlock, otherwise, refusing to unlock the shared bicycle.
Specifically, when the age of the target user is identified and the age of the vehicle is not satisfied, the user can click the misidentification correction button, the terminal opens the authentication, prompts to input the identification number, matches the face information with the face information of the identification card, if the matching is successful and the age of the identification card satisfies the age of the vehicle, the unlocking is successful, and if the matching is not successful, the unlocking is failed.
When the target age group is beyond the preset age group, further acquiring the identification information of the user, and further verifying the facial features and the age of the user to ensure the accuracy of verification.
Further, if the matching between the facial image of the target user and the facial features of the target user is successful, the age of the target user is in a preset age range, and the unlocking information passes the verification, the method further comprises the following steps of controlling the shared bicycle to unlock:
and updating the face database according to the age of the target user and the face image of the target user.
Here, the facial features of the age group of the target user in the face database are updated according to the age and face image of the target user to ensure the accuracy of the next verification.
Further, after the step of rejecting unlocking the shared bicycle, the method further includes:
and sending reminding information to a target contact person corresponding to the target user according to a pre-stored corresponding relationship between the user and the contact person.
Specifically, after the user downloads and installs the shared bicycle app through the app store, the user needs to fill in an identity card number for registration or login, and meanwhile, a dialog box pops up to prompt the user to fill in a preset contact mode (WeChat, qq, telephone or mail and the like). And after the shared bicycle is refused to be unlocked, sending the face image of the target user to the target contact person for reminding. According to the invention, the unlocking limitation is carried out on the users which do not conform to the age of the child car, so that the potential safety hazard of the child car is reduced.
According to the unlocking method of the shared bicycle, the facial features of the target user are obtained in the process of verifying the unlocking information of the shared bicycle; determining a target age group corresponding to the facial features of the target user according to the facial features corresponding to different age groups in a face database; and if the target age group is in a preset age group and the unlocking information passes the verification, controlling the shared bicycle to unlock. According to the embodiment of the invention, the age of the user is identified through the facial features, and the shared bicycle is unlocked only when the age of the user is in the preset age range, so that the user who does not meet the age of the user can be effectively prevented from using the shared bicycle, and potential safety hazards caused by the use of children in the bicycle are reduced.
As shown in fig. 3, an embodiment of the present invention further provides a mobile terminal 300, including:
the first obtaining module 301 is configured to obtain a facial feature of a target user in a process of verifying unlocking information of a shared bicycle;
a determining module 302, configured to determine a target age group corresponding to the facial features of the target user according to facial features corresponding to different age groups in a face database;
the first control module 303 is configured to control the shared bicycle to unlock if the target age group is in a preset age group and the unlocking information passes verification.
As shown in fig. 4, the mobile terminal according to the embodiment of the present invention further includes:
a second obtaining module 304, configured to obtain identity information of a target user if the target age group is outside a preset age group, where the identity information includes an age of the target user and a face image of the target user;
and a second control module 305, configured to control the shared bicycle to unlock if the facial image of the target user is successfully matched with the facial features of the target user, and the age of the target user is in a preset age range, and the unlocking information passes verification, otherwise, the shared bicycle is rejected to be unlocked.
The mobile terminal of the embodiment of the invention also comprises:
and the updating module 306 is configured to update the face database according to the age of the target user and the face image of the target user.
The mobile terminal of the embodiment of the invention also comprises:
and the reminding module 307 is configured to send reminding information to a target contact corresponding to the target user according to a pre-stored correspondence between the user and the contact.
In the mobile terminal according to the embodiment of the present invention, the first obtaining module 301 is configured to control the second camera of the mobile terminal to obtain the facial features of the target user in a process of controlling the first camera of the mobile terminal to verify the unlocking two-dimensional code.
It should be noted that the mobile terminal is a mobile terminal corresponding to the above method embodiment, and all implementation manners in the above method embodiment are applicable to the embodiment of the mobile terminal, and the same technical effect can be achieved.
The mobile terminal of the embodiment of the invention obtains the facial features of the target user in the process of verifying the unlocking information of the shared bicycle; determining a target age group corresponding to the facial features of the target user according to the facial features corresponding to different age groups in a face database; and if the target age group is in a preset age group and the unlocking information passes the verification, controlling the shared bicycle to unlock. According to the embodiment of the invention, the age of the user is identified through the facial features, and the shared bicycle is unlocked only when the age of the user is in the preset age range, so that the user who does not meet the age of the user can be effectively prevented from using the shared bicycle, and potential safety hazards caused by the use of children in the bicycle are reduced.
Fig. 5 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 5 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 510 is configured to obtain a facial feature of a target user in a process of verifying unlocking information of a shared bicycle; determining a target age group corresponding to the facial features of the target user according to the facial features corresponding to different age groups in a face database; and if the target age group is in a preset age group and the unlocking information passes the verification, controlling the shared bicycle to unlock.
According to the technical scheme of the embodiment of the invention, in the process of verifying the unlocking information of the shared bicycle, the facial features of the target user are obtained; determining a target age group corresponding to the facial features of the target user according to the facial features corresponding to different age groups in a face database; and if the target age group is in a preset age group and the unlocking information passes the verification, controlling the shared bicycle to unlock. According to the embodiment of the invention, the age of the user is identified through the facial features, and the shared bicycle is unlocked only when the age of the user is in the preset age range, so that the user who does not meet the age of the user can be effectively prevented from using the shared bicycle, and potential safety hazards caused by the use of children in the bicycle are reduced.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 502, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the mobile terminal 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 508 is an interface through which an external device is connected to the mobile terminal 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 500 or may be used to transmit data between the mobile terminal 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the mobile terminal. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The mobile terminal 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 500 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor, a memory, and an unlocking program of the shared bicycle, which is stored in the memory and can be run on the processor, and when the unlocking program of the shared bicycle is executed by the processor, the unlocking program of the shared bicycle implements each process of the unlocking method embodiment of the shared bicycle, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The embodiment of the invention also provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program realizes each process of the unlocking method embodiment of the shared bicycle, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (7)
1. An unlocking method of a shared bicycle is applied to a mobile terminal, and is characterized by comprising the following steps:
in the process of verifying unlocking information of a shared bicycle, facial features of a target user are obtained;
determining a target age group corresponding to the facial features of the target user according to the facial features corresponding to different age groups in a face database;
if the target age group is in a preset age group and the unlocking information passes verification, controlling the shared bicycle to unlock;
the unlocking method further comprises the following steps:
if the target age group is outside a preset age group, acquiring identity identification information of a target user, wherein the identity identification information comprises the age of the target user and a face image of the target user;
if the facial image of the target user is successfully matched with the facial features of the target user, the age of the target user is in a preset age range, and the unlocking information passes verification, controlling the shared bicycle to unlock, otherwise, refusing to unlock the shared bicycle;
if the matching between the facial image of the target user and the facial features of the target user is successful, the age of the target user is in a preset age range, and the unlocking information passes the verification, the method further comprises the following steps of controlling the shared bicycle to unlock:
updating the face database according to the age of the target user and the face image of the target user;
in the process of verifying the unlocking information of the shared bicycle, the facial features of the target user are obtained, and the method comprises the following steps:
and starting a camera to identify face information, if the face is not detected, prompting a user that face identification needs to be carried out, aligning the face, and re-identifying.
2. The method for unlocking a shared bicycle according to claim 1, wherein the step of rejecting unlocking the shared bicycle further comprises, after the step of rejecting unlocking the shared bicycle:
and sending reminding information to a target contact person corresponding to the target user according to a pre-stored corresponding relationship between the user and the contact person.
3. The method for unlocking a shared bicycle according to claim 1, wherein the step of obtaining the facial features of the target user during the verification of the unlocking information of the shared bicycle comprises:
in the process of controlling the first camera of the mobile terminal to verify the unlocking two-dimensional code, controlling the second camera of the mobile terminal to acquire the facial features of the target user.
4. A mobile terminal, comprising:
the first acquisition module is used for acquiring the facial features of a target user in the process of verifying the unlocking information of the shared bicycle;
the determining module is used for determining a target age group corresponding to the facial features of the target user according to the facial features corresponding to different age groups in the face database;
the first control module is used for controlling the shared bicycle to unlock if the target age group is in a preset age group and the unlocking information passes verification;
the mobile terminal further includes:
the second obtaining module is used for obtaining the identity information of the target user if the target age group is outside a preset age group, wherein the identity information comprises the age of the target user and a face image of the target user;
the second control module is used for controlling the shared bicycle to unlock if the facial image of the target user is successfully matched with the facial features of the target user, the age of the target user is in a preset age range and the unlocking information passes verification, and otherwise, the shared bicycle is refused to be unlocked;
further comprising:
the updating module is used for updating the face database according to the age of the target user and the face image of the target user;
the first obtaining module is further configured to:
and starting a camera to identify face information, if the face is not detected, prompting a user that face identification needs to be carried out, aligning the face, and re-identifying.
5. The mobile terminal of claim 4, further comprising:
and the reminding module is used for sending reminding information to the target contact person corresponding to the target user according to the pre-stored corresponding relation between the user and the contact person.
6. The mobile terminal according to claim 4, wherein the first obtaining module is configured to control a second camera of the mobile terminal to obtain the facial features of the target user in a process of controlling the first camera of the mobile terminal to verify the unlocking two-dimensional code.
7. A mobile terminal, comprising a memory, a processor and an unlocking program for a shared bicycle stored in the memory and operable on the processor, wherein the processor implements the steps of the unlocking method for a shared bicycle according to any one of claims 1 to 3 when executing the unlocking program for a shared bicycle.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711401727.0A CN108171832B (en) | 2017-12-22 | 2017-12-22 | Unlocking method of shared bicycle and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711401727.0A CN108171832B (en) | 2017-12-22 | 2017-12-22 | Unlocking method of shared bicycle and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108171832A CN108171832A (en) | 2018-06-15 |
CN108171832B true CN108171832B (en) | 2021-01-08 |
Family
ID=62523566
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711401727.0A Active CN108171832B (en) | 2017-12-22 | 2017-12-22 | Unlocking method of shared bicycle and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108171832B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109671192B (en) * | 2018-12-12 | 2022-03-04 | 歌尔科技有限公司 | Method for unlocking intelligent door lock by utilizing earphone and earphone |
CN111414782B (en) * | 2019-01-08 | 2021-06-11 | 徐莎莎 | Face identification security control platform |
CN110096859A (en) * | 2019-03-14 | 2019-08-06 | 深圳壹账通智能科技有限公司 | User authentication method, device, computer equipment and computer readable storage medium |
CN110211282A (en) * | 2019-05-23 | 2019-09-06 | 深兰科技(上海)有限公司 | A kind of automatic vending method and vending machine |
CN111784922A (en) * | 2019-08-09 | 2020-10-16 | 北京京东尚科信息技术有限公司 | Shared vehicle, control authority switching method and device thereof and management system |
CN110942630A (en) * | 2019-12-02 | 2020-03-31 | 付俐哲 | Automatic scoring system for shared bicycle |
CN113034740A (en) * | 2021-02-26 | 2021-06-25 | 山东浪潮质量链科技有限公司 | Unlocking method and equipment for shared bicycle and storage medium |
CN114499694A (en) * | 2021-12-17 | 2022-05-13 | 杭州友电科技有限公司 | Shared charger rental method, device and system and storage medium |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5781650A (en) * | 1994-02-18 | 1998-07-14 | University Of Central Florida | Automatic feature detection and age classification of human faces in digital images |
US9311564B2 (en) * | 2012-10-05 | 2016-04-12 | Carnegie Mellon University | Face age-estimation and methods, systems, and software therefor |
CN104063150A (en) * | 2014-06-30 | 2014-09-24 | 惠州Tcl移动通信有限公司 | Mobile terminal capable of entering corresponding scene modes by means of face recognition and implementation method thereof |
CN104680131B (en) * | 2015-01-29 | 2019-01-11 | 深圳云天励飞技术有限公司 | The auth method of identity-based certificate information and the identification of face multiple characteristics |
CN105893922A (en) * | 2015-08-11 | 2016-08-24 | 乐视体育文化产业发展(北京)有限公司 | Bicycle unlocking method and device and bicycle |
CN107323593A (en) * | 2017-07-26 | 2017-11-07 | 安徽理工大学 | Shared motor bicycle |
CN107424267A (en) * | 2017-07-27 | 2017-12-01 | 兰州集智信息技术有限公司 | It is a kind of to prevent that children from riding the method for shared bicycle |
-
2017
- 2017-12-22 CN CN201711401727.0A patent/CN108171832B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108171832A (en) | 2018-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108171832B (en) | Unlocking method of shared bicycle and mobile terminal | |
CN108629580B (en) | Screen-off payment method and mobile terminal | |
CN107835286B (en) | Method for preventing mistaken unlocking and mobile terminal | |
CN107645609B (en) | Brightness adjusting method and mobile terminal | |
CN108347512B (en) | Identity recognition method and mobile terminal | |
CN107682359B (en) | Application registration method and mobile terminal | |
CN108256308B (en) | Face recognition unlocking control method and mobile terminal | |
CN107704182B (en) | Code scanning method and mobile terminal | |
CN108551521B (en) | Login information prompting method and mobile terminal | |
CN108156537B (en) | Remote operation method of mobile terminal and mobile terminal | |
CN107609363B (en) | Unlocking method and mobile terminal | |
CN109544172B (en) | Display method and terminal equipment | |
CN108769410B (en) | Information sending method and mobile terminal | |
CN110287655B (en) | Verification code input method and device and mobile terminal | |
CN110225040B (en) | Information processing method and terminal equipment | |
CN108196663B (en) | Face recognition method and mobile terminal | |
CN108594952B (en) | Method for resisting charging interference and terminal equipment | |
CN107835297B (en) | Information updating method, mobile terminal and computer readable storage medium | |
CN107895108B (en) | Operation management method and mobile terminal | |
CN110929238B (en) | Information processing method and device | |
CN109982237B (en) | Communication method and device | |
CN109547622B (en) | Verification method and terminal equipment | |
CN109359460B (en) | Face recognition method and terminal equipment | |
CN108810276B (en) | Face recognition method and mobile terminal | |
CN107491685B (en) | Face recognition method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |