Emergency event position uploading method and system based on IMS (IP Multimedia Subsystem) communication
By automatically identifying emergency calls and obtaining location information on mobile terminals, and sending it to the nearest rescue unit via the IMS communication link, the problem of inaccurate information in emergencies is resolved, efficient and secure transmission of emergency rescue is achieved, and the intelligent level of public safety services is improved.
Patent Information
- Application Number
- CN202511085594.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-04
- Publication Date
- 2025-09-16
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing emergency call systems rely on manual description of event type and location information in emergencies, which leads to inaccurate information, communication barriers and emotional tension, affecting emergency rescue efficiency.
By setting up a call identification module on the mobile terminal to automatically identify emergency phone numbers, obtain location information and determine the type of incident, and use the IMS communication link to send it to the nearest matching rescue unit, combined with encryption processing to ensure information security and accuracy.
It realizes the real-time and reliable transmission of emergency event location information, improves the efficiency of rescue resource dispatch and the rapid identification of target rescue units, and enhances the intelligent level of public safety services.
Smart Images

Figure CN120656298A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of emergency event location uploading, and in particular to an emergency event location uploading method and system based on IMS communication. Background Art
[0002] With the rapid development of mobile communications technology, emergency call services based on the IP Multimedia Subsystem (IMS) have become a crucial pillar of public safety. Traditional emergency call systems primarily rely on voice communication and base station positioning. In 4G / 5G networks, the IMS architecture provides the technical foundation for the real-time transmission of integrated voice, location, and multimedia data. However, in the face of complex and ever-changing emergency events (such as traffic accidents, medical emergencies, and natural disasters), existing systems rely on manual descriptions of event types and locations, which can easily lead to inaccurate information in emergencies due to communication barriers and emotional stress. Summary of the Invention
[0003] This application provides an emergency location uploading method and system based on IMS communication to solve the problems raised by the above background technology.
[0004] In a first aspect, the present application provides a method for uploading an emergency location based on IMS communication, comprising: Identifying the telephone number dialed by the mobile terminal through a call identification module provided in the mobile terminal to obtain a number identification result of the mobile terminal; Determining whether the user of the mobile terminal needs to handle an emergency event based on the number recognition result; If necessary, obtaining the location information of the mobile terminal through a positioning module on the mobile terminal, and determining the type of emergency event based on the number recognition result; A target rescue unit is determined based on the location information and the event type of the emergency event, and the location information is sent to the target rescue unit via an IMS communication link; the target rescue unit is a rescue unit that matches the event type and is closest to the mobile terminal.
[0005] In a possible implementation, identifying the telephone number dialed by the mobile terminal by a call identification module provided in the mobile terminal to obtain a number identification result of the mobile terminal includes: When the mobile terminal makes a call, a number identification instruction is sent to the call identification module of the mobile terminal, so that the call identification module obtains the phone number dialed by the mobile terminal after receiving the number identification instruction; Receive the telephone number sent by the call identification module; the telephone number is the number identification result.
[0006] In a possible implementation, determining whether the user of the mobile terminal needs to handle an emergency event based on the number recognition result includes: Determine whether the number identification result exists in a preset emergency call list; If so, determining that the user of the mobile terminal needs to handle an emergency; If not, it is determined that the user of the mobile terminal does not need to handle an emergency.
[0007] In a possible implementation, determining a target rescue unit based on the location information and the type of the emergency event includes: Determine a first target area based on the location information, and determine an initial rescue unit within the first target area based on the event type; the initial rescue unit includes at least one; Determine the distance between each of the initial rescue units and the mobile terminal based on the location information; The initial rescue unit corresponding to the minimum distance is determined as the target rescue unit.
[0008] In a possible implementation, sending the location information to the target rescue unit through the IMS communication link includes: Obtaining the unit identification of the target rescue unit; An encryption password is generated based on the unit identification, and the location information is encrypted based on the encryption password to obtain encrypted location information, and the encrypted location information is sent to the target rescue unit through an IMS communication link.
[0009] In a possible implementation, generating an encrypted password based on the unit identifier includes: Sequentially extracting each digit from the unit identifier to obtain a digit sequence, and sequentially extracting each letter from the unit identifier to obtain a letter sequence; wherein the number of digits in the digit sequence is the same as the number of letters in the letter sequence; Determine the sum of the largest number and the smallest number in the number sequence as a first target value, and determine the perfect square of the largest number in the number sequence as a second target value; Determine a first target hash algorithm in a preset hash algorithm matrix, and determine a second target hash algorithm in a preset hash algorithm matrix; wherein the value corresponding to the row of the position of the first target hash algorithm in the hash algorithm matrix is the first target value, and the value corresponding to the column of the position is the second target value; the value corresponding to the column of the position of the second target hash algorithm in the hash algorithm matrix is the first target value, and the value corresponding to the row of the position is the second target value; Performing a hash operation on each number in the digital sequence based on the first target hash algorithm to obtain a first hash value corresponding to each number; Performing a hash operation on each letter in the letter sequence based on the second target hash algorithm to obtain a second hash value corresponding to each letter; Arranging the first hash values in order from top to bottom in a preset blank matrix based on the position of the number corresponding to each first hash value in the number sequence to obtain a first matrix, and obtaining a transposed matrix corresponding to the first matrix; Arranging the second hash values in order from top to bottom in a preset blank matrix based on the position of the letter corresponding to each second hash value in the letter sequence to obtain a second matrix; The transposed matrix is multiplied by the second matrix to obtain a target matrix, and the target matrix is divided into multiple 2×2 sub-matrices, and the sub-matrices are arranged in sequence based on the position of each sub-matrix in the target matrix to obtain a sub-matrix sequence; the sub-matrix sequence is the encryption code.
[0010] In a possible implementation, the method further includes: Determine a second target area based on the location information; wherein the distance between any location in the second target area and the mobile terminal is less than the distance between the target rescue unit and the mobile terminal; Obtaining device identifications of other mobile terminals within the second target area; For each of the remaining mobile terminals, determine whether the remaining mobile terminal is a mobile device associated with the emergency event type based on the device identification of the remaining mobile terminal. If so, send the location information to the remaining mobile terminal through the IMS communication link, and activate the voice prompt module of the remaining mobile terminal to prompt the user of the remaining mobile terminal to go to the location of the mobile terminal.
[0011] In a second aspect, the present application provides an emergency location upload system based on IMS communication, comprising: A first acquisition module is configured to identify the telephone number dialed by the mobile terminal through a call identification module provided in the mobile terminal, and obtain a number identification result of the mobile terminal; a judgment module, configured to judge whether the user of the mobile terminal needs to handle an emergency event based on the number recognition result; a second acquisition module, configured to acquire the location information of the mobile terminal through a positioning module on the mobile terminal when the user of the mobile terminal needs to handle an emergency, and determine the type of the emergency based on the number recognition result; A sending module is used to determine a target rescue unit based on the location information and the event type of the emergency event, and send the location information to the target rescue unit through an IMS communication link; the target rescue unit is a rescue unit that matches the event type and is closest to the mobile terminal.
[0012] The present application provides a method and system for uploading the location of an emergency event based on IMS communication. The method includes: identifying the telephone number dialed by the mobile terminal through a call identification module set on the mobile terminal to obtain a number identification result of the mobile terminal; judging whether the user of the mobile terminal needs to handle the emergency event based on the number identification result; if necessary, obtaining the location information of the mobile terminal through a positioning module on the mobile terminal, and determining the type of emergency event based on the number identification result; determining a target rescue unit based on the location information and the event type of the emergency event, and sending the location information to the target rescue unit through an IMS communication link; the target rescue unit is a rescue unit that matches the event type and is closest to the mobile terminal. This method, first, avoids communication errors caused by traditional solutions that rely on manual description of event types and location information by automatically identifying emergency phone numbers and triggering the positioning module, significantly improving information accuracy. Secondly, combined with the high bandwidth and low latency characteristics of the IMS communication link, it realizes real-time and reliable transmission of location data, overcoming the problem of insufficient positioning accuracy of traditional base stations. Then, by intelligently matching event types with the nearest rescue units, it optimizes the efficiency of rescue resource scheduling. Finally, based on precise longitude and latitude positioning and a preset emergency event type matching mechanism, it ensures the rapid identification and linkage of target rescue units. It is especially suitable for traffic accidents, medical emergencies and other scenarios where every second counts, and comprehensively improves the intelligence level of public safety services. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0014] Figure 1 A flowchart of a method for uploading an emergency location based on IMS communication provided in an embodiment of the present application; Figure 2 A schematic block diagram of the structure of an emergency location upload system based on IMS communication provided in an embodiment of the present application; Figure 3 A schematic block diagram of the structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0015] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0016] The flowcharts shown in the accompanying drawings are for illustrative purposes only and do not necessarily include all contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, combined, or partially merged, so the actual execution order may vary depending on the actual situation.
[0017] It should also be understood that the terms used in this specification are for the purpose of describing specific embodiments only and are not intended to limit the present application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms unless the context clearly indicates otherwise.
[0018] It should be further understood that the term "and / or" used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0019] The following describes some embodiments of the present application in detail with reference to the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0020] See also Figure 1 , Figure 1 A flow chart of a method for uploading an emergency location based on IMS communication provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the method for uploading emergency event location based on IMS communication provided in the embodiment of the present application includes steps S1 to S4.
[0021] Step S1: Identify the telephone number dialed by the mobile terminal through a call identification module set in the mobile terminal to obtain a number identification result of the mobile terminal.
[0022] Step S2: Determine whether the user of the mobile terminal needs to handle an emergency based on the number recognition result.
[0023] Step S3: if necessary, obtaining the location information of the mobile terminal through a positioning module on the mobile terminal, and determining the type of emergency event based on the number recognition result; Step S4: determine a target rescue unit based on the location information and the event type of the emergency event, and send the location information to the target rescue unit via an IMS communication link; the target rescue unit is a rescue unit that matches the event type and is closest to the mobile terminal.
[0024] It should be noted that the execution entity of this embodiment may be a server or an emergency location uploading system based on IMS communication.
[0025] In this embodiment, it specifically includes: As described in step S1 above, the phone number dialed by the mobile terminal is identified by a call identification module provided in the mobile terminal to obtain a number identification result of the mobile terminal. Specifically, when the mobile terminal makes a call, a number identification instruction is sent to the call identification module of the mobile terminal, so that after receiving the number identification instruction, the call identification module obtains the phone number dialed by the mobile terminal and sends the phone number to a server or an emergency location upload system based on IMS communication. The server or the emergency location upload system based on IMS communication receives the phone number sent by the call identification module.
[0026] As described in step S2 above, a determination is made as to whether the user of the mobile terminal needs to handle an emergency event based on the number recognition result. Specifically, a preset emergency call list is traversed to determine whether the phone number dialed by the mobile terminal exists in the emergency call list. If so, it is determined that the user of the mobile terminal needs to handle an emergency event; if not, it is determined that the user of the mobile terminal does not need to handle an emergency event.
[0027] As described in step S3 above, if necessary, the location information of the mobile terminal is obtained through the positioning module on the mobile terminal, and the type of emergency event is determined based on the number identification result. Specifically, if the user of the mobile terminal needs to handle an emergency event, the location information of the mobile terminal is obtained through the positioning module on the mobile terminal, and a preset emergency call-emergency event type matching table is traversed to determine the emergency event type corresponding to the number identification result.
[0028] As described in the above step S4, the target rescue unit is determined based on the location information and the event type of the emergency event, and the location information is sent to the target rescue unit via the IMS communication link. Specifically, the location information includes longitude and latitude. First, the first target area where the mobile terminal is located is determined based on the longitude and latitude, and the initial rescue unit that matches the event type within the first target area is determined based on the event type (for example, if the event type is medical emergency, then each medical unit within the first target area is determined as the initial rescue unit.), then, the distance between each initial rescue unit and the mobile terminal is obtained, and the initial rescue unit corresponding to the minimum distance is determined to be the target rescue unit. Finally, the location information is sent to the target rescue unit via the IMS communication link. Wherein, the first target area is the county or district where the mobile terminal is located.
[0029] The method provided in this embodiment, first, avoids communication errors caused by traditional solutions relying on manual description of event types and location information by automatically identifying emergency phone numbers and triggering the positioning module, thereby significantly improving information accuracy. Secondly, combined with the high bandwidth and low latency characteristics of the IMS communication link, it realizes real-time and reliable transmission of location data, overcoming the problem of insufficient positioning accuracy of traditional base stations. Then, by intelligently matching event types with the nearest rescue units, it optimizes the efficiency of rescue resource scheduling. Finally, based on precise positioning of longitude and latitude and a preset emergency event type matching mechanism, it ensures the rapid identification and linkage of target rescue units. This is particularly suitable for scenarios where every second counts, such as traffic accidents and medical emergencies, and comprehensively improves the intelligence level of public safety services.
[0030] In some embodiments, identifying the telephone number dialed by the mobile terminal by a call identification module provided in the mobile terminal to obtain the number identification result of the mobile terminal includes the following steps: When the mobile terminal makes a call, a number identification instruction is sent to the call identification module of the mobile terminal, so that the call identification module obtains the phone number dialed by the mobile terminal after receiving the number identification instruction; Receive the telephone number sent by the call identification module; the telephone number is the number identification result.
[0031] Specifically, in this embodiment, when the mobile terminal makes a call, the server or the emergency event location upload system based on IMS communication sends a number identification instruction to the call identification module of the mobile terminal, so that after the call identification module receives the number identification instruction, it obtains the telephone number dialed by the mobile terminal and sends the telephone number to the server or the emergency event location upload system based on IMS communication. The server or the emergency event location upload system based on IMS communication receives the telephone number sent by the call identification module.
[0032] The method provided in this embodiment, on the one hand, realizes real-time monitoring and accurate capture of dialed numbers by setting up a call identification module in the mobile terminal, ensuring the timeliness and reliability of number identification. On the other hand, it adopts a command trigger mechanism to start the identification process only when the dialing behavior occurs, which not only ensures the functional response speed but also avoids the resource consumption caused by continuous operation.
[0033] In some embodiments, determining whether the user of the mobile terminal needs to handle an emergency event based on the number recognition result includes the following steps: Determine whether the number identification result exists in a preset emergency call list; If so, determining that the user of the mobile terminal needs to handle an emergency; If not, it is determined that the user of the mobile terminal does not need to handle an emergency.
[0034] Specifically, in this embodiment, a preset emergency call list is traversed to determine whether the phone number dialed by the mobile terminal exists in the emergency call list. If so, it is determined that the user of the mobile terminal needs to handle the emergency; if not, it is determined that the user of the mobile terminal does not need to handle the emergency.
[0035] The method provided in this embodiment performs automatic matching judgment through a preset emergency phone list, which greatly improves the efficiency and accuracy of emergency event identification and avoids possible omissions in manual judgment.
[0036] In some embodiments, determining a target rescue unit based on the location information and the type of the emergency event includes the following steps: Determine a first target area based on the location information, and determine an initial rescue unit within the first target area based on the event type; the initial rescue unit includes at least one; Determine the distance between each of the initial rescue units and the mobile terminal based on the location information; The initial rescue unit corresponding to the minimum distance is determined as the target rescue unit.
[0037] Specifically, in this embodiment, the location information includes longitude and latitude. First, the first target area where the mobile terminal is located is determined based on the longitude and latitude, and the initial rescue unit that matches the event type within the first target area is determined based on the event type (for example, if the event type is medical emergency, then each medical unit within the first target area is determined to be the initial rescue unit.). Then, the distance between each initial rescue unit and the mobile terminal is obtained, and the initial rescue unit corresponding to the minimum distance is determined to be the target rescue unit. Finally, the location information is sent to the target rescue unit via the IMS communication link. The first target area is the county or district where the mobile terminal is located.
[0038] The method provided in this embodiment, on the one hand, quickly locks the first target area where the mobile terminal is located through precise positioning of longitude and latitude combined with administrative divisions, providing an accurate geographical range for subsequent rescue unit screening; on the other hand, it intelligently matches the corresponding professional rescue units in the area based on the event type to ensure the professional counterparts of the rescue force, avoiding the rescue resource mismatch problem that may occur in traditional methods; on the third hand, by calculating and comparing the precise distance between each candidate unit and the incident site, it automatically selects the nearest dispatchable rescue force, greatly shortening the emergency response time.
[0039] In some embodiments, sending the location information to the target rescue unit via the IMS communication link comprises the following steps: Obtaining the unit identification of the target rescue unit; An encryption password is generated based on the unit identification, and the location information is encrypted based on the encryption password to obtain encrypted location information, and the encrypted location information is sent to the target rescue unit through an IMS communication link.
[0040] In this embodiment, first, the unit identification of the target rescue unit is obtained, then, an encryption password is generated based on the unit identification, and the location information is encrypted based on the encryption password to obtain encrypted location information, and the encrypted location information is sent to the terminal device of the target rescue unit through the IMS communication link. After the terminal device of the target rescue unit receives the encrypted location information, a decryption password is generated based on the unit identification, and the encrypted location information is decrypted based on the decryption password to obtain the location information of the mobile terminal.
[0041] The method provided in this embodiment, first, ensures the specificity of the encryption key by obtaining the unique identification of the target rescue unit as the encryption basis, and prevents the key from being maliciously obtained by a third party; second, uses a dynamically generated encryption password to perform real-time encryption processing on the location information, effectively ensuring the security of sensitive data during transmission and preventing the risk of location information leakage; then, transmits the encrypted data through the secure channel unique to the IMS communication link, which not only maintains the high efficiency of transmission but also realizes end-to-end data protection; finally, the target rescue unit terminal performs decryption processing based on the same mechanism, which not only ensures the integrity and availability of the data, but also forms a closed-loop security protection system, providing reliable information security protection for emergency rescue operations.
[0042] In some embodiments, generating an encrypted password based on the unit identifier includes the following steps: Sequentially extracting each digit from the unit identifier to obtain a digit sequence, and sequentially extracting each letter from the unit identifier to obtain a letter sequence; wherein the number of digits in the digit sequence is the same as the number of letters in the letter sequence; Determine the sum of the largest number and the smallest number in the number sequence as a first target value, and determine the perfect square of the largest number in the number sequence as a second target value; Determine a first target hash algorithm in a preset hash algorithm matrix, and determine a second target hash algorithm in a preset hash algorithm matrix; wherein the value corresponding to the row of the position of the first target hash algorithm in the hash algorithm matrix is the first target value, and the value corresponding to the column of the position is the second target value; the value corresponding to the column of the position of the second target hash algorithm in the hash algorithm matrix is the first target value, and the value corresponding to the row of the position is the second target value; Performing a hash operation on each number in the digital sequence based on the first target hash algorithm to obtain a first hash value corresponding to each number; Performing a hash operation on each letter in the letter sequence based on the second target hash algorithm to obtain a second hash value corresponding to each letter; Arranging the first hash values in order from top to bottom in a preset blank matrix based on the position of the number corresponding to each first hash value in the number sequence to obtain a first matrix, and obtaining a transposed matrix corresponding to the first matrix; Arranging the second hash values in order from top to bottom in a preset blank matrix based on the position of the letter corresponding to each second hash value in the letter sequence to obtain a second matrix; The transposed matrix is multiplied by the second matrix to obtain a target matrix, and the target matrix is partitioned to obtain a plurality of 2×2 sub-matrices. The sub-matrices are arranged in sequence based on their positions in the target matrix to obtain a sub-matrix sequence; the sub-matrix sequence is the encryption code. Specifically, if the number of rows and columns of the target matrix is even, the target matrix is directly partitioned; if the number of rows of the target matrix is odd, the last row of the target matrix is deleted; if the number of columns of the target matrix is odd, the last column of the target matrix is deleted, and the target matrix after the deletion is partitioned.
[0043] The method provided in this embodiment, on the one hand, constructs a multi-dimensional encryption element foundation by doubly extracting the number and letter sequences in the unit identification, significantly enhancing the complexity and uniqueness of password generation; on the other hand, through innovative matrix operations and transposition processing, the hash values of numbers and letters are deeply integrated to form a high-strength composite encryption matrix; and still further, an adaptive matrix segmentation algorithm is used to ensure that data of different dimensions can generate a regular sub-matrix sequence as the final password.
[0044] In some embodiments, the method further comprises the following steps: Determine a second target area based on the location information; wherein the distance between any location in the second target area and the mobile terminal is less than the distance between the target rescue unit and the mobile terminal; Obtaining device identifications of other mobile terminals within the second target area; For each of the remaining mobile terminals, determine whether the remaining mobile terminal is a mobile device associated with the emergency event type based on the device identification of the remaining mobile terminal. If so, send the location information to the remaining mobile terminal through the IMS communication link, and activate the voice prompt module of the remaining mobile terminal to prompt the user of the remaining mobile terminal to go to the location of the mobile terminal.
[0045] In this embodiment, first, the second target area is determined based on the location information, and then the device identifications of the remaining mobile terminals in the second target area are obtained. For each of the remaining mobile terminals, the device identification list of relevant staff members matching the emergency event type is traversed to determine whether the device identification of the remaining mobile terminal exists in the device identification list. If so, the location information is sent to the remaining mobile terminals via the IMS communication link, and the voice prompt module of the remaining mobile terminals is activated to prompt the users of the remaining mobile terminals to go to the location of the mobile terminal, thereby assisting in handling the emergency.
[0046] The method provided in this embodiment firstly intelligently defines a second target area to accurately screen potential assisters who are closer to the incident scene than professional rescue units, helping to shorten rescue response time. Secondly, it uses an intelligent matching mechanism for device identification to quickly identify professionals with relevant emergency response capabilities (such as certified first responders and community safety officers) in the area, ensuring the professional suitability of the assisters. Furthermore, it enables real-time sharing of location information via the IMS communication link, and combined with the active wake-up function of the voice prompt module, significantly improves the emergency response efficiency of surrounding personnel. Finally, this solution establishes a two-tier response system of "professional rescue + nearby assistance", which not only fills the window period before professional rescue forces arrive, but also optimizes overall rescue efficiency through scientific division of labor, providing an innovative collaborative solution for emergency incident handling.
[0047] See also Figure 2 , Figure 2 The structure schematic block diagram of the emergency location upload system 100 based on IMS communication provided in the embodiment of the present application is as follows: Figure 2 As shown, the emergency location uploading system 100 based on IMS communication provided in an embodiment of the present application includes: The first acquisition module 110 is configured to identify the telephone number dialed by the mobile terminal through a call identification module provided in the mobile terminal, and obtain a number identification result of the mobile terminal.
[0048] The judgment module 120 is configured to judge whether the user of the mobile terminal needs to handle an emergency event based on the number recognition result.
[0049] The second acquisition module 130 is configured to acquire the location information of the mobile terminal through the positioning module on the mobile terminal when the user of the mobile terminal needs to handle an emergency, and determine the type of emergency based on the number recognition result.
[0050] The sending module 140 is used to determine the target rescue unit based on the location information and the event type of the emergency event, and send the location information to the target rescue unit through the IMS communication link; the target rescue unit is the rescue unit that matches the event type and is closest to the mobile terminal. It should be noted that those skilled in the art will clearly understand that, for the sake of convenience and brevity of description, the specific working processes of the above-described apparatus and each module can refer to the processes in the aforementioned embodiment of the method for uploading the location of an emergency event based on IMS communication, and will not be repeated here.
[0051] The emergency location upload system 100 based on IMS communication provided in the above embodiment can be implemented in the form of a computer program. The computer program can be used in Figure 3The system runs on the terminal device 200 shown.
[0052] See also Figure 3 , Figure 3 This is a schematic block diagram of the structure of a terminal device 200 provided in an embodiment of the present application. The terminal device 200 includes a processor 201 and a memory 202. The processor 201 and the memory 202 are connected via a system bus 203, wherein the memory 202 may include a non-volatile storage medium and an internal memory.
[0053] The non-volatile storage medium may store a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by the processor 201, the processor 201 may execute any of the above-mentioned emergency event location uploading methods based on IMS communication.
[0054] The processor 201 is used to provide computing and control capabilities to support the operation of the entire terminal device 200.
[0055] The internal memory provides an environment for running the computer program in the non-volatile storage medium. When the computer program is executed by the processor 201, the processor 201 can execute any of the above-mentioned emergency event location uploading methods based on IMS communication.
[0056] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the terminal device 200 involved in the solution of the present application. The specific terminal device 200 may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0057] It should be understood that the processor 201 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0058] In some embodiments, the processor 201 is configured to execute a computer program stored in the memory to implement the following steps: Identifying the telephone number dialed by the mobile terminal through a call identification module provided in the mobile terminal to obtain a number identification result of the mobile terminal; Determining whether the user of the mobile terminal needs to handle an emergency event based on the number recognition result; If necessary, obtaining the location information of the mobile terminal through a positioning module on the mobile terminal, and determining the type of emergency event based on the number recognition result; A target rescue unit is determined based on the location information and the event type of the emergency event, and the location information is sent to the target rescue unit via an IMS communication link; the target rescue unit is a rescue unit that matches the event type and is closest to the mobile terminal.
[0059] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the terminal device 200 described above can refer to the corresponding process of the aforementioned emergency event location uploading method based on IMS communication, and will not be repeated here.
[0060] An embodiment of the present application further provides a computer-readable storage medium storing a computer program. When the computer program is executed by one or more processors, the one or more processors implement the emergency event location uploading method based on IMS communication as provided in an embodiment of the present application.
[0061] The computer-readable storage medium may be an internal storage unit of the terminal device 200 in the aforementioned embodiment, such as a hard disk or memory of the terminal device 200. The computer-readable storage medium may also be an external storage device of the terminal device 200, such as a plug-in hard disk, a smart memory card (SMC), a secure digital (SD) card, a flash card, etc. equipped with the terminal device 200.
[0062] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present application, and such modifications or substitutions should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A method for uploading emergency event locations based on IMS communication, characterized in that: include: Identifying the telephone number dialed by the mobile terminal through a call identification module provided in the mobile terminal to obtain a number identification result of the mobile terminal; Determining whether the user of the mobile terminal needs to handle an emergency event based on the number recognition result; If necessary, obtaining the location information of the mobile terminal through a positioning module on the mobile terminal, and determining the type of emergency event based on the number recognition result; determining a target rescue unit based on the location information and the event type of the emergency event, and sending the location information to the target rescue unit via an IMS communication link; The target rescue unit is a rescue unit that matches the event type and is closest to the mobile terminal.
2. The method for uploading emergency location based on IMS communication according to claim 1, characterized in that: The step of identifying the telephone number dialed by the mobile terminal by a call identification module provided in the mobile terminal to obtain a number identification result of the mobile terminal includes: When the mobile terminal makes a call, a number identification instruction is sent to the call identification module of the mobile terminal, so that the call identification module obtains the phone number dialed by the mobile terminal after receiving the number identification instruction; Receive the telephone number sent by the call identification module; the telephone number is the number identification result.
3. The method for uploading emergency location based on IMS communication according to claim 1, characterized in that: The determining, based on the number recognition result, whether the user of the mobile terminal needs to handle an emergency event includes: Determine whether the number identification result exists in a preset emergency call list; If so, determining that the user of the mobile terminal needs to handle an emergency; If not, it is determined that the user of the mobile terminal does not need to handle an emergency.
4. The method for uploading emergency location based on IMS communication according to claim 1, characterized in that: The determining of a target rescue unit based on the location information and the event type of the emergency event includes: Determine a first target area based on the location information, and determine an initial rescue unit within the first target area based on the event type; the initial rescue unit includes at least one; Determine the distance between each of the initial rescue units and the mobile terminal based on the location information; The initial rescue unit corresponding to the minimum distance is determined as the target rescue unit.
5. The method for uploading emergency location based on IMS communication according to claim 1, characterized in that: The sending of the location information to the target rescue unit through the IMS communication link includes: Obtaining the unit identification of the target rescue unit; An encryption password is generated based on the unit identification, and the location information is encrypted based on the encryption password to obtain encrypted location information, and the encrypted location information is sent to the target rescue unit through an IMS communication link.
6. The method for uploading emergency location based on IMS communication according to claim 5, characterized in that: The generating of an encrypted password based on the unit identifier includes: Sequentially extracting each digit from the unit identifier to obtain a digit sequence, and sequentially extracting each letter from the unit identifier to obtain a letter sequence; wherein the number of digits in the digit sequence is the same as the number of letters in the letter sequence; Determine the sum of the largest number and the smallest number in the number sequence as a first target value, and determine the perfect square of the largest number in the number sequence as a second target value; Determine a first target hash algorithm in a preset hash algorithm matrix, and determine a second target hash algorithm in a preset hash algorithm matrix; wherein the value corresponding to the row of the position of the first target hash algorithm in the hash algorithm matrix is the first target value, and the value corresponding to the column of the position is the second target value; the value corresponding to the column of the position of the second target hash algorithm in the hash algorithm matrix is the first target value, and the value corresponding to the row of the position is the second target value; Performing a hash operation on each number in the digital sequence based on the first target hash algorithm to obtain a first hash value corresponding to each number; Performing a hash operation on each letter in the letter sequence based on the second target hash algorithm to obtain a second hash value corresponding to each letter; Arranging the first hash values in order from top to bottom in a preset blank matrix based on the position of the number corresponding to each first hash value in the number sequence to obtain a first matrix, and obtaining a transposed matrix corresponding to the first matrix; Arranging the second hash values in order from top to bottom in a preset blank matrix based on the position of the letter corresponding to each second hash value in the letter sequence to obtain a second matrix; The transposed matrix is multiplied by the second matrix to obtain a target matrix, and the target matrix is divided into multiple 2×2 sub-matrices, and the sub-matrices are arranged in sequence based on the position of each sub-matrix in the target matrix to obtain a sub-matrix sequence; the sub-matrix sequence is the encryption code.
7. The method for uploading emergency location based on IMS communication according to claim 1, characterized in that: The method further comprises: Determine a second target area based on the location information; wherein the distance between any location in the second target area and the mobile terminal is less than the distance between the target rescue unit and the mobile terminal; Obtaining device identifications of other mobile terminals within the second target area; For each of the remaining mobile terminals, determine whether the remaining mobile terminal is a mobile device associated with the emergency event type based on the device identification of the remaining mobile terminal. If so, send the location information to the remaining mobile terminal through the IMS communication link, and activate the voice prompt module of the remaining mobile terminal to prompt the user of the remaining mobile terminal to go to the location of the mobile terminal.
8. An emergency location upload system based on IMS communication, characterized in that: include: A first acquisition module is configured to identify the telephone number dialed by the mobile terminal through a call identification module provided in the mobile terminal, and obtain a number identification result of the mobile terminal; a judgment module, configured to judge whether the user of the mobile terminal needs to handle an emergency event based on the number recognition result; a second acquisition module, configured to acquire the location information of the mobile terminal through a positioning module on the mobile terminal when the user of the mobile terminal needs to handle an emergency, and determine the type of the emergency based on the number recognition result; a sending module, configured to determine a target rescue unit based on the location information and the event type of the emergency event, and send the location information to the target rescue unit via an IMS communication link; The target rescue unit is a rescue unit that matches the event type and is closest to the mobile terminal.
Citation Information
Cited By
Distributed position information aggregation reporting method and system based on group collaboration
CN122027979A