Message sending method and device, communication equipment and storage medium

By introducing AMF network elements into the mobile communication network to generate and send a second message for instructing the short message service device to determine the message sending address and the content of the emergency message, the problem of missing the emergency short message sending function in the prior art is solved, and efficient and automatic emergency message sending is achieved.

CN119996954APending Publication Date: 2025-05-13CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510204989.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-24
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

The existing mobile communication network only supports the emergency call function, but does not yet support the emergency SMS sending function, resulting in low efficiency and poor timeliness of message transmission. Many terminal devices do not have the support of the short message protocol stack or IMS protocol stack.

Method used

A message sending method is provided, which responds to a message carrying emergency information sent by a user terminal through an AMF network element, generates a second message for instructing the short message service device to determine the message sending address and the emergency message content, and sends the emergency message content to the corresponding emergency service device.

Benefits of technology

The purpose of sending emergency message content through non-access layer is realized, and the message sending address and emergency message content are automatically determined without manual input by users, which improves the efficiency of sending emergency message content and expands the scope of terminal application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119996954A_ABST
    Figure CN119996954A_ABST
Patent Text Reader

Abstract

The invention relates to a message sending method and device, communication equipment and a storage medium, and relates to the technical field of communication. The method comprises the following steps: in response to a first message carrying first emergency information sent by a user terminal, generating a second message based on the first emergency information; sending a second non-access layer message to the short message service equipment; wherein the second message is used for indicating the short message service equipment to determine the message sending address and the emergency message content, and sending the emergency message content to the emergency service equipment pointed by the message sending address; the first message is a non-access stratum message. Therefore, the purpose of sending the emergency message content through the non-access layer is achieved, the short message service equipment can automatically determine the message sending address and the emergency message content based on the second message, the emergency message content can be sent without manually inputting the message sending address and the emergency message content by a user, and the user experience is improved. And the emergency message content sending efficiency is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a message sending method, apparatus, communication equipment and storage medium. Background Art

[0002] According to the standards of 3GPP (3rd Generation Partnership Project), existing mobile communication networks only support emergency calls (for example, one-click alarm) functions, and do not yet support emergency text message sending functions.

[0003] Based on the existing ordinary SMS sending method, it can be known that even if emergency messages are sent based on the existing ordinary SMS, the message sending address (i.e., the alarm phone number) and the corresponding emergency message content need to be filled in the ordinary SMS to achieve the purpose of sending the emergency message. This method has a low efficiency in message sending due to the complex operation, which seriously affects the timeliness of message sending. In addition, the existing short message (i.e., SMS) sending requires the support of the short message protocol stack or the IMS protocol stack, and many terminal devices do not have the corresponding capabilities. Summary of the invention

[0004] Based on this, it is necessary to provide a message sending method, device, communication equipment and storage medium that can improve the efficiency of message sending in response to the above technical problems.

[0005] In a first aspect, the present application provides a message sending method, which is applied to an AMF network element, and the method includes:

[0006] In response to a first message carrying first emergency information sent by a user terminal, a second message is generated based on the first emergency information; wherein the first message is a non-access layer message;

[0007] Send a second message to the short message service device; wherein the second message is used to instruct the short message service device to determine a message sending address and emergency message content, and send the emergency message content to the emergency service device pointed to by the message sending address.

[0008] In one of the embodiments, the first emergency information includes an emergency event type identifier and a first terminal location of the user terminal.

[0009] In one of the embodiments, the first message is sent after the user terminal detects that the user triggers the emergency message sending component;

[0010] The emergency event type identifier is determined according to the component type of the emergency message sending component.

[0011] In one embodiment, based on the first emergency information, generating a second message includes:

[0012] Acquire terminal location information of the user terminal; wherein the terminal location information includes a second terminal location of the user terminal and / or terminal movement trend information of the user terminal;

[0013] A second message is generated according to the terminal location information and the first emergency information.

[0014] In one of the embodiments, the second message is further used to instruct the short message service device to determine the message sending address based on the emergency event type identifier in the first emergency information, and to determine the emergency message content based on the first terminal location and the terminal location information.

[0015] In one of the embodiments, the second message is also used to instruct the short message service device to send an emergency short message to the emergency service device pointed to by the message sending address through the short message center device; wherein the emergency short message carries the emergency message content.

[0016] In one embodiment, the emergency short message is a short message service SMS message.

[0017] In a second aspect, the present application provides another message sending method, which is applied to a short message service device, and the method includes:

[0018] Receiving a second message sent by the AMF network element; wherein the second message is generated by the AMF network element based on the first emergency information when the AMF network element receives a first message carrying the first emergency information sent by the user terminal; the first message is a non-access layer message;

[0019] Based on the second message, determining a message sending address and emergency message content;

[0020] The emergency message content is sent to the emergency service device pointed to by the message sending address.

[0021] In one of the embodiments, the first emergency information includes an emergency event type identifier and a first terminal location of the user terminal.

[0022] In one of the embodiments, the first message is sent by the user terminal to the AMF network element after the user terminal detects that the user triggers the emergency message sending component;

[0023] The emergency event type identifier is determined by the user terminal according to the component type of the emergency message sending component.

[0024] In one of the embodiments, the second message is generated by the AMF network element based on the terminal location information of the user terminal and the first emergency information; wherein the terminal location information is acquired by the AMF network element after receiving the first message; the terminal location information includes the second terminal location of the user terminal and / or the terminal movement trend information of the user terminal.

[0025] In one embodiment, determining the message sending address and the emergency message content based on the second message includes:

[0026] Determine a message sending address based on the emergency event type identifier in the first emergency information;

[0027] Based on the first terminal location and the terminal location information, the emergency message content is determined.

[0028] In one embodiment, sending the emergency message content to the emergency service device pointed to by the message sending address includes:

[0029] An emergency short message is sent via a short message center device to an emergency service device pointed to by a message sending address; wherein the emergency short message carries emergency message content.

[0030] In one embodiment, the emergency short message is a SMS message.

[0031] In a third aspect, the present application provides a message sending device, configured in an AMF network element, the device comprising:

[0032] A generating module, configured to generate a second message in response to a first message carrying first emergency information sent by a user terminal and based on the first emergency information; wherein the first message is a non-access layer message;

[0033] The first sending module is used to send a second non-access layer message to the short message service device; wherein the second message is used to instruct the short message service device to determine the message sending address and the emergency message content, and send the emergency message content to the emergency service device pointed to by the message sending address.

[0034] In a fourth aspect, the present application provides a message sending device, which is configured in a short message service device, and the device includes:

