First aid application service method, device and electronic device based on path planning

Through the first aid application service method based on path planning, the problems of inaccurate information description and backward first aid system in the first aid scenario are solved, and high-precision first aid path and evaluation results are achieved, and the first aid efficiency is improved.

CN115689077BActive Publication Date: 2025-06-27BEIJING YUANMENG HEALTH TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211181523.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-27
Publication Date
2025-06-27
Estimated Expiration
2042-09-27

AI Technical Summary

Technical Problem

In the first aid scenario, the emergency patients cannot accurately describe the geographical location and condition, and the emergency system in rural areas is backward, resulting in the inability to receive timely diagnosis and treatment of critically ill patients. How to improve the accuracy of emergency application services to improve the first aid efficiency of risky personnel has become an urgent problem.

Method used

A first aid application service method based on path planning is proposed. By obtaining user input information, including path selection information, performing path calculations, obtaining nodes to be expanded, and performing node tasks to obtain front-end display data, and first aid evaluation is performed based on user feedback information.

Benefits of technology

It realizes path judgment under complex logical conditions, ensures that the correct path and first aid evaluation results are provided under dynamic conditions, improves the accuracy of first aid application services, and effectively improves the first aid efficiency of risk personnel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115689077B_ABST
    Figure CN115689077B_ABST
Patent Text Reader

Abstract

The present application provides a first-aid application service method, device, and electronic device based on path planning, which relates to the technical field of data processing. The method includes: obtaining an input of a user based on a terminal device, where the input includes path selection information; obtaining a path structure that matches the path selection information from a preset path table, and the path structure includes multiple nodes; performing path calculation according to whether the nodes in the path structure meet the node application conditions to obtain nodes to be expanded; executing the node tasks of the nodes to be expanded, and obtaining front-end display data according to the node types of the nodes to be expanded, where the node types include jump nodes and content nodes; obtaining feedback information of the user based on the front-end display data, and obtaining a first-aid evaluation result according to the feedback information. A first-aid evaluation result with relatively high accuracy can be obtained, the accuracy of the first-aid application service can be improved, and thus the first-aid efficiency of risk personnel can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of data processing, and particularly relates to a first-aid application service method, device, and electronic device based on path planning. Background Art

[0002] In daily life, accidental events such as drowning, traffic accidents, bites, choking, etc. are inevitable. When these accidental events occur, the most common way to seek help is to call the emergency number 120. However, in most cases, emergency patients are unable to make a call, and some are even unable to accurately describe their geographical location and condition. At the same time, in most rural areas, the emergency system is relatively backward, and due to reasons such as being far from the hospital, many critically ill patients cannot receive timely diagnosis and treatment.

[0003] Based on the above various situations, for various emergency patients, taking medicine in time, calling for help, and receiving timely rescue from doctors within the golden time of the best medication are the key to saving the patients' lives. In the context of the construction of intelligent healthcare, although some intelligent first-aid service systems have emerged, in the first-aid scenario, the knowledge system that needs to be processed by the system is very complex, and an accurate, timely, and effective service plan needs to be made according to the user's current situation.

[0004] Therefore, how to improve the accuracy of the first-aid application service and thus effectively improve the first-aid efficiency of at-risk personnel has become an urgent problem to be solved. Summary of the Invention

[0005] In view of this, the purpose of this application is to propose a first-aid application service method, device, and electronic device based on path planning, and this application can specifically solve the existing problems.

[0006] Based on the above purpose, in the first aspect, this application proposes a first-aid application service method based on path planning. The method includes: obtaining an input of a user based on a terminal device, where the input includes path selection information; obtaining a path structure matching the path selection information from a preset path table, where the path structure includes multiple nodes; performing path calculation according to whether the nodes in the path structure meet the node application conditions to obtain nodes to be expanded; executing the node tasks of the nodes to be expanded, and obtaining front-end display data according to the node types of the nodes to be expanded, where the node types include jump-type nodes and content-type nodes; obtaining feedback information of the user based on the front-end display data, and obtaining a first-aid evaluation result according to the feedback information.

[0007] Further, the multiple nodes included in the path structure have a hierarchical relationship. The nodes have sibling nodes and child nodes. Calculating a path to obtain a node to be expanded according to whether the nodes in the path structure meet the node application conditions includes: expanding the nodes one by one level by level according to the hierarchical relationship of the nodes in the path structure, and calculating whether the nodes meet the node application conditions; when a node meets the node application conditions, using the node that meets the node application conditions as the node to be expanded, and judging whether the child nodes of the node that meets the node application conditions meet the node application conditions, and sequentially traversing all child nodes; when a node does not meet the node application conditions, judging whether the sibling nodes of the node meet the node application conditions, and sequentially traversing all sibling nodes of the node; using the expansion order of the nodes that meet the node application conditions as the sorting of the nodes to be expanded, and forming a set of nodes to be expanded.

[0008] Further, when the node to be expanded is a jump type node, executing the node task of the node to be expanded and obtaining front-end display data according to the node type of the node to be expanded includes: judging the sub-type of the jump type node, where the sub-types of the jump type node include tab jump and pop-up window jump; when the sub-type is tab jump, opening the tab interface according to the opening state of the tab; where in the state where the tab is not opened, opening a new content tab in the current content frame; in the state where the tab is opened, jumping to the corresponding opened tab; when the sub-type is pop-up window jump, opening a preset pop-up window corresponding to the jump type node in the current content frame.

[0009] Further, when the node to be expanded is a content type node, executing the node task of the node to be expanded and obtaining front-end display data according to the node type of the node to be expanded includes: obtaining the node content matching the content type node from a preset node table, expanding the node content in sequence according to a preset display order, and assembling all the node content of the node to be expanded into complete front-end display data; where the node content includes content formed by arbitrarily combining 8 types of data modes, namely soothing words, guiding words, inquiry words, situation judgment, prompt information, important prompt, video pictures, and tool links.

[0010] Further, the input by the user based on the terminal device includes the chief complaint information. Before performing path calculation based on whether the nodes in the path structure meet the node application conditions to obtain the nodes to be expanded, the method includes: obtaining the chief complaint information of the user; performing word segmentation processing on the chief complaint information to obtain a plurality of phrases, and obtaining a first estimated risk result matching the phrases according to a preset risk matching table; or performing semantic analysis on the chief complaint information to obtain a second estimated risk result; and obtaining a path structure matching the first estimated risk result or the second estimated risk result from a preset path table.

[0011] Further, the input by the user based on the terminal device includes the chief complaint information. Before performing path calculation based on whether the nodes in the path structure meet the node application conditions to obtain the nodes to be expanded, the method includes: obtaining the chief complaint information of the user; performing word segmentation processing on the chief complaint information to obtain a plurality of phrases, and obtaining a first determined risk result matching the phrases according to a preset risk matching table; or performing semantic analysis on the chief complaint information to obtain a second determined risk result; presenting the first determined risk result or the second determined risk result to the user; receiving a selection result of the user for the first determined risk result or the second determined risk result; and obtaining a path structure matching the selection result from a preset path table.

[0012] Further, the content-based node is associated with question options based on the current event to be answered by the user. The feedback information of the user based on the front-end display data includes the question results of the user for the question options. Obtaining the feedback information of the user based on the front-end display data and obtaining an emergency assessment result according to the feedback information includes: obtaining a question result set composed of the question results; matching the question result set with a cross-chain assessment set in a preset event assessment table to obtain a first assessment result set, where the cross-chain assessment set includes question options associated with nodes from multiple path structures; matching the question result set with an in-chain assessment set of the preset event assessment table to obtain a second assessment result set, where the in-chain assessment set includes question options associated with nodes from the same path structure; obtaining the union of the first assessment result set and the second assessment result set, sorting according to the weights in the preset event assessment table, and using the risk rating corresponding to the assessment result with the highest weight as the emergency assessment result of the current event.

