Message processing method and device, electronic equipment and storage medium

By receiving messages in electronic devices, determining the urgency level, pausing the current task when the preset level is reached, and emergency reminders are solved, the problem of users not handling emergency messages in a timely manner is ensured, and losses are avoided.

CN119473656APending Publication Date: 2025-02-18CHENGDU OPPO TELECOMM TECH CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411595993.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-08
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The prior art is difficult to ensure that users process emergency messages in a timely manner, resulting in potentially irreparable losses.

Method used

By receiving messages, determining their urgency, if the preset urgency is reached, the current task of the electronic device will be suspended and an emergency reminder will be given.

Benefits of technology

It effectively avoids the losses caused by users failing to respond to emergency messages in a timely manner and missing the best processing time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119473656A_ABST
    Figure CN119473656A_ABST
Patent Text Reader

Abstract

The invention discloses a message processing method and device, electronic equipment and a storage medium, and relates to the technical field of electronic equipment. The method is applied to the electronic equipment, and comprises the following steps: receiving a first message, determining an emergency degree corresponding to the first message, if the emergency degree corresponding to the first message reaches a preset emergency degree, pausing a current task of the electronic equipment, and carrying out first emergency reminding on the first message. According to the method and the device, aiming at the message with a relatively high emergency degree, the current task of the electronic equipment is paused and the message is prompted emergently, so that irreparable loss caused by the fact that a user fails to respond to the message in time and misses the optimal processing opportunity can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic devices, and more specifically, to a message processing method, device, electronic device and storage medium. Background Art

[0002] With the rapid development of mobile Internet technology, various applications have been widely used in people's daily lives. When an application needs to deliver a message to a user, the application's message can be pushed to the electronic device where the application is installed through the application's background server. After receiving the message, the electronic device can briefly display the message in the message display area of ​​the electronic device so that the user can browse the corresponding content. However, this display method often fails to be paid attention to and processed by the user in a timely manner, which may lead to irreparable losses. Summary of the invention

[0003] In view of the above problems, the present application proposes a message processing method, device, electronic device and storage medium to solve the above problems.

[0004] In a first aspect, an embodiment of the present application provides a message processing method applied to an electronic device, the method comprising: receiving a first message; determining the urgency corresponding to the first message; if the urgency corresponding to the first message reaches a preset urgency, pausing the current task of the electronic device and issuing a first emergency reminder for the first message.

[0005] In a second aspect, an embodiment of the present application provides a message processing device, which is applied to an electronic device, and the device includes: a first message receiving module, used to receive a first message; an urgency determination module, used to determine the urgency corresponding to the first message; a first emergency reminder module, used to suspend the current task of the electronic device if the urgency corresponding to the first message reaches a preset urgency, and to issue a first emergency reminder for the first message.

[0006] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory and a processor, wherein the memory is coupled to the processor, the memory stores instructions, and when the instructions are executed by the processor, the processor executes the above method.

[0007] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a program code is stored, and the program code can be called by a processor to execute the above method.

[0008] The message processing method, device, electronic device and storage medium provided in the embodiments of the present application receive a first message, determine the urgency corresponding to the first message, and if the urgency corresponding to the first message reaches a preset urgency, suspend the current task of the electronic device and issue a first emergency reminder for the first message. Thus, for messages with a higher urgency, by suspending the current task of the electronic device and issuing an emergency reminder for the message, it is possible to avoid irreparable losses caused by the user's failure to respond to the message in time and missing the best processing opportunity. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0010] Figure 1 A schematic diagram showing a flow chart of a message processing method provided by an embodiment of the present application is shown;

[0011] Figure 2 A schematic diagram of an interface of an electronic device provided in an embodiment of the present application is shown;

[0012] Figure 3 A schematic diagram showing a flow chart of a message processing method provided by an embodiment of the present application is shown;

[0013] Figure 4 A schematic diagram of interaction of an electronic device provided in an embodiment of the present application is shown;

[0014] Figure 5 A schematic diagram showing a flow chart of a message processing method provided by an embodiment of the present application is shown;

[0015] Figure 6 A schematic diagram showing a flow chart of a message processing method provided by an embodiment of the present application is shown;

[0016] Figure 7 A schematic diagram showing a flow chart of a message processing method provided by an embodiment of the present application is shown;

[0017] Figure 8 A schematic diagram showing a flow chart of a message processing method provided by an embodiment of the present application is shown;

[0018] Fig. 9 A module block diagram of a message processing device provided by an embodiment of the present application is shown;

[0019] Fig.10 A block diagram of an electronic device according to an embodiment of the present application for executing a message processing method according to an embodiment of the present application is shown;

[0020] Fig.11 A storage unit for storing or carrying program codes for implementing a message processing method according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0021] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0022] With the progress and development of society, people's daily lives are becoming increasingly rich and diverse. Correspondingly, more and more applications are installed on electronic devices, resulting in a large number of various messages being received every day.

[0023] These messages may belong to several different types. For example, order logistics, work items, account dynamics, finance-related, content recommendations, life information, social dynamics, product promotions, event push, etc. Currently on electronic devices, when a new message is received, it will be briefly displayed at the top of the screen, and then it will be thumbnailed in the upper right corner of the SMS icon (unread) number or displayed in the system message bar. You need to pull down the screen to expand the overlapping messages. In some specific modes (such as lock screen, mute, sleep, game, focus (meditation)), the presentation intensity of the message is weaker, and the user does not even know that the new message has been received and is aggregated and hidden.

[0024] When there are too many unread messages, users often collect them and deal with them after a period of time, and directly use "one-click clear" to clear the messages. This results in some sudden matters that need to be dealt with urgently being cleared without being noticed, and the response opportunity is missed. The number of such messages is small and the frequency is low, but the timing of occurrence is unpredictable. Once they are not handled in time, it may cause irreparable losses.

[0025] In view of the above problems, the inventor has discovered after long-term research and proposed the message processing method, device, electronic device and storage medium provided in the embodiments of the present application. For messages with a high degree of urgency, by pausing the current task of the electronic device and issuing an urgent reminder for the message, the user can avoid irreparable losses caused by failing to respond to the message in time and missing the best processing opportunity. The specific message processing method is described in detail in the subsequent embodiments.

[0026] See also Figure 1 , Figure 1The flowchart of the message processing method provided by an embodiment of the present application is shown. The method is used for messages with a high degree of urgency. By suspending the current task of the electronic device and issuing an urgent reminder for the message, the user can avoid irreparable losses caused by missing the best processing opportunity due to failure to respond to the message in time. In a specific embodiment, the message processing method is applied to Fig. 9 The message processing device 200 and the electronic device 100 ( Fig.10 ). The following will take an electronic device as an example to illustrate the specific process of this embodiment. Of course, it can be understood that the electronic device used in this embodiment may include a smart phone, a tablet computer, a wearable electronic device, etc., which is not limited here. Figure 1 The process shown is described in detail, and the message processing method may specifically include the following steps:

[0027] Step S110: Receive a first message.

[0028] In this embodiment, the electronic device may receive a first message.

[0029] Optionally, the first message may be received in the form of a text message, an application notification, or an instant messaging, etc., which is not limited here.

[0030] As an implementable method, when an application installed on an electronic device wishes to push the first message to the electronic device, the application can push the first message to the electronic device through its corresponding background server, and accordingly, the electronic device can receive the first message.

[0031] Step S120: Determine the urgency level corresponding to the first message.

[0032] In this embodiment, when the first message is received, the urgency level corresponding to the first message may be determined.

