Emergency help seeking method, system, equipment and medium

By matching topic registration and emergency help messages on the message server, the problem of difficulty in seeking help in time in emergencies is solved, and the convenience and timeliness of emergency help are achieved is achieved, and the user experience and the safety of medical staff are improved.

CN119854767APending Publication Date: 2025-04-18GUANGDONG BAIHUI TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411837646.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-13
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

In the medical and health scenarios, when medical staff seeking emergency help when encountering emergencies, it is difficult for them to find matching corresponding personnel in a timely manner, resulting in low convenience and timeliness, which can easily cause discomfort in patients and poor user experience.

Method used

By implementing topic registration and emergency help message matching on the message server, obtaining preset topic lists, receiving the terminal's topic registration request and emergency help message, performing response matching and terminal filtering, quickly locate and sending emergency help messages to the target terminal.

Benefits of technology

It improves the convenience and timeliness of emergency help, reduces the risk of medical staff being exposed to patient perception, improves user experience, and allows medical staff to receive help faster and safer.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119854767A_ABST
    Figure CN119854767A_ABST
Patent Text Reader

Abstract

The invention discloses an emergency calling method, system and device and a medium, and the method is applied to a message server, and comprises the steps: obtaining a preset first theme list; theme registration requests from a plurality of first terminals are received, terminal registration is conducted on the first theme list according to all the theme registration requests, a second theme list is obtained, and the second theme list comprises a plurality of terminal connection events and a plurality of concerned themes; receiving an emergency help message from a second terminal, and performing first response matching on the second theme list according to the emergency help message to obtain a first target connection event; and according to the first target connection event, performing terminal screening on all the first terminals to obtain a target terminal, and sending the emergency help message to the target terminal. According to the method, the convenience and timeliness of emergency help seeking can be improved, and the user experience is improved. The invention relates to the technical field of medical services.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of medical service technology, and in particular to an emergency assistance method, system, equipment and medium. Background Art

[0002] In the medical and health care scenario, medical emergency assistance refers to the act of medical staff seeking help or assistance from relevant personnel when encountering an emergency.

[0003] At present, in the existing technology, in the outpatient consultation process, when medical staff encounter emergencies and need help, they usually rely on leaving their work stations to shout or contact relevant personnel by phone to seek help from relevant personnel. This method often fails to find the corresponding personnel matching the emergency in time, and the convenience of emergency help is not high, and the timeliness is not satisfactory. In addition, this method is easy to cause discomfort to patients and other personnel for certain types of emergencies (such as conflicts between patients, etc.), and the user experience is not good.

[0004] Therefore, the problems existing in the prior art still need to be solved and optimized. Summary of the invention

[0005] The purpose of the present invention is to solve one of the technical problems existing in the related art to at least a certain extent.

[0006] To this end, an object of an embodiment of the present invention is to provide an emergency assistance method, system, device and medium, wherein the method can improve the convenience and timeliness of emergency assistance and improve user experience.

[0007] In order to achieve the above technical objectives, the technical solutions adopted by the embodiments of the present application include:

[0008] In a first aspect, an embodiment of the present application provides an emergency assistance method, which is applied to a message service end, comprising:

[0009] Get the preset first topic list;

[0010] receiving topic registration requests from a plurality of first terminals, and performing terminal registration on the first topic list according to all the topic registration requests to obtain a second topic list, wherein the second topic list includes a plurality of terminal connection events and a plurality of attention topics, each of the terminal connection events being used to indicate a network connection between the first terminal and the message server, and each of the attention topics corresponding to a plurality of the terminal connection events;

[0011] receiving an emergency help message from a second terminal, and performing a first response match on the second topic list according to the emergency help message to obtain a first target connection event, wherein the first target connection event is a terminal connection event corresponding to a target attention topic, the target attention topic is an attention topic that successfully matches a message topic corresponding to the emergency help message, and the second terminal is the first terminal that initiated the emergency help;

[0012] According to the first target connection event, terminal screening is performed on all the first terminals to obtain a target terminal, and the emergency help message is sent to the target terminal.

[0013] In addition, the method according to the above embodiment of the present application may also have the following additional technical features:

[0014] Furthermore, in one embodiment of the present application, the method further includes:

[0015] According to the subject registration request, terminal registration is performed on the first subject list to obtain a second subject list, including:

[0016] Constructing a connection event for a first terminal corresponding to the subject registration request to obtain a terminal connection event;

[0017] Parsing the topic parameters of the topic registration request to obtain a number of topics of interest;

[0018] According to the terminal connection event and all the concerned topics, a mapping relationship is constructed for the first topic list to obtain the second topic list.

[0019] Further, in an embodiment of the present application, performing a first response match on the second subject list according to the emergency help message to obtain a first target connection event includes:

[0020] Performing subject parsing on the emergency help message to obtain a message subject corresponding to the emergency help message;

[0021] According to the message subject, the second subject list is subjected to subject matching to obtain the first target connection event.

[0022] Further, in one embodiment of the present application, performing subject parsing on the emergency help message to obtain a message subject corresponding to the emergency help message includes:

[0023] Get the preset theme rules;

[0024] Parsing the emergency help message to obtain a first message field, a second message field, and a third message field, wherein the first message field is used to indicate the first terminal selected by the second terminal, the second message field is used to indicate the emergency type of the emergency help message, and the third message field is used to indicate the terminal type of the second terminal;

[0025] According to the subject rule, performing rule comparison on the first message field to obtain a rule comparison result;

[0026] If the rule comparison result is that the first message field satisfies the subject rule, the message subject is generated according to the first message field; or, if the rule comparison result is that the first message field does not satisfy the subject rule, the message subject is generated according to the second message field and the third message field.

[0027] Further, in one embodiment of the present application, performing topic matching on the second topic list according to the message topic to obtain the first target connection event includes:

[0028] According to the message topic, all the concerned topics in the second topic list are subject-filtered to obtain a topic filtering result;

[0029] If the topic screening result is that there is no topic of interest that successfully matches the message topic, then retry topic matching on the message topic to obtain the target topic of interest; or, if the topic screening result is that there is a topic of interest that successfully matches the message topic, then generate the target topic of interest based on the topic screening result;

[0030] According to the target concerned topic, a connection event mapping search is performed on the second topic list to obtain the first target connection event.

[0031] Further, in one embodiment of the present application, performing a topic retry matching on the message topic to obtain the target topic of interest includes:

[0032] Obtaining preset retry conditions and retry waiting information of the message subject;

[0033] According to the retry waiting information, condition verification is performed on the retry condition to obtain a condition verification result;

[0034] If the result of the condition verification is that the retry waiting information satisfies the retry condition, then according to the message subject, the current second topic list is screened for topic retry to obtain the target focus topic; or, if the result of the condition verification is that the retry waiting information does not satisfy the retry condition, then return to execute the step of obtaining the preset retry condition and the retry waiting information of the message subject.

[0035] Furthermore, in the embodiment of the present application, the method further includes:

[0036] Receiving a help response message from a target terminal;

[0037] According to the help response message, a second response match is performed on the second subject list to obtain a second target connection event, where the second target connection event is a terminal connection event corresponding to the message subject;

[0038] According to the second target connection event, the help response message is sent to the second terminal.

[0039] In a second aspect, an embodiment of the present application provides an emergency assistance system, including:

[0040] A first processing unit, used for obtaining a preset first topic list;

[0041] a second processing unit, configured to receive topic registration requests from a plurality of first terminals, and perform terminal registration on the first topic list according to all the topic registration requests to obtain a second topic list, wherein the second topic list includes a plurality of terminal connection events and a plurality of attention topics, each of the terminal connection events being used to indicate a network connection between the first terminal and the message server, and each of the attention topics corresponding to a plurality of the terminal connection events;

[0042] a third processing unit, configured to receive an emergency help message from a second terminal, and perform a first response match on the second topic list according to the emergency help message to obtain a first target connection event, wherein the first target connection event is a terminal connection event corresponding to a target attention topic, the target attention topic is an attention topic that successfully matches a message topic corresponding to the emergency help message, and the second terminal is a first terminal that initiates an emergency help;