[0035] A receiving module, configured to receive a second message sent by an AMF network element; wherein the second message is generated by the AMF network element based on the first emergency information when the AMF network element receives a first message carrying the first emergency information sent by a user terminal; the first message is a non-access layer message;

[0036] A determination module, used to determine a message sending address and emergency message content based on the second message;

[0037] The second sending module is used to send the emergency message content to the emergency service device pointed to by the message sending address.

[0038] In a fifth aspect, the present application further provides a communication device, the communication device comprising a memory, a transceiver and a processor, the memory storing a computer program, the transceiver being used to receive data or send data under the control of the processor, and the processor implementing the following method when executing the computer program:

[0039] In response to a first message carrying first emergency information sent by a user terminal, a second message is generated based on the first emergency information; wherein the first message is a non-access layer message;

[0040] Sending a second non-access layer message to the short message service device; wherein the second message is used to instruct the short message service device to determine the message sending address and the emergency message content, and send the emergency message content to the emergency service device pointed to by the message sending address.

[0041] In a sixth aspect, the present application further provides another communication device, the communication device comprising a memory, a transceiver and a processor, the memory storing a computer program, the transceiver being used to receive data or send data under the control of the processor, and the processor implementing the following method when executing the computer program:

[0042] Receiving a second message sent by the AMF network element; wherein the second message is generated by the AMF network element based on the first emergency information when the AMF network element receives a first message carrying the first emergency information sent by the user terminal; the first message is a non-access layer message;

[0043] Based on the second message, determining a message sending address and emergency message content;

[0044] The emergency message content is sent to the emergency service device pointed to by the message sending address.

[0045] In a seventh aspect, the present application further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the following method is implemented:

[0046] In response to a first message carrying first emergency information sent by a user terminal, a second message is generated based on the first emergency information; wherein the first message is a non-access layer message;

[0047] Sending a second non-access layer message to the short message service device; wherein the second message is used to instruct the short message service device to determine the message sending address and the emergency message content, and send the emergency message content to the emergency service device pointed to by the message sending address.

[0048] In an eighth aspect, the present application further provides another computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the following method is implemented:

[0049] Receiving a second message sent by the AMF network element; wherein the second message is generated by the AMF network element based on the first emergency information when the AMF network element receives a first message carrying the first emergency information sent by the user terminal; the first message is a non-access layer message;

[0050] Based on the second message, determining a message sending address and emergency message content;

[0051] The emergency message content is sent to the emergency service device pointed to by the message sending address.

[0052] In a ninth aspect, the present application further provides a computer program product, the computer program product comprising a computer program, and when the computer program is executed by a processor, the following method is implemented:

[0053] In response to a first message carrying first emergency information sent by a user terminal, a second message is generated based on the first emergency information; wherein the first message is a non-access layer message;

[0054] Sending a second non-access layer message to the short message service device; wherein the second message is used to instruct the short message service device to determine the message sending address and the emergency message content, and send the emergency message content to the emergency service device pointed to by the message sending address.

[0055] In a tenth aspect, the present application further provides another computer program product, the computer program product comprising a computer program, and when the computer program is executed by a processor, the following method is implemented:

[0056] Receiving a second message sent by the AMF network element; wherein the second message is generated by the AMF network element based on the first emergency information when the AMF network element receives a first message carrying the first emergency information sent by the user terminal; the first message is a non-access layer message;

[0057] Based on the second message, determining a message sending address and emergency message content;

[0058] The emergency message content is sent to the emergency service device pointed to by the message sending address.

[0059] The above-mentioned message sending method, device, communication device and storage medium, in response to the first message carrying the first emergency information sent by the user terminal, generates a second message based on the first emergency information; sends a second non-access layer message to the short message service device; wherein the second message is used to instruct the short message service device to determine the message sending address and the emergency message content, and send the emergency message content to the emergency service device pointed to by the message sending address; the first message is a non-access layer message. This application can not only finally achieve the purpose of sending the emergency message content based on the non-access layer, but also the AMF network element can generate a second message based on the first emergency information after receiving the first message sent by the user terminal, and send the second message to the short message service device, so that the short message service device determines the message sending address and the emergency message content based on the second message, and sends the emergency message content to the emergency service device pointed to by the message sending address. Not only does it achieve the purpose of sending the emergency message content through the non-access layer, but the short message service device can automatically determine the message sending address and the emergency message content based on the second message, and can send the emergency message content without the user manually entering the message sending address and the emergency message content, which effectively improves the efficiency of sending the emergency message content. Furthermore, the present application does not need to consider whether the user terminal supports the short message protocol stack or the IMS protocol stack, and can achieve the purpose of sending emergency message content based on non-access layer messages, thereby increasing the functions of the user terminal and expanding the application scope of the terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] Figure 1 An application environment diagram of a message sending method provided in this embodiment;

[0061] Figure 2 A schematic diagram of a flow chart of a first message sending method provided in this embodiment;

[0062] Figure 3 A schematic diagram of a process for generating a second message provided in this embodiment;

[0063] Figure 4 A schematic diagram of the principle of the address list provided for this embodiment;

[0064] Figure 5 A schematic diagram of a flow chart of a second message sending method provided in this embodiment;

[0065] Figure 6 A schematic diagram of a process for determining a message sending address and emergency message content provided in this embodiment;

[0066] Figure 7 A signaling interaction diagram of the message sending method provided in this embodiment;

[0067] Figure 8 A structural block diagram of a first message sending device provided in this embodiment;

[0068] Fig. 9 A structural block diagram of a second message sending device provided in this embodiment;

[0069] Fig.10 This is a diagram of the internal structure of the communication device provided in this embodiment. DETAILED DESCRIPTION

[0070] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0071] The message sending method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown.

[0072] The AMF network element generates a second message based on the first emergency information in response to the first message sent by the user terminal and the first emergency information. The AMF network element sends a second non-access layer message to the short message service device; wherein the second message is used to instruct the short message service device to determine the message sending address and the emergency message content, and send the emergency message content to the emergency service device pointed to by the message sending address; the first message is a non-access layer message;.

[0073] Among them, the AMF (Access and Mobility Management Function) network element is mainly responsible for identity authentication, authorization, registration, mobility management and connection management functions for user terminals.

[0074] User terminal refers to the terminal device that needs to send emergency messages. It can be a smart terminal such as a mobile phone or computer, or a smart wearable device such as a smart watch or smart bracelet.

[0075] Short Message Service Equipment refers to equipment related to the Short Message Service Function (SMSF), and refers to functional equipment responsible for processing short message (eg, SMS) services in a mobile communication network.