[0013] In a second aspect, a first-aid application service device based on path planning is further provided, including: a data acquisition module configured to acquire an input of a user based on a terminal device, where the input includes path selection information; a path matching module configured to acquire a path structure matching the path selection information from a preset path table, where the path structure includes multiple nodes; a path calculation module configured to perform path calculation according to whether the nodes in the path structure meet node application conditions to obtain nodes to be expanded; a node processing module configured to execute node tasks of the nodes to be expanded and obtain front-end display data according to the node types of the nodes to be expanded, where the node types include jump nodes and content nodes; and an evaluation module configured to acquire feedback information of the user based on the front-end display data and obtain a first-aid evaluation result according to the feedback information.

[0014] In a third aspect, an electronic device is further provided, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor runs the computer program to implement the method described in the first aspect.

[0015] In a fourth aspect, a computer-readable storage medium is further provided, on which a computer program is stored, and the program is executed by a processor to implement the method described in any item of the first aspect.

[0016] Generally speaking, the advantages of this application and the experience brought to users are as follows:

[0017] A first-aid application service method based on path planning is provided. When the input of the user acquired based on the terminal device includes path selection information, the path planning route corresponding to the path selection information is directly started. Specifically, a path structure matching the path selection information is acquired from a preset path table, where the path structure includes multiple nodes; path calculation is performed according to whether the nodes in the path structure meet node application conditions to obtain nodes to be expanded; node tasks of the nodes to be expanded are executed, and front-end display data is obtained according to the node types of the nodes to be expanded, where the node types include jump nodes and content nodes; feedback information of the user based on the front-end display data is acquired, and a first-aid evaluation result is obtained according to the feedback information. Different path judgments can be processed under complex logical conditions, so as to ensure that the correct path is provided and an accurate first-aid evaluation result is obtained under the continuous input of dynamic conditions, improving the accuracy of the first-aid application service, and thus effectively improving the first-aid efficiency of at-risk personnel. Description of the Drawings

[0018] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the several views denote the same or similar components or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings depict only some embodiments disclosed in accordance with the present application and should not be regarded as limiting the scope of the present application.

[0019] Figure 1 A step flowchart showing the path planning-based first aid application service method of the present application;

[0020] Figure 2 A relational structure diagram showing the path structure in the graph database according to an embodiment of the present application;

[0021] Figure 3 A relational structure diagram showing the path structure in the relational database according to an embodiment of the present application;

[0022] Figure 4 A schematic table showing the structure of the path nodes according to an embodiment of the present application;

[0023] Figure 5 A structure diagram showing the problems included in the nodes according to an embodiment of the present application;

[0024] Figure 6 A schematic diagram showing the relevance between the content nodes and the problems according to an embodiment of the present application;

[0025] Figure 7 A step flowchart showing the steps of obtaining the nodes to be expanded according to an embodiment of the present application;

[0026] Figure 8 A schematic diagram of an interface showing the front-end display data according to an embodiment of the present application;

[0027] Figure 9 A field composition diagram showing an evaluation result according to an embodiment of the present application;

[0028] Figure 10 A schematic diagram of an interface showing the input of the chief complaint information according to an embodiment of the present application;

[0029] Figure 11 Another step flowchart showing the path planning-based first aid application service method according to an embodiment of the present application;

[0030] Figure 12 Another step flowchart showing the path planning-based first aid application service method according to an embodiment of the present application;

[0031] Figure 13 A system framework diagram showing the implementation of the path planning-based first aid application service method of this embodiment;

[0032] Figure 14Shows a schematic structural diagram of a first-aid application service device based on path planning according to an embodiment of the present application;

[0033] Figure 15 Shows a schematic structural diagram of an electronic device provided by an embodiment of the present application;

[0034] Figure 16 Shows a schematic diagram of a storage medium provided by an embodiment of the present application. Detailed implementation manners

[0035] The present application will be further described in detail below with reference to the accompanying drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the related invention, rather than limiting the invention. In addition, it should be noted that for the convenience of description, only parts related to the invention are shown in the drawings.

[0036] It should be noted that, without conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the drawings and embodiments.

[0037] Figure 1 Shows a flowchart of the steps of a first-aid application service method based on path planning of the present application. The execution subject of this method can be a server or an electronic device. An emergency application APP is installed on the electronic device, and the user can achieve human-computer interaction through the APP, such as inputting a description of the current patient's condition.

[0038] In the embodiments of the present application, referring to Figure 1 , this method includes the following steps S101 to S105:

[0039] S101. Obtain the input of the user based on the terminal device.

[0040] In this embodiment, the input of the user based on the terminal device includes path selection information. The path selection information is a direct selection of a user for a certain medical path. For example, the server displays path options such as the trauma path, the accident path, and the common disease path to the user through the terminal device, and the user can select one or more of these path options.

[0041] In one example, the scenario corresponding to the input of the user based on the terminal device being path selection information is a scenario of directly starting the path, that is, after the user inputs the path selection information, the system directly enters the calculation of this path.

[0042] S102. Obtain a path structure that matches the path selection information from a preset path table. The path structure includes multiple nodes.

[0043] In this embodiment, a node is a knowledge node. A knowledge node is the smallest unit for path calculation. That is, after meeting a certain path planning condition, the content contained in a certain node needs to be used as a whole. Multiple nodes form a path. Therefore, a knowledge node is the smallest logical unit for knowledge application.

[0044] In this embodiment, a path refers to a network node organization form composed of a kind of knowledge nodes. Specifically, a path can express the vector link relationship between different knowledge nodes and the application conditions of different nodes. According to different usage scenarios, paths can be divided into: supplementary description, event inquiry, first aid guidance, etc. In an actual path, the role of the path is diverse. For example, there is a path that includes event inquiry, first aid guidance, and supplementary description at the same time. The specific role of the path is determined by the application conditions of the path and the specific content of the knowledge nodes included in the path.

[0045] In an example, supplementary description is to supplement a certain situation of the current event through the combination of a series of knowledge nodes, or to expand and explain a certain problem, or to supplement a certain first aid guidance. For example, a specific diagram is given, and the diagram is used to inform the user of the area to which a certain location belongs, so as to facilitate the positioning of the injured area.

[0046] Event inquiry is to ask the user questions or prompt the user to make a judgment on the on-site situation through the combination of a series of knowledge nodes, so as to facilitate subsequent further first aid guidance processing. For example, asking the user about the specific injured part of the injured person.

[0047] First aid guidance is to provide first aid guidance for a certain situation of the current event through the combination of a series of knowledge nodes. Usually, based on a certain judgment of the user or some on-site situations that have been known, reasonable first aid guidance content is given. For example, giving the suggestion to let the injured person lie flat in a ventilated area.

[0048] In this embodiment, a path table, a risk matching table, a node table, etc. can be preset in the database of the server to facilitate path calculation and node calculation, etc. in this embodiment. The path table includes a path structure, and the relationship structure of the path structure in the graph database is as Figure 2 shown, where, in the graph database, the path structure is manifested as a vector connection relationship between a series of nodes. As Figure 2As shown, in the choking (estimated) path PRC2207271614480001, there are 3 nodes: node PNC2207271627400001, node PNC2207271627400002, and node PNC2207271627400003. Among them, PRC2207271614480001 is the path number (Route_Code), and PNC2207271627400001, PNC2207271627400002, and PNC2207271627400003 are node numbers (Node_Code).