[0043] The fourth processing unit is configured to perform terminal screening on all the first terminals according to the first target connection event, obtain a target terminal, and send the emergency help message to the target terminal.

[0044] In a third aspect, an embodiment of the present application further provides an electronic device, including:

[0045] at least one processor;

[0046] at least one memory for storing at least one program;

[0047] When the at least one program is executed by the at least one processor, the at least one processor implements the above method.

[0048] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores a program executable by a processor, and the program executable by the processor is used to implement the above method when executed by the processor.

[0049] The advantages and benefits of the present application will be partially given in the following description, and partially become apparent from the following description, or be understood through the practice of the present application:

[0050] An emergency help method, system, device and medium disclosed in an embodiment of the present application, wherein the method is applied to a message service end, and includes obtaining a preset first topic list; receiving topic registration requests from a plurality of first terminals, and performing terminal registration on the first topic list according to all the topic registration requests to obtain a second topic list, wherein the second topic list includes a plurality of terminal connection events and a plurality of attention topics, each of the terminal connection events is used to indicate a network connection between a first terminal and the message service end, and each of the attention topics corresponds to a plurality of the terminal connection events; receiving an emergency help message from a second terminal, and performing a first response matching on the second topic list according to the emergency help message to obtain a first target connection event, wherein the first target connection event is a terminal connection event corresponding to a target attention topic, and the target attention topic is an attention topic that successfully matches the message topic corresponding to the emergency help message, and the second terminal is the first terminal that initiates the emergency help; performing terminal screening on all the first terminals according to the first target connection event to obtain a target terminal, and sending the emergency help message to the target terminal. This method uses the terminal connection event obtained when each terminal registers a topic on the message service end to enable each terminal to initiate an emergency request to other terminals, effectively improving the convenience of emergency requests. In addition, this method uses the concerned topics corresponding to each terminal in the topic list to enable the message service end to promptly and accurately determine the target terminal that best matches the emergency request message after receiving the emergency request message from the second terminal, so that the second terminal user can receive emergency assistance in a timely manner, effectively improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the embodiments of the present application or the drawings of the related technical solutions in the prior art are introduced below. It should be understood that the drawings introduced below are only for the convenience of clearly expressing some embodiments of the technical solutions of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0052] Figure 1 A flowchart of an emergency assistance method provided in an embodiment of the present application;

[0053] Figure 2 A schematic diagram of the structural framework of an emergency assistance system provided in an embodiment of the present application;

[0054] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and are not to be construed as limitations on the present application. For the step numbers in the following embodiments, they are only provided for the convenience of explanation, and the order between the steps is not limited in any way, and the execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.

[0056] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0057] At present, in the existing technology, when medical staff (such as doctors, nurses, etc.) encounter emergencies and need help during outpatient consultations, they usually rely on the medical staff to leave their work stations and shout or contact the corresponding personnel by phone to seek help from the corresponding personnel. Specifically, the method of medical staff leaving their work stations and shouting for emergency help is likely to miss the patient's golden rescue time, and the method of contacting by phone requires the medical staff to contact the site personnel in the help contact station, and then the site personnel will contact the corresponding personnel. These methods are not very convenient for seeking emergency help, and the timeliness of emergency help in the event of emergencies (such as emergency rescue of patients, conflicts between patients, violent conflicts in outpatient departments, etc.) is not satisfactory.

[0058] In addition, for some emergencies such as conflicts between patients and violent clashes in outpatient departments, it is more direct to leave the work station and shout or contact by phone. The medical staff's behavior of seeking emergency help is directly exposed to the patients and other people, which can easily cause discomfort to patients and their families, and may threaten the personal safety of medical staff, resulting in a poor user experience.

[0059] In view of this, the embodiments of the present invention provide an emergency help method, system, device and medium, wherein the method can enable medical staff to initiate emergency help requests to other terminals on the terminal through the terminal connection event obtained when each terminal registers the topic on the message service end, which effectively improves the convenience of emergency help requests and reduces the exposure of medical staff's emergency help-seeking behavior to patients and other personnel. In addition, the method can enable the message service end to promptly and accurately determine the target terminal that best matches the emergency help message after receiving the emergency help message from the second terminal through the concerned topics corresponding to each terminal in the topic list, so that the second terminal user can receive emergency assistance in a timely manner, effectively improving the user experience.