[0076] In an alternative embodiment, if Figure 2 As shown, a message sending method is provided, which can be applied to Figure 1 In the AMF network element shown. In this embodiment, the method includes the following steps:

[0077] S201, in response to a first message carrying first emergency information sent by a user terminal, generate a second message based on the first emergency information.

[0078] Among them, the user terminal refers to the terminal device that needs to send an emergency message, which can be a smart terminal such as a mobile phone or a computer, or a smart wearable device such as a smart watch or a smart bracelet. The first emergency information refers to the associated information of the emergency message that needs to be sent. The first message is a non-access layer message, which refers to a NAS (Non-AccessStratum) protocol message sent by the user terminal to the AMF network element, for example, it can be a UL NAS TRANSPORT message (adding the first emergency information to the UL NAS TRANSPORT message). The second message refers to the message encapsulated and generated by the AMF network element based on the first emergency information.

[0079] Optionally, in this embodiment, the user terminal may send a first message carrying first emergency information to the AMF network element directly or indirectly through other network element devices.

[0080] As an optional implementation of the embodiment of the present application, in response to a first message carrying first emergency information sent by a user terminal, based on the first emergency information, the emergency message content is obtained (eg, parsed and extracted), and based on the emergency message content, a second message is generated.

[0081] As another optional implementation of the embodiment of the present application, in response to a first message carrying first emergency information sent by a user terminal, based on the first emergency information, the emergency message content and the emergency event type identifier are obtained (for example, parsed and extracted). Based on the emergency message content and the emergency event type identifier, a second message is generated. The emergency event type identifier indicates a unique identifier of an event type (for example, firefighting, public security, etc.) used to characterize an emergency event (for example, an alarm event). For example, it can be an English identifier of police, ambulance, fire, marine, or a digital identifier.

[0082] In order to make the emergency message more indicative and improve the efficiency of sending the emergency message, as well as to reduce the data volume of the emergency message, in some embodiments, the first emergency information includes but is not limited to the emergency event type identifier and the first terminal position of the user terminal. Optionally, in this implementation, the first message is sent by the user terminal after detecting that the user triggers the emergency message sending component. And the emergency event type identifier is determined by the user terminal according to the component type of the emergency message sending component. Exemplarily, if the emergency message sending control is a physical button on the user terminal, different physical buttons correspond to different emergency event types. When in use, after the user triggers the physical button, the user terminal determines the emergency event type according to the physical button triggered by the user, and determines the emergency event type identifier according to the emergency event type. Exemplarily, if the emergency message sending control is an application control on the application on the user terminal (for example, a control on the emergency message sending interface (for example, an alarm interface) on the APP), different application controls correspond to different emergency event types. When in use, after the user triggers the application control, the user terminal determines the emergency event type according to the application control triggered by the user, and determines the emergency event type identifier according to the emergency event type. Among them, the first terminal position refers to the location information of the user terminal obtained by the user terminal itself. Optionally, the user terminal may obtain the first terminal location based on GPS (Global Positioning System), Beidou, WiFi, Bluetooth, cellular network, etc.

[0083] Based on the above embodiments, if the first emergency information includes but is not limited to the emergency event type identifier and the first terminal location of the user terminal, an optional implementation of the embodiment of the present application is to generate a second message based on the first emergency information. An optional implementation is to generate a second message based on the emergency event type identifier and the first terminal location of the user terminal.

[0084] S202: Send a second message to a short message service device.

[0085] The second message is used to instruct the short message service device to determine the message sending address and the emergency message content, and send the emergency message content to the emergency service device pointed to by the message sending address. The short message service device refers to the short message service function (Short Message Service Function, SMSF) related equipment, which refers to the functional equipment responsible for processing short message (for example, SMS message) services in the mobile communication network.

[0086] As an optional implementation of the embodiment of the present application, the AMF network element sends a second message to the short message service device through other devices (for example, other network element devices).

[0087] As another optional implementation of the embodiment of the present application, the AMF network element sends a second message to the short message service device by calling a network element interface (for example, Nsmsf_SMService_UplinkSMS interface).

[0088] Optionally, an optional implementation method for the short message service device in this embodiment to determine the message sending address and the emergency message content is that the short message service device sends the first emergency information to an intelligent analysis device (such as an NWDAF (Network Data Analytics Function) network element), and the intelligent analysis device determines the message sending address and the emergency message content based on the first emergency information.

[0089] The above-mentioned message sending method, in response to the first message carrying the first emergency information sent by the user terminal, generates a second message based on the first emergency information; sends a second non-access layer message to the short message service device; wherein the second message is used to instruct the short message service device to determine the message sending address and the emergency message content, and send the emergency message content to the emergency service device pointed to by the message sending address. This application can not only achieve the purpose of sending the emergency message content based on the non-access layer, but also the AMF network element can generate a second message based on the first emergency information after receiving the first message sent by the user terminal, and send the second message to the short message service device, so that the short message service device determines the message sending address and the emergency message content based on the second message, and sends the emergency message content to the emergency service device pointed to by the message sending address. Not only does it achieve the purpose of sending the emergency message content through the non-access layer, but the short message service device can automatically determine the message sending address and the emergency message content based on the second message, and can send the emergency message content without the user manually entering the message sending address and the emergency message content, which effectively improves the efficiency of sending the emergency message content. Furthermore, the present application does not need to consider whether the user terminal supports the short message protocol stack or the IMS protocol stack, and can achieve the purpose of sending emergency message content based on non-access layer messages, thereby increasing the functions of the user terminal and expanding the application scope of the terminal.

[0090] In one of the embodiments, the content of the emergency message finally sent is made more accurate, such as Figure 3 As shown, an optional implementation of generating a second message based on the first emergency information in S201 includes:

[0091] S301: Acquire terminal location information of a user terminal.

[0092] Among them, the terminal location information includes the second terminal location of the user terminal and / or the terminal movement trend information of the user terminal. The second terminal location refers to the location information of the user terminal obtained by the AMF network element. Since the AMF network element has a mobile management function for the user terminal, the second terminal location of the user terminal can be obtained. The terminal movement trend information refers to the movement trend information of the user terminal obtained by obtaining the terminal location of the user terminal in real time and performing intelligent analysis. The intelligent analysis device can be but is not limited to an NWDAF network element.

[0093] Optionally, in this embodiment, if the terminal location information includes terminal movement trend information of the user terminal, an optional implementation method for the AMF network element to obtain the terminal movement trend information of the user terminal is to send a movement trend acquisition request to the NWDAF network element, so that the NWDAF network element can feedback the terminal movement trend information of the user terminal based on the movement trend acquisition request.

[0094] S302: Generate a second message according to the terminal location information and the first emergency information.