[0033] In some embodiments, the electronic device may have an "emergency message" function, and the user may choose to turn on the "emergency message" function or the "emergency message" function. When the "emergency message" function is turned on, the electronic device may detect the urgency of the received message and make an emergency reminder for the emergency message. When the "emergency message" function is turned off, the electronic device does not detect the urgency of the received message and makes a regular reminder for all messages. Therefore, in this embodiment, when the first message is received and the "emergency message" function of the electronic device is turned on, the urgency corresponding to the first message can be determined.

[0034] Optionally, when the "emergency message" function is turned on, the electronic device can grant the system permission to call / adjust the lock screen, volume, and vibration to provide emergency reminders for messages.

[0035] In some implementations, when the first message is received, the first message may be graded for urgency to determine the urgency corresponding to the first message.

[0036] As an implementable manner, the electronic device may pre-set and store an emergency grading standard. When a first message is received, the first message may be graded according to the emergency grading standard to determine the urgency corresponding to the first message. As an example, assume that the electronic device is pre-set with an emergency grading standard, and the pre-set urgency levels include level 1, level 2, level 3, and level 4. Then, when a first message is received, the urgency corresponding to the first message may be determined to be level 1, level 2, level 3, or level 4 based on the emergency grading standard, thereby determining the urgency corresponding to the first message.

[0037] In some implementations, when a first message is received, content analysis may be performed on the first message to obtain a content analysis result, and based on the content analysis result, the urgency level corresponding to the first message may be determined.

[0038] In some implementations, when a first message is received, keyword extraction may be performed on the first message to obtain target keywords included in the first message, and based on the target keywords, the urgency corresponding to the first message may be determined.

[0039] In some implementations, when a first message is received, the source (sender) corresponding to the first message may be identified to obtain a source identification result, and based on the source identification result, the urgency corresponding to the first message may be determined.

[0040] In some implementations, when the first message is received, an emergency influencing factor corresponding to the first message may be determined, and based on the emergency influencing factor, the urgency level corresponding to the first message may be determined.

[0041] Optionally, the emergency influencing factor may include one or a combination of whether it needs to be processed, a processing time limit, and consequences of not processing. Whether it needs to be processed may include: need to be processed or not. The processing time limit may include: immediate processing, processing within 3 hours, or processing more than 24 hours. The consequences of not processing may include: irreparable losses, waste of time and money, or no impact.

[0042] As an implementable method, assuming that the emergency influencing factors include whether processing is required, the processing time limit and the consequences of unprocessed processing, then, when the first message is received, it can be determined whether the first message needs to be processed. If it is determined that it does not need to be processed, the urgency of the message that does not need to be processed can be determined; if it is determined that it needs to be processed, the processing time limit and the consequences of unprocessed processing corresponding to the first message can be determined, and the urgency of the first message can be determined based on the processing time limit and the consequences of unprocessed processing of the first message.

[0043] As an example, referring to Table 1, the urgency of the message can be divided into four levels (the urgency level from high to low includes level 1, level 2, level 3 and level 4) according to whether it needs to be processed, the processing time limit and the consequences of not processing.

[0044]

[0045] Table 1

[0046] In some embodiments, when a first message is received, the first message can be input into a trained large language model (LLM) to obtain an urgency corresponding to the first message output by the trained large language model, wherein the trained large language model is trained based on in-context learning (ICL) technology.

[0047] As an implementable approach, the process of training a large language model based on contextual learning technology can be as follows:

[0048] Using scenario learning technology, the large language model is provided with a description of the model task and one or more data examples, so that the large language model can understand and train to obtain a trained large language model. Subsequently, the current message (such as the first message) is provided, and finally the trained large language model can output the urgency corresponding to the current message.

[0049] This data example is a prompt, as shown below:

[0050] You are an intelligent message manager. Your task is to classify the urgency of messages received by users. The urgency of messages is divided into 4 levels, defined as:

[0051] - Emergency Level 1: It involves the safety of citizens’ lives and property, and must be dealt with immediately. If delayed, it may be irreversible.

[0052] - Urgency Level 2: Needs to be processed within a short period of time (e.g. 3 hours). If missed, it may result in costly and labor-intensive work.

[0053] - Urgency Level 3: The fulfillment time is greater than 24 hours. You can handle it when you are free, or create a schedule and wait for the normal schedule reminder.

[0054] - Urgency Level 4: No need to fulfill the contract, no need to process, and no impact if not read.

[0055] If the urgency of the message is level 1, then the message is an emergency message. You can further give the subject type of the message, which can include violation reminders, personal safety warnings, emergency and accident notifications, property safety warnings, natural disaster warnings, and terrorist and violent case notifications.

[0056] After the trained large language model is obtained based on the above method, if the first message received later is "[XX Traffic Police] Your small car XXXXX was recorded for not parking according to regulations on XX Road at 14:21 on March 19, 2024. Please leave immediately. If you do not leave for more than 10 minutes, you will be punished according to law. Thank you for your cooperation!", then the first message can be input into the trained large language model, and the large language model can output: the urgency of the first message is level 1. Of course, the large language model can also output: the subject type of the first message is: violation reminder.

[0057] After the trained large language model is obtained based on the above method, if the first message received subsequently is "Dear parents, the registration and admission related matters are now notified as follows: 1. The registration time is scheduled for the morning of August 26, registration on the 27th, and formal classes on the 28th. 2. Registration fees. 1. Day care students: childcare fees, living expenses, water and electricity fees, book fees, etc. total 1,200 yuan per semester. 2. Weekly care students: childcare fees, living expenses, water and electricity fees, book fees, etc. total 2,500 yuan per semester. 3. Insurance premium is 50 yuan per year. Parents voluntarily purchase insurance.", then the first message can be input into the trained large language model, and the large language model can output: the urgency of the first message is level 3.

[0058] Step S130: If the urgency level corresponding to the first message reaches a preset urgency level, the current task of the electronic device is suspended, and a first emergency reminder is issued for the first message.

[0059] In some embodiments, the electronic device may pre-set and store a preset urgency level, which is used as a basis for determining the urgency level of the message received by the electronic device. Therefore, in this embodiment, when determining the urgency level corresponding to the first message, the urgency level corresponding to the first message may be compared with the preset urgency level to determine whether the urgency level corresponding to the first message reaches the preset urgency level.

[0060] Among them, if the urgency corresponding to the first message reaches the preset urgency, it can be determined that the first message requires timely processing by the user. If it is not processed in time, it may cause irreparable losses. Therefore, the current task of the electronic device can be suspended and an emergency reminder for the first message can be issued. If the urgency corresponding to the first message does not reach the preset urgency, it can be determined that the first message does not require timely processing by the user. If it is not processed in time, it will not cause losses. Therefore, a conventional reminder method can be used to remind the first message (such as briefly displaying it at the top of the screen, and then thumbnailed in the upper right corner of the SMS icon (unread) number or displayed in the system message bar).

[0061] Optionally, the preset emergency level may include level 1. That is, for messages involving the safety of citizens' lives and property, which must be handled immediately and may be irreversible if delayed, this embodiment will provide targeted emergency reminders. For example, targeted emergency reminders are provided for violations of regulations, personal safety, emergency accidents, property safety, natural disasters, terrorist violence cases, etc.

[0062] Examples of violations include:

[0063] [XX Traffic Police] Your small car XXXXX was recorded for not being parked according to regulations on XX Road at 14:21 on March 19, 2024. Please leave immediately. If you do not leave within 10 minutes, you will be punished according to law. Thank you for your cooperation!

[0064] Examples of personal safety include:

[0065]

XX Travel