[0060] Reference Figure 1 In an embodiment of the present application, an emergency help method is applied to a message server, including:

[0061] Step 110: Obtain a preset first topic list;

[0062] In an embodiment of the present application, the first topic list can be a preset topic list in the message server, or it can be a real-time topic list of the message server during the operation of the message service. When the first topic list is a preset topic list, the first topic list can be a blank topic list, or it can be a topic list during the last operation of the message service. The example of this application is for illustration only.

[0063] Step 120: receiving topic registration requests from a plurality of first terminals, and performing terminal registration on the first topic list according to all the topic registration requests to obtain a second topic list, wherein the second topic list includes a plurality of terminal connection events and a plurality of concerned topics, each of the terminal connection events being used to indicate a network connection between the first terminal and the message server, and each of the concerned topics corresponding to a plurality of the terminal connection events;

[0064] In the embodiment of the present application, the first terminal may be a user terminal of a medical staff, which may be a user terminal of a doctor or a user terminal of a nurse, etc. Specifically, for a certain first terminal, the first terminal may generate a corresponding topic registration request in response to a topic registration instruction of the medical staff, and then send the topic registration request to the message service center, wherein the topic registration instruction may be obtained by detecting a user's click operation on a help icon on the first terminal, and the specific topic registration request may include information data such as a topic of interest, and the embodiment of the present application does not limit the topic registration request.

[0065] It can be understood that for a certain first terminal, after receiving the topic registration request of the first terminal, the message server can establish or maintain a network connection between the message server and the first terminal according to the topic registration request, and determine the network connection as a terminal connection event, and then update the terminal connection event and the topic registration of interest in the topic registration request to the first topic list, thereby obtaining the second topic list. The same is true for other first terminals, and this application will not be repeated here.

[0066] In some embodiments, the step 120, performing terminal registration on the first theme list according to the theme registration request to obtain a second theme list, includes:

[0067] A1. constructing a connection event for the first terminal corresponding to the subject registration request to obtain a terminal connection event;

[0068] A2. parsing the topic parameters of the topic registration request to obtain a number of topics of interest;

[0069] A3. According to the terminal connection event and all the concerned topics, a mapping relationship is constructed for the first topic list to obtain the second topic list.

[0070] In an embodiment of the present application, for a certain topic registration request, step A1 can be to establish a TCP long connection between the first terminal corresponding to the topic registration request and the message server, and continuously maintain the validity of the TCP long connection through the heartbeat mechanism between the first terminal and the message server, so that the TCP long connection can be used as a terminal connection event.

[0071] It can be understood that step A2 can be to extract and parse the parameters related to the topic in the topic registration request to obtain several topics of interest to the first terminal. The topics of interest can specifically include at least one of the user ID (receive UserId), the department (deptId), the message type (msgType), etc., wherein the user ID can be the ID of the first terminal itself or the ID of other first terminals. The department can be the department to which the first terminal currently belongs or the department that the first terminal is currently paying attention to. The message type can be any type of daily call, emergency help, etc. The example in this application is for illustrative purposes only.

[0072] It should be noted that step A3 can be based on the terminal connection event, respectively establish a mapping relationship with all corresponding topics of interest, and then add the terminal connection event, all topics of interest and the corresponding mapping relationship to the first topic list, so as to obtain the second topic list. In addition, since different first terminals may have the same topic of interest, when a topic of interest has multiple first terminals paying attention to it, the topic of interest corresponds to multiple terminal connection events, and each terminal connection event corresponds to one first terminal.

[0073] Step 130: receiving an emergency help message from a second terminal, and performing a first response match on the second topic list according to the emergency help message to obtain a first target connection event, wherein the first target connection event is a terminal connection event corresponding to a target attention topic, the target attention topic is an attention topic that successfully matches a message topic corresponding to the emergency help message, and the second terminal is the first terminal that initiates the emergency help;