[0095] As an optional implementation of the embodiment of the present application, the terminal location information and the first emergency information are packaged to generate a second message.

[0096] As another optional implementation of the embodiment of the present application, a message template of a non-access layer message is obtained, and the terminal location information and the first emergency information are added to the message template to obtain a second message.

[0097] In this embodiment, the terminal location information of the user terminal is obtained; wherein the terminal location information includes the second terminal location of the user terminal and / or the terminal movement trend information of the user terminal. A second message is generated according to the terminal location information and the first emergency information, so that the message content of the generated second message is richer, and the terminal location contained in the final generated emergency message content is more accurate.

[0098] On the basis of the above embodiment, in order to make the content of the emergency message sent more accurate and to determine the message sending address more accurately, the second message is also used to instruct the short message service device to determine the message sending address based on the emergency event type identifier in the first emergency information, and to determine the emergency message content based on the first terminal location and terminal location information.

[0099] Optionally, in this embodiment, the short message service device determines the message sending address based on the emergency event type identifier in the first emergency information. An optional implementation method is to determine the message sending address according to the emergency event type identifier and the address list. The address list records multiple message sending addresses, each message sending address corresponds to an emergency event identifier. Exemplarily, the address list is as follows: Figure 4 As shown, if the emergency event type is identified as "sos.police", the message sending address is "12110020". It should be noted that the message sending address can be a device IP address or a communication number (for example, an international mobile subscriber identity number).

[0100] Optionally, in this embodiment, another optional implementation method for the short message service device to determine the message sending address based on the emergency event type identifier in the first emergency information is to determine the third terminal location of the user terminal based on the first terminal location and terminal location information in the first emergency message. For example, the first terminal location and terminal location information are sent to an intelligent analysis device (for example, an NWDAF network element) or other location prediction tools (for example, a location prediction model) to determine the third terminal location of the user terminal. Based on the third terminal location, the current area to which the user terminal belongs is determined, and the message sending address is determined based on the current area and the address list. The address list includes the emergency event type identifier and the message sending address corresponding to each emergency event type identifier, as well as the area to which each message sending address corresponds.

[0101] Optionally, in this embodiment, the short message service device determines the emergency message content based on the first terminal location and the terminal location information. An optional implementation method is to determine the third terminal location of the user terminal based on the first terminal location and the terminal location information in the first emergency message. For example, the first terminal location and the terminal location information are sent to an intelligent analysis device (for example, an NWDAF network element) or other location prediction tools (for example, a location prediction model) to determine the third terminal location of the user terminal. Based on the third terminal location, the emergency message content is determined. For example, the third terminal location is used as the emergency message content.

[0102] Based on this embodiment, not only the accuracy of the emergency message content and the message sending address is effectively improved, but the emergency message content and the message sending address can also be automatically determined without manual input by the user, thereby effectively improving the efficiency of emergency message sending.

[0103] On the basis of the above embodiment, in order to send the emergency message content more efficiently, the second message is also used to instruct the short message service device to send the emergency short message to the emergency service device pointed to by the message sending address through the short message center device; wherein, the emergency short message carries the emergency message content, and the short message center device refers to the SMSC (Short Message Service Center, Short Message Service Center) device. Optionally, the emergency short message is an SMS message, that is, a short message message. An optional implementation of this embodiment is that the short message service device generates an emergency short message based on the message sending address and the emergency message content, and sends the emergency short message to the short message center device. The short message center device sends the emergency short message to the emergency service device pointed to by the message sending address. Another optional implementation of this embodiment is that the first message also carries a preset message template (for example, SMS payload, that is, a short message template), and the second message sent by the AMF network element to the short message service device also carries the preset message template. After determining the content of the emergency message and the message sending address, the AMF network element adds the message sending address to the address field in the preset message template, and adds the emergency message content to the content field in the preset message template to obtain an emergency short message. The emergency short message is sent to the short message center device, and the short message center device sends the emergency short message to the emergency service device pointed to by the message sending address. For example, if the emergency short message is an alarm short message, the alarm short message is sent to the alarm service center device pointed to by the message sending address.

[0104] In an alternative embodiment, if Figure 5 As shown, a message sending method is provided, which can be applied to Figure 1 In the short message service device shown. In this embodiment, the method includes the following steps:

[0105] S501, receive the second message sent by the AMF network element.

[0106] Among them, the second message is generated by the AMF network element based on the first emergency information when it receives the first message carrying the first emergency information sent by the user terminal.

[0107] Among them, the user terminal refers to the terminal device that needs to send an emergency message, which can be a smart terminal such as a mobile phone, a computer, or a smart wearable device such as a smart watch or a smart bracelet. The first emergency information refers to the associated information of the emergency message that needs to be sent. The first message refers to the NAS (Non-Access Stratum) protocol message sent by the user terminal to the AMF network element, for example, it can be a UL NAS TRANSPORT message (the first emergency information is added to the UL NAS TRANSPORT message). The second message refers to the NAS protocol message encapsulated and generated by the AMF network element based on the first emergency information.

[0108] It should be noted that the implementation method of the AMF network element generating the second message based on the first emergency information has been detailed in the above embodiment and will not be repeated here.

[0109] Optionally, in this embodiment, the second message may also be generated by the AMF network element based on the terminal location information of the user terminal and the first emergency information; wherein the terminal location information is obtained by the AMF network element after receiving the first message; the terminal location information includes the second terminal location of the user terminal and / or the terminal movement trend information of the user terminal. It should be noted that the specific implementation method is described in detail in the above embodiment and will not be repeated here.

[0110] Optionally, the first emergency information includes but is not limited to a first terminal location of the user terminal and an emergency event type identifier.

[0111] Optionally, the first message is sent to the AMF network element by the user terminal after detecting that the user triggers the emergency message sending component. The emergency event type identifier is determined by the user terminal according to the component type of the emergency message sending component. Exemplarily, if the emergency message sending control is a physical button on the user terminal, different physical buttons correspond to different emergency event types. When in use, after the user triggers the physical button, the user terminal determines the emergency event type according to the physical button triggered by the user, and determines the emergency event type identifier according to the emergency event type. Exemplarily, if the emergency message sending control is an application control on an application on the user terminal (for example, a control on the emergency message sending interface (for example, an alarm interface) on an APP), different application controls correspond to different emergency event types. When in use, after the user triggers the application control, the user terminal determines the emergency event type according to the application control triggered by the user, and determines the emergency event type identifier according to the emergency event type. Among them, the first terminal location refers to the location information of the user terminal obtained by the user terminal itself. Optionally, the user terminal can obtain the first terminal location based on GPS, Beidou, WiFi, Bluetooth, cellular network, etc.

