WO2019052019A1 - Alarm method, alarm processing method, electronic device, and computer storage medium - Google Patents

Alarm method, alarm processing method, electronic device, and computer storage medium Download PDF

Info

Publication number
WO2019052019A1
WO2019052019A1 PCT/CN2017/113706 CN2017113706W WO2019052019A1 WO 2019052019 A1 WO2019052019 A1 WO 2019052019A1 CN 2017113706 W CN2017113706 W CN 2017113706W WO 2019052019 A1 WO2019052019 A1 WO 2019052019A1
Authority
WO
WIPO (PCT)
Prior art keywords
alarm
mobile terminal
location
short message
information
Prior art date
Application number
PCT/CN2017/113706
Other languages
French (fr)
Chinese (zh)
Inventor
梁晓磊
林锋
杨鹏
Original Assignee
新丝绸之路科技有限公司
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 新丝绸之路科技有限公司 filed Critical 新丝绸之路科技有限公司
Publication of WO2019052019A1 publication Critical patent/WO2019052019A1/en

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • G08B25/14Central alarm receiver or annunciator arrangements

Definitions

  • the present invention relates to the field of information technology, and in particular, to an alarm method, an alarm processing method, an electronic device, and a computer storage medium.
  • the general alarm process is: the user dials the alarm call and alarms by voice call.
  • This type of alarm has the following problems:
  • the party receiving the alarm will be able to obtain an accurate location and timely emergency treatment on the scene; thus, the effect of the alarm is greatly reduced.
  • embodiments of the present invention are expected to provide an alarm method, an alarm processing method, an electronic device, and a computer storage medium to at least partially solve the above problems.
  • an embodiment of the present invention provides an alarm method, which is applied to a mobile terminal, and includes:
  • the link address is configured to display, by the receiver, a map including a current location of the mobile terminal, where the location information is a current geographic location of the mobile terminal Information, configured to position the location on the displayed map.
  • an embodiment of the present invention further provides an alarm processing method, including:
  • the annotation information is displayed on the displayed map.
  • an electronic device where the electronic device is a mobile terminal, includes:
  • a detection unit configured to detect an alarm operation
  • a positioning unit configured to locate location information of a geographic location where the mobile terminal is currently located based on the alarm operation
  • An obtaining unit configured to obtain a link address of a map including a geographic location where the mobile terminal is currently located
  • the first sending unit is configured to send an alarm message carrying the link address and the location information, where the link address is configured to display, by the receiver, a map including the current location of the mobile terminal, where the location information is The information about the current geographic location of the mobile terminal is configured to perform location labeling on the displayed map.
  • an electronic device including:
  • the second receiving unit is configured to receive the report that the mobile terminal carries the link address and the location information police message
  • a second display unit configured to display a map including the geographic location of the mobile terminal based on the link address; and display the annotation information on the displayed map based on the location information.
  • an embodiment of the present invention provides an electronic device, a transceiver, a memory, a processor, and a computer program stored on the memory and executed by the processor;
  • the processor is respectively connected to the memory and the transceiver, and configured to perform the alarm method provided by the one or more technical solutions by executing the computer program, or to implement the alarm provided by one or more technical solutions. Approach.
  • an embodiment of the present invention provides a computer storage medium, where the computer storage medium stores a computer program; after the computer program is executed, the alarm method provided by the one or more technical solutions can be implemented, or implemented.
  • the alarm processing method provided by one or more of the above technical solutions.
  • the alarm method, the alarm processing method, the electronic device and the computer storage medium provided by the embodiments of the present invention acquire the location information of the geographical location where the mobile terminal is located after detecting the alarm operation, and use the alarm short message carrying the link address and the location information.
  • the alarm message is sent by using the alarm message, and the alarm information is sent relative to the network message with high network connection quality, which can improve the transmission success rate and the alarm success rate.
  • FIG. 1 is a schematic flowchart of a first alarm method according to an embodiment of the present invention.
  • FIG. 2A is a schematic diagram of display of an alarm interface according to an embodiment of the present invention.
  • 2B is a schematic diagram of displaying a short message editing area displayed on an alarm interface according to an embodiment of the present invention
  • 2C is a schematic diagram of a short message editing interface of a short message application that is accessed from an alarm interface according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of an alarm processing method according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of an electronic device for receiving an alarm message according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of another electronic device according to an embodiment of the present invention.
  • the embodiment provides an alarm method, which is applied to a mobile terminal, and includes:
  • Step S110 detecting an alarm operation
  • Step S120 Locating location information of a geographic location where the mobile terminal is currently located based on the alarm operation;
  • Step S130 Acquire a link address of a map including a geographical location where the mobile terminal is currently located;
  • Step S140 Send an alarm message carrying the link address and the location information, where the link address is configured to display, by the receiver, a map including the current location of the mobile terminal, where the location information is current Information about the geographic location, configured to position the location on the displayed map.
  • the mobile terminal detects an alarm operation, and automatically performs positioning of the mobile terminal, for example, performing global positioning system (GPS) positioning of the mobile terminal, or obtaining assistance based on base station assisted positioning. Positioning information.
  • GPS global positioning system
  • a link address including the geographical location of the mobile terminal is also acquired.
  • the maps in the map application can be spliced together. Different map tiles display different geographical locations, and the corresponding link addresses are also different.
  • a link address including a map of the current location of the mobile terminal is obtained.
  • the mobile terminal downloads an offline map; based on the offline map location, the current display includes an offline map with the geographic location of the mobile terminal, and the link address in the network is a uniform resource address (URL) A; the URL is used as an alarm.
  • the content of the SMS is sent to the alarm recipient.
  • the offline map data packet of the mobile terminal includes not only the map data of the offline map but also the connection address of the URL of each map tile in the offline map in the map server on the network side.
  • the map may also be an online map downloaded from the network side; the online map corresponds to the link address.
  • the mobile terminal may directly Copying the link address as the short message content of the alarm message.
  • the map may not be displayed, and the location information such as the latitude and longitude may be directly obtained based on the positioning manner such as GPS, thereby reducing the problem that the positioning failure caused by the map data is repeatedly requested by the network because the online map needs to be displayed.
  • the alarm information of the large data amount cannot be sent, and the information content such as the geographical location is transmitted by using the short message (SMS), and is sent to the alarm receiving.
  • SMS short message
  • the short message only requires the mobile terminal to be connected to the data network, and is not limited to a network such as 2G, 3G or 4G.
  • the network quality of short message transmission is low, and the success rate of sending is high.
  • the content of the short message and the type of text determine that the amount of data may not exceed 140 bytes (it is worth noting that the number of bytes included in the short message is not limited to 14). Byte), once again increased the success rate of sending SMS messages.
  • the alarm message sent in the embodiment includes the link address and the location information of the map where the mobile terminal is located, so that the alarm receiver, for example, the alarm platform or the emergency contact can receive the alarm message,
  • the link address directly opens a map including the current location of the mobile terminal.
  • the map information can be carried on the displayed map based on the location information carried in the short message, which facilitates the simple reception of the alarm receiver. Report this way The police receiver does not need to only receive the location information to query the map by itself, and on the other hand, avoids the problem of not carrying the location information (for example, latitude and longitude) and the receiver does not understand the meaning of the problem.
  • the encapsulation location of the link address and the location information in the alarm message is a predetermined root type, so that after the alarm receiver obtains the alarm information, the link address in the alarm content is clicked. Then, based on the link address, the map is jumped to the map page and the corresponding map is displayed, and the annotation information is displayed on the map in the geographical location where the mobile terminal is located, so that the user of the alarm receiver can conveniently view it.
  • the alarm message may further carry the alarm person information; the alarm person information may include: an alarm person name, an alarm person ID card, an alarm person passport, and the like, and other information related to the identity of the alarm user.
  • the alarm information is sent in the form of a short message
  • such an alarm platform or emergency contact can determine the identity information of the alarm user according to the communication identifier of the short message (for example, the mobile phone number), and thus some
  • the alarm platform may determine the identity information of the alarm user according to the communication identifier of the alarm short message, for example, sending the communication identifier to a user database of the mobile communication system, and receiving the user identity information of the alarm user returned by the user database.
  • the method further includes:
  • the step S140 may include:
  • the alarm message is sent when a second transmission operation is detected.
  • the short message editing area displayed by the mobile terminal; displaying the link address and the location information in the short message editing area, and also allowing The alarm user enters additional information. If the user does not want to add additional information, the second sending operation may be directly input, and after detecting the second sending operation acting on the short message editing area, at least the alarm short message with the link address and the location information is directly carried.
  • the short message editing area may be a dedicated short message editing area for displaying an alarm interface, such that the input information received in the short message editing area is moved by the movement together with the location information and the link address obtained by the positioning.
  • the processing component of the terminal is submitted from the alarm application to the short message application, and is encapsulated into a short message by the short message application and sent to the alarm receiving party.
  • the communication identifier of the alarm recipient may also be provided by default by the alarm application, or may be determined based on user input.
  • the alarm receiver may be a communication identifier of a public alarm platform, for example, a short message receiving communication identifier such as 119, 120 or 110, or an emergency contact bound by the mobile terminal.
  • the first sending operation acting on the alarm interface triggers the mobile terminal and displays a short message editing page of the short message application after launching the short message application.
  • a short message editing page is displayed, where the short message editing page is one of the short message editing areas.
  • the user can directly input other alarm information on the short message editing page of the short message.
  • the user can enter the number of people currently trapped in the mountain, physical condition, age distribution, current food and/or condition information of the tool, and the like.
  • the detection of the second sending operation may be performed, and the second sending operation directly acts on the operation of sending the short message, and the alarm short message is sent.
  • the method further includes: receiving input information that is applied to the short message editing area;
  • the step S140 may include: sending an alarm message carrying the link address, the location information, and the input information.
  • the method further includes:
  • the receiving confirmation message is displayed.
  • the alarm receiver If the alarm receiver receives the alarm short message, it will reply with feedback information such as confirmation.
  • the feedback information may be various types of feedback information, indicating receiving confirmation reply information of the received alarm, and may also be alarm feedback information indicating the current alarm processing status.
  • the alert application includes at least two modes, including a short message alert mode and a network message alert mode.
  • the network information here may be a form of a message for alerting through the Internet, such as an instant messaging message other than a short message.
  • the method further includes:
  • the step S140 may include:
  • an alarm message carrying the link address and location information is sent.
  • the method further includes:
  • the predetermined communication system may include: 5G or 4G, etc.;
  • the network connection status information indicates that when the current network status of the mobile terminal does not satisfy the predetermined condition, the short message alarm mode is entered, otherwise the network message is selected to enter the network message mode.
  • the network status information is the current bandwidth of the mobile terminal connected to the network. If the current bandwidth is less than the preset bandwidth threshold, if the predetermined condition is not met, the short message alarm mode is entered. In the SMS alarm mode, the sent alarm message is sent in the network message alarm mode, and the network message carrying the alarm information is sent.
  • the alarm message may also carry a specific field; the specific field may be provided by the alarm application, for example, the specific The field can be an alarm field, which is configured to indicate that the current short message is an alarm short message, and the field content of the alarm field can be interpreted by the alarm platform or other terminal device.
  • the alert prompt can be "Your friend is now in distress to ask for help".
  • the information such as the alarm prompt or the alarm type field may be a built-in field of the alarm application, so that the alarm user inputs manually, and the alarm application automatically provides the information necessary in the alarm process, thereby improving the alarm success rate.
  • this embodiment provides an alarm processing method, including:
  • Step S210 Receiving an alarm message that the mobile terminal carries the link address and the location information
  • Step S220 Display a map including the geographic location where the mobile terminal is located based on the link address;
  • Step S230 Display the annotation information on the displayed map based on the location information.
  • the alarm processing method provided in this embodiment may be an alarm processing method applied to an alarm platform or a mobile terminal that receives an alarm short message.
  • an alarm message is first received. After receiving the alarm message, the alarm message is displayed, and the user who receives the alarm can trigger the display of the map by triggering the link address and combining the location information to mark the geographical location of the alarm when the mobile terminal alarms on the map.
  • the alarm message carries an application identifier
  • the application identifier may be an identifier of the alarm application.
  • the application identifier of the alarm application is parsed into the short message. The information content of the short message is extracted and transmitted to the alarm application, or the alarm short message is directly submitted to the alarm application, and the alarm application is used to process the short message content of the alarm short message.
  • the alarm information sent by the mobile terminal also carries the application identifier of the alarm application.
  • the application identifier may be identification information that may correspond to an alarm application, such as an application number and/or an application name.
  • the alarm application gets the information content of the alarm SMS, it can be based on the user's operation.
  • the map including the geographical location of the mobile terminal alarm is automatically opened based on the link address, and the corresponding position on the map is marked based on the location information carried in the alarm short message, that is, the annotation information is displayed, so that it is convenient to receive the alarm.
  • the user views the corresponding alarm information in a professional alarm application.
  • the alarm message may carry other alarm information input by the user in addition to the link address and location information
  • the method further includes: text or graphic outputting other alarm information, so as to notify the receiver of the alarm. Users can easily view.
  • the method further includes: outputting input information input by the user carried by the alarm message. The output here can be viewed at the application interface of the alarm application.
  • the method further comprises transmitting a feedback message based on the alert message.
  • the alarm application in the alarm platform or the mobile terminal can recover the feedback information such as receiving and determining, and can also restore the alarm processing status information based on the user view of the human-machine interaction interface or the dialing status of the alarm phone.
  • the method may further comprise:
  • the feedback information is sent to the mobile terminal that sends the alarm message according to at least one of the reception status, the viewing status, and the processing status of the alarm information.
  • the embodiment provides an electronic device, where the electronic device is a mobile terminal, and includes:
  • the detecting unit 110 is configured to detect an alarm operation
  • the positioning unit 120 is configured to locate location information of a geographic location where the mobile terminal is currently located based on the alarm operation;
  • the obtaining unit 130 is configured to acquire a geographic location including the current location of the mobile terminal.
  • the first sending unit 140 is configured to send an alarm message carrying the link address and the location information, where the link address is configured to display, by the receiver, a map including the current location of the mobile terminal, where the location information is The information about the geographic location of the mobile terminal is configured to perform location labeling on the displayed map.
  • the electronic device can be a mobile terminal, and the mobile terminal can be a mobile electronic device such as a mobile phone, a tablet computer, or a wearable device.
  • the detecting unit 110 can correspond to various human-computer interaction interfaces, and can detect an alarm operation input by an alarm user.
  • the detecting unit 110 may be a touch screen or a physical button or the like provided on the electronic device.
  • the positioning unit 120 may correspond to a circuit and/or an electronic structure for positioning the mobile terminal, such as a GPS chip or a base station assisted positioning chip.
  • the obtaining unit 130 may correspond to a processor or a processing circuit.
  • the processor can be a central processing unit (CPU), a microprocessor (MCU), a digital signal processor (DSP), an application processor (AP), a programmable array (PLC), or an application specific integrated circuit (ASIC).
  • the obtaining unit 130 may obtain the link address by means of information reading or the like.
  • the first sending unit 140 may correspond to a communication interface and may be configured to send alarm information.
  • the communication interface can be various types of transmit antennas, for example, mobile antennas configured to communicate with a base station.
  • the detecting unit 110 is configured to detect a first sending operation of an alarm interface acting on the alarm application;
  • the mobile terminal further includes:
  • a first display unit configured to display a short message editing area when the first sending operation is detected; and display the link address and the location information in the short message editing area;
  • the detecting unit 110 is further configured to detect a second sending operation that is applied to the short message editing area;
  • the first sending unit 140 is configured to send the alarm short message when the second sending operation is detected.
  • the first display unit is further configured to display the short message edit box on the alarm interface; or display the short message edit page of the short message application after starting the short message application.
  • the mobile terminal further includes:
  • the first receiving unit is further configured to receive input information that is applied to the short message editing area;
  • the first sending unit 140 is further configured to send an alarm message carrying the link address, the location information, and the input information.
  • the first receiving unit is further configured to receive a feedback short message returned based on the alarm short message; the first display unit is further configured to display the feedback short message.
  • the embodiment provides an electronic device, including:
  • the second receiving unit 210 is configured to receive an alarm message that the mobile terminal carries the link address and the location information;
  • the second display unit 220 is configured to display a map including the geographic location of the mobile terminal based on the link address; and display the annotation information on the displayed map based on the location information.
  • the electronic device may be one or more servers in the alarm platform, or another terminal device that receives an alarm message, for example, another mobile phone.
  • the second receiving unit 210 may correspond to a communication interface, and may be a cable interface or a cable interface connected to the network, or may be a wireless interface such as a receiving antenna.
  • the second display unit 220 can correspond to various display screens.
  • the display screen can be a liquid crystal display, an electronic ink display screen, a projection display screen or an organic light emitting diode (OLED) display screen, and can be used for displaying information, for example, a map obtained based on a link address and a map.
  • OLED organic light emitting diode
  • the identification information may be a text annotation and/or a graphic annotation, for example, a red circle or the like, which is labeled with an image.
  • the electronic device further includes:
  • An output unit configured to output input information input by the user carried by the alarm message.
  • the output unit may be a structure for displaying output of a display screen or the like, or may be an audio output structure of a voice output, or an output interface for providing presentation from one device to another device.
  • the electronic device further includes:
  • the second sending unit is configured to send the feedback short message based on the alarm short message.
  • the second sending unit may correspond to the communication interface, and can send the feedback short message to the mobile terminal that sends the alarm short message.
  • This example proposes an alarm method based on real-time positioning of a mobile application (Application, APP).
  • the system consists of an intelligent mobile device terminal and a communication network.
  • the alarm app includes the following modules: a positioning module and a short message sending module;
  • the communication network includes: a global mobile communication system (GSM), a code division multiple access (CDMA) communication operation network;
  • a police center deploys a server running an alarm background service, and a background
  • the service mainly includes the following modules: a map display module, a multimedia information display module, and a network module.
  • the sliding mobile alarm method proposed in this example is based on the above system architecture, and the technical solution adopted is: using Android Studio and Xcode to develop mobile terminal App software.
  • the alarm interface of the mobile terminal alarm app can be as shown in Figures 2A to 2C.
  • the software After the software enters, it displays the latitude and longitude information and has an alarm button.
  • the message box contains the location address obtained by various positioning methods under the current latitude and longitude coordinates. Click the alarm button to pop up the message sending page.
  • the positioning methods here include but are not limited to any of the following: Global Position System (GPS) positioning, Russian Glonass positioning system, China Beidou positioning system, based on base station assisted positioning.
  • the user selects the sending target, edits the scene encountered by the content description, and displays a link with the positioning address, and sends the short message.
  • the SMS recipient receives the alarm message and the location location link. Click the link to know the user's location, and then notify the police to come to the designated location to rescue.
  • the icon icons of different sizes can be imported into the AppIcon item to adapt to different resolutions of the ios system device; the Image Asset file is created by Android Studio, and the icon icons of different sizes are selected. To adapt to different resolutions of android devices.
  • the ios system uses the XcodeInfo.plist file to set the NSLocationUsageDescription to indicate the location of the location (Privacy-Location Usage Description) to obtain the alarm location information.
  • the XcodeInfo.plist file is one of the rights configuration files. In the specific implementation, the permission file is not limited to any one of the above. Place The positioning accuracy of the first precision positioning authority is lower than the positioning precision of the second positioning precision positioning authority.
  • the SMS receiver informs the police of the precise location and situation through telephone, on-site alarm, etc. The police go to the rescue
  • SMS short message
  • GPS GPS alarm mode
  • This example provides an alert method that includes:
  • Step 1 User Li is trapped in the XX mountainous area of Huairou District, Beijing. Li can't describe his position, and there is no data network at the time.
  • Step 2 Li opens the alarm software, the software obtains the current GPS position, clicks the alarm button
  • Step 3 The software calls up the SMS sending interface. Li edits the SMS content, the mountain is lost, and the sending location is linked to the friend Zhang.
  • Step 4 Zhang will report to the fire brigade and inform the firefighters of the GPS location. The firefighters went to the rescue in turn.
  • the embodiment further provides an electronic device, a transceiver 330, a memory 310, a processor 320, and a computer program stored on the memory 310 and executed by the processor 320;
  • the processor 320 is respectively connected to the memory 310 and the transceiver 330, and configured to be Executing the computer program to perform an alarm method provided by any one or more of the above technical solutions, or implementing one or more alarm processing methods.
  • the electronic device provided in this embodiment may be the foregoing mobile terminal, for example, the mobile terminal shown in FIG. 4, or the foregoing electronic device that receives an alarm message, for example, the electronic device shown in FIG.
  • the transceiver 330 in this embodiment may correspond to a network interface, and the network interface may be a cable interface, and may be used for data interaction of other network elements.
  • the memory 310 can include various types of storage media that can be configured for data storage.
  • the storage medium included in the memory 310 is at least partially a non-volatile storage medium, and may be configured to store the computer program 340.
  • the processor 320 can include a central processing unit, a microprocessor, a digital signal processor, an application processor, an application specific integrated circuit or a programmable array, etc., and can be configured to implement the formation of PNF packets by execution of the computer program 340.
  • the processor 320 can be connected to the transceiver 330 and the memory 310 via an in-device bus such as an integrated circuit bus.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a computer program, and after the computer program is executed, one or more of the above-mentioned alarm methods applied to the mobile terminal can be implemented, or Execution of one or more of the alarm processing methods applied to the electronic device.
  • the computer storage medium provided by the embodiments of the present invention includes: a removable storage device, a read only memory, a random access memory, a magnetic disk, or an optical disk, and the like, which can store program codes.
  • the computer storage medium can be a non-transitory storage medium.
  • the non-transitory storage medium herein may also be referred to as a non-volatile storage medium.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative
  • the division of the unit is only a logical function division, and the actual implementation may have another division manner, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be Ignore, or not execute.
  • the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
  • the units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the above integration
  • the unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing storage device includes the following steps: the foregoing storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • ROM read-only memory
  • RAM random access memory
  • magnetic disk or an optical disk.
  • optical disk A medium that can store program code.
  • the alarm method, the alarm processing method, the electronic device and the computer storage medium provided by the embodiments of the present invention acquire the location information of the geographical location where the mobile terminal is located after detecting the alarm operation, and use the alarm short message carrying the link address and the location information.
  • the alarm message is used to send the alarm information, and the short message carrying the link address instead of the map information itself can send the alarm information to the network message with high network connection quality and large amount of information, which can improve the transmission success rate and the alarm success rate. Therefore, the technical solution provided by the embodiment of the present invention has a positive industrial effect.
  • the mobile terminal can easily implement the above operation by executing a code such as a computer program, so that the mobile terminal can be highly realized and has strong industrial applicability.

