First aid referral group session management method and server

By implementing the first aid referral group session management method on the instant messaging server, automatically matching and adding relevant clients to the group session according to the progress of the project task, the problem of too many unrelated people in the group session is solved, and more efficient resource utilization and information security are achieved.

CN119324911BActive Publication Date: 2025-03-07PUCHENG COUNTY HOSPITAL +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411881170.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-19
Publication Date
2025-03-07
Estimated Expiration
2044-12-19

AI Technical Summary

Technical Problem

Group sessions are frequently established in project scenarios and excessive irrelevant personnel, resulting in information leakage and waste of resources.

Method used

By implementing the first aid referral group session management method on the instant messaging server, it is automatically matched and added relevant clients to the group session according to the progress of the project task, ensuring that only relevant personnel at the current stage participate.

Benefits of technology

It effectively reduces unrelated people in group sessions, avoids information leakage and resource waste, and improves the management efficiency of group sessions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119324911B_ABST
    Figure CN119324911B_ABST
Patent Text Reader

Abstract

The present application relates to a method and server for managing an emergency referral group session, and relates to the field of Internet technology, which automatically adds clients that match the progress flow of project tasks to improve the limitations of current group sessions. The method includes: receiving a voice message sent by a user through a third-party communication channel, extracting key information from the voice message; when the key information triggers a target task, establishing an execution process associated with the target task; the execution process includes multiple processing sub-processes; each processing sub-process is sorted according to the corresponding processing progress in the target task; a group session of the execution process is established, and instant messaging clients that execute different processing sub-processes are added to the group session in sequence according to the arrangement order of each processing sub-process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to an emergency referral group session management method and server. Background Art

[0002] In order to achieve more efficient communication, an instant messaging method called group conversation has been developed based on the development of Internet clients. Group conversation is a cluster chat method established by multiple users based on instant messaging clients. Members who join the group conversation can share information, materials, lists, etc.

[0003] Due to the development of group conversation application scenarios by users, more work scenarios, project scenarios, etc. are applied to group conversations. However, since different stages of the same project require different participants and the degree of confidentiality at different stages is also different, there are still certain limitations in the application of group conversations to related project scenarios. For example, frequent establishment of group conversations leads to too many group conversations, too many irrelevant persons in group conversations, and irrelevant persons may browse content in group conversations that are not within their access permissions. Summary of the invention

[0004] The emergency referral group session management method and server proposed in the embodiment of the present application automatically add clients that match the progress flow of the project task, thereby improving the limitations of the current group session.

[0005] In a first aspect, an embodiment provides an emergency referral group session management method, which is applied to an instant messaging server, the method comprising: receiving a voice message sent by a user through a third-party communication channel, and extracting key information in the voice message; when the key information triggers a target task, establishing an execution process associated with the target task; the execution process includes multiple processing sub-processes; each processing sub-process is sorted according to the corresponding processing progress in the target task; a group session of the execution process is established, and instant messaging clients executing different processing sub-processes are added to the group session in sequence according to the arrangement order of each processing sub-process.

[0006] In one embodiment, the key information includes the user's address location data, and sequentially adding instant messaging clients executing different processing sub-processes to the group session includes:

[0007] Taking the address location data as the origin, select a geographic area within a preset radius;

[0008] Selecting a first instant messaging client in the geographic area whose current location has the shortest travel time with the user;

[0009] The first instant messaging client is added to the group conversation as an instant messaging client corresponding to a specific processing sub-process.

[0010] In one embodiment, adding instant messaging clients executing different processing sub-processes to the group session in sequence includes:

[0011] Acquire a pre-established first client queue; different instant messaging clients in the first client queue are used to execute specific processing sub-processes in different application time periods;

[0012] Get the first time point when the user sends a voice message;

[0013] Searching the first client queue for a second instant messaging client that matches the first time node;

[0014] The second instant messaging client is added to the group conversation as an instant messaging client corresponding to the specific processing sub-process.

[0015] In one embodiment, according to the arrangement order of each processing sub-process, the instant messaging clients executing different processing sub-processes are added to the group session in sequence, including:

[0016] It is detected that in the current processing sub-flow, any instant messaging client of the group session initiates a trigger operation to start the next processing sub-flow, and the instant messaging client executing the next processing sub-flow is added to the group session;

[0017] If any instant messaging client executing the current processing sub-flow does not process the next processing sub-flow, after adding the instant messaging client executing the next processing sub-flow to the group session, the instant messaging client is removed from the group session.

[0018] In one embodiment, the method further comprises:

[0019] When it is detected that the duration of the group session exceeds a preset time threshold, the chat data corresponding to the group session is stored in a preset storage area; the chat data includes voice messages, text messages, files, links, pictures, videos and applets.

[0020] In one embodiment, the trigger operation includes an operation of uploading the attributes of the target task, and the method further includes:

[0021] Determining the type of the instant messaging client that executes the next processing sub-process according to the attribute of the target task;

[0022] A target instant messaging client is selected from a pre-established second client queue, and the target instant messaging client is added to the group session; different second client queues correspond to different categories.

[0023] In one embodiment, the method further comprises:

[0024] During the execution of the execution process, recording the second time node at which each processing sub-process starts;

[0025] Marking at least one processing sub-process corresponding to the instant messaging client that joins the group conversation;

[0026] Receive a chat message sent by any instant client, and record a timestamp for the chat message;

[0027] If the timestamp is within the duration of a specific processing sub-process, the chat message is sent to the communication client marked with the specific processing sub-process; the duration of the specific processing sub-process is from the second time node when the specific processing sub-process starts to the third time node when the next sub-process of the specific processing sub-process starts.