[0049] Node PNC2207271627400002 has a vector link relationship with node PNC2207271627400001, and node PNC2207271627400003 has a vector link relationship with node PNC2207271627400001. That is, there are 3 knowledge nodes and 2 edges formed by vector relationships in this path.

[0050] The relationship structure of the path structure in the relational database is as Figure 3 shown. Among them, in the relational database, the path is represented as a tree-like structure relationship between a series of nodes, and the relationship between nodes is described by parent nodes and child nodes. As Figure 3 shown, in the choking (estimated) path PRC2207271614480001, there are 3 nodes: node PNC2207271627400001, node PNC2207271627400002, and node PNC2207271627400003. Among them, node PNC2207271627400001 has no parent node, and node PNC2207271627400001 has 2 child nodes, PNC2207271627400002 and PNC2207271627400003. Node PNC2207271627400002 has a parent node PNC2207271627400001 and no child nodes. PNC2207271627400003 has a parent node PNC2207271627400001 and no child nodes.

[0051] As Figure 3As shown in the figure, where Node_Code is the node number, Route_Code is the path number, and Question_Code is the question number. The remarks include whether the risk assessment of the current path belongs to estimated risk or determined risk. Among them, the estimated risk is the risk result calculated by the system and directly provides interaction to the user by matching the path. During this process, the estimated risk is not presented to the user and belongs to the intermediate calculation process of the background logic. The determined risk includes the risk recommendation result calculated by the system and the risk result obtained by the user based on their own judgment. The determined risk must be manually selected by the user before matching the path and performing subsequent interactions. During this process, the determined risk must be the content confirmed by the user himself, but the system can make recommendations through algorithms, and the final result is subject to the actual selection of the user.

[0052] Figure 4 is the structural schematic table of path nodes, as Figure 4 shown. In this embodiment, the node types of path nodes include jump nodes and content nodes. The content nodes include content type, rich text content, associated questions, and URLs. For content nodes, users can see their specific content. According to the type of content displayed by the content nodes, they can be further divided into "main content" and "sub-content". The display area of the terminal device can be divided into a main content area and a sub-content area, and the main content will be displayed in the main content area, and the sub-content will be displayed in the sub-content area.

[0053] Among them, the associated questions included in the content nodes are question options for a certain event. These question options are constructed based on the medical knowledge system and are used to obtain the current information of the user in order to make a correct judgment. For example, in the nodes of the choking path, the questions included are "consciousness judgment" and "breathing judgment". For the option of "consciousness judgment", the options include "unconscious", "conscious", and "unable to judge", and for the option of "breathing judgment", the options include "no breathing", "breathing", and "unable to judge". When the user feedbacks the question results for the above questions under the current event, the system can evaluate the current state of the injured according to the user's question results.

[0054] Figure 5 is the structure of the questions included in the nodes, as Figure 5 shown. The content of the questions includes: options, option values, option labels, and option identifiers. This part of the content has global commonality, that is, the same questions in different paths or nodes are unified.

[0055] Among them, the options include A / B / C / D, etc., which are used to logically define the values of the options or directly used for option judgment logic;

[0056] The option values include judgment option values such as "cannot" or "can", which are presented to the user so that the user can make a selection.

[0057] Option labels, such as "cannot speak or breathe normally", are presented to the user so that the user can see the option results on the work order backtracking page. The work order backtracking page is a backtracking page given by the system after the user completes the current event and contains the evaluation results of the current event. The role of the option label is to enable the user to understand the meaning of the problem result without looking at the problem stem.

[0058] The option identifier is a special option identifier for external system docking. The option identifier is defined by the external system. The external system can be connected to the system using the path planning-based first aid application service method of this embodiment through the API service interface.

[0059] It should be noted that the problems in this embodiment and the problem results feedback by the user can cross the limitations of paths and nodes to achieve the sharing of problems. For example, problem α is included in node A in path 1, and at the same time, problem α can also be included in node B in path 2. Even if the complete content of node A and node B or the way of asking problem α may be different, when the answer α-A is obtained for problem α in node A of path 1, the problem α in node B of path 2 synchronously obtains the answer α-A, that is, problem α realizes the global synchronization effect across paths and nodes. This can avoid the situation where users repeatedly answer the same question in multiple paths, shorten the inquiry time, and also improve the system calculation speed.

[0060] In this embodiment, the specific function of the jump node is to perform jump links between paths or between paths and front-end functions. For example, after meeting a certain specific condition, enter the end jump node of the path. After the user performs this condition operation on the front end, a work order end pop-up window will appear.

[0061] Figure 6 A schematic diagram showing the relevance between the content node and the problem is given. Refer to Figure 6 , in this embodiment, each problem is set with a corresponding problem code, and the content node also has a corresponding node code. Then, the association between the content node and the problem can be realized by associating the node code of the content node with the problem code.

[0062] In this embodiment, the path structure matching the path selection information is obtained from the preset path table. For example, if the path selection information input by the user is the choking path, and the choking path is preset in the path table, after the user inputs the path selection information, the system obtains the path information corresponding to the choking path from the path table, including all node information of the path.

[0063] Figure 6In it, the schematic diagram of the relevance between content nodes and questions gives the relevance serial number between content nodes and questions, content node number Content_Code, node number Node_Code, content type, rich text content, question number Question_Code, URL, remarks including path nodes, and remarks 2 indicating the evaluation risk result. For example, for the content node with serial number 2, the content node number Content_Code is PCC2207271627400002, the node number Node_Code is PNC2207271627400001, the content type is inquiry words, the rich text content is "Can he speak or breathe normally?", the question number Question_Code is PQC2207271627400001, there is no URL, the path node is PRC2207271614480001, and the remarks 2 indicating the evaluation risk result is choking (estimated).

[0064] S103. Perform path calculation according to whether the nodes in the path structure meet the node application conditions to obtain the nodes to be expanded.

[0065] In this embodiment, the node application conditions are used to control whether the node can be enabled. The node can be enabled if and only if the node meets the node application conditions. For content nodes, the manifestation of the node being enabled is that the user can see the specific content of this content node after meeting the node application conditions. For jump nodes, the manifestation of the node being enabled is that after meeting the node application conditions, it can jump to other paths, end pop-ups, specified tabs and other target links.

[0066] It should be noted that due to the path relationship between nodes, if the "parent node" of node N is in the "disabled" state, then regardless of whether node N meets the enabling conditions of this node, node N is still "disabled". If node N has multiple parent nodes, and any one of the parent nodes of node N is "enabled", then node N can directly determine its own state of whether it meets the node enabling conditions.

[0067] In this embodiment, the node application conditions include unconditional, option combination, evaluation result, click to provide, and composite logic, a total of 5 types. Unconditional means this item is empty, and its meaning is that the node is in the "enabled" state in any case.

[0068] Option combination is the option combination of questions. This condition needs to point out the specific option combination method of specific questions, and supports the combination of multiple questions and multiple options. For example, node A will be enabled only when questions α and β are combined.

[0069] The evaluation result is a combination of evaluation results. In this condition, the specific set of evaluation results needs to be pointed out, supporting the combination method of single or multiple evaluation results. It can be understood that in the actual first-aid environment, the patient may have multiple symptoms. For example, according to the bleeding condition of the patient's limb, the first evaluation result that the user belongs to trauma can be obtained, and according to the patient's breathing and clear consciousness, the second evaluation result that the user's condition is stable can be obtained. The node application condition of node B is that node B will be enabled only when the first evaluation result and the second evaluation result are both satisfied. Then, when the evaluation results include both the first evaluation result and the second evaluation result, node B will be enabled.

