[go: up one dir, main page]

CN109147238A - alarm method, device, terminal and storage medium - Google Patents

alarm method, device, terminal and storage medium Download PDF

Info

Publication number
CN109147238A
CN109147238A CN201811036225.7A CN201811036225A CN109147238A CN 109147238 A CN109147238 A CN 109147238A CN 201811036225 A CN201811036225 A CN 201811036225A CN 109147238 A CN109147238 A CN 109147238A
Authority
CN
China
Prior art keywords
alarm
warning
warning note
button
warning message
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.)
Pending
Application number
CN201811036225.7A
Other languages
Chinese (zh)
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.)
Tianjin Lixin Technology Co Ltd
Original Assignee
Tianjin Lixin Technology 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 Tianjin Lixin Technology Co Ltd filed Critical Tianjin Lixin Technology Co Ltd
Priority to CN201811036225.7A priority Critical patent/CN109147238A/en
Publication of CN109147238A publication Critical patent/CN109147238A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B1/00Systems for signalling characterised solely by the form of transmission of the signal
    • G08B1/02Systems for signalling characterised solely by the form of transmission of the signal using only mechanical transmission
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • G08B25/01Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium
    • G08B25/08Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium using communication transmission lines

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Alarm Systems (AREA)

Abstract

The embodiment of the invention discloses a kind of alarm method, device, terminal and storage mediums, wherein the described method includes: detection long-pressing programmable button pressing operation issues warning note when detecting key long press operation;After issuing warning note, the programmable button pressing operation is continued to test;If the button operation does not stop after issuing warning note, warning message is sent to preset emergency processing side.It can be determined whether according to the subsequent operation of user after prompt for false alarm, and send warning message to related side when non-maloperation after determination.It can avoid generating false alarm while improving alarm velocity.

Description