[0028] In one embodiment, the method further comprises:

[0029] When the execution process of the target task is related to the distance between the instant messaging clients added to the group session, obtaining location information of at least one messaging client added to the group session;

[0030] generating a task path according to the location information of the at least one communication client;

[0031] Sending the task path to the at least one instant messaging client;

[0032] The task path is sent to the user corresponding to the voice message through a third-party communication channel.

[0033] In one embodiment, after completing the execution process, the method further includes:

[0034] After receiving an end operation of the execution process from a user, a sleep instruction is sent to the group session, so that an instant messaging client entering the group session displays the group session in a preset manner; the preset manner includes folding the group session and displaying the group session in a hidden interface.

[0035] In a second aspect, an embodiment provides an emergency referral group session management device, the device comprising:

[0036] An information extraction module, for extracting key information from a voice message after receiving the voice message sent by the user through a third-party communication channel;

[0037] A process establishment module, used for establishing an execution process associated with the target task when the key information triggers the target task; the execution process includes multiple processing sub-processes; each processing sub-process is sorted according to the corresponding processing progress in the target task;

[0038] The group session establishment module is used to establish a group session of the execution process, and add instant messaging clients executing different processing sub-processes to the group session in sequence according to the arrangement order of each processing sub-process.

[0039] In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, in which a program executable by a processor is stored. When the program executable by the processor is executed by the processor, it is used to implement the emergency referral group session management method as described above.

[0040] In a fourth aspect, an embodiment of the present application further provides a server, wherein the storage device is used to store computer instructions, and the processor is used to execute the computer instructions to implement the emergency referral group session management method as described above.

[0041] The beneficial effects of this application are:

[0042] The first aid referral group session management method proposed in the embodiment of the present application, when receiving the user's start to initiate the target task, the corresponding processing sub-process corresponding to each progress node is established according to the processing progress of the target task to form an overall execution process. When the execution process starts to run, a group session corresponding to the overall execution process is established, and a group session for the target task is established from the user's perspective; since the above-mentioned processing sub-processes corresponding to each progress are established, each time the user triggers the operation of a processing sub-process, the server can automatically add the instant messaging terminals of the relevant personnel of each processing progress of the target task to the group session, so that at different stages of the target task, the user list of the group session is all related to the current stage of the target task. There is no need to manually add group session users according to the progress of the target task, avoiding unnecessary occupation of human resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 This is a schematic diagram of an implementation scenario of an embodiment of the present application;

[0044] Figure 2 It is a flowchart of the steps of the emergency referral group session management method proposed in the embodiment of the present application;

[0045] Figure 3 is a schematic diagram of a preset method of displaying a group conversation in the present application;

[0046] Figure 4It is a functional module diagram of the emergency referral group session management device proposed in the embodiment of the present application. DETAILED DESCRIPTION

[0047] The present application is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are intended to enable the present application to be better understood. However, those skilled in the art can easily recognize that some of the features can be omitted in different situations, or can be replaced by other elements, materials, and methods. In some cases, some operations related to the present application are not shown or described in the specification, in order to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations based on the description in the specification and the general technical knowledge in the art.

[0048] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.

[0049] There are still some limitations in applying group conversations to relevant project scenarios.

[0050] Take the application scenario where the emergency center receives an emergency call, dispatches an ambulance to the scene of the alarm, treats the patient and transfers him to the hospital as an example to illustrate the limitations of group conversation applications. In order to better manage the entire treatment process of the patient, a group chat will be established for the patient, and relevant personnel such as community doctors or village doctors near the patient, emergency car doctors, specialists, etc. will be added to the group chat. Since community doctors and village doctors are geographically close to the patient, they generally have priority to arrive at the patient's location. The doctor who follows the car can guide the community doctors and village doctors to provide simple assistance to the patient through the group chat. The community doctors and village doctors can share the patient's basic information with the doctor who follows the car through the group chat; after the patient is transferred to the ambulance, the specialist can guide the doctor who follows the car to provide further assistance to the patient. However, if too many emergency calls are received per unit time, there will be too many group chats on the terminal, which will be difficult to manage. In order to avoid the program occupying too much terminal memory, the current group chat application will regularly delete the data in the group chat, resulting in the inability of relevant doctors to query emergency data when needed, causing a greater impact. In general, the follow-up treatment of the patient after being transferred to the ambulance may involve the privacy of the user, and it is inconvenient for community doctors and village doctors to continue to browse the relevant treatment data. However, it takes too much time for the accompanying doctor or specialist to remove the community doctors and village doctors from the group chat. If the administrator is added, it will cause third-party unrelated personnel to browse the patient's information. Before the accompanying doctor conducts an in-depth examination of the patient, it is not certain which department is suitable for the patient's symptoms. Therefore, multiple doctors may be added to the group chat before that, or the accompanying doctor may manually add the specialist to the group chat during the task. The above methods will cause a waste of medical resources and create an unnecessary burden on the group chat.

[0051] In view of the above problems, an embodiment of the present application proposes an emergency referral group session management method, which is applied to an instant messaging server.

[0052] Figure 1 is a schematic diagram of an implementation scenario of an embodiment of the present application, such as Figure 1 As shown, the scenario for executing the emergency referral group session management method includes a server 101, which is used as an instant messaging server, terminals 102, 103, and 104. The terminals (including terminals 102, 103, and 104) are provided with application clients, web page programs, etc., such as instant messaging clients. The instant messaging server accepts user requests to run application clients and web page programs to implement group session functions. The network 105 can be a wide area network or a local area network, or a combination of the two, and uses wireless or wired links to implement data transmission.