[0070] Click to provide means that the user enables the node by clicking on a certain node. It can be that the user selects the problem options existing in the node. If there are no problem options in the node, it can be that the user clicks on the area where the node is located.

[0071] Compound logic is the compound logic that comprehensively applies the above-mentioned node application condition logics of unconditional, option combination, evaluation result, and click to provide.

[0072] In this embodiment, as Figure 3 shown, the multiple nodes included in the path structure have a hierarchical relationship. The nodes have sibling nodes and child nodes. In this embodiment, as Figure 7 shown, according to whether the nodes in the path structure meet the node application conditions, the nodes to be expanded are obtained, including the following steps S701 to S704:

[0073] S701. According to the hierarchical relationship of the nodes in the path structure, expand the nodes one by one level by level, and calculate whether the nodes meet the node application conditions.

[0074] It can be understood that a complete path structure contains multiple knowledge nodes that can realize the functions realized by the path structure. In the current event that the user is performing, it may not contain all the knowledge nodes of the path structure. In this case, some knowledge nodes do not need to be enabled. Therefore, in this embodiment, first, all the nodes in the current path structure are expanded one by one according to the hierarchical relationship of the nodes in the path structure, and then each node is judged in turn to calculate whether the node meets the node application conditions. Whether the node meets the node application conditions is judged by determining whether the current event meets the five node application conditions of unconditional, option combination, evaluation result, click to provide, and compound logic described above, which will not be elaborated here. Of course, in an example, other node application conditions can also be set according to actual business requirements.

[0075] S702. When the node meets the node application conditions, the node that meets the node application conditions is used as the node to be expanded, and it is judged whether the child nodes of the node that meets the node application conditions meet the node application conditions, and all the child nodes are traversed in turn.

[0076] For example, if node 1 meets the node application conditions, it is necessary to further determine whether the child nodes of node 1 meet the node application conditions, or determine the nodes that have a vector link relationship with node 1. If node 1 meets the node application conditions, node 1 is used as the node to be expanded. At the same time, it is determined whether the child nodes of the child nodes of node 1 meet the node application conditions, and all the child nodes included in the lower level of node 1 are traversed in turn.

[0077] S703. In the case where the node does not meet the node application conditions, determine whether the sibling nodes of the node meet the node application conditions, and traverse all the sibling nodes of the above node in turn.

[0078] It can be understood that step S702 determines the node application conditions for the child nodes or the child nodes of the child nodes of node 1 in turn, which belongs to vertical extension processing. And step S703 is the horizontal extension of node 1. In the case where node 1 does not meet the node application conditions, it is determined whether the sibling nodes of node 1 meet the node application conditions, and all the sibling nodes of node 1 are traversed in turn. When determining the node application conditions for the sibling nodes of node 1, the methods shown in steps S702 and S703 can also be used to realize the traversal of all nodes in the path structure.

[0079] S704. Use the expansion order of the nodes that meet the node application conditions as the sorting of the nodes to be expanded, and form a set of nodes to be expanded.

[0080] After calculating by the methods of steps S702 and S703, all the nodes that meet the node application conditions in the current path structure can be obtained. Then, in this embodiment, the expansion order of all the nodes that meet the node application conditions is used as the sorting of the nodes to be expanded, and a set of nodes to be expanded is formed. It should be noted that the nodes in the set of nodes to be expanded do not have a hierarchical relationship, but have a sequence.

[0081] S104. Execute the node tasks of the nodes to be expanded, and obtain the front-end display data according to the node types of the nodes to be expanded.

[0082] In this embodiment, the node types include jump nodes and content nodes. The node tasks are determined according to the node types. For example, when the node is a jump node, the node task is to jump to the corresponding address page of the node. When the node is a content node, the node task is to display the content included in the content node to the user. It can be understood that for different node types, the ways of executing node tasks are also different.

[0083] In the case where the node to be expanded is a jump node, executing the node task of the node to be expanded and obtaining the front-end display data according to the node type of the node to be expanded includes:

[0084] Determine the subtype of the jump node. The subtypes of the jump node include tab jump and pop-up window jump. In the case where the subtype is tab jump, open the tab interface according to the opening state of the tab. Among them, in the state where the tab is not opened, open a new content tab in the current content framework. In the state where the tab is opened, jump to the corresponding opened tab. At this time, the front-end display data is the tab interface corresponding to the node.

[0085] In the case where the subtype is pop-up window jump, open the preset pop-up window corresponding to the jump node in the current content framework. At this time, the front-end display data is the preset pop-up window corresponding to the node.

[0086] And in the case where the node to be expanded is a content node, execute the node task of the node to be expanded, and obtain the front-end display data according to the node type of the node to be expanded, including: obtaining the node content matching the content node from the preset node table, expanding the node content in the preset display order in sequence, and assembling all the node content of the node to be expanded into the complete front-end display data. Among them, the node table contains Figure 4 or Figure 5 the content shown.

[0087] In this embodiment, the node content includes content composed of 8 types of data modes, namely soothing words, guiding words, inquiry words, situation judgment, prompt information, important prompt, video pictures, and tool connections, combined in any order.

[0088] Among them, the soothing words only contain rich text content, which is the text content used to guide the user to soothe the on-site caller. For example, the soothing words are "Don't panic, please handle it according to my guidance", etc.

[0089] The guiding words only contain rich text content, which is the text content used to guide the user to provide first aid guidance and related methods for the on-site caller. For example, the guiding words are "Try not to move the injured part as much as possible and keep the original position" or "Please stay with the injured person and pay attention to the change of his injury at any time. If the situation deteriorates, please tell me immediately", etc.

[0090] The inquiry words contain rich text content and associated questions. When presented to the user, these two parts need to be spliced and presented to the user, which is the text content used to guide the user to ask questions to the on-site caller. For example, the associated question is "Does the injured person have severe bleeding or bleeding?" The rich text content is the question options "Severe bleeding", "Minor bleeding", "Unable to judge", "No bleeding".

[0091] The situation judgment includes rich text content and associated questions. When presenting to the user, these two parts need to be concatenated and presented to the user. It is the text content used to require the user to make a judgment on the on-site situation. For example, the associated question is "Whether the condition of the injured has deteriorated", and the rich text content is the question options "Loss of breathing and consciousness", "Loss of consciousness with breathing", "Severe bleeding that does not stop", "Condition stable".

[0092] The prompt message only includes rich text content; it is the text content used to prompt the user's operation precautions or the next processing method. For example, "If the injured has multiple parts injured, please select the most serious part or multiple parts. If multiple parts are selected, please describe the specific injured parts in the remarks."

[0093] The important prompt only includes rich text content; it is the text content used to emphasize important execution steps or risks to the user. For example, "If there are flammable and explosive substances, the vehicle is smoking or on fire, the vehicle is wading in water, etc. at the scene, please be sure to confirm whether there are people trapped in the vehicle."

[0094] The video and picture include rich text content and URL. The rich text content is the picture title, and the URL is the picture link; it is the graphic and text content used to explain the inquiry questions or first aid guidance to the user and the on-site rescuer. The example pictures show the basic body parts structure, including the front and back.

[0095] The tool connection includes rich text content and URL. The rich text content is the name of the small tool, and the URL is the link of the small tool; it is the tool connection used to assist the user in performing certain operations. After clicking, it can jump to the corresponding small tool interface. For example, the small tool is a frequency counting tool used to help the user measure the heart rate of the injured.

[0096] S105. Obtain the feedback information of the user based on the front-end display data, and obtain the first aid evaluation result according to the feedback information.

[0097] In this embodiment, the content-based node is associated with the question options based on the current event to be answered by the user. The feedback information of the user based on the front-end display data includes the question results of the user for the question options. Figure 8 Shows a schematic diagram of the interface of the front-end display data, as Figure 8 shown. This scenario corresponds to the trauma scenario, and the corresponding path is the trauma path. The front-end display data includes multiple question options and supplementary guiding content. The user makes a feedback based on the question options provided by the front-end display data. After the system receives the feedback information, it obtains the first aid evaluation result according to the feedback information. Among them, the feedback information is the question result of the user based on the question options.

[0098] In this embodiment, a risk matching table is preset in the system, and the risk matching table contains fields of evaluation results. Figure 9Shows the field composition of an evaluation result. The content of the evaluation result includes: evaluation result, type, path encoding, logic, and rating. Among them,

[0099] The evaluation result is the Chinese name of the evaluation result, used for name display during front-end display and back-end maintenance.

[0100] The type includes two types: cross-chain evaluation and in-chain evaluation, aiming to reduce the retrieval of invalid evaluation results and improve the matching efficiency of evaluation results. Cross-chain evaluation means that the question options constituting the evaluation result logic may come from multiple paths. In-chain evaluation means that all the question options constituting the evaluation result logic come from the same path.

[0101] The path encoding is used in conjunction with "in-chain evaluation", indicating that all the questions constituting the evaluation logic come from this path.

[0102] The logic is the combination logic of the question options of this evaluation result.

[0103] The rating is the medical evaluation level of this evaluation result, divided into 4 levels, namely: 4 - Critical, 3 - Urgent and Critical, 2 - Emergency, 1 - Minor Illness.

[0104] In this embodiment, obtain the feedback information of the user based on the front-end display data, and obtain the first-aid evaluation result according to the feedback information, including: obtaining the question result set composed of question results; matching the question result set with the cross-chain evaluation set in the preset event evaluation table to obtain the first evaluation result set, and the cross-chain evaluation set includes the question options associated with the nodes from multiple path structures; matching the question result set with the in-chain evaluation set of the preset event evaluation table to obtain the second evaluation result set, and the in-chain evaluation set includes the question options associated with the nodes from the same path structure; obtaining the union of the first evaluation result set and the second evaluation result set, and sorting according to the weights of the preset event evaluation table, and taking the risk rating corresponding to the evaluation result with the highest weight as the first-aid evaluation result of the current event.

[0105] In this embodiment, the evaluation result is a judgment result based on the question result, used to comprehensively analyze the question result in this event according to the medical logic, so as to achieve the purpose of medical classification and grading for the event. In this embodiment, the evaluation result can be calculated according to the feedback result of the user. The specific calculation method can be to count all the question results of the question options included in the calculation logic that meets a certain evaluation result, and then obtain the corresponding evaluation result through the calculation logic of the evaluation result.

[0106] For example, if the question is "Is there breathing?", and the option result is "No breathing"; for the question "Is there consciousness?", and the option result is "Unconscious", at this time, the two option answers can be combined to generate an evaluation result of "Loss of breathing and consciousness", with a rating of "Critical". Such an evaluation result and rating have clinical or first aid significance. At this time, the combination of the option result of "No breathing" and the option result of "Unconscious" is the judgment logic for the evaluation result. This logic can be determined based on the medical knowledge system.

[0107] Such an evaluation result and rating have clinical or first aid significance. At the same time, the evaluation result can be used as a node application condition when making path judgments. That is, in step S103, when calculating the path based on whether the nodes in the path structure meet the node application conditions to obtain the node to be expanded, this evaluation result can be used as part of the node application condition.

[0108] In this embodiment, the evaluation results formed by the combinations of different question results of different paths are medically equivalent. For example, in path 1, question α - A and question β - B can be combined into an evaluation result A0001, and in path 2, question π - C can also be combined into an evaluation result A0001. The evaluation results obtained by these two path combination methods are also globally equivalent.

[0109] The above is the scenario where the user's input is path selection information in a first aid application service method based on path planning provided in this embodiment. That is to say, the user knows the specific situation of the current injured person and can directly select the corresponding path and enter. When the user is not clear about the situation of the current injured person, the user can obtain first aid services by entering the chief complaint information. Figure 10 A schematic diagram of an interface for entering the chief complaint information is shown. The user can enter the chief complaint information in the chief complaint information box on the chief complaint page, such as "The old person choked while eating". At the same time, in order to facilitate medical staff to contact and rescue the injured person, the user can enter basic information such as name, address, and contact information. The user can also fill in the question options such as the identity of the alarm caller, whether they are beside the patient, the gender of the patient, and the judgment of consciousness and breathing, etc., in order to estimate the preliminary situation of the patient.

[0110] That is, the current scenario is a scenario of an estimated risk path where the user is not clear about the specific risks of the patient.

[0111] In this embodiment, the user's input based on the terminal device includes the chief complaint information. Before calculating the path according to whether the nodes in the path structure meet the node application conditions to obtain the node to be expanded, refer to Figure 11 , the method of this embodiment includes the following steps S1101 to S1104:

[0112] S1101. Obtain the chief complaint information of the user.

[0113] As Figure 10 shown, the chief complaint information is the specific situation of the current injured person input by the user. For example, the chief complaint information is "The old person choked while eating".

[0114] S1102. Perform word segmentation on the chief complaint information to obtain multiple phrases, and according to a preset risk matching table, obtain a first estimated risk result that matches the phrases.

[0115] It can be understood that the chief complaint information can be a sentence composed of multiple words or multiple sentences. In order to quickly obtain an estimated risk based on the chief complaint information, an estimated risk can be defined in advance according to the words. Then, perform word segmentation on the chief complaint information to obtain multiple phrases, and then according to the preset risk matching table, obtain a first estimated risk result that matches the phrases.

[0116] For example, if the chief complaint information is "The old person choked", then directly obtain from the risk matching table according to the word "choked" that the first estimated risk result is choked (estimated).

[0117] S1103. Perform semantic analysis on the chief complaint information to obtain a second estimated risk result.

[0118] It can be understood that when there is no word in the chief complaint information that is the same as the words in the risk matching table, but its meaning is expressed, then by performing semantic analysis on the chief complaint information, obtain a second estimated risk result that matches the meaning of the chief complaint information.

[0119] For example, if the chief complaint information is "The old person choked while eating", then according to the phrase "choked while eating", the second estimated risk result can be obtained as "choked" (estimated).

[0120] That is to say, in this embodiment, step S1102 and step S1103 are in a parallel relationship. The estimated risk result can be obtained according to step S1102, or the estimated risk result can be obtained according to step S1103.

[0121] S1104. Obtain a path structure that matches the first estimated risk result or the second estimated risk result from a preset path table.

[0122] After obtaining the estimated risk result through step S1102 or step S1103, it is necessary to further determine the specific path structure according to the estimated risk result. The path table in this embodiment is the path table in step S102. By looking up the table, the path structure that matches the estimated risk result can be obtained.

[0123] For example, in this embodiment, the estimated risk path scenario executes step S1102 to obtain a first estimated risk result. The first estimated risk result is heart disease, then obtain the path structure that matches heart disease from the preset path table.

[0124] After obtaining the path structure, step S103 can be executed to perform path calculation based on whether the nodes in the path structure meet the node application conditions, and obtain the steps of the nodes to be expanded.

[0125] The above is for the scenario of estimating risk paths, and its overall method includes steps S1101 - S1104 and steps S103 - S105.

