CN109104689A - A kind of safety alarm method and terminal - Google Patents

A kind of safety alarm method and terminal Download PDF

Info

Publication number
CN109104689A
CN109104689A CN201810968375.5A CN201810968375A CN109104689A CN 109104689 A CN109104689 A CN 109104689A CN 201810968375 A CN201810968375 A CN 201810968375A CN 109104689 A CN109104689 A CN 109104689A
Authority
CN
China
Prior art keywords
terminal
security warning
current location
scope
screen
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.)
Granted
Application number
CN201810968375.5A
Other languages
Chinese (zh)
Other versions
CN109104689B (en
Inventor
刘佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810968375.5A priority Critical patent/CN109104689B/en
Publication of CN109104689A publication Critical patent/CN109104689A/en
Application granted granted Critical
Publication of CN109104689B publication Critical patent/CN109104689B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • H04W4/027Services making use of location information using location based information parameters using movement velocity, acceleration information

Abstract

The embodiment of the invention provides a kind of safety alarm method and terminals, are related to field of communication technology, to solve to ignore the danger of surrounding, the lower problem of caused personnel safety factor because of people's mobile terminal.Wherein, the safety alarm method, comprising: whether the current location for detecting terminal is located within the scope of preset security warning;In the case where detecting that the current location of the terminal is located within the scope of security warning, controls the terminal and issue security warning signal.Safety alarm method in the embodiment of the present invention is applied in terminal.

Description

A kind of safety alarm method and terminal
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of safety alarm method and terminals.
Background technique
With the rapid development of the communication technology, mobile terminal has goed deep into our life, becomes the one of work and life Part.
On the one hand, the function of mobile terminal is increasingly enriched, so that the frequency that people use is more frequent;On the other hand, Exactly because people are further frequent using mobile terminal, so that the function of mobile terminal can be more abundant based on this status, So that the function of mobile terminal penetrates into each details of people's clothing, food, lodging and transportion -- basic necessities of life.
We usually can see many people and carry and use mobile terminal at any time under different scenes, use The region for neglecting surrounding and things can be even put into the process.As it can be seen that although mobile terminal brings convenience, It is easy the danger for allowing people to ignore surrounding, brings some potential safety problems.
Summary of the invention
The embodiment of the present invention provides a kind of safety alarm method, to solve to cause because of the danger around people's terminal disregards The lower problem of personnel safety factor.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows: a kind of safety alarm method, comprising: detection institute Whether the current location for stating terminal is located within the scope of preset security warning;It is located at peace in the current location for detecting the terminal In the case where in full warning range, controls the terminal and issue security warning signal.
In a first aspect, the embodiment of the invention also provides a kind of terminals, comprising: safety detection module, it is described for detecting Whether the current location of terminal is located within the scope of preset security warning;Security warning module, for detecting the terminal Current location be located within the scope of security warning in the case where, control the terminal and issue security warning signal.
Second aspect, the embodiment of the invention also provides a kind of terminal, including processor, memory is stored in described deposit On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor The step of safety alarm method.
The third aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium Computer program is stored on storage media, the computer program realizes the step of the safety alarm method when being executed by processor Suddenly.
In embodiments of the present invention, terminal can detect whether current location is located within the scope of security warning, and in terminal position When within the scope of security warning, security warning signal is issued.To which user is in using terminal, if user is in danger zone, Region under the more region of such as traffic, night-environment, terminal can detect current location in time, and issue safety Alarm signal, and then user and the people on periphery can notice security warning signal, not only may remind the user that around concern Region and things, improve the vigilance of user, while the people on periphery can also be reminded to notice user, made to avoid to user At injury.As it can be seen that above-mentioned safety alarm method can reduce the security risk of user, the personnel safety factor of user is improved.
Detailed description of the invention
Fig. 1 is one of flow chart of safety alarm method of the embodiment of the present invention;
Fig. 2 is the two of the flow chart of the safety alarm method of the embodiment of the present invention;
Fig. 3 is the three of the flow chart of the safety alarm method of the embodiment of the present invention;
Fig. 4 is the four of the flow chart of the safety alarm method of the embodiment of the present invention;
Fig. 5 is the five of the flow chart of the safety alarm method of the embodiment of the present invention;
Fig. 6 is the six of the flow chart of the safety alarm method of the embodiment of the present invention;
Fig. 7 is one of block diagram of terminal of the embodiment of the present invention;
Fig. 8 is the two of the block diagram of the terminal of the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
The flow chart of the safety alarm method of one embodiment of the invention is shown referring to Fig. 1, Fig. 1, is applied to terminal, packet It includes:
Step 110: whether the current location for detecting terminal is located within the scope of security warning.
User is in using terminal, the safety alarm method of base in this present embodiment, and the current location of detectable terminal is It is no to be located within the scope of security warning.
Security warning range includes that the more environment etc. of night-environment, dark surrounds, road, vehicle has user and pacifies The environmental area of full hidden danger.
Step 120: in the case where detecting that the current location of terminal is located within the scope of security warning, controlling terminal is issued Security warning signal.
If detect the current location of terminal to user there are security risk, terminal issues security warning signal.
On the one hand security warning signal is used to give user one security warning, with the danger of call user's attention to current region It is dangerous;On the other hand for giving a security warning such as surrounding pedestrian, vehicle, to remind surrounding pedestrian, vehicle etc. to notice use Family damages to avoid to user.
In embodiments of the present invention, terminal can detect whether current location is located within the scope of security warning, and in terminal position When within the scope of security warning, security warning signal is issued.To which user is in using terminal, if user is in danger zone, Region under the more region of such as traffic, night-environment, terminal can detect current location in time, and issue safety Alarm signal, and then user and the people on periphery can notice security warning signal, not only may remind the user that around concern Region and things, improve the vigilance of user, while the people on periphery can also be reminded to notice user, made to avoid to user At injury.As it can be seen that above-mentioned safety alarm method can reduce the security risk of user, the personnel safety factor of user is improved.
On the basis of embodiment shown in Fig. 1, Fig. 2 shows the streams of the safety alarm method of another embodiment of the present invention Cheng Tu, step 110 include:
Step 1101: obtaining the real-time speed data of the speed detector of terminal.
User is relatively conventional in using terminal, and the highest movement of danger coefficient is that user walks on one side, on one side It bows and sees the screen of terminal.If the movement occurs going across the road, in night walking, user is easy to neglect the danger of surrounding, And the people on periphery is also easy to the problem of sight etc., can not find user in time, to cause the accident.
Therefore, in this step, the real-time speed data of the speed detector of terminal are obtained.
Preferably, speed detector includes gyroscope, to obtain terminal rotating by gyroscope in this step Angular speed, and then the real-time speed data of terminal are calculated according to angular speed.
Preferably, speed detector may also include velocity sensor, to be obtained in this step by velocity sensor Take real-time speed data.
Wherein, real-time speed data include the movement speed of terminal.
Step 1102: in the case where real-time speed data are located within the scope of the preset speed of travel, detecting working as terminal Whether front position is located within the scope of preset security warning.
Real-time speed data are located at the situation within the scope of the preset speed of travel, it is believed that are that the movement speed of terminal is greater than The case where first threshold, first threshold are preset value, and first threshold may be set to the lowest critical value of user's walking, i.e., mobile speed When degree is greater than first threshold, it is believed that user is walking.
In the case where real-time speed data are located within the scope of the preset speed of travel, global positioning system can be used Global Positioning System, abbreviation GPS) location information of terminal is obtained, to be detected eventually according to location information Whether the current location at end is located within the scope of preset security warning.
Such as, according to location information, whether the current location for detecting terminal is within the scope of the security warnings such as road, busy areas Position.
The safety alarm method being applied in user's walking is present embodiments provided, it is too absorbed in walking to avoid user Terminal and the danger for neglecting surrounding, so that security warning signal can be mobile with terminal, security warning signal can not only be risen To the effect for reminding user, also reminds other people to see the user of walking, avoid danger.
Such as, for user when going across the road than relatively hazardous, security warning signal can remind user should not too absorbed use of bowing Terminal, while the driver to vehicle on road is reminded with more obvious way, there is pedestrian (user) herein, avoids collision.
On the basis of embodiment shown in Fig. 2, Fig. 3 shows the stream of the safety alarm method of another embodiment of the present invention Cheng Tu, step 1101 include:
Step 11011: obtaining the real-time light intensity data of the ambient light detection device of terminal.
On the basis of embodiment shown in Fig. 2, a kind of more dangerous movement is: user's row in night or dark It walks.Because vehicle is in night running, go whether observation road has emergent pedestrian by driver itself completely, but can not keep away Pedestrian cannot be found in time by exempting from some dead angles of ground or the bad place of lighting condition, driver.Therefore cause user at night Or walk in dark, the more difficult discovery user sometimes such as vehicle, pedestrian of surrounding, thus phenomena such as causing collision.And if user It also bows and is absorbed in terminal, avoid vehicle, pedestrian etc. not in time, the probability to collide etc. will be higher.
Therefore, in this step, the real-time light intensity data of the ambient light detection device in terminal can be obtained.
Preferably, ambient light detection device includes photosensitive sensors, and real-time light intensity data packet includes photosensitive sensors acquisition Light sensation numerical value.Photosensitive sensors are used to experience extraneous illumination, and convert light sensation numerical value for the illumination experienced, therefore, this In light sensation numerical value include intensity of illumination numerical value.To terminal can real-time monitoring light sensation numerical value, when light sensation numerical value changes, It may be extraneous illumination by dying down by force, or change from weak to strong, so that current intensity of illumination numerical value is obtained, if intensity of illumination number When being worth lower, it is believed that user is in dark surrounds or night-environment.
Step 11012: in the case where real-time light intensity data is lower than preset threshold, obtaining the speed detector of terminal Real-time speed data.
Preset threshold is preset light intensity data, when real-time light intensity data is less than preset threshold, it is believed that terminal is currently located in Dark or night, to further obtain the real-time speed data of the speed detector of terminal.
The safety alarm method for being applied to user in dark surrounds walking is present embodiments provided, to expand safe police The application scenario for showing method further increases the safety coefficient of user.
Preferably, after dark or night being in determining user, monitoring mode is opened, real-time detection current location is It is no to be located within the scope of security warning;Alternatively, after determining that user is in dark or night, and after determining that user is walking, Monitoring mode is opened, whether detection current location is located within the scope of security warning;Alternatively, being opened after determining that user is walking Monitoring mode is opened, whether detection current location is located within the scope of security warning.
On the basis of embodiment shown in Fig. 1, Fig. 4 shows the stream of the safety alarm method of another embodiment of the present invention Cheng Tu, step 120 include at least one of the following:
Step 1201: in the case where detecting that the current location of terminal is located within the scope of security warning, controlling terminal Target screen shows security warning signal.
Preferably, security warning signal can keep higher display brightness for the screen of terminal;Security warning signal may be used also Flashing display is kept for the screen of terminal.
Preferably, text information, image information etc. that security warning signal can also show for the screen of terminal, to remind use The risk at family and people around current location.
Step 1202: in the case where detecting that the current location of terminal is located within the scope of security warning, controlling terminal Flash lamp is flashed according to default security warning mode.
Preferably, security warning signal can keep higher display brightness for flash lamp;Security warning signal can be also sudden strain of a muscle Light lamp keeps flashing display.
Illustratively, if detecting, the current location of terminal is located within the scope of security warning, can detect terminal screen with The relative bearing relationship of user's body.If the screen of terminal issues safe police towards user's body, the flash lamp at the terminal back side Show signal;If the screen of terminal shows security warning signal as target screen backwards to user's body, the screen of terminal.So not It can only serve as a warning, meanwhile, terminal shows security warning signal backwards to the side of user, also can avoid security warning letter Number cause vision is uncomfortable equal to influence user.Such as, the display brightness of screen or flash lamp is excessively high, damages to human eye Deng.
Illustratively, if detecting, the current location of terminal is located within the scope of security warning, and the screen of controlling terminal is aobvious Show security warning signal, while controlling flash lamp and issuing security warning signal, family usable in this way can be by the row on more multi-faceted People, vehicle notice the safety coefficient for further increasing user.
Wherein, in the case where terminal includes the first screen and the second screen, target screen includes the first screen and the second screen, alternatively, Target screen is the screen towards user.
Illustratively, terminal includes the first screen and the second screen, if detecting, the current location of terminal is located at safe police demonstration In enclosing, then controlling terminal a screen shows security warning signal, or in view of different directions might have vehicle Past situation, while controlling two screens and showing security warning signal.
Wherein, target screen is to show security warning signal towards the screen of user, more towards in the scheme of the screen of user It is easy to be this process effectively goes unnoticed by the user, improves the safety coefficient of user.
Wherein, the display brightness of screen or flash lamp can preset in advance;Screen or flash lamp can be according to default safety Warning way issues security warning signal.Facilitate knowledge as the flashing of screen or flash lamp can follow certain specific flashing rule Not, the rule of this password is such as massaged.Display brightness and flashing rule can initial default, can also by user select be arranged.
You need to add is that if detecting, the current location of terminal is located within the scope of security warning, can detect the screen of terminal The specific implementation step of curtain and the relative bearing relationship of user's body can include:
According to the fingerprint on screen or range is touched, judges that user holds the direction of terminal, thus further judgement screen Curtain is towards body or back to body.When the fingerprint for such as recognizing on screen is finger print, it is believed that palmmprint is at the screen back side, then Based on characteristics of human body, it can be determined that screen is towards body;When the fingerprint for such as recognizing on screen is palmmprint, it is believed that finger is in screen The back side is then based on characteristics of human body, it can be determined that screen is backwards to body.
Alternatively, such as recognize touch range on screen it is smaller when, the fingerprint on screen is finger print, and palmmprint is in screen The back side is then based on characteristics of human body, it can be determined that screen is towards body;Such as recognize touch range on screen it is larger when, screen On fingerprint be palmmprint, it is believed that finger at the screen back side, then be based on characteristics of human body, it can be determined that screen is backwards to body.
Further, it such as monitors that terminal has left security warning range, then stops issuing security warning signal, and continue Whether the current location of monitoring terminal is located within the scope of security warning.
Further, if detect that the light sensation numerical value of terminal and/or movement speed are unsatisfactory for preset range, stop monitoring Whether the current location of terminal is located within the scope of security warning.
On the basis of embodiment shown in Fig. 1, Fig. 5 shows the stream of the safety alarm method of another embodiment of the present invention Cheng Tu, step 110 include:
Step 1103: obtaining the latitude and longitude information of the current location of terminal.
Step 1104: in the case where the latitude and longitude information of current location is located within the scope of preset longitude and latitude, determining eventually The current location at end is located within the scope of preset security warning.
Preset longitude and latitude range includes the latitude and longitude information of the position within the scope of security warning.Such as, preset longitude and latitude Range includes the latitude and longitude information of road, so that the latitude and longitude information in current location is located at the feelings within the scope of preset longitude and latitude Under condition, it may be determined that the current location of terminal is located within the scope of preset security warning.
Wherein, preset longitude and latitude range can be pre-stored in database.The foundation of database can be relied on artificial or be write Script collection, can also open interface for reporting of user.
Present embodiments provide it is a kind of based on latitude and longitude information determine terminal current location whether be located at safe police demonstration Interior scheme is enclosed, in order to the current location of quick identification terminal, while the accuracy for ensuring to identify.
On the basis of embodiment shown in Fig. 1, Fig. 6 shows the stream of the safety alarm method of another embodiment of the present invention Cheng Tu, step 110 include:
Step 1105: obtaining the current location of terminal.
Step 1106: in the case where there is an at least trolley in the preset range apart from current location, determining terminal Current location be located within the scope of preset security warning.
In the present embodiment, terminal can be using Internet of Things and vehicle networked, so that the current location according to terminal is given, in object Vehicle fleet size near the terminal reported and vehicle are identified in networking at a distance from terminal, when terminal recognition is to certain nearby When range has online vehicles, it is believed that the current location of terminal is located within the scope of security warning.
Wherein, settable preset range works as vehicle if preset range is to be less than the range of second threshold at a distance from terminal When at a distance from terminal less than second threshold, it is believed that vehicle causes security risk, i.e. terminal recognition to neighbouring certain model to user Online vehicles are with, determine that the current location of terminal is located within the scope of preset security warning.
A kind of vehicle based on terminal surrounding is present embodiments provided, determines whether the current location of terminal is located at safe police Interior scheme is enclosed in demonstration, in order to judge the risk of current location according to the vehicle of surrounding, to cause in vehicle to user When security risk, security warning signal is issued, in time to improve the safety coefficient of user.
Preferably, it is contemplated that power consumption problem can also carry out appropriate adjustment according to the remaining capacity of terminal, and such as setting executes step Detection operation in rapid 110 is separated by duration etc..
In conclusion when user is in dark risky environment, terminal can automatic bright screen, not only may remind the user that The environment being currently in notices user more carefully in the process of walking, can also inform the vehicle of dealing herein by light There are pedestrian's walking, slow down.The bright screen of intelligent opening and the screen that goes out do not need user and carry out complicated operation, simple and easy.According to Specified screen is lighted in the direction of terminal, has specific aim.As it can be seen that mobile device not only can be for consumer entertainment, study and work Make, moreover it is possible to give user certain protection, improve the safety coefficient of user.
Referring to Fig. 7, the block diagram of the terminal of another embodiment of the present invention is shown, comprising:
Whether safety detection module 10 is located at preset security warning range for the current location for detecting terminal It is interior;
Security warning module 20, for the situation for being located within the scope of security warning in the current location for detecting terminal Under, controlling terminal issues security warning signal.
In embodiments of the present invention, the safety detection module 10 in terminal can detect whether current location is located at security warning In range, and when terminal is located within the scope of security warning, security warning module 20 issues security warning signal.To which user exists In using terminal, if user is in danger zone, such as the region under the more region of traffic, night-environment, terminal Current location can be detected in time, and issues security warning signal, and then user and the people on periphery can notice safe police Show signal, not only may remind the user that the region around concern and things, improve the vigilance of user, while can also remind week The people on side notices user, damages to avoid to user.As it can be seen that above-mentioned safety alarm method can reduce the safety of user Hidden danger improves the personnel safety factor of user.
In the terminal of another embodiment of the present invention, safety detection module 10 include: connected speed acquiring unit and Detect execution unit;
Speed acquiring unit, the real-time speed data of the speed detector for obtaining terminal;
Execution unit is detected, for detecting in the case where real-time speed data are located within the scope of the preset speed of travel Whether the current location of terminal is located within the scope of preset security warning.
Preferably, speed acquiring unit includes: that connected light intensity obtains subelement and obtains execution subelement;
Light intensity obtains subelement, the real-time light intensity data of the ambient light detection device for obtaining terminal;
It obtains and executes subelement, for obtaining the speed of terminal in the case where real-time light intensity data is lower than preset threshold The real-time speed data of detection device.
Preferably, security warning module 20 includes at least one of the following:
Target screen alarm unit, the target screen for controlling terminal show security warning signal;
Wherein, in the case where terminal includes the first screen and the second screen, target screen includes the first screen and the second screen, alternatively, Target screen is the screen towards user;
Flash lamp alarm unit, the flash lamp for controlling terminal are flashed according to default security warning mode.
Preferably, safety detection module includes: connected longitude and latitude acquiring unit and the first determination unit;
Longitude and latitude acquiring unit, the latitude and longitude information of the current location for obtaining terminal;
First determination unit is located at the situation within the scope of preset longitude and latitude for the latitude and longitude information in current location Under, determine that the current location of terminal is located within the scope of preset security warning.
Preferably, safety detection module 10 includes: connected position acquisition unit and the second determination unit;
Position acquisition unit, for obtaining the current location of terminal;
Second determination unit, in the case where for there is an at least trolley in the preset range apart from current location, Determine that the current location of terminal is located within the scope of preset security warning.
Terminal provided in an embodiment of the present invention can be realized each mistake that terminal is realized in the embodiment of the method for Fig. 1 to Fig. 6 Journey, to avoid repeating, which is not described herein again.
A kind of hardware structural diagram of Fig. 8 mobile terminal of each embodiment to realize the present invention, the mobile terminal 100 Including but not limited to: radio frequency unit 101, audio output unit 103, input unit 104, sensor 105, is shown network module 102 Show the components such as unit 106, user input unit 107, interface unit 108, memory 109, processor 1010 and power supply 111. It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 8 does not constitute the restriction to mobile terminal, it is mobile whole End may include perhaps combining certain components or different component layouts than illustrating more or fewer components.In the present invention In embodiment, mobile terminal includes but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, can wear Wear equipment and pedometer etc..
Wherein, whether processor 1010, the current location for detecting the terminal are located at preset security warning range It is interior;In the case where detecting that the current location of the terminal is located within the scope of security warning, controls the terminal and issue safety Alarm signal.
In embodiments of the present invention, terminal can detect whether current location is located within the scope of security warning, and in terminal position When within the scope of security warning, security warning signal is issued.To which user is in using terminal, if user is in danger zone, Region under the more region of such as traffic, night-environment, terminal can detect current location in time, and issue safety Alarm signal, and then user and the people on periphery can notice security warning signal, not only may remind the user that around concern Region and things, improve the vigilance of user, while the people on periphery can also be reminded to notice user, made to avoid to user At injury.As it can be seen that above-mentioned safety alarm method can reduce the security risk of user, the personnel safety factor of user is improved.
It should be understood that the embodiment of the present invention in, radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 1010 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 101 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 102 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 103 can be received by radio frequency unit 101 or network module 102 or in memory 109 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 100 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 103 includes loudspeaker, buzzer and receiver etc..
Input unit 104 is for receiving audio or video signal.Input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or network module 102.Mike Wind 1042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 101 is converted in the case where telephone calling model.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 105 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 include touch panel 1071 and Other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation).Touch panel 1071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 1010, receiving area It manages the order that device 1010 is sent and is executed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Multiple types realize touch panel 1071.In addition to touch panel 1071, user input unit 107 can also include that other inputs are set Standby 1072.Specifically, other input equipments 1072 can include but is not limited to physical keyboard, function key (for example press by volume control Key, switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 1071 can be covered on display panel 1061, when touch panel 1071 is detected at it On or near touch operation after, send processor 1010 to determine the type of touch event, be followed by subsequent processing 1010 basis of device The type of touch event provides corresponding visual output on display panel 1061.Although in fig. 8, touch panel 1071 and aobvious Show that panel 1061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 1071 and display panel 1061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 108 is the interface that external device (ED) is connect with mobile terminal 100.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 108 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 100 or can be used in 100 He of mobile terminal Data are transmitted between external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 1010 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 1010 may include one or more processing units;Preferably, processor 1010 can integrate application processor and modulation /demodulation Processor, wherein the main processing operation system of application processor, user interface and application program etc., modem processor master Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1010.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 1010, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 100 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 1010, and memory 109 is stored in On memory 109 and the computer program that can run on the processor 1010, the computer program are held by processor 1010 Each process of above-mentioned safety alarm method embodiment is realized when row, and can reach identical technical effect, to avoid repeating, this In repeat no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned safety alarm method embodiment, and energy when being executed by processor Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (RandomAccess Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (14)

1. a kind of safety alarm method is applied to terminal characterized by comprising
Whether the current location for detecting the terminal is located within the scope of preset security warning;
In the case where detecting that the current location of the terminal is located within the scope of security warning, controls the terminal and issue safety Alarm signal.
2. the method according to claim 1, wherein the current location of the detection terminal whether be located at it is pre- If security warning within the scope of, comprising:
Obtain the real-time speed data of the speed detector of the terminal;
In the case where the real-time speed data are located within the scope of the preset speed of travel, the current location of the terminal is detected Whether it is located within the scope of preset security warning.
3. according to the method described in claim 2, it is characterized in that, the speed detector for obtaining the terminal it is real-time Speed data, comprising:
Obtain the real-time light intensity data of the ambient light detection device of the terminal;
In the case where the real-time light intensity data is lower than preset threshold, the real-time speed of the speed detector of the terminal is obtained Degree evidence.
4. the method according to claim 1, wherein the control terminal issues security warning signal, packet It includes at least one of following:
The target screen for controlling the terminal shows security warning signal;
Wherein, in the case where the terminal includes the first screen and the second screen, the target screen includes the first screen and the second screen, or Person, the target screen are the screen towards user;
The flash lamp for controlling the terminal is flashed according to default security warning mode.
5. the method according to claim 1, wherein the current location of the detection terminal whether be located at it is pre- If security warning within the scope of, comprising:
Obtain the latitude and longitude information of the current location of the terminal;
In the case where the latitude and longitude information of the current location is located within the scope of preset longitude and latitude, working as the terminal is determined Front position is located within the scope of preset security warning.
6. the method according to claim 1, wherein the current location of the detection terminal whether be located at it is pre- If security warning within the scope of, comprising:
Obtain the current location of the terminal;
In the case where there is an at least trolley in the preset range apart from the current location, the current of the terminal is determined Position is located within the scope of preset security warning.
7. a kind of terminal characterized by comprising
Whether safety detection module, the current location for detecting the terminal are located within the scope of preset security warning;
Security warning module, for controlling in the case where detecting that the current location of the terminal is located within the scope of security warning It makes the terminal and issues security warning signal.
8. terminal according to claim 7, which is characterized in that the safety detection module includes:
Speed acquiring unit, the real-time speed data of the speed detector for obtaining the terminal;
Execution unit is detected, for detecting in the case where the real-time speed data are located within the scope of the preset speed of travel Whether the current location of the terminal is located within the scope of preset security warning.
9. terminal according to claim 8, which is characterized in that the speed acquiring unit includes:
Light intensity obtains subelement, the real-time light intensity data of the ambient light detection device for obtaining the terminal;
It obtains and executes subelement, for obtaining the terminal in the case where the real-time light intensity data is lower than preset threshold The real-time speed data of speed detector.
10. terminal according to claim 7, which is characterized in that the security warning module includes at least one of the following:
Target screen alarm unit, the target screen for controlling the terminal show security warning signal;
Wherein, in the case where the terminal includes the first screen and the second screen, the target screen includes the first screen and the second screen, or Person, the target screen are the screen towards user;
Flash lamp alarm unit, the flash lamp for controlling the terminal are flashed according to default security warning mode.
11. terminal according to claim 7, which is characterized in that the safety detection module includes:
Longitude and latitude acquiring unit, the latitude and longitude information of the current location for obtaining the terminal;
First determination unit is located at the situation within the scope of preset longitude and latitude for the latitude and longitude information in the current location Under, determine that the current location of the terminal is located within the scope of preset security warning.
12. terminal according to claim 7, which is characterized in that the safety detection module includes:
Position acquisition unit, for obtaining the current location of the terminal;
Second determination unit, in the case where for there is an at least trolley in the preset range apart from the current location, Determine that the current location of the terminal is located within the scope of preset security warning.
13. a kind of terminal, which is characterized in that including processor, memory is stored on the memory and can be in the processing The computer program run on device is realized when the computer program is executed by the processor as any in claim 1 to 6 The step of safety alarm method described in item.
14. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes such as safety alarm method described in any one of claims 1 to 6 when the computer program is executed by processor The step of.
CN201810968375.5A 2018-08-23 2018-08-23 Safety warning method and terminal Active CN109104689B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810968375.5A CN109104689B (en) 2018-08-23 2018-08-23 Safety warning method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810968375.5A CN109104689B (en) 2018-08-23 2018-08-23 Safety warning method and terminal

Publications (2)

Publication Number Publication Date
CN109104689A true CN109104689A (en) 2018-12-28
CN109104689B CN109104689B (en) 2021-02-23

Family

ID=64851054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810968375.5A Active CN109104689B (en) 2018-08-23 2018-08-23 Safety warning method and terminal

Country Status (1)

Country Link
CN (1) CN109104689B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111476922A (en) * 2020-04-15 2020-07-31 北京国网富达科技发展有限责任公司 Method and device for judging arrival of power transmission line inspection personnel
CN111968352A (en) * 2020-09-09 2020-11-20 上海闻泰电子科技有限公司 Traffic safety prompting method and device, mobile terminal and readable storage medium
CN112089591A (en) * 2020-05-22 2020-12-18 未来穿戴技术有限公司 Neck massager and pedestrian anti-collision early warning method
CN114485501A (en) * 2021-12-30 2022-05-13 歌尔光学科技有限公司 Safety prompting method and device, intelligent foot pad, system and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101140699A (en) * 2007-09-27 2008-03-12 深圳华强信息产业有限公司 Circuit inspect method based on vehicle mounted GPS terminal
US20110234399A1 (en) * 2010-03-25 2011-09-29 Nokia Corporation Method and apparatus for providing a remote lost-and-found service
CN103247144A (en) * 2012-02-07 2013-08-14 宇龙计算机通信科技(深圳)有限公司 Traffic safety prompting method and mobile terminal
CN106527897A (en) * 2016-11-21 2017-03-22 京东方科技集团股份有限公司 Intelligent terminal and control method therefor
CN107566659A (en) * 2017-10-20 2018-01-09 维沃移动通信有限公司 User security based reminding method and mobile terminal
CN107645703A (en) * 2016-07-20 2018-01-30 平安科技(深圳)有限公司 Walking security monitoring method and apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101140699A (en) * 2007-09-27 2008-03-12 深圳华强信息产业有限公司 Circuit inspect method based on vehicle mounted GPS terminal
US20110234399A1 (en) * 2010-03-25 2011-09-29 Nokia Corporation Method and apparatus for providing a remote lost-and-found service
CN103247144A (en) * 2012-02-07 2013-08-14 宇龙计算机通信科技(深圳)有限公司 Traffic safety prompting method and mobile terminal
CN107645703A (en) * 2016-07-20 2018-01-30 平安科技(深圳)有限公司 Walking security monitoring method and apparatus
CN106527897A (en) * 2016-11-21 2017-03-22 京东方科技集团股份有限公司 Intelligent terminal and control method therefor
CN107566659A (en) * 2017-10-20 2018-01-09 维沃移动通信有限公司 User security based reminding method and mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111476922A (en) * 2020-04-15 2020-07-31 北京国网富达科技发展有限责任公司 Method and device for judging arrival of power transmission line inspection personnel
CN112089591A (en) * 2020-05-22 2020-12-18 未来穿戴技术有限公司 Neck massager and pedestrian anti-collision early warning method
CN111968352A (en) * 2020-09-09 2020-11-20 上海闻泰电子科技有限公司 Traffic safety prompting method and device, mobile terminal and readable storage medium
CN114485501A (en) * 2021-12-30 2022-05-13 歌尔光学科技有限公司 Safety prompting method and device, intelligent foot pad, system and readable storage medium

Also Published As

Publication number Publication date
CN109104689B (en) 2021-02-23

Similar Documents

Publication Publication Date Title
US10647252B2 (en) Portable electronic device and operating method therefor
CN109104689A (en) A kind of safety alarm method and terminal
CN106448259B (en) A kind of method, apparatus and system of vehicle early warning
CN108961681B (en) Fatigue driving reminding method and device and storage medium
US20140300466A1 (en) Apparatus and method for preventing accident in portable terminal
CN108182896B (en) A kind of brightness detection method, device and mobile terminal
CN109003425A (en) A kind of method for early warning and relevant device
CN107635060A (en) A kind of road conditions danger based reminding method, terminal and storage medium
CN110496018A (en) Method, wearable device and the storage medium of wearable device guide blind person
CN109495641A (en) A kind of based reminding method and mobile terminal
CN111179880A (en) Brightness adjusting method and device of display screen, electronic equipment and system
CN106412394A (en) Safe travel device suitable for phubbing on roads
CN108549802A (en) A kind of unlocking method, device and mobile terminal based on recognition of face
CN107948398A (en) A kind of message prompt method and mobile terminal
CN109977845A (en) A kind of drivable region detection method and car-mounted terminal
CN109888867A (en) A kind of charging method and mobile terminal
CN108712555A (en) A kind of method and device sending warning message
CN110097736A (en) Alarm method and warning device
CN109410535A (en) A kind for the treatment of method and apparatus of scene information
CN107948438A (en) One mode control method, device and mobile terminal
CN109327606A (en) A kind of message prompt method and terminal
CN108845785A (en) A kind of display methods and terminal
CN111357006A (en) Fatigue prompting method and terminal
CN108280405A (en) A kind of method and apparatus of vehicle obstacle-avoidance
CN108063861A (en) The method, apparatus and mobile terminal that a kind of state is reminded

Legal Events

Date Code Title Description
PB01 Publication
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