[0053] The instant messaging server 101 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited to this. The terminal and the server can be directly or indirectly connected via wired or wireless communication, and this application does not limit this.

[0054] Figure 2 is a flowchart of the steps of the emergency referral group session management method proposed in the embodiment of the present application, such as Figure 2 As shown, the emergency referral group session management method includes the steps of:

[0055] Step S210: receiving a voice message sent by a user through a third-party communication channel, and extracting key information from the voice message.

[0056] The third-party communication channel may include phone calls, text messages, or other applications. The voice message may be a preset keyword associated with the target task.

[0057] For example, if applied to an order delivery scenario, the voice message may be "deliver order No. XX to address XXX". If the key information "delivery, order" is detected, the target task of delivering the items is triggered.

[0058] In one example of the present application, applied to the 120 emergency rescue scenario, the voice message may be "Someone has fainted here and needs an ambulance", "An elderly person has a sudden illness, call an ambulance", "An emergency has occurred and help is needed", and key information includes: ambulance, emergency, help, disease, etc. The above key information can trigger the target task of emergency rescue.

[0059] In the scenario of 120 emergency, the 120 emergency center is equipped with an instant messaging server, which can monitor the real-time calls of the 120 operators and extract key information from the voice messages; on the other hand, the instant messaging server can also receive the text information entered by the 120 operators and extract key information based on the text information. For example, the patient's family calls the 120 emergency number and informs "the elderly suddenly fell ill, call an ambulance", the operator asks for the address and phone number, enters the address and phone number into the instant messaging server, and issues an instruction to start the target task, and the instant messaging server will also establish the target task.

[0060] S220: When the key information triggers a target task, an execution process associated with the target task is established.

[0061] The execution process includes multiple processing sub-processes; each processing sub-process is sorted according to the corresponding processing progress in the target task.

[0062] The execution flow in this embodiment refers to the entire process of implementing the target task in a programmed manner.

[0063] When applied to the 120 emergency scene, the target task is to send the patient from the scene to the hospital. The execution process is to program the "whole process of sending the patient from the scene to the hospital" by computer, and obtain: the execution process of assigning 120 ambulances - transferring patients to ambulances - handling admission to the hospital. The computer can further calculate the "whole process of sending patients from the scene to the hospital" based on the execution process, such as analyzing the processing time of assigning 120 ambulances - transferring patients to ambulances, drawing a route map of the execution process of transferring patients to ambulances - handling admission to the hospital, and comparing the difference between the actual driving path of the vehicle and the planned path. Since the target task is complex and changeable, taking 120 emergency as an example, including dispatching doctors to follow the car, ambulance transport, etc., it is difficult for the target task to describe all the progress. Therefore, programming the target task by computer is conducive to monitoring the progress of the target task at different stages.

[0064] The embodiment of the present application programs the target task into a computer program, generates multiple processing sub-processes corresponding to different stages of the target task, forms an execution process, automatically adjusts the group conversation in different processing sub-processes, and adapts to objective changes that may occur in the entire process of the target task.

[0065] Each processing sub-process is sorted according to the corresponding processing progress in the target task, which means: if processing sub-process 1 corresponds to processing progress 2 of the target task, processing sub-process 2 corresponds to processing progress 3 of the target task, and processing sub-process 3 corresponds to processing progress 1 of the target task, then the sorting of the processing sub-processes is: processing sub-process 3--processing sub-process 2--processing sub-process 1.

[0066] Taking 120 emergency rescue as an example, the target tasks include assigning a doctor to the 120 ambulance, assigning a community doctor to the scene of the incident, transferring the patient to the ambulance, transporting the patient back, and arranging for hospital admission. The corresponding processing sub-processes include: (assigning a doctor to the ambulance, assigning a community doctor), (transferring the patient to the ambulance), (transporting the patient back, and arranging for hospital admission).

[0067] If the execution process of the target task is related to the distance between the instant messaging clients joining the group session, a task path can be generated based on the geographical locations between the instant messaging clients and sent to the instant messaging clients. Users can view the real-time distance between other instant messaging clients through the instant messaging clients.

[0068] When the execution process of the target task is related to the distance between the instant messaging clients added to the group session, obtaining location information of at least one messaging client added to the group session;

[0069] generating a task path according to the location information of the at least one communication client;

[0070] Sending the task path to the at least one instant messaging client;

[0071] The task path is sent to the user corresponding to the voice message through a third-party communication channel.

[0072] An example of the present application is applied to a 120 emergency scenario, and an execution process associated with a target task is established. The processing sub-processes of the execution process include: (assigning a doctor on board, assigning a community doctor), (transferring the patient to the ambulance), and (transporting the patient back and arranging for admission to the hospital). The instant messaging server set up in the 120 emergency center receives the patient address information entered by the user, and starts running the first sub-process (assigning a doctor on board, assigning a community doctor), establishes a group session, and adds the instant messaging client A and the instant messaging client B of the doctor on board to the group session. Since the execution of the target task is related to the distance between the instant messaging client A and the instant messaging client B, it can be understood that to achieve the transfer of the patient to the ambulance, the ambulance needs to arrive at the patient's location, the community doctor holds the instant messaging client A, the instant messaging client A arrives at the patient's location first, and then the doctor on board arrives at the patient's location.

[0073] The instant messaging server establishes a group session, adds the instant messaging client A and the instant messaging client B of the accompanying doctor to the group session, generates path 1 between the patient's address and the instant messaging client B, generates path 2 between the patient's address and the instant messaging client A, and generates path 3 between the instant messaging client A and the instant messaging client B, and sends path 1, path 2, and path 3 to the instant messaging client A and the instant messaging client B, and sends path 1, path 2, and path 3 to the terminal of the patient's family through a third-party communication channel, such as SMS. During the driving of the ambulance, the community doctor, the accompanying doctor, and the patient's family can all view the location of the ambulance in real time, thereby determining the execution progress of the target task, and to a certain extent, alleviating the anxiety of the patient's family.

[0074] Step S230: establishing a group session for executing the process, and sequentially adding instant messaging clients executing different processing sub-processes to the group session according to the arrangement order of each processing sub-process.

[0075] The server in the embodiment of the present application automatically adds relevant instant messaging clients to the group conversation according to the progress of the target task when each processing sub-process is running. For different direct stages of the target task, the members in the group conversation are all relevant members, and there is no need for manual operation by doctors and other relevant personnel, which does not occupy medical resources, avoids information leakage, and reduces the load of the group conversation program.

[0076] Taking 120 emergency rescue as an example, the corresponding processing sub-processes include: (assigning a doctor to accompany the car, assigning a community doctor), (transferring the patient to the ambulance), (transporting the patient back, and arranging for admission to the hospital). The execution process is the computer programming of the target task. Therefore, the node to which the execution process runs corresponds to the processing progress of the target task. The instant messaging client is automatically added to the group session according to the node to which the execution process runs. The instant messaging client added to the group session is the client that adapts to the progress of the target task.

[0077] If the execution process runs to the sub-process (transferring the patient to the ambulance), it can be determined that the target task has also been executed to the stage where the patient is in the ambulance. The personnel who need to participate in the stage of transporting the patient back to the hospital by ambulance include the accompanying doctor and the specialist. At this time, the corresponding communication client of the accompanying doctor and the corresponding communication client of the specialist are automatically added to the group session to ensure that the accompanying doctor can work with the specialist through the group session, and the specialist can remotely assist the accompanying doctor in providing specialized first aid to the patient.

[0078] Adding instant messaging clients executing different processing sub-processes to the group session in sequence according to the arrangement order of each processing sub-process includes:

[0079] In one example of the present application, executing step S230 can be specifically implemented by the following process:

[0080] When the execution process starts running, the instant messaging client corresponding to the first processing sub-process ranked first among the multiple processing sub-processes is added to the group session;

[0081] When the execution process proceeds to the second-ranked processing sub-process, the instant messaging client corresponding to the second-ranked processing sub-process among the multiple processing sub-processes is added to the group session. If the second-ranked processing sub-process no longer needs the instant messaging client corresponding to the first-ranked processing sub-process, the instant messaging client corresponding to the first-ranked processing sub-process can also be removed.

[0082] When the execution process proceeds to the third-ranked processing sub-process, the instant messaging client corresponding to the third-ranked processing sub-process among the multiple processing sub-processes will be added to the group session. If the third-ranked processing sub-process no longer needs the instant messaging client corresponding to the second-ranked processing sub-process, the instant messaging client corresponding to the second-ranked processing sub-process can also be removed. Accordingly, if the third-ranked processing sub-process again needs the instant messaging client corresponding to the first-ranked processing sub-process, the instant messaging client corresponding to the first-ranked processing sub-process can be added to the group session.

[0083] In the specific process of executing step S230, it can be detected whether the communication client initiates a trigger operation to start the next processing sub-process to determine whether the execution process proceeds to the next processing sub-process:

[0084] It is detected that in the current processing sub-flow, any instant messaging client of the group session initiates a trigger operation to start the next processing sub-flow, and the instant messaging client executing the next processing sub-flow is added to the group session;

[0085] If any instant messaging client executing the current processing sub-flow does not process the next processing sub-flow, after adding the instant messaging client executing the next processing sub-flow to the group session, the instant messaging client is removed from the group session.

[0086] Taking the application scenario of 120 emergency rescue as an example, if the current processing sub-process corresponds to the stage where the village doctor provides initial treatment to the patient on site, the current group session adds the village doctor's instant messaging client, the village doctor provides initial assistance to the patient, and fills in the patient's basic information into the transfer consent form. After the patient signs the transfer consent form, the village doctor uploads the transfer consent form to the group session, triggering the server to start running the next processing sub-process. The village doctor uploading the transfer consent form to the group session is the current trigger operation.

[0087] In the above process, the server detects the signal of the instant messaging client and intelligently determines whether the target task has entered the next stage. When the target task enters the next stage, the server automatically adds the instant messaging clients of the people participating in the next stage. There is no need to manually pay attention to the processing progress of the target task and then add group chat people. At the same time, the instant messaging clients of people who do not participate in the next stage are removed, ensuring the streamlining of group conversations and avoiding information leakage.

[0088] The present application also proposes different implementations of adding instant messaging clients that execute different processing sub-processes to the group session:

[0089] One implementation method of "adding instant messaging clients executing different processing sub-processes to the group conversation" is based on geographic location.

[0090] Step S230 may include sub-steps:

[0091] M11: Using the address location data as the origin, select a geographic area within a preset radius.

[0092] M12: Selecting a first instant messaging client in the geographic area whose current location has the shortest travel time with the user.

[0093] M13: Add the first instant messaging client as an instant messaging client corresponding to a specific processing sub-process to the group conversation.