[0126] In this embodiment, there is also a standard process path scenario. The standard process path scenario can combine the judgment of the system and the judgment of the user to obtain a determined risk, which has better service accuracy. Among them, the determined risk includes the recommended risk result calculated by the system and the risk result obtained by the user based on their own judgment. The determined risk must be manually selected by the user before matching the path and performing subsequent interactions, and the final result is subject to the actual selection of the user. For example, the user Figure 10 selects the system-recommended risk through the event risk box on the interface, thereby determining the risk result.

[0127] Then in this embodiment, before performing path calculation based on whether the nodes in the path structure meet the node application conditions to obtain the nodes to be expanded, as Figure 12 shown, the method includes the following steps S1201 - S1206:

[0128] S1201. Obtain the chief complaint information of the user.

[0129] As Figure 10 shown, the chief complaint information is the specific situation of the current injured person input by the user. For example, the chief complaint information is "The old person choked while eating".

[0130] S1202. Perform word segmentation on the chief complaint information to obtain multiple phrases, and obtain the first determined risk result matching the phrases according to the preset risk matching table.

[0131] It can be understood that the chief complaint information can be a sentence composed of multiple words or multiple sentences. In order to quickly obtain the estimated risk based on the chief complaint information, an estimated risk can be defined in advance according to the words. Then, perform word segmentation on the chief complaint information to obtain multiple phrases, and then obtain the first determined risk result matching the phrases according to the preset risk matching table.

[0132] For example, if the chief complaint information is "The old person choked", then directly obtain the first determined risk result as choking (estimated) from the risk matching table according to the word "choking".

[0133] S1203. Perform semantic analysis on the chief complaint information to obtain the second determined risk result.

[0134] It can be understood that when there is no word in the chief complaint information that is the same as the word in the risk matching table, but its meaning is expressed, the second determined risk result that matches the meaning of the chief complaint information is obtained by semantic analysis of the chief complaint information.

[0135] For example, if the chief complaint information is "The old person choked while eating", then according to the phrase "choked", the second determined risk result can be obtained as "choking" (estimated).

[0136] It should be noted that the difference between the first estimated risk result and the first determined risk result in this embodiment, and the difference between the second estimated risk result and the second determined risk result is that the first estimated risk result and the second estimated risk result are estimated data calculated by the system and are not directly shown to the user, while the first determined risk result and the second determined risk result can be pushed to the user for the user to freely choose.

[0137] S1204. Display the first determined risk result or the second determined risk result to the user.

[0138] For example, through Figure 10 The event risk box on the interface recommends the first determined risk result or the second determined risk result to be selected to the user.

[0139] S1205. Receive the selection result of the user for the first determined risk result or the second determined risk result.

[0140] In this embodiment, after the user selects the first determined risk result or the second determined risk result as the selection result, it indicates that the user agrees with the risk result recommended by the system. The system then performs further calculations based on the selection result.

[0141] S1206. Obtain the path structure that matches the selection result from the preset path table.

[0142] For example, in this embodiment, the selection result is the second determined risk result, and the second estimated risk result is choking. Then, the path structure that matches choking is obtained from the preset path table.

[0143] After obtaining the path structure, step S103 can be executed to perform path calculation according to whether the nodes in the path structure meet the node application conditions to obtain the steps of the nodes to be expanded.

[0144] The above is for the standard risk path scenario, and its overall method includes steps S1201 to S1206 and steps S103 to S105.

[0145] It should be noted that all the data generated during the calculation process of this embodiment can be cached by the data cache unit. The data cache unit is connected to the database to retrieve the data in the database. The data retrieved and stored by the data cache unit is used to implement the calculation of path planning.

[0146] In one example, the system framework for implementing the first-aid application service method based on path planning of this embodiment is as Figure 13 shown. The system architecture includes an interface interaction module, a calculation module, a data cache module, and a database. Among them, the database pre-stores data tables such as a risk matching table, a path table, a node table, and an event evaluation table.

[0147] The data cache module includes an intermediate result cache module, a path result cache, and a node content cache module. The intermediate result cache module and the path result cache are used to cache the interaction results with the user, so as to facilitate the extraction of a certain data when needed. The node content cache module is used to cache the expanded content of the node to facilitate the calculation of the node.

[0148] The calculation module includes a parameter calculation module, a path calculation module, and a node calculation module. Among them, the parameter calculation is used to obtain the user's input and perform calculations according to the user's input. For example, it executes the method of step S105 in the above embodiment. The path calculation module is used to perform calculations related to the path. For example, it executes step S102 to obtain the path structure that matches the path selection information from the preset path table. The node calculation module is used to perform calculations related to the node. For example, it executes step S103 to perform path calculation according to whether the nodes in the path structure meet the node application conditions to obtain the nodes to be expanded.

[0149] The interface interaction module includes a user interaction information input module and a visualization interface presentation module. Among them, the user interaction information input module is used to implement the interaction. For example, the user interaction information input module executes step S101 to obtain the user's input based on the terminal device. The visualization interface presentation module is used to present the information to be displayed to the user. For example, the visualization interface presentation module executes step S104 to execute the node task of the node to be expanded and obtain the front-end display data according to the node type of the node to be expanded.

[0150] The above are the overall steps of a first aid application service method based on path planning provided by this embodiment. When the input of the user based on the terminal device includes path selection information, directly start the path planning route corresponding to the path selection information. Specifically, obtain the path structure matching the path selection information from a preset path table, and the path structure includes multiple nodes; perform path calculation according to whether the nodes in the path structure meet the node application conditions to obtain the nodes to be expanded; execute the node tasks of the nodes to be expanded, and obtain the front-end display data according to the node types of the nodes to be expanded, where the node types include jump nodes and content nodes; obtain the feedback information of the user based on the front-end display data, and obtain the first aid evaluation result according to the feedback information. It can realize the connection relationship of complex knowledge networks, and process different path judgments under complex logical conditions, so as to ensure that the system can make the most appropriate immediate feedback, provide the correct path, obtain accurate first aid evaluation results, improve the accuracy of the first aid application service, and thus effectively improve the first aid efficiency of risk personnel.

[0151] When the input of the user based on the terminal device includes the chief complaint information, adapt the estimated risk path scenario and the standard process path scenario, which can realize that no matter what information the user inputs, the final path structure can be obtained, and support the calculation of complex dynamic logic and knowledge network relationships.

[0152] The application embodiment provides a first aid application service device based on path planning. The first aid application service device based on path planning is used to execute the first aid application service method based on path planning described in the above embodiment. Figure 14 Show a structural schematic diagram of a first aid application service device based on path planning according to an embodiment of the present application. As Figure 14 shown, the first aid application service device 1400 based on path planning includes:

[0153] A data acquisition module 1401, configured to acquire the input of the user based on the terminal device, where the input includes path selection information;

[0154] A path matching module 1402, configured to obtain a path structure matching the path selection information from a preset path table, where the path structure includes multiple nodes;

[0155] A path calculation module 1403, configured to perform path calculation according to whether the nodes in the path structure meet the node application conditions to obtain the nodes to be expanded;

[0156] The node processing module 1404 is used to execute the node tasks of the node to be expanded, and obtain front-end display data according to the node type of the node to be expanded, where the node type includes jump nodes and content nodes;

[0157] The evaluation module 1405 is used to obtain the feedback information of the user based on the front-end display data, and obtain the first-aid evaluation result according to the feedback information.