[0074] In an embodiment of the present application, the second terminal may be responsive to a first emergency help instruction provided by a user of the second terminal, generate an emergency help message of a daily call type, and send the emergency help message of the daily call type to a message server; alternatively, the second terminal may be responsive to a second emergency help instruction provided by a user of the second terminal, generate an emergency help message of an emergency help type, and send the emergency help message of the emergency help type to the message server. The detection of the first emergency help instruction and the second emergency help instruction is similar to the content of the aforementioned subject registration instruction, and can be simply inferred, and this application will not elaborate on it here.

[0075] It can be understood that after receiving the emergency help message provided by the second terminal, the message server can obtain several first target connection events corresponding to the emergency help message from the second topic list based on the emergency help message. The first target connection event is the terminal connection event corresponding to the focus topic that successfully matches the message subject of the emergency help message.

[0076] It should be noted that, since each focus topic corresponds to a number of terminal connection events, the number of first target connection events obtained in the embodiment of the present application may be one or more.

[0077] In some embodiments, the step 130, performing a first response match on the second subject list according to the emergency help message to obtain a first target connection event, includes:

[0078] B1. Performing subject parsing on the emergency help message to obtain a message subject corresponding to the emergency help message;

[0079] Furthermore, the step B1, performing subject parsing on the emergency help message to obtain a message subject corresponding to the emergency help message, includes:

[0080] B11. Obtain preset subject rules;

[0081] B12. Parse the emergency help message to obtain a first message field, a second message field, and a third message field, wherein the first message field is used to indicate the first terminal selected by the second terminal, the second message field is used to indicate the emergency type of the emergency help message, and the third message field is used to indicate the terminal type of the second terminal;

[0082] B13. Perform rule comparison on the first message field according to the subject rule to obtain a rule comparison result;

[0083] B14. If the rule comparison result is that the first message field satisfies the subject rule, generating the message subject according to the first message field;

[0084] Alternatively, B15: if the rule comparison result is that the first message field does not satisfy the subject rule, the message subject is generated according to the second message field and the third message field.

[0085] In an embodiment of the present application, the message service end may first obtain a preset subject rule, which is used to match the message field related to the message subject in the emergency help message; then, the message data packet corresponding to the emergency help message is parsed to obtain a first message field, a second message field and a third message field, wherein the first message field is used to indicate the first terminal receiving the emergency help message (i.e., the first terminal selected by the second terminal), the second message field is used to indicate the emergency type of the emergency help message, which may be a daily call type or an emergency help type, etc., and the third message field is used to indicate the terminal type of the second terminal, which may be any one of the department to which the second terminal belongs, the department to which the first terminal other than the second terminal belongs, etc. The example of the present application is for illustration only.

[0086] It can be understood that, in the embodiment of the present application, taking the subject rule as whether it is a blank field as an example, the rule comparison in step B13 can be based on the subject rule to determine whether the first message field is empty. If the first message field is not empty, a rule comparison result is generated that characterizes that the first message field satisfies the subject rule. At this time, a message subject can be generated based on the message content in the first message field; or, if the first message field is empty, a rule comparison result is generated that characterizes that the first message field does not satisfy the subject rule. At this time, a message subject can be generated based on the message content in the second message field and the message content in the third message field.

[0087] B2. Perform topic matching on the second topic list according to the message topic to obtain the first target connection event.

[0088] Furthermore, the step B2, performing topic matching on the second topic list according to the message topic to obtain the first target connection event, includes:

[0089] B21. According to the message subject, subject screening is performed on all concerned subjects in the second subject list to obtain a subject screening result;

[0090] In an embodiment of the present application, the message server may match each topic of interest in the second topic list one by one based on the acquired message topic, so as to obtain a topic screening result indicating whether there is a topic of interest that successfully matches the message topic.

[0091] B22. If the topic screening result is that there is no topic of interest that successfully matches the message topic, retry topic matching on the message topic to obtain the target topic of interest;

[0092] Furthermore, the step B22, performing a topic retry matching on the message topic to obtain the target topic of interest, includes:

[0093] B221. Obtaining preset retry conditions and retry waiting information of the message subject;

[0094] B222. Perform condition verification on the retry condition according to the retry waiting information to obtain a condition verification result;