Landscapes

  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Embodiments of the present invention disclose an alarm method, an alarm processing method, an electronic device, and a computer storage medium. The alarm method applied to a mobile terminal comprises: detecting an alarm operation; positioning location information of a current geographical location of the mobile terminal on the basis of the alarm operation; acquiring a link address of a map comprising the current geographical location of the mobile terminal; and sending an alarm message carrying the link address and the location information. The link address is configured to display the map comprising the current location of the mobile terminal by a receiver; the location information is the information on the current geographical location of the mobile terminal and is configured for location marking on the displayed map.

Description

报警方法、报警处理方法、电子设备及计算机存储介质Alarm method, alarm processing method, electronic device and computer storage medium
本申请基于申请号为201710823987.0、申请日为2017年09月13日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application is based on a Chinese patent application filed on Jan. 13, 2017, the entire disclosure of which is hereby incorporated by reference.
技术领域Technical field
本发明涉及信息技术领域,尤其涉及一种报警方法、报警处理方法、电子设备及计算机存储介质。The present invention relates to the field of information technology, and in particular, to an alarm method, an alarm processing method, an electronic device, and a computer storage medium.
背景技术Background technique
人们在生活或工作等产所,可能会遭遇突发状况,需要进行紧急报警。一般报警流程均是:用户拨打报警电话,通过语音通话报警。People who are living or working in a place may encounter an emergency and need an emergency alert. The general alarm process is: the user dials the alarm call and alarms by voice call.
这种报警方式存在以下问题:This type of alarm has the following problems:
若用户处于陌生的环境中,不能精确描述当前所在位置,导致接受到报警的一方,由于无法获得精确的位置从而及时的道道事故现场进行紧急处理;从而导致报警的效果大打折扣。If the user is in an unfamiliar environment and cannot accurately describe the current location, the party receiving the alarm will be able to obtain an accurate location and timely emergency treatment on the scene; thus, the effect of the alarm is greatly reduced.
另外一方面,用户若在山区,郊外及其他无线数据信号未覆盖或不佳区域,无法使用数据网络或无法发送数据量较大的报警信息的问题。On the other hand, if the user is in a mountainous area, a suburb or other area where the wireless data signal is not covered or in a bad area, the data network cannot be used or the alarm information with a large amount of data cannot be transmitted.
发明内容Summary of the invention
有鉴于此,本发明实施例期望提供一种报警方法、报警处理方法、电子设备及计算机存储介质,至少部分解决上述问题。In view of this, embodiments of the present invention are expected to provide an alarm method, an alarm processing method, an electronic device, and a computer storage medium to at least partially solve the above problems.
为达到上述目的,本发明的技术方案如下:In order to achieve the above object, the technical solution of the present invention is as follows:
第一方面,本发明实施例提供一种报警方法,应用于移动终端中,包括: In a first aspect, an embodiment of the present invention provides an alarm method, which is applied to a mobile terminal, and includes:
检测报警操作;Detecting alarm operations;
基于所述报警操作,定位所述移动终端当前所在地理位置的位置信息;And locating location information of a geographic location where the mobile terminal is currently located based on the alarm operation;
获取包括有所述移动终端当前所在的地理位置的地图的链接地址;Obtaining a link address of the map including the geographic location where the mobile terminal is currently located;
发送携带有所述链接地址,位置信息的报警短信;其中,所述链接地址,配置为接收方显示包括所述移动终端当前所在位置的地图,所述位置信息为所述移动终端当前所在地理位置的信息,配置为在显示的地图上进行位置标注。Sending an alarm message carrying the link address and location information; wherein the link address is configured to display, by the receiver, a map including a current location of the mobile terminal, where the location information is a current geographic location of the mobile terminal Information, configured to position the location on the displayed map.
第二方面,本发明实施例还提供一种报警处理方法,其特征在于,包括:In a second aspect, an embodiment of the present invention further provides an alarm processing method, including:
接收移动终端携带有链接地址及位置信息的报警短信;Receiving an alarm message that the mobile terminal carries the link address and the location information;
基于所述链接地址显示包括所述移动终端所在地理位置的地图;Displaying a map including the geographic location of the mobile terminal based on the link address;
基于所述位置信息,在显示的所述地图上显示标注信息。Based on the location information, the annotation information is displayed on the displayed map.
第三方面,本发明实施例一种电子设备,所述电子设备为移动终端,包括:In a third aspect, an electronic device, where the electronic device is a mobile terminal, includes:
检测单元,配置为检测报警操作;a detection unit configured to detect an alarm operation;
定位单元,配置为基于所述报警操作,定位所述移动终端当前所在地理位置的位置信息;a positioning unit, configured to locate location information of a geographic location where the mobile terminal is currently located based on the alarm operation;
获取单元,配置为获取包括有所述移动终端当前所在的地理位置的地图的链接地址;An obtaining unit, configured to obtain a link address of a map including a geographic location where the mobile terminal is currently located;
第一发送单元,配置为发送携带有所述链接地址及位置信息的报警短信;其中,所述链接地址,配置为接收方显示包括所述移动终端当前所在位置的地图,所述位置信息为所述移动终端当前所在地理位置的信息,配置为在显示的地图上进行位置标注。The first sending unit is configured to send an alarm message carrying the link address and the location information, where the link address is configured to display, by the receiver, a map including the current location of the mobile terminal, where the location information is The information about the current geographic location of the mobile terminal is configured to perform location labeling on the displayed map.
第四方面,本发明实施例提供一种电子设备,包括:In a fourth aspect, an embodiment of the present invention provides an electronic device, including:
第二接收单元,配置为接收移动终端携带有链接地址及位置信息的报 警短信;The second receiving unit is configured to receive the report that the mobile terminal carries the link address and the location information Police message
第二显示单元,配置为基于所述链接地址显示包括所述移动终端所在地理位置的地图;并基于所述位置信息,在显示的所述地图上显示标注信息。a second display unit configured to display a map including the geographic location of the mobile terminal based on the link address; and display the annotation information on the displayed map based on the location information.
第六方面,本发明实施例提供一种电子设备,收发器、存储器、处理器及存储在存储器上并由处理器运行的计算机程序;In a sixth aspect, an embodiment of the present invention provides an electronic device, a transceiver, a memory, a processor, and a computer program stored on the memory and executed by the processor;
所述处理器分别与所述存储器及收发器连接,配置为通过执行所述计算机程序执行能够实现上述一个或多个技术方案提供的报警方法,或者,实现上述一个或多个技术方案提供的报警处理方法。The processor is respectively connected to the memory and the transceiver, and configured to perform the alarm method provided by the one or more technical solutions by executing the computer program, or to implement the alarm provided by one or more technical solutions. Approach.
第七方面,本发明实施例提供一种计算机存储介质,所述计算机存储介质存储有计算机程序;所述计算机程序被执行后,能够实现上述一个或多个技术方案提供的报警方法,或者,实现上述一个或多个技术方案提供的报警处理方法。In a seventh aspect, an embodiment of the present invention provides a computer storage medium, where the computer storage medium stores a computer program; after the computer program is executed, the alarm method provided by the one or more technical solutions can be implemented, or implemented. The alarm processing method provided by one or more of the above technical solutions.
本发明实施例提供的报警方法、报警处理方法、电子设备及计算机存储介质,在检测到报警操作之后,获取移动终端所在地理位置的位置信息,利用携带有链接地址及位置信息的报警短信。利用报警短信发送报警信息,相对于对网络连接质量要求高的网络消息发送报警信息,可以提升发送成功率及报警成功率高。The alarm method, the alarm processing method, the electronic device and the computer storage medium provided by the embodiments of the present invention acquire the location information of the geographical location where the mobile terminal is located after detecting the alarm operation, and use the alarm short message carrying the link address and the location information. The alarm message is sent by using the alarm message, and the alarm information is sent relative to the network message with high network connection quality, which can improve the transmission success rate and the alarm success rate.
附图说明DRAWINGS
图1为本发明实施例提供的第一种报警方法的流程示意图;1 is a schematic flowchart of a first alarm method according to an embodiment of the present invention;
图2A为本发明实施例提供的一种的报警界面的显示示意图;2A is a schematic diagram of display of an alarm interface according to an embodiment of the present invention;
图2B为本发明实施例提供的一种在报警界面显示短信编辑区域的显示示意图;2B is a schematic diagram of displaying a short message editing area displayed on an alarm interface according to an embodiment of the present invention;
图2C为本发明实施例提供的从报警界面进入的短信应用的短信编辑界面的示意图 2C is a schematic diagram of a short message editing interface of a short message application that is accessed from an alarm interface according to an embodiment of the present invention.
图3为本发明实施例提供的一种报警处理方法的流程示意图;3 is a schematic flowchart of an alarm processing method according to an embodiment of the present invention;
图4为本发明实施例提供的一种移动终端的结构示意图;FIG. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure;
图5为本发明实施例提供的一种接收报警短信的电子设备的结构示意图;FIG. 5 is a schematic structural diagram of an electronic device for receiving an alarm message according to an embodiment of the present invention;
图6为本发明实施例提供的另一种电子设备的结构示意图。FIG. 6 is a schematic structural diagram of another electronic device according to an embodiment of the present invention.
具体实施方式Detailed ways
以下结合说明书附图及具体实施例对本发明的技术方案做进一步的详细阐述。The technical solutions of the present invention are further elaborated below in conjunction with the drawings and specific embodiments.
如图1所示,本实施例提供一种报警方法,应用于移动终端中,包括:As shown in FIG. 1 , the embodiment provides an alarm method, which is applied to a mobile terminal, and includes:
步骤S110:检测报警操作;Step S110: detecting an alarm operation;
步骤S120:基于所述报警操作,定位所述移动终端当前所在地理位置的位置信息;Step S120: Locating location information of a geographic location where the mobile terminal is currently located based on the alarm operation;
步骤S130:获取包括有所述移动终端当前所在的地理位置的地图的链接地址;Step S130: Acquire a link address of a map including a geographical location where the mobile terminal is currently located;
步骤S140:发送携带有所述链接地址及位置信息的报警短信;其中,所述链接地址,配置为接收方显示包括所述移动终端当前所在位置的地图,所述位置信息为所述移动终端当前所在地理位置的信息,配置为在显示的地图上进行位置标注。Step S140: Send an alarm message carrying the link address and the location information, where the link address is configured to display, by the receiver, a map including the current location of the mobile terminal, where the location information is current Information about the geographic location, configured to position the location on the displayed map.
在本实施例中所述移动终端检测到报警操作,会自动进行移动终端的定位,例如,进行移动终端的全球定位系统(Global Position System,GPS)的定位,或者,基于基站辅助定位,获得辅助定位信息。In the embodiment, the mobile terminal detects an alarm operation, and automatically performs positioning of the mobile terminal, for example, performing global positioning system (GPS) positioning of the mobile terminal, or obtaining assistance based on base station assisted positioning. Positioning information.
在本实施例中还会获取包括移动终端所在地理位置的链接地址。地图应用中的地图可是一块块拼接而成的,不同的地图拼块显示的地理位置不同,对应的链接地址也不同。在本实施例中会获取包括有移动终端当前所在位置的地图的链接地址。 In this embodiment, a link address including the geographical location of the mobile terminal is also acquired. The maps in the map application can be spliced together. Different map tiles display different geographical locations, and the corresponding link addresses are also different. In this embodiment, a link address including a map of the current location of the mobile terminal is obtained.
例如,移动终端中下载有离线地图;基于离线地图的定位,当前显示包括有移动终端所在地理位置的离线地图,在网络中的链接地址为统一资源地址(URL)A;则会将URL作为报警短信的内容发送给报警接收方。在本实施例中,移动终端的离线地图数据包中,不仅存储有离线地图的地图数据,还可包括离线地图中各个地图拼块在网络侧的地图服务器中的URL等连接地址。For example, the mobile terminal downloads an offline map; based on the offline map location, the current display includes an offline map with the geographic location of the mobile terminal, and the link address in the network is a uniform resource address (URL) A; the URL is used as an alarm. The content of the SMS is sent to the alarm recipient. In this embodiment, the offline map data packet of the mobile terminal includes not only the map data of the offline map but also the connection address of the URL of each map tile in the offline map in the map server on the network side.
在一些情况下,若移动终端依然连接到了网络,所述地图也可以直接是从网络侧下载的在线地图;在线地图都对应于有其链接地址,在本实施例中,所述移动终端可以直接拷贝所述链接地址作为所述报警短信的短息内容。In some cases, if the mobile terminal is still connected to the network, the map may also be an online map downloaded from the network side; the online map corresponds to the link address. In this embodiment, the mobile terminal may directly Copying the link address as the short message content of the alarm message.
在本实施例中若移动终端未存储离线地图,可以不显示地图,直接基于GPS等定位方式获取经纬度等位置信息,减少因为需要显示在线地图,通过网络反复请求地图数据导致的定位失败的问题。In this embodiment, if the mobile terminal does not store the offline map, the map may not be displayed, and the location information such as the latitude and longitude may be directly obtained based on the positioning manner such as GPS, thereby reducing the problem that the positioning failure caused by the map data is repeatedly requested by the network because the online map needs to be displayed.
在本实施例中为解决报警用户位于野外等网络数据信号不好的情况下,不能发送大数据量的报警信息的情况,从而采取使用短信(SMS)传递地理位置等信息内容,发送至报警接收方。,而短信仅要求移动终端可以连接到数据网络中即可,不局限于是2G、3G或4G等网络。一方面,短信发送的网络质量要求低,发送成功率高,另一方面,短信内容和文本类型决定其数据量可不超过140字节(值得注意是所述短信包括的字节数不局限于14字节),再次提升了短信的发送成功率。In the embodiment, in order to solve the problem that the alarm user is located in the field and the network data signal is not good, the alarm information of the large data amount cannot be sent, and the information content such as the geographical location is transmitted by using the short message (SMS), and is sent to the alarm receiving. square. The short message only requires the mobile terminal to be connected to the data network, and is not limited to a network such as 2G, 3G or 4G. On the one hand, the network quality of short message transmission is low, and the success rate of sending is high. On the other hand, the content of the short message and the type of text determine that the amount of data may not exceed 140 bytes (it is worth noting that the number of bytes included in the short message is not limited to 14). Byte), once again increased the success rate of sending SMS messages.
在本实施例中发送的报警短信,同时包括显示有移动终端所在位置的地图的链接地址和位置信息,这样报警接收方,例如,报警平台或紧急联系人接收到该报警短信之后,可以基于所述链接地址直接打开包括移动终端当前所在位置的地图,地图应用一旦启动之后,可以基于短信中携带位置信息,在显示的地图上进行标注,方便报警接收方的简便接收。这样报 警接收方,也不用仅接收到位置信息自行查询地图的问题,且另一方面,也避免了仅携带位置信息(例如,经纬度)而接收方不明白其含义导致的不及时处理的问题。The alarm message sent in the embodiment includes the link address and the location information of the map where the mobile terminal is located, so that the alarm receiver, for example, the alarm platform or the emergency contact can receive the alarm message, The link address directly opens a map including the current location of the mobile terminal. After the map application is started, the map information can be carried on the displayed map based on the location information carried in the short message, which facilitates the simple reception of the alarm receiver. Report this way The police receiver does not need to only receive the location information to query the map by itself, and on the other hand, avoids the problem of not carrying the location information (for example, latitude and longitude) and the receiver does not understand the meaning of the problem.
在一些实施例中,所述链接地址和所述位置信息在所述报警短信中的封装位置是预定根式的,这样的话,报警接收方获取到该报警信息之后,点击报警内容中的链接地址,则会基于链接地址跳转到地图页并显示相应的地图,并在地图上所述移动终端所在的地理位置处显示标注信息,方便报警接收方的用户进行简便查看。In some embodiments, the encapsulation location of the link address and the location information in the alarm message is a predetermined root type, so that after the alarm receiver obtains the alarm information, the link address in the alarm content is clicked. Then, based on the link address, the map is jumped to the map page and the corresponding map is displayed, and the annotation information is displayed on the map in the geographical location where the mobile terminal is located, so that the user of the alarm receiver can conveniently view it.
在一些实施例中,所述报警短信中还可能携带有报警人信息;所述报警人信息可包括:报警人姓名、报警人身份证、报警人护照等其他与报警用户的身份相关的信息。In some embodiments, the alarm message may further carry the alarm person information; the alarm person information may include: an alarm person name, an alarm person ID card, an alarm person passport, and the like, and other information related to the identity of the alarm user.
在另一些实施例中,报警信息是以短信的形式发送的,这样的报警平台或紧急联系人是可以根据短信的通信标识(例如,手机号),确定出报警用户的身份信息,故而在一些实施例中所述报警平台可以根据所述报警短信的通信标识确定报警用户的身份信息,如,将所述通信标识发送给移动通信系统的用户数据库,接收用户数据库返回的报警用户的用户身份信息。In other embodiments, the alarm information is sent in the form of a short message, and such an alarm platform or emergency contact can determine the identity information of the alarm user according to the communication identifier of the short message (for example, the mobile phone number), and thus some In the embodiment, the alarm platform may determine the identity information of the alarm user according to the communication identifier of the alarm short message, for example, sending the communication identifier to a user database of the mobile communication system, and receiving the user identity information of the alarm user returned by the user database. .
可选地,所述方法还包括:Optionally, the method further includes:
检测作用于报警应用的报警界面的第一发送操作;Detecting a first transmitting operation of an alarm interface acting on an alarm application;
当检测到所述第一发送操作时,显示短信编辑区域;When the first sending operation is detected, displaying a short message editing area;
在所述短信编辑区域中显示所述链接地址及所述位置信息;Displaying the link address and the location information in the short message editing area;
检测作用于短信编辑区域的第二发送操作;Detecting a second sending operation acting on the short message editing area;
所述步骤S140可包括:The step S140 may include:
当检测到第二发送操作时,发送所述报警短信。The alarm message is sent when a second transmission operation is detected.
在本实施例中,当检测到第一发送操作之后,移动终端显示的短信编辑区域;在短信编辑区域内显示有链接地址及位置信息,同时还可以允许 报警用户输入其他信息。若用户不想要增加附加的信息,可以直接输入第二发送操作,在检测到作用于短信编辑区域的第二发送操作之后,直接至少携带有链接地址及位置信息的报警短信。In this embodiment, after detecting the first sending operation, the short message editing area displayed by the mobile terminal; displaying the link address and the location information in the short message editing area, and also allowing The alarm user enters additional information. If the user does not want to add additional information, the second sending operation may be directly input, and after detecting the second sending operation acting on the short message editing area, at least the alarm short message with the link address and the location information is directly carried.
在一些实施例中,所述短信编辑区域可为显示报警界面的一个专用短信编辑区域,这样的话,在短信编辑区域接收到的输入信息,与定位获取的位置信息及链接地址一同由所述移动终端的处理组件,从报警应用提交给短信应用,由短信应用封装成短信,发送给报警接收方。在本实施例中,所述报警接收方的通信标识也可以是由所述报警应用默认提供的,也可是基于用户输入确定的。所述报警接收方可为公共的报警平台的通信标识,例如,119、120或者110等短信接收通信标识,也可以是移动终端绑定的紧急联系人。In some embodiments, the short message editing area may be a dedicated short message editing area for displaying an alarm interface, such that the input information received in the short message editing area is moved by the movement together with the location information and the link address obtained by the positioning. The processing component of the terminal is submitted from the alarm application to the short message application, and is encapsulated into a short message by the short message application and sent to the alarm receiving party. In this embodiment, the communication identifier of the alarm recipient may also be provided by default by the alarm application, or may be determined based on user input. The alarm receiver may be a communication identifier of a public alarm platform, for example, a short message receiving communication identifier such as 119, 120 or 110, or an emergency contact bound by the mobile terminal.
在另一些实施例中,作用于报警界面的所述第一发送操作,会触发移动终端并在启动短信应用后显示所述短信应用的短信编辑页面。In other embodiments, the first sending operation acting on the alarm interface triggers the mobile terminal and displays a short message editing page of the short message application after launching the short message application.
短信应用被启动之后,会显示短信编辑页面,这里的短信编辑页面为所述短信编辑区域的一种。After the SMS application is launched, a short message editing page is displayed, where the short message editing page is one of the short message editing areas.
这样的话,用户可以直接在短信的短信编辑页面输入其他报警信息。例如,用户可以输入当前被困于山区的人数、身体状况、年龄分布状况、目前携带的食物和/或工具的状况信息等。In this case, the user can directly input other alarm information on the short message editing page of the short message. For example, the user can enter the number of people currently trapped in the mountain, physical condition, age distribution, current food and/or condition information of the tool, and the like.
当完成短信编辑之后,可以通过第二发送操作的检测,而第二发送操作直接作用于短信发送的操作,发送所述报警短信。After the short message editing is completed, the detection of the second sending operation may be performed, and the second sending operation directly acts on the operation of sending the short message, and the alarm short message is sent.
如,所述方法还包括:接收作用于所述短信编辑区域的输入信息;For example, the method further includes: receiving input information that is applied to the short message editing area;
所述步骤S140可包括:发送携带有所述链接地址、所述位置信息及所述输入信息的报警短信。The step S140 may include: sending an alarm message carrying the link address, the location information, and the input information.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
接收基于所述报警短信返回的反馈短信; Receiving a feedback message returned based on the alarm message;
显示所述接收确认短信。The receiving confirmation message is displayed.
若报警接收方接收到所述报警短息,会回复确收等反馈信息。所述反馈信息可为各种类型的反馈信息,指示收到报警的接收确认回复信息,还可以是指示当前报警处理状况的报警反馈信息等。If the alarm receiver receives the alarm short message, it will reply with feedback information such as confirmation. The feedback information may be various types of feedback information, indicating receiving confirmation reply information of the received alarm, and may also be alarm feedback information indicating the current alarm processing status.
在一些实施例中,所述报警应用包括至少两种模式,所述至少两种模式包括:短信报警模式及网络消息报警模式等。这里的网络信息可为除短消息以外的即时通信消息等通过互联网进行报警的消息形式。In some embodiments, the alert application includes at least two modes, including a short message alert mode and a network message alert mode. The network information here may be a form of a message for alerting through the Internet, such as an instant messaging message other than a short message.
在一些本实施例中,所述方法还包括:In some embodiments, the method further includes:
检测用户操作指示,根据用户操作指示选择所述短息报警模式;Detecting a user operation indication, and selecting the short message alarm mode according to a user operation instruction;
所述步骤S140可包括:The step S140 may include:
在所述短信报警模式下,发送携带有所述链接地址及位置信息的报警短信。In the short message alarm mode, an alarm message carrying the link address and location information is sent.
在另一些实施例中,所述方法还包括:In other embodiments, the method further includes:
检测所述移动终端的网络连接状况,例如,当前是否连接到WiFi或预定移动通信制式,例如,所述预定通信制式可包括:5G或4G等;Detecting a network connection status of the mobile terminal, for example, whether it is currently connected to a WiFi or a predetermined mobile communication system, for example, the predetermined communication system may include: 5G or 4G, etc.;
根据所述网络连接状况信息,自动选择进入到所述短信报警模式或网络消息报警模式。And according to the network connection status information, automatically entering the short message alarm mode or the network message alarm mode.
所述网络连接状况信息,表征所述移动终端的当前网络状况不满足预定条件时,则进入所述短信报警模式,否则选择进入网络消息博阿静模式。The network connection status information indicates that when the current network status of the mobile terminal does not satisfy the predetermined condition, the short message alarm mode is entered, otherwise the network message is selected to enter the network message mode.
例如,所述网络状况信息为所述移动终端连接到网络的当前带宽,若当前带宽小于预设带宽阈值,则认为不满足所述预定条件,则会进入到短信报警模式。在短信报警模式下,发送的报警信息,在网络消息报警模式下,发送的携带有报警信息的网络消息。For example, the network status information is the current bandwidth of the mobile terminal connected to the network. If the current bandwidth is less than the preset bandwidth threshold, if the predetermined condition is not met, the short message alarm mode is entered. In the SMS alarm mode, the sent alarm message is sent in the network message alarm mode, and the network message carrying the alarm information is sent.
在一些实施例中,为了提高报警短信的可读性;所述报警短信中还会携带特定字段;所述特定字段可以由所述报警应用提供,例如,所述特定 字段可为报警字段,该字段配置为指示当前短信为报警短息,该报警字段的字段内容可被报警平台或其他终端设备所解读出来。该报警字段携带的报警提示。例如,所述报警提示可为“您的朋友现在遇险向您求救”。所述报警提示或报警类型字段等信息可为报警应用内置的字段,这样报警用户手动输入,报警应用会自动提供报警过程中所必须的信息,从而提升报警成功率。In some embodiments, in order to improve the readability of the alarm message, the alarm message may also carry a specific field; the specific field may be provided by the alarm application, for example, the specific The field can be an alarm field, which is configured to indicate that the current short message is an alarm short message, and the field content of the alarm field can be interpreted by the alarm platform or other terminal device. The alarm prompt carried by this alarm field. For example, the alert prompt can be "Your friend is now in distress to ask for help". The information such as the alarm prompt or the alarm type field may be a built-in field of the alarm application, so that the alarm user inputs manually, and the alarm application automatically provides the information necessary in the alarm process, thereby improving the alarm success rate.
如图3所示,本实施例提供一种报警处理方法,包括:As shown in FIG. 3, this embodiment provides an alarm processing method, including:
步骤S210:接收移动终端携带有链接地址及位置信息的报警短信;Step S210: Receiving an alarm message that the mobile terminal carries the link address and the location information;
步骤S220:基于所述链接地址显示包括所述移动终端所在地理位置的地图;Step S220: Display a map including the geographic location where the mobile terminal is located based on the link address;
步骤S230:基于所述位置信息,在显示的所述地图上显示标注信息。Step S230: Display the annotation information on the displayed map based on the location information.
本实施例提供的报警处理方法,可为应用于报警平台或者接收报警短信的移动终端的报警处理方法。The alarm processing method provided in this embodiment may be an alarm processing method applied to an alarm platform or a mobile terminal that receives an alarm short message.
在本实施例中首先会接收到报警短信。接收到报警短信之后,显示报警短信,接收到报警的用户可以通过触发链接地址,触发地图的显示并结合位置信息在地图上标出报警的移动终端报警时所在的地理位置。In this embodiment, an alarm message is first received. After receiving the alarm message, the alarm message is displayed, and the user who receives the alarm can trigger the display of the map by triggering the link address and combining the location information to mark the geographical location of the alarm when the mobile terminal alarms on the map.
在一些实施例中,所述报警短信中携带有应用标识,该应用标识可为报警应用的标识,报警平台或移动终端接收到该报警短信之后,解析到短信中携带有报警应用的应用标识,就将该短信的信息内容提取出来传输给报警应用,或者,直接将报警短息提交给报警应用,由报警应用来处理报警短息的短信内容。In some embodiments, the alarm message carries an application identifier, and the application identifier may be an identifier of the alarm application. After the alarm platform or the mobile terminal receives the alarm message, the application identifier of the alarm application is parsed into the short message. The information content of the short message is extracted and transmitted to the alarm application, or the alarm short message is directly submitted to the alarm application, and the alarm application is used to process the short message content of the alarm short message.
这样的话,在前述实施例中,移动终端发送的报警信息中还携带有报警应用的应用标识。所述应用标识可为应用编号和/或应用名称等可以对应到报警应用的标识信息。In this case, in the foregoing embodiment, the alarm information sent by the mobile terminal also carries the application identifier of the alarm application. The application identifier may be identification information that may correspond to an alarm application, such as an application number and/or an application name.
报警应用拿到报警短信的信息内容之后,可以在不基于用户操作的请 尽快下,自动基于链接地址打开包括移动终端报警时所在地理位置的地图,并基于报警短息中携带的位置信息,在地图上对应位置进行标注,即显示所述标注信息,这样就方便接收报警的用户在专业的报警应用中查看对应的报警信息。After the alarm application gets the information content of the alarm SMS, it can be based on the user's operation. As soon as possible, the map including the geographical location of the mobile terminal alarm is automatically opened based on the link address, and the corresponding position on the map is marked based on the location information carried in the alarm short message, that is, the annotation information is displayed, so that it is convenient to receive the alarm. The user views the corresponding alarm information in a professional alarm application.
在一些情况下,所述报警短信除了携带有所述链接地址及位置信息以外,还可能携带有用户输入的其他报警信息,所述方法还包括:文字或图形输出其他报警信息,以便报警接收方用户简便查看。如,所述方法还包括:输出所述报警短信携带的用户输入的输入信息。这里的输出可以在报警应用的应用界面等位置查看。In some cases, the alarm message may carry other alarm information input by the user in addition to the link address and location information, and the method further includes: text or graphic outputting other alarm information, so as to notify the receiver of the alarm. Users can easily view. For example, the method further includes: outputting input information input by the user carried by the alarm message. The output here can be viewed at the application interface of the alarm application.
在还有一些实施例中,所述方法还包括:基于所述报警短息发送反馈短信。In still other embodiments, the method further comprises transmitting a feedback message based on the alert message.
报警平台或移动终端中的报警应用,可以自行恢复接收确定等反馈信息,还可以基于人机交互界面的用户查看或报警电话的拨打状况等,恢复报警处理状况信息。The alarm application in the alarm platform or the mobile terminal can recover the feedback information such as receiving and determining, and can also restore the alarm processing status information based on the user view of the human-machine interaction interface or the dialing status of the alarm phone.
若当前接收报警短信的报警平台,则报警平台在报警短信进行信息内容解析之后,发送给消防、医院或者公安等系统之后,自动恢复对应的报警状况信息。总之,所述方法还可包括:If the alarm platform of the alarm message is currently received, the alarm platform automatically restores the corresponding alarm status information after the alarm message is sent to the fire, hospital or public security system after the information content is parsed. In summary, the method may further comprise:
根据报警信息的接收状况、查看状况及处理状况的至少其中之一,向发送报警短信的移动终端发送反馈信息。The feedback information is sent to the mobile terminal that sends the alarm message according to at least one of the reception status, the viewing status, and the processing status of the alarm information.
如图4所示,本实施例提供一种电子设备,所述电子设备为移动终端,包括:As shown in FIG. 4, the embodiment provides an electronic device, where the electronic device is a mobile terminal, and includes:
检测单元110,配置为检测报警操作;The detecting unit 110 is configured to detect an alarm operation;
定位单元120,配置为基于所述报警操作,定位所述移动终端当前所在地理位置的位置信息;The positioning unit 120 is configured to locate location information of a geographic location where the mobile terminal is currently located based on the alarm operation;
获取单元130,配置为获取包括有所述移动终端当前所在的地理位置的 地图的链接地址;The obtaining unit 130 is configured to acquire a geographic location including the current location of the mobile terminal. The link address of the map;
第一发送单元140,配置为发送携带有所述链接地址及位置信息的报警短信;其中,所述链接地址,配置为接收方显示包括所述移动终端当前所在位置的地图,所述位置信息为所述移动终端当前所在地理位置的信息,配置为在显示的地图上进行位置标注。The first sending unit 140 is configured to send an alarm message carrying the link address and the location information, where the link address is configured to display, by the receiver, a map including the current location of the mobile terminal, where the location information is The information about the geographic location of the mobile terminal is configured to perform location labeling on the displayed map.
所述电子设备可为移动终端,所述移动终端可为手机、平板电脑或可穿戴式设备等可移动的电子设备。The electronic device can be a mobile terminal, and the mobile terminal can be a mobile electronic device such as a mobile phone, a tablet computer, or a wearable device.
所述检测单元110可对应于各种人机交互接口,可以检测报警用户输入的报警操作。所述检测单元110可为触摸屏,或者,设置在所述电子设备上的实体按键等。The detecting unit 110 can correspond to various human-computer interaction interfaces, and can detect an alarm operation input by an alarm user. The detecting unit 110 may be a touch screen or a physical button or the like provided on the electronic device.
定位单元120可对应于GPS芯片或者基站辅助定位芯片等进行移动终端定位的电路和/或电子结构。The positioning unit 120 may correspond to a circuit and/or an electronic structure for positioning the mobile terminal, such as a GPS chip or a base station assisted positioning chip.
所述获取单元130,可对应于处理器或处理电路。所述处理器可为中央处理器(CPU)、微处理器(MCU)、数字信号处理器(DSP)、应用处理器(AP)、可编程阵列(PLC)或专用集成电路(ASIC)。所述获取单元130,可以信息读取等方式获得所述链接地址。The obtaining unit 130 may correspond to a processor or a processing circuit. The processor can be a central processing unit (CPU), a microprocessor (MCU), a digital signal processor (DSP), an application processor (AP), a programmable array (PLC), or an application specific integrated circuit (ASIC). The obtaining unit 130 may obtain the link address by means of information reading or the like.
所述第一发送单元140,可对应于通信接口,可配置为报警信息的发送。所述通信接口可为各种类型的发送天线,例如,配置为与基站通信的移动天线。The first sending unit 140 may correspond to a communication interface and may be configured to send alarm information. The communication interface can be various types of transmit antennas, for example, mobile antennas configured to communicate with a base station.
可选地,Optionally,
所述检测单元110,配置为检测作用于报警应用的报警界面的第一发送操作;The detecting unit 110 is configured to detect a first sending operation of an alarm interface acting on the alarm application;
所述移动终端还包括:The mobile terminal further includes:
第一显示单元,配置为当检测到所述第一发送操作时,显示短信编辑区域;在所述短信编辑区域中显示所述链接地址及所述位置信息; a first display unit, configured to display a short message editing area when the first sending operation is detected; and display the link address and the location information in the short message editing area;
所述检测单元110,还配置为检测作用于短信编辑区域的第二发送操作;The detecting unit 110 is further configured to detect a second sending operation that is applied to the short message editing area;
所述第一发送单元140,配置为当检测到第二发送操作时,发送所述报警短信。The first sending unit 140 is configured to send the alarm short message when the second sending operation is detected.
可选地,所述第一显示单元,还配置为在所述报警界面显示所述短信编辑框;或者,并在启动短信应用后显示所述短信应用的短信编辑页面。Optionally, the first display unit is further configured to display the short message edit box on the alarm interface; or display the short message edit page of the short message application after starting the short message application.
可选地,所述移动终端还包括:Optionally, the mobile terminal further includes:
第一接收单元,还配置为接收作用于所述短信编辑区域的输入信息;The first receiving unit is further configured to receive input information that is applied to the short message editing area;
所述第一发送单元140,还配置为发送携带有所述链接地址、所述位置信息及所述输入信息的报警短信。The first sending unit 140 is further configured to send an alarm message carrying the link address, the location information, and the input information.
可选地,所述第一接收单元,还配置为接收基于所述报警短信返回的反馈短信;所述第一显示单元,还配置为显示所述反馈短信。Optionally, the first receiving unit is further configured to receive a feedback short message returned based on the alarm short message; the first display unit is further configured to display the feedback short message.
如图5所示,本实施例提供一种电子设备,包括:As shown in FIG. 5, the embodiment provides an electronic device, including:
第二接收单元210,配置为接收移动终端携带有链接地址及位置信息的报警短信;The second receiving unit 210 is configured to receive an alarm message that the mobile terminal carries the link address and the location information;
第二显示单元220,配置为基于所述链接地址显示包括所述移动终端所在地理位置的地图;并基于所述位置信息,在显示的所述地图上显示标注信息。The second display unit 220 is configured to display a map including the geographic location of the mobile terminal based on the link address; and display the annotation information on the displayed map based on the location information.
所述电子设备可为报警平台中的一台或多台服务器,也可以为接收报警短信的另一个终端设备,例如,另一个手机。The electronic device may be one or more servers in the alarm platform, or another terminal device that receives an alarm message, for example, another mobile phone.
所述第二接收单元210可对应于通信接口,可为连接到网络的光缆接口或电缆接口,也可以是接收天线等无线接口。The second receiving unit 210 may correspond to a communication interface, and may be a cable interface or a cable interface connected to the network, or may be a wireless interface such as a receiving antenna.
所述第二显示单元220可对应于各种显示屏。所述显示屏可为液晶显示屏、电子墨水显示屏、投影显示屏或者有机发光二级管(OLED)显示屏,总之可以用于信息的显示,例如,基于所属链接地址获取的地图及在地图 上基于报警短信中位置信息对应的标识信息。The second display unit 220 can correspond to various display screens. The display screen can be a liquid crystal display, an electronic ink display screen, a projection display screen or an organic light emitting diode (OLED) display screen, and can be used for displaying information, for example, a map obtained based on a link address and a map. The identification information corresponding to the location information in the alarm short message is used.
所述标识信息可为文字标注和/或图形标注,例如,红色圆圈等各种具有标识作用的图像进行标注。The identification information may be a text annotation and/or a graphic annotation, for example, a red circle or the like, which is labeled with an image.
可选地,所述电子设备还包括:Optionally, the electronic device further includes:
输出单元,配置为输出所述报警短信携带的用户输入的输入信息。And an output unit configured to output input information input by the user carried by the alarm message.
所述输出单元,可为显示屏等进行显示输出的结构,还可以是语音输出的音频输出结构,或者,从一个设备提供给另一个设备的进行展现的输出接口。The output unit may be a structure for displaying output of a display screen or the like, or may be an audio output structure of a voice output, or an output interface for providing presentation from one device to another device.
可选地,所述电子设备还包括:Optionally, the electronic device further includes:
第二发送单元,可配置为基于所述报警短息发送反馈短信。The second sending unit is configured to send the feedback short message based on the alarm short message.
第二发送单元可对应于通信接口,能够向发送报警短信的移动终端发送反馈短信。The second sending unit may correspond to the communication interface, and can send the feedback short message to the mobile terminal that sends the alarm short message.
以下结合上述任意一个实施例提供几个示例:Several examples are provided below in connection with any of the above embodiments:
示例1:Example 1:
本示例提出一种基于手机应用(Application,APP)的实时定位的报警方法,This example proposes an alarm method based on real-time positioning of a mobile application (Application, APP).
该系统由智能移动设备终端、通信网络部分组成。报警App包括以下几个模块:定位模块和短信发送模块;通信网络包括:全球移动通信系统(GSM),码分多址(CDMA)等通信运营网络;接警中心部署运行报警后台服务的服务器,后台服务主要包括以下模块:地图显示模块、多媒体信息显示模块、网络模块。The system consists of an intelligent mobile device terminal and a communication network. The alarm app includes the following modules: a positioning module and a short message sending module; the communication network includes: a global mobile communication system (GSM), a code division multiple access (CDMA) communication operation network; a police center deploys a server running an alarm background service, and a background The service mainly includes the following modules: a map display module, a multimedia information display module, and a network module.
本示例提出的滑动移动报警方法基于上述系统架构实现,所采用的技术方案是:使用Android Studio及Xcode开发移动终端App软件。移动端报警App的报警界面可如图2A至2C所示。The sliding mobile alarm method proposed in this example is based on the above system architecture, and the technical solution adopted is: using Android Studio and Xcode to develop mobile terminal App software. The alarm interface of the mobile terminal alarm app can be as shown in Figures 2A to 2C.
报警终端App的操作过程如下: The operation process of the alarm terminal App is as follows:
点击手机APP图标,进入软件报警界面。Click the mobile app icon to enter the software alarm interface.
软件进入后显示经纬度信息,有一个报警按钮。After the software enters, it displays the latitude and longitude information and has an alarm button.
点击报警按钮,弹出消息框,消息框内写有当前经纬坐标下的各种定位方式获得的定位地址,点击报警按钮弹出短信发送页面。这里的定位方式包括但不限于以下任意一种:全球定位系统定位(Global Position System,GPS)定位、俄罗斯Glonass定位系统,中国北斗定位系统,基于基站辅助定位。Click the alarm button to pop up a message box. The message box contains the location address obtained by various positioning methods under the current latitude and longitude coordinates. Click the alarm button to pop up the message sending page. The positioning methods here include but are not limited to any of the following: Global Position System (GPS) positioning, Russian Glonass positioning system, China Beidou positioning system, based on base station assisted positioning.
用户选择发送目标,编辑内容描述所遇到场景,附带显示有所述定位地址的链接,发送短信The user selects the sending target, edits the scene encountered by the content description, and displays a link with the positioning address, and sends the short message.
短信接收者收到报警人短信,及位置定位链接,点击链接即可知晓用户位置,即可通知警方前来指定位置救援The SMS recipient receives the alarm message and the location location link. Click the link to know the user's location, and then notify the police to come to the designated location to rescue.
本发明实施例的上述步骤所涉及的具体实现方法如下:The specific implementation methods involved in the above steps of the embodiment of the present invention are as follows:
1)通过Xcode开发工具,在AppIcon项内传入设计好的不同尺寸的icon图标,以适配不同分辨率的ios系统设备;通过Android Studio建立Image Asset文件,选择设计好的不同尺寸的icon图标,以适配不同分辨率的android设备。1) Through the Xcode development tool, the icon icons of different sizes can be imported into the AppIcon item to adapt to different resolutions of the ios system device; the Image Asset file is created by Android Studio, and the icon icons of different sizes are selected. To adapt to different resolutions of android devices.
2)调用获取GPS数据API,获取实时GPS数据。App需要获取GPS权限。android系统需要开启GPS位置权限,在AndroidManifest.xml文件中需要配置android.permission.ACCESS_COARSE_LOCATION(第一精度定位权限)、2) Call the Get GPS Data API to get real-time GPS data. The app needs to get GPS permissions. Android system needs to open the GPS location permission, in the AndroidManifest.xml file need to configure android.permission.ACCESS_COARSE_LOCATION (first precision positioning permission),
android.permission.ACCESS_FINE_LOCATION(第二精度定位权限)两种权限。ios系统使用XcodeInfo.plist文件中设置NSLocationUsageDescription说明定位的目的(Privacy-Location Usage Description)为获取报警位置信息。所述XcodeInfo.plist文件为权限配置文件的一种,具体实现时,所述权限皮遏制文件,不局限于上述任意一种。所 述第一精度定位权限的定位精度低于所述第二定位精度定位权限的定位精度。android.permission.ACCESS_FINE_LOCATION (second precision positioning permission) two permissions. The ios system uses the XcodeInfo.plist file to set the NSLocationUsageDescription to indicate the location of the location (Privacy-Location Usage Description) to obtain the alarm location information. The XcodeInfo.plist file is one of the rights configuration files. In the specific implementation, the permission file is not limited to any one of the above. Place The positioning accuracy of the first precision positioning authority is lower than the positioning precision of the second positioning precision positioning authority.
3)使用当前GPS位置坐标,获取地图位置的链接地址。3) Use the current GPS position coordinates to get the link address of the map location.
4)调用SDK中SMS接口,打开系统自带短信发送界面,通过移动运营商发送短信内容至目标。4) Call the SMS interface in the SDK, open the system's own SMS sending interface, and send the SMS content to the target through the mobile operator.
5)短信接收者通过电话,现场报警等途径告知警方报警者精确位置及情况,警方前去救援5) The SMS receiver informs the police of the precise location and situation through telephone, on-site alarm, etc. The police go to the rescue
总之,在本示例中,可基于短信(SMS)和GPS的报警方式,在遇到危险情况时,用户点击报警应用对应的软件上的报警按钮,软件会获取当前GPS位置并填写可在网络地图应用定位显示的链接地址,调用起短信发送页面,用户可以编辑短信内容,附带位置链接发送给紧急联系人或警方,警方直接或间接(通过联系人报警)获取报警人的精确位置时,前往事发地点施救。In short, in this example, based on the SMS (SMS) and GPS alarm mode, when a dangerous situation is encountered, the user clicks the alarm button on the software corresponding to the alarm application, and the software will obtain the current GPS location and fill in the network map. Apply the link address of the location display, call the SMS send page, the user can edit the message content, send the location link to the emergency contact or the police, and the police directly or indirectly (via the contact alarm) to get the exact location of the alarm person, go to the event Send a place to rescue.
示例2:Example 2:
本示例提供一种报警方法,包括:This example provides an alert method that includes:
步骤1:用户李某在北京市怀柔区XX山区旅游遇阻被困,李某无法描述自己位置,且当时无数据网络Step 1: User Li is trapped in the XX mountainous area of Huairou District, Beijing. Li can't describe his position, and there is no data network at the time.
步骤2:李某打开报警软件,软件获取当前GPS位置,点击报警按钮Step 2: Li opens the alarm software, the software obtains the current GPS position, clicks the alarm button
步骤3:软件调起短信发送界面,李某编辑短信内容,山区迷路,发送位置链接至朋友张某Step 3: The software calls up the SMS sending interface. Li edits the SMS content, the mountain is lost, and the sending location is linked to the friend Zhang.
步骤4:张某向消防大队报警,告知消防员GPS定位地理位置。消防人员依次位置前往救援。Step 4: Zhang will report to the fire brigade and inform the firefighters of the GPS location. The firefighters went to the rescue in turn.
如图6所示,本实施例还提供一种电子设备,收发器330、存储器310、处理器320及存储在存储器310上并由处理器320运行的计算机程序;As shown in FIG. 6, the embodiment further provides an electronic device, a transceiver 330, a memory 310, a processor 320, and a computer program stored on the memory 310 and executed by the processor 320;
所述处理器320分别与所述存储器310及收发器330连接,配置为通 过执行所述计算机程序执行上述任意一个或多个技术方案提供的报警方法,或者,实现一个或多个报警处理方法。The processor 320 is respectively connected to the memory 310 and the transceiver 330, and configured to be Executing the computer program to perform an alarm method provided by any one or more of the above technical solutions, or implementing one or more alarm processing methods.
本实施例提供的电子设备可为前述的移动终端,例如,如图4所示的移动终端,也可以为前述接受报警短信的电子设备,例如,如图5所示的电子设备。The electronic device provided in this embodiment may be the foregoing mobile terminal, for example, the mobile terminal shown in FIG. 4, or the foregoing electronic device that receives an alarm message, for example, the electronic device shown in FIG.
本实施例中所述收发器330可对应于网络接口,所述网络接口可为电缆接口、可以用于其他网元进行数据交互。The transceiver 330 in this embodiment may correspond to a network interface, and the network interface may be a cable interface, and may be used for data interaction of other network elements.
所述存储器310可包括:各种类型的存储介质,可以配置为数据存储。在本实施例中,所述存储器310包括的存储介质至少部分为非易失性存储介质,可以配置为存储所述计算机程序340。The memory 310 can include various types of storage media that can be configured for data storage. In the present embodiment, the storage medium included in the memory 310 is at least partially a non-volatile storage medium, and may be configured to store the computer program 340.
所述处理器320可包括:中央处理器、微处理器、数字信号处理器、应用处理器、专用集成电路或可编程阵列等,可以配置为通过计算机程序340的执行实现PNF信息包的形成。The processor 320 can include a central processing unit, a microprocessor, a digital signal processor, an application processor, an application specific integrated circuit or a programmable array, etc., and can be configured to implement the formation of PNF packets by execution of the computer program 340.
在本实施例中,所述处理器320可通过集成电路总线等设备内总线,与所述收发器330及存储器310连接。In this embodiment, the processor 320 can be connected to the transceiver 330 and the memory 310 via an in-device bus such as an integrated circuit bus.
本发明实施例还提供一种计算机存储介质,所述计算机存储介质存储有计算机程序,所述计算机程序被执行后,能够实现上述应用于移动终端中的报警方法中的一个或多个,或者,执行应用于电子设备中的报警处理方法中的一个或多个。The embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a computer program, and after the computer program is executed, one or more of the above-mentioned alarm methods applied to the mobile terminal can be implemented, or Execution of one or more of the alarm processing methods applied to the electronic device.
本发明实施例提供的计算机存储介质包括:移动存储设备、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。可选为,所述计算机存储介质可为非瞬间存储介质。这里的非瞬间存储介质又可以称为非易失性存储介质。The computer storage medium provided by the embodiments of the present invention includes: a removable storage device, a read only memory, a random access memory, a magnetic disk, or an optical disk, and the like, which can store program codes. Optionally, the computer storage medium can be a non-transitory storage medium. The non-transitory storage medium herein may also be referred to as a non-volatile storage medium.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性 的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The device embodiments described above are merely illustrative For example, the division of the unit is only a logical function division, and the actual implementation may have another division manner, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be Ignore, or not execute. In addition, the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各实施例中的各功能单元可以全部集成在一个处理模块中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the above integration The unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to the program instructions. The foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing storage device includes the following steps: the foregoing storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. A medium that can store program code.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.
工业实用性Industrial applicability
本发明实施例提供的报警方法、报警处理方法、电子设备及计算机存储介质,在检测到报警操作之后,获取移动终端所在地理位置的位置信息,利用携带有链接地址及位置信息的报警短信。利用报警短信发送报警信息,利用短信携带链接地址而非地图信息本身,相对于对网络连接质量要求高及信息量大的网络消息发送报警信息,可以提升发送成功率及报警成功率高。故本发明实施例提供的技术方案具有积极的工业效果。在具体实现时,所述移动终端可以通过计算机程序等代码的执行,简便实现上述操作,故可实现性强,在工业上的可推广性强。 The alarm method, the alarm processing method, the electronic device and the computer storage medium provided by the embodiments of the present invention acquire the location information of the geographical location where the mobile terminal is located after detecting the alarm operation, and use the alarm short message carrying the link address and the location information. The alarm message is used to send the alarm information, and the short message carrying the link address instead of the map information itself can send the alarm information to the network message with high network connection quality and large amount of information, which can improve the transmission success rate and the alarm success rate. Therefore, the technical solution provided by the embodiment of the present invention has a positive industrial effect. In a specific implementation, the mobile terminal can easily implement the above operation by executing a code such as a computer program, so that the mobile terminal can be highly realized and has strong industrial applicability.

Claims (14)

  1. 一种报警方法,应用于移动终端中,包括:An alarm method is applied to a mobile terminal, including:
    检测报警操作;Detecting alarm operations;
    基于所述报警操作,定位所述移动终端当前所在地理位置的位置信息;And locating location information of a geographic location where the mobile terminal is currently located based on the alarm operation;
    获取包括有所述移动终端当前所在的地理位置的地图的链接地址;Obtaining a link address of the map including the geographic location where the mobile terminal is currently located;
    发送携带有所述链接地址及位置信息的报警短信;其中,所述链接地址,配置为接收方显示包括所述移动终端当前所在位置的地图,所述位置信息为所述移动终端当前所在地理位置的信息,配置为在显示的地图上进行位置标注。Sending an alarm message carrying the link address and location information; wherein the link address is configured to display, by the receiver, a map including a current location of the mobile terminal, where the location information is a current geographic location of the mobile terminal Information, configured to position the location on the displayed map.
  2. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1 wherein the method further comprises:
    检测作用于报警应用的报警界面的第一发送操作;Detecting a first transmitting operation of an alarm interface acting on an alarm application;
    当检测到所述第一发送操作时,显示短信编辑区域;When the first sending operation is detected, displaying a short message editing area;
    在所述短信编辑区域中显示所述链接地址及所述位置信息;Displaying the link address and the location information in the short message editing area;
    检测作用于短信编辑区域的第二发送操作;Detecting a second sending operation acting on the short message editing area;
    所述发送携带有所述链接地址及所述位置信息的报警短信,包括:Sending an alarm message carrying the link address and the location information, including:
    当检测到第二发送操作时,发送所述报警短信。The alarm message is sent when a second transmission operation is detected.
  3. 根据权利要求2所述的方法,其中,The method of claim 2, wherein
    所述当检测到所述第一发送操作时,显示短信编辑区域,包括:When the first sending operation is detected, displaying the short message editing area includes:
    在所述报警界面显示所述短信编辑框;Displaying the short message edit box on the alarm interface;
    或者,or,
    并在启动短信应用后显示所述短信应用的短信编辑页面。And displaying the short message editing page of the short message application after starting the short message application.
  4. 根据权利要求2或3所述的方法,其中,所述方法还包括:The method of claim 2 or 3, wherein the method further comprises:
    接收作用于所述短信编辑区域的输入信息;Receiving input information acting on the short message editing area;
    所述发送携带有所述链接地址及所述位置信息的报警短信,包括: Sending an alarm message carrying the link address and the location information, including:
    发送携带有所述链接地址、所述位置信息及所述输入信息的报警短信。Sending an alarm message carrying the link address, the location information, and the input information.
  5. 根据权利要求1、2或3所述的方法,其中,所述方法,还包括:The method of claim 1, 2 or 3, wherein the method further comprises:
    接收基于所述报警短信返回的反馈短信;Receiving a feedback message returned based on the alarm message;
    显示所述反馈短信。The feedback message is displayed.
  6. 一种报警处理方法,包括:An alarm processing method includes:
    接收移动终端携带有链接地址及位置信息的报警短信;Receiving an alarm message that the mobile terminal carries the link address and the location information;
    基于所述链接地址显示包括所述移动终端所在地理位置的地图;Displaying a map including the geographic location of the mobile terminal based on the link address;
    基于所述位置信息,在显示的所述地图上显示标注信息。Based on the location information, the annotation information is displayed on the displayed map.
  7. 根据权利要求6所述的方法,其中,The method of claim 6 wherein
    所述方法还包括:The method further includes:
    输出所述报警短信携带的用户输入的输入信息。The input information input by the user carried by the alarm message is output.
  8. 根据权利要求6或7所述的方法,其中,所述方法还包括:The method of claim 6 or 7, wherein the method further comprises:
    基于所述报警短息发送反馈短信。Sending a feedback message based on the alarm short message.
  9. 一种电子设备,所述电子设备为移动终端,包括:An electronic device, the electronic device being a mobile terminal, comprising:
    检测单元,配置为检测报警操作;a detection unit configured to detect an alarm operation;
    定位单元,配置为基于所述报警操作,定位所述移动终端当前所在地理位置的位置信息;a positioning unit, configured to locate location information of a geographic location where the mobile terminal is currently located based on the alarm operation;
    获取单元,配置为获取包括有所述移动终端当前所在的地理位置的地图的链接地址;An obtaining unit, configured to obtain a link address of a map including a geographic location where the mobile terminal is currently located;
    第一发送单元,配置为发送携带有所述链接地址及位置信息的报警短信;其中,所述链接地址,配置为接收方显示包括所述移动终端当前所在位置的地图,所述位置信息为所述移动终端当前所在地理位置的信息,配置为在显示的地图上进行位置标注。The first sending unit is configured to send an alarm message carrying the link address and the location information, where the link address is configured to display, by the receiver, a map including the current location of the mobile terminal, where the location information is The information about the current geographic location of the mobile terminal is configured to perform location labeling on the displayed map.
  10. 根据权利要求9所述的电子设备,其中,The electronic device according to claim 9, wherein
    所述检测单元,配置为检测作用于报警应用的报警界面的第一发送操 作;The detecting unit is configured to detect a first sending operation of an alarm interface acting on an alarm application Work
    所述移动终端还包括:The mobile terminal further includes:
    第一显示单元,配置为当检测到所述第一发送操作时,显示短信编辑区域;在所述短信编辑区域中显示所述链接地址及所述位置信息;a first display unit, configured to display a short message editing area when the first sending operation is detected; and display the link address and the location information in the short message editing area;
    所述检测单元,还配置为检测作用于短信编辑区域的第二发送操作;The detecting unit is further configured to detect a second sending operation that is applied to the short message editing area;
    所述第一发送单元,配置为当检测到第二发送操作时,发送所述报警短信。The first sending unit is configured to send the alarm short message when the second sending operation is detected.
  11. 一种电子设备,包括:An electronic device comprising:
    第二接收单元,配置为接收移动终端携带有链接地址及位置信息的报警短信;The second receiving unit is configured to receive an alarm message that the mobile terminal carries the link address and the location information;
    第二显示单元,配置为基于所述链接地址显示包括所述移动终端所在地理位置的地图;并基于所述位置信息,在显示的所述地图上显示标注信息。a second display unit configured to display a map including the geographic location of the mobile terminal based on the link address; and display the annotation information on the displayed map based on the location information.
  12. 根据权利要求11所述的电子设备,其中,The electronic device according to claim 11, wherein
    所述电子设备还包括:The electronic device further includes:
    输出单元,配置为输出所述报警短信携带的用户输入的输入信息。And an output unit configured to output input information input by the user carried by the alarm message.
  13. 一种电子设备,收发器、存储器、处理器及存储在存储器上并由处理器运行的计算机程序;An electronic device, a transceiver, a memory, a processor, and a computer program stored on the memory and executed by the processor;
    所述处理器分别与所述存储器及收发器连接,配置为通过执行所述计算机程序,能够实现上述权利要求1至5任一项提供的报警方法,或者,实现上述权利要求6至8任一项提供的报警处理方法。The processor is respectively connected to the memory and the transceiver, and is configured to implement the alarm method provided by any one of the above claims 1 to 5 by executing the computer program, or to implement any of the foregoing claims 6 to 8. The alarm handling method provided by the item.
  14. 一种计算机存储介质,所述计算机存储介质存储有计算机程序;所述计算机程序被执行后,能够实现上述权利要求1至5任一项提供的报警方法,或者,实现上述权利要求6至8任一项提供的报警处理方法。 A computer storage medium storing a computer program; after the computer program is executed, the alarm method provided by any one of the above claims 1 to 5 can be implemented, or the above claims 6 to 8 can be implemented A provided alarm handling method.
PCT/CN2017/113706 2017-09-13 2017-11-30 Alarm method, alarm processing method, electronic device, and computer storage medium WO2019052019A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710823987.0 2017-09-13
CN201710823987.0A CN107633665A (en) 2017-09-13 2017-09-13 Alarm method, alarm processing method, electronic equipment and computer-readable storage medium

Publications (1)

Publication Number Publication Date
WO2019052019A1 true WO2019052019A1 (en) 2019-03-21

Family

ID=61099906

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/113706 WO2019052019A1 (en) 2017-09-13 2017-11-30 Alarm method, alarm processing method, electronic device, and computer storage medium

Country Status (2)

Country Link
CN (1) CN107633665A (en)
WO (1) WO2019052019A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108449725A (en) * 2018-02-24 2018-08-24 北京路图智达信息技术有限公司 Short message, wechat, integrated video alarm method based on bluetooth warner
CN110944283A (en) * 2019-10-09 2020-03-31 杭州途马科技有限公司 Method for acquiring positioning information in alarm seeking help
CN116996463A (en) * 2022-04-26 2023-11-03 Oppo广东移动通信有限公司 Information processing method, device, mobile terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561104A (en) * 2013-11-11 2014-02-05 北京百纳威尔科技有限公司 Voice control system of smart phone and voice recognition method of smart phone
CN105741514A (en) * 2016-05-11 2016-07-06 贵州省哇通了工程机械服务有限公司 Alarm method, device and system
CN105939395A (en) * 2016-07-12 2016-09-14 天维尔信息科技股份有限公司 Method for acquiring target address and terminal
CN106131343A (en) * 2016-08-25 2016-11-16 北京奇虎科技有限公司 SOS method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8548419B1 (en) * 2006-09-15 2013-10-01 At&T Mobility Ii Llc Utilization of SMS and/or cellular broadcast to receive multimedia alerts
CN101639970B (en) * 2009-09-08 2011-05-25 中兴通讯股份有限公司 Alarm receiving subsystem, alarm receiving and dealing system and method
CN102905244A (en) * 2012-09-26 2013-01-30 电信科学技术研究院 Emergency communication method and terminal
CN103841283A (en) * 2013-12-30 2014-06-04 深圳辉锐天眼科技有限公司 Rapid police-sending security system
CN105812599A (en) * 2014-12-29 2016-07-27 浙江大华技术股份有限公司 Alarming information reporting and processing method and device thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561104A (en) * 2013-11-11 2014-02-05 北京百纳威尔科技有限公司 Voice control system of smart phone and voice recognition method of smart phone
CN105741514A (en) * 2016-05-11 2016-07-06 贵州省哇通了工程机械服务有限公司 Alarm method, device and system
CN105939395A (en) * 2016-07-12 2016-09-14 天维尔信息科技股份有限公司 Method for acquiring target address and terminal
CN106131343A (en) * 2016-08-25 2016-11-16 北京奇虎科技有限公司 SOS method and device