[0094] The first instant messaging client is added to the group conversation as an instant messaging client corresponding to a specific processing sub-process. The first instant messaging client can generate a notification message, which can be in the form of a ringtone, voice, vibration, etc., to notify the corresponding person.

[0095] When a certain progress stage of the target task needs to be performed at a specific location, if there are multiple instant messaging clients to choose from, the instant messaging client closest to the specific location can be filtered and the instant messaging client closest to the target location can be added to the group conversation to ensure that the user holding the instant messaging client can reach the specific location in the shortest time.

[0096] Taking the application scenario of 120 emergency rescue as an example, the 120 emergency center receives an alarm call from the patient's family and enters the patient's address into the instant messaging server. The instant messaging server takes the patient's address as the center, selects a geographical area with a preset radius, and automatically locates the instant messaging client A closest to the patient. The instant messaging client A can notify the village doctor through voice, vibration, ringtone, etc. The village doctor holding the instant messaging client A can reach the patient's address in the shortest time, provide initial first aid to the patient, and collect relevant information.

[0097] Another way to implement "adding instant messaging clients executing different processing sub-flows to the group session" is to use time as an index to match idle instant messaging clients to ensure that the group session will not be idle for a long time.

[0098] Step S230 may include sub-steps:

[0099] M21: Acquire a pre-established first client queue; different instant messaging clients in the first client queue are used to execute specific processing sub-processes in different application time periods.

[0100] In the case of too many target tasks, adding instant messaging clients to group sessions at random will lead to uneven resource allocation. For example, in the 120 emergency scenario, since multiple rescue requests may be received in a day, multiple target tasks will be generated. If the instant messaging client of the accompanying doctor is added to the group session at random, some instant messaging clients may be added to too many group sessions, and some instant messaging clients may not be added to a group session, resulting in confusion in resource allocation. Therefore, the application time period can be set for different instant messaging clients in advance. When the time when the target task A is established is within the application time period of the instant messaging client B, the instant messaging client B is allocated to the execution process of the target task A.

[0101] M22: Get the first time point when the user sends a voice message.

[0102] M23: Searching the first client queue for a second instant messaging client that matches the first time node.

[0103] M24: Add the second instant messaging client as an instant messaging client corresponding to a specific processing sub-process to the group conversation.

[0104] An example of the present application is applied to a 120 emergency scenario. The 120 emergency center sets up an instant messaging server, and sets an application time period for instant messaging client A to be (12.00 to 13.00), and sets an application time period for instant messaging client B to be (13.00 to 14.00). If the instant messaging server receives an alarm message sent by a user through a third-party communication channel at 12.05, a group session of the execution process for the alarm message is generated, and the first processing sub-process in the execution process is started to run, and the instant messaging client A is added to the group session.

[0105] The above process establishes a client queue based on time information, so that different instant messaging clients are applied to group sessions established in different time periods according to the time information, balancing communication resources. At the same time, it ensures that the time arrangements of the doctors holding different instant messaging clients are reasonable, and does not cause repeated allocation of doctors, or some doctors have too many tasks while others are too idle.

[0106] Another way to implement "adding instant messaging clients executing different processing sub-processes to the group session" is to allocate instant messaging clients to the sub-processes of the execution process corresponding to the target task according to the attributes of the target task, so as to ensure that the instant messaging client can match the current group session.

[0107] The attributes of the target task can be pre-set according to the specific target task; for example, if the target task is order delivery, the attributes of the target task can be set according to the category of the delivery order. For example, the attributes may include: fresh and frozen, items, and live objects. Different attributes will result in different delivery methods and delivery time limits.

[0108] If the target task is 120 emergency rescue, then the attributes of the target task can be set according to the possible disease categories of the patient. For example, the attributes may include: thoracic surgery, urology, orthopedics, etc.

[0109] On the other hand, the instant messaging clients can also be classified according to the doctors who own the instant messaging clients. For example, there may be multiple doctors in the thoracic surgery department, and the instant messaging clients of these multiple doctors can all be marked as thoracic surgery category.

[0110] Step S230 may include sub-steps:

[0111] M31: Determine the type of the instant messaging client that executes the next processing sub-flow according to the attribute of the target task.

[0112] M32: Select a target instant messaging client from a pre-established second client queue, and add the target instant messaging client to the group conversation; different second client queues correspond to different categories.

[0113] An example of the present application is applied to a 120 emergency scene. If the execution process includes sub-processes: (assigning a doctor on the vehicle, assigning a community doctor), (transferring the patient to the ambulance), (transporting the patient back, and handling hospital admission), during the execution of the sub-process - transferring the patient to the ambulance, after the doctor on the vehicle uploads the patient's symptoms and the corresponding disease category through the universal instant messaging client A, the instant messaging server determines that the attribute of the target task is "thoracic surgery"; the instant messaging server can select any instant messaging client in the pre-established second client queue A as the target instant messaging client and add it to the group conversation. The instant messaging clients in the second client queue A all carry the tag of "thoracic surgery".

[0114] The above process classifies instant messaging clients by establishing a client queue. After determining the attributes of the target task, the instant messaging client of the user who processes the target task can be automatically added to the group session, thereby accurately adding the instant messaging client to the group session and avoiding irrelevant persons from appearing in the user list of the group session.

[0115] In order to prevent the current group chat application from occupying too much terminal memory, the data in the group chat is deleted regularly. In the embodiment of the present application, the emergency referral group session management method may further include the following steps:

[0116] When it is detected that the duration of the group conversation exceeds a preset time threshold, the chat data corresponding to the group conversation is stored in a preset storage area; the chat data includes voice messages, text messages, files, links, pictures, videos, and applets. In the embodiment of the present application, the chat data of the group conversation is permanently stored in other storage areas for subsequent calls by the instant messaging client in the group conversation. If a subsequent user intends to call the message again, the corresponding content cannot be queried.