[0112] S502: Determine a message sending address and emergency message content based on the second message.

[0113] Optionally, in this embodiment, the short message service device may send the second message to an intelligent analysis device (such as an NWDAF (Network Data Analytics Function) network element), and the intelligent analysis device determines the message sending address and the emergency message content based on the first emergency information in the second message.

[0114] S503: Send the emergency message content to the emergency service device pointed to by the message sending address.

[0115] As an optional implementation of the embodiment of the present application, the emergency message content is sent directly to the emergency service device pointed to by the message sending address.

[0116] As another optional implementation of the embodiment of the present application, an emergency short message is sent to the emergency service device pointed to by the message sending address through a short message center device; wherein the emergency short message carries the emergency message content, and the short message center device refers to an SMSC (Short Message Service Center, Short Message Service Center) device. Optionally, the emergency short message is an SMS message, that is, a short message message. An optional implementation of this embodiment is that the short message service device generates an emergency short message based on the message sending address and the emergency message content, and sends the emergency short message to the short message center device. The short message center device sends the emergency short message to the emergency service device pointed to by the message sending address. Another optional implementation of this embodiment is that the first message also carries a preset message template (for example, SMS payload, that is, a short message template), and the second message sent by the AMF network element to the short message service device also carries the preset message template. After determining the emergency message content and the message sending address, the AMF network element adds the message sending address to the address field in the preset message template, and adds the emergency message content to the content field in the preset message template to obtain an emergency short message. The emergency short message is sent to the short message center device, and the short message center device sends the emergency short message to the emergency service device pointed to by the message sending address. For example, if the emergency short message is an alarm short message, the alarm short message is sent to the alarm service center device pointed to by the message sending address.

[0117] In this embodiment, a second message sent by an AMF network element is received; wherein the second message is generated by the AMF network element based on the first emergency information when the AMF network element receives a first message carrying the first emergency information sent by a user terminal; based on the second message, the message sending address and the emergency message content are determined; and the emergency message content is sent to the emergency service device pointed to by the message sending address. Not only can the purpose of sending the emergency message content be achieved based on the non-access layer, but also after receiving the first message sent by the user terminal, the AMF network element can generate a second message based on the first emergency information and send the second message to the short message service device, so that the short message service device determines the message sending address and the emergency message content based on the second message, and sends the emergency message content to the emergency service device pointed to by the message sending address. Not only can the purpose of sending the emergency message content through the non-access layer be achieved, but also the short message service device can automatically determine the message sending address and the emergency message content based on the second message, and the emergency message content can be sent without the user manually entering the message sending address and the emergency message content, which effectively improves the efficiency of sending the emergency message content.

[0118] In one embodiment, in order to more accurately determine the message sending address and the content of the emergency message, such as Figure 6 As shown, another optional implementation of S502 includes:

[0119] S601: Determine a message sending address based on an emergency event type identifier in first emergency information.

[0120] As an optional implementation of the embodiment of the present application, the message sending address is determined according to the emergency event type identifier and the address list. The address list records multiple message sending addresses, each message sending address corresponds to an emergency event identifier. For example, the address list is as follows: Figure 4 As shown, if the emergency event type is identified as "sos.police", the message sending address is "12110020". It should be noted that the message sending address can be a device IP address or a communication number (for example, an international mobile subscriber identity number).

[0121] As another optional implementation of the embodiment of the present application, the third terminal location of the user terminal is determined based on the first terminal location and terminal location information in the first emergency message. For example, the first terminal location and terminal location information are sent to an intelligent analysis device (e.g., NWDAF network element) or other location prediction tools (e.g., location prediction model) to determine the third terminal location of the user terminal. According to the third terminal location, the current area to which the user terminal belongs is determined, and the message sending address is determined based on the current area and the address list. The address list includes an emergency event type identifier and a message sending address corresponding to each emergency event type identifier, as well as the area to which each message sending address corresponds.

[0122] S602: Determine the content of the emergency message based on the first terminal location and terminal location information.

[0123] Optionally, in this embodiment, the third terminal location of the user terminal is determined based on the first terminal location and terminal location information in the first emergency message. For example, the first terminal location and terminal location information are sent to an intelligent analysis device (e.g., NWDAF network element) or other location prediction tools (e.g., location prediction model) to determine the third terminal location of the user terminal. Based on the third terminal location, the emergency message content is determined. For example, the third terminal location is used as the emergency message content.

[0124] In this embodiment, the message sending address is determined based on the emergency event type identifier in the first emergency information. The emergency message content is determined based on the first terminal location and the terminal location information, so that the message sending address and emergency message content obtained in the end are more accurate. In addition, this application does not require the user to manually enter the message sending address and emergency message content, which greatly improves the efficiency of emergency message sending.

[0125] In one embodiment, if Figure 7 As shown, another optional implementation of a message sending method includes:

[0126] S701, the AMF network element receives a first message carrying first emergency information sent by a user terminal. The first emergency information includes an emergency event type identifier and a first terminal location of the user terminal; the first message is sent by the user terminal after detecting that the user triggers an emergency message sending component; the emergency event type identifier is determined according to the component type of the emergency message sending component; the first message is a non-access layer message.

[0127] S702, the AMF network element obtains the terminal location information of the user terminal, wherein the terminal location information includes the second terminal location of the user terminal and / or the terminal movement trend information of the user terminal.

[0128] S703, the AMF network element generates a second message based on the terminal location information and the first emergency information.

[0129] S704, the AMF network element sends a second message to the short message service device.

[0130] S705: The short message service device receives a second message.

[0131] S706: The short message service device determines a message sending address based on the emergency event type identifier in the first emergency information.

[0132] S707, the short message service device determines the emergency message content based on the first terminal location and the terminal location information.

[0133] S708, the short message service device sends an emergency short message to the emergency service device pointed to by the message sending address through the short message center device. The emergency short message carries emergency message content; the emergency short message is a short message service SMS message.

[0134] In this embodiment, in response to the first message carrying the first emergency information sent by the user terminal, a second message is generated based on the first emergency information; a second non-access layer message is sent to the short message service device; wherein the second message is used to instruct the short message service device to determine the message sending address and the emergency message content, and send the emergency message content to the emergency service device pointed to by the message sending address; the first message is a non-access layer message. This application can not only achieve the purpose of sending the emergency message content based on the non-access layer, but also the AMF network element can generate a second message based on the first emergency information after receiving the first message sent by the user terminal, and send the second message to the short message service device, so that the short message service device determines the message sending address and the emergency message content based on the second message, and sends the emergency message content to the emergency service device pointed to by the message sending address. Not only does it achieve the purpose of sending the emergency message content through the non-access layer, but the short message service device can automatically determine the message sending address and the emergency message content based on the second message, and can send the emergency message content without the user manually entering the message sending address and the emergency message content, which effectively improves the efficiency of sending the emergency message content.

