CN105872245B - Message treatment method and device - Google Patents
Message treatment method and device Download PDFInfo
- Publication number
- CN105872245B CN105872245B CN201610354014.2A CN201610354014A CN105872245B CN 105872245 B CN105872245 B CN 105872245B CN 201610354014 A CN201610354014 A CN 201610354014A CN 105872245 B CN105872245 B CN 105872245B
- Authority
- CN
- China
- Prior art keywords
- notification message
- message
- disaster alarm
- local terminal
- location information
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000012545 processing Methods 0.000 claims description 25
- 238000004891 communication Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 239000011435 rock Substances 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 230000000712 assembly Effects 0.000 description 2
- 238000000429 assembly Methods 0.000 description 2
- 230000006378 damage Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008520 organization Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 241000608170 Gymnadenia conopsea Species 0.000 description 1
- 241000209140 Triticum Species 0.000 description 1
- 235000021307 Triticum Nutrition 0.000 description 1
- 208000027418 Wounds and injury Diseases 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 208000014674 injury Diseases 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000012092 media component Substances 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 239000010865 sewage Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000004083 survival effect Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72418—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting emergency services
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B21/00—Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
- G08B21/02—Alarms for ensuring the safety of persons
- G08B21/10—Alarms for ensuring the safety of persons responsive to calamitous events, e.g. tornados or earthquakes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/26—Devices for calling a subscriber
- H04M1/27—Devices whereby a plurality of signals may be stored simultaneously
- H04M1/274—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
- H04M1/2745—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72436—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- 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/90—Services for handling of emergency or hazardous situations, e.g. earthquake and tsunami warning systems [ETWS]
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Life Sciences & Earth Sciences (AREA)
- General Life Sciences & Earth Sciences (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Public Health (AREA)
- General Business, Economics & Management (AREA)
- Geology (AREA)
- Alarm Systems (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Abstract
The disclosure discloses a kind of message treatment method and device, belongs to Internet technical field.The described method includes: receiving notification message;Judge whether the notification message is disaster alarm message;When the notification message is disaster alarm message, the location information of local terminal and the notification message are sent to default contact person.Since the location information of local terminal is sent to default contact person, once so that disaster occurs, the location information of local terminal can be used as the first-hand reference information of rescue, enable users to access and timely rescue.
Description
Technical field
This disclosure relates to Internet technical field, in particular to a kind of message treatment method and device.
Background technique
Due to Global climate change, Extreme Weather Events frequently occur, and various natural calamities take place frequently.Earthquake, extra torrential rain,
The natural calamities such as mountain flood, mud-rock flow, landslide, storm wind, tsunami to socio-economic development, people life property safety with
Carry out heavy losses, threaten ecological environment for the survival of mankind directly, the facilities such as reservoir, dyke, water supply and sewage are made
It is destroyed at serious.When resident or highway are located at disaster generation area, frequently result in injury to personnel or even lose life, house
Damage, road traffic prolonged delays seriously affect life, the production of neighbouring resident.Currently, generally passing through weather forecast or group
The modes such as send short messages notify the masses to imminent disaster (such as landslide, mud-rock flow).But this mode masses are often
It cannot be in time it is noted that influencing the safety of life and property of the masses.
Summary of the invention
Present disclose provides a kind of message treatment method and devices.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of message treatment method is provided, comprising:
Receive notification message;
Judge whether the notification message is disaster alarm message;
When the notification message is disaster alarm message, the location information of local terminal and the notification message are sent to pre-
If contact person.
Optionally, the method may also include that
When the notification message is disaster alarm message, prompt is issued the user with.
It is optionally, described to judge whether the notification message is disaster alarm message, it may include:
The notification message is identified, the notification message is matched with preset disaster alarm keyword;
Upon a match, determine that the notification message is disaster alarm message.
Optionally, described when the notification message is disaster alarm message, by the location information of local terminal and the notice
Message is sent to default contact person, it may include:
When the notification message is disaster alarm message, the telephone number currently with the contact person of local terminal call is obtained;
The location information of local terminal and the notification message are sent to the currently contact person with local terminal call.
It is optionally, described to judge whether the notification message is disaster alarm message, it may include:
Whether the notification message of the default application of judgement is disaster alarm message.
It is optionally, described to issue the user with prompt, it may include:
By vibration, jingle bell, voice broadcast, at least one of warning lamp flashing issues the user with prompt.
According to the second aspect of an embodiment of the present disclosure, a kind of message processing apparatus is provided, comprising:
Receiving module, for receiving notification message;
Judgment module, for judging whether the notification message is disaster alarm message;
Sending module, for when the notification message is disaster alarm message, by the location information of local terminal and described logical
Know that message is sent to default contact person.
Optionally, described device may also include that
Cue module, for issuing the user with prompt when the notification message is disaster alarm message.
Optionally, the judgment module, it may include:
Submodule is identified, for identifying to the notification message, by the notification message and preset disaster alarm
Keyword is matched;
Submodule is determined, for upon a match, determining that the notification message is disaster alarm message.
Optionally, the sending module, it may include:
Acquisition submodule, for obtaining the connection currently with local terminal call when the notification message is disaster alarm message
It is the telephone number of people;
Sending submodule, for the location information of local terminal and the notification message to be sent to the currently connection with local terminal call
It is people.
Optionally, the judgment module, it may include:
Judging submodule, for judging whether the notification message of default application is disaster alarm message.
Optionally, the cue module, it may include:
Prompting submodule, for by vibration, jingle bell, voice broadcast, at least one of warning lamp flashing to be sent out to user
It prompts out.
According to the third aspect of an embodiment of the present disclosure, a kind of message processing apparatus is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive notification message;
Judge whether the notification message is disaster alarm message;
When the notification message is disaster alarm message, the location information of local terminal and the notification message are sent to pre-
If contact person.
The technical scheme provided by this disclosed embodiment can include the following benefits:
Above-mentioned technical proposal, by receiving notification message;Judge whether notification message is disaster alarm message;When notice disappears
When breath is disaster alarm message, the location information of local terminal and notification message are sent to default contact person.Due to by the position of local terminal
Confidence breath is sent to default contact person, once so that disaster occurs, the location information of local terminal can be used as the first gymnadenia conopsea of rescue
Information is examined, enables users to access and timely rescue.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited
It is open.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and consistent with the instructions for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of message treatment method shown according to an exemplary embodiment.
Fig. 2 is the flow chart of another message treatment method shown according to an exemplary embodiment.
Fig. 3 is the flow chart of step 102 in a kind of message treatment method shown according to an exemplary embodiment.
Fig. 4 is the flow chart of step 103 in a kind of message treatment method shown according to an exemplary embodiment.
Fig. 5 is the flow chart of another message treatment method shown according to an exemplary embodiment.
Fig. 6 is the flow chart of another message treatment method shown according to an exemplary embodiment.
Fig. 7 is a kind of block diagram of message processing apparatus shown according to an exemplary embodiment.
Fig. 8 is the block diagram of another message processing apparatus shown according to an exemplary embodiment.
Fig. 9 is the block diagram of judgment module 72 in a kind of message processing apparatus shown according to an exemplary embodiment.
Figure 10 is the block diagram of sending module 73 in a kind of message processing apparatus shown according to an exemplary embodiment.
Figure 11 be in another message processing apparatus shown according to an exemplary embodiment judgment module 72 another
Block diagram.
Figure 12 is the block diagram of cue module 74 in another message processing apparatus shown according to an exemplary embodiment.
Figure 13 is a kind of block diagram for message processing apparatus shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of message treatment method shown according to an exemplary embodiment, as shown in Figure 1, this disappears
Breath processing method may comprise steps of.
In a step 101, notification message is received.
In a step 102, judge whether notification message is disaster alarm message.
Disaster alarm message can be earthquake, extra torrential rain, mountain flood, mud-rock flow, landslide, storm wind, tsunami etc.
The early warning information of disaster.
In step 103, when notification message is disaster alarm message, the location information of local terminal and notification message are sent
To default contact person.
The location information of local terminal can be latitude and longitude information, or some specific building or the location information in street.
The location information of local terminal and notification message can be sent to default contact person by modes such as short message, instant communication informations.
In conclusion the above method of the embodiment of the present disclosure, by receiving notification message;Judge whether notification message is calamity
Evil early warning information;When notification message is disaster alarm message, the location information of local terminal and notification message are sent to default
It is people.Since the location information of local terminal is sent to default contact person, once so that disaster occurs, the location information of local terminal can be with
As the first-hand reference information of rescue, enables users to access and timely rescue.
First point needed to add explanation is, as shown in Fig. 2, the above method may also include step 104:
At step 104, when notification message is disaster alarm message, prompt is issued the user with.
It should be noted that the present embodiment only by taking step 104 executes after step 103 as an example, optionally, step
104 can also execute before step 103 or be performed simultaneously with step 103, the present embodiment to its practical execution sequence not
It limits.
In the present embodiment, when notification message be disaster alarm message when, issue the user with prompt in time, allow users to and
When take measures hedging.
The second point needed to add explanation is, as shown in figure 3, step 102 may be implemented as step 301-302:
In step 301, notification message is identified, by notification message and the progress of preset disaster alarm keyword
Match.
In step 302, upon a match, determine that notification message is disaster alarm message.
In the present embodiment, the notification message that terminal receives is identified, the pass of disaster alarm class can be preset
After receiving notification message, the keyword of word and preset disaster alarm class in notification message is compared for keyword, if
There is consistent word, then illustrates that notification message is disaster alarm message.
For example, the notified message of user, the content of notification message is the XX time landslide in XX occur, is asked
Pay attention to prevention.By being compared with pre-set disaster alarm class keywords, find related in disaster alarm class keywords
Keyword " landslide ", hence, it can be determined that the notification message is disaster alarm message.
What is needed to add explanation is thirdly, as shown in figure 4, step 103 may be implemented as step 401-402:
In step 401, when notification message is disaster alarm message, the electricity currently with the contact person of local terminal call is obtained
Talk about number.
In step 402, the location information of local terminal and notification message are sent to the currently contact person with local terminal call.
In the present embodiment, when user is in call, government or Related Disasters management organization are to where user at this time
One instant disaster information of regional broadcast, when receiving such short message when user is in call, system passes through text pass
It is a disaster early-warning information that key word matching identification, which goes out this,.At this point, system believes the location information of mobile phone at this time and disaster alarm
Breath is sent to the other side to converse by short message.At this point, other side can make next step action, and learn your position, one
Denier disaster occurs, this information can be used as the first information of rescue reference.
If receiving such short message in non-call, locating short message can be sent to the emergency contact pre-seted, in this way,
Other side be possible to can telephone redialing return call user's attention, at this time if user has ignored short message, moreover it is possible to by phone early warning, i.e.,
Make at this time mobile phone not at one's side, will not from it is too far, the location information of mobile phone can still act as the first-hand reference of rescue
Information.
The 4th point needed to add explanation is, as shown in figure 5, step 102 can also be embodied as following steps 501:
In step 501, whether the notification message of the default application of judgement is disaster alarm message.
The notification message of not all application requires to judge whether it is disaster alarm message, for example, shopping class application
There is no need to judge whether it is disaster alarm message for the notification message of transmission.In the present embodiment, only disappear to the notice of default application
Breath carries out judging whether it is disaster alarm message.It can be with the workload of effectively save system.Default application can be short message application,
Instant messaging class application etc..
The 5th point needed to add explanation is, as shown in fig. 6, step 104 may be implemented as step 601:
In step 601, by vibration, jingle bell, voice broadcast, at least one of warning lamp flashing, which issues the user with, to be mentioned
Show.
In the present embodiment, before the location information of local terminal and notification message are sent to default contact person, later or
It is also desirable to remind user, for example, if user is conversing, system can give the user in call one it is strong
Strong vibration, and have prompt tone, user is reminded with this, takes timely measure user, ensures safety of life and property.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.It is real for disclosure device
Undisclosed details in example is applied, embodiments of the present disclosure is please referred to.
Fig. 7 is a kind of block diagram of message processing apparatus shown according to an exemplary embodiment, as shown in fig. 7, the message
Processing unit can include but is not limited to: receiving module 71, judgment module 72 and sending module 73.
Receiving module 71 is configured as receiving notification message;
Judgment module 72 is configured as judging whether notification message is disaster alarm message;
Sending module 73 is configured as when notification message is disaster alarm message, by the location information and notice of local terminal
Message is sent to default contact person.
Optionally, as shown in figure 8, above-mentioned apparatus may also include that
Cue module 74 is configured as issuing the user with prompt when notification message is disaster alarm message.
Optionally, as shown in figure 9, judgment module 72, it may include:
It identifies submodule 91, is configured as identifying notification message, notification message and preset disaster alarm are closed
Keyword is matched;
It determines submodule 92, is configured as upon a match, determining that notification message is disaster alarm message.
Optionally, as shown in Figure 10, sending module 73, it may include:
Acquisition submodule 101 is configured as when notification message is disaster alarm message, what acquisition was currently conversed with local terminal
The telephone number of contact person;
Sending submodule 102 is configured as the location information of local terminal and notification message being sent to and currently converse with local terminal
Contact person.
Optionally, as shown in figure 11, judgment module 72, it may include:
Judging submodule 111 is configured as judging whether the notification message of default application is disaster alarm message.
Optionally, as shown in figure 12, cue module 74, it may include:
Prompting submodule 121 is configured as through vibration, jingle bell, voice broadcast, at least one of warning lamp flashing to
User issues prompt.
In conclusion the above-mentioned apparatus of the embodiment of the present disclosure, by receiving notification message;Judge whether notification message is calamity
Evil early warning information;When notification message is disaster alarm message, the location information of local terminal and notification message are sent to default
It is people.Since the location information of local terminal is sent to default contact person, once so that disaster occurs, the location information of local terminal can be with
As the first-hand reference information of rescue, enables users to access and timely rescue.
The present embodiment issues the user with prompt when notification message is disaster alarm message in time, allows users in time
Take measures hedging.
The present embodiment can preset disaster alarm class by identifying to the notification message that terminal receives
Keyword after receiving notification message, the keyword of word and preset disaster alarm class in notification message is compared, such as
Fruit has consistent word, then illustrates that notification message is disaster alarm message.
The present embodiment, when user is in call, government or Related Disasters management organization are to where user at this time
One instant disaster information of regional broadcast, when receiving such short message when user is in call, system is crucial by text
It is a disaster early-warning information that word matching identification, which goes out this,.At this point, system is by the location information and disaster early-warning information of mobile phone at this time
The other side to converse is sent to by short message.At this point, other side can make next step action, and learn your position, once
Disaster occurs, this information can be used as the first information of rescue reference.
The present embodiment only carries out judging whether it is disaster alarm message to the notification message of default application.It can effectively save
The about workload of system.Default application can be short message application, the application of instant messaging class etc..
The present embodiment, before the location information of local terminal and notification message are sent to default contact person, later or together
When, it is also necessary to user is reminded, for example, if user is conversing, system can be given the user in call one strong strong
Vibration, and have prompt tone, user is reminded with this, takes timely measure user, ensures safety of life and property.
One exemplary embodiment of the disclosure additionally provides a kind of message processing apparatus, can be realized the message of disclosure offer
Processing method.The device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive notification message;
Judge whether the notification message is disaster alarm message;
When the notification message is disaster alarm message, the location information of local terminal and the notification message are sent to pre-
If contact person.
Optionally, the method may also include that
When the notification message is disaster alarm message, prompt is issued the user with.
It is optionally, described to judge whether the notification message is disaster alarm message, it may include:
The notification message is identified, the notification message is matched with preset disaster alarm keyword;
Upon a match, determine that the notification message is disaster alarm message.
Optionally, described when the notification message is disaster alarm message, by the location information of local terminal and the notice
Message is sent to default contact person, it may include:
When the notification message is disaster alarm message, the telephone number currently with the contact person of local terminal call is obtained;
The location information of local terminal and the notification message are sent to the currently contact person with local terminal call.
It is optionally, described to judge whether the notification message is disaster alarm message, it may include:
Whether the notification message of the default application of judgement is disaster alarm message.
It is optionally, described to issue the user with prompt, it may include:
By vibration, jingle bell, voice broadcast, at least one of warning lamp flashing issues the user with prompt.
Figure 13 is a kind of block diagram for message processing apparatus shown according to an exemplary embodiment, which is suitable for
Terminal device.For example, device 1200 can be mobile phone, computer, digital broadcasting terminal, messaging device, game control
Platform processed, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Device 1200 may include following one or more components: processing component 1202, memory 1204, power supply module
1206, multimedia component 1208, audio component 1210, the interface 1212 of input/output (I/O), sensor module 1214, and
Communication component 1216.
The integrated operation of the usual control device 1200 of processing component 1202, such as with display, telephone call, data communication,
Camera operation and record operate associated operation.Processing component 1202 may include one or more processors 1220 to execute
Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1202 may include one or more moulds
Block, convenient for the interaction between processing component 1202 and other assemblies.For example, processing component 1202 may include multi-media module,
To facilitate the interaction between multimedia component 1208 and processing component 1202.
Memory 1204 is configured as storing various types of data to support the operation in device 1200.These data
Example includes the instruction of any application or method for operating on device 1200, contact data, telephone book data,
Message, picture, video etc..Memory 1204 can by any kind of volatibility or non-volatile memory device or they
Combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can
Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory
Reservoir, disk or CD.
Power supply module 1206 provides electric power for the various assemblies of device 1200.Power supply module 1206 may include power management
System, one or more power supplys and other with for device 1200 generate, manage, and distribute the associated component of electric power.
Multimedia component 1208 includes the screen of one output interface of offer between described device 1200 and user.In
In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel,
Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes that one or more touch passes
Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding is dynamic
The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more
Media component 1208 includes a front camera and/or rear camera.When device 1200 is in operation mode, as shot mould
When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting
Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1210 is configured as output and/or input audio signal.For example, audio component 1210 includes a wheat
Gram wind (MIC), when device 1200 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt
It is configured to receive external audio signal.The received audio signal can be further stored in memory 1204 or via communication
Component 1216 is sent.In some embodiments, audio component 1210 further includes a loudspeaker, is used for output audio signal.
I/O interface 1212 provides interface, above-mentioned peripheral interface module between processing component 1202 and peripheral interface module
It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and
Locking press button.
Sensor module 1214 includes one or more sensors, and the state for providing various aspects for device 1200 is commented
Estimate.For example, sensor module 1214 can detecte the state that opens/closes of device 1200, the relative positioning of component, such as institute
The display and keypad that component is device 1200 are stated, sensor module 1214 can be with detection device 1200 or device 1,200 1
The position change of a component, the existence or non-existence that user contacts with device 1200,1200 orientation of device or acceleration/deceleration and dress
Set 1200 temperature change.Sensor module 1214 may include proximity sensor, be configured in not any physics
It is detected the presence of nearby objects when contact.Sensor module 1214 can also include optical sensor, as CMOS or ccd image are sensed
Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing
Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1216 is configured to facilitate the communication of wired or wireless way between device 1200 and other equipment.Dress
The wireless network based on communication standard, such as WiFi can be accessed by setting 1200,2G or 3G or their combination.It is exemplary at one
In embodiment, communication component 1216 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel
Information.In one exemplary embodiment, the communication component 1216 further includes near-field communication (NFC) module, to promote short distance
Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module
(UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1200 can be by one or more application specific integrated circuit (ASIC), number
Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 1204 of instruction, above-metioned instruction can be executed by the processor 1220 of device 1200 to complete the above method.Example
Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft
Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 1200
When device executes, so that device 1200 is able to carry out above-mentioned message treatment method, which comprises
Receive notification message;
Judge whether the notification message is disaster alarm message;
When the notification message is disaster alarm message, the location information of local terminal and the notification message are sent to pre-
If contact person.
Optionally, the method may also include that
When the notification message is disaster alarm message, prompt is issued the user with.
It is optionally, described to judge whether the notification message is disaster alarm message, it may include:
The notification message is identified, the notification message is matched with preset disaster alarm keyword;
Upon a match, determine that the notification message is disaster alarm message.
Optionally, described when the notification message is disaster alarm message, by the location information of local terminal and the notice
Message is sent to default contact person, it may include:
When the notification message is disaster alarm message, the telephone number currently with the contact person of local terminal call is obtained;
The location information of local terminal and the notification message are sent to the currently contact person with local terminal call.
It is optionally, described to judge whether the notification message is disaster alarm message, it may include:
Whether the notification message of the default application of judgement is disaster alarm message.
It is optionally, described to issue the user with prompt, it may include:
By vibration, jingle bell, voice broadcast, at least one of warning lamp flashing issues the user with prompt.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (12)
1. a kind of message treatment method characterized by comprising
Receive notification message;
Judge whether the notification message is disaster alarm message;
When the notification message is disaster alarm message, the location information of local terminal and the notification message are sent to default
It is people;
It is described when the notification message be disaster alarm message when, the location information of local terminal and the notification message are sent to pre-
If contact person, comprising:
When the notification message is disaster alarm message, the telephone number currently with the contact person of local terminal call is obtained;
The location information of local terminal and the notification message are sent to the currently contact person with local terminal call.
2. the method according to claim 1, wherein the method also includes:
When the notification message is disaster alarm message, prompt is issued the user with.
3. judging whether the notification message is that disaster alarm disappears the method according to claim 1, wherein described
Breath, comprising:
The notification message is identified, the notification message is matched with preset disaster alarm keyword;
Upon a match, determine that the notification message is disaster alarm message.
4. judging whether the notification message is that disaster alarm disappears the method according to claim 1, wherein described
Breath, comprising:
Whether the notification message of the default application of judgement is disaster alarm message.
5. according to the method described in claim 2, it is characterized in that, described issue the user with prompt, comprising:
By vibration, jingle bell, voice broadcast, at least one of warning lamp flashing issues the user with prompt.
6. a kind of message processing apparatus characterized by comprising
Receiving module, for receiving notification message;
Judgment module, for judging whether the notification message is disaster alarm message;
Sending module, for when the notification message is disaster alarm message, the location information of local terminal and the notice to be disappeared
Breath is sent to default contact person;
The sending module, comprising:
Acquisition submodule, for obtaining the contact person currently with local terminal call when the notification message is disaster alarm message
Telephone number;
Sending submodule is currently contacted with what local terminal was conversed for the location information of local terminal and the notification message to be sent to
People.
7. device according to claim 6, which is characterized in that described device further include:
Cue module, for issuing the user with prompt when the notification message is disaster alarm message.
8. device according to claim 6, which is characterized in that the judgment module, comprising:
Identify submodule, it is for being identified to the notification message, the notification message and preset disaster alarm is crucial
Word is matched;
Submodule is determined, for upon a match, determining that the notification message is disaster alarm message.
9. device according to claim 6, which is characterized in that the judgment module, comprising:
Judging submodule, for judging whether the notification message of default application is disaster alarm message.
10. device according to claim 7, which is characterized in that the cue module, comprising:
Prompting submodule, for by vibration, jingle bell, voice broadcast, at least one of warning lamp flashing, which issues the user with, to be mentioned
Show.
11. a kind of message processing apparatus characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive notification message;
Judge whether the notification message is disaster alarm message;
When the notification message is disaster alarm message, the location information of local terminal and the notification message are sent to default
It is people.
12. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that the instruction is by processor
The step of any one of the claims 1-5 the method is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610354014.2A CN105872245B (en) | 2016-05-25 | 2016-05-25 | Message treatment method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610354014.2A CN105872245B (en) | 2016-05-25 | 2016-05-25 | Message treatment method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105872245A CN105872245A (en) | 2016-08-17 |
CN105872245B true CN105872245B (en) | 2019-11-19 |
Family
ID=56641220
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610354014.2A Active CN105872245B (en) | 2016-05-25 | 2016-05-25 | Message treatment method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105872245B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107371135A (en) * | 2017-08-31 | 2017-11-21 | 努比亚技术有限公司 | A kind of localization method, terminal, base station and forecast system |
CN107835230B (en) * | 2017-10-18 | 2021-05-14 | 维沃移动通信有限公司 | Information publishing method, device and system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067851A (en) * | 2011-10-20 | 2013-04-24 | 中国气象局公共气象服务中心 | System and method for publishing meteorological disaster warning information and based on mobile phone clients |
CN105006109A (en) * | 2015-08-14 | 2015-10-28 | 中国气象局公共气象服务中心 | Rural meteorological disaster early warning processing system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102156902B1 (en) * | 2014-02-21 | 2020-09-17 | 삼성전자주식회사 | Notification method and electronic device |
-
2016
- 2016-05-25 CN CN201610354014.2A patent/CN105872245B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067851A (en) * | 2011-10-20 | 2013-04-24 | 中国气象局公共气象服务中心 | System and method for publishing meteorological disaster warning information and based on mobile phone clients |
CN105006109A (en) * | 2015-08-14 | 2015-10-28 | 中国气象局公共气象服务中心 | Rural meteorological disaster early warning processing system |
Also Published As
Publication number | Publication date |
---|---|
CN105872245A (en) | 2016-08-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8606316B2 (en) | Portable blind aid device | |
CN105701967B (en) | Position reminding method and apparatus | |
US20170188216A1 (en) | Personal emergency saver system and method | |
KR100895847B1 (en) | System and method for warning disaster using portable mobile terminal | |
CN110493474A (en) | A kind of data processing method, device and electronic equipment | |
CN107105099B (en) | Mobile terminal alarm method and device and electronic equipment | |
KR100811077B1 (en) | Individual security system using of a mobile phone and method of the same | |
KR20140141916A (en) | Apparatus and Method for operating a receiving notification function of a user device | |
WO2019052020A1 (en) | Alarm method, mobile terminal, and computer storage medium | |
CN111243224A (en) | Method and device for realizing alarm | |
CN104219625A (en) | Position information processing method, device and mobile terminal | |
CN106156788A (en) | Face identification method, device and intelligent glasses | |
JP2015076714A (en) | Portable terminal equipment, notification control method, and program | |
WO2023155484A1 (en) | Anti-removal target device | |
CN106375728B (en) | Monitoring method and device | |
CN105448085B (en) | Go across the road reminding method, device and terminal device | |
CN104952228B (en) | Anti-theft protection open method, apparatus and system | |
CN106568454A (en) | Information prompting method and device | |
CN105872245B (en) | Message treatment method and device | |
CN106231133B (en) | Alarm method and device | |
CN105657658A (en) | Gathering event processing method and apparatuses | |
US9685062B2 (en) | Electronic device, security warning system and method | |
CN109243447A (en) | Voice sends triggering method and device | |
CN110599711A (en) | Doorbell prompt control method and device and storage medium | |
CN109448313A (en) | Vehicle identification method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |