CN116244533A - Destination query method and related device based on AED coverage - Google Patents
Destination query method and related device based on AED coverage Download PDFInfo
- Publication number
- CN116244533A CN116244533A CN202310509942.1A CN202310509942A CN116244533A CN 116244533 A CN116244533 A CN 116244533A CN 202310509942 A CN202310509942 A CN 202310509942A CN 116244533 A CN116244533 A CN 116244533A
- Authority
- CN
- China
- Prior art keywords
- destination
- aed
- location information
- information
- query
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 229960003965 antiepileptics Drugs 0.000 claims description 170
- 230000000875 corresponding effect Effects 0.000 claims description 96
- 238000004590 computer program Methods 0.000 claims description 9
- 230000002596 correlated effect Effects 0.000 claims description 3
- 238000012163 sequencing technique Methods 0.000 claims description 2
- 206010049418 Sudden Cardiac Death Diseases 0.000 abstract description 10
- 208000014221 sudden cardiac arrest Diseases 0.000 abstract description 9
- 238000013468 resource allocation Methods 0.000 abstract description 4
- 238000004364 calculation method Methods 0.000 description 17
- 238000010586 diagram Methods 0.000 description 10
- 208000010496 Heart Arrest Diseases 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 208000019622 heart disease Diseases 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 208000031226 Hyperlipidaemia Diseases 0.000 description 2
- 206010020772 Hypertension Diseases 0.000 description 2
- 206010003119 arrhythmia Diseases 0.000 description 2
- 230000006793 arrhythmia Effects 0.000 description 2
- 201000010099 disease Diseases 0.000 description 2
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000002068 genetic effect Effects 0.000 description 2
- 201000001421 hyperglycemia Diseases 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000002680 cardiopulmonary resuscitation Methods 0.000 description 1
- 230000008451 emotion Effects 0.000 description 1
- 235000013305 food Nutrition 0.000 description 1
- 230000001771 impaired effect Effects 0.000 description 1
- 230000003211 malignant effect Effects 0.000 description 1
- 235000012054 meals Nutrition 0.000 description 1
- 230000035939 shock Effects 0.000 description 1
- 208000003663 ventricular fibrillation Diseases 0.000 description 1
- 206010047302 ventricular tachycardia Diseases 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9537—Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9538—Presentation of query results
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Navigation (AREA)
Abstract
The application provides a destination query method and a related device based on AED coverage, and relates to the technical field of destination query, wherein the method comprises the following steps: acquiring a destination set in a first range corresponding to the user position information according to the destination query keyword; acquiring target AED location information within a second range corresponding to the respective destination location information; sorting all destination entries in the destination set in combination with first relative distance information between all destination location information and corresponding target AED location information and second relative distance information between the destination location information and user location information; and sending the destination query result to the client according to the sorting result. Based on the method, the destination query result is output by combining the AED coverage information of each destination, so that a user can accurately grasp the AED resource allocation condition of the travel place, and the life safety of the user with the risk of sudden cardiac arrest during the travel is effectively ensured.
Description
Technical Field
The application relates to the field of electronic technology, in particular to the field of destination inquiry technology. Specifically, the application discloses a destination query method based on AED coverage and a related device.
Background
An automatic external defibrillator (AED, automated External Defibrillator) is a portable medical device that can detect ventricular fibrillation or ventricular tachycardia (hereinafter VF/VT) malignant arrhythmia and deliver shock defibrillation, which is a medical device that can be used by non-professionals to rescue a sudden cardiac arrest patient. When the patient suffers from sudden cardiac arrest, the patient can be effectively rescued only in the golden 4 minutes of the optimal rescue time by defibrillation and cardiopulmonary resuscitation of the patient by using the AED.
AEDs are typically installed and deployed at airports, train stations, subway stations, schools, stadiums, supermarkets, parks, etc. where there is a large amount of people, but cannot cover all sites. For the elderly, hypertension, hyperglycemia and hyperlipidemia, heart disease rehabilitation patients and families with genetic history of heart disease, a certain sudden cardiac death risk exists, and AEDs are required to provide safety guarantee. In daily life, a user usually has a destination query requirement before going out, namely, a client application on a terminal is used for querying the location of a specific place to which the user wants to go, the current client application can only output the location of the place nearby the current location of the user, but cannot output AED coverage information corresponding to the location of the place, namely, sufficient location AED resource allocation information cannot be provided for the user, and when AED resources are not allocated at the location of the place queried by the user with the risk of sudden cardiac arrest, if the user suddenly breaks a sudden cardiac arrest event at the location, the user cannot timely acquire the AED for emergency treatment, so that the life safety of the user cannot be effectively ensured.
It is noted that the techniques described in this section are not necessarily ones that have been previously conceived or pursued. Unless otherwise indicated, it should not be assumed that any of the techniques described in this section are merely prior art as they were included in this section. Similarly, the problems mentioned in this section should not be considered as having been recognized in any prior art unless otherwise indicated.
Disclosure of Invention
The application provides a destination query method based on AED coverage and a related device, which at least can solve the problem that the life safety of a user with cardiac arrest risk cannot be fully ensured by a destination query result provided by a destination query mode adopted by related technology.
A first aspect of the present application provides a destination query method based on AED coverage, comprising: when a destination query request sent by a client is received, acquiring a destination set in a preset first range corresponding to user position information according to a destination query keyword; wherein the destination query request carries the destination query keyword and the user location information, the destination set includes a plurality of destination entries, and the destination entries include a destination identifier and destination location information; acquiring target AED position information in a preset second range corresponding to each destination position information respectively; prioritizing all of the destination entries in the destination set in combination with first relative distance information between all of the destination location information and the corresponding target AED location information and second relative distance information between the destination location information and the user location information; and sending a corresponding destination query result to the client according to the sorted destination set.
A second aspect of the present application provides a destination-query device based on AED coverage, comprising: the first acquisition module is used for acquiring a destination set in a preset first range corresponding to the user position information according to the destination query keyword when a destination query request sent by the client is received; wherein the destination query request carries the destination query keyword and the user location information, the destination set includes a plurality of destination entries, and the destination entries include a destination identifier and destination location information; a second acquisition module for acquiring target AED location information within a preset second range corresponding to each of the destination location information, respectively; a sorting module for prioritizing all of the destination entries in the destination set in combination with first relative distance information between all of the destination location information and the corresponding target AED location information, and second relative distance information between the destination location information and the user location information; and the sending module is used for sending a corresponding destination query result to the client according to the sorted destination set.
A third aspect of the present application provides an electronic device, comprising: the method comprises a memory and a processor, wherein the processor is used for executing a computer program stored on the memory, and when the processor executes the computer program, the steps in the destination query method based on AED coverage provided by the first aspect of the application are realized.
A fourth aspect of the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the AED coverage based destination query method provided in the first aspect of the present application described above.
As can be seen from the above, according to the destination query method based on AED coverage and the related device provided in the present application, when a destination query request sent by a client is received, a destination set in a preset first range corresponding to user location information is obtained according to a destination query keyword; acquiring target AED position information in a preset second range corresponding to the position information of each destination respectively; prioritizing all destination entries in the destination set in combination with first relative distance information between all destination location information and corresponding target AED location information and second relative distance information between the destination location information and user location information; and sending a corresponding destination query result to the client according to the sorted destination set. By implementing the scheme, the AED coverage information of each destination and the relative distance information with the user are combined to output the destination query result, so that the user can accurately grasp the AED resource allocation condition and the near-far condition of the trip place, the life safety of the user with the risk of sudden cardiac arrest during the trip is effectively ensured, and the trip convenience is considered.
It should be understood that the description of this section is not intended to identify key or critical features of the application or to delineate the scope of the application. Other features of the present application will become apparent from the description that follows.
Drawings
The accompanying drawings illustrate exemplary embodiments and, together with the description, serve to explain exemplary implementations of the embodiments. The drawings are shown for illustrative purposes only and do not limit the scope of the claims. Throughout the drawings, identical reference numerals designate similar, but not necessarily identical, elements.
Fig. 1 is a basic flow diagram of a destination query method based on AED coverage according to an embodiment of the present application;
fig. 2 is a schematic diagram of a multi-destination shared AED according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an interface of a destination query result according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an interface of a security destination query result according to an embodiment of the present application;
fig. 5 is a detailed flow chart of a destination query method based on AED coverage according to an embodiment of the present application;
fig. 6 is a functional block diagram of a destination query device based on AED coverage according to an embodiment of the present application;
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In the description of the embodiments of the present application, the terms first and second are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining a first or second may explicitly or implicitly include one or more such feature. In the description of the embodiments of the present application, plural means two or more unless specifically defined otherwise.
In order to solve the problem that the life safety of the user with the risk of sudden cardiac arrest cannot be fully guaranteed by the destination query result provided by the destination query method adopted by the related art, an embodiment of the application provides a destination query method based on AED coverage, and an execution subject of the method can be a background server. Fig. 1 is a basic flow chart of an AED coverage based destination query method provided in this embodiment, which includes the steps of:
And step 101, when a destination query request sent by a client is received, acquiring a destination set in a preset first range corresponding to the user position information according to the destination query keyword.
Specifically, the destination query request in this embodiment carries a destination query keyword and user location information, where the destination query keyword may include an accurate keyword indicating a destination location type, for example, a movie theater, a hotel, a restaurant, a recreation ground, etc., and may also include a fuzzy keyword associated with the destination location type, for example, eating meal, food, etc., and the user location information may be longitude and latitude information of a current location of a user terminal carrying a client; the destination set includes a plurality of destination entries including a destination identification and destination location information. In this embodiment, when the user has a destination query requirement, a destination query request is sent to a background server through a client carried on the user terminal, the background server uses current user location information as a center, obtains all destinations conforming to destination query keywords in a preset range, and obtains a destination set, for example, the destination location type carried by the destination query request is a movie theater, and can search out all movie theaters in a range with the user location information as a center and N kilometers as a search radius (for example, 1 kilometer), and then generate the destination set based on destination identifiers and destination location information of all movie theaters searched.
It is worth mentioning that the background server provides a Web service API with destination query, the form of the destination query request may be expressed as http:// www.aedmap.com/search query=movie theater & location=39.915, 116.404& radius=2000, where query represents a search keyword corresponding to the above destination query keyword, for example, query=movie theater, location represents user location information as a center point of a circular area search, and a specific form may be location= (latitude, longitude), radius represents a radius of the circular area search, and a default value may be 1000. It should be noted that, in practical application, the present embodiment may call the hundred-degree map API service to obtain a set of destinations within a preset first range corresponding to the user location information.
In an optional implementation manner of this embodiment, before the step of obtaining, according to the destination query keyword, the destination set in the preset first range corresponding to the user location information, the method further includes: judging whether a destination query condition based on AED coverage is met or not based on the destination query request; when a destination query condition based on AED coverage is met, the step of acquiring a set of destinations within a preset first range corresponding to user location information from the destination query keyword is performed.
Specifically, in practical applications, the destination query requirements of the user are classified into a general destination query requirement, that is, only the destination meeting the destination query keyword needs to be queried, and a destination query requirement based on the AED coverage needs to be queried, that is, the destination meeting the AED coverage requirement needs to be queried. It should be noted that not all users have potential AED usage requirements, and in order to reduce processing performance costs and increase query efficiency, this embodiment will make a decision in advance based on the destination query request, and trigger the AED coverage based destination query method only when the user has AED coverage based destination query requirements.
Further, the destination query request of the embodiment also carries the medical history information of the user; accordingly, the step of determining whether the destination query condition based on AED coverage is met based on the destination query request includes: acquiring a first safety guarantee requirement index based on a destination query keyword carried by a destination query request, and acquiring a second safety guarantee requirement index based on user medical history information carried by the destination query request; calculating a total safety guarantee requirement index by combining the first safety guarantee requirement index and the second safety guarantee requirement index; and judging whether the destination query condition based on the AED coverage is met or not based on the total safety guarantee requirement index and a preset index threshold.
Specifically, in practical application, some living places may have a great influence on the emotion of a person, such as chess and card rooms, a close-room escape experience hall, a recreation ground and the like, for people with a certain risk of cardiac arrest, arrhythmia is more easily caused, and the risk of cardiac arrest is increased, so that the type of living place to which a user needs to go has an influence on the security requirements of an AED; in addition, the disease history of different users is different, and for people with hypertension, hyperglycemia, hyperlipidemia, heart disease treatment history and family heart disease genetic history, the risk of sudden cardiac arrest is obviously higher than that of healthy people, so that the disease history of the users can also influence the AED safety guarantee requirement.
Based on this, the present embodiment comprehensively considers the destination query keyword and the user medical history information to determine whether the current destination query request meets the destination query condition based on AED coverage, specifically, the present embodiment obtains the corresponding security requirement index based on the destination query keyword and the user medical history information, and then sums or weighted averages the two security requirement indexes, and finally compares the calculated total security requirement index with a preset index threshold, and determines whether the destination query condition based on AED coverage is met according to the comparison result, where if the total security requirement index is greater than or equal to the preset index threshold, the destination query condition based on AED coverage is determined to be met.
Specifically, in this embodiment, the background server creates an AED list, records relevant information of each AED, including AED identification (e.g., a device serial number), AED location information (e.g., latitude and longitude information of a current location of the device), and the like, and in practical application, a plurality of destination location information meeting the destination query keyword may be searched within a preset range of the current location of the user.
In an alternative implementation of this embodiment, the step of acquiring the target AED location information within the preset second range corresponding to the destination location information includes: respectively acquiring AED position information of all idle AEDs in a preset second range corresponding to the position information of each destination and AED self-checking results; acquiring AED self-test results from all idle AEDs as self-test passing available AEDs; comparing the first relative distance information between the AED location information and the destination location information for all available AEDs; corresponding target AED location information for the available AED for which the first relative distance information is the smallest is obtained.
Specifically, after searching all the idle AEDs within the preset range of the destination location information, the present embodiment then compares the relative distances between all the idle AEDs and the destination, screens the AED from all the idle AEDs for available AEDs that pass the self-test, further compares the relative distances between all the available AEDs and the destination, determines the available AED with the smallest relative distance as the target AED, and acquires the location information of the target AED corresponding to the determined available AED.
In particular, the present embodiment may determine the priority of different destinations in the set of destinations in combination with their relative distances from the target AED and the user, respectively, and then rank all of the destinations according to priority, it being understood that different priorities are used to characterize the recommended level of the different destinations, which is positively correlated with the priority.
In an optional implementation manner of this embodiment, the calculation formula of the first relative distance information may be expressed as follows:
(1-cos(d/R))/2= sin 2 ((φ 2 -φ 1 ) /2)+cos(φ 1 ) cos(φ 2 )sin 2 (Δλ/2);
wherein ,dthe first relative distance information is represented as such,Rrepresenting the radius of the earth, delta lambda represents the difference in longitude indicated by the destination location information and the corresponding target AED location information,φ 1 、φ 2 indicating the latitude indicated by the destination location information and the corresponding target AED location information, respectively.
It should be noted that, in practical applications, the calculation manner of the second relative distance information may also be implemented by referring to the calculation manner of the first relative distance information, which is not described herein again.
It should be noted that, the location information used in the above calculation formula of the relative distance information may be implemented based on different positioning technologies, such as GPS positioning, beidou satellite positioning, and the like, where positioning accuracy in the civil field is classified into standard high accuracy and RTK high accuracy. The standard high-precision magnitude is generally in the meter level, wherein the positioning precision of the single-frequency GPS module and the Beidou module is about 2 to 3 meters, and the positioning precision of the double-frequency GPS module and the Beidou module is about 1 to 2 meters; and the positioning precision of the GPS module and the Beidou module with high precision of the RTK can reach the decimeter level and the centimeter level. In practice, although the relative distance between the AED and the destination or between different AEDs may be relatively close, the relative distance between the two positioning bodies can typically be in the order of tens of meters, hundreds of meters, and based on the positioning accuracy of the aforementioned positioning technique, positioning information between the different positioning bodies can be effectively distinguished.
In an alternative implementation of this embodiment, the step of prioritizing all destination entries in the destination set in combination with the first relative distance information between all destination location information and corresponding target AED location information and the second relative distance information between the destination location information and the user location information includes: calculating a first priority score for first relative distance information between each destination location information and the corresponding target AED location information, respectively, and a second priority score for second relative distance information between each destination location information and the user location information, respectively; calculating a total priority score based on each first priority score and the corresponding second priority score, respectively; all destination entries in the destination set are prioritized according to all total priority scores.
Specifically, in the present embodiment, the first priority score is inversely related to the first relative distance information, and the second priority score is inversely related to the second relative distance information. In practical applications, the closer the relative distance between the destination and the AED affects the AED safety protection effect, i.e., the closer the AED is to the destination, the shorter the dispensing time period required in the rescue process, and accordingly, the AED can be provided for the patient at the destination as soon as possible, so that the better the AED safety protection effect is, and therefore, the first priority score can be calculated based on the relative distance, the time period of providing the AED required for rescue in the vicinity of the destination can be reflected by the first priority score, the higher the score, the shorter the time period of providing the AED required for rescue is, and for cardiac arrest patients, the higher the rescue success rate is meant, and therefore, the higher the first priority score is the destination location information has the better AED safety protection effect; in addition, the relative distance between the destination and the user affects the user travel convenience, and the closer the relative distance is, the higher the user travel convenience is, so that the second priority score can be calculated based on the relative distance, and the higher the second priority score is, the higher the destination position information has the higher user travel convenience. Next, the present embodiment may comprehensively score each destination in combination with the first priority score and the second priority score, and then prioritize each destination based on the comprehensive score, that is, sort the plurality of destination entries based on the priority score, with the destination entry with higher priority being ranked earlier.
In practical applications, if the priority ranking is performed only based on the relative distance between the destination and the AED or the relative distance between the user and the destination, the priority ranking is a one-factor priority ranking rule, if the user travel convenience of the destination is considered only, the AED security may not be considered, and if the AED security of the destination is considered only, the user travel convenience may not be considered. By adopting the multi-factor priority ordering rule provided by the embodiment, the finally ordered destination can give consideration to the travel convenience of the user and the AED safety guarantee, and the travel experience of the user can be effectively improved. It should be understood that the present embodiment may be implemented in a summation calculation manner or a weighted average calculation manner when calculating the total priority Score, and that the present embodiment may preferably be implemented in a weighted average calculation manner, that is, the total priority score= (a×score) 1 +b×Score 2 )/(a+b),Score 1 Representing a first priority Score, score 2 The representation represents a second priority score. It should be noted that the values of the weights a and b can be flexibly set according to the actual application scene requirements, for example, for a user travel scene with travel convenience preference, the weight b can be given a larger value, while the weight a is given a relatively smaller value, and for a user travel scene with sufficient AED security requirements, the weight a can be given a larger value, while the weight b is given a relatively smaller value. Further, in practical application, considering that the importance of the AED safety guarantee effect is generally higher than the convenience of the user in traveling, it is preferable that the value of the weight a is greater than the weight b.
In an optional implementation manner of this embodiment, before the step of calculating the total priority score based on each first priority score and the corresponding second priority score, the method further includes: respectively acquiring volunteer density information in a preset third range corresponding to the position information of each destination; calculating a corresponding third priority score based on each volunteer density information; wherein the third priority score is positively correlated with the volunteer density information. Correspondingly, the step of calculating the total priority score based on each first priority score and each second priority score respectively includes: the total priority score is calculated based on each first priority score and the corresponding second and third priority scores, respectively.
Specifically, in practical application, the correct use of the AED requires a certain operation skill, and the background server of the embodiment can accept the registration request of the end user with the AED operation skill, register it as a volunteer, and if the volunteer exists near the destination, the rescue guarantee can be improved. Based on this, the volunteer of the present embodiment carries with it the volunteer terminal installed with the volunteer client, and the volunteer terminal uploads the volunteer position information to the background server at regular time, and the background server can acquire the number of volunteers whose volunteer position information is in the vicinity of the destination, and accordingly can count up the density of the volunteers, and then calculate the corresponding third priority score of the destination position information based on the density of the volunteers, in the present embodiment, the higher the density of the volunteers, the stronger the rescue assurance, and the higher the corresponding third priority score. In the process of calculating the total priority score according to the embodiment, the third priority score corresponding to the density of the volunteers can be further considered on the basis of the first priority score and the second priority score, so that the high-priority destination can be guaranteed to provide sufficient security.
It should be noted that, in the present embodiment, when calculating the total priority Score in combination with the third priority Score, reference may be made to the foregoing embodiment, that is, the calculation may be performed in a summation calculation manner or a weighted average calculation manner, and the present embodiment preferably may be performed in a weighted average calculation manner, that is, the total priority score= (a×score) 1 +b×Score 2 +c×Score 3 )/(a+b+c),Score 1 Representing a first priority Score, score 2 Representing a second priority Score 3 Representation watchAnd a third priority score is shown, and a, b and c respectively represent the corresponding weights of the different priority scores.
In an optional implementation manner of this embodiment, before the step of calculating the total priority score based on each first priority score and the corresponding second priority score, the method further includes: acquiring sharable destination numbers of target AED position information corresponding to the destination position information respectively; wherein the sharable destination number is the number of all destinations of the target AED for which the target AED location information corresponds exist within the second range; calculating a corresponding fourth priority score according to the number of the sharable destinations; wherein the fourth priority score is inversely related to the number of sharable destinations. Correspondingly, the step of calculating the total priority score based on each first priority score and each second priority score respectively includes: the total priority score is calculated based on each first priority score and the corresponding second priority score and fourth priority score, respectively.
In particular, in practice, there may be multiple destinations in a set of destinations that are closely spaced, resulting in a single target AED being located within a second range of multiple destinations at the same time, and the target AED sharing multiple destinations, the security of which for a single destination may be impaired because the AED needs to provide security for multiple destinations at the same time. Fig. 2 is a schematic diagram of a multi-destination shared AED according to the present embodiment, in which point A, B, C represents three destinations in the destination set, respectively, and the circle centered at each destination is a region defined by a second range, and point I represents the target AED, which can be used when there is a cardiac arrest event in any one of the destinations, as can be seen to be within the second range of the three destinations. Based on this, the present embodiment calculates the fourth priority score corresponding to the target AED location information for the number of sharable destinations of the target AED corresponding to each target AED location information, and then in the process of calculating the total priority score in the present embodiment, the fourth priority score corresponding to the number of sharable destinations of the target AED may be further taken into consideration on the basis of the first priority score and the second priority score, thereby ensuring that the high priority destination can provide sufficient security.
It should be noted that, in the present embodiment, when calculating the total priority Score in combination with the fourth priority Score, reference may still be made to the foregoing embodiment, that is, the calculation may be performed by a summation calculation method or a weighted average calculation method, and the present embodiment may preferably be performed by a weighted average calculation method, that is, the total priority score= (a×score) 1 +b×Score 2 +d×Score 4 )/(a+b +d),Score 1 Representing a first priority Score, score 2 Representing a second priority Score 4 The representation represents the fourth priority score, and a, b and d represent the weights corresponding to the different priority scores respectively.
It should be noted that, in this embodiment, the total priority score may be calculated in combination with the first priority score, the second priority score, the third priority score, and the fourth priority score obtained by the foregoing calculation, and with continued reference to the foregoing embodiment, a specific calculation formula may be expressed as follows: total priority score= (a×score) 1 +b×Score 2 +c×Score 3 +d×Score 4 )/(a+b+c+d),Score 1 Representing a first priority Score, score 2 Representing a second priority Score 3 Representing a third priority Score 4 Representing the fourth priority score and a, b, c, d representing the weights associated with the different priority scores, respectively.
And 104, sending a corresponding destination query result to the client according to the sorted destination set.
Specifically, the client in this embodiment may present the destination query result in a map form or a list form, preferably may use a map form, as shown in fig. 3, which is an interface schematic diagram of the destination query result provided in this embodiment, where locations identified by 1 to 7 in the drawing represent multiple destinations in the destination set, locations identified by O indicate the user location, priorities of the destinations indicated by the identifier 1 are highest, priorities of the destinations indicated by the identifier 7 are lowest, and after outputting the destination query result to the client, the user can intuitively understand that the destination indicated by the identifier 1 is also able to provide sufficient AED rescue guarantee on the basis of considering that the travel distance is shorter.
In an optional implementation manner of this embodiment, after the step of sending the corresponding destination query result to the client according to the sorted destination set, the method further includes: when a safe destination inquiry request sent by a client is received, sequencing all destination entries in a destination set according to all first relative distance information; wherein the first relative distance information is inversely related to the priority; and sending the destination entry with the priority higher than the preset priority threshold to the client.
Specifically, the information provided by the destination query result is wider, the information items are more, on the basis that the destination query result can be used for re-ordering all destinations in the destination set according to a safe destination query request sent by a user through a client, the priority referenced by the destination ordering is formulated according to the relative distance between each destination and a target AED, the destination with the closer relative distance to the target AED is given higher priority, after the priority ordering is completed, the destination with the front ordering can provide sufficient AED rescue guarantee, and then the embodiment only outputs the destination item with the higher priority to the client so as to present the destination capable of fully providing the AED rescue guarantee to the user. It should be appreciated that the secure destination query results provided in this embodiment may be presented to the client in a map form or a list form, and this embodiment may preferably be presented in a list form, as shown in fig. 4, which is an interface schematic diagram of the secure destination query results provided in this embodiment, where the client presents to the user information about destinations closer to the nearby AED in a list form.
The method in fig. 5 is a refined destination query method based on AED coverage according to an embodiment of the present application, which specifically includes the following procedures:
It should be understood that, the sequence number of each step in this embodiment does not mean the order of execution of the steps, and the execution order of each step should be determined by its functions and internal logic, and should not be construed as a unique limitation on the implementation process of the embodiments of the present application.
Fig. 6 is a schematic diagram of an AED coverage based destination query device according to an embodiment of the present application, which may be used to implement the AED coverage based destination query method of the foregoing embodiment, and generally includes:
The first obtaining module 601 is configured to obtain, when a destination query request sent by a client is received, a destination set in a preset first range corresponding to user location information according to a destination query keyword; the destination query request carries a destination query keyword and user location information, the destination set comprises a plurality of destination entries, and the destination entries comprise destination identifications and destination location information;
a second acquiring module 602, configured to acquire target AED location information within a preset second range corresponding to the location information of each destination;
a sorting module 603 for prioritizing all destination entries in the destination set in combination with first relative distance information between all destination location information and corresponding target AED location information and second relative distance information between the destination location information and user location information;
and the sending module 604 is configured to send a corresponding destination query result to the client according to the sorted destination set.
It should be noted that, the destination query method based on AED coverage in the foregoing embodiments may be implemented based on the destination query device based on AED coverage provided in the foregoing embodiments, and those skilled in the art can clearly understand that, for convenience and brevity of description, the specific working procedure of the destination query device based on AED coverage described in the foregoing embodiments may be implemented by referring to the corresponding working procedure in the foregoing method embodiments, which is not described herein again.
Based on the technical scheme of the embodiment of the application, when a destination query request sent by a client is received, a destination set in a preset first range corresponding to user position information is acquired according to a destination query keyword; acquiring target AED position information in a preset second range corresponding to the position information of each destination respectively; prioritizing all destination entries in the destination set in combination with first relative distance information between all destination location information and corresponding target AED location information and second relative distance information between the destination location information and user location information; and sending a corresponding destination query result to the client according to the sorted destination set. By implementing the scheme, the AED coverage information of each destination and the relative distance information with the user are combined to output the destination query result, so that the user can accurately grasp the AED resource allocation condition and the near-far condition of the trip place, the life safety of the user with the risk of sudden cardiac arrest during the trip is effectively ensured, and the trip convenience is considered.
Fig. 7 is an electronic device according to an embodiment of the present application. The electronic device is operable to implement the AED coverage based destination query method of the foregoing embodiments and generally comprises: the system comprises a memory 701 and a processor 702, wherein the memory 701 stores a computer program 703 which can be run on the processor 702, the memory 701 is in communication connection with the processor 702, and the processor 702 executes the computer program 703 to realize the destination query method based on the AED coverage in the foregoing embodiment. Wherein the number of processors 702 may be one or more.
The memory 701 may be a high-speed random access memory (RAM, random Access Memory) memory or a non-volatile memory (non-volatile memory), such as a disk memory. The memory 701 is used for storing executable program codes, and the processor 702 is coupled with the memory 701.
Further, the embodiment of the application further provides a computer readable storage medium, which may be provided in the electronic device in each embodiment, and the computer readable storage medium may be a memory in the embodiment shown in fig. 7.
The computer readable storage medium has stored thereon a computer program which when executed by a processor implements the AED coverage based destination query method of the foregoing embodiments. Further, the computer-readable medium may be any medium capable of storing a program code, such as a usb (universal serial bus), a removable hard disk, a Read-Only Memory (ROM), a RAM, a magnetic disk, or an optical disk.
It should be understood that the apparatus and method disclosed in accordance with the embodiments provided herein may be implemented in any other equivalent manner. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules is merely a logical function division, and there may be additional divisions of actual implementation, e.g., multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules illustrated as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
The integrated modules, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a readable storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned readable storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
It should be noted that, for the sake of simplicity of description, the foregoing method embodiments are all expressed as a series of combinations of actions, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily all necessary for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
The foregoing is a description of the AED coverage based destination query method and related apparatus provided herein, and is not to be construed as limiting the application to the extent that variations in terms of detailed description and range of applicability are apparent to those skilled in the art in light of the teachings of the embodiments of the present application.
Claims (12)
1. A method of destination query based on AED coverage, comprising:
when a destination query request sent by a client is received, acquiring a destination set in a preset first range corresponding to user position information according to a destination query keyword; wherein the destination query request carries the destination query keyword and the user location information, the destination set includes a plurality of destination entries, and the destination entries include a destination identifier and destination location information;
Acquiring target AED position information in a preset second range corresponding to each destination position information respectively;
prioritizing all of the destination entries in the destination set in combination with first relative distance information between all of the destination location information and the corresponding target AED location information and second relative distance information between the destination location information and the user location information;
and sending a corresponding destination query result to the client according to the sorted destination set.
2. The method according to claim 1, further comprising, before the step of obtaining a destination set within a preset first range corresponding to the user location information according to the destination query keyword:
judging whether a destination query condition based on AED coverage is met or not based on the destination query request;
and when the destination query condition based on the AED coverage is met, executing the step of acquiring a destination set in a preset first range corresponding to the user position information according to the destination query keyword.
3. The destination query method as claimed in claim 2, wherein the destination query request further carries user history information; the step of determining whether a destination query condition based on AED coverage is met based on the destination query request comprises:
Acquiring a first safety guarantee requirement index based on the destination query keyword carried by the destination query request, and acquiring a second safety guarantee requirement index based on the user medical history information carried by the destination query request;
calculating a total safety guarantee requirement index by combining the first safety guarantee requirement index and the second safety guarantee requirement index;
and judging whether the destination query condition based on the AED coverage is met or not based on the total safety guarantee requirement index and a preset index threshold.
4. The destination query method as recited in claim 1, wherein the first relative distance information is calculated as:
(1-cos(d/R))/2= sin 2 ((φ 2 -φ 1 ) /2)+cos(φ 1 ) cos(φ 2 )sin 2 (Δλ /2);
wherein ,drepresenting the first relative distance information in question,Rrepresenting the radius of the earth, delta lambda representing the difference in longitude indicated by the destination location information and the corresponding target AED location information,φ 1 、φ 2 representing the latitude indicated by the destination location information and the corresponding target AED location information, respectively.
5. The destination-query method as claimed in claim 1, wherein said step of separately obtaining target AED location information within a preset second range corresponding to each of said destination location information comprises:
Respectively acquiring AED position information of all idle AEDs in a preset second range corresponding to each destination position information and AED self-checking results;
acquiring the AED self-test results from all the idle AEDs as self-test passing available AEDs;
comparing first relative distance information between the AED location information and the destination location information for all of the available AEDs;
and acquiring corresponding target AED position information of the available AED with the minimum first relative distance information.
6. The destination query method as claimed in any one of claims 1 to 5, wherein the step of prioritizing all of the destination entries in the destination set in combination with first relative distance information between all of the destination location information and the respective target AED location information and second relative distance information between the destination location information and the user location information comprises:
calculating a first priority score for each of the destination location information and first relative distance information between the corresponding target AED location information, and a second priority score for each of the destination location information and second relative distance information between the user location information, respectively; wherein the first priority score is inversely related to the first relative distance information and the second priority score is inversely related to the second relative distance information;
Calculating a total priority score based on each of the first priority scores and the corresponding second priority score, respectively;
and prioritizing all the destination entries in the destination set according to all the total priority scores.
7. The destination query method as recited in claim 6, wherein prior to the step of calculating a total priority score based on each of the first priority scores and the corresponding second priority score, respectively, further comprising:
respectively acquiring volunteer density information in a preset third range corresponding to each destination position information;
calculating a corresponding third priority score from each of the volunteer density information; wherein the third priority score is positively correlated with the volunteer density information;
the step of calculating a total priority score based on each of the first priority scores and the corresponding second priority score, respectively, includes:
a total priority score is calculated based on each of the first priority scores and the corresponding second and third priority scores, respectively.
8. The destination query method as recited in claim 6, wherein prior to the step of calculating a total priority score based on each of the first priority scores and the corresponding second priority score, respectively, further comprising:
Acquiring sharable destination numbers of the target AED location information corresponding to each of the destination location information, respectively; wherein the sharable destination number is the number of all destinations of the target AED within the second range for which the target AED location information corresponds;
calculating a corresponding fourth priority score according to the number of sharable destinations; wherein the fourth priority score is inversely related to the number of sharable destinations;
the step of calculating a total priority score based on each of the first priority scores and the corresponding second priority score, respectively, includes:
a total priority score is calculated based on each of the first priority scores and the corresponding second and fourth priority scores, respectively.
9. The destination query method as claimed in any one of claims 1 to 5, wherein after the step of sending the corresponding destination query result to the client according to the sorted destination set, the method further comprises:
when a safe destination inquiry request sent by the client is received, sequencing all destination entries in the destination set according to all the first relative distance information; wherein the first relative distance information is inversely related to priority;
And sending the destination entry with the priority higher than a preset priority threshold to the client.
10. A destination-query device based on AED coverage, comprising:
the first acquisition module is used for acquiring a destination set in a preset first range corresponding to the user position information according to the destination query keyword when a destination query request sent by the client is received; wherein the destination query request carries the destination query keyword and the user location information, the destination set includes a plurality of destination entries, and the destination entries include a destination identifier and destination location information;
a second acquisition module for acquiring target AED location information within a preset second range corresponding to each of the destination location information, respectively;
a sorting module for prioritizing all of the destination entries in the destination set in combination with first relative distance information between all of the destination location information and the corresponding target AED location information, and second relative distance information between the destination location information and the user location information;
And the sending module is used for sending a corresponding destination query result to the client according to the sorted destination set.
11. An electronic device comprising a memory and a processor, wherein:
the processor is used for executing the computer program stored on the memory;
the processor, when executing the computer program, implements the steps of the AED coverage based destination query method of any of claims 1 to 9.
12. A computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the AED coverage based destination query method of any of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310509942.1A CN116244533B (en) | 2023-05-08 | 2023-05-08 | Destination query method and related device based on AED coverage |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310509942.1A CN116244533B (en) | 2023-05-08 | 2023-05-08 | Destination query method and related device based on AED coverage |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116244533A true CN116244533A (en) | 2023-06-09 |
CN116244533B CN116244533B (en) | 2023-09-12 |
Family
ID=86631665
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310509942.1A Active CN116244533B (en) | 2023-05-08 | 2023-05-08 | Destination query method and related device based on AED coverage |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116244533B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116451983A (en) * | 2023-06-16 | 2023-07-18 | 苏州维伟思医疗科技有限公司 | Resource scheduling method and related device based on distribution density |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140025296A1 (en) * | 2012-07-17 | 2014-01-23 | Denso Corporation | Destination recommendation system, destination recommendation method and destination recommendation program product |
CN110990703A (en) * | 2019-12-06 | 2020-04-10 | 重庆锐云科技有限公司 | Intelligent tourist destination recommendation system and method based on user health state |
CN116072277A (en) * | 2023-03-06 | 2023-05-05 | 深圳市奥极医疗科技有限公司 | Recommendation method, device, equipment and medium for automatic external defibrillator in public place |
-
2023
- 2023-05-08 CN CN202310509942.1A patent/CN116244533B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140025296A1 (en) * | 2012-07-17 | 2014-01-23 | Denso Corporation | Destination recommendation system, destination recommendation method and destination recommendation program product |
CN110990703A (en) * | 2019-12-06 | 2020-04-10 | 重庆锐云科技有限公司 | Intelligent tourist destination recommendation system and method based on user health state |
CN116072277A (en) * | 2023-03-06 | 2023-05-05 | 深圳市奥极医疗科技有限公司 | Recommendation method, device, equipment and medium for automatic external defibrillator in public place |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116451983A (en) * | 2023-06-16 | 2023-07-18 | 苏州维伟思医疗科技有限公司 | Resource scheduling method and related device based on distribution density |
CN116451983B (en) * | 2023-06-16 | 2023-09-12 | 苏州维伟思医疗科技有限公司 | Resource scheduling method and related device based on distribution density |
Also Published As
Publication number | Publication date |
---|---|
CN116244533B (en) | 2023-09-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Schierbeck et al. | Automated external defibrillators delivered by drones to patients with suspected out-of-hospital cardiac arrest | |
CN116244533B (en) | Destination query method and related device based on AED coverage | |
EP3278240B1 (en) | Venue identification from wireless scan data | |
US8644852B2 (en) | Method and system for capturing and providing typological and contextual information about a location based on wireless beacons | |
US20220136857A1 (en) | Safety-aware route recommendation system and method | |
Sen et al. | Grumon: Fast and accurate group monitoring for heterogeneous urban spaces | |
CN109524065B (en) | Medical data query method, medical data platform and related devices | |
US20160139744A1 (en) | Crowdsourced determination of movable device location | |
AU2015219463A1 (en) | Localization of a wireless user equipment device in a target zone | |
US11178156B2 (en) | Methods and systems for authenticating a reported geolocation of a mobile device | |
JP2016537718A (en) | Interest point clustering method and related apparatus | |
JP6526849B1 (en) | Estimation device, estimation method and estimation program | |
US20130246410A1 (en) | Server, information-management method, information-management program, and computer-readable recording medium with said program recorded thereon | |
Stresman et al. | Association between the proportion of Plasmodium falciparum and Plasmodium vivax infections detected by passive surveillance and the magnitude of the asymptomatic reservoir in the community: a pooled analysis of paired health facility and community data | |
CA2760624A1 (en) | Server, dictionary creation method, dictionary creation program, and computer-readable recording medium recording the program | |
CN116072277A (en) | Recommendation method, device, equipment and medium for automatic external defibrillator in public place | |
JP2020052856A (en) | Rescue support server, rescue support system and program | |
Kevin Baird et al. | Epidemiological measures of risk of malaria | |
KR20210055314A (en) | Method and system for selecting new drug repositioning candidate | |
WO2020244601A1 (en) | Estimating passenger income level on a ridesharing platform | |
JP6798274B2 (en) | Distribution base identification program, distribution base identification device and distribution base identification method | |
CN116030952B (en) | Method, apparatus, device and medium for deploying and managing currently available AEDs | |
CN106658392B (en) | Emergency rescue method, device and system | |
Firoozjaei et al. | Privacy preserving nearest neighbor search based on topologies in cellular networks | |
CN111553600A (en) | Big data-based smart city business distribution system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |