Short message alarm method and mobile terminal

By automatically acquiring and parsing location information through mobile terminals, generating and sending structured text messages, the problem of cumbersome operation in existing text message alarm services is solved, achieving the effects of simplifying operation and improving alarm success rate.

CN121486772APending Publication Date: 2026-02-06彭志宏
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511655166.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-12
Publication Date
2026-02-06

AI Technical Summary

Technical Problem

Existing SMS alarm services are cumbersome to operate, requiring users to manually enter the alarm number and detailed address, which is difficult to complete in emergency situations, resulting in a low alarm success rate, especially prone to errors when traveling across regions or in emergency situations.

Method used

The system obtains real-time location data through the mobile terminal positioning module, automatically parses the administrative region and telephone area code, generates an alarm number, automatically fills in the detailed address and other alarm information, and generates and sends structured text messages.

Benefits of technology

It simplifies the SMS alarm operation process, improves the accuracy and transmission efficiency of alarm information, lowers the user operation threshold, adapts to the needs of emergency scenarios, and improves the processing efficiency of the alarm receiving platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121486772A_ABST
    Figure CN121486772A_ABST
Patent Text Reader

Abstract

The invention discloses a short message alarm method and a mobile terminal, and the method and the mobile terminal effectively solve the pain point of the existing short message alarm and promote the wide application of the short message alarm service by automatically activating positioning, analyzing regional information, generating alarm receiving numbers, filling key fields, simplifying the short message alarm operation process and automatically obtaining key alarm information.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application relates to a short message alarm method and a mobile terminal, and belongs to the technical field of information communication. BACKGROUND

[0002] With the development of information communication technology, smart phones have become an essential tool in people's daily life, and their application in emergency assistance scenarios is becoming increasingly important. At present, the public security department has opened a short message alarm service as an important supplement to telephone alarm. This service can provide an emergency assistance channel for users in special scenarios where voice communication is not possible (such as being hijacked and unable to appear, noisy environment, hearing or language barrier users seeking help, etc.), and has important social security significance.

[0003] The specific operation mode of the existing short message alarm service has explicit limitations, mainly in two core links: first, the alarm number adopts the combination form of "12110 + the last three digits of the telephone area code", and the user needs to know the telephone area code of the region where he / she is located in advance and manually input the complete number to ensure that the alarm information is sent to the corresponding regional public security alarm platform; second, the alarm short message content has mandatory requirements and must contain the detailed alarm address of the county, city, and district, otherwise it is difficult for the alarm platform to accurately locate the position of the alarm person, which may affect subsequent police dispatch.

[0004] The above-mentioned existing operation mode seriously hinders the popularization of the short message alarm service in actual application, and the specific problems include:

[0005] The number memory and input threshold is high; ordinary users usually have difficulty accurately remembering the telephone area code of different regions, especially when traveling across regions (such as business trips, tourism) or in emergency situations (such as panic, injury), it is easy to cause confusion in the area code, input errors, and alarm short messages sent to non-target alarm platforms, making it difficult to ensure successful alarm.

[0006] The accuracy of address information is difficult to guarantee; when the user manually enters the detailed address, it may be difficult for the alarm platform to quickly and accurately locate due to non-standard description (such as using vague descriptions such as "XX community next to" "XX supermarket opposite", omitting house numbers or street names), input errors (such as misspelling, missing words), etc.; if the user is in an unfamiliar environment (such as a street in a foreign place, a newly built area), it may be difficult to provide effective address information and normal police dispatch.

[0007] Poor adaptability in emergency scenarios; in emergency scenarios such as sudden danger (such as violent attacks, illegal detention) or user emotional tension, users often have difficulty completing the series of operations of "remembering the area code - combining the alarm number - organizing the address text - editing the alarm content" calmly; in some scenarios, users may only have fragmented operation time, and complex manual operation processes may make it difficult for users to complete short message entry and lose the opportunity to alarm.

[0008] In summary, the existing smart phone SMS alarm mode is tedious to operate, highly dependent on user active information input, and lacks convenience and reliability, so it cannot fully play its due role, and there is an urgent need for an SMS alarm technical solution that can simplify the operation process and automatically obtain key information to solve the pain points of existing technology and promote the widespread application of SMS alarm services. SUMMARY

[0009] The present application aims to provide a SMS alarm method and mobile terminal, which simplifies the SMS alarm operation process, automatically obtains key alarm information, effectively solves the pain points of existing SMS alarm, and promotes the widespread application of SMS alarm service.

[0010] In order to achieve the above-mentioned purpose, the technical scheme adopted by the present application is as follows: a SMS alarm method, comprising: S1, obtaining real-time positioning data of the alarm person at the alarm time through the positioning module of the mobile terminal; S2, obtaining the detailed address, administrative region and telephone area code of the alarm person at the alarm time according to the real-time positioning data; S3, generating an alarm receiving number; the alarm receiving number is 12110+the last three digits of the telephone area code; S4, the alarm receiving number, the administrative region and the detailed address are automatically filled into the editing interface; S5, editing other fields through the editing interface; the other fields include the alarm person, gender, alarm category and alarm content; S6, integrating the administrative region, the detailed address, the other fields and the real-time positioning data into an alarm SMS; S7, sending the alarm SMS to the alarm receiving number.

[0011] The above-mentioned scheme realizes the simplification and automation of the SMS alarm process through positioning acquisition, regional information analysis, automatic generation of alarm receiving number and key field filling, reduces the user operation threshold, and improves the accuracy and transmission efficiency of alarm information.

[0012] The SMS alarm of the public security department implements the principle of city-level centralized alarm (the telephone area code can only be distinguished to the city level) and hierarchical command. After receiving the SMS alarm, the city alarm platform forwards or pushes the alarm SMS to the corresponding county (district) alarm platform for command and police dispatch according to the county (district) name in the SMS content. The above-mentioned scheme takes the "administrative region" as a separate field, which is used for automatic filling, facilitates the quick reading and identification of the alarm receiver, and quick forwarding or pushing, and is convenient for automatic identification and extraction of the field information by the system, and serves as the judgment basis for automatic forwarding or pushing.

[0013] According to embodiments of the present invention, the present invention can be further optimized, and the optimized technical solution is as follows:

[0014] In one preferred embodiment, the process of acquiring real-time location data of the person who made the alarm at the time of the alarm in step S1 specifically includes: The positioning module of the mobile terminal is activated by the positioning activation unit, and multi-source positioning fusion is adopted, that is, GPS positioning, Beidou positioning and base station positioning are called simultaneously to obtain the real-time positioning data of the alarm person at the time of alarm. Preferably, the positioning activation unit is a first soft button, which is an independent icon and is located at the top of the main interface of the SMS function of the mobile terminal. Preferably, the real-time positioning data includes longitude and latitude, and the accuracy of the real-time positioning data is 6 decimal places.

[0015] In the above scheme, the first soft button is an independent icon, located at the top of the SMS function interface, making it easy for users to quickly identify and click it in emergencies. The accuracy setting of the real-time location data is used to meet the location requirements of the alarm receiving platform.

[0016] In one preferred embodiment, in step S2, the precision of the administrative region is county-level administrative region or municipal district.

[0017] In the above scheme, the accuracy of the administrative region meets the accuracy requirements of the alarm receiving platform.

[0018] In one preferred embodiment, in step S4, the editing interface is accessed by clicking the positioning activation unit.

[0019] The above solution addresses the core pain point of "inconvenience of voice input" by using shortcut keys and a visual interface design, allowing users to quickly complete operations in emergencies without complicated procedures.

[0020] In one preferred embodiment, between S4 and S5, the method further includes: manually editing the alarm number and / or the administrative region and / or the detailed address into the editing interface.

[0021] In the above solution, the manual editing method is suitable for scenarios requiring SMS alerts to public security departments in other locations or for supplementing details, thus expanding the applicability of the SMS alert method. It supports manual modification of key fields, adapting to special circumstances such as remote alerts and location discrepancies, offering greater flexibility.

[0022] In one preferred embodiment, in step S5, the alarm categories include general alarms, major cases, indecent assault, forced entry, traffic accidents, tip-offs, and complaints / supervisions.

[0023] In the above scheme, the "alarm category" field is used for the police to quickly understand the basic alarm and facilitate the quick command of corresponding police to go to the scene, such as general alarm, command of the police station in the jurisdiction to go to the scene, traffic accident, and command of the traffic police to go to the scene.

[0024] In one preferred embodiment, in the S6, the administrative region, the detailed address, the other fields and the real-time positioning data are integrated into an alarm message, and specifically include: According to a preset format, the administrative region, the detailed address, the other fields and the real-time positioning data are integrated to generate an alarm message, wherein the preset format is "alarming person; gender; administrative region; detailed address; alarm category; real-time positioning data; alarm content", and the format of the real-time positioning data is "longitude, latitude".

[0025] The above scheme ensures that the alarm platform can automatically identify and extract the field information through the preset format, without manual sorting, so as to ensure that the alarm platform staff can quickly read and identify, and improve the alarm efficiency.

[0026] In one preferred embodiment, in the S7, the alarm message is sent to the alarm number, and specifically includes:

[0027] The alarm message is checked for completeness, if the alarming person and / or the alarm content is empty, a first prompt box is popped up, the first prompt box is used to prompt the alarming person name and / or the alarm details to be entered, if the alarm message is complete, the alarm message is sent to the alarm number through a sending unit, wherein the sending unit is a second soft key, the second soft key is arranged at the bottom of the editing interface, and the text and the background of the second soft key adopt high-contrast colors.

[0028] The above scheme ensures the completeness of the alarm information, and avoids the influence of missing information on the police going to the scene.

[0029] In one preferred embodiment, after the S7, it further includes: if the sending is successful, a second prompt box is popped up, the second prompt box is used to prompt that the alarm message has been sent, please keep the mobile phone open, and wait for the police to contact; if the sending fails, a third prompt box is popped up, the third prompt box is used to prompt that the sending fails, please use other methods to alarm.

[0030] Based on the same concept, the application also provides a mobile terminal, which includes a memory, a processor and a computer program or instructions stored in the memory, and the processor executes the computer program or instructions to realize the above-mentioned SMS alarm method.

[0031] Compared with the prior art, the short message alarm method and the mobile terminal provided by the application have the advantages that the method simplifies the short message alarm operation process, automatically acquires key alarm information, effectively solves the pain points of the existing short message alarm, and promotes the wide application of the short message alarm service. BRIEF DESCRIPTION OF DRAWINGS

[0032] Figure 1 is a flowchart of the short message alarm method of an embodiment of the application; Figure 2 is a button interface diagram of the "short message alarm" of an embodiment of the application; Figure 3 is a short message alarm editing interface diagram of an embodiment of the application. DETAILED DESCRIPTION

[0033] The application will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments. It should be noted that the embodiments in the application and the features in the embodiments can be combined with each other without conflict. Embodiment 1

[0034] In view of the defects of the existing smart phone short message alarm method, such as "needing to remember and manually input the alarm receiving number", "needing to manually input the detailed address", and "high operation difficulty in emergency scenarios", the embodiment 1 provides a smart phone short message alarm method, which automatically activates positioning, analyzes regional information, generates an alarm receiving number, and fills in key fields, so as to realize the simplification and automation of the alarm process, reduce the user operation threshold, and improve the accuracy and transmission efficiency of the alarm information. The flowchart of the short message alarm method is as shown in Figure 1

[0035] To achieve the above-mentioned purpose, the smart phone short message alarm method provided by the embodiment 1 specifically includes the following steps:

[0036] Step 1: "short message alarm" shortcut

[0037] As shown in Figure 2 , a visual "short message alarm" button is added in the information interface (i.e. the main interface of the short message function) of the smart phone, the button is set in the form of an independent icon, and is preferably located in a conspicuous area of the information interface (such as the top shortcut function bar or the right area at the top of the interface), so as to facilitate the user to quickly identify and click in an emergency situation.

[0038] Step 2: short message alarm editing interface

[0039] As shown in Figure 3 ​As shown, a structured SMS alarm editing interface is created. This interface is uniquely associated with the "SMS Alarm" button in step 1; clicking the "SMS Alarm" button will only redirect to this customized SMS alarm editing interface. This interface includes the following core information input fields and function buttons: The "Alarm Number" field displays the automatically generated target alarm receiving platform number. It supports manual modification and entry, and manual entry is suitable for sending SMS alarms to public security departments in other locations. The "Caller" field is for manually entering the name of the person who called the police. The "Gender" field uses a drop-down selection format, with only "Male" and "Female" as options. The "Administrative Region" field is used to display the automatically filled and parsed county / city / district name, such as "Wuhan City, Wuchang District" (manual modification is supported); The "Detailed Address" field displays the automatically resolved specific address, such as "XX Street XX Road XX No. XX Community". It supports manual editing and addition, such as adding details like "Building 1, Room 305". The "Alarm Category" section uses a drop-down selection format to briefly display the alarm situation. The drop-down options include, but are not limited to: "General Alarm", "Major Case", "Indecent Assault", "Breakthrough", "Traffic Accident", "Tip-off", and "Complaint / Supervision". The "Alarm Details" field is a multi-line text input box for users to enter details of the alarm, such as a traffic accident at the intersection of XX Road and XX Road, with injuries reported.