[0095] B223. If the condition verification result is that the retry waiting information satisfies the retry condition, then, according to the message subject, subject retry screening is performed on the current second subject list to obtain the target concerned subject;

[0096] Alternatively, B224, if the condition verification result is that the retry waiting information does not meet the retry condition, return to execute the step of obtaining the preset retry condition and the retry waiting information of the message subject.

[0097] In the embodiment of the present application, the retry condition may be any one of a retry time threshold, a retry count threshold, etc., and the retry waiting information may be the cumulative number of retries or the cumulative waiting time for the message subject to perform subject matching, etc. In addition, if the subject screening result is that there is no topic of interest that successfully matches the message subject, the message service end may perform a subject retry match on the message subject.

[0098] Specifically, step B222 can be to verify whether the retry waiting information meets the retry condition. The embodiment of the present application takes the retry condition as the retry time threshold as an example. Step B222 can be to compare whether the cumulative waiting time of the message subject reaches the retry time threshold. If the cumulative waiting time reaches the retry time threshold, a conditional verification result is generated to indicate that the retry waiting information meets the retry condition. Then, the message subject is screened with the current latest second subject list of the message server for subject retry to obtain the target focus subject. Alternatively, if the cumulative waiting time does not reach the retry time threshold, a conditional verification result is generated to indicate that the retry waiting information does not meet the retry condition, and the process returns to execute step B2221.

[0099] Alternatively, B23, if the topic screening result is that there is a topic of interest that successfully matches the message topic, generating the target topic of interest according to the topic screening result;

[0100] B24. According to the target focus topic, a connection event mapping search is performed on the second topic list to obtain the first target connection event.

[0101] In an embodiment of the present application, if the subject screening result is that there is a subject of interest that successfully matches the message subject, the message service end can generate several target subjects of interest based on one or more subjects of interest that successfully match the message subject in the subject screening result. Specifically, since the message subject generated in the embodiment of the present application includes one or more subjects, for example, the message subject includes a subject of emergency type and a subject of terminal type, the subject screening result obtained based on the subject screening can also include multiple target subjects of interest.

[0102] It can be understood that for a certain target focus topic, step B24 can first find the mapping relationship corresponding to the target focus topic in the second subject list, and then determine several terminal connection events corresponding to the target focus topic based on the mapping relationship, and each terminal connection event can be used as a first target connection event.

[0103] Step 140: According to the first target connection event, terminal screening is performed on all the first terminals to obtain a target terminal, and the emergency help message is sent to the target terminal.

[0104] In an embodiment of the present application, for a first target connection event, the message server can determine the first terminal to receive the emergency help message based on the first target connection event, and determine the first terminal to receive the emergency help message as the target terminal, and then send the emergency help message to the target terminal through the first target connection event. Specifically, the emergency help message can be sent to the target terminal through a TCP long connection between the message server and the target terminal. The contents of other first target connection events are similar to the foregoing contents and can be simply inferred.

[0105] It can be understood that if the number of first target connection events obtained by the message server is 1, the message server can realize point-to-point emergency help message delivery, specifically, the emergency help message of the second terminal can be sent to a target terminal; or, if the number of first target connection events obtained by the message server is multiple, the message server can realize point-to-face emergency help message delivery, specifically, the emergency help message of the second terminal can be sent to multiple target terminals. In actual applications, multiple target terminals can belong to the same department or different departments.

[0106] In some embodiments, the method further comprises:

[0107] C1. Receive a help response message from the target terminal;

[0108] C2. According to the help response message, perform a second response match on the second subject list to obtain a second target connection event, where the second target connection event is a terminal connection event corresponding to the message subject;

[0109] C3. According to the second target connection event, send the help response message to the second terminal.

[0110] In an embodiment of the present application, after the emergency help message is sent to the target terminal, the emergency help message can be displayed on the terminal interface of the target terminal. The specific display can show different message rendering prompts based on emergency help messages of different emergency types. There are many ways of specific message rendering prompts, such as full-screen prompts, interface jitter prompts, etc.