[0117] The pre-set storage area may be a storage area outside the program corresponding to the running group conversation, which permanently stores the chat data without occupying the running memory, thereby ensuring the smooth running of the group conversation.

[0118] In this example, the chat data includes voice messages, text messages, files, links, pictures, and videos, which may be the examination data of the patient by the accompanying doctor, the video taken by the village doctor on the patient at the first time, the audio of the specialist guiding the accompanying doctor in rescue, the first aid video of the patient by the accompanying doctor, and other content.

[0119] The embodiment of the present application also proposes another implementation method for solving information leakage, in which during the execution process, the second time node at the start of each processing sub-process is recorded. Thus, at different stages of the processing sub-process, the chat data can still be guaranteed not to be leaked without removing the instant messaging client irrelevant to the processing sub-process.

[0120] During the execution process, the second time node at the start of each processing sub-process is recorded.

[0121] At least one processing sub-flow corresponding to the instant messaging client that joins the group conversation is marked.

[0122] Receive a chat message sent by any instant client and record a timestamp for the chat message.

[0123] If the timestamp is within the duration of a specific processing sub-process, the chat message is sent to the communication client marked with the specific processing sub-process; the duration of the specific processing sub-process is from the second time node when the specific processing sub-process starts to the third time node when the next sub-process of the specific processing sub-process starts.

[0124] In one example, a method for managing an emergency referral group session includes the following steps:

[0125] S301: receiving a voice message sent by a user through a third-party communication channel, and extracting key information from the voice message.

[0126] S302: When the key information triggers a target task, an execution process associated with the target task is established; the execution process includes multiple processing sub-processes; each processing sub-process is sorted according to the corresponding processing progress in the target task.

[0127] An example of the present application is applied to a 120 emergency rescue scenario, and an execution process associated with a target task is established, including sub-processes: sub-process 1 - assigning a car doctor and a community doctor, sub-process 2 - transferring the patient to the ambulance, and sub-process 3 - transporting the patient back by ambulance for admission.

[0128] S303: Establish a group session for the execution process, run sub-process 1, and record that the second time node when sub-process 1 starts running is T1.

[0129] S304: Add the instant messaging client 1 of the accompanying doctor and the instant messaging client 2 of the community doctor to the group conversation, and mark the instant messaging client 1 and the instant messaging client 2 with a flag Q of the sub-process 1.

[0130] S305: Chat message 1 sent by the client is received at time T2, and chat message 1 is timestamped as T2.

[0131] T2 is greater than T1, and T2 is less than T3. The chat message 1 sent by T2 is within the duration of sub-process 1, so the chat message 1 is sent to the instant messaging client 1 and the instant messaging client 2 carrying the mark Q.

[0132] S306: receiving a trigger operation initiated by the instant messaging client 1 to start the next processing sub-process (sub-process 2), and recording a second time node T3 at which the sub-process 2 starts.

[0133] S307: When receiving the confirmation operation of the specialist on the patient's condition through the instant messaging client 3, the specialist's instant messaging client 3 is added to the group conversation.

[0134] S308: Mark the instant messaging client 2 and the instant messaging client 3 with a label P of the sub-process 2.

[0135] S309: Chat message 2 sent by the client is received at time T4, and chat message 2 is timestamped as T4.

[0136] In the above process, if the tag of a certain instant messaging terminal does not correspond to a specific processing sub-flow, the chat data generated during the execution of the specific processing sub-flow will not be sent to the certain instant messaging terminal.

[0137] T4 is greater than T3, and T4 is less than T5. The chat message 2 sent by T4 is within the duration of sub-process 2, so the chat message 2 is sent to the instant messaging client 2 and the instant messaging client 3 carrying the mark P, thereby shielding the message of the instant messaging client 1 and preventing the village doctor from viewing the information that is not within his authority.

[0138] S3010: receiving a trigger operation initiated by the instant messaging client 2 to start the next processing sub-process (sub-process 3), and recording a second time node T5 at which the sub-process 3 starts.

[0139] The emergency referral group session management method proposed in the embodiment of the present application also includes step S260: receiving an end operation of the execution process issued by the user, sending a sleep command to the group session, so that the instant messaging client entering the group session displays the group session in a preset manner; the preset manner includes folding the group session and displaying the group session in a hidden interface.

[0140] The user can click the button to end the execution process in the applet running the group session, or send the end operation of the execution process by uploading the admission notice in the corresponding area of ​​the group session.

[0141] An example of the present application is applied to a 120 emergency scenario. The target task is to transport a patient to the hospital for admission. The instant messaging client can trigger an operation to end the execution process. The server receives the operation to end the execution process and displays the group conversation in a preset manner. Therefore, any instant messaging client can send a chat message in the group conversation, and the group conversation will not be displayed preferentially on the display interface.

[0142] Figure 3 This is a schematic diagram of an example of a preset method for displaying group conversations in the present application. Display area 1 displays group conversation 1 and group conversation 2 corresponding to the running execution process. Display area 2 collapses the group conversations in the form of conversation groups. When the user clicks on the conversation group or long presses the conversation group, the instant messaging client expands the collapsed conversation group in display area 2 to display group conversation 3 and group conversation 4.

