Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, 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 application.
The embodiment of the invention provides a one-key alarm method and device and a one-key alarm system.
First, a one-key alarm method provided by the embodiment of the present invention is described below.
FIG. 1 is a flow diagram of a one-touch alert method according to an embodiment of the invention, the method comprising the steps of:
s101: receiving input operation of a user;
when an emergency situation, such as a room robbery, a violent incident, etc., occurs, the user can immediately press the button of the alarm device, and the input operation of the user is detected.
S102: collecting fingerprint information of the user;
when the user performs the input operation, the user usually operates the input operation with a finger, so that the fingerprint information of the user can be collected at this time. Therefore, for the user, only one input operation is performed, the fingerprint information is collected. The operation is simple, and the time is saved.
S103: comparing the fingerprint information with a preset fingerprint database;
the preset fingerprint database is pre-established. Further, the preset fingerprint database stores a one-to-one correspondence relationship between the user fingerprint information and the user identity information. Due to the uniqueness of the fingerprints, one piece of fingerprint information only corresponds to the identity information of one user. The preset fingerprint database information can be from system data of police, and can also be fingerprint information and corresponding identity information of related personnel input by a user according to actual needs. However, considering the comprehensiveness of the information and the success rate of the comparison, the preset fingerprint database is preferably derived from the system data of the police.
S104: and acquiring the identity information of the user according to the comparison result.
If so, the fingerprint information of the user is found in a preset fingerprint database, and then the identity information of the user is obtained according to the one-to-one correspondence relationship between the fingerprint information and the identity information. In addition, if the acquired fingerprint of the user is not in the preset fingerprint database, the fingerprint information of the user can be stored in the preset fingerprint database, and subsequently, the identity information of the user corresponding to the fingerprint can be supplemented, and the preset fingerprint database can be updated. The identity information may include information such as face information, contact information, address of the user, and the like, and may further include a contact information of a first emergency contact of the user, which may help police to know more relevant information of the party in time.
Optionally, after receiving an input operation of a user, the method further includes: and automatically starting the voice communication function. The input operation of the user is specifically to press a button, the button is equivalent to a switch for starting a voice call function, and once the button is started, an alarm call is automatically dialed. At the moment, the user can have a conversation with the police, so that some information of the field condition can be obtained, and the obtained information is more complete.
Optionally, after receiving an input operation of a user, the method further includes: the video shooting function is automatically started, the button is equivalent to a switch for starting the video shooting function, once the button is started, video shooting is automatically carried out, the video shooting can more intuitively see the real-time situation of a scene, and certainly the video shooting can also be used as a judgment basis for subsequent fact identification.
As can be seen from the above embodiments, in this embodiment, by receiving an input operation of a user, collecting fingerprint information of the user, and querying user identity information corresponding to the user fingerprint through a preset fingerprint database, a disadvantage that an amount of information obtained in the prior art is too small is overcome, and it is further convenient for an police party or a party to be helped to take next step measures according to the obtained information.
Fig. 2 is a one-touch alert device 200 according to an embodiment of the present invention, thealert device 200 including: areceiving unit 210, an acquiring unit 220, a comparingunit 230, and an obtainingunit 240, wherein,
thereceiving unit 210 is configured to receive an input operation of a user;
the collecting unit 220 is configured to collect fingerprint information of the user;
the comparingunit 230 is configured to compare the fingerprint information with a preset fingerprint database;
the obtainingunit 240 is configured to obtain the identity information of the user according to the comparison result.
Optionally, thealarm device 200 further includes a storage unit, and the storage unit 250 stores a corresponding relationship between the user fingerprint information and the identity information of the user, where the corresponding relationship is a one-to-one corresponding relationship because the fingerprint has uniqueness. Further, the identity information may include basic personal information such as face information, contact information, address and the like of the user, and may further include a contact information of the first emergency contact of the user, which may help police to know more relevant information of the party in time.
Optionally, thealarm device 200 further includes a starting unit 260, and the starting unit 260 is configured to start a voice call function and also start a video shooting function when the receivingunit 210 receives an input operation from a user.
Further, the obtainingunit 240 is further configured to obtain voice call information. The voice call information is the conversation information communicated between the user and the police after the voice call function is started, so that the police cannot remember the useful information which is spoken by the user at the moment in the call process, and at the moment, the police can call the saved conversation information to obtain the useful information again, so as to take countermeasures in the next step. The information can be audio information or text information converted from audio, and the text information can be specifically displayed in a conversation mode, so that the police can directly and clearly see the current conversation content, and compared with the method of listening to the voice information again, the method is faster in reading the text information, and time can be saved. And the conversation content further improves the information acquired by the police.
Further, the obtainingunit 240 is further configured to obtain live video information, where the video information is live real-time information shot after the video shooting function is started, and specifically, shooting may be performed by multiple cameras. Through the video information, the police can see the real-time status of the scene. In order to take targeted measures.
As can be seen from the above embodiments, in this embodiment, by receiving an input operation of a user, collecting fingerprint information of the user, and querying user identity information corresponding to the user fingerprint through a preset fingerprint database, a disadvantage that an amount of information obtained in the prior art is too small is improved, so as to further facilitate a police party or a party to be helped to take next step measures according to the obtained information.
Fig. 3 is a schematic structural diagram of a one-key alarm system according to an embodiment of the present invention, where thealarm system 300 includes analarm device 310 and aserver 320, thealarm device 310 is communicatively connected to theserver 320, and thealarm device 310 includes:button 311, fingerprint gatherer 312, wherein:
thebutton 311 is used for receiving input operation of a user;
the fingerprint collector 312 is configured to collect fingerprint information of the user after the user performs an input operation;
theserver 320, configured to receive the signal generated by the input operation and the fingerprint information; comparing the fingerprint information with a preset fingerprint database; and acquiring the user identity information according to the comparison result.
In practical applications, thealarm device 310 may be installed at a bank counter, a gold shop counter, or a place where an emergency situation easily occurs, such as a shop counter, a company, a school, etc., or may even be installed at home. Thealarm device 310 is provided with a location function so that when thealarm device 310 is triggered, the police can immediately obtain its location information.
In addition, thebutton 311 may be integrated with a fingerprint acquisition function, that is, thebutton 311 and the fingerprint acquirer 312 are integrated into one. Thus, as long as the user presses the button with a finger, the fingerprint acquisition function is started. The operation is simple as long as the user performs one-time operation, and precious time is won for the user.
Optionally, thealarm device 310 further comprises asound pickup 313 and aspeaker 314, wherein thesound pickup 313 and thespeaker 314 are used for realizing a voice call function after receiving an input operation of a user. Thebutton 311 is a switch for starting the voice call function. At this time, the user and the police can have a conversation, the conversation content is uploaded to theserver 320 directly through the network, the server stores the conversation content, so that the police cannot remember the useful information spoken by the user at that time in the conversation process, and at this time, the police can call out the stored conversation information to obtain the useful information again, so as to take measures for the next step. The stored dialogue information can be voice information or text information with voice conversion, and the text information can be displayed by the dialogue information, so that a police can directly and clearly see the current conversation content, and compared with the method of listening to the voice information again, the method is faster in reading the text information and can save time. And the conversation content further improves the information acquired by the police.
Optionally, thealarm device 310 further includes acamera 315, which is configured to capture video information of a scene after receiving an input operation from a user. The video information is uploaded to theserver 320 over a network, and by means of the video information, the police can see the real-time status of the site. In order to take targeted measures. Thecamera 315, thebutton 311 and the fingerprint collector 312 may be integrated on the same mounting carrier, or thecamera 315 may be mounted in a place with a wide shooting angle, and preferably in a concealed place, so as to prevent people who implement illegal activities from seeing and damaging the camera. In addition, the shooting range can be adjusted and installed according to actual needs.
Fig. 4 is a schematic diagram of a hardware structure of a terminal device for implementing the embodiment of the present invention. As shown in fig. 4, theterminal device 400 includes but is not limited to:radio frequency unit 401,network module 402,audio output unit 403,input unit 404,sensor 405,display unit 406,user input unit 407,interface unit 408,memory 409,processor 410, andpower supply 411. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 4 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device 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.
Wherein, theprocessor 410 is configured to execute the following method:
receiving input operation of a user;
collecting fingerprint information of the user;
comparing the fingerprint information with a preset fingerprint database;
and acquiring the identity information of the user according to the comparison result.
The input operation of the user is received, the fingerprint information of the user is collected, and the user identity information corresponding to the fingerprint of the user is inquired through the preset fingerprint database, so that the defect that the amount of the acquired information is too small in the prior art is overcome, and the police or the called party can take the next step according to the acquired information.
It should be understood that, in the embodiment of the present invention, theradio frequency unit 401 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 theprocessor 410; in addition, the uplink data is transmitted to the base station. Typically,radio unit 401 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. Further, theradio unit 401 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through thenetwork module 402, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
Theaudio output unit 403 may convert audio data received by theradio frequency unit 401 or thenetwork module 402 or stored in thememory 409 into an audio signal and output as sound. Also, theaudio output unit 403 may also provide audio output related to a specific function performed by the terminal apparatus 400 (e.g., a call signal reception sound, a message reception sound, etc.). Theaudio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
Theinput unit 404 is used to receive audio or video signals. Theinput Unit 404 may include a Graphics Processing Unit (GPU) 4041 and amicrophone 4042, and theGraphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on thedisplay unit 406. The image frames processed by thegraphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via theradio frequency unit 401 or thenetwork module 402. Themicrophone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via theradio frequency unit 401 in case of the phone call mode.
Theterminal device 400 further comprises at least onesensor 405, such as light sensors, motion sensors and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of thedisplay panel 4061 according to the brightness of ambient light, and a proximity sensor that turns off thedisplay panel 4061 and/or the backlight when theterminal apparatus 400 is moved to the ear. Thesensor 405 may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., wherein the infrared sensor can measure a distance between an object and a terminal device by emitting and receiving infrared light, which is not described herein again.
Thedisplay unit 406 is used to display information input by the user or information provided to the user. TheDisplay unit 406 may include aDisplay panel 4061, and theDisplay panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
Theuser input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, theuser input unit 407 includes atouch panel 4071 andother input devices 4072.Touch panel 4071, 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 neartouch panel 4071 using a finger, a stylus, or any suitable object or attachment). Thetouch panel 4071 may include two parts, 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 theprocessor 410, receives a command from theprocessor 410, and executes the command. In addition, thetouch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to thetouch panel 4071, theuser input unit 407 may includeother input devices 4072. Specifically, theother input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, thetouch panel 4071 can be overlaid on thedisplay panel 4061, and when thetouch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to theprocessor 410 to determine the type of the touch event, and then theprocessor 410 provides a corresponding visual output on thedisplay panel 4061 according to the type of the touch event. Although in fig. 4, thetouch panel 4071 and thedisplay panel 4061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, thetouch panel 4071 and thedisplay panel 4061 may be integrated to implement the input and output functions of the terminal device, which is not limited herein.
Theinterface unit 408 is an interface for connecting an external device to theterminal apparatus 400. 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. Theinterface unit 408 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within theterminal apparatus 400 or may be used to transmit data between theterminal apparatus 400 and an external device.
Thememory 409 may be used to store software programs as well as various data. Thememory 409 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 for at least one function (such as a sound playing function, an image playing function, etc.), and the like. Further, thememory 409 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.
Theprocessor 410 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by operating or executing software programs and/or modules stored in thememory 409 and calling data stored in thememory 409, thereby performing overall monitoring of the terminal device.Processor 410 may include one or more processing units; preferably, theprocessor 410 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 theprocessor 410.
In addition, theterminal device 400 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides a terminal device, which may include aprocessor 410, amemory 409, and a computer program that is stored in thememory 409 and is executable on theprocessor 410, where the computer program, when executed by theprocessor 410, implements each process of the method embodiment shown in fig. 1, and may achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned embodiment of the environment monitoring method, and can achieve the same technical effect, and in order to avoid repetition, 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.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
It should also be noted that 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.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.