[0066] Dear emergency contact, your friend (passenger name) is contacting you through the XX travel emergency assistance function. The following is her itinerary information:

[0067] - Trip start time: (specific time)

[0068] - Pick-up location: (specific location)

[0069] -Destination: (specific location)

[0070] - License plate number: (driver's license plate number)

[0071] -Driver Name: (Driver's name or nickname)

[0072] Your friend's current location: (passenger's real-time location information, if available)

[0073] Please contact them as soon as possible and provide necessary assistance. If the situation is urgent, it is recommended that you contact the local police or emergency rescue services.

[0074] Examples of medical emergencies include:

[0075]

XX Hospital

[0076] Visit number: 08

[0077] Name: XXX

[0078] Department: Emergency Center 1st Floor - XX Department

[0079] Treatment: Intramuscular injection

[0080] Drug: XXXXX

[0081] Financial security may include the following examples:

[0082]

Home Security Alarm

[0083] Dear user, your home security system detected unusual activity at (time). Camera 1 captured an unidentified person entering your home.

[0084] Here are the details of the incident:

[0085] -Detection time: (specific time)

[0086] -Camera location: Living room

[0087] -Activity Type: Stranger Invasion

[0088] -Image / Video Link: xxxx

[0089] It is recommended that you review the camera video immediately and take appropriate action.

[0090] Examples of natural disasters include:

[0091] [XX Property] Dear xx owner, according to the weather station warning, this year's 14th typhoon "Prasang" has strengthened into a severe tropical storm this morning (19th). At 10 o'clock in the morning, its center was located on the East China Sea about 320 kilometers east-southeast of Xiangshan County, Ningbo City, Zhejiang Province, that is, 28.8 degrees north latitude and 125.1 degrees east longitude. The maximum wind speed near the center is level 10 (25 meters / second), the lowest central pressure is 985 hPa, and the radius of the level 7 wind circle is 150-160 kilometers.

[0092] In bad weather, close doors and windows, water, electricity and gas valves, and minimize travel. If you must go out, please avoid rivers, distribution boxes, dangerous hillsides, temporary buildings and other dangerous areas that are prone to collapse. If you need assistance, please call the service center hotline xxxxxx.

[0093] As an implementable method, pausing the current task of the electronic device and making a first emergency reminder for the first message may include: if the current task of the electronic device is to run a game application in the foreground, the game may be paused and a first emergency reminder may be made for the first message; if the current task of the electronic device is to run a video application in the foreground, the video playback may be paused and a first emergency reminder may be made for the first message. Of course, if the electronic device sets its current task (status) to lock screen, the lock screen may be paused (such as unlocking the screen) and a first emergency reminder may be made for the first message; if the electronic device sets its current task (status) to screen off, the screen off may be paused (such as switching to bright screen) and a first emergency reminder may be made for the first message; if the electronic device sets its current task (status) to mute, the mute may be paused (such as making a voice reminder) and a first emergency reminder may be made for the first message; if the electronic device sets its current task (status) to do not disturb, do not disturb may be paused and a first emergency reminder may be made for the first message, etc., which are not limited here.

[0094] In some implementations, if it is determined that the urgency level corresponding to the first message reaches a preset urgency level, the current task of the electronic device may be directly suspended, and a first emergency reminder may be issued for the first message.

[0095] In some embodiments, if it is determined that the urgency level corresponding to the first message reaches a preset urgency level, the current task of the electronic device can be obtained, and it can be determined whether the current task supports suspension. If it is determined that the current task supports suspension, the current task of the electronic device can be suspended, and a first emergency reminder for the first message can be made; if the current task does not support suspension, the first emergency reminder for the first message can be made after the current task is finished, or the current task of the electronic device is not suspended, and a first emergency reminder for the first message can be made. As an example, if the current task is a game application or a video application, it can be determined that the current task supports suspension; if the current task is a call application, it can be determined that the current task does not support suspension.

[0096] In some embodiments, the first emergency reminder for the first message may include: continuously displaying prompt information corresponding to the first message, continuously outputting voice prompts corresponding to the first message, and / or continuously outputting vibration prompts corresponding to the first message, etc., which are not limited here.

[0097] In some embodiments, the first emergency reminder for the first message may include: displaying prompt information corresponding to the first message, and controlling the electronic device to perform vibration prompts and / or voice prompts. For example, a continuous visual reminder of the first message is performed in the form of a pop-up window or card on the screen, and at the same time, more modal prompts are performed by vibration and / or alarm ringing, so as to enhance the effect of the first emergency reminder.

[0098] See also Figure 2 , Figure 2 FIG. 1 shows a schematic diagram of an interface of an electronic device provided in an embodiment of the present application. Figure 2 As shown, for the emergency reminder of the emergency message, the prompt information corresponding to the emergency message can be displayed on the touch screen of the electronic device. For example, XX message, please handle it in time.

[0099] In some implementations, if the urgency level corresponding to the first message reaches a preset urgency level, a target service / target application may be recommended, wherein the target service / target application is used to process the first message to improve the processing efficiency for emergency messages.

[0100] A message processing method provided by an embodiment of the present application receives a first message, determines the urgency corresponding to the first message, and if the urgency corresponding to the first message reaches a preset urgency, suspends the current task of the electronic device and issues a first emergency reminder for the first message. Thus, for messages with a higher urgency, by suspending the current task of the electronic device and issuing an emergency reminder for the message, it is possible to avoid irreparable losses caused by the user's failure to respond to the message in time and missing the best processing opportunity.

[0101] See also Figure 3 , Figure 3 The flowchart of the message processing method provided by an embodiment of the present application is shown in FIG. Figure 3 The process shown is described in detail, and the message processing method may specifically include the following steps:

[0102] Step S210: Receive a first message.

[0103] Step S220: Determine the urgency level corresponding to the first message.

[0104] Step S230: If the first message corresponds to an emergency.

[0105] If the degree reaches a preset urgency level, the current task of the electronic device is suspended, and a first emergency reminder is issued for the first message.

[0106] For the detailed description of step S210 to step S230 , please refer to step S110 to step S130 , which will not be repeated here.

[0107] Step S240: If feedback information based on the first emergency reminder input is detected, the first emergency reminder is stopped.

[0108] In this embodiment, during the process of providing an emergency reminder for the first message, the electronic device may detect whether the user has input feedback information based on the first emergency reminder. If no feedback information based on the first emergency reminder input by the user is detected, it can be considered that the user has not paid attention to or processed the first message, and the first emergency reminder for the first message can be continued; if feedback information based on the first emergency reminder input by the user is detected, it can be considered that the user has paid attention to or processed the first message, and the first emergency reminder for the first message can be stopped. It can be understood that, through the above method, it can be set that user interactive feedback is required to stop the emergency reminder, so as to ensure that the user will not miss the emergency message.

[0109] In some embodiments, during the process of issuing an emergency reminder for the first message, the electronic device can detect in real time whether the user has input feedback information based on the first emergency reminder, can detect at preset time intervals whether the user has input feedback information based on the first emergency reminder, can detect at preset time points whether the user has input feedback information based on the first emergency reminder, can detect according to other preset rules whether the user has input feedback information based on the first emergency reminder, etc., which are not limited here.

[0110] In some embodiments, if feedback information based on the first emergency reminder input is detected, the first emergency reminder can be stopped immediately; or, if feedback information based on the first emergency reminder input is detected, a selection control can be displayed, wherein the selection control is used to prompt the user to choose to stop the first emergency reminder, postpone the first emergency reminder, or keep the first emergency reminder, and if it is detected that the user chooses to stop the first emergency reminder based on the selection control, the first emergency reminder can be stopped.

[0111] As an implementable manner, when the electronic device is in the process of providing an emergency reminder for the first message, if a touch operation acting on the touch screen of the electronic device is detected, it can be determined that feedback information based on the first emergency reminder input is detected.

[0112] As a method, the touch operation on the touch screen of the electronic device may include: a click operation on the touch screen of the electronic device. Optionally, the click operation on the touch screen of the electronic device may include: a single-finger click operation on the touch screen of the electronic device, a multi-finger click operation on the touch screen of the electronic device, a single click operation on the touch screen of the electronic device, continuous multiple click operations on the touch screen of the electronic device, a palm click operation on the touch screen of the electronic device, etc., which are not limited here.

[0113] As another way, the touch operation on the touch screen of the electronic device may include: a pressing operation on the touch screen of the electronic device. Optionally, the pressing operation on the touch screen of the electronic device may include: a single-finger pressing operation on the touch screen of the electronic device, a multi-finger pressing operation on the touch screen of the electronic device, a palm pressing operation on the touch screen of the electronic device, a long press operation on the touch screen of the electronic device, etc., which is not limited here.

[0114] As another embodiment, the touch operation on the touch screen of the electronic device may include: a sliding operation on the touch screen of the electronic device. Optionally, the sliding operation on the touch screen of the electronic device may include: a single-finger sliding operation on the touch screen of the electronic device, a multi-finger sliding operation on the touch screen of the electronic device, a sliding operation along a specified direction on the touch screen of the electronic device, a sliding operation on the touch screen of the electronic device that satisfies a specified sliding trajectory, a sliding operation on the touch screen of the electronic device that satisfies a specified sliding distance, etc., which are not limited here.

[0115] As another practicable manner, during the process of the electronic device making an emergency reminder for the first message, if a touch operation acting on a target control displayed on the touch screen of the electronic device is detected, it can be determined that feedback information based on the first emergency reminder input is detected. Optionally, the target control is used to indicate closing the emergency reminder or processing the message. That is, during the process of the electronic device making an emergency reminder for the first message, the target control used to indicate closing the emergency reminder or processing the message can be synchronously displayed. Subsequently, if a touch operation acting on the target control displayed on the touch screen of the electronic device is detected, the first emergency reminder for the first message can be stopped.

[0116] Optionally, the touch operation on the target control displayed on the touch screen of the electronic device may include: a click operation on the target control displayed on the touch screen of the electronic device, a press operation on the target control displayed on the touch screen of the electronic device, and / or a slide operation on the target control displayed on the touch screen of the electronic device, etc., which are not limited here.

[0117] See also Figure 4 , Figure 4 FIG. 1 shows an interactive schematic diagram of an electronic device provided in an embodiment of the present application. Figure 4 As shown, during the process of the electronic device making an emergency reminder for a message (displaying prompt information corresponding to the emergency message), a target control for closing the emergency message can be simultaneously displayed. If a touch operation acting on the target control is detected, the emergency reminder for the message can be stopped.

[0118] The message processing method provided by an embodiment of the present application receives a first message, determines the urgency level corresponding to the first message, and if the urgency level corresponding to the first message reaches a preset urgency level, suspends the current task of the electronic device and issues a first emergency reminder for the first message. If feedback information based on the first emergency reminder input is detected, the first emergency reminder is stopped. Figure 1 The message processing method shown in this embodiment also requires user feedback confirmation before stopping the emergency reminder to ensure that the user will not miss the emergency event.

[0119] See also Figure 5 , Figure 5 The flowchart of the message processing method provided by an embodiment of the present application is shown in FIG. Figure 5 The process shown is described in detail, and the message processing method may specifically include the following steps:

[0120] Step S310: Receive a first message.

[0121] Step S320: Determine the urgency level corresponding to the first message.

[0122] Step S330: If the urgency level corresponding to the first message reaches a preset urgency level, the current task of the electronic device is suspended, and a first emergency reminder is issued for the first message.

[0123] For the detailed description of step S310 to step S330 , please refer to step S110 to step S130 , which will not be repeated here.

[0124] Step S340: If a second message corresponding to an emergency level reaching the preset emergency level is received, the first emergency reminder is maintained.

[0125] In this embodiment, when the electronic device is in the process of providing an emergency reminder for a first message, if it receives a second message whose corresponding urgency also reaches the preset urgency, it can keep providing the first emergency reminder for the first message. That is, when providing an emergency reminder for a currently received emergency message, even if a new emergency message is received, the emergency reminder for the currently received emergency message will not be interrupted, so as to ensure that each emergency message can be obtained and responded to by the user in a timely manner.

[0126] Optionally, the second message may be received in the form of a text message, an application notification, or an instant messaging, etc., which is not limited here.

[0127] In some embodiments, when the electronic device receives the second message, it can determine the urgency level corresponding to the second message, and compare the urgency level corresponding to the second message with a preset urgency level to determine whether the urgency level corresponding to the second message reaches the preset urgency level.

[0128] Optionally, if it is determined that the urgency level corresponding to the second message does not reach the preset urgency level, the second message may be reminded in a conventional manner, and the first emergency reminder for the first message may be maintained.

[0129] Optionally, if it is determined that the urgency level corresponding to the second message reaches a preset urgency level, the first emergency reminder for the first message may be maintained, and the second emergency reminder for the second message may be waited for. For example, only the prompt information for the first message may be displayed on the touch screen of the electronic device, or the prompt information of the first message and a small dot may be displayed on the touch screen of the electronic device at the same time, wherein the small dot is used to indicate the prompt information of the emergency message waiting to be displayed.

[0130] Optionally, if it is determined that the urgency level corresponding to the second message reaches a preset urgency level, the first urgency reminder for the first message can be maintained, and the second urgency reminder for the second message can be simultaneously performed. For example, the prompt information for the first message and the prompt information for the second message can be simultaneously displayed on the touch screen of the electronic device.

[0131] Step S350: If feedback information based on the first emergency reminder input is detected, the first emergency reminder is stopped, and a second emergency reminder is made for the second message.

[0132] In this embodiment, during the process of providing an emergency reminder for the first message, the electronic device may detect whether the user has input feedback information based on the first emergency reminder. If no feedback information based on the first emergency reminder input by the user is detected, it can be considered that the user has not paid attention to or processed the first message, and the first emergency reminder for the first message can continue; if feedback information based on the first emergency reminder input by the user is detected, it can be considered that the user has paid attention to or processed the first message, and the first emergency reminder for the first message can be stopped, and a second emergency reminder for the second emergency message can be provided. It can be understood that, through the above method, an emergency reminder that requires user interactive feedback to change different emergency messages can be set to ensure that users will not miss emergency messages.

[0133] In some embodiments, the second emergency reminder for the second message may include: continuously displaying prompt information corresponding to the second message, continuously outputting voice prompts corresponding to the second message, and / or continuously outputting vibration prompts corresponding to the second message, etc., which are not limited here.

[0134] In some embodiments, providing a second emergency reminder for the second message may include: displaying prompt information corresponding to the second message, and controlling the electronic device to provide a vibration prompt and / or a voice prompt. For example, a continuous visual reminder of the second message is provided in the form of a pop-up window or card on the screen, and at the same time, more modal prompts are provided by means of vibration and / or alarm ringing, so as to enhance the effect of the second emergency reminder.

[0135] In some implementations, if the urgency level corresponding to the second message reaches a preset urgency level, a target service / target application may be recommended, wherein the target service / target application is used to process the second message to improve the processing efficiency for emergency messages.

[0136] The message processing method provided by an embodiment of the present application receives a first message, determines the urgency level corresponding to the first message, and if the urgency level corresponding to the first message reaches a preset urgency level, suspends the current task of the electronic device and issues a first emergency reminder for the first message. If a second message is received with a corresponding urgency level reaching a preset urgency level, the first emergency reminder is maintained. If feedback information based on the first emergency reminder input is detected, the first emergency reminder is stopped and an emergency reminder is issued for the second message. Compared to Figure 1 The message processing method shown in this embodiment does not interrupt the current emergency reminder when a new emergency message appears, and a new emergency reminder is not issued until the user considers it interrupted, so as to ensure that the user will not miss the emergency event.

[0137] See also Figure 6 , Figure 6 The flowchart of the message processing method provided by an embodiment of the present application is shown in FIG. Figure 6 The process shown is described in detail, and the message processing method may specifically include the following steps:

[0138] Step S410: Receive a first message.

[0139] Step S420: Determine the urgency level corresponding to the first message.

[0140] Step S430: If the urgency level corresponding to the first message reaches a preset urgency level, the current task of the electronic device is suspended, and a first emergency reminder is issued for the first message.

[0141] For the detailed description of step S410 to step S430 , please refer to step S110 to step S130 , which will not be repeated here.

[0142] Step S440: If a third message whose corresponding urgency reaches the preset urgency is received, the priority relationship between the first message and the third message is determined.

[0143] In this embodiment, when the electronic device is in the process of providing an emergency reminder for a first message, if a second message with a corresponding urgency level that also reaches a preset urgency level is received, the priority relationship between the first message and the third message can be determined. Optionally, the priority relationship between the first message and the third message may include: the priority of the first message is higher than the priority of the third message, or the priority of the third message is higher than the priority of the first message.

[0144] In some embodiments, the electronic device may pre-set and store priority relationships between different topic types. Based on this, when the first message and the third message are received, the topic type corresponding to the first message and the topic type corresponding to the third message may be determined, and based on the pre-stored priority relationship between different topic types, the priority relationship between the topic type corresponding to the first message and the topic type corresponding to the third message may be determined, and based on the priority relationship between the topic type corresponding to the first message and the topic type corresponding to the third message, the priority relationship between the first message and the third message may be determined.

[0145] As an example, assume that the priority of the subject type "personal safety" is higher than the priority of the subject type "violation of regulations". If the subject type corresponding to the first message is personal safety, and the third message involves violation of regulations, then it can be considered that the priority of the first message is higher than the priority of the third message; if the first message involves violation of regulations, and the third message involves personal safety, then it can be considered that the priority of the third message is higher than the priority of the third message.

[0146] In some embodiments, the electronic device may pre-set and store priority relationships between different message sources. Based on this, when the first message and the third message are received, the message source corresponding to the first message and the message source corresponding to the third message may be determined, and based on the pre-stored priority relationship between different message sources, the priority relationship between the message source corresponding to the first message and the message source corresponding to the third message may be determined, and based on the priority relationship between the message source corresponding to the first message and the message source corresponding to the third message, the priority relationship between the first message and the third message may be determined.

[0147] Optionally, the third message may be received in the form of a text message, an application notification, or an instant messaging message, etc., which is not limited here.

[0148] In some embodiments, when the electronic device receives the third message, it can determine the urgency level corresponding to the third message, and compare the urgency level corresponding to the third message with the preset urgency level to determine whether the urgency level corresponding to the third message reaches the preset urgency level.

[0149] Optionally, if it is determined that the urgency corresponding to the third message does not reach the preset urgency, the third message can be reminded in a conventional manner and the first emergency reminder for the first message can be maintained. At this time, the priority between the first message and the third message is no longer compared.

[0150] Optionally, if it is determined that the urgency level corresponding to the third message reaches a preset urgency level, a priority relationship between the first message and the third message is determined.

[0151] Step S450: If it is determined based on the priority relationship that the priority of the first message is higher than the priority of the third message, the first emergency reminder is maintained.

[0152] Wherein, when the priority relationship between the first message and the third message is obtained, it can be determined based on the priority relationship whether the priority of the first message is higher than that of the third message or whether the priority of the third message is higher than that of the first message.

[0153] In this embodiment, if it is determined based on the priority relationship that the priority of the first message is higher than the priority of the third message, it can be considered that the emergency reminder for the first message is more important than the emergency reminder for the third message, and therefore, the first emergency reminder for the first message can be maintained. That is, in the process of emergency reminder for the currently received emergency message, if an emergency message with a lower priority is received, the reminder for the current emergency message is not interrupted to ensure that each emergency message can be obtained and responded to by the user in a timely manner.

[0154] In some embodiments, if it is determined that the priority of the first message is higher than the priority of the third message, the first emergency reminder for the first message may be maintained, and the third emergency reminder for the third message may be waited. For example, only the prompt information for the first message may be displayed on the touch screen of the electronic device, or the prompt information of the first message and a small dot may be displayed on the touch screen of the electronic device at the same time, wherein the small dot is used to indicate the prompt information of the emergency message waiting to be displayed.

[0155] Step S460: If feedback information based on the first emergency reminder input is detected, the first emergency reminder is stopped, and a third emergency reminder is made for the third message.

[0156] In this embodiment, during the process of issuing an emergency reminder for the first message, the electronic device may detect whether the user has input feedback information based on the first emergency reminder. If no feedback information based on the first emergency reminder input by the user is detected, it can be considered that the user has not paid attention to or processed the first message, and the first emergency reminder for the first message can be continued; if feedback information based on the first emergency reminder input by the user is detected, it can be considered that the user has paid attention to or processed the first message, and the first emergency reminder for the first message can be stopped, and a third emergency reminder for the third emergency message can be issued. It can be understood that, through the above method, an emergency reminder that requires user interactive feedback to change different emergency messages can be set to ensure that users will not miss emergency messages.

[0157] In some embodiments, the third emergency reminder for the third message may include: continuously displaying prompt information corresponding to the third message, continuously outputting voice prompts corresponding to the third message, and / or continuously outputting vibration prompts corresponding to the third message, etc., which are not limited here.

[0158] In some embodiments, providing a third emergency reminder for the third message may include: displaying prompt information corresponding to the third message, and controlling the electronic device to provide a vibration prompt and / or a voice prompt. For example, a continuous visual reminder of the third message is provided in the form of a pop-up window or card on the screen, and at the same time, more modal prompts are provided by means of vibration and / or alarm ringing, so as to enhance the effect of the third emergency reminder.

[0159] In some implementations, if the urgency level corresponding to the third message reaches a preset urgency level, a target service / target application may be recommended, wherein the target service / target application is used to process the third message to improve the processing efficiency for emergency messages.

[0160] Step S470: If it is determined based on the priority relationship that the priority of the third message is higher than the priority of the first message, suspending the first emergency reminder for the first message and issuing a third emergency reminder for the third message.

[0161] In this embodiment, if it is determined based on the priority relationship that the priority of the third message is higher than that of the first message, it can be considered that the emergency reminder for the third message is more important than the emergency reminder for the first message. Therefore, the emergency reminder for the first message can be suspended and the emergency reminder for the third message can be issued. That is, in the process of issuing an emergency reminder for the currently received emergency message, if an emergency message with a higher priority is received, the reminder for the current emergency message can be terminated and the reminder for the new emergency message can be switched to ensure priority reminders for emergency messages with higher priority, thereby reducing possible losses to users.

[0162] In some embodiments, if it is determined that the priority of the third message is higher than the priority of the first message, the third emergency reminder for the third message may be switched to wait for the first emergency reminder for the first message. For example, only the prompt information for the third message may be displayed on the touch screen of the electronic device, or the prompt information of the third message and a small dot may be displayed on the touch screen of the electronic device at the same time, wherein the small dot is used to indicate the prompt information of the emergency message waiting to be displayed.

[0163] Step S480: If feedback information based on the third emergency reminder input is detected, the third emergency reminder is stopped and the first emergency reminder is resumed.

[0164] In this embodiment, during the process of the electronic device making an emergency reminder for the third message, it can detect whether the user has input feedback information based on the third emergency reminder. If the feedback information input by the user based on the third emergency reminder is not detected, it can be considered that the user has not paid attention to or processed the third message, and the third emergency reminder for the third message can continue to be maintained; if the feedback information input by the user based on the third emergency reminder is detected, it can be considered that the user has paid attention to or processed the third message, and the third emergency reminder for the third message can be stopped, and the first emergency reminder for the first emergency message can be restored. It can be understood that through the above method, an emergency reminder that requires user interactive feedback to change different emergency messages can be set to ensure that users will not miss emergency messages.

[0165] A message processing method provided by an embodiment of the present application receives a first message, determines the urgency corresponding to the first message, and if the urgency corresponding to the first message reaches a preset urgency, suspends the current task of the electronic device and issues a first emergency reminder for the first message. If a third message is received whose corresponding urgency reaches a preset urgency, determines the priority relationship between the first message and the third message. If the priority of the first message is determined to be higher than the priority of the third message based on the priority relationship, maintains the first emergency reminder. If feedback information based on the first emergency reminder input is detected, stops the first emergency reminder, and issues a third emergency reminder for the third message. If the priority of the third message is determined to be higher than the priority of the first message based on the priority relationship, suspends the first emergency reminder for the first message, and issues a third emergency reminder for the third message. If feedback information based on the third emergency reminder input is detected, stops the third emergency reminder, and resumes the first emergency reminder. Compared to Figure 1 The message processing method is shown. In this embodiment, when multiple emergency messages are received, emergency messages with higher priorities are given priority reminders to improve the effect of emergency message reminders.

[0166] See also Figure 7 , Figure 7 The flowchart of the message processing method provided by an embodiment of the present application is shown in FIG. Figure 7 The process shown is described in detail, and the message processing method may specifically include the following steps:

[0167] Step S510: Receive a first message.

[0168] Step S520: Determine the urgency level corresponding to the first message.

[0169] For the detailed description of step S510 to step S520, please refer to step S110 to step S120, which will not be repeated here.

[0170] Step S530: If the urgency level corresponding to the first message reaches the preset urgency level, the first message is subject-classified to obtain a subject type corresponding to the first message.

[0171] In this embodiment, if it is determined that the urgency level corresponding to the first message reaches a preset urgency level, the first message may be subject-classified to obtain a subject type corresponding to the first message.

[0172] In some embodiments, the electronic device may pre-set and store a plurality of preset subject types whose corresponding urgency reaches a preset urgency. Based on this, when it is determined that the urgency corresponding to the first message reaches the preset urgency, the first message may be subject-classified based on the plurality of preset subject types to obtain the subject type corresponding to the first message. Optionally, the plurality of preset subject types may include: violation of regulations, personal safety, emergency accidents, financial security, natural disasters, terrorist and violent cases, etc., which are not limited here.

[0173] As an implementable method, if it is determined that the urgency corresponding to the first message reaches a preset urgency level, the first message can be subject-classified through a trained large language model, and the subject type corresponding to the first message can be output, wherein the trained large language model is obtained through training based on scenario learning technology.

[0174] Step S540: suspend the current task of the electronic device, and issue a first emergency reminder for the first message based on the subject type corresponding to the first message.

[0175] In this embodiment, when the subject type corresponding to the first message is determined, the current task of the electronic device can be suspended, and a first emergency reminder is made for the first message based on the subject type corresponding to the first message. It can be understood that making a first emergency reminder for the first message based on the subject type corresponding to the first message can enable the user to intuitively understand the subject type of the emergency message, so as to facilitate the selection of effective processing.

[0176] In some embodiments, performing a first urgent reminder on the first message based on the subject type corresponding to the first message may include: determining a prompt word based on the subject type corresponding to the first message, and performing a first urgent reminder on the first message based on the prompt word. That is, determining a prompt word based on the subject type corresponding to the first message, and displaying the prompt word on the touch screen of the electronic device, so that the user can intuitively understand the subject type corresponding to the first message and choose to perform effective processing.

[0177] As an example, assuming the subject type is "violations of regulations", the prompt word may be "violations of regulations", so that the user can intuitively know that the current emergency message is used to remind the user that there are violations of regulations.

[0178] As an implementable manner, the electronic device may pre-set multiple subject types, multiple prompt words, and the correspondence between the multiple subject types and the multiple prompt words. Based on this, when determining the subject type corresponding to the first message, the prompt words corresponding to the subject type corresponding to the first message may be determined based on the correspondence between the multiple subject types and the multiple prompt words, and the first emergency reminder may be issued for the first message based on the prompt words corresponding to the subject type corresponding to the first message.

[0179] The message processing method provided by an embodiment of the present application receives a first message, determines the urgency level corresponding to the first message, and if the urgency level corresponding to the first message reaches a preset urgency level, classifies the first message by subject to obtain the subject type corresponding to the first message, pauses the current task of the electronic device, and issues a first emergency reminder for the first message based on the subject type corresponding to the first message. Figure 1 The message processing method shown in this embodiment also performs an emergency reminder based on the subject type of the emergency message to improve the intuitiveness and effect of the emergency message reminder.

[0180] See also Figure 8 , Figure 8 The flowchart of the message processing method provided by an embodiment of the present application is shown in FIG. Figure 8 The process shown is described in detail, and the message processing method may specifically include the following steps:

[0181] Step S610: Receive a first message.

[0182] Step S620: Determine the urgency level corresponding to the first message.

[0183] Step S630: If the urgency level corresponding to the first message reaches a preset urgency level, the current task of the electronic device is suspended, and a first emergency reminder is issued for the first message.

[0184] For the detailed description of step S610 to step S630 , please refer to step S110 to step S130 , which will not be repeated here.

[0185] Step S640: If the first emergency reminder is stopped, the emergency event corresponding to the first message is cached.

[0186] In some cases, when an emergency occurs, different platforms / media will send emergency messages based on the same event, and these emergency messages will be received by electronic devices one after another. If a message about the same event is received during the emergency reminder caused by the first message, multiple identical emergency reminders will appear in succession, causing excessive interference to the user. To this end, this embodiment sets an emergency reminder event cache to record emergency events corresponding to emergency reminders, such as type, subject, time, location, person, whether a reminder has been issued, and other elements. When a new emergency message is received within a period of time, it is determined whether the new emergency message notification is the same as the cached reminded event: if they are the same, no emergency reminder will be issued; if they are different, another emergency reminder will be issued.

[0187] Specifically, in this embodiment, the electronic device may cache the emergency event corresponding to the first message when the first emergency reminder is stopped. Optionally, the cached emergency event of the first message may include the type, subject, time, location, person, whether a reminder has been issued, and other elements of the first message, which are not limited here.

[0188] In some implementations, when the electronic device is performing a first emergency reminder for a first message, if feedback information based on the first emergency reminder input is detected, the electronic device may stop performing the first emergency reminder for the first message and cache the emergency event corresponding to the first message.

[0189] As an implementable method, in the case of caching an emergency event corresponding to a first message, the cache duration of the emergency event corresponding to the first message can be determined, and the cache duration can be compared with a duration threshold to determine whether the cache duration has reached the duration threshold. If it is determined that the cache duration of the emergency event corresponding to the first message has reached the duration threshold, it can be characterized that the first message has stopped providing emergency reminders for a long time, and even if the same emergency reminder is provided again, it will not cause excessive interference to the user. Therefore, the cache of the emergency event for the first message can be cleared to free up storage space of the electronic device.

[0190] As another practicable manner, in the case of caching an emergency event corresponding to a first message, it is possible to detect whether a clearing operation of the cache of the emergency event corresponding to the first message is received. If it is determined that a clearing operation of the cache of the emergency event corresponding to the first message is received, it indicates that the user actively clears the cache of the emergency event corresponding to the first message, and therefore, the cache of the emergency event corresponding to the first message can be cleared to meet the user's interaction needs.

[0191] Step S650: If a fourth message corresponding to an emergency level reaching the preset emergency level is received, the emergency event corresponding to the fourth message is determined.

[0192] In this embodiment, after the electronic device caches the emergency event corresponding to the first message, if it receives a fourth message whose corresponding urgency also reaches the preset urgency, it can determine the emergency event corresponding to the fourth message, for example, determine the type, subject, time, place, person, whether a reminder has been given, and other elements corresponding to the fourth message.

[0193] Optionally, the fourth message may be received in the form of a text message, an application notification, or an instant messaging message, etc., which is not limited here.

[0194] In some embodiments, when the electronic device receives the fourth message, it can determine the urgency level corresponding to the fourth message, and compare the urgency level corresponding to the fourth message with a preset urgency level to determine whether the urgency level corresponding to the fourth message reaches the preset urgency level.

[0195] Optionally, if it is determined that the urgency level corresponding to the fourth message does not reach the preset urgency level, the fourth message can be reminded in a conventional manner, and the emergency event corresponding to the fourth message is no longer determined. If it is determined that the urgency level corresponding to the fourth message reaches the preset urgency level, the emergency event corresponding to the fourth message can be determined.

[0196] Step S660: If the emergency event corresponding to the fourth message is the same as the emergency event corresponding to the cached first message, then no fourth emergency reminder is issued for the fourth message.

[0197] In this embodiment, when the emergency event corresponding to the fourth message is obtained, the emergency event corresponding to the fourth message can be compared with the emergency event corresponding to the cached first message to determine whether the emergency event corresponding to the fourth message is the same as the emergency event corresponding to the cached first message. If it is determined that the emergency event corresponding to the fourth message is the same as the emergency event corresponding to the cached first message, the fourth emergency reminder may no longer be made for the fourth message. If it is determined that the emergency event corresponding to the fourth message is not the same as the emergency event corresponding to the cached first message, the fourth emergency reminder may be made for the fourth message.

[0198] The message processing method provided by an embodiment of the present application receives a first message, determines the urgency level corresponding to the first message, and if the urgency level corresponding to the first message reaches a preset urgency level, suspends the current task of the electronic device, and issues a first emergency reminder for the first message. If the first emergency reminder is stopped, the emergency event corresponding to the first message is cached. If a fourth message is received whose corresponding urgency level reaches the preset urgency level, determines the emergency event corresponding to the fourth message. If the emergency event corresponding to the fourth message is the same as the emergency event corresponding to the cached first message, the fourth emergency reminder is not issued for the fourth message. Compared to Figure 1 The message processing method shown in this embodiment also caches the emergency events corresponding to the emergency messages that have been reminded. When there is a new emergency message belonging to the same emergency event later, no emergency reminder will be given, thereby avoiding repeated reminders and causing excessive interference to the user.

[0199] See also Fig. 9 , Fig. 9 The module block diagram of the message processing device provided by an embodiment of the present application is shown. The message processing device 200 is applied to an electronic device. Fig. 9 The block diagram shown in FIG. 1 is used to illustrate that the message processing device 200 includes: a first message receiving module 210, an emergency level determination module 220, and a first emergency reminder module 230, wherein:

[0200] The first message receiving module 210 is configured to receive a first message.

[0201] The urgency level determination module 220 is configured to determine the urgency level corresponding to the first message.

[0202] Furthermore, the emergency level determination module 220 includes: an emergency influencing factor determination submodule and a first emergency level determination submodule, wherein:

[0203] The emergency impact factor determination submodule is used to determine the emergency impact factor corresponding to the first message, wherein the emergency impact factor includes one or a combination of whether processing is required, processing time limit and consequences of unprocessed.

[0204] The first urgency level determination submodule is configured to determine the urgency level corresponding to the first message based on the emergency influencing factors.

[0205] Further, the urgency determination module 220 includes: a second urgency determination submodule, wherein:

[0206] The second urgency determination submodule is used to input the first message into a trained large language model to obtain the urgency corresponding to the first message output by the trained large language model, wherein the trained large language model is trained based on scenario learning technology.

[0207] The first emergency reminder module 230 is used to suspend the current task of the electronic device and issue a first emergency reminder for the first message if the urgency level corresponding to the first message reaches a preset urgency level.

[0208] Furthermore, the first emergency reminder module 230 includes: a topic type acquisition submodule and a first emergency reminder submodule, wherein:

[0209] The subject type obtaining submodule is used to classify the subject of the first message to obtain the subject type corresponding to the first message if the urgency level corresponding to the first message reaches the preset urgency level.

[0210] The first emergency reminder submodule is used to suspend the current task of the electronic device and make a first emergency reminder for the first message based on the subject type corresponding to the first message.

[0211] Furthermore, the first emergency reminder submodule includes: a prompt word determination unit and a first emergency reminder unit, wherein:

[0212] The prompt word determining unit is used to determine the prompt word based on the subject type corresponding to the first message.

[0213] The first emergency reminder unit is used to make a first emergency reminder for the first message based on the prompt word.

[0214] Furthermore, the first emergency reminder module 230 includes: a prompt information display submodule, wherein:

[0215] The prompt information display submodule is used to display the prompt information corresponding to the first message and control the electronic device to perform vibration prompts and / or voice prompts.

[0216] Furthermore, the message processing device 200 further includes: a first emergency reminder stop module, wherein:

[0217] The first emergency reminder stopping module is configured to stop the first emergency reminder if feedback information based on the first emergency reminder input is detected.

[0218] Furthermore, the message processing device 200 further includes: a first emergency reminder holding module and a second emergency reminder module, wherein:

[0219] The first emergency reminder holding module is used to hold the first emergency reminder if a second message corresponding to the emergency level reaching the preset emergency level is received.

[0220] The second emergency reminder module is used to stop the first emergency reminder and make a second emergency reminder for the second message if feedback information based on the first emergency reminder input is detected.

[0221] Furthermore, the message processing device 200 further includes: a priority relationship determination module, a first emergency reminder holding module and a third emergency reminder module, wherein:

[0222] The priority relationship determination module is used to determine the priority relationship between the first message and the third message if a third message whose corresponding urgency reaches the preset urgency is received.

[0223] The first emergency reminder holding module is configured to hold the first emergency reminder if it is determined based on the priority relationship that the priority of the first message is higher than the priority of the third message.

[0224] The third emergency reminder module is used to stop the first emergency reminder and make a third emergency reminder for the third message if feedback information based on the first emergency reminder input is detected.

[0225] Furthermore, the message processing device 200 further includes: a third emergency reminder module and a first emergency reminder recovery module, wherein:

[0226] The third emergency reminder module is used to suspend the first emergency reminder for the first message and to issue a third emergency reminder for the third message if it is determined that the priority of the third message is higher than the priority of the first message based on the priority relationship.

[0227] The first emergency reminder recovery module is configured to stop the third emergency reminder and recover the first emergency reminder if feedback information based on the third emergency reminder input is detected.

[0228] Furthermore, the message processing device 200 further includes: an emergency event buffer module, wherein:

[0229] The emergency event caching module is used to cache the emergency event corresponding to the first message if the first emergency reminder is stopped.

[0230] Furthermore, the message processing device 200 further includes: an emergency event determination module and a fourth emergency reminder prohibition module, wherein:

[0231] The emergency event determination module is used to determine the emergency event corresponding to the fourth message if a fourth message corresponding to the emergency level reaches the preset emergency level is received.

[0232] The fourth emergency reminder prohibition module is used for not issuing a fourth emergency reminder for the fourth message if the emergency event corresponding to the fourth message is the same as the emergency event corresponding to the cached first message.

[0233] Furthermore, the message processing device 200 further includes: a first emergency event clearing module and a second emergency event clearing module, wherein:

[0234] The first emergency event clearing module is configured to clear the cache of the emergency event corresponding to the first message if the cache duration of the emergency event corresponding to the first message reaches a duration threshold.

[0235] The second emergency event clearing module is configured to clear the cache of the emergency event corresponding to the first message if a clearing operation for the cache of the emergency event corresponding to the first message is received.

[0236] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0237] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.

[0238] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0239] See also Fig.10, which shows a structural block diagram of an electronic device 100 provided in an embodiment of the present application. The electronic device 100 may be an electronic device capable of running applications, such as a smart phone, a tablet computer, an e-book, etc. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by one or more processors 110, and the one or more programs are configured to execute the method described in the aforementioned method embodiment.

[0240] Among them, the processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes various functions and processes data of the electronic device 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 110 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented separately through a communication chip.

[0241] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). The memory 120 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing functions (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat record data) created by the electronic device 100 during use.

[0242] See also Fig.11, which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 300 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.

[0243] The computer readable storage medium 300 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 300 includes a non-transitory computer-readable storage medium. The computer readable storage medium 300 has storage space for program code 310 that performs any method steps in the above method. These program codes can be read from or written to one or more computer program products. The program code 310 can be compressed, for example, in an appropriate form.

[0244] To summarize, the message processing method, device, electronic device, and storage medium provided in the embodiments of the present application receive a first message, determine the degree of urgency corresponding to the first message, and if the degree of urgency corresponding to the first message reaches a preset degree of urgency, suspend the current task of the electronic device and issue a first emergency reminder for the first message. Thus, for messages with a higher degree of urgency, by suspending the current task of the electronic device and issuing an emergency reminder for the message, it is possible to avoid irreparable losses caused by the user's failure to respond to the message in time and missing the best processing opportunity.