[0111] It is understandable that the target terminal can generate a help response message in response to the help response instruction of the target terminal user, and then send the help response message to the message server; after receiving the help response message, the message server can perform a second response match based on the help response message and the second topic list, and the second response match is similar to the content of the first response match in the aforementioned step 130.

[0112] It should be noted that after obtaining the second target connection event, the message server may determine the second terminal corresponding to the help response message based on the second target connection event, and then send the help response message to the second terminal.

[0113] An emergency assistance system proposed according to an embodiment of the present application is described in detail below with reference to the accompanying drawings.

[0114] Reference Figure 2 , an emergency assistance system proposed in an embodiment of the present application includes:

[0115] The first processing unit 101 is used to obtain a preset first topic list;

[0116] The second processing unit 102 is used to receive topic registration requests from a plurality of first terminals, and perform terminal registration on the first topic list according to all the topic registration requests to obtain a second topic list, wherein the second topic list includes a plurality of terminal connection events and a plurality of attention topics, each of the terminal connection events is used to indicate a network connection between the first terminal and the message server, and each of the attention topics corresponds to a plurality of the terminal connection events;

[0117] The third processing unit 103 is used to receive an emergency help message from a second terminal, and perform a first response match on the second topic list according to the emergency help message to obtain a first target connection event, where the first target connection event is a terminal connection event corresponding to a target attention topic, the target attention topic is an attention topic that successfully matches the message topic corresponding to the emergency help message, and the second terminal is the first terminal that initiates the emergency help;

[0118] The fourth processing unit 104 is configured to perform terminal screening on all the first terminals according to the first target connection event, obtain a target terminal, and send the emergency help message to the target terminal.

[0119] It can be understood that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0120] Reference Figure 3 , the embodiment of the present application further provides an electronic device, including:

[0121] at least one processor 201;

[0122] At least one memory 202, used to store at least one program;

[0123] When the at least one program is executed by the at least one processor 201, the at least one processor 201 implements the above method embodiment.

[0124] Similarly, it can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0125] The embodiment of the present application further provides a computer-readable storage medium, in which a program executable by the processor 201 is stored. The program executable by the processor 201 is used to implement the above-mentioned method embodiment when executed by the processor 201.

[0126] Similarly, the contents of the above method embodiments are all applicable to the computer-readable storage medium embodiments. The functions specifically implemented by the computer-readable storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0127] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the application is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part described as a larger operation is performed independently.

[0128] In addition, although the present application is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features can be integrated into a single physical device and / or software module, or one or more functions and / or features can be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present application. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional techniques of the engineer. Therefore, those skilled in the art can implement the present application set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present application, which is determined by the full scope of the attached claims and their equivalents.

[0129] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method of the embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0130] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0131] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0132] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0133] In the above description of this specification, the description with reference to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0134] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.

[0135] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the embodiments. Technical personnel familiar with the field can make various equivalent modifications or substitutions without violating the spirit of the present application. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present application.

Claims

1. An emergency assistance method, characterized in that: Applied to a message server, the method comprises: Get the preset first topic list; receiving topic registration requests from a plurality of first terminals, and performing terminal registration on the first topic list according to all the topic registration requests to obtain a second topic list, wherein the second topic list includes a plurality of terminal connection events and a plurality of attention topics, each of the terminal connection events being used to indicate a network connection between the first terminal and the message server, and each of the attention topics corresponding to a plurality of the terminal connection events; receiving an emergency help message from a second terminal, and performing a first response match on the second topic list according to the emergency help message to obtain a first target connection event, wherein the first target connection event is a terminal connection event corresponding to a target attention topic, the target attention topic is an attention topic that successfully matches a message topic corresponding to the emergency help message, and the second terminal is the first terminal that initiated the emergency help; According to the first target connection event, terminal screening is performed on all the first terminals to obtain a target terminal, and the emergency help message is sent to the target terminal.

2. The method according to claim 1, characterized in that According to the subject registration request, terminal registration is performed on the first subject list to obtain a second subject list, including: Constructing a connection event for a first terminal corresponding to the subject registration request to obtain a terminal connection event; Parsing the topic parameters of the topic registration request to obtain a number of topics of interest; According to the terminal connection event and all the concerned topics, a mapping relationship is constructed for the first topic list to obtain the second topic list.

