CN111031526A - CMAS message processing method, device, storage medium and terminal equipment - Google Patents

CMAS message processing method, device, storage medium and terminal equipment Download PDF

Info

Publication number
CN111031526A
CN111031526A CN201911097004.5A CN201911097004A CN111031526A CN 111031526 A CN111031526 A CN 111031526A CN 201911097004 A CN201911097004 A CN 201911097004A CN 111031526 A CN111031526 A CN 111031526A
Authority
CN
China
Prior art keywords
message
event
cmas
geographic position
cmas message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911097004.5A
Other languages
Chinese (zh)
Inventor
李柳
程滨
朱中华
孙建东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201911097004.5A priority Critical patent/CN111031526A/en
Publication of CN111031526A publication Critical patent/CN111031526A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/90Services for handling of emergency or hazardous situations, e.g. earthquake and tsunami warning systems [ETWS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements

Abstract

The embodiment of the application discloses a processing method, a processing device, a storage medium and a terminal of a CMAS message, and belongs to the field of wireless communication. Receiving a CMAS message; the CMAS message carries an event geographic position and an event type; when the event type is a preset event type, acquiring a current geographic position; and when the event geographic position is not matched with the current geographic position, shielding the reminding of the CMAS message, and solving the problems of unnecessary harassment and panic to the user caused by the CMAS message in the prior art.

Description

CMAS message processing method, device, storage medium and terminal equipment
Technical Field
The present application relates to the field of communications, and in particular, to a method, an apparatus, a storage medium, and a terminal device for transmitting a CMAS message.
Background
Commercial Mobile Alert System (CMAS) messages, also known as Wireless Emergency Alert (WEA) messages. The government and the specific organization broadcast the CMAS message to the mobile phone within the coverage range of the base station through the specific communication base station, and the mobile phone sends out a prompt after receiving the CMAS message, for example: an audible or vibratory alert to alert the user to an emergency event, such as: emergency events include war, tsunami, earthquake, and child loss. The inventor finds that the user can often receive CMAS messages which are irrelevant to the user, and unnecessary harassment can be caused to the user, and meanwhile, panic is brought to the user.
Disclosure of Invention
The embodiment of the application provides a method, a device, a storage medium and a terminal for processing a CMAS message, which can solve the problems of harassment and panic to a user caused by irrelevant emergency. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a method for processing a CMAS message, where the method includes:
receiving a CMAS message; the CMAS message carries a geographic position and an event type;
when the event type is a preset event type, acquiring a current geographic position;
masking the alert of the CMAS message when the event geolocation and the current geolocation do not match
In one possible design, the CMAS message also carries a message ID and a message sequence number;
wherein, the processing method further comprises:
analyzing the CMAS message to obtain the message ID and the message sequence number;
judging whether the message ID and the message sequence number exist in a pre-configured database;
if so, discarding the CMAS message; or
And if not, adding the message ID and the message sequence number carried by the CMAS message into the database.
In one possible design, the event geolocation is represented using a first latitudinal coordinate and the current geolocation is represented using a second latitudinal and longitudinal coordinate;
wherein, when the event geographic location does not match the current geographic location, before shielding the reminder of the CMAS message, the method further comprises:
calculating a distance between the first longitude and latitude coordinate and the second longitude and latitude coordinate;
determining that the event geolocation and the current geolocation do not match when the distance is greater than a distance threshold.
In one possible design, the event geolocation is represented using an area of influence and the current location is represented using latitude and longitude coordinates;
wherein, when the event geographic location does not match the current geographic location, before shielding the reminder of the CMAS message, the method further comprises:
determining whether the longitude and latitude coordinates are located within an influence area;
if not, determining that the event geographic position and the current geographic position are not matched.
In one possible design, further comprising:
and sending out a reminder of the CMAS when the event geographic position is matched with the current geographic position.
In one possible design, the issuing of the alert for the CMAS includes:
querying a reminding rule associated with the event type; wherein the reminding rule comprises pronunciation frequency and pronunciation interval;
and sending out prompt sound through a sound production unit according to the prompt rule.
In one possible design, further comprising:
when the duration of the CMAS message which is not consulted exceeds the preset duration, acquiring a pre-bound instant messaging account;
and sending the CMAS message to a terminal logging in the instant messaging account.
In a second aspect, an embodiment of the present application provides a processing apparatus for a CMAS message, where the processing apparatus includes:
a receiving unit, configured to receive a CMAS message; the CMAS message carries a time geographic position and an event type;
the acquisition unit is used for acquiring the current geographic position when the event type is a preset event type;
and the shielding unit is used for shielding the reminding of the CMAS message when the event geographic position is not matched with the current geographic position.
In one possible design, the CMAS message also carries a message ID and a message sequence number;
wherein, processing apparatus still includes:
a repeat detection unit, configured to analyze the CMAS message to obtain the message ID and the message sequence number;
judging whether the message ID and the message sequence number exist in a pre-configured database;
if so, discarding the CMAS message; or
And if not, adding the message ID and the message sequence number carried by the CMAS message into the database.
In one possible design, the event geolocation is represented using a first latitudinal coordinate and the current geolocation is represented using a second latitudinal and longitudinal coordinate;
wherein, when the event geographic location does not match the current geographic location, before shielding the reminder of the CMAS message, the method further comprises:
calculating a distance between the first longitude and latitude coordinate and the second longitude and latitude coordinate;
determining that the event geolocation and the current geolocation do not match when the distance is greater than a distance threshold.
In one possible design, the event geolocation is represented using an area of influence and the current location is represented using latitude and longitude coordinates;
wherein, when the event geographic location does not match the current geographic location, before shielding the reminder of the CMAS message, the method further comprises:
determining whether the longitude and latitude coordinates are located within an influence area;
if not, determining that the event geographic position and the current geographic position are not matched.
In one possible design, the processing device 4 further comprises:
and the reminding unit is used for sending out a reminding of the CMAS message when the event geographic position is matched with the current geographic position.
In one possible design, the issuing of the alert for the CMAS includes:
querying a reminding rule associated with the event type; wherein the reminding rule comprises pronunciation frequency and pronunciation interval;
and sending out prompt sound through a sound production unit according to the prompt rule.
In one possible design, the processing device further includes:
the forwarding unit is used for acquiring a pre-bound instant messaging account when the length of time that the CMAS message is not consulted exceeds a preset length of time;
and sending the CMAS message to a terminal logging in the instant messaging account.
In a third aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-mentioned method steps.
In a fourth aspect, an embodiment of the present application provides a terminal, including: the system comprises a processor, a memory and a display screen; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
the method comprises the steps that a terminal device receives a CMAS message, the CMAS message carries an event geographic position and an event type, the event type is a preset event type, the terminal device judges whether the event geographic position is matched with the current geographic position, if the event geographic position is not matched with the current geographic position, the situation that the emergency does not affect the current position of the terminal device is indicated, the terminal device shields the reminding of the CMAS message and does not send the reminding aiming at the CMAS message, the problem that the terminal device reminds all the CMAS messages in the prior art to cause panic and unnecessary interference of a user is solved, and the interference and the panic of irrelevant emergency to the user are reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of a communication system architecture provided in the present application;
fig. 2 is a schematic flowchart of a CMAS message processing method according to an embodiment of the present application;
fig. 3 is another schematic flow chart of a CMAS message processing method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a CMAS message processing apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The embodiments of the present application can be applied to a wireless communication system, and it should be noted that the wireless communication system mentioned in the embodiments of the present application includes, but is not limited to, a 5G Mobile communication system and an Enhanced Mobile broadband (eMBB) of a next generation Mobile communication system, a URLLC, and a mass machine-Type Communications (mtc).
In the embodiment of the present application, the Terminal device (Terminal device) includes, but is not limited to, a Mobile Station (MS), a Mobile Terminal device (Mobile Terminal), a Mobile phone (Mobile phone), a handset (handset), a portable device (portable equipment), and the like, and the Terminal device may communicate with one or more core networks through a Radio Access Network (RAN), for example, the Terminal device may be a Mobile phone (or referred to as a "cellular" phone), a computer with a wireless communication function, and the Terminal device may also be a portable, pocket, hand-held, computer-embedded, or vehicle-mounted Mobile device or device.
Fig. 1 is a schematic diagram of a communication system architecture provided in the present application.
Referring to fig. 1, a communication system 01 includes a network device 101 and a terminal device 102; wherein the network device 101 is deployed using NSA mode. When the communication system 01 includes a core network, the network device 101 may also be connected to the core network. The network device 101 may also communicate with an Internet Protocol (IP) network 200, such as the Internet (Internet), a private IP network, or other data network. The network equipment provides services for the terminal equipment within the coverage area. For example, referring to fig. 1, network device 101 provides wireless access to one or more terminal devices within the coverage area of network device 101. In addition, the network devices can also communicate with each other.
The network device 101 may be a device for communicating with a terminal device. The network device may be a relay station, an access point, a vehicle-mounted device, etc. In a terminal-to-terminal (D2D) communication system, the network Device may also be a terminal Device that functions as a base station. The terminal devices may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem with wireless communication capability, as well as various forms of User Equipment (UE), Mobile Stations (MS), and the like.
In the following method embodiments, for convenience of description, only the main execution body of each step is described as a terminal.
The following describes in detail a method for processing a CMAS message according to an embodiment of the present application with reference to fig. 2 to 5.
Referring to fig. 2, a flow chart of a CMAS message processing method is provided for an embodiment of the present application, where the CMAS message processing method includes the following steps:
s201, receiving the CMAS message.
The terminal device receives a CMAS message from the network device, where the CMAS message is used to describe content of an emergency event, the CMAS message carries an event geographic location and an event type, the event geographic location represents a location where the emergency time occurs, the event type represents a type of the emergency event, and the event type includes, but is not limited to: earthquakes, typhoons, wars, terrorist attacks, etc. The event geolocation may be represented using an area of influence, or latitude and longitude coordinates, with the area of influence typically being an area bounded by a plurality of latitude and longitude coordinates.
S202, when the event type is a preset event type, acquiring the current geographic position.
The CMAS message may carry an identifier indicating an event type of the emergency event, the terminal device may identify the event type according to the identifier, the terminal device prestores or is preconfigured with a preset event type, the terminal device determines that the event type corresponding to the CMAS message is the same as the preset event type, the terminal device obtains a current geographic location, the terminal device obtains the current geographic location of the terminal device by using one or more of a satellite positioning method, a WIFI positioning method, and a cellular network positioning method, and the current geographic location may be represented by a longitude and latitude coordinate, for example: latitude and longitude coordinates.
S203, when the event geographic position is not matched with the current geographic position, the reminding of the CMAS message is shielded.
The event geographic position and the current geographic position are matched to indicate that the influence area of the emergency covers the current geographic position of the terminal equipment, and because the size of the influence area of some emergency is limited, if a user is not in the influence area of the emergency or is far away from the position of the emergency, the emergency does not influence the user, the terminal equipment can shield the reminding of the CMAS message, and the terminal equipment cannot remind the user of receiving the CMAS message. Optionally, the terminal device may still display the CMAS message.
According to the content, the terminal equipment receives the CMAS message, the CMAS message carries the event geographic position and the event type, the event type is the preset event type, the terminal equipment judges whether the event geographic position is matched with the current geographic position, if the event geographic position is not matched with the current geographic position, the situation that the emergency does not affect the current position of the terminal equipment is indicated, the terminal equipment shields the reminding of the CMAS message and does not send the reminding aiming at the CMAS message, the problem that the terminal equipment reminds all the CMAS messages in the prior art to cause panic and unnecessary interference of a user is solved, and the interference and the panic of irrelevant emergency to the user are reduced.
Referring to fig. 3, another flow chart of a CMAS message processing method is provided for the embodiment of the present application, and the processing method may include the following steps:
s301, receiving the CMAS message.
Wherein, the terminal device receives the CMAS message from the network device, for example: the mobile phone receives the CMAS message from the service base station, the CMAS message can be sent through a broadcast channel when the service base station is the base station where the terminal equipment resides. The CMAS message is used for describing the content of the emergency event, carries an event geographic position and an event type, and the event geographic position represents the position of the emergency event, wherein the event geographic position uses an influence range or longitude and latitude coordinates; for example: the earthquake influence range is an area with the north latitude 30 degrees and the east longitude 113 degrees as the center and the radius of 30 KM; another example is: the fire disaster place is 40 degrees north latitude and 150 degrees east longitude. The event type represents the type of emergency event, for example: the event types include earthquakes, typhoons, fires, or terrorist attacks.
In one or more possible embodiments, the network device may periodically send CMAS messages with the same content, and the terminal device may further perform repeatability detection after receiving the CMAS messages, where the method for performing repeatability detection by the terminal device includes: the CMAS message carries a message ID and a message sequence number, where the message ID represents an identity of the message, and the messages with different contents have different message IDs, for example: the message ID may be a hash value obtained by performing a hash operation on text content of the CMAS message, and the message sequence number indicates an order in which the network device sends the CMAS message, for example: the message sequence numbers begin numbering with 1 as a step from 1, and after the maximum value of the message sequence numbers is exceeded, numbering begins again from 1. The terminal analyzes the CMAS message to obtain a message ID and a message sequence number, the terminal equipment is pre-stored or pre-configured with a database, the database comprises the message ID and the message sequence number of the CMAS message received previously, the capacity in the database is limited, and when the residual capacity in the data is insufficient, the terminal equipment can preferentially clear the data with the longest storage. The terminal equipment judges whether the message ID and the message sequence number of the received CMAS message exist in the database, if so, the CMAS message is indicated to be received previously, the CMAS message is a repeated message, and the terminal equipment discards the CMAS message; if the CMAS message does not exist, the CMAS message is a newly sent message, and the terminal device performs subsequent processing on the CMAS message, for example: step S302 and subsequent steps are executed.
S302, judging whether the event type is a preset event type.
The CMAS message may carry an identifier indicating an event type of the emergency event, and the terminal may identify the event type according to the identifier, for example: when the field indicating the event type in the CMAS message is '00', indicating that the emergency event is typhoon; the emergency event is earthquake when the field is "01", fire when the field is "10", and terrorist attack when the field is "11". The terminal device prestores or is preconfigured with a preset event type, the terminal device judges whether the event type corresponding to the currently received CMAS message is the preset event type, if so, 203 is executed; if not, go to 306. The preset event type is an emergency event with a limited influence range, and the number of the preset event types can be one or more.
And S303, acquiring the current geographic position.
The current geographic position represents the current position of the terminal device, the current geographic position can be represented by using longitude and latitude coordinates, and the terminal device can acquire the current geographic position by one or more of a satellite positioning method, a WIFI positioning method or a cellular network positioning method.
S304, judging whether the event geographic position is matched with the current geographic position.
The matching indicates that the emergency event can affect the current position of the terminal device, and the mismatching indicates that the emergency event cannot affect the current position of the terminal device. When the terminal judges that the event geographic position is matched with the current geographic position, S306 is executed; if not, S305 is executed.
In one possible implementation, the event geographic location is represented by a first latitudinal coordinate, the current geographic location is represented by a second latitudinal and longitudinal coordinate, the terminal device calculates the distance between the first latitudinal coordinate and the second latitudinal and longitudinal coordinate, the terminal is pre-stored or pre-configured with a distance threshold, the distance threshold being related to the event type, for example: the distance threshold corresponding to typhoon is 50 kilometers, the distance threshold corresponding to earthquake is 100 kilometers, and the distance threshold corresponding to fire is 10 kilometers. And when the distance calculated by the terminal equipment is greater than the distance threshold value, determining that the event geographic position is not matched with the current geographic position, namely the emergency has little influence on the current position of the terminal equipment. And when the distance calculated by the terminal equipment is smaller than or equal to the distance threshold value, determining that the event geographic position is matched with the current geographic position, namely the emergency event has a large influence on the current position of the terminal equipment.
In another possible implementation, the event geographic location is represented by an influence area, where the influence area may be surrounded by a plurality of latitude and longitude coordinates, or may be a circular area or a rectangular area centered on a certain latitude and longitude coordinate, and the embodiment of the present application is not limited. The current geographic position of the terminal equipment is represented by using the longitude and latitude coordinates, and when the longitude and latitude coordinates are located outside an influence area, the event geographic position and the current geographic position are determined to be unmatched, namely the emergency has little influence on the current position of the terminal equipment. And when the longitude and latitude coordinates are located in the influence area, determining that the event geographic position is matched with the current geographic position, namely the emergency has a large influence on the current position of the terminal equipment.
S305, shielding the reminding of the CMAS message.
The terminal equipment shields the reminding of the CMAS message, the terminal cannot send out the reminding such as vibration reminding and/or sound reminding, and the like, but the terminal equipment can still display the CMAS message.
S306, acquiring the reminding rule associated with the event type.
The reminding rule represents a rule for carrying out sound reminding and/or vibration reminding on the CMAS message by the terminal equipment, the reminding rule is related to the event type, and different event types correspond to different reminding rules. For example: the reminding rule comprises pronunciation frequency and pronunciation interval, wherein the pronunciation frequency represents the tone height, and the pronunciation interval represents the interval between two adjacent pronunciations.
And S307, sending out a prompt based on the prompt rule.
Wherein, the terminal device sends out prompt sound through a sound unit (such as a loudspeaker) according to the prompt rule. Optionally, the terminal device may use the maximum volume and the strongest vibration amplitude to remind the user to receive the CMAS message.
And S308, when the duration of the CMAS message which is not referred exceeds the preset duration, determining the pre-bound instant communication account.
The terminal receives the CMAS message and then displays a message summary on a standby interface, a user can see specific message content after opening the CMAS message, the terminal device records the receiving time when receiving the CMAS message, then counts the duration of the CMAS message which is not referred, if the duration is longer than the preset duration, the preset duration can be determined according to actual requirements, a pre-bound instant messaging account is obtained, and the type of the instant messaging account can be determined according to actual requirements.
S309, sending the CMAS message to the terminal logging in the instant messaging account.
The terminal equipment sends the CMAS message to the terminal logging in the instant messaging account, so that the problem that a user does not refer to the CMAS message on the terminal equipment in time and has an emergency is avoided.
According to the content, the terminal equipment receives the CMAS message, the CMAS message carries the event geographic position and the event type, the event type is the preset event type, the terminal equipment judges whether the event geographic position is matched with the current geographic position, if the event geographic position is not matched with the current geographic position, the situation that the emergency does not affect the current position of the terminal equipment is indicated, the terminal equipment shields the reminding of the CMAS message and does not send the reminding aiming at the CMAS message, the problem that the terminal equipment reminds all the CMAS messages in the prior art to cause panic and unnecessary interference of a user is solved, and the interference and the panic of irrelevant emergency to the user are reduced.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 4, a schematic structural diagram of a CMAS message processing apparatus according to an exemplary embodiment of the present application is shown, which is hereinafter referred to as the processing apparatus 4. The processing means 4 may be implemented by software, hardware or a combination of both as all or part of a terminal device, the processing means 4 comprising: a receiving unit 401, an acquiring unit 402 and a masking unit 403.
A receiving unit 401, configured to receive a CMAS message; the CMAS message carries a time geographic position and an event type;
an obtaining unit 402, configured to obtain a current geographic location when the event type is a preset event type;
a shielding unit 403, configured to shield the reminder of the CMAS message when the event geographic location does not match the current geographic location.
In one or more possible embodiments, the CMAS message further carries a message ID and a message sequence number;
wherein, processing apparatus 4 further includes:
a repeat detection unit, configured to analyze the CMAS message to obtain the message ID and the message sequence number;
judging whether the message ID and the message sequence number exist in a pre-configured database;
if so, discarding the CMAS message; or
And if not, adding the message ID and the message sequence number carried by the CMAS message into the database.
In one or more possible embodiments, the event geolocation is represented using a first latitudinal coordinate and the current geolocation is represented using a second latitudinal and longitudinal coordinate;
wherein, when the event geographic location does not match the current geographic location, before shielding the reminder of the CMAS message, the method further comprises:
calculating a distance between the first longitude and latitude coordinate and the second longitude and latitude coordinate;
determining that the event geolocation and the current geolocation do not match when the distance is greater than a distance threshold.
In one or more possible embodiments, the event geolocation is represented using an area of influence and the current location is represented using latitude and longitude coordinates;
wherein, when the event geographic location does not match the current geographic location, before shielding the reminder of the CMAS message, the method further comprises:
determining whether the longitude and latitude coordinates are located within an influence area;
if not, determining that the event geographic position and the current geographic position are not matched.
In one or more possible embodiments, the processing device 4 further comprises:
and the reminding unit is used for sending out a reminding of the CMAS message when the event geographic position is matched with the current geographic position.
In one or more possible embodiments, the issuing of the alert for the CMAS includes:
querying a reminding rule associated with the event type; wherein the reminding rule comprises pronunciation frequency and pronunciation interval;
and sending out prompt sound through a sound production unit according to the prompt rule.
In one or more possible embodiments, the processing device 4 further comprises:
the forwarding unit is used for acquiring a pre-bound instant messaging account when the length of time that the CMAS message is not consulted exceeds a preset length of time;
and sending the CMAS message to a terminal logging in the instant messaging account.
It should be noted that, when the processing apparatus for a CMAS message provided in the foregoing embodiment executes a processing method for a CMAS message, the division of the above functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the above described functions. In addition, the CMAS message processing apparatus provided in the foregoing embodiments and the CMAS message processing method embodiments belong to the same concept, and details of implementation processes thereof are referred to in the method embodiments and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
When the scheme of the embodiment of the application is executed, the processing device 4 receives a CMAS message, the CMAS message carries an event geographic position and an event type, when the event type is a preset event type, the terminal device judges whether the event geographic position is matched with the current geographic position, if the event geographic position is not matched with the current geographic position, the situation that the emergency event does not affect the current position of the terminal device is indicated, the terminal device shields the reminding of the CMAS message and does not send the reminding aiming at the CMAS message, the problem that the terminal device reminds all the CMAS messages in the prior art to cause panic and unnecessary interference of a user is solved, and the embodiment of the application reduces the interference and panic of irrelevant emergency events to the user.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are suitable for being loaded by a processor and executing the above method steps, and a specific execution process may refer to a specific description of the embodiment shown in fig. 4, which is not described herein again.
The application also provides a terminal, which comprises a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
Referring to fig. 5, a schematic structural diagram of a terminal device according to an embodiment of the present invention is shown, where the terminal device may be configured to implement the method for transmitting the CMAS message in the foregoing embodiment. Specifically, the method comprises the following steps:
the memory 503 may be used to store software programs and modules, and the processor 500 executes various functional applications and data processing by operating the software programs and modules stored in the memory 503. The memory 503 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal device, and the like. Further, the memory 503 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 503 may also include a memory controller to provide the processor 500 and the input unit 505 access to the memory 503.
The input unit 505 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 505 may comprise a touch sensitive surface 506 (e.g., a touch screen, a touch pad, or a touch frame). The touch-sensitive surface 506, also referred to as a touch screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 506 (e.g., operations by a user on or near the touch-sensitive surface 506 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 506 may comprise both touch sensing devices and touch controllers. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 500, and can receive and execute commands sent by the processor 500. Additionally, touch sensitive surface 506 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves.
The display unit 513 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal device, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 513 may include a Display panel 514, and optionally, the Display panel 514 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 506 may overlay the display panel 514, and when a touch operation is detected on or near the touch-sensitive surface 506, the touch operation is transmitted to the processor 500 to determine the type of touch event, and then the processor 500 provides a corresponding visual output on the display panel 514 according to the type of touch event. Although in FIG. 5, touch-sensitive surface 506 and display panel 514 are shown as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 506 may be integrated with display panel 514 to implement input and output functions.
The processor 500 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 503 and calling data stored in the memory 503, thereby performing overall monitoring of the terminal device. Optionally, processor 500 may include one or more processing cores; the processor 500 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 500.
Specifically, in this embodiment, the display unit of the terminal device is a touch screen display, the terminal device further includes a memory and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors includes implementing the following steps:
receiving, by a transceiver, a CMAS message; the CMAS message carries an event geographic position and an event type;
when the event type is a preset event type, acquiring a current geographic position;
and shielding the reminding of the CMAS message when the event geographic position is not matched with the current geographic position.
In one or more embodiments, the CMAS message further carries a message ID and a message sequence number;
wherein the processor 500 is further configured to perform:
analyzing the CMAS message to obtain the message ID and the message sequence number;
judging whether the message ID and the message sequence number exist in a pre-configured database;
if so, discarding the CMAS message; or
And if not, adding the message ID and the message sequence number carried by the CMAS message into the database.
In one or more embodiments, the event geolocation is represented using a first latitudinal coordinate and the current geolocation is represented using a second latitudinal and longitudinal coordinate;
wherein the processor 500 is further configured to perform:
calculating a distance between the first longitude and latitude coordinate and the second longitude and latitude coordinate;
determining that the event geolocation and the current geolocation do not match when the distance is greater than a distance threshold.
In one or more embodiments, the event geolocation is represented using an area of influence and the current location is represented using latitude and longitude coordinates;
wherein the processor 500 is further configured to perform:
determining whether the longitude and latitude coordinates are located within an influence area;
if not, determining that the event geographic position and the current geographic position are not matched.
In one or more embodiments, processor 500 is further configured to perform:
and sending out a reminder of the CMAS when the event geographic position is matched with the current geographic position.
In one or more embodiments, processor 500 performs the issuing of the alert for the CMAS including:
querying a reminding rule associated with the event type; wherein the reminding rule comprises pronunciation frequency and pronunciation interval;
and sending out prompt sound through a sound production unit according to the prompt rule.
In one or more embodiments, processor 500 is further configured to perform: when the duration of the CMAS message which is not consulted exceeds the preset duration, acquiring a pre-bound instant messaging account;
and sending the CMAS message to a terminal logging in the instant messaging account.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
All functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for processing CMAS messages, the method comprising:
receiving a CMAS message; the CMAS message carries an event geographic position and an event type;
when the event type is a preset event type, acquiring a current geographic position;
and shielding the reminding of the CMAS message when the event geographic position is not matched with the current geographic position.
2. The processing method according to claim 1, wherein the CMAS message further carries a message ID and a message sequence number;
wherein, the processing method further comprises:
analyzing the CMAS message to obtain the message ID and the message sequence number;
judging whether the message ID and the message sequence number exist in a pre-configured database;
if so, discarding the CMAS message; or
And if not, adding the message ID and the message sequence number carried by the CMAS message into the database.
3. The processing method of claim 1, wherein the event geolocation is represented using a first latitude-longitude coordinate and the current geolocation is represented using a second latitude-longitude coordinate;
wherein, when the event geographic location does not match the current geographic location, before shielding the reminder of the CMAS message, the method further comprises:
calculating a distance between the first longitude and latitude coordinate and the second longitude and latitude coordinate;
determining that the event geolocation and the current geolocation do not match when the distance is greater than a distance threshold.
4. The process of claim 1, wherein the event geo-location is represented using an area of influence and the current location is represented using latitude and longitude coordinates;
wherein, when the event geographic location does not match the current geographic location, before shielding the reminder of the CMAS message, the method further comprises:
determining whether the longitude and latitude coordinates are located within an influence area;
if not, determining that the event geographic position and the current geographic position are not matched.
5. The processing method of claim 1, further comprising:
and sending out a reminder of the CMAS when the event geographic position is matched with the current geographic position.
6. The processing method according to claim 5, wherein said issuing the alert of the CMAS comprises:
querying a reminding rule associated with the event type; wherein the reminding rule comprises pronunciation frequency and pronunciation interval;
and sending out prompt sound through a sound production unit according to the prompt rule.
7. The processing method of claim 5, further comprising:
when the duration of the CMAS message which is not consulted exceeds the preset duration, acquiring a pre-bound instant messaging account;
and sending the CMAS message to a terminal logging in the instant messaging account.
8. A CMAS message processing apparatus, the apparatus comprising:
a receiving unit, configured to receive a CMAS message; the CMAS message carries a time geographic position and an event type;
the acquisition unit is used for acquiring the current geographic position when the event type is a preset event type;
and the shielding unit is used for shielding the reminding of the CMAS message when the event geographic position is not matched with the current geographic position.
9. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to carry out the method steps according to any one of claims 1 to 7.
10. A terminal, comprising: the system comprises a processor, a memory and a display screen; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 7.
CN201911097004.5A 2019-11-11 2019-11-11 CMAS message processing method, device, storage medium and terminal equipment Pending CN111031526A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911097004.5A CN111031526A (en) 2019-11-11 2019-11-11 CMAS message processing method, device, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911097004.5A CN111031526A (en) 2019-11-11 2019-11-11 CMAS message processing method, device, storage medium and terminal equipment

Publications (1)

Publication Number Publication Date
CN111031526A true CN111031526A (en) 2020-04-17

Family

ID=70201251

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911097004.5A Pending CN111031526A (en) 2019-11-11 2019-11-11 CMAS message processing method, device, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN111031526A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111885608A (en) * 2020-06-16 2020-11-03 中国人民解放军战略支援部队信息工程大学 Mobile terminal management and control system and method based on air interface
CN111988464A (en) * 2020-08-06 2020-11-24 Tcl通讯(宁波)有限公司 Emergency notification method, device, storage medium and mobile terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108140298A (en) * 2015-06-23 2018-06-08 Ac&C有限责任公司 Emergency alarm system and method
CN108293176A (en) * 2015-12-16 2018-07-17 高通股份有限公司 System and method for urgent data delivery
CN109417692A (en) * 2016-04-26 2019-03-01 快速求救公司 System and method for urgency communication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108140298A (en) * 2015-06-23 2018-06-08 Ac&C有限责任公司 Emergency alarm system and method
CN108293176A (en) * 2015-12-16 2018-07-17 高通股份有限公司 System and method for urgent data delivery
CN109417692A (en) * 2016-04-26 2019-03-01 快速求救公司 System and method for urgency communication

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111885608A (en) * 2020-06-16 2020-11-03 中国人民解放军战略支援部队信息工程大学 Mobile terminal management and control system and method based on air interface
CN111885608B (en) * 2020-06-16 2023-05-23 中国人民解放军战略支援部队信息工程大学 Mobile terminal management and control system and method based on air interface
CN111988464A (en) * 2020-08-06 2020-11-24 Tcl通讯(宁波)有限公司 Emergency notification method, device, storage medium and mobile terminal

Similar Documents

Publication Publication Date Title
US11470058B2 (en) Network connection method, mobile terminal, electronic device, and graphical user interface
US10516640B2 (en) Group message updating and displaying method, apparatus, and terminal
WO2018177425A1 (en) Rescue request method, device and system
CN108924364B (en) Message reminding method, mobile terminal and computer readable storage medium
US20140120840A1 (en) Data transmission method and apparatus, and terminal with touch screen
CN107220132B (en) Method, equipment and storage medium for monitoring file creation information
CN108255683B (en) Method for prompting message in terminal and terminal
CN107566980B (en) Mobile terminal positioning method and mobile terminal
CN107862217B (en) Position information acquisition method, mobile terminal and computer storage medium
CN109309761B (en) Emergency call method, mobile terminal and computer readable storage medium
CN113179413A (en) Information processing method and device, electronic equipment and storage medium
CN111641928A (en) Method for determining close contact person, terminal equipment and server
CN111031526A (en) CMAS message processing method, device, storage medium and terminal equipment
CN111107223B (en) Message processing method and electronic equipment
CN106603740B (en) It is connected to the network abnormal processing method and terminal device
CN107872791B (en) Access point connection method and device
CN110234068B (en) Positioning method and terminal equipment
CN106686210B (en) Incoming call processing method, device and system
CN110928769B (en) Method and device for positioning based on applet simulation, electronic equipment and storage medium
CN109560909A (en) Target of eating dishes without rice or wine induces detection method, detecting devices and induces equipment
CN113068135B (en) Multicast service processing method, multicast service configuration method and related equipment
CN107249168A (en) A kind of data directional transmissions and method of reseptance and device
CN109788129B (en) Message display method and terminal equipment
CN107995146B (en) Login processing method and device
CN108959960B (en) Method, device and computer readable storage medium for preventing privacy disclosure

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200417

RJ01 Rejection of invention patent application after publication