[0143] The first aid referral group session management method proposed in the embodiment of the present application, when receiving the user's start to initiate the target task, the corresponding processing sub-process corresponding to each progress node is established according to the processing progress of the target task to form an overall execution process. When the execution process starts to run, a group session corresponding to the overall execution process is established, and a group session for the target task is established from the user's perspective; since the above-mentioned processing sub-processes corresponding to each progress are established, each time the user triggers the operation of a processing sub-process, the server can automatically add the instant messaging terminals of the relevant personnel of each processing progress of the target task to the group session, so that at different stages of the target task, the user list of the group session is all related to the current stage of the target task. There is no need to manually add group session users according to the progress of the target task, avoiding unnecessary occupation of human resources.

[0144] Figure 4 is a functional module diagram of the emergency referral group session management device proposed in the embodiment of the present application, such as Figure 4 As shown, the device comprises:

[0145] The information extraction module 41 is used to extract key information from the voice message after receiving the voice message sent by the user through the third-party communication channel;

[0146] A process establishment module 42 is used to establish an execution process associated with the target task when the key information triggers the target task; the execution process includes multiple processing sub-processes; each processing sub-process is sorted according to the corresponding processing progress in the target task;

[0147] The group session establishing module 43 is used to establish a group session of the execution process, and add instant messaging clients executing different processing sub-processes to the group session in sequence according to the arrangement order of each processing sub-process.

[0148] Figure 4 The emergency referral group session management device provided in the illustrated embodiment can be used to implement the present specification Figures 1 to 3 The technical solution of the method embodiment shown, its implementation principle and technical effect can be further referred to the relevant description in the method embodiment.

[0149] Optionally, the group session establishing module includes:

[0150] An area selection submodule is used to select a geographical area within a preset radius using the address positioning data as an origin;

[0151] A client selection submodule, configured to select a first instant messaging client in the geographical area whose current location has the shortest travel time with the user;

[0152] The first adding submodule is used to add the first instant messaging client as an instant messaging client corresponding to a specific processing sub-flow to the group conversation.

[0153] Optionally, the group session establishing module includes:

[0154] A queue acquisition submodule is used to acquire a pre-established first client queue; different instant messaging clients in the first client queue are used to execute specific processing sub-processes in different application time periods;

[0155] A time node acquisition submodule is used to acquire the first time node when the user sends a voice message;

[0156] A search submodule, used for searching the first client queue for a second instant messaging client matching the first time node;

[0157] The second adding submodule is used to add the second instant messaging client to the group conversation as an instant messaging client corresponding to the specific processing sub-flow.

[0158] Optionally, the group session establishing module is specifically used to:

[0159] It is detected that in the current processing sub-flow, any instant messaging client of the group session initiates a trigger operation to start the next processing sub-flow, and the instant messaging client executing the next processing sub-flow is added to the group session;

[0160] If any instant messaging client executing the current processing sub-flow does not process the next processing sub-flow, after adding the instant messaging client executing the next processing sub-flow to the group session, the instant messaging client is removed from the group session.

[0161] Optionally, the trigger operation includes an operation of uploading attributes of the target task, and the device further includes:

[0162] A category determination module, used to determine the category of the instant messaging client that executes the next processing sub-process according to the attribute of the target task;

[0163] The client adding module is used to select a target instant messaging client from a pre-established second client queue and add the target instant messaging client to the group conversation; different second client queues correspond to different categories.

[0164] Optionally, the device further comprises:

[0165] A matching module, used for recording a second time node at which each processing sub-process starts during the execution process;

[0166] A marking module, used for marking at least one processing sub-process corresponding to the instant messaging client joining the group conversation;

[0167] A recording module, used for receiving a chat message sent by any instant client and recording a timestamp for the chat message;

[0168] A message sending module is used to send the chat message to a communication client marked with a specific processing sub-process when the timestamp is within the duration of the specific processing sub-process; the duration of the specific processing sub-process is from the second time node when the specific processing sub-process starts to the third time node when the next sub-process of the specific processing sub-process starts.

[0169] Optionally, the device further comprises:

[0170] A location acquisition module, used for obtaining location information of at least one communication client added to the group session when the execution process of the target task is related to the distance between the instant communication clients added to the group session;

[0171] A path generation module, used to generate a task path according to the location information of the at least one communication client;

[0172] The path sending module is used to send the task path to the at least one instant messaging client; and send the task path to the user corresponding to the voice message through a third-party communication channel.

[0173] Optionally, the device further comprises:

[0174] The instruction sending module is used to send a sleep instruction to the group session when receiving an end operation of the execution process sent by the user, so that the instant messaging client entering the group session displays the group session in a preset manner; the preset manner includes folding the group session and displaying the group session in a hidden interface.

[0175] Regarding the various modules / units included in the various devices described in the above embodiments, they can be software modules / units, or hardware modules / units, or they can be partially software modules / units and partially hardware modules / units. For example, for various devices applied to or integrated in a chip, the various modules / units included therein can all be implemented in the form of hardware such as circuits, or at least some of the modules / units can be implemented in the form of software programs, which run on a processor integrated inside the chip, and the remaining modules / units can be implemented in the form of hardware such as circuits; for various devices applied to or integrated in a chip module, the various modules / units included therein can all be implemented in the form of hardware such as circuits, and different modules / units can be located in the same component of the chip module (such as a chip, circuit module, etc.) or in different components, or at least some of the modules / units can be implemented in the form of software programs. The software program may be implemented in the form of a program, which runs on a processor integrated in the chip module, and the remaining modules / units may be implemented in the form of hardware such as circuits; for each device applied to or integrated in the electronic terminal device, each module / unit contained therein may be implemented in the form of hardware such as circuits, and different modules / units may be located in the same component (for example, a chip, a circuit module, etc.) or in different components in the electronic terminal device, or at least some modules / units may be implemented in the form of a software program, which runs on a processor integrated in the electronic terminal device, and the remaining (if any) modules / units may be implemented in the form of hardware such as circuits.