[0040] Function buttons: A "Send" button is set up, located at the bottom center of the interface. The button is larger than ordinary interactive buttons and uses a high-contrast color scheme (such as red and orange) to facilitate users to quickly identify and click it. Before clicking the "Send" button, the system automatically checks whether the "Alarm Person" and "Alarm Content" fields are empty. If they are empty, a prompt box will pop up (such as "Please enter the alarm person's name" or "Please describe the alarm details") to ensure the integrity of the alarm information.

[0041] Step 3: Automatically activate positioning and obtain real-time location data

[0042] After the user clicks the "SMS Alarm" button, the smartphone's positioning module is automatically activated. The positioning module prioritizes multi-source positioning fusion technology, which simultaneously uses GPS positioning, BeiDou positioning, and base station positioning. If the GPS / BeiDou positioning signal is weak in the current environment (such as indoors or underground passages), it will automatically switch to base station positioning to ensure that location data can be obtained in different scenarios. The real-time location data obtained by the positioning module is in latitude and longitude coordinates (such as longitude 114.318978, latitude 30.523567), and the data accuracy is retained to 6 decimal places to meet the positioning requirements of the alarm receiving platform.

[0043] Step 4: Parse the administrative region name and the complete telephone area code

[0044] The system uses the latitude and longitude coordinates obtained in step 3 to call third-party map services (such as Gaode Map Service and Baidu Map Service) through API interface to perform geocoding and parsing on the location data. The parsing results include the administrative region name corresponding to the current location (accurate to the county / city / district level, such as "Xihu District of Hangzhou City") and the complete telephone area code (such as the area code "0571" corresponding to Xihu District of Hangzhou City).

[0045] Step 5: Automatically generate alarm numbers and populate key fields.

[0046] Based on the complete area code (e.g., "0571") parsed in step 4, the system automatically extracts the last three digits of the area code (e.g., "571") and combines them with "12110" according to the public security system's SMS alarm number rule of "12110 + last three digits of area code" to generate a complete target alarm receiving platform number (e.g., "12110571"). This number is then automatically filled into the "Answer Number" field of the SMS alarm interface. Simultaneously, the administrative region name (e.g., "Xihu District, Hangzhou City") parsed in step 4 is automatically filled into the "Administrative Region" field.

[0047] Step 6: Parse the detailed address and populate the corresponding fields.

[0048] The system calls the map service API or administrative division database used in step 4 again. Based on the latitude and longitude coordinates obtained in step 3, it further parses out the detailed address information of the current location. The parsing result must include hierarchical information such as "street - road / alley - house number - community / building name" (e.g., "No. 1037 Luoyu Road, Nanhu Street, School of Information Science, Wuhan University"). The detailed address is then automatically filled into the "detailed address" field of the SMS alarm interface.

[0049] Considering that the detailed address may be missing or inaccurate in some scenarios, the system allows users to manually supplement or modify the content in the "Detailed Address" field, such as adding details like "Basketball court of the School of Information Science, Wuhan University, No. 1037 Luoyu Road, Nanhu Street" to ensure the accuracy of the address information.

[0050] Step 7: Generate an alarm SMS and send it automatically.

