A method, device, electronic device and storage medium for supporting medical services in scenic spots
By collecting and analyzing tourists' positioning and behavioral data, generating health forms and judging tourists' status, the problems of low efficiency and lack of real-time monitoring of existing scenic spots are solved, and efficient medical service response and safety management are achieved.
Patent Information
- Application Number
- CN202411809355.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-10
- Publication Date
- 2025-04-01
AI Technical Summary
The existing scenic spot medical services rely on fixed first aid points or on-site dispatch of rescue personnel, which is inefficient and lacks dynamic real-time monitoring and automatic analysis capabilities for tourists' health status, which affects the accuracy and speed of rescue responses.
By collecting the positioning device data worn by tourists and camera data in the scenic area, a health table is generated, the tourists' behavior abnormalities are analyzed in real time, and a guidance path or rescue path is generated based on the status to provide medical service support.
It improves the timeliness and effectiveness of medical services, realizes dynamic monitoring and automatic analysis of tourists' health status, reduces the probability of safety incidents, and provides data support for scenic spot management, building a safer and smarter tourism environment.
Smart Images

Figure CN119742062A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of scenic area security services, and in particular to a method, device, electronic equipment and storage medium for supporting medical services in scenic areas. Background Art
[0002] With the rapid development of the tourism industry, the number of visitors to large scenic spots continues to grow daily. Scenic areas are complex and diverse, and visitors' health status, behavioral status, and external environment may all pose potential threats to their safety. Existing medical services in scenic areas often rely on fixed first aid points or on-site dispatch of rescue personnel. This approach is not only inefficient but may not be able to meet the needs of complex emergencies in a timely manner. In addition, most existing medical support systems lack the ability to dynamically monitor and automatically analyze visitors' health status in real time, and fail to effectively integrate visitors' location information, behavioral data, and physiological parameters, thus affecting the accuracy and speed of rescue responses.
[0003] Therefore, the existing technology has defects and needs to be improved and developed. Summary of the Invention
[0004] The embodiments of the present invention provide a method, device, electronic device and storage medium for supporting medical services in scenic spots, which are used to solve the problem in the prior art that medical services in scenic spots usually rely on fixed first aid points or on-site dispatch of rescue personnel. This method is not only inefficient, but may not be able to meet the needs in a timely manner when dealing with complex emergencies. In addition, most existing medical support systems lack the ability to dynamically monitor and automatically analyze the health status of tourists in real time, and fail to effectively combine the positioning information, behavioral data and physiological parameters of tourists, thereby affecting the accuracy and speed of rescue response.
[0005] According to a first aspect of an embodiment of the present invention, a method for supporting medical services in a scenic area is provided, comprising:
[0006] Collecting visitor data from positioning devices worn by visitors when entering a scenic area and data from cameras deployed within the scenic area, wherein the visitor data includes at least visitor location data and physiological status data, and the camera data includes at least visitor behavior data and environmental data;
[0007] generating a health form based on the visitor data and the camera data;
[0008] Analyze the health form according to the tourist data and the camera data to obtain the tourist behavior abnormality degree;
[0009] Determining the visitor status based on the degree of abnormality of the visitor behavior, wherein the visitor status includes normal, slightly abnormal, and seriously abnormal;
[0010] According to the visitor status, a visitor guidance path and a rescue guidance path are generated to provide medical service support to the visitor.
[0011] Furthermore, generating a health form based on the visitor data and the camera data includes:
[0012] The collected tourist behavior data is divided into data packets of equal data volume using a fragmentation transmission algorithm, and the data packets are sent to a database. The size of the data packets is adapted to the network bandwidth, and the network bandwidth at least satisfies the transmission time of each data packet to be less than 100 milliseconds. A first timestamp marking the collection time is added to the data packet; the collected tourist location data and physiological status data are packaged into JSON format using the Bluetooth protocol, and the data in JSON format are sent to the database. A second timestamp marking the collection time is added to the data in JSON format. The physiological status data at least includes heart rate, body temperature and blood oxygen saturation;
[0013] Synchronously transmitting the data packet and the data in JSON format via TCP / IP protocol;
[0014] Aligning the synchronously transmitted data packet and the JSON formatted data using the first timestamp and the second timestamp, and defining the aligned timestamp as a third timestamp;
[0015] calibrating the acquisition time according to the third timestamp;
[0016] Extract and encode frames of the video containing the tourist behavior data according to the calibrated acquisition time to generate a frame sequence; split the tourist location data and the physiological status data into fields according to the calibrated acquisition time to extract the tourist's location, heart rate, body temperature, and blood oxygen saturation respectively;
[0017] The frame sequence, the tourist's position, the tourist's heart rate, the tourist's body temperature and the tourist's blood oxygen saturation are matched according to the calibrated acquisition time to list the tourist's position, the tourist's heart rate, the tourist's body temperature and the tourist's blood oxygen saturation according to each frame time to generate a health table.
[0018] Furthermore, calibrating the acquisition time according to the third timestamp includes:
[0019] The acquisition time is calibrated using a calibration formula, which is:
[0020] T sync =Td evice -△T offset
[0021] Among them, T sync is the acquisition time after calibration;
[0022] T device is the time corresponding to the third timestamp;
[0023] △T offset The delay between devices.
[0024] Furthermore, the health form is analyzed based on the visitor data and the camera data to obtain the visitor behavior abnormality, including:
[0025] The tourist health score is calculated in real time based on the health table. The tourist health score formula is:
[0026]
[0027] Among them, HR score To calculate the heart rate of tourists;
[0028] Temp score The visitor's body temperature at the time of calculation;
[0029] SpO2 score The blood oxygen saturation of the tourist during the calculation;
[0030] α, β, γ are weight factors, and C is the absolute value of the ambient temperature during calculation;
[0031] When R health When the value of is greater than 0, the joint coordinate matrix is generated by the key point detection algorithm for the tourist behavior data:
[0032]
[0033] Among them, (x i ,y i ) are the joint point coordinates;
[0034] N is the total number of joint points;
[0035] Connecting the joint point coordinates in the joint coordinate matrix with a smooth curve in chronological order to obtain the tourist behavior trajectory;
[0036] The tourist behavior trajectory and the standard behavior trajectory are calculated to obtain the tourist behavior abnormality degree, wherein the standard behavior trajectory is the behavior trajectory of a healthy tourist.
[0037] Furthermore, the calculation of the tourist behavior trajectory and the standard behavior trajectory to obtain the tourist behavior abnormality, wherein the standard behavior trajectory is the behavior trajectory of a healthy tourist, includes:
[0038] Calculate the abnormality degree D of the tourist behavior abnormal The formula is:
[0039]
[0040] Among them, S behavior (t) is the tourist behavior trajectory at time t;
[0041] S standard (t) is the standard behavior trajectory at time t;
[0042] L is the time length of the trajectory.
[0043] Furthermore, the tourist status is determined based on the abnormality of the tourist behavior, wherein the tourist status includes normal, slightly abnormal and seriously abnormal, including:
[0044] Obtain the abnormality degree D of healthy tourists according to the health table of healthy tourists. threshold ;
[0045] Compare the abnormality degree D of the tourist behavior abnormal and the abnormality degree D of the healthy tourist threshold , if D abnormal ≤D threshold , then the visitor status is normal; if D threshold <D abnormal ≤2·D threshold , then the tourist status is slightly abnormal; if D abnormal >2·D threshold , then the visitor status is seriously abnormal.
[0046] Furthermore, generating a tourist guidance route and a rescue guidance route according to the tourist status to provide medical service support to the tourist includes:
[0047] When the visitor status is normal, recollecting the visitor data and the camera data to determine the visitor status again;
[0048] When the tourist status is abnormal, the environmental data of all cameras are integrated to obtain the coordinates of the nearest rest point to the tourist in the scenic area; and the actual coordinates of the tourist are obtained according to the tourist location data;
[0049] When the tourist state is slightly abnormal, the tourist guidance path is generated by the Dijkstra algorithm according to the coordinates of the rest point and the actual coordinates of the tourist;
[0050] When the tourist status is seriously abnormal, the tourist guidance path and the rescue guidance path are simultaneously generated by the Dijkstra algorithm according to the rest point coordinates and the actual coordinates of the tourist so that the tourist can obtain medical service support at the nearest rest point in the scenic area.
[0051] According to a second aspect of an embodiment of the present invention, there is provided a medical service support device in a scenic area, comprising:
[0052] A collection module, configured to collect visitor data from positioning devices worn by visitors when entering a scenic area and data from cameras deployed within the scenic area, wherein the visitor data includes at least visitor location data and physiological status data, and the camera data includes at least visitor behavior data and environmental data;
[0053] A first generating module, configured to generate a health form based on the visitor data and the camera data;
[0054] An analysis module, configured to analyze the health form based on the visitor data and the camera data to obtain a degree of abnormal behavior of the visitor;
[0055] A judgment module, configured to judge a visitor's status according to the degree of abnormality of the visitor's behavior, wherein the visitor's status includes normal, slightly abnormal, and seriously abnormal;
[0056] The second generating module is used to generate a tourist guidance path and a rescue guidance path according to the tourist status to provide medical service support to the tourist.
[0057] According to a third aspect of an embodiment of the present invention, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the method for supporting medical services within a scenic area.
[0058] According to a fourth aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for supporting medical services in a scenic area is implemented.
[0059] Beneficial effects:
[0060] As can be seen from the above scheme, the present invention provides a method, device, electronic device and storage medium for supporting medical services in scenic areas. By collecting, analyzing and processing tourists' positioning data, behavioral data and physiological status data, a tourist health form is generated, the tourist status is judged in real time, and accurate guidance paths and rescue paths are provided in abnormal situations, thereby improving the timeliness and effectiveness of medical services. Dynamic monitoring and automatic analysis of tourists' health status are achieved through intelligent means, and path planning technology is combined to provide efficient support for medical services in scenic areas. On the one hand, it helps to reduce the probability of safety incidents caused by tourists' health problems; on the other hand, it provides data support for scenic area management, which is conducive to building a safer and smarter tourism environment. The present invention is suitable for complex human flow environments such as large scenic spots and theme parks, and provides a new technical solution for the digital transformation and intelligent management of the tourism industry.
[0061] It should be appreciated that all combinations of the foregoing concepts, as well as additional concepts described in greater detail below, to the extent such concepts are not mutually inconsistent, can be considered to be part of the inventive subject matter of this disclosure.
[0062] The foregoing and other aspects, embodiments, and features of the present invention will be more fully understood from the following description in conjunction with the accompanying drawings. Other additional aspects of the present invention, such as features and / or beneficial effects of the exemplary embodiments, will become apparent from the following description or through practice of specific embodiments according to the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] The accompanying drawings are not drawn to scale. In the accompanying drawings, each identical or nearly identical component shown in various figures may be represented by the same reference numeral. For clarity, not every component is labeled in every figure. Embodiments of various aspects of the present invention will now be described by way of example with reference to the accompanying drawings, in which:
[0064] Figure 1 This is a flow chart of the medical service support method within a scenic area according to an embodiment of the present application.
[0065] Figure 2 This is a flowchart of generating a health table based on visitor data and camera data in an embodiment of the present application.
[0066] Figure 3 This is a flow chart of an embodiment of the present application for analyzing health forms based on tourist data and camera data to obtain the abnormality of tourist behavior.
[0067] Figure 4 This is a flowchart of an embodiment of the present application for generating a tourist guidance path and a rescue guidance path according to the tourist status to provide medical service support to the tourist. DETAILED DESCRIPTION
[0068] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings of the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the described embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Unless otherwise defined, the technical terms or scientific terms used herein should be the common meanings understood by people with ordinary skills in the field to which the present invention belongs.
[0069] The words "first", "second" and similar terms used in the patent specification and claims of the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, unless the context clearly indicates otherwise, the singular form "a" or "an" shall not be construed as "a" or "an";
[0070] The words “a”, “an”, “the” and the like do not denote a limitation of quantity, but rather denote the presence of at least one.
[0071] Words such as "include" or "comprising" mean that the elements or objects preceding the word "include" or "comprising" include the features, integers, steps, operations, elements, and / or components listed after the word "include" or "comprising", and do not exclude the existence or addition of one or more other features, integers, steps, operations, elements, components, and / or combinations thereof. Words such as "upper", "lower", "left", and "right" are used only to indicate relative positional relationships. When the absolute position of the object being described changes, the relative positional relationship may also change accordingly.
[0072] In existing technologies, medical services in scenic spots usually rely on fixed first aid points or on-site dispatch of rescue personnel. This approach is not only inefficient, but may not be able to meet needs in a timely manner when dealing with complex emergencies. In addition, most existing medical support systems lack the ability to dynamically monitor and automatically analyze tourists' health status in real time, and fail to effectively combine tourists' location information, behavioral data and physiological parameters, thereby affecting the accuracy and speed of rescue response.
[0073] In view of this, the embodiment of the present invention provides a method for supporting medical services in a scenic area, referring to Figure 1 ,include:
[0074] Step S102: collecting tourist data from the positioning device worn by the tourist when entering the scenic area and data from cameras deployed in the scenic area, where the tourist data includes at least the tourist's location data and physiological status data, and the camera data includes at least the tourist's behavior data and environmental data;
[0075] Step S104: Generate a health table based on the visitor data and camera data;
[0076] Step S106: Analyze the health form based on the tourist data and camera data to obtain the tourist behavior abnormality degree;
[0077] Step S108: judging the visitor status according to the degree of abnormality of the visitor's behavior, where the visitor status includes normal, slightly abnormal and seriously abnormal;
[0078] Step S110: Generate a tourist guidance route and a rescue guidance route according to the tourist status to provide medical service support to the tourist.
[0079] Real-time monitoring of visitors' status is achieved by collecting data from tracking devices worn by tourists and from cameras installed within scenic areas. Tracking devices can be wearable smart devices such as smart bracelets and smart watches. Visitor data includes location and physiological information, such as heart rate, body temperature, and blood oxygen saturation; camera data includes behavioral and environmental data. These two types of data are combined to generate a health profile, which is used to analyze abnormalities in tourist behavior and determine their status. Based on different visitor statuses, guidance routes or rescue routes are generated to provide medical support.
[0080] By integrating data from multiple sources, the system can efficiently analyze visitor health conditions and provide real-time medical support, significantly improving the speed and accuracy of medical service responses within scenic areas. Leveraging the fusion of positioning devices and camera data, a comprehensive solution encompasses health form generation, behavioral anomaly analysis, and route guidance, addressing the shortcomings of traditional scenic area medical service systems in terms of real-time health monitoring and intelligent response.
[0081] In some embodiments, a health table is generated based on visitor data and camera data, referring to Figure 2 ,include:
[0082] Step S1041: The collected tourist behavior data is divided into data packets of equal data size using a fragmentation transmission algorithm, and the data packets are sent to a database. The size of the data packets is adapted to the network bandwidth, and the network bandwidth at least satisfies the transmission time of each data packet to be less than 100 milliseconds. A first timestamp marking the collection time is added to the data packet; the collected tourist location data and physiological status data are packaged into JSON format using the Bluetooth protocol, and the JSON formatted data is sent to the database. A second timestamp marking the collection time is added to the JSON formatted data. The physiological status data at least includes heart rate, body temperature and blood oxygen saturation.
[0083] Step S1042: Synchronously transmit the data packet and the data in JSON format via the TCP / IP protocol;
[0084] Step S1043: aligning the synchronously transmitted data packet and the JSON format data using the first timestamp and the second timestamp, and defining the aligned timestamp as a third timestamp;
[0085] Step S1044: calibrating the acquisition time according to the third timestamp;
[0086] Step S1045: Extract and encode frames from the video containing the tourist behavior data according to the calibrated acquisition time to generate a frame sequence; split the tourist location data and physiological status data into fields according to the calibrated acquisition time to extract the tourist's location, heart rate, body temperature, and blood oxygen saturation respectively;
[0087] Step S1046: Match the frame sequence, the tourist's position, the tourist's heart rate, the tourist's body temperature and the tourist's blood oxygen saturation according to the calibrated acquisition time to list the tourist's position, the tourist's heart rate, the tourist's body temperature and the tourist's blood oxygen saturation according to each frame time to generate a health table.
[0088] A fragmented transmission algorithm and Bluetooth protocol are used to transmit visitor behavioral data and physiological data, respectively, ensuring stability and real-time transmission of different data types. A timestamp synchronization mechanism aligns data from different sources to generate a time-series health table. This table records behavior, location, heart rate, body temperature, and blood oxygen saturation data for each frame.
[0089] Precise timestamp calibration and an efficient data transmission protocol improve the timeliness and consistency of data transmission. The generated health form accurately reflects the visitor's physiological and behavioral status, facilitating subsequent analysis and processing. The introduction of a fragmented transmission algorithm, Bluetooth protocol, and timestamp alignment mechanism integrates multiple data sources into a unified health form, providing an efficient cross-protocol data processing solution.
[0090] In some embodiments, calibrating the acquisition time according to the third timestamp includes:
[0091] Use the calibration formula to calibrate the acquisition time. The calibration formula is:
[0092] T sync =T device -△T offset
[0093] Among them, T sync is the acquisition time after calibration;
[0094] T device is the time corresponding to the third timestamp;
[0095] △T offset The delay between devices.
[0096] A calibration formula solves the problem of inter-device time synchronization. By eliminating inter-device delays, data collection time consistency is ensured. Time calibration eliminates data misalignment caused by device latency, ensuring the accuracy of behavioral and physiological data at the same time point, providing a reliable data foundation for generating health tables. The introduction of an inter-device time synchronization formula based on time offset provides a highly accurate data calibration method, particularly suitable for scenarios where multiple devices are collecting data together.
[0097] In some embodiments, the health form is analyzed based on the visitor data and camera data to obtain the visitor behavior abnormality degree, and the visitor behavior abnormality degree is obtained by referring to the visitor data. Figure 3 ,include:
[0098] Step S1061: Calculate the tourist health score in real time based on the health table. The tourist health score formula is:
[0099]
[0100] Among them, HR score To calculate the heart rate of tourists;
[0101] Temp score The visitor's body temperature at the time of calculation;
[0102] SpO2 score The blood oxygen saturation of the tourist during the calculation;
[0103] α, β, γ are weight factors, and C is the absolute value of the ambient temperature during calculation;
[0104] Step S1062: When R health When the value of is greater than 0, the joint coordinate matrix is generated by the key point detection algorithm for the tourist behavior data:
[0105]
[0106] Among them, (x i ,y i ) are the joint point coordinates;
[0107] N is the total number of joint points;
[0108] Step S1063: Connecting the joint point coordinates in the joint coordinate matrix with a smooth curve in chronological order to obtain the tourist behavior trajectory;
[0109] Step S1064: Calculate the tourist behavior trajectory and the standard behavior trajectory to obtain the tourist behavior abnormality degree, wherein the standard behavior trajectory is the behavior trajectory of a healthy tourist.
[0110] Visitors' health status is calculated using a health scoring formula, and a key point detection algorithm generates a traveler's behavioral trajectory. By comparing this trajectory with a standard one, the degree of behavioral abnormality is calculated. This enables real-time quantification of a visitor's health status and accurate detection of behavioral abnormalities, providing a scientific basis for subsequent status assessments. The health scoring formula integrates heart rate, body temperature, and blood oxygen saturation, and combines this with behavioral trajectory analysis to develop a new method for calculating behavioral abnormalities, providing a precise quantitative analysis tool for scenic area medical support.
[0111] In some embodiments, a tourist behavior trajectory and a standard behavior trajectory are calculated to obtain a tourist behavior abnormality degree, wherein the standard behavior trajectory is a healthy tourist behavior trajectory, including:
[0112] Calculate the abnormality degree D of tourist behaviorabnormal The formula is:
[0113]
[0114] Among them, S behavior (t) is the tourist behavior trajectory at time t;
[0115] S standard (t) is the standard behavior trajectory at time t;
[0116] L is the time length of the trajectory.
[0117] The Euclidean distance between the behavior trajectory and the standard behavior trajectory is calculated to determine the degree of behavioral anomaly. The calculation of the behavioral anomaly degree directly reflects the degree to which the tourist's behavior deviates from normal behavior, providing an important reference indicator for subsequent status classification and guidance path generation, thereby achieving a high-precision behavior anomaly detection method.
[0118] In some embodiments, the visitor status is determined based on the degree of abnormality of the visitor's behavior, where the visitor status includes normal, slightly abnormal, and seriously abnormal, including:
[0119] Step S1081: Obtain the abnormality degree D of the healthy tourist according to the health table of the healthy tourist threshold ;
[0120] Step S1082: Compare the tourist behavior abnormality D abnormal and abnormality degree D of healthy tourists threshold , if D abnormal ≤D threshold , then the tourist status is normal; if D threshold <D abnormal ≤2·D threshold , then the tourist status is slightly abnormal; if D abnormal >2·D threshold , the visitor status is seriously abnormal.
[0121] The state classification provides a clear basis for subsequent path generation while ensuring the uniformity and scientificity of the classification standards. A set of precise state classification standards based on behavioral abnormality is proposed, filling the gap of the fuzzy state classification in traditional health monitoring.
[0122] In some embodiments, based on the visitor's status, a visitor guidance path and a rescue guidance path are generated to provide medical service support to the visitor. Figure 4 ,include:
[0123] Step S1101: When the visitor status is normal, recollect visitor data and camera data to determine the visitor status again;
[0124] Step S1102: When the tourist status is abnormal, the environmental data of all cameras are integrated to obtain the coordinates of the nearest rest point to the tourist in the scenic area; and the actual coordinates of the tourist are obtained based on the tourist location data;
[0125] Step S1103: When the tourist status is slightly abnormal, a tourist guidance path is generated using the Dijkstra algorithm based on the rest point coordinates and the tourist's actual coordinates;
[0126] Step S1104: When the tourist status is seriously abnormal, the Dijkstra algorithm is used to simultaneously generate a tourist guidance path and a rescue guidance path based on the rest point coordinates and the actual coordinates of the tourist so that the tourist can obtain medical service support at the nearest rest point in the scenic area.
[0127] Providing personalized path planning for different conditions improves the efficiency and accuracy of medical services, especially the emergency response capabilities for tourists with serious abnormalities. Using the Dijkstra algorithm for real-time path planning, combined with tourist status and environmental data, a dynamic path generation method suitable for complex scenes in scenic spots is proposed. In some other embodiments, when it is determined that the tourist status is mildly abnormal or severely abnormal, information or an alarm can be sent to the positioning device. The positioning device can use a smart wearable device, such as a smart bracelet or a smart watch, which emits a continuous bright light or flashing light or sound after receiving the information or alarm, thereby alerting the surrounding tourists, so that tourists with mild or severe abnormalities can reach the rest point or receive rescue in a timely and smooth manner.
[0128] A method for supporting medical services within scenic areas, provided by an embodiment of the present invention, provides a method for generating health tables by combining data collection and time calibration; a comprehensive anomaly assessment mechanism combining behavioral trajectories with health scores; differentiated path planning technology based on visitor status, applicable to medical response needs in multiple scenarios; and the fusion of camera environmental data and positioning device data to achieve dynamic adjustment of the global optimal path planning. During implementation, the positioning device transmits data using the Bluetooth protocol to ensure compatibility with existing hardware; the database supports the TCP / IP protocol and JSON format, facilitating unified data storage and management; and the path planning algorithm can dynamically adjust based on the scenic area's real-time environmental data to adapt to complex terrain and emergency situations. This method offers the following advantages: real-time: health table generation based on timestamps and synchronization mechanisms enables efficient data processing and real-time status updates; accuracy: an algorithm combining health scores and behavioral trajectories effectively improves the accuracy of status assessment; applicability: differentiated response plans are provided for different types of anomalies, including guidance and rescue; and intelligence: a path optimization algorithm reduces medical response time and improves the efficiency of visitor medical service support.
[0129] The method for supporting medical services in scenic areas provided by the embodiments of the present invention can improve the efficiency of medical services in scenic areas and effectively protect the lives of tourists; reduce the blind searches of medical personnel and optimize the allocation of medical resources in scenic areas; achieve accurate monitoring and analysis of tourists' health status and reduce the risk of accidents; improve the service quality of scenic areas and provide tourists with a better sightseeing experience.
[0130] Another embodiment of the present invention further provides a medical service support device in a scenic area, comprising:
[0131] A collection module is used to collect visitor data from positioning devices worn by visitors when entering a scenic area and data from cameras deployed within the scenic area. The visitor data includes at least visitor location data and physiological status data, and the camera data includes at least visitor behavior data and environmental data.
[0132] A first generation module is used to generate a health form based on visitor data and camera data;
[0133] The analysis module is used to analyze the health form based on the visitor data and camera data to obtain the abnormality of visitor behavior;
[0134] The judgment module is used to judge the status of tourists according to the abnormality of their behavior, where the tourist status includes normal, slightly abnormal and seriously abnormal;
[0135] The second generating module is used to generate a tourist guidance path and a rescue guidance path according to the tourist status to provide medical service support to the tourist.
[0136] Another embodiment of the present invention further provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements a method for supporting medical services within a scenic area when executed by the processor.
[0137] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor. The processor is the control center of the gateway's data processing device, connecting various parts of the gateway's data processing device using various interfaces and lines.
[0138] Another embodiment of the present invention further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the method for supporting medical services in a scenic area is implemented.
[0139] The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the processor, etc. In addition, the memory is preferably but not limited to a high-speed random access memory, for example, it may also be a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory may also optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0140] Those skilled in the art will appreciate that the implementation of all or part of the processes in the above-described method embodiments can be accomplished by a computer program that instructs related hardware to perform the process, which can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above-described method embodiments. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD), or a solid-state drive (SSD). The storage medium can also include a combination of the above-mentioned types of memory.
[0141] In summary, by utilizing the method, device, electronic device and storage medium for supporting medical services in scenic areas provided by the present invention, by collecting, analyzing and processing the positioning data, behavior data and physiological status data of tourists, a tourist health form is generated, the status of tourists is judged in real time, and accurate guidance paths and rescue paths are provided in abnormal situations, thereby improving the timeliness and effectiveness of medical services. Dynamic monitoring and automatic analysis of the health status of tourists are achieved through intelligent means, and efficient support is provided for medical services in scenic areas in combination with path planning technology. On the one hand, it helps to reduce the probability of safety incidents caused by health problems of tourists; on the other hand, it provides data support for scenic area management, which is conducive to building a safer and smarter tourism environment. The present invention is suitable for complex human flow environments such as large scenic spots and theme parks, and provides a new technical solution for the digital transformation and intelligent management of the tourism industry.
[0142] While the present invention has been disclosed above with reference to preferred embodiments, this is not intended to limit the present invention. Persons skilled in the art will readily appreciate that various modifications and variations can be made without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be determined by the claims.
Claims
1. A method for supporting medical services in a scenic area, characterized in that: include: Collecting tourist data from positioning devices worn by tourists when entering the scenic area and camera data arranged in the scenic area, wherein the tourist data at least includes tourist location data and physiological state data, and the camera data at least includes tourist behavior data and environmental data; generating a health form based on the visitor data and the camera data; Analyze the health form according to the tourist data and the camera data to obtain the tourist behavior abnormality degree; Determining the visitor status according to the degree of abnormality of the visitor behavior, wherein the visitor status includes normal, slightly abnormal and seriously abnormal; According to the state of the tourist, a tourist guidance path and a rescue guidance path are generated to provide medical service support to the tourist.
2. A method for supporting medical services in a scenic area according to claim 1, characterized in that: The generating of a health form according to the visitor data and the camera data comprises: The collected tourist behavior data is divided into data packets of equal data volume through a fragmentation transmission algorithm, and the data packets are sent to a database. The size of the data packets is adapted to the network bandwidth, and the network bandwidth at least satisfies the transmission time of each data packet to be less than 100 milliseconds. A first timestamp marking the collection time is added to the data packet; the collected tourist location data and physiological status data are packaged into JSON format through the Bluetooth protocol, and the data in JSON format are sent to the database. A second timestamp marking the collection time is added to the data in JSON format. The physiological status data at least includes heart rate, body temperature and blood oxygen saturation; Synchronously transmitting the data packet and the data in JSON format via TCP / IP protocol; Aligning the synchronously transmitted data packet and the JSON formatted data using the first timestamp and the second timestamp, and defining the aligned timestamp as a third timestamp; calibrating the acquisition time according to the third timestamp; Extract and encode frames of the video with the tourist behavior data according to the calibrated acquisition time to generate a frame sequence; split the tourist location data and the physiological status data into fields according to the calibrated acquisition time to extract the tourist's location, heart rate, body temperature and blood oxygen saturation respectively; The frame sequence, the tourist's position, the tourist's heart rate, the tourist's body temperature and the tourist's blood oxygen saturation are matched according to the calibrated acquisition time to list the tourist's position, the tourist's heart rate, the tourist's body temperature and the tourist's blood oxygen saturation according to each frame time to generate a health table.
3. A method for supporting medical services in a scenic area according to claim 2, characterized in that: The step of calibrating the acquisition time according to the third timestamp includes: The acquisition time is calibrated using a calibration formula, which is: T sync =T device -ΔT offset Among them, T sync is the acquisition time after calibration; T device is the time corresponding to the third timestamp; ΔT offset is the delay between devices.
4. A method for supporting medical services in a scenic area according to claim 1, characterized in that: Analyzing the health form according to the tourist data and the camera data to obtain the tourist behavior abnormality degree includes: The tourist health score is calculated in real time according to the health table, and the tourist health score formula is: Among them, HR score To calculate the heart rate of tourists; Temp score The temperature of the visitor at the time of calculation; SpO2 score To calculate the blood oxygen saturation of tourists; α, β, γ are weight factors, and C is the absolute value of the ambient temperature during calculation; When R health When the value of is greater than 0, the joint coordinate matrix is generated by the key point detection algorithm for the tourist behavior data: Among them, (x i ,y i ) are the joint point coordinates; N is the total number of joint points; Connecting the joint point coordinates in the joint coordinate matrix with a smooth curve in chronological order to obtain a tourist behavior trajectory; The tourist behavior trajectory and the standard behavior trajectory are calculated to obtain the tourist behavior abnormality, wherein the standard behavior trajectory is the behavior trajectory of healthy tourists.
5. A method for supporting medical services in a scenic area according to claim 4, characterized in that: The calculating of the tourist behavior trajectory and the standard behavior trajectory to obtain the tourist behavior abnormality, wherein the standard behavior trajectory is the behavior trajectory of healthy tourists, includes: Calculate the abnormality degree D of the tourist behavior abnormal The formula is: Among them, S behavior (t) is the tourist behavior trajectory at time t; S standard (t) is the standard behavior trajectory at time t; L is the time length of the trajectory.
6. A method for supporting medical services in a scenic area according to claim 1, characterized in that: The judging of the visitor status according to the abnormality of the visitor behavior, wherein the visitor status includes normal, slightly abnormal and seriously abnormal, includes: Obtain the abnormality degree D of the healthy tourist according to the health table of the healthy tourist. threshold ; Compare the abnormality degree D of the tourists' behavior abnormal and the abnormality degree D of the healthy tourist threshold , if D abnormal ≤D threshold , then the tourist status is normal; if D threshold <Da bnormal ≤2·D threshold , then the tourist status is slightly abnormal; if D abnormal >2·D threshold , then the visitor status is seriously abnormal.
7. A method for supporting medical services in a scenic area according to claim 1, characterized in that: The generating of a tourist guidance path and a rescue guidance path according to the tourist status to provide medical service support to the tourist includes: When the visitor status is normal, recollecting the visitor data and the camera data to determine the visitor status again; When the tourist status is abnormal, the environmental data of all cameras are integrated to obtain the coordinates of the rest point closest to the tourist in the scenic area; the actual coordinates of the tourist are obtained according to the tourist location data; When the state of the tourist is slightly abnormal, the tourist guidance path is generated by the Dijkstra algorithm according to the coordinates of the rest point and the actual coordinates of the tourist; When the tourist status is seriously abnormal, the tourist guidance path and the rescue guidance path are simultaneously generated by the Dijkstra algorithm according to the rest point coordinates and the actual coordinates of the tourist so that the tourist can obtain medical service support at the rest point closest to the tourist in the scenic area.
8. A medical service support device in a scenic area, characterized in that: include: A collection module, used to collect tourist data from a positioning device worn by tourists when entering a scenic spot and camera data arranged in the scenic spot, wherein the tourist data at least includes tourist location data and physiological state data, and the camera data at least includes tourist behavior data and environmental data; A first generating module, used for generating a health form according to the visitor data and the camera data; An analysis module, used for analyzing the health form according to the tourist data and the camera data to obtain the degree of abnormal behavior of the tourist; A judgment module, used for judging the state of the tourist according to the abnormality of the tourist behavior, wherein the state of the tourist includes normal, slightly abnormal and seriously abnormal; The second generating module is used to generate a tourist guiding path and a rescue guiding path according to the tourist status to provide medical service support to the tourist.
9. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the method for supporting medical services in a scenic area as claimed in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for supporting medical services in a scenic area as described in any one of claims 1 to 7 is implemented.