Also Published As

Publication number Publication date
CN107633665A (en) 2018-01-26

Similar Documents

Publication Publication Date Title
JP4981931B2 (en) Location-based emergency call
US11659375B2 (en) System and method for call management
US11164379B2 (en) Augmented reality positioning method and apparatus for location-based service LBS
US9565541B2 (en) Emergency communications from a local area network hotspot
WO2019052020A1 (en) Alarm method, mobile terminal, and computer storage medium
WO2019052021A1 (en) Alarm method, alarm processing method, electronic device, and computer storage medium
WO2019052019A1 (en) Alarm method, alarm processing method, electronic device, and computer storage medium
US20230284000A1 (en) Mobile information terminal, information presentation system and information presentation method
KR20120073153A (en) Method of position-report and relief service by mobile communication device including gps
US8154441B2 (en) Electronic device and method for positioning the electronic device
CN103913164A (en) Mobile-terminal-based positioning method and system
KR20170039148A (en) Sharing media data and location information via instant messaging
CN101860788A (en) Method for realizing positioning of headset and main phone by utilizing mobile phone communication, and device thereof
US20230344793A1 (en) Email synchronization method and electronic device
CN113658026A (en) Information processing method, device, equipment and storage medium for emergency rescue
WO2023151515A1 (en) Information sending method and apparatus
US20160337806A1 (en) Method of Location Based Electronic Document Signature Tracking by Executing Computer-Executable Instructions Stored On a Non-Transitory Computer-Readable Medium
JP2008236441A (en) Gps emergency call system
TWI668595B (en) Electronic device and system and method for searching the same
US9317617B2 (en) Trip plan sharing and matching method
KR101165401B1 (en) Acquiring apparatus and method of position information of mobile device
US20120122419A1 (en) Emergency message transmission method and electronic device implementing the method
US20240127689A1 (en) Alarm method and apparatus for digital enhanced cordless telecommunications (dect) terminal, and storage medium
Dhar et al. Raspberry Pi based real time tracking system
TWI410660B (en) Location device and location method by using the location device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17925008

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 20.08.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17925008

Country of ref document: EP

Kind code of ref document: A1