[0135] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0136] Based on the same inventive concept, the embodiment of the present application also provides a message sending device for implementing the message sending method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more message sending device embodiments provided below can refer to the limitations on the message sending method above, and will not be repeated here.

[0137] In one embodiment, Figure 8 As shown, a message sending device 1 is provided, comprising:

[0138] The generating module 11 is used to generate a second message based on the first emergency information in response to the first message carrying the first emergency information sent by the user terminal; wherein the first message is a non-access layer message

[0139] The first sending module 12 is used to send a second non-access layer message to the short message service device; wherein the second message is used to instruct the short message service device to determine the message sending address and the emergency message content, and send the emergency message content to the emergency service device pointed to by the message sending address.

[0140] In one of the embodiments, the first emergency information includes an emergency event type identifier and a first terminal location of the user terminal.

[0141] In one of the embodiments, the first message is sent after the user terminal detects that the user triggers the emergency message sending component;

[0142] The emergency event type identifier is determined according to the component type of the emergency message sending component.

[0143] In one embodiment, the Figure 8 The generation module 11 is also specifically used for:

[0144] Acquire terminal location information of the user terminal; wherein the terminal location information includes a second terminal location of the user terminal and / or terminal movement trend information of the user terminal;

[0145] A second message is generated according to the terminal location information and the first emergency information.

[0146] In one of the embodiments, the second message is further used to instruct the short message service device to determine the message sending address based on the emergency event type identifier in the first emergency information, and to determine the emergency message content based on the first terminal location and the terminal location information.

[0147] In one of the embodiments, the second message is also used to instruct the short message service device to send an emergency short message to the emergency service device pointed to by the message sending address through the short message center device; wherein the emergency short message carries the emergency message content.

[0148] In one embodiment, the emergency short message is a short message service SMS message.

[0149] In one embodiment, Fig. 9 As shown, a message sending device 2 is provided, comprising:

[0150] A receiving module 21 is used to receive a second message sent by an AMF network element; wherein the second message is generated by the AMF network element based on the first emergency information when the AMF network element receives a first message carrying the first emergency information sent by a user terminal; the first message is a non-access layer message;

[0151] A determination module 22, configured to determine a message sending address and emergency message content based on the second message;

[0152] The second sending module 23 is used to send the emergency message content to the emergency service device pointed to by the message sending address.

[0153] In one of the embodiments, the first emergency information includes an emergency event type identifier and a first terminal location of the user terminal.

[0154] In one of the embodiments, the first message is sent by the user terminal to the AMF network element after the user terminal detects that the user triggers the emergency message sending component;

[0155] The emergency event type identifier is determined by the user terminal according to the component type of the emergency message sending component.

[0156] In one of the embodiments, the second message is generated by the AMF network element based on the terminal location information of the user terminal and the first emergency information; wherein the terminal location information is acquired by the AMF network element after receiving the first message; the terminal location information includes the second terminal location of the user terminal and / or the terminal movement trend information of the user terminal.

[0157] In one embodiment, the Fig. 9 The determining module 22 is further specifically used for:

[0158] Determine a message sending address based on the emergency event type identifier in the first emergency information;

[0159] Based on the first terminal location and the terminal location information, the emergency message content is determined.

[0160] In one embodiment, the Fig. 9 The second sending module 23 is further specifically used for:

[0161] An emergency short message is sent via a short message center device to an emergency service device pointed to by a message sending address; wherein the emergency short message carries emergency message content.

[0162] In one embodiment, the emergency short message is a SMS message.

[0163] Each module in the above message sending device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a communication device in the form of hardware, or can be stored in a memory in a communication device in the form of software, so that the processor can call and execute operations corresponding to each module above.

[0164] In one embodiment, a communication device is provided. The communication device may be a server, and its internal structure diagram may be as follows: Fig.10 As shown. The communication device includes a processor, a memory, a network interface and a transceiver connected through a system bus. Among them, the processor of the communication device is used to provide computing and control capabilities. The memory of the communication device includes a non-volatile storage medium and an internal memory. The transceiver of the communication device is used to perform operations of receiving data or sending data under the control of the processor. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the communication device is used to store relevant information of the message sending method. The network interface of the communication device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a message sending method is implemented.

[0165] Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the communication device to which the scheme of the present application is applied. The specific communication device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0166] In one embodiment, a communication device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the processing logic in the computer program, the following steps are implemented:

[0167] In response to a first message carrying first emergency information sent by a user terminal, a second message is generated based on the first emergency information; wherein the first message is a non-access layer message;

[0168] Send a second message to the short message service device; wherein the second message is used to instruct the short message service device to determine a message sending address and emergency message content, and send the emergency message content to the emergency service device pointed to by the message sending address.

[0169] In one embodiment, when the processor executes the processing logic in the computer program, the processor further implements the following steps: the first emergency information includes an emergency event type identifier and a first terminal location of the user terminal.

[0170] In one embodiment, when the processor executes the processing logic in the computer program, the following steps are further implemented: the first message is sent after the user terminal detects that the user triggers the emergency message sending component;

[0171] The emergency event type identifier is determined according to the component type of the emergency message sending component.

[0172] In one embodiment, when the processor executes the processing logic in the computer program, the processor further implements the following steps: generating a second message based on the first emergency information, including:

[0173] Acquire terminal location information of the user terminal; wherein the terminal location information includes a second terminal location of the user terminal and / or terminal movement trend information of the user terminal;

[0174] A second message is generated according to the terminal location information and the first emergency information.

[0175] In one embodiment, the processor also implements the following steps when executing the processing logic in the computer program: the second message is also used to instruct the short message service device to determine the message sending address based on the emergency event type identifier in the first emergency information, and to determine the emergency message content based on the first terminal location and terminal location information.

[0176] In one embodiment, the processor further implements the following steps when executing the processing logic in the computer program: the second message is also used to instruct the short message service device to send an emergency short message to the emergency service device pointed to by the message sending address through the short message center device; wherein the emergency short message carries the emergency message content.

[0177] In one embodiment, when the processor executes the processing logic in the computer program, the following steps are further implemented: the emergency short message is a short message service SMS message.

[0178] In one embodiment, another communication device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the processing logic in the computer program, the following steps are implemented:

