This application claims priority to Chinese Patent Application No. 201510224186.3 filed on May 6, 2015, the contents of which are incorporated by reference herein.
The present disclosure relates to electronic devices, especially relates to a kind of protection system, method and electronic device with a protection function.
When people, especially women are out, safety is an important issue. It is helpful to provide a timely alert to the police when the people are in trouble.
Many aspects of the disclosure can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures, and components have not been described in detail so as not to obscure the related relevant feature being described. Also, the description is not to be considered as limiting the scope of the embodiments described herein. The drawings are not necessarily to scale and the proportions of certain parts may be exaggerated to better illustrate details and features of the present disclosure.
The present disclosure, including the accompanying drawings, is illustrated by way of examples and not by way of limitation. Several definitions that apply throughout this disclosure will now be presented. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean “at least one.”
The term “module”, as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, Java, C, or assembly. One or more software instructions in the modules can be embedded in firmware, such as in an EPROM. The modules described herein can be implemented as either software and/or hardware modules and can be stored in any type of non-transitory computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable media include CDs, DVDs, BLU-RAY, flash memory, and hard disk drives. The term “comprising” means “including, but not necessarily limited to”; it specifically indicates open-ended inclusion or membership in a so-described combination, group, series and the like.
The camera unit 20 is used to acquire video and/or image information surrounding the electronic device 100. In at least one embodiment, the camera unit 20 includes two cameras. One camera is set on a front surface of the electronic device 100 to acquire the video and/or image information of objects in front of the electronic device 100. The other camera is set on a back surface of the electronic device 100 to acquire the video and/or image information of objects in back of the electronic device 100. The positioning unit 30 is used to acquire location information of the electronic device 100. In at least one embodiment, the positioning unit 30 is Global Positioning System (GPS). The electronic device 100 is able to communicate with a communication device of a contact person designated by a user via the communication unit 50. In at least one embodiment, the communication unit 50 is a SIM (Subscriber Identity Module) card, a 3G (3rd Generation) card or a 4G (4th Generation) card. The triggering unit 60 is used to generate a trigger signal to run the protection system 10 in response to an operation. The processor 70 controls the camera unit 20 and the positioning unit 30 to start when the protection system 10 is running.
In one embodiment, the triggering unit 60 is a button of the electronic device 100, the at least one processor 70 starts to run the protection system 10 in response to the operation of the button being pressed by the user. In other embodiments, the triggering unit 60 is a touch screen, a shortcut icon corresponding to the protection system 10 is displayed on the touch screen, the at least one processor 70 starts to run the protection system 10 in response to the operation of the shortcut icon being clicked by the user.
The startup module 101 is configured to control the camera unit 20 to acquire the video and/or image information surrounding the electronic device 100 and control the positioning unit 30 to acquire the location information of the electronic device 100 in response to the operations input via the triggering unit 60.
The acquisition module 102 is configured to acquire the video and/or image information surrounding the electronic device 100 from the camera unit 20 and acquire the location information of the electronic device 100 from the positioning unit 30. In the embodiment, the acquisition module 102 acquires the video and/or image information surrounding the electronic device 100 from the camera unit 20 and acquires the location information of the electronic device 100 from the positioning unit 30 in real time.
The sending module 103 is configured to send the acquired video and/or image information surrounding the electronic device 100 and the location information of the electronic device 100 to the contact person designated by the user via the communication unit 50. In at least one embodiment, the sending module 103 sends the acquired video and/or image information surrounding the electronic device 100 and the location information of the electronic device 100 every a preset time, such as every 10 seconds. The preset time can be set by the user according to need or the configuration of the electronic device 100.
The execution module 104 is configured to execute a preset function after the sending module 103 sends the acquired video and/or image information of the environment surrounding the electronic device 100 and the location information of the electronic device 100 to the designated contact person. Usually, when the user is hurt by a suspect, the preset function being executed by the electronic device 100 can attract attention, and cause the suspect to view the electronic device 100, thus the information acquired by the acquisition module 102 would include the facial features of the suspect. In at least one embodiment, the preset function can be a virtual incoming call, or a playing song. In one embodiment, the execution module 104 executes the preset function after the sending module 103 sends the acquired video and/or image information surrounding the electronic device 100 and the location information of the electronic device 100 to the designated contact person a first time. In some other embodiments, the execution module 104 executes the preset function when receiving a reply message from the designated contact person after the sending module 103 sends the acquired video and/or image information surrounding the electronic device 100 and location information of the electronic device 100 to the designated contact person. Therein, the reply message from the designated contact person can be a short message or a message from an instant messaging software.
In the embodiment, after the execution module 104 executes the preset function, the sending module 103 determines facial features from the current video and/or image information acquired by the acquisition module 102, compares the determined facial features with the stored user facial feature information, and sends the current video and/or image information surrounding the electronic device 100 and the location information of the electronic device 100 acquired by the acquisition module 102 to the designated contact person only when the determined facial features do not match with the stored user facial feature information.
The sending module 103 determines whether the acquired video and/or image information includes facial features, and sends the acquired video and/or image information and location information of the electronic device 100 to the designated contact person when the acquired video and/or image information includes none of facial features. When the sending module 103 determines the acquired video and/or image information includes facial features, the sending module 103 further compares facial features with the stored user facial feature information; when the determined facial features do not match with the stored user facial feature information, the sending module 103 sends the acquired video and/or image information and location information of the electronic device 100 to the designated contact person; when the determined facial features match with the stored user facial feature information, the sending module 103 does not send the acquired video and/or image information and location information of the electronic device 100 to the designated contact person.
In one embodiment, each time the acquisition module 102 acquires the video and/or image information surrounding the electronic device 100 and the location information of the electronic device 100, the sending module 103 determines and compares the facial feature in the acquired video and/or image information with the stored user facial feature information, and sends the video and/or image information surrounding the electronic device 100 and the location information of the electronic device 100 to the designated contact person when the determined facial features do not match with the stored user facial feature information.
In other embodiments, when the acquisition module 102 acquires the video and/or image information surrounding the electronic device 100 and the location information of the electronic device 100, the sending module 103 sends the video and/or image information surrounding the electronic device 100 and the location information of the electronic device 100 to the designated contact person directly.
The adjusting module 105 is configured to set a work mode of the electronic device 100 as a mute mode and turn off a flash lamp of the camera unit 20 in response to the trigger signal generated by the triggering unit 60 when the triggering unit 60 is operated by the user. When the user operates the triggering unit 60 to cause the triggering unit 60 to generate the trigger signal, the adjusting module 105 determines the current work mode of the electronic device 100 and a status of the flash lamp of the camera unit 20, and sets the work model of the electronic device 100 as the mute mode, when the current work mode of the electronic device 100 is not the mute mode and turns off the flash lamp of the camera unit 20 when the flash lamp of the camera unit 20 is opened.
At block 201, a startup module controls a camera unit to acquire video and/or image information surrounding an electronic device and control a positioning unit to acquire location information of the electronic device in response to an operation input via a triggering unit.
At block 202, an acquisition module acquires the video and/or image information surrounding the electronic device from the camera unit and acquires the location information of the electronic device from the positioning unit.
At block 203, a sending module sends the acquired video and/or image information surrounding the electronic device and the location information of the electronic device to the contact person designated by the user via a communication unit. In at least one embodiment, the sending module sends the acquired video and/or image information surrounding the electronic device and the location information of the electronic device every preset time, such as every 10 seconds.
At block 204, an execution module executes a preset function after the sending module sends the acquired video and/or image information surrounding the electronic device and the location information of the electronic device to the designated contact person. Usually, when the user is hurt by a suspect, the preset function being executed by the electronic device can attract attention, and cause the suspect to view the electronic device, thus the information acquired by the acquisition module would include the facial features of the suspect. In at least one embodiment, the preset function can be a virtual incoming call, or a playing song.
In one embodiment, the execution module executes the preset function after the sending module sends the acquired video and/or image information surrounding the electronic device and the location information of the electronic device to the designated contact person the first time. In some other embodiments, the execution module executes the preset function when receiving a reply message from the designated contact person after the sending module sends the acquired video and/or image information surrounding the electronic device and location information of the electronic device to the designated contact person. Therein, the reply message from the designated contact person can be a short message or a message from an instant messaging software.
At block 205, the sending module determines facial features from the current video and/or image information acquired by the acquisition module, compares the determined facial features with the stored user facial feature information, and sends the current video and/or image information surrounding the electronic device and the location information of the electronic device acquired by the acquisition module to the designated contact person only when the determined facial features do not match with the stored facial feature information.
In the embodiment, the method further includes: a work mode of the electronic device as a mute mode is set by an adjusting module and turns off a flash lamp of the camera unit in response to the trigger signal generated by the triggering unit when the triggering unit is operated.
It should be emphasized that the above-described embodiments of the present disclosure, including any particular embodiments, are merely possible examples of implementations, set forth for a clear understanding of the principles of the disclosure. Many variations and modifications can be made to the above-described embodiment(s) of the disclosure without departing substantially from the spirit and principles of the disclosure. All such modifications and variations are intended to be included herein within the scope of this disclosure and protected by the following claims.
| Number | Date | Country | Kind |
|---|---|---|---|
| 201510224186.3 | May 2015 | CN | national |