[0158] In an example, the multiple nodes included in the path structure have a hierarchical relationship, the nodes have sibling nodes and child nodes, and the path calculation module 1403 is further used to: expand the nodes one by one level by level according to the hierarchical relationship of the nodes in the path structure, and calculate whether the nodes meet the node application conditions; in the case that the nodes meet the node application conditions, use the nodes that meet the node application conditions as the nodes to be expanded, and judge whether the child nodes of the nodes that meet the node application conditions meet the node application conditions, and traverse all child nodes in turn; in the case that the nodes do not meet the node application conditions, judge whether the sibling nodes of the nodes meet the node application conditions, and traverse all sibling nodes of the nodes in turn; use the expansion order of the nodes that meet the node application conditions as the sorting of the nodes to be expanded, and form a set of nodes to be expanded.

[0159] In an example, the node processing module 1404 is further used to: judge the subtype of the jump node, where the subtype of the jump node includes tab jump and pop-up window jump; in the case that the subtype is tab jump, open the tab interface according to the opening state of the tab; where in the state where the tab is not opened, open a new content tab in the current content framework; in the state where the tab is opened, jump to the corresponding opened tab; in the case that the subtype is pop-up window jump, open a preset pop-up window corresponding to the jump node in the current content framework.

[0160] In an example, the node processing module 1404 is further used to: obtain the node content matching the content node from a preset node table, expand the node content in sequence according to a preset display order, and assemble all the node content of the node to be expanded into complete front-end display data; where the node content includes content formed by any order combination of 8 types of data modes such as soothing words, guiding words, inquiry words, situation judgment, prompt information, important prompt, video pictures, and tool connections.

[0161] In one example, the input by the user based on the terminal device includes the chief complaint information. The path matching module 1402 is further configured to: obtain the chief complaint information of the user; perform word segmentation processing on the chief complaint information to obtain a plurality of phrases, and obtain a first estimated risk result matching the phrases according to a preset risk matching table; or perform semantic analysis on the chief complaint information to obtain a second estimated risk result; and obtain a path structure matching the first estimated risk result or the second estimated risk result from a preset path table.

[0162] In one example, the input by the user based on the terminal device includes the chief complaint information. The path matching module 1402 is further configured to: obtain the chief complaint information of the user; perform word segmentation processing on the chief complaint information to obtain a plurality of phrases, and obtain a first determined risk result matching the phrases according to a preset risk matching table; or perform semantic analysis on the chief complaint information to obtain a second determined risk result; present the first determined risk result or the second determined risk result to the user; receive a selection result of the user for the first determined risk result or the second determined risk result; and obtain a path structure matching the selection result from a preset path table.

[0163] In one example, the content-based node is associated with question options based on the current event to be answered by the user. The feedback information of the user based on the front-end display data includes the question results of the user for the question options. The evaluation module 1405 is further configured to: obtain a question result set composed of the question results; match the question result set with a cross-chain evaluation set in a preset event evaluation table to obtain a first evaluation result set, where the cross-chain evaluation set includes question options associated with nodes from multiple path structures; match the question result set with an in-chain evaluation set of the preset event evaluation table to obtain a second evaluation result set, where the in-chain evaluation set includes question options associated with nodes from the same path structure; obtain the union of the first evaluation result set and the second evaluation result set, and sort them according to the weights in the preset event evaluation table, and use the risk rating corresponding to the evaluation result with the highest weight as the first aid evaluation result of the current event.

[0164] The first aid application service device based on path planning provided in the above embodiments of the present application and the first aid application service method based on path planning provided in the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application programs stored therein.

[0165] The embodiments of the present application further provide an electronic device corresponding to the first aid application service method based on path planning provided in the foregoing embodiments to execute the above first aid application service method based on path planning. The embodiments of the present application do not make limitations.

[0166] Please refer to Figure 15 , which shows a schematic diagram of an electronic device provided by some embodiments of the present application. As Figure 15 shown, the electronic device 20 includes: a processor 200, a memory 201, a bus 202, and a communication interface 203. The processor 200, the communication interface 203, and the memory 201 are connected through the bus 202; a computer program that can run on the processor 200 is stored in the memory 201, and when the processor 200 runs the computer program, it executes the path planning-based first aid application service method provided by any of the foregoing embodiments of the present application.

[0167] Among them, the memory 201 may include a high-speed random access memory (RAM: Random Access Memory), and may also include a non-volatile memory, such as at least one disk memory. Through at least one communication interface 203 (which can be wired or wireless), a communication connection is realized between this system network element and at least one other network element, and the Internet, wide area network, local area network, metropolitan area network, etc. can be used.

[0168] The bus 202 can be an ISA bus, a PCI bus, an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. Among them, the memory 201 is used to store a program, and after the processor 200 receives an execution instruction, it executes the program. The path planning-based first aid application service method disclosed in any of the foregoing embodiments of the present application can be applied to the processor 200 or implemented by the processor 200.

[0169] The processor 200 may be an integrated circuit chip with the ability to process signals. In the implementation process, each step of the above method may be completed by the integrated logic circuit of the hardware in the processor 200 or the instructions in the form of software. The above-mentioned processor 200 may be a general-purpose processor, including a central processing unit (CPU for short), a network processor (NP for short), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present application may be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory 201, and the processor 200 reads the information in the memory 201 and combines its hardware to complete the steps of the above method.

[0170] The electronic device provided by the embodiments of the present application and the first-aid application service method based on path planning provided by the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the method adopted, run or implemented by it.

[0171] The embodiments of the present application also provide a computer-readable storage medium corresponding to the first-aid application service method based on path planning provided in the foregoing embodiments. Please refer to Figure 16 , which shows that the computer-readable storage medium is an optical disc 30, on which a computer program (i.e., a program product) is stored. When the computer program is run by a processor, it will execute the first-aid application service method provided in any of the foregoing embodiments.

[0172] It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical and magnetic storage media, which will not be elaborated here one by one.

[0173] The computer-readable storage medium provided by the above embodiments of the present application and the first-aid application service method based on path planning provided by the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run, or implemented by the application programs stored therein.

[0174] It should be noted that:

[0175] The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used in conjunction with the teachings provided herein. The structure required to construct such a system will be apparent from the above description. In addition, the present application is not directed to any particular programming language. It should be understood that the content of the present application described herein can be implemented using various programming languages, and the description of a particular language above is for the purpose of disclosing the best mode of the present application.

[0176] In the specification provided herein, a large number of specific details are set forth. However, it can be understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known methods, structures, and technologies have not been shown in detail so as not to obscure the understanding of this specification.

[0177] Similarly, it should be understood that, in order to streamline the present application and assist in understanding one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present application, the various features of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, the disclosed method should not be construed as reflecting an intention that the claimed subject matter of the present application requires more features than are expressly recited in each claim. Rather, as reflected in the following claims, the inventive aspects lie in less than all the features of the single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of the present application.

[0178] Those skilled in the art can understand that the modules in the devices in the embodiments can be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments can be combined into one module or unit or component, and in addition, they can be divided into multiple sub-modules or sub-units or sub-components. Except that at least some of such features and / or processes or units are mutually exclusive, any combination can be adopted to combine all the features disclosed in this specification (including the accompanying claims, abstract and drawings) and all the processes or units of any method or device so disclosed. Unless otherwise explicitly stated, each feature disclosed in this specification (including the accompanying claims, abstract and drawings) can be replaced by an alternative feature that provides the same, equivalent or similar purpose.

[0179] In addition, those skilled in the art can understand that although some of the embodiments described herein include certain features included in other embodiments rather than other features, the combination of the features of different embodiments means that it is within the scope of this application and forms different embodiments. For example, in the following claims, any one of the claimed embodiments can be used in any combination.

