CN108702610A - Alarm method, device, equipment and computer storage media - Google Patents
Alarm method, device, equipment and computer storage media Download PDFInfo
- Publication number
- CN108702610A CN108702610A CN201880000641.3A CN201880000641A CN108702610A CN 108702610 A CN108702610 A CN 108702610A CN 201880000641 A CN201880000641 A CN 201880000641A CN 108702610 A CN108702610 A CN 108702610A
- Authority
- CN
- China
- Prior art keywords
- terminal
- alert data
- communication mode
- sent
- alarm
- 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
Links
- 238000004891 communication Methods 0.000 claims abstract description 254
- 238000000034 method Methods 0.000 claims abstract description 58
- 230000005540 biological transmission Effects 0.000 claims description 33
- 230000000694 effects Effects 0.000 abstract description 11
- 230000006870 function Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 230000008901 benefit Effects 0.000 description 4
- 239000000779 smoke Substances 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000012905 input function Methods 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000009545 invasion Effects 0.000 description 1
- 239000007788 liquid Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000033001 locomotion Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003032 molecular docking Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 231100000331 toxic Toxicity 0.000 description 1
- 230000002588 toxic effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/90—Services for handling of emergency or hazardous situations, e.g. earthquake and tsunami warning systems [ETWS]
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B19/00—Alarms responsive to two or more different undesired or abnormal conditions, e.g. burglary and fire, abnormal temperature and abnormal rate of flow
- G08B19/005—Alarms responsive to two or more different undesired or abnormal conditions, e.g. burglary and fire, abnormal temperature and abnormal rate of flow combined burglary and fire alarm systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- Emergency Management (AREA)
- Environmental & Geological Engineering (AREA)
- Public Health (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Alarm Systems (AREA)
Abstract
This application provides a kind of alarm method, device, equipment and computer storage medias, are related to alarm technique field, and this method is applied to warning device, and this method includes:The processor of warning device is respectively adopted near-field communication modes and network communication mode and sends alert data to first terminal when alarm flow starts;Determine the communication mode that the alert data is successfully sent to the first terminal;Alarm corresponding with the communication mode determined is executed to operate.The application contributes to user to know alert data in time, can effectively promote warning effect.
Description
Technical field
This application involves alarm technique fields, store and are situated between more particularly, to a kind of alarm method, device, equipment and computer
Matter.
Background technology
With development in science and technology, warning device is widely used to home dwelling, factory position warehouse or office space etc..With family
For house, user can be installed on the alarms such as smoke alarm, flammable gas alarm or burglar alarm in premises
Equipment, warning device can send out alarm when monitoring local environment exception by modes such as whistle, voice broadcasts, to cause resident
Pay attention to.However, when warning device sends out alarm, in fact it could happen that the case where user stays out, user are difficult to know exception in time
Situation, warning effect are bad.
Apply for content
In view of this, the purpose of the application includes, for example, providing a kind of alarm method, device, equipment and computer storage
Medium can promote warning effect.
In order to realize that the purpose of at least one the application, the technical solution used in one embodiment of the application are as follows:
In a first aspect, providing a kind of alarm method, the method is applied to warning device, the method includes:It is described
Near-field communication modes and network communication mode is respectively adopted to first terminal when alarm flow starts in the processor of warning device
Send alert data;Determine the communication mode that the alert data is successfully sent to the first terminal;It executes and determines
The corresponding alarm operation of the communication mode.
It is described to send alert data to first terminal using at least two communication modes in the application optional embodiment
The step of, including:The near field communications link and network communication chain between the electronic equipment and the first terminal are established respectively
Road;If the near field communications link is successfully established, alarm number is transmitted to the first terminal by the near field communications link
According to;If the network communication link is successfully established, alarm number is transmitted to the first terminal by the network communication link
According to.
In the application optional embodiment, the method further includes:If the near field communications link and the network
Communication link is successfully established, and the alert data is sent to the first terminal by the near field communications link at first,
Stop transmitting alert data to the first terminal by the network communication link.
In the application optional embodiment, the alert data is successfully sent to the first terminal by the determination
The step of communication mode, including:The processor of the warning device receives the feedback information that the first terminal is sent;Wherein,
The feedback information carries the mark that the first terminal receives the communication mode that the alert data uses;According to described anti-
The mark carried in feedforward information determines the communication mode that the alert data is successfully sent to the first terminal.
In the application optional embodiment, the step of execution operation of alarming corresponding with the communication mode determined
Suddenly, including:If it is determined that the communication mode be network communication mode, judge whether receive institute within default first time
State the user instruction that first terminal issues;If not, sending the alert data to designated terminal.
In the application optional embodiment, the designated terminal is second terminal;It is described to designated terminal send described in
The step of alert data, including:It is sent out to the second terminal using the network communication mode and/or the near-field communication modes
Send the alert data.
In the application optional embodiment, the designated terminal is still first terminal;It is described to send institute to designated terminal
The step of stating alert data, including:It is sent and is alarmed to the first terminal using short message communication mode and/or telephone communication mode
Data.
In the application optional embodiment, it is described using short message communication mode and/or telephone communication mode to described the
One terminal sends the step of alert data, including:By short message communication mode alert data is sent to the first terminal;Judge
The user instruction that the first terminal issues whether is received within default second time;If not, passing through telephone communication mode
Alert data is sent to the first terminal.
In the application optional embodiment, the step of execution operation of alarming corresponding with the communication mode determined
Suddenly, including:If it is determined that the communication mode be near-field communication modes, judge whether receive institute within the default third time
State the user instruction that first terminal issues;If not, alert data described in voice broadcast.
In the application optional embodiment, the near-field communication modes include Bluetooth communication or infrared communication;The net
Network communication mode includes mobile interchange Network Communication.
Second aspect provides a kind of warning device, and described device is applied to warning device, and described device includes:Data
Sending module is configured to, when alarm flow starts, near-field communication modes and network communication mode be respectively adopted to first terminal
Send alert data;Wherein, the communication mode includes near-field communication modes or network communication mode;Determining module is communicated, is matched
It is set to the communication mode for determining and the alert data being successfully sent to the first terminal;Operation executing module is configured to hold
Row alarm corresponding with the communication mode determined operates.
In the application optional embodiment, the data transmission blocks are configured to:Establish respectively the electronic equipment with
Near field communications link between the first terminal and network communication link;If the near field communications link is successfully established, lead to
It crosses the near field communications link and transmits alert data to the first terminal;If the network communication link is successfully established, lead to
It crosses the network communication link and transmits alert data to the first terminal.
In the application optional embodiment, described device further includes:Stopping modular, if being configured to the near-field communication
Link and the network communication link are successfully established, and the alert data is sent to by the near field communications link at first
The first terminal stops transmitting alert data to the first terminal by the network communication link.
In the application optional embodiment, the communication determining module is configured to:Receive what the first terminal was sent
Feedback information;Wherein, the feedback information carries the first terminal and receives communication mode that the alert data uses
Mark;According to the mark carried in the feedback information, determines and the alert data is successfully sent to the first terminal
Communication mode.
In the application optional embodiment, the operation executing module includes:Judging unit, be configured to if it is determined that
The communication mode is network communication mode, judges the use that the first terminal issues whether is received within default first time
Family instructs;Transmission unit is configured to, when the judging result of the judging unit is no, the alarm number be sent to designated terminal
According to.
In the application optional embodiment, the designated terminal is second terminal;The transmission unit is configured to:Using
The network communication mode and/or the near-field communication modes send the alert data to the second terminal.
In the application optional embodiment, the designated terminal is still first terminal;The transmission unit is configured to:It adopts
With short message communication mode and/or telephone communication mode alert data is sent to the first terminal.
In the application optional embodiment, the transmission unit is further configured to:By short message communication mode to institute
It states first terminal and sends alert data;Judge that whether receiving the user that the first terminal issues within default second time refers to
It enables;If not, sending alert data to the first terminal by telephone communication mode.
The third aspect, provides a kind of warning device, and the warning device includes memory and processor, the storage
Device is configured to storage and processor is supported to execute the program of any one of first aspect the method, and the processor is configured to execute institute
State the program stored in memory.
Fourth aspect provides a kind of computer storage media, is configured to be stored as any one of second aspect described device
Computer software instructions used.
This application provides a kind of alarm method, device, equipment and computer storage medias, when alarm flow starts,
Using at least two communication modes alert data is sent to first terminal;Then it determines and alert data is successfully sent to first eventually
The communication mode at end, and then execute alarm corresponding with the communication mode determined and operate.Above-mentioned alarm method can use two kinds
Communication mode sends alert data to user, and is executed accordingly based on the communication mode that alert data is successfully sent to user
Alarm operation can also execute different alarm operations, in order to which user knows alarm number in time according to practical communication situation
According to effectively promoting warning effect.
Other feature and advantage of the application will illustrate in the following description, alternatively, Partial Feature and advantage can be with
Deduce from specification or unambiguously determine, or by implement the application above-mentioned technology it can be learnt that.
To enable the above objects, features, and advantages of the application to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate
Appended attached drawing, is described in detail below.
Description of the drawings
It, below will be to specific in order to illustrate more clearly of the application specific implementation mode or technical solution in the prior art
Embodiment or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, in being described below
Attached drawing is some embodiments of the application, for those of ordinary skill in the art, before not making the creative labor
It puts, other drawings may also be obtained based on these drawings.
Fig. 1 shows a kind of alarm method flow chart that the embodiment of the present application is provided;
Fig. 2 shows another alarm method flow charts that the embodiment of the present application is provided;
Fig. 3 shows a kind of structure diagram for warning device that the embodiment of the present application is provided;
Fig. 4 shows the structure diagram for another warning device that the embodiment of the present application is provided;
Fig. 5 shows a kind of structural schematic diagram for warning device that the embodiment of the present application is provided.
Specific implementation mode
To keep the purpose, technical scheme and advantage of the application clearer, below in conjunction with attached drawing to the technology of the application
Scheme is clearly and completely described, it is clear that and described embodiment is some embodiments of the present application, rather than whole
Embodiment.Based on the embodiment in the application, those of ordinary skill in the art are obtained without making creative work
The every other embodiment obtained, shall fall in the protection scope of this application.
A kind of alarm method flow chart shown in Figure 1, this method are applied to warning device, which can be
Any individual warning device, smoke alarm, burglar alarm or toxic air alarm device etc., or be integrated in
Warning piece in a certain system, or the warning piece that is integrated on certain electronic equipment, this method can specifically be set by alarm
Standby processor executes, and includes the following steps:
It is whole to first that near-field communication modes and network communication mode is respectively adopted when alarm flow starts in step S102
End sends alert data.In specific implementation, near-field communication modes can be also known as close range wireless communication modes, can specifically wrap
Bluetooth communication or infrared communication etc. are included, the main information exchange realized using close range communication techniques between two equipment.Network
Communication mode may include mobile interchange Network Communication, Internet of Things etc., can realize telecommunication, such as, warning device passes through
Mobile Internet is directly docked with first terminal, alert data is sent to first terminal, warning device can also be by number of alarming
Alert data is handed down to first terminal according to being sent to server, then by server.
Above-mentioned first terminal is user terminal, can be the portable intelligents terminal such as mobile phone, ipad of related personnel, the phase
Pass personnel can be the manager of warning device, the personnel that can also take measures to the abnormal conditions of warning device senses.
Such as, when warning device is installed on premises, related personnel can be the householder of the house;Warning device is installed in office
When, related personnel can be the personnel to handle official business in the office.Above-mentioned alert data can include alarm and reminding information, also may be used
To include specific exception information, such as, when warning device is smoke alarm, alert data may include that smog is dense
Degree;When warning device is burglar alarm, alert data may include the time invaded by criminal, place or invasion side
Formula etc..It is understood that the form and content of alert data can flexibly be set according to the particular use of warning device,
It is not limited herein.
Step S104 determines the communication mode that alert data is successfully sent to first terminal.If first terminal and report
At a distance of relatively closely, warning device can successfully pass the short-range communications mode such as bluetooth and alert data is issued first alert equipment
Terminal, at this time can be with since Near-field Data transmission mode is usually faster than other communication modes when being sent alert data
Cut off other communication modes that alert data is sent to first terminal.If first terminal is apart from each other with warning device, alarm
Alert data can not be sent to first terminal by equipment by short-range communication mode, thus network communication mode can successfully by
Alert data is sent to first terminal.Step S104 contributes to the communication party by the way that alert data to be successfully sent to first terminal
Formula judges whether first terminal is relatively close apart with warning device.
When determining the communication mode for the communication mode that alert data is successfully sent to first terminal, warning device can be with
Judged according to data transmission scenarios oneself, the feedback information that can also be sent according to first terminal judges.Specifically, warning device
Processor can receive first terminal transmission feedback information (specifically, can be signal of the processor by warning device
Receiver receives feedback information);Wherein, feedback information carries the mark that first terminal receives the communication mode that alert data uses
Know;Then according to the mark carried in feedback information, the communication mode that alert data is successfully sent to first terminal is determined.
That is, if what is carried in feedback information is identified as short range transmission mark, alert data is sent to first terminal by determination at first
Transmission mode be short range transmission mode;If what is carried in feedback information is identified as remote transmission mark, determine at first
The transmission mode that alert data is sent to first terminal is remote transmission mode;Such as, when first terminal is passed with bluetooth
Defeated mode receives alert data, then carries Bluetooth identification in the feedback information sent to warning device, which can
Think preset characters or number.
Step S106 executes alarm corresponding with the communication mode determined and operates.That is, executing and successfully by alert data
It is sent to the corresponding alarm operation of communication mode of first terminal.Such as, if it is determined that alert data is successfully sent to first
The communication mode of terminal is near-field communication modes, for example alarm terminal successfully passes bluetooth approach and alert data is sent to user
Mobile phone on, illustrate that the user is located at premises, alert data data can be timely responded to, or can further pass through ring
The modes such as flute, voice broadcast prompt user.If it is determined that near-field communication fails, alert data is successfully sent to first terminal
Communication mode is network communication mode, illustrates that user is apart from each other with warning device, just all using modes such as whistle, voice broadcasts
Useless, thus can further be sent short messages using the mobile phone to user, make a phone call or to other related personnel (such as,
Neighbours, property personnel of user etc.) alert data is sent, so that causing the unusual condition of alarm can be addressed.
In the above method of the present embodiment, two kinds of communication modes can be used to send alert data to user simultaneously, according to
The communication mode that alert data is successfully sent to first terminal is determined, thus based on alert data is successfully sent to user's
Communication mode executes corresponding alarm operation, and this mode can be operated according to actual conditions using different alarms, in order to
User knows alert data in time, effectively improves warning effect.
In practical applications, this gives a kind of specific embodiments of execution above-mentioned steps S102:Respectively
Establish the near field communications link and network communication link between electronic equipment and first terminal;If near field communications link is created as
Work(transmits alert data by near field communications link to first terminal;It is logical by network if network communication link is successfully established
Believe that chain road direction first terminal transmits alert data.
It is further explained so that warning device is mounted on premises as an example as follows:If user is located at premises, first
Terminal (that is, mobile phone etc. of user) distance alarm equipment is closer, and warning device can be all directly with first terminal near-field communication
If warning device can be docked directly by bluetooth module with first terminal, alert data is sent to by bluetooth communications link
First terminal.If user is located at outside house, farther out, it is logical that warning device can not resettle near field to first terminal distance alarm equipment
Believe link, it is difficult to send alert data to first terminal by modes such as bluetooth modules again, net can also be passed through at this time
Alert data is sent to first terminal by network communication link.In practical applications, warning device can be directly logical with first terminal
The form docking for crossing internet, first can also be sent to server by alert data, be then forwarded to alert data by server
First terminal.In practical applications, it can be provided on first terminal and received with the relevant alarm APP of server, server
After alert data, alert data can be issued to the alarm APP of first terminal.
In view of when user be located at warning device it is closer when, near-field communication and network communication can transmission data, in order to keep away
It is hands-free to show that cumbersome, promotion user experience, the above method further include:If near field communications link and network communication link are established
Success, and alert data is sent to first terminal by near field communications link at first, stops passing through network communication link to first
Terminal transmission alert data.It is understood that usually near field communications link is fast compared to the data transmission of network communication link
Degree is fast, if establishing near field communications link and network communication link simultaneously, alert data would generally pass through near-field communication chain at first
Road is sent to first terminal, can cut off network communication link at this time, stops network communication link and transmits alarm to first terminal
Data, avoid first terminal from receiving two parts of alert datas within being separated by the shorter time, and user experience is bad.
It is network communication mode that following exemplary, which is enumerated and alert data ought be successfully sent to the communication mode of first terminal,
Or when near-field communication modes, the specific implementation mode of corresponding alarm operation is executed:
(1) communication mode that alert data is successfully sent to first terminal is network communication mode
If warning device is that alert data is successfully sent to first terminal by network communication mode, illustrate that near field is logical
Letter mode transmission data fail, such as, warning device can not use bluetooth connection first terminal, thus may determine that related personnel with
The standoff distance of warning device is farther out.Such as, if the warning device is mounted on premises, related personnel may be now placed in
Outside residence, in order to cope with unusual condition in time, alarm operation corresponding with network communication mode can refer to as follows:
(1) judge the user instruction that first terminal issues whether is received within default first time;
(2) if not, sending alert data to designated terminal.
In one embodiment, which is the second terminal different from first terminal, which can be with
For other associated terminals of user setting, another mobile phone that such as user possesses the either mobile phone of user household or user
The smart machines such as the mobile phone of neighbours.Thus, it, can when not receiving the user instruction that first terminal issues within default first time
To send alert data to second terminal using network communication mode and/or near-field communication modes.
In another embodiment, which is still first terminal, it is default at the first time in do not receive the
When the user instruction that one terminal issues, short message communication mode and/or telephone communication mode may be used and send report to first terminal
Alert data.The present embodiment provides a kind of concrete mode:Alert data is sent to first terminal by short message communication mode first;So
Judge the user instruction that first terminal issues whether is received within default second time afterwards;If not, passing through telephone communication side
Formula sends alert data to first terminal.That is, call first terminal.
Certainly, in practical applications, telephone communication mode can also be directly used to send alert data to first terminal, it is all
Such as, call is automatically initiated to first terminal, if first terminal response, (that is, report) report is sent to first terminal
Alert data can send alert data to first terminal if first terminal dont answer by short message communication mode.
By the above-mentioned means, user can be prompted again by modes such as short message, phones in user's not timely response,
Prompt warning effect.
(2) communication mode that alert data is successfully sent to first terminal is near-field communication modes
If warning device is that alert data is successfully sent to first terminal by near-field communication modes, such as, pass through
Alert data is sent to first terminal by bluetooth approach, illustrates that related personnel is relatively close apart with warning device, can be in time to different
Normal situation takes measures.In order to cope with unusual condition in time, corresponding with network communication mode alarm operation can refer to as
Under:
(1) judge the user instruction that first terminal issues whether is received within the default third time;
(2) if not, voice broadcast alert data.In practical application, warning device can be provided with for reporting language
The loudspeaker etc. of sound.Certainly, warning device can also use the modes such as whistle that user is prompted to pay attention to.
Although user is located at premises, the message of first terminal could not may be in time noticed, thus broadcast can be passed through
Etc. forms voice broadcast alert data, to cause user's note that and taking timely measure.
In conclusion above-mentioned alarm method provided in this embodiment, can use communication to be sent to user and report
Alert data, and corresponding alarm operation is determined according to the communication mode that alert data is successfully sent to user, in order to user
Know alert data in time, effectively improves warning effect.
For ease of understanding, the present embodiment furthermore presents a kind of specific implementation of alarm method, with Bluetooth communication
It is illustrated with for mobile interchange Network Communication, another alarm method flow chart shown in Figure 2 includes the following steps:
Step S202 is given by Blue-tooth communication method and mobile Internet communication mode respectively when alarm flow starts
User terminal sends alert data.
Step S204 judges whether Blue-tooth communication method succeeds according to feedback information of the user terminal based on alert data;
If not, step S206 is executed, if so, executing step S214.The success or not of Blue-tooth communication method can illustrate that user is
No relatively close apart with warning device, warning device can take different alarm strategies according to the distance of user.
Step S206 judges the user instruction that user terminal issues whether is received within default first time;If not,
Execute step S208;If so, terminating.
Step S208 sends alert data by short message communication mode to user terminal;
Step S210 judges the user instruction that user terminal issues whether is received within default second time;If not,
Execute step S212;If so, terminating.
Step S212 sends alert data by telephone communication mode to first terminal.When it is implemented, if calling the
One terminal when first terminal is not replied, can also repeatedly call first terminal according to preset time interval.
Step S214 judges the user instruction that user terminal issues whether is received within the default third time;If not,
Execute step S216;If so, terminating.
Step S216, voice broadcast alert data.
In practical applications, above-mentioned first time, the second time and third time may be the same or different, specifically
It can be arranged according to demand and flexibly, herein without limiting.
Above-mentioned alarm method provided in this embodiment, warning device can be used for Blue-tooth communication method success or not
Alarm operation accordingly illustrates that user is relatively close apart with warning device if Blue-tooth communication method success, thus can be in user
When not timely responding to, user is prompted to pay attention to using modes such as voice broadcasts.If Blue-tooth communication method fails, illustrate user and report
Alert equipment is apart from each other, thus can be when user does not timely respond to, and using sending short messages, making a phone call etc., modes prompt user to note
Meaning.Aforesaid way helps that user is made to know alert data in time, effectively improves warning effect.
Corresponding to aforementioned alarm method, the present embodiment further provides a kind of warning device, one kind shown in Figure 3
The structure diagram of warning device, the device are applied to warning device, which includes:
Data transmission blocks 302 are configured to when alarm flow starts, using at least two communication modes to first terminal
Send alert data;Wherein, communication mode includes near-field communication modes or network communication mode;
Determining module 304 is communicated, is configured to determine the communication mode that alert data is successfully sent to first terminal;
Operation executing module 306 is configured to execute alarm operation corresponding with determining communication mode.
Above-mentioned warning device provided in this embodiment can use two kinds of communication modes to send alert data to user, and
Corresponding alarm operation is executed based on the communication mode that alert data is successfully sent to user, it also can be according to practical communication
Situation executes different alarm operations, helps that user is made to know alert data in time, effectively promotes warning effect.
In one embodiment, data transmission blocks 302 are configured to:It establishes between electronic equipment and first terminal respectively
Near field communications link and network communication link;If near field communications link is successfully established, by near field communications link to first
Terminal transmission alert data;If network communication link is successfully established, is transmitted and alarmed to first terminal by network communication link
Data.
In one embodiment, communication determining module 304 is configured to:Receive the feedback information that first terminal is sent;Its
In, feedback information carries the mark that first terminal receives the communication mode that alert data uses;It is carried according in feedback information
Mark, determine the communication mode that alert data is successfully sent to first terminal.
In the specific implementation, above-mentioned apparatus further includes:Stopping modular, if being configured near field communications link and network communication
Link is successfully established, and alert data is sent to first terminal by near field communications link at first, and stopping passes through network communication
Chain road direction first terminal transmits alert data.
The structure diagram of another warning device shown in Figure 4, on the basis of Fig. 3, operation executing module 306 is wrapped
It includes:
Instruct judging unit 3062, be configured to if it is determined that communication mode be network communication mode, judge presetting the
Whether user instruction that first terminal issue is received in one time;
Data transmission unit 3064 is configured to, when the judging result of judging unit is no, send and alarm to designated terminal
Data.
In one embodiment, designated terminal is second terminal;Data transmission unit is configured to:Using network communication side
Formula and/or near-field communication modes send alert data to second terminal.
In another embodiment, designated terminal is still first terminal;Data transmission unit is configured to:It is logical using short message
Letter mode and/or telephone communication mode send alert data to first terminal.When it is implemented, data transmission unit is further matched
It is set to:By short message communication mode alert data is sent to first terminal;Judge whether to receive the within default second time
The user instruction that one terminal issues;If not, sending alert data to first terminal by telephone communication mode.
If it is determined that communication mode be near-field communication modes, operation executing module 306 may be configured to judge pre-
If whether receiving the user instruction that first terminal issues in the third time;If not, voice broadcast alert data.
The technique effect of the device that the present embodiment is provided, realization principle and generation is identical with previous embodiment, for letter
It describes, device embodiment part does not refer to place, can refer to corresponding contents in preceding method embodiment.
Further, a kind of warning device is present embodiments provided, warning device includes memory and processor, memory
Being configured to storage supports processor to execute the program of any one of aforementioned alarm method, and processor is configured to execute and be stored in memory
Program.
Fig. 5 shows a kind of structural schematic diagram of the warning device provided with embodiments herein.With reference to figure 5, report
Warning equipment includes:Radio frequency (Radio Frequency, RF) circuit 510, memory 520, input unit 530, display unit 540,
Sensor 550, voicefrequency circuit 560, Wireless Fidelity (wireless fidelity, WiFi) module 570, processor 580 and
The components such as power supply 590.It will be understood by those skilled in the art that Fig. 5 is only a kind of topology example of warning device, shown in Fig. 5
Warning device structure do not constitute the restriction to warning device, may include than illustrating more or fewer components or group
Close certain components or different components arrangement.
Each component parts of warning device is specifically introduced with reference to Fig. 5:
RF circuits 510 can be configured to during receiving and sending messages, and signal sends and receivees, particularly, by the downlink of base station
After information receives, handled to processor 580;In addition, the data for designing uplink are sent to base station.In general, RF circuits 510 include
But be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier,
LNA), duplexer etc..In addition, RF circuits 510 can also be communicated with network and other equipment by radio communication.Above-mentioned channel radio
Letter can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of
Mobile communication, GSM), general packet radio service (General Packet Radio Service,
GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code
Division Multiple Access, WCDMA), it is long term evolution (Long Term Evolution, LTE), Email, short
Messenger service (Short Messaging Service, SMS) etc..
Memory 520 can be configured to store software program and module, and processor 580 is stored in memory by operation
520 software program and module, to execute various function application and the data processing of warning device.Memory 520 can
Include mainly storing program area and storage data field, wherein storing program area can storage program area, needed at least one function
Application program (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored according to warning device
Use created data (such as audio data, phone directory etc.) etc..In addition, memory 520 may include high random access
Memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or other are volatile
Property solid-state memory.
Input unit 530 can be configured to receive the number or character information of input, and generate the user with warning device
Setting and the related key signals input of function control.Specifically, input unit 530 may include touch panel 531 and other
Input equipment 532.Touch panel 531, also referred to as touch screen collect user on it or neighbouring touch operation (for example are used
Family uses the behaviour of any suitable object or attachment on touch panel 531 or near touch panel 531 such as finger, stylus
Make), and corresponding attachment device is driven according to preset formula.Optionally, touch panel 531 may include that touch detection fills
It sets and two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation and bring
Signal, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and it is turned
It changes contact coordinate into, then gives processor 580, and order that processor 580 is sent can be received and executed.Furthermore, it is possible to
Touch panel 531 is realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
531, input unit 530 can also include other input equipments 532.Specifically, other input equipments 532 may include but unlimited
One kind in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc. or
It is a variety of.
Display unit 540 can be configured to show information input by user or be supplied to the information and warning device of user
Various menus.Display unit 540 may include display panel 541, optionally, liquid crystal display (Liquid may be used
Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED)
To configure display panel 541.Further, touch panel 531 can cover display panel 541, when touch panel 531 detects
After touch operation on or near it, processor 580 is sent to determine the type of touch event, is followed by subsequent processing 580 basis of device
The type of touch event provides corresponding visual output on display panel 541.Although in Figure 5, touch panel 531 and display
Panel 541 is to realize input and the input function of warning device as two independent components, but in certain embodiments,
Can be integrated by touch panel 531 and display panel 541 and that realizes warning device output and input function.
Warning device may also include at least one sensor 550, such as optical sensor, motion sensor and other sensings
Device.Specifically, optical sensor may include 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 541.Voicefrequency circuit 560, loud speaker 561, microphone 562 can provide user with
Audio interface between warning device.The transformed electric signal of the audio data received can be transferred to and raised by voicefrequency circuit 560
Sound device 561 is converted to voice signal output by loud speaker 561;On the other hand, microphone 562 converts the voice signal of collection
For electric signal, audio data is converted to after being received by voicefrequency circuit 560, then by after the processing of audio data output processor 580, pass through
RF circuits 510 are exported to memory 520 to be sent to such as another warning device, or by audio data further to locate
Reason.
Bluetooth belongs to short range wireless transmission technology, and warning device can be with user terminal bluetooth by bluetooth module 570
Communication.Although Fig. 5 shows bluetooth module 570, in addition, bluetooth module can also be WIFI module etc..Processor 580 is alarm
The control centre of equipment is deposited using the various pieces of various interfaces and the entire warning device of connection by running or executing
Software program and/or module in memory 520 are stored up, and calls the data being stored in memory 520, alarm is executed and sets
Standby various functions and processing data, to carry out integral monitoring to warning device.Optionally, processor 580 may include one
Or multiple processing units;Preferably, processor 580 can integrate application processor, and the main processing operation system of application processor is used
Family interface and application program etc..Processor 580 can integrate modem processor, and modem processor can not also integrate
Into processor 580.
Warning device further includes the power supply 590 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity
Management system and processor 580 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.
It is apparent to those skilled in the art that for convenience and simplicity of description, the alarm of foregoing description
The specific alarm procedure of equipment can refer to the corresponding process in previous embodiment, and details are not described herein.
Further, the present embodiment additionally provides a kind of computer storage media, for being stored as any one of aforementioned alarm dress
Set computer software instructions used.
The computer program product of alarm method, device and warning device that the embodiment of the present application is provided, including deposit
The computer readable storage medium of program code is stored up, the instruction that said program code includes can be used for executing previous methods and implement
Method described in example, specific implementation can be found in embodiment of the method, and details are not described herein.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer read/write memory medium.Based on this understanding, the technical solution of the application is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be expressed in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be
People's computer, server or network equipment etc.) execute each embodiment the method for the application all or part of step.
And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.
Finally it should be noted that:Embodiment described above, the only specific implementation mode of the application, to illustrate the application
Technical solution, rather than its limitations, the protection domain of the application is not limited thereto, although with reference to the foregoing embodiments to this Shen
It please be described in detail, it will be understood by those of ordinary skill in the art that:Any one skilled in the art
In the technical scope that the application discloses, it can still modify to the technical solution recorded in previous embodiment or can be light
It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make
The essence of corresponding technical solution is detached from the spirit and scope of the embodiment of the present application technical solution, should all cover the protection in the application
Within the scope of.Therefore, the protection domain of the application should be based on the protection scope of the described claims.
Industrial applicibility:
By the technical solution of application the application, warning device is enough to execute different alarm behaviour according to practical communication situation
Make, contributes to user to know alert data in time, can effectively promote warning effect.
Claims (20)
1. a kind of alarm method, which is characterized in that the method is applied to warning device, the method includes:
The processor of the warning device when alarm flow starts, be respectively adopted near-field communication modes and network communication mode to
First terminal sends alert data;
Determine the communication mode that the alert data is successfully sent to the first terminal;
Alarm corresponding with the communication mode determined is executed to operate.
2. according to the method described in claim 1, it is characterized in that, described be respectively adopted near-field communication modes and network communication side
The step of formula sends alert data to first terminal, including:
The near field communications link and network communication link between the electronic equipment and the first terminal are established respectively;
If the near field communications link is successfully established, alarm number is transmitted to the first terminal by the near field communications link
According to;
If the network communication link is successfully established, alarm number is transmitted to the first terminal by the network communication link
According to.
3. according to the method described in claim 2, it is characterized in that, the method further includes:
If the near field communications link and the network communication link are successfully established, and the alert data passes through institute at first
It states near field communications link and is sent to the first terminal, stop transmitting to the first terminal by the network communication link and report
Alert data.
4. according to the method described in claim 1, it is characterized in that, the determination successfully the alert data is sent to it is described
The step of communication mode of first terminal, including:
The processor of the warning device receives the feedback information that the first terminal is sent, wherein the feedback information carries
There is the first terminal to receive the mark for the communication mode that the alert data uses;
According to the mark carried in the feedback information, determines and the alert data is successfully sent to the logical of the first terminal
Letter mode.
5. method according to any one of claims 1 to 4, which is characterized in that the execution and the communication party determined
The step of corresponding alarm of formula operates, including:
If it is determined that the communication mode be network communication mode, judge whether to receive described the within default first time
The user instruction that one terminal issues;
If not, sending the alert data to designated terminal.
6. according to the method described in claim 5, it is characterized in that, the designated terminal is second terminal;
Described the step of sending the alert data to designated terminal, including:
The alert data is sent to the second terminal using the network communication mode and/or the near-field communication modes.
7. according to the method described in claim 5, it is characterized in that, the designated terminal is still first terminal;
Described the step of sending the alert data to designated terminal, including:
Alert data is sent to the first terminal using short message communication mode and/or telephone communication mode.
8. the method according to the description of claim 7 is characterized in that described use short message communication mode and/or telephone communication side
The step of formula sends alert data to the first terminal, including:
By short message communication mode alert data is sent to the first terminal;
Judge the user instruction that the first terminal issues whether is received within default second time;
If not, sending alert data to the first terminal by telephone communication mode.
9. method according to any one of claims 1 to 4, which is characterized in that the execution and the communication party determined
The step of corresponding alarm of formula operates, including:
If it is determined that the communication mode be near-field communication modes, judge whether to receive described the within the default third time
The user instruction that one terminal issues;
If not, alert data described in voice broadcast.
10. according to the method described in claim 1, it is characterized in that, the near-field communication modes include Bluetooth communication or infrared
Communication;The network communication mode includes mobile interchange Network Communication.
11. a kind of warning device, which is characterized in that described device is applied to warning device, and described device includes:
Data transmission blocks are configured to the processor of the warning device when alarm flow starts, near-field communication are respectively adopted
Mode and network communication mode send alert data to first terminal;
Determining module is communicated, is configured to determine the communication mode that the alert data is successfully sent to the first terminal;
Operation executing module is configured to execute alarm operation corresponding with the determining communication mode.
12. according to the devices described in claim 11, which is characterized in that the data transmission blocks are configured to:
The near field communications link and network communication link between the electronic equipment and the first terminal are established respectively;
If the near field communications link is successfully established, alarm number is transmitted to the first terminal by the near field communications link
According to;
If the network communication link is successfully established, alarm number is transmitted to the first terminal by the network communication link
According to.
13. device according to claim 12, which is characterized in that described device further includes:
Stopping modular, if it is configured to the near field communications link and the network communication link is successfully established, and the report
Alert data are sent to the first terminal by the near field communications link at first, stop passing through the network communication link to institute
State first terminal transmission alert data.
14. according to the devices described in claim 11, which is characterized in that the communication determining module is configured to:
The processor of the warning device receives the feedback information that the first terminal is sent;Wherein, the feedback information carries
There is the first terminal to receive the mark for the communication mode that the alert data uses;
According to the mark carried in the feedback information, determines and the alert data is successfully sent to the logical of the first terminal
Letter mode.
15. according to claim 11 to 14 any one of them device, which is characterized in that the operation executing module includes:
Instruct judging unit, be configured to if it is determined that the communication mode be network communication mode, judge preset first when
It is interior whether to receive the user instruction that the first terminal issues;
Data transmission unit is configured to, when the judging result of the judging unit is no, the alarm be sent to designated terminal
Data.
16. device according to claim 15, which is characterized in that the designated terminal is second terminal;The data hair
Unit is sent to be configured to:Using the network communication mode and/or the near-field communication modes to described in second terminal transmission
Alert data.
17. device according to claim 15, which is characterized in that the designated terminal is still first terminal;The data
Transmission unit is configured to:Alert data is sent to the first terminal using short message communication mode and/or telephone communication mode.
18. device according to claim 17, which is characterized in that the data transmission unit is further configured to:
By short message communication mode alert data is sent to the first terminal;
Judge the user instruction that the first terminal issues whether is received within default second time;
If not, sending alert data to the first terminal by telephone communication mode.
19. a kind of warning device, which is characterized in that the warning device includes memory and processor, and the memory is matched
Being set to storage supports processor perform claim that the program of any one of 1 to 10 the method, the processor is required to be configured to execute
The program stored in the memory.
20. a kind of computer storage media, which is characterized in that be configured to be stored as any one of claim 11 to 18 described device
Computer software instructions used.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2018/089316 WO2019227416A1 (en) | 2018-05-31 | 2018-05-31 | Alarm method, apparatus, device and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108702610A true CN108702610A (en) | 2018-10-23 |
CN108702610B CN108702610B (en) | 2021-01-29 |
Family
ID=63841425
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201880000641.3A Active CN108702610B (en) | 2018-05-31 | 2018-05-31 | Alarm method, device, equipment and computer storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108702610B (en) |
WO (1) | WO2019227416A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111862399A (en) * | 2019-12-30 | 2020-10-30 | 北京骑胜科技有限公司 | Unlocking request generation method and device and electronic equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1241762A (en) * | 1998-07-10 | 2000-01-19 | 赵治平 | Omnibearing electronic household guard and alarm method and system |
CN103617710A (en) * | 2013-12-06 | 2014-03-05 | 文江湖 | Intelligent remote alarm system and intelligent remote alarm method |
CN104143242A (en) * | 2014-08-13 | 2014-11-12 | 文江湖 | Wireless anti-theft alarm system |
CN104898453A (en) * | 2015-06-30 | 2015-09-09 | 成都众山科技有限公司 | Intelligent housing system based on Internet of Things |
CN205091851U (en) * | 2015-11-18 | 2016-03-16 | 董静雅 | Prevent reporting by mistake monitored control system of family |
US20160212604A1 (en) * | 2015-01-19 | 2016-07-21 | Hsiang-Fong Tsai | Early-warning system for disasters |
CN206790627U (en) * | 2017-04-12 | 2017-12-22 | 北京建自凯科系统工程有限公司 | A kind of safety defense monitoring system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3829829B2 (en) * | 2003-08-06 | 2006-10-04 | コニカミノルタホールディングス株式会社 | Control device, program, and control method |
CN207233168U (en) * | 2017-08-24 | 2018-04-13 | 西安科技大学 | A kind of natural gas in home leakage alarm reponse system |
-
2018
- 2018-05-31 CN CN201880000641.3A patent/CN108702610B/en active Active
- 2018-05-31 WO PCT/CN2018/089316 patent/WO2019227416A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1241762A (en) * | 1998-07-10 | 2000-01-19 | 赵治平 | Omnibearing electronic household guard and alarm method and system |
CN103617710A (en) * | 2013-12-06 | 2014-03-05 | 文江湖 | Intelligent remote alarm system and intelligent remote alarm method |
CN104143242A (en) * | 2014-08-13 | 2014-11-12 | 文江湖 | Wireless anti-theft alarm system |
US20160212604A1 (en) * | 2015-01-19 | 2016-07-21 | Hsiang-Fong Tsai | Early-warning system for disasters |
CN104898453A (en) * | 2015-06-30 | 2015-09-09 | 成都众山科技有限公司 | Intelligent housing system based on Internet of Things |
CN205091851U (en) * | 2015-11-18 | 2016-03-16 | 董静雅 | Prevent reporting by mistake monitored control system of family |
CN206790627U (en) * | 2017-04-12 | 2017-12-22 | 北京建自凯科系统工程有限公司 | A kind of safety defense monitoring system |
Non-Patent Citations (1)
Title |
---|
罗剑: "基于3G网络的移动设备智能监控系统设计", 《新技术新工艺》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111862399A (en) * | 2019-12-30 | 2020-10-30 | 北京骑胜科技有限公司 | Unlocking request generation method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108702610B (en) | 2021-01-29 |
WO2019227416A1 (en) | 2019-12-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103458120B (en) | Event processing method, device and mobile terminal | |
CN104427074B (en) | A kind of methods, devices and systems for showing incoming information | |
US20120075099A1 (en) | Systems and Methods for Managing Lost Devices | |
CN103701988A (en) | Message prompt method and device and electronic equipment | |
CN106453511B (en) | Data backup method and equipment | |
CN104853043A (en) | Notification message filtering and control method, smart phone and system | |
CN106302938B (en) | Communication event processing method and device | |
CN104735671A (en) | Malicious call recognition method and device | |
CN103442330A (en) | Position notification method and device | |
CN102946460B (en) | A kind of terminal equipment and information cuing method thereof | |
CN106603740B (en) | Handling method and terminal equipment for abnormal network connection | |
CN108449491A (en) | Information processing method and device, mobile terminal and computer readable storage medium | |
CN104348943A (en) | Incoming call prompt method and incoming call prompt device | |
CN103368828B (en) | A kind of message temporary storage and system | |
CN104378488A (en) | Harassing call processing method and device | |
CN104348947A (en) | Method and device of managing incoming call of mobile terminal | |
CN103561400A (en) | Method for initiating communication, device thereof and mobile terminal | |
CN105049591A (en) | Method and device for processing incoming call | |
CN103546632B (en) | A kind of quarter-bell ringing method for mobile terminal, device and mobile terminal | |
CN106408995A (en) | Information processing method and related device | |
CN106161147B (en) | Establish the method and device of network connection | |
CN103561155B (en) | Send the method for note, device and terminal | |
CN106569815A (en) | Message display method and terminal | |
CN106385482B (en) | A kind of processing method of contact information, device and mobile terminal | |
CN107483746A (en) | A kind of reminding method of incoming information, terminal called and server |
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 |