[0051] After the user completes the entry of the "Alarmer's" name, selection of "Gender," selection of "Alarm Category," and editing of "Alarm Content" (additional additions or modifications to the "Detailed Address" can also be completed in this step), click the "Send" button at the bottom of the interface, and the system will immediately perform the following operations: Data Integration: The valid information in each field of the SMS alarm interface (including the alarm caller's name, gender, administrative region name, detailed address, and alarm category) is integrated with the latitude and longitude data (location) obtained in step 3. The integration order strictly follows the preset format, namely "alarm caller; gender; administrative region; detailed address; alarm category; location; alarm content". Among them, the latitude and longitude data in the "location" field are arranged in the format of "longitude, latitude" (e.g., "114.315642,30.525854"). The separator between all fields is uniformly half-width ";" (English semicolon occupies 1 character, Chinese semicolon occupies 2 characters; minimize the number of characters as much as possible) to ensure that the alarm receiving platform can automatically identify and extract the information of each field through the program without manual processing.

[0052] SMS generation: The system automatically generates a complete alarm SMS based on the integrated data. The SMS content does not contain any formatting marks, only retains the field content and separators, to ensure that the staff of the alarm receiving platform can quickly read and identify it.

[0053] Automatic sending: The system directly sends the generated alarm SMS to the alarm receiving platform number displayed in the "Alarm Number" field without requiring secondary confirmation from the user. During the sending process, the interface displays a dynamic prompt of "Sending...". If the sending is successful, a prompt box will pop up saying "Alarm SMS has been sent. Please keep your phone accessible and wait for the police to contact you." If the sending fails (e.g., no network signal or abnormal SMS service), a prompt box will pop up saying "Sending failed. Please use other methods to report the alarm."

[0054] After the SMS message is successfully sent, the system automatically saves a copy of the alarm SMS to the "Messages" application on the smartphone.

[0055] The SMS alarm method provided in Embodiment 1 involves creating an "SMS Alarm" link on the smartphone's information interface; clicking the "SMS Alarm" link to open the SMS alarm interface; activating the phone's positioning module to obtain real-time location data, and using this data to obtain the administrative region name and area code of the location; automatically generating the SMS alarm receiving platform number for the current administrative region, and automatically filling this number and the administrative region name into the SMS alarm interface; after the alarm user enters other relevant information, clicking send, the smartphone automatically sends an alarm SMS to the receiving platform, along with the obtained location data, according to a preset format.

[0056] The SMS alarm method provided in this embodiment 1 has the following advantages compared with traditional solutions:

[0057] 1. Significantly lowers the operational threshold. Users no longer need to memorize the emergency call number ("12110 + the last three digits of the area code"). The system automatically parses the area code and generates the complete number, avoiding input errors. It automatically fills in the administrative region and detailed address, eliminating the need for users to manually enter vague or complex addresses, making it especially suitable for unfamiliar environments or emergency situations.

[0058] 2. Improve the accuracy and standardization of alarm information. The method employs a structured field design (alarm category dropdown selection, automatic latitude and longitude acquisition) to reduce issues such as non-standard user descriptions and missing information. A field validation mechanism (a pop-up notification when required fields are empty) ensures the completeness of alarm information and prevents delays due to missing information.

[0059] 3. More precise scenario adaptation. Specifically addressing the core pain point of "inconvenient voice control," the design features shortcut keys and a visual interface, allowing users to quickly complete operations in emergencies without complicated procedures. It supports manual modification of key fields (such as administrative region and detailed address) to adapt to special situations such as alarms from different locations and location deviations, offering greater flexibility.

[0060] 4. Optimize the processing efficiency of the alarm receiving platform. The structured SMS format (fields separated by standardized symbols) allows the alarm receiving platform to automatically extract information without manual identification and processing, shortening response time. Clear alarm category classification facilitates rapid dispatch of alarms by the platform, improving the targeted nature of responses. Example 2

[0061] This embodiment 2 provides a detailed description of the smartphone SMS alarm method provided in embodiment 1. This embodiment 2 uses the Android 14 smartphone operating system as an example, and the third-party map service selected is the Gaode Map lightweight SDK. The specific implementation steps are as follows:

[0062] 1. Preliminary preparation: Integration with the SDK

[0063] SDK Integration: Download the lightweight Android positioning SDK from the Amap Open Platform, import the relevant SDK files (.jar package, .so file) into the APP's development project, and configure the SDK key in the project's configuration file (AndroidManifest.xml) (you need to apply for it in advance from the Amap Open Platform) to ensure that the APP can call Amap's positioning and geocoding parsing services normally; at the same time, configure the SDK's positioning parameters, such as setting the positioning interval to "1 second / time" (only start positioning after clicking the "SMS alarm" button, and stop immediately after positioning is completed to avoid continuous power consumption), and setting the positioning accuracy to "high precision mode" (prioritize GPS / BeiDou positioning).

[0064] 2. Functionality Implementation: Button Creation and Interface Development

[0065] Creating the "SMS Alarm" button: In the layout file of the APP's information interface (main SMS interface), add a Button control, set the control's id to "sms_alarm_button", display the text "SMS Alarm", set the text color to white, the background color to red, and set the control size to "width 80dp, height 40dp" (dp is the density-independent pixel unit of the Android system, adapting to phones with different screen sizes); fix the position of this control at the top right of the interface, adjacent to the "New SMS" button, so that users can find it quickly.

[0066] SMS alarm interface development: The SMS alarm interface is developed using Android's LinearLayout layout (vertical orientation). The control types and attribute settings for each field are as follows: The "Emergency Number" field uses an EditText control (single-line text input). The prompt text is "Emergency Number:", the input type is set to "Text", the font color is black, and the font size is 16sp (sp is a scaling-independent pixel unit in the Android system, adapted to different font size settings). The "Caller" field uses an EditText control (single-line text input). The prompt text is "Please enter the name of the person who called the alarm." The input type is set to "Text," the font color is black, and the font size is 16sp. The "Gender" field uses a Spinner control (drop-down selection), with the option array set to "["Please select gender","Male","Female"]", displaying "Please select gender" by default, with black font color and 16sp font size; The "Administrative Region" section uses a TextView control (clickable and editable). The tooltip text is "Administrative Region:", and the content text is initially empty. An "Edit" icon (pencil shape) is added to the right. Clicking it will bring up a drop-down list of administrative regions. The font color is black and the font size is 16sp. The "Detailed Address" field uses an EditText control (multi-line text input). The prompt text is "Detailed Address (editable and supplementable)". The input type is set to "Text". The default is to display the automatically parsed address. The font color is black and the font size is 16sp. The "Alarm Category" field uses a Spinner control (drop-down selection). The option array is set to "["Please select alarm category","General alarm","Major case","Indecent assault","Terraining","Traffic accident","Report clue","Complaint and supervision"]", and the default display is "Please select alarm category". The font color is black and the font size is 16sp. The "Alarm Content" field uses the EditText control (multi-line text input). The prompt text is "Please describe the alarm details (such as time, location, and event details)". The input type is set to "Text", the font color is black, the font size is 16sp, and the minimum number of lines is set to 3 to ensure that there is enough space to enter information. "Send" button: Use a Button control, display the text "Send", the background color is red, the text color is white, the font size is 18sp, the control size is set to "width 200dp, height 50dp", set a click event listener, and the SMS generation and sending process is triggered after clicking.

[0067] 3. Core Functionality Testing: Location, Parsing, and Sending

[0068] Location function test: In different environments (indoors, outdoors, underground parking garage), click the "SMS alarm" button and observe the activation status of the location module and the location data acquisition results:

[0069] Outdoor environment (good GPS / BeiDou signal): The positioning module should acquire latitude and longitude data within 1-3 seconds, with an accuracy error of no more than 10 meters;

[0070] Indoor environment (weak GPS / BeiDou signal): The positioning module should automatically switch to base station positioning, acquire latitude and longitude data within 3-5 seconds, and the accuracy error should not exceed 100 meters;

[0071] Underground parking garage (no GPS / BeiDou signal, weak base station signal): The positioning module should attempt to obtain the last valid positioning data (if available). If not, a prompt box will pop up saying "Current location resolution failed, please manually select the administrative region". Enter the name of the administrative region through the manual selection function.

[0072] Information parsing test: Based on the acquired latitude and longitude data, test the parsing results of administrative region names, complete telephone area codes, and detailed addresses:

[0073] Administrative Region Resolution: The resolution result should be accurate to the county / city / district level (i.e., the precision is county-level administrative region or municipal district). For example, if the latitude and longitude correspond to "Chaoyang District, Beijing", then the "Administrative Region" column should display "Chaoyang District, Beijing"; the "Emergency Number" column should display "1211010" (Note: The last three digits of the area code "010" are "10", which are padded to three digits according to the rules, i.e., "010", so the emergency number is "12110010". This needs to be adjusted according to the actual area code rules to ensure consistency with the emergency number rules of the public security system).

[0074] Detailed address resolution: The resolution result should include information such as street, house number, and community name, such as "No. 88 Jianguo Road Modern City SOHO". If the resolution result is missing the house number (such as "Jianguo Road Modern City SOHO"), it can be entered manually through the supplement and modification function.

[0075] SMS sending test: Fill in all required fields (reporter, gender, alarm type, alarm content), change the number in the "Receiving Number" field to your own number (to avoid interfering with the police's normal call receiving work), and click the "Send" button. The SMS should be sent successfully within 3-5 seconds, and the interface will display a success message. Check your own SMS; you should receive a test SMS, and the content of the SMS should conform to the preset format, such as "Zhang San; Male; Chaoyang District, Beijing; No. 88 Jianguo Road, Modern City SOHO; Traffic accident; 116.484566, 39.912563; A rear-end collision occurred at the entrance of No. 88 Jianguo Road, Modern City SOHO, with no injuries."

[0076] 4. Abnormal scenario handling test

[0077] Field empty validation: Intentionally leave the "reporter's" name or "alarm content" blank, click the "send" button, and test whether the corresponding prompt box pops up (such as "Please enter the reporter's name" or "Please describe the alarm details") to ensure that no required fields are omitted;

[0078] Administrative Region Modification Test: Manually modify the content in the "Administrative Region" field (e.g., change "Chaoyang District, Beijing" to "Dongcheng District, Beijing"), and test whether the alarm number is updated synchronously (e.g., if the area code of Dongcheng District is "010", the alarm number is still "12110010"; if it is changed to "Huangpu District, Shanghai", with an area code of "021", the alarm number should be updated to "12110021") to ensure that the administrative region matches the alarm number;

[0079] Through the above implementation steps and testing procedures, the smartphone-based SMS alarm method of Embodiment 2 can be ensured to run stably on Android smartphones, achieving the core functions of "one-click triggering, automatic location, automatic form filling, and rapid sending," effectively solving the pain points of existing SMS alarm methods and improving the convenience and reliability of SMS alarms. For iOS smartphones, the above implementation logic can be referenced, combined with the iOS system's permission mechanism (such as location permission and SMS sending permission) and interface development specifications (such as using Swift language and UIKit framework) for adaptation development, achieving cross-system compatibility and expanding the applicability of the method.

[0080] The SMS alarm method provided in this embodiment overcomes the technical bottlenecks and pain points of existing SMS alarms, mainly in four core dimensions:

[0081] I. Simplified Operation Process: A "One-Click + Automated" Design to Lower the Barrier to Use. It pioneers a "Shortcut Key Trigger" mode on the SMS interface, eliminating the need to make a voice call and directly jumping to a customized alarm interface. This adapts to core scenarios where voice communication is inconvenient, such as hijacking and noisy environments, filling a gap in existing technology for such scenarios. It automatically fills in core information, generating the alarm number (12110 + last three digits of the area code), administrative region name, and detailed address through location analysis, completely solving users' pain points of "not remembering the area code" and "not being able to fill in the address accurately," avoiding manual input errors. The interaction steps are simplified, retaining only the core operations of "entering basic information + clicking send," coupled with a high-contrast "send" button design, ensuring users can quickly complete the operation in emergency situations, reducing the error rate.

[0082] II. Standardized Information Processing: A "Structured + Standardized" Mechanism to Improve Alarm Efficiency. A structured alarm information field is designed, integrating seven core elements: "alarmer, gender, administrative region, detailed address, alarm category, latitude and longitude, and alarm content." SMS messages are generated in a unified format (fields separated by semicolons), allowing the alarm receiving platform to automatically extract information without manual processing. Field validation and flexible adjustment functions are added, performing null value checks on required fields such as "alarmer" and "alarm content," while also supporting manual modification of fields like administrative region and detailed address, balancing information accuracy with flexibility for special scenarios (such as remote alarms). Multi-source positioning fusion technology is adopted, prioritizing the integration of GPS, BeiDou, and base station positioning. The positioning mode is automatically switched based on signal strength, ensuring high-precision latitude and longitude data can be obtained even in complex environments such as indoors and underground, providing technical support for positioning accuracy.

[0083] III. Precise Scene Adaptation: A differentiated design precisely covering specific needs. Focusing on the "non-voice alarm" scenario, it provides customized solutions for users with hearing / speech impairments, those unable to speak during violent attacks, and those in noisy environments, overcoming the limitations of existing telephone-triggered alarm technologies. It supports cross-regional alarm adaptation, updating administrative regions and alarm numbers in real time through location analysis, eliminating the need for manual adjustments and resolving alarm adaptation issues during cross-regional travel (business trips, tourism). Balancing "automation" and "manual supplementation," core information is automatically filled in to reduce workload, while retaining manual input of alarm content and detailed addresses to ensure the completeness of the alarm description and avoid information loss due to pure automation.

[0084] IV. User Experience Optimization: Detailed design balancing security and practicality. The visual interface and interaction have been optimized, employing user-friendly designs such as dropdown selection (gender, alarm category) and multi-line input boxes (alarm content) to reduce operational difficulty. A high-contrast red "send" button enhances recognition and click efficiency in emergency situations. SMS sending status feedback and copy saving are provided. Dynamic prompts are displayed during the sending process, with corresponding prompts popping up for success or failure. A copy of the SMS is automatically saved for easy later retrieval, enhancing user confidence. Lightweight technology is used to quickly complete geocoding parsing by calling third-party map APIs, requiring no additional hardware support. It is compatible with mainstream Android and iOS systems, possessing broad device compatibility and feasibility for implementation.

[0085] The above embodiments should be understood as being used only to illustrate the present invention more clearly, and not to limit the scope of the present invention. After reading the present invention, any modifications of the present embodiments by those skilled in the art will fall within the scope defined by the appended claims.

Claims

1. A method for issuing an alarm via SMS, characterized in that, include: S1. Obtain the real-time location data of the person who made the alarm at the time of the alarm; S2. Based on the real-time location data, obtain the detailed address, administrative region, and telephone area code of the person who made the alarm at the time of the alarm. S3. Generate the alarm receiving number based on the area code; S4. The alarm number, the administrative region, and the detailed address are automatically filled into the editing interface; S5. Edit other fields through the editing interface; the other fields include alarm user, gender, alarm category, and alarm content; S6. The administrative region, the detailed address, the other fields, and the real-time location data are integrated into an alarm SMS message; S7. Send the alarm SMS to the alarm receiving number.

2. The SMS alarm method according to claim 1, characterized in that, In S1, the process of acquiring real-time location data of the person who made the alarm at the time of the alarm specifically includes: The positioning module of the mobile terminal is activated by the positioning activation unit, and multi-source positioning fusion is adopted, that is, GPS positioning, Beidou positioning and base station positioning are called simultaneously to obtain the real-time positioning data of the alarm person at the time of alarm. Preferably, the positioning activation unit is a first soft button, which is an independent icon and is located at the top of the main interface of the SMS function of the mobile terminal. Preferably, the real-time positioning data includes longitude and latitude, and the accuracy of the real-time positioning data is 6 decimal places.

3. The SMS alarm method according to claim 1, characterized in that, In S2, the precision of the administrative region is county-level administrative region or municipal district.

4. The SMS alarm method according to claim 2, characterized in that, In step S4, the editing interface is accessed by clicking the positioning activation unit.

5. The SMS alarm method according to claim 1, characterized in that, Between S4 and S5, the method further includes manually editing the alarm number and / or the administrative region and / or the detailed address into the editing interface.

6. The SMS alarm method according to claim 1, characterized in that, In S5, the alarm categories include general alarms, major cases, indecent assault against women, forced entry into private residences, traffic accidents, tip-offs, and complaints / supervisions.

7. The SMS alarm method according to claim 3, characterized in that, In step S6, the administrative region, the detailed address, the other fields, and the real-time location data are integrated into an alarm SMS message, specifically including: According to a preset format, the administrative region, the detailed address, the other fields, and the real-time location data are integrated to generate an alarm SMS message; wherein, the preset format is "alarmer; gender; administrative region; detailed address; alarm category; real-time location data; alarm content", and the real-time location data is in the format of "longitude, latitude".

8. The SMS alarm method according to claim 1, characterized in that, In step S7, sending the alarm SMS to the receiving number specifically includes: Verify whether the alarm SMS is complete. If the alarm person and / or the alarm content is empty, a first prompt box will pop up. The first prompt box is used to prompt the alarm person's name and / or alarm details to be entered. If the alarm SMS is complete, it is sent to the receiving number via the sending unit; wherein, the sending unit is a second soft key, which is located at the bottom of the editing interface, and the text and background of the second soft key use high-contrast colors.

9. The SMS alarm method according to claim 1, characterized in that, Following S7, the following is also included: If the message is sent successfully, a second notification box will pop up, indicating that the alarm SMS has been sent and that you should keep your phone accessible and wait for the police to contact you. If the transmission fails, a third notification box will pop up, indicating that the transmission failed and requesting that other methods be used to report the problem.

10. A mobile terminal, comprising a memory, a processor, and a computer program or instructions stored in the memory, characterized in that, The processor executes the computer program or instructions to implement the SMS alarm method as described in any one of claims 1-9.