[0245] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A message processing method, characterized in that: Applied to electronic equipment, the method comprises: receiving a first message; Determining the urgency level corresponding to the first message; If the urgency level corresponding to the first message reaches a preset urgency level, the current task of the electronic device is suspended, and a first emergency reminder is issued for the first message.

2. The method according to claim 1, characterized in that After the first urgent reminder is given to the first message, the method further includes: If feedback information based on the first emergency reminder input is detected, the first emergency reminder is stopped.

3. The method according to claim 1, characterized in that After the first urgent reminder is given to the first message, the method further includes: If a second message is received whose corresponding urgency reaches the preset urgency, maintaining the first emergency reminder; If feedback information based on the first emergency reminder input is detected, the first emergency reminder is stopped, and a second emergency reminder is performed for the second message.

4. The method according to claim 1, characterized in that: After the first urgent reminder is given to the first message, the method further includes: If a third message whose corresponding urgency reaches the preset urgency, is received, determining a priority relationship between the first message and the third message; If it is determined based on the priority relationship that the priority of the first message is higher than the priority of the third message, maintaining the first emergency reminder; If feedback information based on the first emergency reminder input is detected, the first emergency reminder is stopped, and a third emergency reminder is performed for the third message.

5. The method according to claim 4, characterized in that The method further comprises: If it is determined based on the priority relationship that the priority of the third message is higher than the priority of the first message, suspending the first emergency reminder for the first message and issuing a third emergency reminder for the third message; If feedback information based on the third emergency reminder input is detected, the third emergency reminder is stopped and the first emergency reminder is resumed.