[0179] Receiving a second message sent by the AMF network element; wherein the second message is generated by the AMF network element based on the first emergency information when the AMF network element receives a first message carrying the first emergency information sent by the user terminal; the first message is a non-access layer message;

[0180] Based on the second message, determining a message sending address and emergency message content;

[0181] The emergency message content is sent to the emergency service device pointed to by the message sending address.

[0182] In one embodiment, when the processor executes the processing logic in the computer program, the processor further implements the following steps: the first emergency information includes an emergency event type identifier and a first terminal location of the user terminal.

[0183] In one embodiment, when the processor executes the processing logic in the computer program, the following steps are further implemented: the first message is sent by the user terminal to the AMF network element after the user terminal detects that the user triggers the emergency message sending component;

[0184] The emergency event type identifier is determined by the user terminal according to the component type of the emergency message sending component.

[0185] In one embodiment, when the processor executes the processing logic in the computer program, the following steps are also implemented: the second message is generated by the AMF network element based on the terminal location information of the user terminal and the first emergency information; wherein the terminal location information is obtained by the AMF network element after receiving the first message; the terminal location information includes the second terminal location of the user terminal and / or the terminal movement trend information of the user terminal.

[0186] In one embodiment, when the processor executes the processing logic in the computer program, the processor further implements the following steps: based on the second message, determining the message sending address and the emergency message content, including:

[0187] Determine a message sending address based on the emergency event type identifier in the first emergency information;

[0188] Based on the first terminal location and the terminal location information, the emergency message content is determined.

[0189] In one embodiment, when the processor executes the processing logic in the computer program, the processor further implements the following steps: sending the emergency message content to the emergency service device pointed to by the message sending address, including:

[0190] An emergency short message is sent via a short message center device to an emergency service device pointed to by a message sending address; wherein the emergency short message carries emergency message content.

[0191] In one embodiment, when the processor executes the processing logic in the computer program, the following steps are further implemented: the emergency short message is an SMS message.

[0192] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the processing logic in the computer program is executed by a processor, the following steps are implemented:

[0193] In response to a first message carrying first emergency information sent by a user terminal, a second message is generated based on the first emergency information; wherein the first message is a non-access layer message;

[0194] Send a second message to the short message service device; wherein the second message is used to instruct the short message service device to determine a message sending address and emergency message content, and send the emergency message content to the emergency service device pointed to by the message sending address.

[0195] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: the first emergency information includes an emergency event type identifier and a first terminal location of the user terminal.

[0196] In one embodiment, the processing logic in the computer program, when executed by the processor, further implements the following steps: the first message is sent after the user terminal detects that the user triggers the emergency message sending component;

[0197] The emergency event type identifier is determined according to the component type of the emergency message sending component.

[0198] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: based on the first emergency information, generating a second message, including:

[0199] Acquire terminal location information of the user terminal; wherein the terminal location information includes a second terminal location of the user terminal and / or terminal movement trend information of the user terminal;

[0200] A second message is generated according to the terminal location information and the first emergency information.

[0201] In one embodiment, the processing logic in the computer program also implements the following steps when executed by the processor: the second message is also used to instruct the short message service device to determine the message sending address based on the emergency event type identifier in the first emergency information, and to determine the emergency message content based on the first terminal location and terminal location information.

[0202] In one embodiment, the processing logic in the computer program also implements the following steps when executed by the processor: the second message is also used to instruct the short message service device to send an emergency short message to the emergency service device pointed to by the message sending address through the short message center device; wherein the emergency short message carries the emergency message content.

[0203] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: the emergency short message is a short message service SMS message.

[0204] In one embodiment, another computer-readable storage medium is provided, on which a computer program is stored, and when the processing logic in the computer program is executed by a processor, the following steps are implemented:

[0205] Receiving a second message sent by the AMF network element; wherein the second message is generated by the AMF network element based on the first emergency information when the AMF network element receives a first message carrying the first emergency information sent by the user terminal; the first message is a non-access layer message;

[0206] Based on the second message, determining a message sending address and emergency message content;

[0207] The emergency message content is sent to the emergency service device pointed to by the message sending address.

[0208] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: the first emergency information includes an emergency event type identifier and a first terminal location of the user terminal.

[0209] In one embodiment, the processing logic in the computer program, when executed by the processor, further implements the following steps: the first message is sent by the user terminal to the AMF network element after detecting that the user triggers the emergency message sending component;

[0210] The emergency event type identifier is determined by the user terminal according to the component type of the emergency message sending component.

[0211] In one embodiment, the processing logic in the computer program also implements the following steps when executed by the processor: the second message is generated by the AMF network element based on the terminal location information of the user terminal and the first emergency information; wherein the terminal location information is obtained by the AMF network element after receiving the first message; the terminal location information includes the second terminal location of the user terminal and / or the terminal movement trend information of the user terminal.

[0212] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: based on the second message, determining the message sending address and the emergency message content, including:

[0213] Determine a message sending address based on the emergency event type identifier in the first emergency information;

[0214] Based on the first terminal location and the terminal location information, the emergency message content is determined.

[0215] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: sending the emergency message content to the emergency service device pointed to by the message sending address, including:

[0216] An emergency short message is sent via a short message center device to an emergency service device pointed to by a message sending address; wherein the emergency short message carries emergency message content.

[0217] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: the emergency short message is an SMS message.

[0218] In one embodiment, a computer program product is provided, on which a computer program is stored, and when the processing logic in the computer program is executed by a processor, the following steps are implemented:

[0219] In response to a first message carrying first emergency information sent by a user terminal, a second message is generated based on the first emergency information; wherein the first message is a non-access layer message;

[0220] Send a second message to the short message service device; wherein the second message is used to instruct the short message service device to determine a message sending address and emergency message content, and send the emergency message content to the emergency service device pointed to by the message sending address.

[0221] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: the first emergency information includes an emergency event type identifier and a first terminal location of the user terminal.

[0222] In one embodiment, the processing logic in the computer program, when executed by the processor, further implements the following steps: the first message is sent after the user terminal detects that the user triggers the emergency message sending component;

[0223] The emergency event type identifier is determined according to the component type of the emergency message sending component.

[0224] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: based on the first emergency information, generating a second message, including:

[0225] Acquire terminal location information of the user terminal; wherein the terminal location information includes a second terminal location of the user terminal and / or terminal movement trend information of the user terminal;

[0226] A second message is generated according to the terminal location information and the first emergency information.

[0227] In one embodiment, the processing logic in the computer program also implements the following steps when executed by the processor: the second message is also used to instruct the short message service device to determine the message sending address based on the emergency event type identifier in the first emergency information, and to determine the emergency message content based on the first terminal location and terminal location information.