[0180] Each component embodiment of the present application can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of the functions of some or all of the components in the virtual machine creation system according to the embodiments of the present application. The present application can also be implemented as a device or system program (for example, a computer program and a computer program product) for executing part or all of the methods described herein. Such a program implementing the present application can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0181] It should be noted that the above embodiments are illustrative of the present application rather than restrictive of the present application, and those skilled in the art can design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in the claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present application can be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In the unit claims listing several systems, several of these systems can be embodied by the same item of hardware. The use of the words first, second, and third, etc. does not denote any order. These words can be interpreted as names.

[0182] As described above, the foregoing is only a specific embodiment of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily conceive of various changes or substitutions, and these should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A first-aid application service method based on path planning, characterized in that The method includes: Obtaining an input from a user based on a terminal device, where the input includes path selection information, and the path selection information is a direct selection by the user for a certain medical path; Obtaining a path structure matching the path selection information from a preset path table, where the path structure includes multiple nodes; Performing path calculation according to whether the nodes in the path structure meet the node application conditions to obtain nodes to be expanded; Executing the node tasks of the nodes to be expanded and obtaining front-end display data according to the node types of the nodes to be expanded, where the node types include jump nodes and content nodes; Obtaining feedback information of the user based on the front-end display data, and obtaining an emergency assessment result according to the feedback information; Among them, the multiple nodes included in the path structure have a hierarchical relationship, the nodes have sibling nodes and child nodes, and performing path calculation according to whether the nodes in the path structure meet the node application conditions to obtain nodes to be expanded includes: expanding the nodes one by one level by level according to the hierarchical relationship of the nodes in the path structure, and calculating whether the nodes meet the node application conditions; when the nodes meet the node application conditions, using the nodes that meet the node application conditions as the nodes to be expanded, and judging whether the child nodes of the nodes that meet the node application conditions meet the node application conditions, and traversing all child nodes in turn; when the nodes do not meet the node application conditions, judging whether the sibling nodes of the nodes meet the node application conditions, and traversing all sibling nodes of the nodes in turn; using the expansion order of the nodes that meet the node application conditions as the sorting of the nodes to be expanded, and forming a set of nodes to be expanded; The input includes chief complaint information. Before performing path calculation according to whether the nodes in the path structure meet the node application conditions to obtain nodes to be expanded, the method includes: obtaining the chief complaint information of the user; performing word segmentation processing on the chief complaint information to obtain multiple phrases, and obtaining a first estimated risk result matching the phrases according to a preset risk matching table; or performing semantic analysis on the chief complaint information to obtain a second estimated risk result; obtaining a path structure matching the first estimated risk result or the second estimated risk result from a preset path table; Or, before performing path calculation according to whether the nodes in the path structure meet the node application conditions to obtain nodes to be expanded, the method includes: obtaining the chief complaint information of the user; performing word segmentation processing on the chief complaint information to obtain multiple phrases, and obtaining a first determined risk result matching the phrases according to a preset risk matching table; or performing semantic analysis on the chief complaint information to obtain a second determined risk result; presenting the first determined risk result or the second determined risk result to the user; receiving a selection result of the user for the first determined risk result or the second determined risk result; obtaining a path structure matching the selection result from a preset path table.

2. The method according to claim 1, characterized in that In the case where the node to be expanded is a jump type node, performing the node task of the node to be expanded and obtaining the front-end display data according to the node type of the node to be expanded includes: Judging the subtype of the jump type node, where the subtypes of the jump type node include tab jump and pop-up window jump; In the case where the subtype is tab jump, open the tab interface according to the opening state of the tab; where in the state where the tab is not opened, open a new content tab in the current content frame; in the state where the tab is opened, jump to the corresponding opened tab; In the case where the subtype is pop-up window jump, open the preset pop-up window corresponding to the jump type node in the current content frame.

3. The method according to claim 1, characterized in that In the case where the node to be expanded is a content type node, performing the node task of the node to be expanded and obtaining the front-end display data according to the node type of the node to be expanded includes: Obtain the node content matching the content type node from the preset node table, expand the node content in sequence according to the preset display order, and assemble all the node content of the node to be expanded into complete front-end display data; Among them, the node content includes content composed of 8 types of data modes including soothing words, guiding words, inquiry words, situation judgment, prompt information, important prompt, video pictures and tool connections combined in any order.

4. The method according to claim 1, characterized in that, The content type node is associated with question options based on the current event that await the user's answer. The feedback information of the user based on the front-end display data includes the question results of the user for the question options. Obtaining the feedback information of the user based on the front-end display data and obtaining the first aid assessment result according to the feedback information includes: Obtain the question result set composed of the question results; Match the question result set with the cross-chain evaluation set in the preset event evaluation table. The cross-chain evaluation set includes question options associated with nodes from multiple path structures; Match the question result set with the in-chain evaluation set of the preset event evaluation table to obtain a second evaluation result set. The in-chain evaluation set includes question options associated with nodes from the same path structure; Obtain the union of the first evaluation result set and the second evaluation result set, sort them according to the weights of the preset event evaluation table, and use the risk rating corresponding to the evaluation result with the highest weight as the first aid evaluation result of the current event.

5. An emergency application service device based on path planning, characterized in that, Including: A data acquisition module for acquiring the input of the user based on the terminal device, where the input includes path selection information; A path matching module for obtaining the path structure matching the path selection information from the preset path table, and the path structure includes multiple nodes; A path calculation module for performing path calculation according to whether the nodes in the path structure meet the node application conditions to obtain the node to be expanded; A node processing module for performing the node task of the node to be expanded and obtaining the front-end display data according to the node type of the node to be expanded, and the node type includes jump type nodes and content type nodes; An evaluation module, configured to obtain feedback information of the user based on the front-end display data, and obtain a first aid evaluation result according to the feedback information; Wherein, the multiple nodes included in the path structure have a hierarchical relationship, the nodes have sibling nodes and child nodes, and the path calculation module is configured to expand each node level by level according to the hierarchical relationship of the nodes in the path structure, and calculate whether the node meets the node application condition; when the node meets the node application condition, the node that meets the node application condition is used as the node to be expanded, and it is judged whether the child nodes of the node that meets the node application condition meet the node application condition, and all child nodes are traversed in turn; when the node does not meet the node application condition, it is judged whether the sibling nodes of the node meet the node application condition, and all sibling nodes of the node are traversed in turn; the expansion order of the nodes that meet the node application condition is used as the sorting of the nodes to be expanded, and a set of nodes to be expanded is formed; The input includes chief complaint information. Before performing path calculation according to whether the nodes in the path structure meet the node application condition to obtain the nodes to be expanded, the path calculation module is configured to obtain the chief complaint information of the user; perform word segmentation processing on the chief complaint information to obtain multiple phrases, and obtain a first estimated risk result matching the phrase according to a preset risk matching table; or perform semantic analysis on the chief complaint information to obtain a second estimated risk result; obtain a path structure matching the first estimated risk result or the second estimated risk result from a preset path table; Or, before performing path calculation according to whether the nodes in the path structure meet the node application condition to obtain the nodes to be expanded, the path calculation module is configured to obtain the chief complaint information of the user; perform word segmentation processing on the chief complaint information to obtain multiple phrases, and obtain a first determined risk result matching the phrase according to a preset risk matching table; or perform semantic analysis on the chief complaint information to obtain a second determined risk result; present the first determined risk result or the second determined risk result to the user; receive the selection result of the user for the first determined risk result or the second determined risk result; obtain a path structure matching the selection result from a preset path table.

6. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor runs the computer program to implement the method according to any one of claims 1-4.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to implement the method according to any one of claims 1-4.

Citation Information

Patent Citations

  • Intelligent path planning method and system and electronic equipment

    CN113159457A

  • Emergency power supply vehicle path planning method, device and equipment and storage medium

    CN113885509A