Alarm method, device, terminal and storage medium
Technical field
The present invention relates to field of communication technology more particularly to a kind of alarm method, device, terminal and storage mediums.
Background technique
Currently, various unexpected and danger can occur in life often, such as robbery, fire, traffic accident, heart disease burst Event can all report the contingency that various regions occur in daily news, when danger come it is interim, in order to ensure the person or property Safety, people generally require to seek extraneous help, such as send information to relatives and perhaps make a phone call or dial 110 to the police It seeks help, dial and 119 seek help to firefighters, dial 120 and seek help to hospital.
In order to improve the rapidity of warning message, a certain specific keys are triggered using mobile terminal in the prior art and enter report Alert mode, directs out boundary's alert so that the external world can receive warning message, and quickly to alarm people into Row treatment or rescue.
In the implementation of the present invention, inventor has found following technical problem: although above scheme is able to solve alarm Rapidity, but in use, frequent occurrence false triggering specific keys generate false alarm.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of alarm method, device, terminal and storage medium, it is existing to solve There is the false alarm situation generated present in technology due to false triggering specific keys.
In a first aspect, the embodiment of the invention provides a kind of alarm methods characterized by comprising
Long-pressing programmable button pressing operation is detected, when detecting key long press operation, issues warning note;
After issuing warning note, the programmable button pressing operation is continued to test;
If the button operation does not stop after issuing warning note, sends and alarm to preset emergency processing side Information.
Further, the detection long-pressing programmable button pressing operation, comprising:
Detect the operation of long-pressing volume adjustment intermediary button.
Further, the sending warning note, comprising:
Issue vibration warning note.
Further, if the button operation does not stop after issuing warning note, to preset emergency Processing side sends warning message, comprising:
If receiving the first preset rules button operation after issuing warning note, then the first report is sent to emergency contact Alert information.
Further, if the button operation does not stop after issuing warning note, to preset emergency Processing side sends warning message, comprising:
If receiving the second preset rules button operation after issuing warning note, then the second alarm is sent to alarm platform Information.
It is further, described to send the second warning message to alarm platform, comprising:
Determine current location;
Type of alarm is determined according to second preset rules;
Alarm voice is generated according to the current location and type of alarm, and is sent to alarm voice by liaison mode Alarm platform.
Further, the method also includes:
Report is sent when detecting in free-falling state, while to apart from nearest emergency contact and alarm platform Alert information.
Second aspect, the embodiment of the invention also provides a kind of warning devices, comprising:
Sending module is prompted, for detecting long-pressing programmable button pressing operation, when detecting key long press operation, is issued Warning note;
Detection module, for continuing to test the programmable button pressing operation after issuing warning note;
Warning message sending module, if not stopping after issuing warning note for the button operation, to preset Emergency processing side sends warning message.
Further, the prompt sending module, comprising:
Detection unit, for detecting the operation of long-pressing volume adjustment intermediary button.
Further, the prompt sending module, comprising:
Transmission unit, for issuing vibration warning note.
Further, the warning message sending module, comprising:
First warning message transmission unit, if receiving the first preset rules button operation after for issuing warning note, Then the first warning message is sent to emergency contact.
Further, the warning message sending module, comprising:
First warning message transmission unit, if receiving the second preset rules button operation after for issuing warning note, Then the second warning message is sent to alarm platform.
Further, the first warning message transmission unit, comprising:
Position determines subelement, for determining current location;
Type determination unit, for determining type of alarm according to second preset rules;
Transmission sub-unit for generating alarm voice according to the current location and type of alarm, and passes through liaison mode Alarm voice is sent to alarm platform.
Further, described device further include:
Emergency warning information sending module, for when detecting in free-falling state, while nearest to distance Emergency contact and alarm platform send emergency warning information.
The third aspect, the embodiment of the invention also provides a kind of terminals, comprising:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realize it is provided by the above embodiment it is any as described in alarm method.
Fourth aspect, it is described the embodiment of the invention also provides a kind of storage medium comprising computer executable instructions Computer executable instructions when being executed by computer processor for execute it is provided by the above embodiment it is any as described in report Alarm method.
Alarm method, device, terminal and storage medium provided in an embodiment of the present invention are pressed by detecting long-pressing programmable button Press operation, and in the long press operation for detecting key, prompt is issued, and continue to monitor whether button operation stops after prompt Only, and when not stopping, warning message is sent to preset emergency processing side.It can be according to the subsequent behaviour of user after prompt Work determines whether for false alarm, and sends warning message to related side when non-maloperation after determination.Alarm speed can improved While spending, avoid generating false alarm.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, of the invention other Feature, objects and advantages will become more apparent upon:
Fig. 1 is the flow diagram for the alarm method that the embodiment of the present invention one provides;
Fig. 2 is the flow diagram of alarm method provided by Embodiment 2 of the present invention;
Fig. 3 is the flow diagram for the alarm method that the embodiment of the present invention three provides;
Fig. 4 is the flow diagram for the alarm method that the embodiment of the present invention four provides;
Fig. 5 is the flow diagram for the alarm method that the embodiment of the present invention five provides;
Fig. 6 is the structural schematic diagram for the warning device that the embodiment of the present invention six provides;
Fig. 7 is the structural schematic diagram for the terminal that the embodiment of the present invention seven provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 be the embodiment of the present invention one provide alarm method flow diagram, the present embodiment be applicable to The case where in emergency circumstances being alarmed using terminal, this method can be executed by warning device, and can be integrated in mobile whole In end, the mobile terminal includes: that mobile phone, tablet computer and PDA etc. have in the portable terminal of operational capability.It specifically includes Following steps:
S110 detects long-pressing programmable button pressing operation, when detecting key long press operation, issues warning note.
Currently, there are many keys for setting on mobile terminals, to facilitate user prompt operation and then realize corresponding function. Illustratively, the programmable button may include: to be configured at the various physical buttons of mobile terminal or in image display interfaces Virtual key.Such as: the physical button may include: that volume increases the entities such as key, volume-down keys, shoot button Key.The virtual key may include: rollback key, return to desktop key and application management key.
The long-pressing programmable button pressing operation can be the operation that continuous pressing keys are more than preset pressing duration.Institute Stating preset pressing duration can be by default, can also be by user's sets itself according to the actual situation.Usual precompressed duration It can be set as 3-5s.It usually triggers the corresponding pressing operation of the corresponding function of the key and only lasts for 1s or so, therefore, by setting Normal key can be triggered to fixed preset pressing duration the operation of corresponding function and alarm operation distinguishes.
In the present embodiment, terminal can detect long-pressing button operation by corresponding sensor or circuit configuration.Show Example property, it, can be according to the current value or electricity in the corresponding circuit of the physical button when the key is physical button The variation of pressure value determines the duration for pressing the physical button.Such as: it can continue according in the corresponding circuit of physical button The duration for pressing the corresponding current value of physical button determines pressing duration.For virtual key, then can feel according in touch screen The finger pressing duration that should be arrived determines the duration of pressing virtual key.
Mobile terminal issues warning note when detecting key long press operation.To prompt user to be currently entering alarm In preparation stage.Illustratively, the warning note can be realized using various ways.Such as: it can be by lighting screen side Formula prompts user;Or voice broadcasting modes can also be used, user is prompted;It can also use and light breath light Or the modes such as flash lamp prompt user.
S120 continues to test the programmable button pressing operation after issuing warning note.
After issuing warning note, it can be determined whether according to the subsequent operation of user really to alarm.Therefore, it is issuing After warning note, mobile terminal continues to test the pressing operation of the programmable button.Why grasped using the pressing of default case Make the confirmation event as subsequent alarms, is because the time is an important factor, if using other in alarm procedure Action event necessarily increases the fussy degree of alarm as alarming determining event, influences the timeliness of alarm.And for right Above-mentioned alarm operates unskilled user, may need to remember complicated operation, and could be familiar with grasping after multiple practice Complicated alarm operation, does not utilize user in case of emergency, rapidly and accurately completes alarm operation.
S130 is sent out if the button operation does not stop after issuing warning note to preset emergency processing side Send warning message.
If the programmable button long press operation of user is maloperation, it is possible to be the mistake generated due to the pressing between being not intended to Warning message.After issuing warning note, user can no longer carry out any operation according to warning note, to avoid alarm is sent Information.And for the user that needs are alarmed, then subsequent operation can be carried out after prompt, that is, continues to press the programmable button behaviour Make.Terminal detects that the button operation does not stop, i.e. user is after receiving warning note, still after sending warning note Key described in right Continued depression, then can determine that the operation of above-mentioned pressing programmable button is not maloperation, then terminal is tight to presetting Anxious situation processing side sends warning message.The transmission warning message may include: to make a phone call, and sends short message, utilizes third Communication software sends warning message in time for side timely communication software, such as wechat, qq etc., so that emergency processing side can Alarm people is handled in time according to the warning message, avoids or reduces alarm people and come to harm.
The present embodiment is issued by detection long-pressing programmable button pressing operation, and in the long press operation for detecting key Prompt, and continue to monitor whether button operation stops after prompt, and when not stopping, send out to preset emergency processing side Send warning message.It can be determined whether according to the subsequent operation of user after prompt for false alarm, and after determination when non-maloperation Warning message is sent to related side.It can avoid generating false alarm while improving alarm velocity.
In a preferred embodiment of the present embodiment, the detection long-pressing programmable button pressing operation can be had Body optimization are as follows: detection long-pressing volume adjustment intermediary button operation.Since usually there are many keys for configuration in the terminal, but its Middle major part key is the outer surface for being separately configured and protruding the mobile terminal, easily when placing, generates Continued depression Effect, and then generate false triggering alarm.And volume adjustment intermediary button is when side is placed, will not due to it with desktop or Contact between other carriers generates Continued depression effect, can prevent due to Continued depression effect generation caused by placing False alarm further reduced the probability of false alarm.
In another preferred embodiment of the present embodiment, can by the sending warning note, advanced optimize for Issue vibration warning note.When user alarms, a variety of dangerous situations may be faced.Such as: since burst disease is led The health risk of cause;Or due to the fire hazard that house kindling generates, and the person danger when being coerced by criminal Danger.Personal Risk especially when being coerced by criminal, the warning note issued only should allow user to experience as far as possible, And cannot be perceived by other people, learn that user is currently being alarmed by mobile terminal to avoid criminal.Using Bright screen, voice or light mode carry out warning note, then are easy to be felt abnormal by criminal.Therefore, in this implementation In example, using vibration mode as warning note, the user of mobile terminal can perceive warning note, and other people then without Method perceives warning note.The privacy that warning note can be enhanced is avoided by other people, and especially criminal learns.Energy The enough further safety for improving user.
Embodiment two
Fig. 2 is the flow diagram of alarm method provided by Embodiment 2 of the present invention.The present embodiment is with above-described embodiment Basis optimizes, in the present embodiment, if the button operation is not stopped after issuing warning note, to default Emergency processing side send warning message, it is specific to optimize are as follows: if after issuing warning note, receive the first preset rules by Key operation then sends the first warning message to emergency contact.
Correspondingly, alarm method provided by the present embodiment, specifically includes:
S210 detects long-pressing programmable button pressing operation, when detecting key long press operation, issues warning note.
S220 continues to test the programmable button pressing operation after issuing warning note.
S230 then sends the to emergency contact if receiving the first preset rules button operation after issuing warning note One warning message.
Since a variety of dangerous situations may be faced when user alarms.Such as: it is good for as caused by burst disease Health is dangerous;Or due to the fire hazard that house kindling generates, and the Personal Risk when being coerced by criminal.And incite somebody to action Above-mentioned different dangerous situation is sent to the same emergency processing side it is clear that inappropriate.Such as: at user When Personal Risk, to the emergency contact of setting, usually perhaps caregiver sends warning message but family members or sees family members People is protected for Personal Risk there is no the processing capacity of response, can only be asked for help to the police, is sent to family members or caregiver Warning message can waste time instead, increase the risk of user.
To avoid above situation, in the present embodiment, it can permit user and set a variety of case behaviour according to actual needs Make, wherein every kind of operation can correspond to different emergency processing sides.Mobile terminal can determine different tight according to operation Anxious situation processing side, and warning message is sent to corresponding emergency processing side.
If after issuing warning note, detecting button operation, if the button operation meets the first preset rules key behaviour Make, that is, detect the button operation of the first preset rules, then sends the first warning message to emergency contact.Illustratively, institute The button operation of the first preset rules is stated, can independently be set according to the actual situation by user, such as may include: preset 3 times or 5 programmable buttons are pressed in period.It presses 3 times or 5 programmable buttons operations respectively corresponds different emergencies Processing side.Such as: 3 corresponding emergency contacts, 5 110 alarm platforms of correspondence.Terminal detect the first preset rules by When key operation, warning message can be sent to emergency contact.
If the present embodiment after issuing warning note by not stopping the button operation, to preset urgent Situation processing side sends warning message, specific to optimize are as follows: if after issuing warning note, receiving the first preset rules key behaviour Make, then sends the first warning message to emergency contact.Connecing for warning message directly can be directly determined according to subsequent operation Receipts object is emergency contact, reduces resource consumption and occupancy to other alarm platforms, while can be improved to warning message Response processing speed.
Embodiment three
Fig. 2 is the flow diagram of alarm method provided by Embodiment 2 of the present invention.The present embodiment is with above-described embodiment Basis optimizes, in the present embodiment, if the button operation is not stopped after issuing warning note, to default Emergency processing side send warning message, it is specific to optimize are as follows: if after issuing warning note, receive the second preset rules by Key operation then sends the second warning message to alarm platform.
Correspondingly, alarm method provided by the present embodiment, specifically includes:
S310 detects long-pressing programmable button pressing operation, when detecting key long press operation, issues warning note.
S320 continues to test the programmable button pressing operation after issuing warning note.
S330 then sends second to alarm platform if receiving the second preset rules button operation after issuing warning note Warning message.
Every kind of operation can correspond to different emergency processing sides.Mobile terminal can determine different tight according to operation Anxious situation processing side, and warning message is sent to corresponding emergency processing side.Illustratively, second preset rules Button operation, can independently be set according to the actual situation by user.Such as: can choose long-pressing be more than 3S pressing it is default by The operation of key.Terminal can send the second alarm signal to alarm platform when detecting the second preset rules button operation Breath.The alarm platform may include: 110 alarm platforms, 119 alarm platforms and 120 medical platforms etc..Wherein, each is pre- If rule can also respectively correspond different alarm platforms, so that user only needs once-through operation, it can be flat to targetedly alarm Platform alert.The timeliness of alarm can be further increased.
If the present embodiment after issuing warning note by not stopping the button operation, to preset tight Anxious situation processing side sends warning message, specific to optimize are as follows: if after issuing warning note, receiving the second preset rules key behaviour Make, then sends the second warning message to alarm platform.The reception of warning message can be directly directly determined according to subsequent operation Object is corresponding alarm platform, can be improved the response speed of warning message transmission.Further enhance the safety of user.
Example IV
Fig. 4 is the flow diagram for the alarm method that the embodiment of the present invention four provides.The present embodiment is with above-described embodiment Basis optimizes, and in the present embodiment, sends the second warning message to alarm platform for described, specific to optimize are as follows: determination is worked as Front position;Type of alarm is determined according to second preset rules;Alarm language is generated according to the current location and type of alarm Sound, and alarm voice is sent to by alarm platform by liaison mode.
Correspondingly, alarm method provided by the present embodiment, specifically includes:
S410 detects long-pressing programmable button pressing operation, when detecting key long press operation, issues warning note.
S420 continues to test the programmable button pressing operation after issuing warning note.
S430, if receiving the second preset rules button operation, it is determined that current location after issuing warning note.
After outwardly alert, it is often desirable that include: various alarm platforms and the urgent feelings of emergency contact Condition processing side can reach rapidly scene.Therefore, it is necessary to the current specific location of user is provided in warning message.In this reality It applies in example, the GPS of mobile terminal configuration can be can use, or utilize after receiving the second preset rules button operation The modes such as WiFi or ibeacon determine the position where terminal.
S440 generates alarm voice according to the current location and type of alarm, and passes through liaison mode for alarm voice It is sent to alarm platform.
Currently, most of alarm platform, for example, 110,120 and 119 etc. can only receive voice call mode alarm.Cause This in the present embodiment can be corresponding with according to preset rules button operation according to the collected current location of the above method Type of alarm, the type of alarm may include: burglary, house robbery, by various types such as life threat, kidnappings. And alarm language is generated with according to the corresponding type of alarm of preset rules button operation according to collected current location Sound illustratively can pass through backstage by various speech production Software Create alarm voices, and using liaison mode The alarm voice that the above method synthesizes is sent to alarm platform by the mode for dialing alarm platform telephone number, so that alarm is flat Platform can quickly and accurately user succours according to the warning message.
The present embodiment is specific to optimize are as follows: to determine current location by sending the second warning message to alarm platform for described; Type of alarm is determined according to second preset rules;Alarm voice is generated according to the current location and type of alarm, and is led to It crosses liaison mode and alarm voice is sent to alarm platform.The characteristics of capable of can only receiving voice for alarm platform, generate report Poster sound.And the relevant informations such as position and type are synthesized in alarm voice, so that alarm platform can quickly have needle To succouring user for property.
Embodiment five
Fig. 5 is the flow diagram for the alarm method that the embodiment of the present invention five provides.The present embodiment is with above-described embodiment Basis optimizes, and in the present embodiment, the method can also increase following steps: detecting in free-falling state When, while emergency warning information is sent to apart from nearest emergency contact and alarm platform.
Correspondingly, alarm method provided by the present embodiment, specifically includes:
S510 detects long-pressing programmable button pressing operation, when detecting key long press operation, issues warning note;
S520 continues to test the programmable button pressing operation after issuing warning note;
S530 is sent out if the button operation does not stop after issuing warning note to preset emergency processing side Send warning message.
S540, when detecting in free-falling state, while to apart from nearest emergency contact and alarm platform Send emergency warning information.
User in burst disease, may when programmable button pressing operation is just completed or is not yet fully finished, Lose the control to mobile terminal.At this point, user is the state for being possible to be in stupor and be in extreme danger.It needs to it Alarm carries out quick response processing.
It in the present embodiment, can be when detecting in free-falling state, while to apart from nearest emergency contact People and alarm platform send emergency warning information.Illustratively, terminal can be determined mobile whole by the gravity sensor configured Whether end is in free-falling state.If it is determined that be in free-falling state, then necessarily user generate stupor or its Its out of control state, causes mobile terminal to slide from hand.User is in state of necessity.Therefore, it is in detecting When free-falling state, while emergency warning information is sent to apart from nearest emergency contact and alarm platform.It is described urgent Contact person, which can be, to be preset Salvorial Relation with it or has any one in the friends of certain social networks. What selected distance was nearest from above-mentioned group is used as emergency contact, and sends simultaneously promptly to emergency contact and alarm platform Warning message.Illustratively, the purpose that two processes are realized while sending emergency warning information can be established respectively simultaneously.It is described Emergency warning information can increase emergency content on the basis of original warning message, can be including the height containing priority Low flag bit, so that emergency contact and alarm platform can be after receiving emergency warning information, it can will be urgent Warning message is preferentially shown according to Priority flag position.
The present embodiment is by increasing following steps: when detecting in free-falling state, while nearest to distance Emergency contact and alarm platform send emergency warning information.It can determine that user is in tight according to detection free-falling state Anxious state, and emergency warning information is sent to apart from nearest emergency contact and alarm platform, it allows the user to the greatest extent It is given treatment to fastly.
Embodiment six
Fig. 6 is the structural schematic diagram for the warning device that the embodiment of the present invention six provides, as shown in fig. 6, described device includes:
Sending module 610 is prompted, for detecting long-pressing programmable button pressing operation, when detecting key long press operation, Issue warning note;
Detection module 620, for continuing to test the programmable button pressing operation after issuing warning note;
Warning message sending module 630, if not stopping after issuing warning note for the button operation, to default Emergency processing side send warning message.
Warning device provided in this embodiment by detecting long-pressing programmable button pressing operation, and is detecting key When long press operation, prompt is issued, and continues after prompt to monitor whether button operation stops, and when not stopping, to preset Emergency processing side sends warning message.It can be determined whether according to the subsequent operation of user after prompt for false alarm, and Warning message is sent to related side when non-maloperation after determination.It can avoid generating false alarm while improving alarm velocity.
On the basis of the various embodiments described above, the prompt sending module, comprising:
Detection unit, for detecting the operation of long-pressing volume adjustment intermediary button.
On the basis of the various embodiments described above, the prompt sending module, comprising:
Transmission unit, for issuing vibration warning note.
On the basis of the various embodiments described above, the warning message sending module, comprising:
First warning message transmission unit, if receiving the first preset rules button operation after for issuing warning note, Then the first warning message is sent to emergency contact.
The warning message sending module, comprising:
First warning message transmission unit, if receiving the second preset rules button operation after for issuing warning note, Then the second warning message is sent to alarm platform.
On the basis of the various embodiments described above, the first warning message transmission unit, comprising:
Position determines subelement, for determining current location;
Type determination unit, for determining type of alarm according to second preset rules;
Transmission sub-unit for generating alarm voice according to the current location and type of alarm, and passes through liaison mode Alarm voice is sent to alarm platform.
On the basis of the various embodiments described above, described device further include:
Emergency warning information sending module, for when detecting in free-falling state, while nearest to distance Emergency contact and alarm platform send emergency warning information.
Alarm method provided by any embodiment of the invention can be performed in warning device provided by the embodiment of the present invention, tool The standby corresponding functional module of execution method and beneficial effect.
Embodiment seven
Fig. 7 is a kind of structural schematic diagram for terminal that the embodiment of the present invention seven provides.Fig. 7, which is shown, to be suitable for being used to realizing this The block diagram of the exemplary terminal 12 of invention embodiment.The terminal 12 that Fig. 7 is shown is only an example, should not be to of the invention real The function and use scope for applying example bring any restrictions.
As shown in fig. 7, terminal 12 is showed in the form of universal computing device.The component of terminal 12 may include but unlimited In one or more processor or processing unit 16, system storage 28, connecting different system components, (including system is deposited Reservoir 28 and processing unit 16) bus 18.
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Terminal 12 typically comprises a variety of computer system readable media.These media can be it is any can be by terminal 12 The usable medium of access, including volatile and non-volatile media, moveable and immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 30 and/or cache memory 32.Terminal 12 may further include it is other it is removable/nonremovable, Volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing irremovable , non-volatile magnetic media (Fig. 7 do not show, commonly referred to as " hard disk drive ").Although being not shown in Fig. 7, use can be provided In the disc driver read and write to removable non-volatile magnetic disk (such as " floppy disk "), and to removable anonvolatile optical disk The CD drive of (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driver can To be connected by one or more data media interfaces with bus 18.Memory 28 may include at least one program product, The program product has one group of (for example, at least one) program module, these program modules are configured to perform each implementation of the invention The function of example.
Program/utility 40 with one group of (at least one) program module 42 can store in such as memory 28 In, such program module 42 include but is not limited to operating system, one or more application program, other program modules and It may include the realization of network environment in program data, each of these examples or certain combination.Program module 42 is usual Execute the function and/or method in embodiment described in the invention.
Terminal 12 can also be communicated with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 etc.), Can also be enabled a user to one or more equipment interacted with the terminal 12 communication, and/or with enable the terminal 12 with One or more of the other any equipment (such as network interface card, modem etc.) communication for calculating equipment and being communicated.It is this logical Letter can be carried out by input/output (I/O) interface 22.Also, terminal 12 can also by network adapter 20 and one or The multiple networks of person (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.As shown, Network adapter 20 is communicated by bus 18 with other modules of terminal 12.It should be understood that although not shown in the drawings, can combine Terminal 12 use other hardware and/or software module, including but not limited to: microcode, device driver, redundant processing unit, External disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and Data processing, such as realize alarm method provided by the embodiment of the present invention.
Embodiment eight
The embodiment of the present invention eight additionally provides a kind of storage medium comprising computer executable instructions, and the computer can Execute instruction when being executed by computer processor for row it is provided by the above embodiment it is any as described in alarm method.
The computer storage medium of this hair embodiment, can be using any group of one or more computer-readable media It closes.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable to deposit Storage media for example may be-but not limited to-system, device or the device of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor Part, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: to have The electrical connection of one or more conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, also Such as including conventional procedural programming language-" C " language or similar programming language.Program code can be complete Ground executes on the user computer, partly executes on the user computer, executing as an independent software package, partially existing Part executes on the remote computer or executes on a remote computer or server completely on subscriber computer.It is being related to In the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or wide area Net (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as using ISP come It is connected by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. a kind of alarm method characterized by comprising
Long-pressing programmable button pressing operation is detected, when detecting key long press operation, issues warning note;
After issuing warning note, the programmable button pressing operation is continued to test;
If the button operation does not stop after issuing warning note, alarm signal is sent to preset emergency processing side Breath.
2. the method according to claim 1, wherein the detection long-pressing programmable button pressing operation, comprising:
Detect the operation of long-pressing volume adjustment intermediary button.
3. the method according to claim 1, wherein the sending warning note, comprising:
Issue vibration warning note.
If 4. the method according to claim 1, wherein the button operation after issuing warning note not Stop, then send warning message to preset emergency processing side, comprising:
If receiving the first preset rules button operation after issuing warning note, then the first alarm signal is sent to emergency contact Breath.
If 5. the method according to claim 1, wherein the button operation after issuing warning note not Stop, then send warning message to preset emergency processing side, comprising:
If receiving the second preset rules button operation after issuing warning note, then the second warning message is sent to alarm platform.
6. according to the method described in claim 5, described send the second warning message to alarm platform, comprising:
Determine current location;
Type of alarm is determined according to second preset rules;
Alarm voice is generated according to the current location and type of alarm, and alarm voice is sent to by alarm by liaison mode Platform.
7. the method according to claim 1, wherein the method also includes:
Urgent report is sent when detecting in free-falling state, while to apart from nearest emergency contact and alarm platform Alert information.
8. a kind of warning device characterized by comprising
Sending module is prompted, for detecting long-pressing programmable button pressing operation, when detecting key long press operation, issues alarm Prompt;
Detection module, for continuing to test the programmable button pressing operation after issuing warning note;
Warning message sending module, if not stopping after issuing warning note for the button operation, to preset urgent Situation processing side sends warning message.
9. a kind of terminal, which is characterized in that the terminal includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now alarm method as described in any in claim 1-7.
10. a kind of storage medium comprising computer executable instructions, the computer executable instructions are by computer disposal For executing alarm method as claimed in claim 1 when device executes.
CN201811036225.7A 2018-09-06 2018-09-06 alarm method, device, terminal and storage medium Pending CN109147238A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811036225.7A CN109147238A (en) 2018-09-06 2018-09-06 alarm method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811036225.7A CN109147238A (en) 2018-09-06 2018-09-06 alarm method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN109147238A true CN109147238A (en) 2019-01-04

Family

ID=64827253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811036225.7A Pending CN109147238A (en) 2018-09-06 2018-09-06 alarm method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109147238A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111147666A (en) * 2019-12-19 2020-05-12 珠海市魅族科技有限公司 Quick alarm method and device, terminal and storage medium
CN111953842A (en) * 2019-05-16 2020-11-17 北京小米移动软件有限公司 Electronic equipment, safety protection method and device
CN115909650A (en) * 2021-09-22 2023-04-04 北京小米移动软件有限公司 Alarm method, device, storage medium and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1805469A (en) * 2005-01-11 2006-07-19 乐金电子(中国)研究开发中心有限公司 Mobile telephone with alarm function and its alarm method
CN203708318U (en) * 2013-11-26 2014-07-09 四川信息职业技术学院 Emergency call system based on Android system
CN104157094A (en) * 2013-05-14 2014-11-19 纬创资通股份有限公司 Emergency detection method for mobile device
CN104616461A (en) * 2015-02-12 2015-05-13 伍军旭 Mobile phone alarming method and system
CN105023389A (en) * 2015-07-08 2015-11-04 上海斐讯数据通信技术有限公司 Method, device and mobile terminal being capable of emergent seeking for help
CN105380640A (en) * 2015-10-28 2016-03-09 广东小天才科技有限公司 Method and device for sending distress signal
CN105448056A (en) * 2015-12-23 2016-03-30 深圳市嘉兰图设计股份有限公司 Alarm button system with pre-alarm function
EP3288238A1 (en) * 2015-04-23 2018-02-28 ZTE Corporation Terminal alarm method and apparatus

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1805469A (en) * 2005-01-11 2006-07-19 乐金电子(中国)研究开发中心有限公司 Mobile telephone with alarm function and its alarm method
CN104157094A (en) * 2013-05-14 2014-11-19 纬创资通股份有限公司 Emergency detection method for mobile device
CN203708318U (en) * 2013-11-26 2014-07-09 四川信息职业技术学院 Emergency call system based on Android system
CN104616461A (en) * 2015-02-12 2015-05-13 伍军旭 Mobile phone alarming method and system
EP3288238A1 (en) * 2015-04-23 2018-02-28 ZTE Corporation Terminal alarm method and apparatus
CN105023389A (en) * 2015-07-08 2015-11-04 上海斐讯数据通信技术有限公司 Method, device and mobile terminal being capable of emergent seeking for help
CN105380640A (en) * 2015-10-28 2016-03-09 广东小天才科技有限公司 Method and device for sending distress signal
CN105448056A (en) * 2015-12-23 2016-03-30 深圳市嘉兰图设计股份有限公司 Alarm button system with pre-alarm function

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111953842A (en) * 2019-05-16 2020-11-17 北京小米移动软件有限公司 Electronic equipment, safety protection method and device
CN111147666A (en) * 2019-12-19 2020-05-12 珠海市魅族科技有限公司 Quick alarm method and device, terminal and storage medium
CN111147666B (en) * 2019-12-19 2023-11-07 珠海市魅族科技有限公司 Shortcut alarm method and device, terminal and storage medium
CN115909650A (en) * 2021-09-22 2023-04-04 北京小米移动软件有限公司 Alarm method, device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
US11749094B2 (en) Apparatus, systems and methods for providing alarm and sensor data to emergency networks
CN108898807A (en) Concealed alarm method, apparatus, terminal and storage medium
US10798552B2 (en) Emergency call-for-help method and system based on fingerprint identification for mobile terminal, and mobile terminal
JP5813199B1 (en) Nurse call system
US9819784B1 (en) Silent invocation of emergency broadcasting mobile device
CN107464406A (en) Alarm method, system and corresponding wearable device based on wearable device
CN102883049A (en) A concealed alarm unlocking method for a mobile terminal and its mobile terminal
WO2019184312A1 (en) Concealed mobile phone fingerprint recognition alarm system and method
KR102152449B1 (en) Method and apparatus for sharing dangerous status of user by using timer
CN109147238A (en) alarm method, device, terminal and storage medium
CN107256620A (en) Mobile terminal alarm device and mobile terminal alarming method
CN103680086A (en) Method and electronic terminal for monitoring indoor safety
WO2019148684A1 (en) Vehicle interior monitoring method and device
EP3934217B1 (en) Reminding task processing method, terminal, and computer readable storage medium
CN104954429A (en) Method of automatic help seeking system in danger
CN108134620A (en) A kind of rescue processing method and system
CN206805757U (en) Mobile terminal alarm device
CN118506808A (en) Baling identification and processing method and device, electronic equipment and storage medium
CN102625084B (en) Intelligent television monitoring system
CN108234754A (en) Call processing method and equipment
CN107862841A (en) Emergency rescue implementation method, device and storage medium of the user based on internet
CN112929491B (en) Application program starting method and related device
WO2016147202A1 (en) System and method for implementing emergency response platform
KR20170035716A (en) Hybrid homecare health service apparatus and method thereof
CN104768132A (en) A call detection method and a call detection device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190104