6. The method according to any one of claims 2 to 5, characterized in that: The feedback information includes: A touch operation on a touch screen of the electronic device; or A touch operation is performed on a target control displayed on the touch screen of the electronic device, wherein the target control is used to indicate closing an emergency reminder or processing a message.

7. The method according to any one of claims 1 to 5, characterized in that: If the urgency level corresponding to the first message reaches a preset urgency level, pausing the current task of the electronic device and issuing a first emergency reminder for the first message includes: If the urgency level corresponding to the first message reaches the preset urgency level, subject-classifying the first message to obtain a subject type corresponding to the first message; The current task of the electronic device is suspended, and a first emergency reminder is issued for the first message based on the subject type corresponding to the first message.

8. The method according to claim 7, characterized in that The performing a first emergency reminder on the first message based on the subject type corresponding to the first message includes: Determining a prompt word based on the subject type corresponding to the first message; A first emergency reminder is issued for the first message based on the prompt word.

9. The method according to any one of claims 1 to 5, characterized in that: The determining the urgency level corresponding to the first message includes: Determine an emergency impact factor corresponding to the first message, wherein the emergency impact factor includes one or a combination of whether processing is required, a processing time limit, and consequences of non-processing; Based on the emergency influencing factors, the urgency level corresponding to the first message is determined.