[0176] In one embodiment of the present application, a computer-readable storage medium is provided, on which a program is stored. The stored program includes a method that can be loaded by a processor and process any of the above embodiments.

[0177] The embodiment of the present application also discloses a server, including a processor and a storage device, wherein the storage device is used to store computer instructions, and the processor is used to execute the computer instructions. The processor executes a computer program or computer instructions, so that the computer device executes the stroke data reporting method as in any of the previous embodiments.

[0178] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above-mentioned embodiments can be implemented by hardware or by computer programs. When all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to implement the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above-mentioned functions can be implemented. In addition, when all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash disk or mobile hard disk, and can be downloaded or copied and saved in the memory of the local device, or the system of the local device is updated, and when the program in the memory is executed by the processor, all or part of the functions in the above-mentioned embodiments can be implemented.

[0179] The above specific examples are used to illustrate the present application, which is only used to help understand the present application and is not intended to limit the present application. For technicians in the technical field to which the present application belongs, they can also make some simple deductions, deformations or substitutions based on the ideas of the present application.

Claims

1. A method for managing a first aid referral group session, characterized in that: Applied to an instant messaging server, the method comprises: Receive voice messages sent by users through third-party communication channels and extract key information from the voice messages; When the key information triggers a target task, an execution process associated with the target task is established; the execution process includes multiple processing sub-processes; each processing sub-process is sorted according to the corresponding processing progress in the target task; Establishing a group session for executing the process, and sequentially adding instant messaging clients executing different processing sub-processes to the group session according to the arrangement order of each processing sub-process; During the execution of the execution process, recording the second time node at which each processing sub-process starts; Marking at least one processing sub-process corresponding to the instant messaging client that joins the group conversation; Receive a chat message sent by any instant client, and record a timestamp for the chat message; If the timestamp is within the duration of a specific processing sub-flow, the chat message is sent to the communication client marked with the specific processing sub-flow; the duration of the specific processing sub-flow is from the second time node when the specific processing sub-flow starts to the third time node when the next sub-flow of the specific processing sub-flow starts; According to the arrangement order of each processing sub-process, the instant messaging clients executing different processing sub-processes are added to the group session in sequence, including: It is detected that in the current processing sub-flow, any instant messaging client of the group session initiates a trigger operation to start the next processing sub-flow, and the instant messaging client executing the next processing sub-flow is added to the group session; If any instant messaging client executing the current processing sub-flow does not process the next processing sub-flow, after adding the instant messaging client executing the next processing sub-flow to the group session, the instant messaging client is removed from the group session.

2. The method according to claim 1, characterized in that The key information includes the user's address location data, and the instant messaging clients executing different processing sub-processes are added to the group session in sequence, including: Taking the address location data as the origin, select a geographic area within a preset radius; Selecting a first instant messaging client in the geographic area whose current location has the shortest travel time with the user; The first instant messaging client is added to the group conversation as an instant messaging client corresponding to a specific processing sub-process.

3. The method according to claim 1, characterized in that Sequentially adding instant messaging clients executing different processing sub-processes to the group session includes: Acquire a pre-established first client queue; different instant messaging clients in the first client queue are used to execute specific processing sub-processes in different application time periods; Get the first time point when the user sends a voice message; Searching the first client queue for a second instant messaging client that matches the first time node; The second instant messaging client is added to the group conversation as an instant messaging client corresponding to the specific processing sub-process.

4. The method according to claim 1, characterized in that: The trigger operation includes an operation of uploading the attributes of the target task, and the method further includes: Determining the type of the instant messaging client that executes the next processing sub-process according to the attribute of the target task; A target instant messaging client is selected from a pre-established second client queue, and the target instant messaging client is added to the group session; different second client queues correspond to different categories.

5. The method according to claim 1, characterized in that: The method further comprises: When the execution process of the target task is related to the distance between the instant messaging clients added to the group session, obtaining location information of at least one messaging client added to the group session; generating a task path according to the location information of the at least one communication client; Sending the task path to the at least one instant messaging client; The task path is sent to the user corresponding to the voice message through a third-party communication channel.

6. The method according to claim 1, characterized in that After completing the execution process, the method further includes: After receiving an end operation of the execution process from a user, a sleep instruction is sent to the group session, so that an instant messaging client entering the group session displays the group session in a preset manner; the preset manner includes folding the group session and displaying the group session in a hidden interface.

7. An emergency referral group session management device, used to execute the method according to any one of claims 1 to 6, characterized in that: Set up on an instant messaging server, the device includes: An information extraction module, for extracting key information from a voice message after receiving the voice message sent by the user through a third-party communication channel; A process establishment module, used for establishing an execution process associated with the target task when the key information triggers the target task; the execution process includes multiple processing sub-processes; each processing sub-process is sorted according to the corresponding processing progress in the target task; The group session establishment module is used to establish a group session of the execution process, and add instant messaging clients executing different processing sub-processes to the group session in sequence according to the arrangement order of each processing sub-process.

8. A server, characterized in that: The method comprises a processor and a storage device, wherein the storage device is used to store computer instructions, and the processor is used to execute the computer instructions to implement the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method and device for processing session group in instant messaging application

    CN114726811A

  • Message processing method and device, electronic equipment and readable storage medium

    CN115361354A