[0228] In one embodiment, the processing logic in the computer program also implements the following steps when executed by the processor: the second message is also used to instruct the short message service device to send an emergency short message to the emergency service device pointed to by the message sending address through the short message center device; wherein the emergency short message carries the emergency message content.

[0229] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: the emergency short message is a short message service SMS message.

[0230] In one embodiment, another computer program product is provided, on which a computer program is stored, and when the processing logic in the computer program is executed by a processor, the following steps are implemented:

[0231] Receiving a second message sent by the AMF network element; wherein the second message is generated by the AMF network element based on the first emergency information when the AMF network element receives a first message carrying the first emergency information sent by the user terminal; the first message is a non-access layer message;

[0232] Based on the second message, determining a message sending address and emergency message content;

[0233] The emergency message content is sent to the emergency service device pointed to by the message sending address.

[0234] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: the first emergency information includes an emergency event type identifier and a first terminal location of the user terminal.

[0235] In one of the embodiments, the first message is sent by the user terminal to the AMF network element after the user terminal detects that the user triggers the emergency message sending component;

[0236] The emergency event type identifier is determined by the user terminal according to the component type of the emergency message sending component.

[0237] In one embodiment, the processing logic in the computer program also implements the following steps when executed by the processor: the second message is generated by the AMF network element based on the terminal location information of the user terminal and the first emergency information; wherein the terminal location information is obtained by the AMF network element after receiving the first message; the terminal location information includes the second terminal location of the user terminal and / or the terminal movement trend information of the user terminal.

[0238] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: based on the second message, determining the message sending address and the emergency message content, including:

[0239] Determine a message sending address based on the emergency event type identifier in the first emergency information;

[0240] Based on the first terminal location and the terminal location information, the emergency message content is determined.

[0241] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: sending the emergency message content to the emergency service device pointed to by the message sending address, including:

[0242] An emergency short message is sent via a short message center device to an emergency service device pointed to by a message sending address; wherein the emergency short message carries emergency message content.

[0243] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: the emergency short message is an SMS message.

[0244] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0245] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0246] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A message sending method, characterized in that: Applied to access and mobility management function AMF network elements, including: In response to a first message carrying first emergency information sent by a user terminal, a second message is generated based on the first emergency information; wherein the first message is a non-access layer message; The second message is sent to a short message service device; wherein the second message is used to instruct the short message service device to determine a message sending address and emergency message content, and send the emergency message content to the emergency service device pointed to by the message sending address.

2. The method according to claim 1, characterized in that The first emergency information includes an emergency event type identifier and a first terminal location of the user terminal.

3. The method according to claim 2, characterized in that The first message is sent by the user terminal after detecting that the user triggers the emergency message sending component; The emergency event type identifier is determined according to the component type of the emergency message sending component.

4. The method according to claim 2, characterized in that: The generating a second message based on the first emergency information includes: Acquire terminal location information of the user terminal; wherein the terminal location information includes a second terminal location of the user terminal and / or terminal movement trend information of the user terminal; The second message is generated according to the terminal location information and the first emergency information.

5. The method according to claim 4, characterized in that The second message is also used to instruct the short message service device to determine a message sending address based on the emergency event type identifier in the first emergency information, and to determine the emergency message content based on the first terminal location and the terminal location information.

6. The method according to claim 5, characterized in that The second message is also used to instruct the short message service device to send an emergency short message to the emergency service device pointed to by the message sending address through the short message center device; wherein the emergency short message carries the emergency message content.

7. The method according to claim 6, characterized in that The emergency short message is a short message service SMS message.

8. A message sending method, characterized in that: Applicable to short message service equipment, including: Receiving a second message sent by an AMF network element; wherein the second message is generated by the AMF network element based on the first emergency information when the AMF network element receives a first message carrying first emergency information sent by a user terminal; the first message is a non-access layer message; Based on the second message, determining a message sending address and emergency message content; The emergency message content is sent to the emergency service device pointed to by the message sending address.

9. The method according to claim 8, characterized in that The first emergency information includes an emergency event type identifier and a first terminal location of the user terminal.

10. The method according to claim 9, characterized in that The first message is sent by the user terminal to the AMF network element after detecting that the user triggers the emergency message sending component; The emergency event type identifier is determined by the user terminal according to the component type of the emergency message sending component.

11. The method according to claim 10, characterized in that The second message is generated by the AMF network element based on the terminal location information of the user terminal and the first emergency information; wherein, the terminal location information is acquired by the AMF network element after receiving the first message; the terminal location information includes the second terminal location of the user terminal and / or the terminal movement trend information of the user terminal.

12. The method according to claim 11, characterized in that The determining, based on the second message, a message sending address and emergency message content includes: Determine a message sending address based on the emergency event type identifier in the first emergency information; Based on the first terminal location and the terminal location information, determine the emergency message content.

13. The method according to claim 11, characterized in that The sending of the emergency message content to the emergency service device pointed to by the message sending address includes: An emergency short message is sent to the emergency service device pointed to by the message sending address through a short message center device; wherein the emergency short message carries the emergency message content.

14. The method according to claim 13, characterized in that The emergency short message is an SMS message.

15. A message sending device, characterized in that: Configured in the AMF network element, including: A generating module, configured to generate a second message based on the first emergency information in response to a first message carrying first emergency information sent by a user terminal; the first message is a non-access layer message; The first sending module is used to send the second non-access layer message to the short message service device; wherein the second message is used to instruct the short message service device to determine the message sending address and the emergency message content, and send the emergency message content to the emergency service device pointed to by the message sending address.

16. A message sending device, characterized in that: Configured in short message service equipment, including: A receiving module, configured to receive a second message sent by an AMF network element; wherein the second message is generated by the AMF network element based on the first emergency information when the AMF network element receives a first message carrying first emergency information sent by a user terminal; the first message is a non-access layer message; A determination module, configured to determine a message sending address and emergency message content based on the second message; The second sending module is used to send the emergency message content to the emergency service device pointed to by the message sending address.

17. A communication device, comprising a memory, a transceiver and a processor, wherein the memory stores a computer program, characterized in that: The transceiver is used to receive data or send data under the control of the processor, and the processor implements the steps of any one of claims 1-14 when executing the computer program.

18. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 14 are implemented.

19. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 14 are implemented.

Citation Information

Patent Citations

  • Method and system for sending short message by one key

    CN109040288A

  • Emergency call system and control method thereof

    CN1664872A

  • Urgent message method and its center device

    JP2002300318A

  • Emergency notification SMS messaging during e911 call

    US20190132903A1

  • Providing Emergency Location Information

    US20210258761A1