10. The method according to any one of claims 1 to 5, characterized in that: After the first urgent reminder is given to the first message, the method further includes: If the first emergency reminder is stopped, the emergency event corresponding to the first message is cached.

11. The method according to claim 10, characterized in that After the step of caching the emergency event corresponding to the first message if the first emergency reminder is stopped, the method further includes: If a fourth message corresponding to an emergency level reaching the preset emergency level is received, determining an emergency event corresponding to the fourth message; If the emergency event corresponding to the fourth message is the same as the emergency event corresponding to the cached first message, no fourth emergency reminder is issued for the fourth message.

12. The method according to claim 10, characterized in that After the step of caching the emergency event corresponding to the first message if the first emergency reminder is stopped, the method further includes: If the cache duration of the emergency event corresponding to the first message reaches a duration threshold, clearing the cache of the emergency event corresponding to the first message; or If a clearing operation for the cache of the emergency event corresponding to the first message is received, the cache of the emergency event corresponding to the first message is cleared.

13. The method according to any one of claims 1 to 5, characterized in that: The performing a first emergency reminder on the first message includes: Display prompt information corresponding to the first message, and control the electronic device to perform vibration prompt and / or voice prompt.

14. The method according to any one of claims 1 to 5, characterized in that: The determining the urgency level corresponding to the first message includes: The first message is input into a trained large language model to obtain the urgency level corresponding to the first message output by the trained large language model, wherein the trained large language model is trained based on scenario learning technology.

15. A message processing device, characterized in that: Applied to electronic equipment, the device comprises: A first message receiving module, used for receiving a first message; An urgency determination module, used to determine the urgency corresponding to the first message; The first emergency reminder module is used to suspend the current task of the electronic device and issue a first emergency reminder for the first message if the urgency level corresponding to the first message reaches a preset urgency level.

16. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory is coupled to the processor, the memory stores instructions, and when the instructions are executed by the processor, the processor executes the method according to any one of claims 1 to 14.

17. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, which can be called by a processor to execute the method according to any one of claims 1 to 14.