3. The method according to claim 1, characterized in that The step of performing a first response match on the second topic list according to the emergency help message to obtain a first target connection event includes: Performing subject parsing on the emergency help message to obtain a message subject corresponding to the emergency help message; According to the message subject, the second subject list is subjected to subject matching to obtain the first target connection event.

4. The method according to claim 3, characterized in that The subject parsing of the emergency help message to obtain a message subject corresponding to the emergency help message includes: Get the preset theme rules; Parsing the emergency help message to obtain a first message field, a second message field, and a third message field, wherein the first message field is used to indicate the first terminal selected by the second terminal, the second message field is used to indicate the emergency type of the emergency help message, and the third message field is used to indicate the terminal type of the second terminal; According to the subject rule, performing rule comparison on the first message field to obtain a rule comparison result; If the rule comparison result is that the first message field satisfies the subject rule, the message subject is generated according to the first message field; or, if the rule comparison result is that the first message field does not satisfy the subject rule, the message subject is generated according to the second message field and the third message field.

5. The method according to claim 3, characterized in that: The performing topic matching on the second topic list according to the message topic to obtain the first target connection event includes: According to the message topic, all the concerned topics in the second topic list are subject-filtered to obtain a topic filtering result; If the topic screening result is that there is no topic of interest that successfully matches the message topic, then retry topic matching on the message topic to obtain the target topic of interest; or, if the topic screening result is that there is a topic of interest that successfully matches the message topic, then generate the target topic of interest based on the topic screening result; According to the target concerned topic, a connection event mapping search is performed on the second topic list to obtain the first target connection event.

6. The method according to claim 5, characterized in that The subject retry matching of the message subject to obtain the target concerned subject includes: Obtaining preset retry conditions and retry waiting information of the message subject; According to the retry waiting information, condition verification is performed on the retry condition to obtain a condition verification result; If the result of the condition verification is that the retry waiting information satisfies the retry condition, then according to the message subject, the current second topic list is screened for topic retry to obtain the target focus topic; or, if the result of the condition verification is that the retry waiting information does not satisfy the retry condition, then return to execute the step of obtaining the preset retry condition and the retry waiting information of the message subject.

7. The method according to claim 1, characterized in that The method further comprises: Receiving a help response message from a target terminal; According to the help response message, a second response match is performed on the second subject list to obtain a second target connection event, where the second target connection event is a terminal connection event corresponding to the message subject; According to the second target connection event, the help response message is sent to the second terminal.

8. An emergency assistance system, characterized in that: Applied to the message server, including: A first processing unit, used for obtaining a preset first topic list; a second processing unit, configured to receive topic registration requests from a plurality of first terminals, and perform terminal registration on the first topic list according to all the topic registration requests to obtain a second topic list, wherein the second topic list includes a plurality of terminal connection events and a plurality of attention topics, each of the terminal connection events being used to indicate a network connection between the first terminal and the message server, and each of the attention topics corresponding to a plurality of the terminal connection events; a third processing unit, configured to receive an emergency help message from a second terminal, and perform a first response match on the second topic list according to the emergency help message to obtain a first target connection event, wherein the first target connection event is a terminal connection event corresponding to a target attention topic, the target attention topic is an attention topic that successfully matches a message topic corresponding to the emergency help message, and the second terminal is a first terminal that initiates an emergency help; The fourth processing unit is configured to perform terminal screening on all the first terminals according to the first target connection event, obtain a target terminal, and send the emergency help message to the target terminal.

9. An electronic device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a program executable by a processor, characterized in that: The program executable by the processor is used to implement the method according to any one of claims 1 to 7 when executed by the processor.

Citation Information

Patent Citations

  • Method, device and system for transferring messages

    CN102143198A

  • Method and device for information recommendation based on conversation interaction, server, and storage medium

    CN107832433A

  • Network communication platform and network communication method

    CN110061905A

  • Publishing and subscribing service processing method and device and electronic equipment

    CN111711663A

  • Mutual-help service method, electronic equipment and system

    CN116261129A