Hospital indoor one-key alarm system

By deploying a combination system of Bluetooth beacons and mobile phone software in the hospital room, medical staff can quickly trigger alarms and upload location information through one-click alarm function, solving the limitations of security protection in the existing technology and achieving low-cost, efficient and reliable security guarantees.

CN119851419APending Publication Date: 2025-04-18COMAND (JIANGSU) INTELLIGENT TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510042800.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-10
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

The prior art has limitations in the safety protection of indoor personnel in hospitals. For example, motion detection and alarm technology is susceptible to environmental interference, video analysis technology is costly and involves privacy protection issues, and door and window sensors are prone to false alarms or missed reports.

Method used

The hospital indoor one-click alarm system is used to combine Bluetooth beacons and mobile phone software. Through Bluetooth beacons, medical staff can trigger alarms with one-click through mobile devices and upload location information to the backend server in real time.

Benefits of technology

It realizes low-cost, efficient and reliable indoor positioning and alarm, provides fast and accurate security guarantees, and reduces environmental interference and privacy protection issues.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119851419A_ABST
    Figure CN119851419A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of safety alarm, and provides a hospital indoor one-key alarm system. According to the hospital indoor one-key alarm system, a Bluetooth beacon is used for broadcasting a signal, and the signal comprises preset alarm information; the sending end comprises a first mobile device, and the first mobile device is provided with alarm software and is used for searching broadcast signals of the Bluetooth beacons, obtaining position information and alarm information of the corresponding Bluetooth beacons and sending data to the background server; the background server receives the position information and the alarm information from the sending end, analyzes and processes the position information and the alarm information, and uploads the processed information to the receiving end; and the receiving end comprises sound-light alarm equipment and second mobile equipment, and the second mobile equipment is provided with corresponding alarm receiving software and is used for receiving and displaying the alarm information from the background server. The hospital indoor one-key alarm system is low in power consumption, low in cost and easy to deploy, privacy protection is achieved in a non-video mode, and rapid and accurate safety guarantee is provided for medical staff.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of safety alarms, and in particular to a one-button alarm system for indoor use in a hospital. Background Art

[0002] With the rapid development of the Internet of Things, artificial intelligence and communication technology, the era of the Internet of Everything is accelerating. The Internet of Things technology has shown great potential in industrial manufacturing, logistics and transportation, smart homes and other fields. In addition, it has also been gradually introduced into the field of indoor positioning and personnel safety protection, providing new solutions for accurate positioning and intelligent alarm in complex environments.

[0003] Existing indoor positioning technologies have their own advantages and disadvantages. Although UWB technology can achieve high-precision positioning, it requires complex equipment deployment, is costly, and is complex to install and maintain, making it unsuitable for large-scale use. Wi-Fi positioning can utilize existing network infrastructure, but has strict requirements on signal quality and is easily affected by obstacles. Infrared and ultrasonic composite positioning improves the effect through technical integration, but still has high requirements on deployment cost and environmental stability in complex environments. In complex environments, it is easily interfered, resulting in significant fluctuations in positioning signals.

[0004] In terms of personnel safety protection, existing technologies also face limitations. For example, motion detection alarm technology is suitable for monitoring abnormal activities, but it is easily disturbed by the environment and requires the deployment of a large number of sensors in the environment, such as visual sensors, motion sensors, and infrared sensors. The layout of such sensors will result in insufficient system flexibility and fixed warning areas. Video analysis technology has high accuracy, but is sensitive to light, has high deployment and maintenance costs, and video surveillance involves facial and behavioral analysis of personnel, which can easily lead to concerns about privacy and data protection. Door and window sensors are simple and easy to use, but are prone to false alarms or missed alarms in changing environments. In medical scenarios, especially in the context of frequent conflicts between doctors and patients, the limitations of traditional technologies make the safety of medical staff an issue that needs to be addressed urgently. Summary of the invention

[0005] In view of this, an embodiment of the present invention provides a one-button alarm system for indoor use in a hospital, which is used to solve or partially solve the above-mentioned problems and provide medical staff with fast and accurate safety protection.

[0006] A one-button alarm system for indoor use in a hospital, comprising:

[0007] A Bluetooth beacon, used for broadcasting a signal, wherein the signal includes a preset alarm information, and the Bluetooth beacon is provided in multiple locations and distributed in various areas of the hospital;

[0008] The transmitting end includes a first mobile device, which is installed with alarm software dedicated to medical staff, and is used to search for broadcast signals of Bluetooth beacons, obtain location information and alarm information corresponding to the Bluetooth beacons, and send the data to a background server;

[0009] The backend server receives the location information and alarm information from the sender, performs analysis and processing, and uploads the processed information to the alarm record file and the receiver;

[0010] The receiving end includes the sound and light alarm equipment of the security department and a second mobile device. The sound and light alarm equipment of the security department includes a sound and light alarm and a one-key alarm system. The second mobile device is installed with corresponding alarm software for receiving and displaying alarm information from the background server.

[0011] The beneficial effect of the above embodiment is that the hospital's indoor one-button alarm system, which realizes positioning and alarm based on the combination of Bluetooth beacons and mobile phone software, has the characteristics of low power consumption, low cost, and easy deployment, and can effectively adapt to complex scenes inside the hospital. When medical staff encounter danger, they can quickly alarm through the one-button trigger function, and upload the location information to the security system in real time. The hospital's indoor one-button alarm system is not only easy to deploy, but also can achieve privacy protection through non-video methods, providing fast and accurate safety protection for medical staff.

[0012] According to a specific implementation of an embodiment of the present invention, the Bluetooth beacon also includes a function of dynamically adjusting the broadcast interval, and adjusting the broadcast frequency according to the proximity of the receiving device to balance energy consumption and response speed.

[0013] According to a specific implementation method of an embodiment of the present invention, the signal broadcast by the Bluetooth beacon includes an identifier, beacon transmission power and alarm information. After the first mobile device receives the beacon signal, it measures the receiving strength (RSSI) of the signal, and estimates the relative distance between the receiving device and the beacon based on the signal attenuation model and AoA technology to achieve the positioning function.

[0014] According to a specific implementation of an embodiment of the present invention, the positioning function adopts a multi-path compensation model of Bluetooth 5.0+, utilizes the LE Coded PHY mode in the Bluetooth 5.0 protocol, combines the characteristics of multi-path signal propagation, designs a compensation model to reduce the interference of reflected signals, integrates the RSSI values ​​of multiple channels, and calculates the average signal strength, thereby enhancing the anti-interference capability. Combine RSSI and AoA technology to achieve high-precision positioning.

[0015] According to a specific implementation of an embodiment of the present invention, the alarm software includes a one-key alarm function, which constructs an alarm data packet including location information and alarm information after startup, and transmits it to a background server via a wireless network in an encrypted manner.

[0016] According to a specific implementation method of an embodiment of the present invention, the first mobile device in the sending end uploads the alarm data to the background server through the RESTful API and MQTT protocol, uses AES to encrypt local data and transmits it through HTTPS to protect data privacy, and introduces a signature authentication mechanism to ensure the authenticity of the data source.

[0017] According to a specific implementation method of an embodiment of the present invention, the sending end also includes a computer device and a physical button, which serve as backup alarm means. When the first mobile device cannot be used, the alarm information can be sent through the computer device or the physical button.

[0018] According to a specific implementation of an embodiment of the present invention, the background server is composed of a database and a server, and adopts a layered architecture design, including a data access layer, a business processing layer and a data storage layer, to achieve efficient and stable data processing and storage.

[0019] According to a specific implementation of an embodiment of the present invention, the one-button alarm system at the receiving end includes functions of alarm information statistics, beacon deployment status feedback, and security personnel receiving alarm information.

[0020] According to a specific implementation of the embodiment of the present invention, the second mobile device in the receiving end receives the alarm information from the background server in real time through the MQTT communication protocol, and displays the alarm information on the alarm receiving software interface.

[0021] The one-button alarm system for indoor hospitals of the present invention realizes a low-cost, efficient, reliable and privacy-protecting indoor positioning and alarm system by combining Bluetooth beacons and smart APP. The present invention has at least the following technical effects:

[0022] First, by adopting Bluetooth beacon technology, the system can simplify hardware deployment and reduce deployment and maintenance costs. Compared with traditional UWB or Wi-Fi positioning technology, Bluetooth beacons have lower economic barriers and higher flexibility, and are particularly suitable for large-scale application scenarios such as hospitals.

[0023] Second, by combining the multi-path compensation model of Bluetooth 5.0 and RSSI and AoA technologies, the system can effectively reduce environmental interference, provide stable and accurate positioning services, and ensure high-precision positioning performance even in complex indoor environments.

[0024] Third, the alarm mechanism of the present invention simplifies user operations. Through the one-key alarm function of the APP, not only the alarm process is more convenient, but also through dynamic rules and historical data analysis, the false alarm problem caused by environmental changes is reduced, and the accuracy of the alarm information is improved. This enables security personnel to respond efficiently and avoid invalid interference. On the other hand, in order to protect user privacy, the present invention adopts a non-video positioning method to avoid the privacy leakage problem that may be caused by camera monitoring. At the same time, through AES encryption and dynamic key management mechanism, the security of data transmission is ensured.

[0025] Fourth, the system design takes real-time and reliability into consideration, using message queues and priority processing mechanisms to meet the needs of rapid response in high-concurrency scenarios, and combines offline caching and retransmission mechanisms to ensure that alarm information can be fully uploaded even in the event of network anomalies. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the description of the prior art. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.

[0027] Figure 1 A structural block diagram of a hospital indoor one-button alarm system provided by an embodiment of the present invention is shown;

[0028] Figure 2 A schematic diagram of an interface of a one-touch alarm receiving system provided in an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0029] The present invention is further explained below in conjunction with specific implementation methods. It should be understood that these implementation methods are only used to illustrate the present invention and are not used to limit the scope of the present invention. After reading the present invention, various equivalent forms of modifications to the present invention by those skilled in the art all fall within the scope defined by the claims attached to this application.

[0030] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should have the common meanings understood by those skilled in the art to which the present invention belongs.

[0031] Figure 1 A structural block diagram of a hospital indoor one-button alarm system provided by an embodiment of the present invention is shown in FIG. Figure 1 ,include:

[0032] A Bluetooth beacon, used for broadcasting a signal, wherein the signal includes a preset alarm information, and the Bluetooth beacon is provided in multiple locations and distributed in various areas of the hospital;

[0033] The transmitting end includes a first mobile device, a computer device and a physical button. The first mobile device is installed with alarm software (APP1) dedicated to medical staff, which is used to search for broadcast signals of Bluetooth beacons. The first mobile device estimates the distance between the first mobile device and the Bluetooth beacon based on the signal strength (RSSI) to realize the positioning function, obtains the location information and alarm information corresponding to the Bluetooth beacon, and sends the data to the background server. The computer device and the physical button serve as backup alarm means to play a role of insurance. When the first mobile device fails or is lost, the location information and alarm information can be sent to the background server through the physical button in the room or the enter button of the computer device.

[0034] The backend server, mainly composed of a database and a server, receives location information and alarm information from the sender, analyzes and processes it, and uploads the processed information to the alarm record archive and the receiving end, such as security personnel and the security office;

[0035] The receiving end includes an audible and visual alarm device installed at the security office and a second mobile device (a mobile phone dedicated to security personnel). The audible and visual alarm device at the security office includes an audible and visual alarm and a one-button alarm receiving system. The second mobile device is installed with a corresponding alarm receiving software (APP2) for receiving and displaying alarm information from the background server. Figure 2 As shown, the one-key alarm system at the receiving end includes:

[0036] Alarm information statistics: The main content is to count the total number of alarms, calculate the average alarm rate and key areas with multiple alarms, and calculate and draw monthly alarm trend charts and regional alarm statistics charts;

[0037] Beacon deployment status: It can provide feedback on changes in the number of beacons and the status of beacons to ensure the normal operation and timely maintenance of beacons.

[0038] Specifically, the alarm receiving software APP2 is used to receive data information processed by the background server, including the information of the alarm personnel and the location of the personnel, so as to facilitate the security personnel to quickly go to the rescue.

[0039] Among them, Bluetooth beacons broadcast signals periodically. These signals contain information such as the identifier beacon transmission power. After receiving the beacon signal, the receiving device measures the received signal strength (RSSI) of the signal. The RSSI value is usually expressed as a negative number. The smaller the value (for example, -90dBm), the weaker the signal; the larger the value (for example, -40dBm), the stronger the signal. According to the signal attenuation model, the RSSI value can be associated with the distance, so as to estimate the relative distance between the receiving device and the beacon and realize the positioning function.

[0040] The following further explanations are needed about the indoor positioning function:

[0041] Bluetooth beacons include broadcast functions, identifiers, and beacon transmission power. Bluetooth beacons are broadcast through standard BLE broadcast channels to reduce interference from Wi-Fi signals. The broadcast interval is then set. Since the broadcast interval affects the energy consumption of the beacon and the response speed of the device, in order to reduce energy consumption while ensuring the response speed, the broadcast interval is adjusted dynamically. The specific dynamic adjustment broadcast interval technology is as follows:

[0042] 1.1: Set the initial parameters, use the Bluetooth protocol stack API, configure the initial broadcast interval, and then initialize the broadcast packet (predetermined header fields, beacon data: including unique identifier (UUID), major value (Major), minor value (Minor) and signal strength indication (RSSI), other information: customizable information, mainly alarm information here, such as current beacon location information, estimated alarm content, etc.), then define dynamic adjustment conditions, and dynamically adjust the broadcast interval by monitoring external conditions. When the device is close to the beacon, shorten the broadcast interval to improve the response speed. When the device is far away from the beacon, extend the broadcast interval to reduce power consumption. When the adjustment conditions are met, call the protocol stack API to stop the current broadcast and reselect the broadcast interval.

[0043] 1.2: Data attenuation model: Based on the multi-path compensation model of Bluetooth 5.0+ signals, the LE Coded PHY mode in the Bluetooth 5.0 protocol is used, combined with the characteristics of multi-path signal propagation, to design a compensation model to reduce the interference of reflected signals, fuse the RSSI values ​​of multiple channels, and calculate the average signal strength, thereby enhancing the anti-interference ability. Among them, LE Coded PHY can add redundant information (such as coding factors) to the signal, enhance the signal's anti-interference ability and propagation range, and help stabilize RSSI measurement.

[0044] The multipath compensation model positioning of Bluetooth 5.0+ combines RSSI (received signal strength indication) and AoA (angle of arrival) technology to make full use of signal strength and direction information, effectively reduce the impact of multipath effect on positioning accuracy, and thus achieve high-precision positioning. It is especially suitable for Bluetooth beacons deployed in corridors and aisles, that is, where there are corners or obstructions. Specifically, it includes the following steps:

[0045] 2.1: Signal collection: Bluetooth beacons regularly broadcast wireless signals carrying UUID and TxPower (transmit power), which reach the receiving device through direct paths and multiple reflection paths. The receiving device collects RSSI values ​​(received signal strength indication) to reflect the degree of signal attenuation and to preliminarily estimate the distance between the device and the beacon. At the same time, the receiving device is equipped with an antenna array to receive signals from multiple antennas, and uses the tiny phase difference caused by the different path lengths of the signal to each antenna to calculate the angle of arrival (AoA) of the signal to determine the direction of the signal source.

[0046] 2.2: Distance estimation (RSSI ranging):

[0047]

[0048] In formula (1), d is the distance between the beacon and the receiving device; TxPower is the transmit power of the beacon; RSSI is the received signal strength; n is the path loss index, which is usually 2 to 4 indoors.

[0049] Since broadcast signals will have multipath effects, the error of RSSI ranging results will increase. However, by introducing filtering (Kalman filtering and moving average) and dynamic path loss index adjustment, the short-term fluctuations caused by the path effect and the changes in the adjustment index n are reduced, thereby improving the distance estimation accuracy.

[0050] 2.3: Direction estimation: The antenna array in the AoA receiving device resolves the signal direction and substitutes the resulting phase difference Δφ into the following equation:

[0051]

[0052] In formula (2), θ: signal arrival angle; c: speed of light; f: signal frequency (2.4GHz); d: antenna spacing. The signal arrival angle (AoA) is calculated.

[0053] 2.4: Multipath effect compensation: Use the signal strength weight analysis method to give a higher weight to the direct path according to the RSSI value and the path strength difference, weaken the impact of the reflected path, and compare the RSSI values ​​of each angle direction at the same time, select the direction with the largest intensity as the main path, and finally use the AoA direction of the direct path to improve the accuracy of the path loss index in the RSSI ranging model. Including:

[0054] 2.4.1: Signal strength weight allocation: If the RSSI of the direct path is higher and the RSSI of the reflected path is lower, it is necessary to assign a weight W to each path. i , the calculation formula is as follows:

[0055]

[0056] In formula (3), W i : The weight of the i-th path; RSSI i : The signal strength of the i-th path (expressed as a linear value); N: The total number of paths.

[0057] The weight of the direct path Wdirect is the normalized weight corresponding to the direct path W i , and then the weight W of each path is modified in combination with the weight of AoA i To make a directional correction:

[0058]

[0059] In formula (4), θ i : the arrival angle of the i-th path; θ 源 : Theoretical direction of the signal source; σ: Directional sensitivity parameter; This effectively weakens the weight of the reflection path that deviates from the direction of the signal source.

[0060] 2.4.2: Optimize path loss index n:

[0061] Using the RSSI value of the direct path, dynamically adjust the path loss index n to make the ranging model more suitable for the current environment:

[0062] noptimization = f(direct path weight, reflected path weight) (5);

[0063] Dynamic correction is performed through the ratio of the RSSI of the direct path to the reflected path.

[0064] 2.4.3: Substitute the RSSI ranging formula: Substitute the optimized path loss index into the original formula, then:

[0065]

[0066] Regarding beacon interaction, further explanation is needed:

[0067] Beacon interaction: includes signal acquisition and data preprocessing.

[0068] In the alarm system, beacon interaction is used to achieve accurate positioning and efficient data transmission. Its core consists of two parts: signal acquisition and data preprocessing. The two work together to ensure the accuracy and real-time nature of signal data, providing reliable support for subsequent positioning and alarm processing.

[0069] Signal acquisition is the primary link of beacon interaction, which aims to efficiently and reliably obtain the data packets broadcast by beacons, which contain key information such as UUID, signal strength (RSSI), transmit power (TxPower) and timestamp. To achieve this function, devices (such as smartphones or embedded devices) capture the broadcast data of multiple beacons through periodic Bluetooth channel scanning technology. This method ensures the continuity of beacon data in dynamic environments and reduces data loss caused by signal interference or obstacles.

[0070] During the acquisition process, in order to cope with the fluctuations in signal strength caused by factors such as propagation distance and environmental interference, real-time signal monitoring technology is used. This technology can dynamically monitor changes in RSSI, identify abnormal signal fluctuations, and avoid missing key data by triggering corresponding adjustment strategies. In addition, the acquisition module uses a dynamic sampling frequency adjustment strategy to maintain a low sampling frequency in normal conditions to save device power consumption, and temporarily increase the sampling frequency to capture more data packets when a signal abnormality is detected (such as a sudden decrease in RSSI or signal interruption), thereby improving the reliability and integrity of the acquisition.

[0071] To further improve the acquisition accuracy, the system combines Bluetooth AoA (angle of arrival) technology to analyze the angle information of the beacon signal reaching the device to enhance the accuracy of positioning and direction perception. AoA technology is particularly suitable for scenarios that require precise positioning. Through high-precision signal angle analysis, it makes up for the shortcomings of relying solely on RSSI for distance estimation.

[0072] Through the organic combination of periodic channel scanning, real-time signal monitoring, dynamic sampling frequency adjustment and Bluetooth AoA technology, the signal acquisition module can achieve efficient and accurate data acquisition in complex environments, laying a solid foundation for subsequent positioning and interaction.

[0073] Data preprocessing is a key step in improving the reliability and efficiency of beacon interaction. By filtering and optimizing the collected raw beacon data, the signal quality can be improved and the subsequent processing process can be simplified. Among them, the first task is to reduce the impact of RSSI on multipath effects and environmental interference through denoising technology. Use sliding average and Kalman filtering algorithms to smooth signal fluctuations and improve the stability and accuracy of RSSI data.

[0074] In a multi-beacon environment, in order to avoid signal confusion and data redundancy, the pre-processing module uses signal screening and redundant data elimination technology to prioritize signals. For example, RSSI abnormal large fluctuations or unreasonable extreme values ​​are eliminated first, and duplicate or invalid data packets are eliminated, thereby reducing the pressure of storage and transmission and ensuring efficient use of system resources.

[0075] In order to eliminate the impact of different beacon hardware characteristics and transmission power differences on RSSI values, the preprocessing module introduces signal standardization and correction technology. Using the beacon's TxPower information and environmental calibration model, the RSSI value is accurately corrected so that it uniformly refers to the same signal strength standard, thereby truly reflecting the distance relationship between the beacon and the device.

[0076] The data preprocessing module can optimize the original signal into high-quality location information through the organic combination of denoising algorithm, signal screening and redundancy elimination, and signal correction and standardization technology. Signal acquisition provides a complete data foundation, while data preprocessing provides reliable input for positioning algorithms and alarm logic through precise signal optimization processes, ultimately significantly improving the stability and reliability of system performance.

[0077] The following further explanations are needed about the backend server:

[0078] Server architecture: The cloud server architecture design includes three parts: layered design, high availability design, and real-time support.

[0079] The layered design includes three layers: data access layer, business processing layer, and data storage layer. The data access layer is the entrance to the entire architecture, receiving alarm information from various devices (such as first mobile devices, computer devices, physical buttons) and clients (such as APP). These data are uniformly accessed through technologies such as API gateways and message queues, providing a smooth data transmission channel for subsequent processing and storage. The use of message queues (such as Kafka and RabbitMQ) in this layer ensures that the system can efficiently and stably receive data from different devices and alleviate the pressure caused by high concurrent requests. The business processing layer is responsible for analyzing and making decisions on the received alarm data, such as calculating the severity of the alarm, judging the alarm status, etc. The modular design of this layer aims to facilitate the expansion and maintenance of the system.

[0080] The data storage layer is used to ensure that the system can efficiently store and query a large amount of alarm data and device information under high concurrency. Distributed databases (such as MySQL, Cassandra) and object storage technologies are used to improve storage efficiency and system performance. At the same time, the storage layer uses hot and cold data tiered storage technology to store frequently accessed data (hot data) on high-speed storage media, while cold data is moved to lower-cost storage media, saving storage costs and data access efficiency.

[0081] High availability design includes redundancy design, load balancing technology and service fault tolerance. Redundancy design deploys backup instances on multiple servers and data centers to ensure that once a node or service fails, the system can quickly switch to the backup node to continue running without affecting the stability of the overall service. Load balancing technology (such as Nginx, HAProxy) distributes traffic evenly to different servers during this process to avoid single point failures. Service fault tolerance design ensures that when a single service fails, it will not affect the normal operation of other modules, thereby achieving high availability of the system.

[0082] Real-time support mainly includes low-latency communication, message queues and priority processing, and real-time stream processing frameworks, mainly in the transmission and processing of alarm data. Low-latency communication protocols: MQTT and WebSocket are used to ensure efficient data transmission between different systems, ensuring that alarm information can be transmitted from the device to the server in a timely manner and quickly pushed to the user-side APP. Message queues use distributed message systems (such as Kafka) for high-concurrency writing and reading, and use partitioning mechanisms to share loads to improve the system's throughput. Combined with priority queue technology, high-priority alarm notifications can be processed immediately, and other low-priority tasks are postponed, ensuring smooth reception of large amounts of alarm data while ensuring real-time response to emergency tasks. Real-time data stream processing frameworks (Apache Kafka, Apache Flink) use Kafka to transmit alarm data to the processing framework in real time, providing high-throughput, low-latency data stream input capabilities, and then use Flink to perform pattern matching and real-time filtering operations through memory computing and data stream analysis to achieve rapid analysis, thereby realizing real-time analysis and judgment of alarm data, being able to quickly identify anomalies and trigger corresponding subsequent responses.

[0083] Data processing: includes three parts: algorithm model, multi-path compensation and data cleaning and optimization.

[0084] The algorithm model uses signal strength analysis (RSSI model) combined with positioning algorithm (three-sided positioning method) to achieve accurate positioning of the device.

[0085] The multipath compensation technology is closely matched with the algorithm model. In complex environments, data propagation is usually affected by multiple factors. Multipath compensation technology analyzes the different propagation paths of the signal and corrects them, such as using the above-mentioned data attenuation model to correct the signal distortion caused by the multipath effect. At the same time, it combines the dynamic filtering algorithm (Kalman filtering) to make real-time corrections to noise and interference, and extracts stable signal paths, which can significantly improve signal quality, thereby improving positioning accuracy and data accuracy.

[0086] Data cleaning and optimization are used to ensure data quality. UUID, TxPower, RSSI and timestamp are mainly cleaned, and statistical methods (standard deviation method, interquartile range method) are used to identify and remove outliers (abnormal large fluctuations in RSSI or unreasonable extreme values; discontinuous, incorrect or repeated timestamps of beacon data; TxPower values ​​exceed the transmission power range of device specifications; UUID is empty, formatted incorrectly, repeated or does not match the registered device list). After removing outliers, the RSSI signal is smoothed using mean filtering to reduce the impact of data fluctuations on positioning or alarms, followed by deduplication and completion to remove duplicate UUID and RSSI values, and interpolation algorithms (such as linear interpolation) are used to complete missing timestamp data to ensure data continuity and integrity.

[0087] The following further explanations are required about the APP in the first mobile device:

[0088] APP architecture design: including front-end user interface, background task management, and local storage.

[0089] There are two types of APPs in this solution, APP1 is used by medical staff to report an alarm, and APP2 is used by security personnel to receive an alarm.

[0090] The APP1 front-end user interface (UI) is designed with a one-touch alarm button. When the alarm button is clicked, the alarm success information is pushed. The APP2 user interface will push the alarm information after receiving the alarm information, and the broadcast can be stopped by pressing the stop broadcast button. In order to improve the dynamics and efficiency of the interface, the front-end and the server maintain real-time data synchronization through a lightweight communication protocol (WebSocket), and adopt a long connection mechanism based on WebSocket to achieve millisecond-level information push, providing users with near real-time response.

[0091] Background task management is the core part to ensure that the APP can run stably and handle complex tasks efficiently. The background task management of the alarm system APP usually includes functions such as device status monitoring, alarm data reception and upload, and network exception handling. When the network signal is poor or the connection is interrupted, the background task management module can cache unsent data (such as alarm logs or user feedback) and automatically re-upload it when the network is restored to ensure that the data is not lost. In addition, background task management also supports scheduled tasks, such as periodically synchronizing alarm rules or key updates with the server to maintain consistency between the system and the cloud.

[0092] Local storage is used to ensure that the system can still provide basic functions when offline. Alarm data, user settings, device information, and some alarm rules can be stored locally, allowing users to query historical records or manage device status when offline. Therefore, the APP as a whole uses a lightweight local database (SQLite or Room) to manage structured data, and combines key-value storage (SharedPreferences or UserDefaults) to save simple configuration information. At the same time, sensitive data (such as alarm logs and keys) are stored with AES encryption to ensure information security.

[0093] In this embodiment, the alarm process using this one-button alarm system is as follows:

[0094] Bluetooth 5.0 beacons broadcast signals periodically, and the receiving device (the first mobile device in the transmitting end, in this embodiment, a mobile phone) calculates the precise location of the target device (the nearest Bluetooth beacon) through a multipath compensation positioning model combining RSSI and AoA. When the device captures the beacon message and activates the one-touch alarm button of APP1, the positioning information and pre-edited alarm information will be uploaded to the backend server to initiate an alarm.

[0095] After starting the one-key alarm on the mobile phone APP1, the system immediately builds an alarm data packet, which includes: the specific location coordinates and timestamp of the target device, i.e., positioning information, as well as the alarm type and signal data, such as SOS, RSSI, and AoA data. The alarm data will be encrypted and transmitted to the server via the wireless network, and recorded in the database for subsequent analysis, tracking, and management.

[0096] After receiving the alarm information, the back-end server pushes the information to different receiving terminals according to predefined rules (alarm level or type), namely the alarm receiving system of the on-site guard of the security department and APP2 in the security personnel’s mobile phone, to ensure a quick response. At the same time, the alarm information and processing status (such as whether it has been responded to, processing time, etc.) are stored in the alarm record file.

[0097] Specifically include the following:

[0098] 3.1: Data upload: Data upload here refers to data upload through mobile phone APP1. Data is uploaded to the server through RESTful API, and a queue mechanism (such as WorkManager) is used to ensure that the upload is retried when the network is interrupted. AES is used to encrypt local data and transmit it through HTTPS to protect data privacy, and a signature authentication mechanism is introduced to ensure the authenticity of the data source.

[0099] 3.2: Alarm processing:

[0100] 3.2.1: Alarm data reception:

[0101] After receiving the positioning information of the Bluetooth beacon, the mobile phone APP1 calculates the current location of the device (the nearest Bluetooth beacon deployment location) through the AoA positioning algorithm based on parameters such as UUID, TxPower, and RSSI. This is one of the basic functions of the alarm system, ensuring that the alarm data can accurately match the user's actual location information. When the user triggers the alarm through the one-touch alarm button on the APP, the system obtains the user-defined alarm type and additional message, and integrates the relevant positioning information into the alarm data to construct a complete scene description for upload.

[0102] Subsequently, the data is assembled into JSON format and uploaded to the server via the MQTT protocol to ensure real-time and reliable data transmission. In response to network anomalies, a cache mechanism is used to temporarily store unsuccessfully uploaded data using queues or local databases (such as Room) to ensure that data will not be lost due to network problems and can be automatically re-uploaded after the network is restored to avoid repeated operations by users.

[0103] During the upload process, in order to improve data security, the system will generate an HMAC signature before sending the data and attach it to the request header. At the same time, the alarm data will be encrypted by AES to ensure that the data is protected from tampering and leakage during transmission. The encryption key is dynamically issued by the server to further enhance security. After the data is successfully uploaded, the server will immediately feedback the alarm reception confirmation information to the user to improve the user experience and convey a sense of trust.

[0104] In addition, if the server needs further confirmation after receiving the alarm (such as determining a suspected false alarm), it will send an interaction request to the client through the RESTful API, and the client can process these requests in a timely manner and interact with the user to ensure that the alarm information is accurate. Through the close connection of this series of technologies and processes, the alarm system has achieved comprehensive optimization in terms of real-time performance, security, reliability, and user experience, meeting the needs of efficient alarm processing.

[0105] 3.2.2: Data storage and recording:

[0106] In order to ensure the efficiency, security and traceability of alarm data storage and recording, the system design is centered on the technical collaboration of local storage and cloud storage, and a number of key technologies are used to achieve reliable management of the entire life cycle of alarm data. When a user triggers an alarm, the system immediately uses a local database (such as Room) to record the alarm data, including the alarm type, time, location information and other core content, to quickly save and ensure that the data will not be lost even in the event of network anomalies. Local storage not only provides immediate availability of data, but also supports users to quickly query historical records through index optimization.

[0107] After the network is restored, the system uploads the locally cached alarm data to the cloud based on the automatic synchronization mechanism to ensure that all data is centrally managed and archived. Cloud storage uses relational or distributed databases, combined with efficient indexing technology and encrypted storage strategies, which not only ensures high performance of data query and statistics, but also ensures the security of data in storage and transmission through encryption technologies such as AES and HMAC. In order to enhance data security and business continuity, the cloud system is also equipped with an off-site backup function, which achieves high reliability and disaster recovery capabilities through regular automatic backup.

[0108] 3.3: Alarm push:

[0109] Alarm push realizes efficient linkage between physical alarm equipment and user-side APP. The system ensures that alarm information can be transmitted in real time and accurately through multi-layer technical design. When the alarm receiving system receives the alarm information, it will directly trigger the on-site sound and light alarm or buzzer to sound an alarm, so as to quickly attract the attention of surrounding personnel and achieve the first-time on-site response.

[0110] After receiving the alarm data from the sender, the cloud server will push the information to the security personnel dedicated APP2, using the MQTT communication protocol for real-time transmission. The security personnel dedicated APP2 interface will then display the alarm information, clearly showing the alarm location and preset alarm content information, providing security personnel with intuitive and timely alarm feedback.

[0111] By leveraging the immediacy of physical alarm equipment and the information visualization function of the APP, and through the seamless coordination of hardware and software, the alarm response can not only cover the on-site scope, but also reach key users remotely, thus ensuring the comprehensiveness and timeliness of alarm information transmission.

[0112] The hospital's indoor one-button alarm system implements alarms including local alarm prompts, cloud alarm linkage, and intelligent interaction.

[0113] Local alarm prompts are the first line of defense of the alarm system. Its core task is to quickly feedback alarm information to users to achieve rapid response. After the alarm is triggered, the system activates multiple prompts through the local device (smartphone), including ringtones, vibration feedback, and screen notifications.

[0114] Cloud alarm linkage expands the coverage and functional depth of alarms, and links alarm events with remote users or other devices through cloud servers. After the alarm is triggered, the device will upload the data to the cloud through the MQTT or WebSocket protocol. The cloud server is responsible for further verification, analysis and forwarding of the alarm data. At the same time, according to the type and urgency of the alarm, the information is distributed to relevant users, management platforms or third-party systems (such as security departments). In cloud alarm linkage, real-time and high availability are the design focuses (that is, the high availability design of the cloud server architecture is utilized). In addition, in order to cope with network anomalies, the system has designed a retransmission mechanism to ensure the complete upload of alarm data.

[0115] Intelligent interaction improves the experience through multi-modal interaction (such as voice, touch, and text input). For example, users can query alarm details through the app or voice assistant, and even confirm or cancel suspected false alarms. The system continuously optimizes alarm rules based on user feedback to improve adaptability and intelligence. At the device level, IoT-based device linkage makes alarm response more comprehensive and is one of the main directions for subsequent upgrades.

[0116] Through the rapid response of local alarm prompts, the wide-area collaboration of cloud alarm linkage, and the personalized optimization of intelligent interaction, the alarm system has formed a complete and efficient closed-loop mechanism. It not only meets the requirements of real-time and reliability, but also further improves the security and user experience of the alarm system through intelligence and multi-device collaboration, so that it can play the best effect in various complex scenarios.

[0117] The embodiments of the present invention have the following technical effects:

[0118] First, simple deployment and low cost: Bluetooth beacon technology is used to achieve positioning and alarm, avoiding complex hardware deployment and reducing equipment and maintenance costs. Its low power consumption and modular design are suitable for large-scale application scenarios.

[0119] Second, the positioning signal is stable and not easily interfered with: the multi-path compensation model of Bluetooth 5.0+ signal is adopted, combined with RSSI (received signal strength indication) and AoA (angle of arrival) technology to improve positioning accuracy, and at the same time use dynamic adjustment and signal optimization technology to enhance anti-interference ability.

[0120] Third, mobile phone APP1 portable alarm, reduce false alarms: users can use APP1 to realize portable one-key alarm. The alarm information includes location information, timestamp, etc., and is transmitted through data encryption to ensure information security.

[0121] Fourth, protect user privacy: Positioning and alarming through non-video methods avoids privacy concerns caused by video surveillance. At the same time, the positioning and alarm data are encrypted to prevent information leakage.

[0122] Fifth, dynamic broadcast interval and energy-saving design: Bluetooth beacons use technology to dynamically adjust the broadcast interval: when the device is close to the beacon, the broadcast interval is shortened to improve the response speed; when the device is far away, the interval is extended to reduce power consumption. This dynamic adjustment mechanism optimizes the balance between power consumption and performance.

[0123] Sixth, multimodal interaction: The alarm system supports multimodal interaction, including touch operation, voice interaction and visual alarm information (such as trend charts and statistical charts), which improves user experience and system intelligence.

[0124] Seventh, dynamic collaboration mechanism between beacons and APPs: In the process of beacon broadcasting and APP capturing signals, interactivity is enhanced through Bluetooth AoA technology and dynamic adjustment strategies, especially by combining data cleaning and redundancy elimination to optimize signal processing.

[0125] Eighth, positioning accuracy improvement based on dynamic optimization of path loss index: Use dynamic adjustment of the path loss index combined with weight allocation to optimize the stability of the RSSI signal and positioning accuracy.

[0126] In summary, the present invention significantly improves the efficiency, reliability, privacy protection and user experience of indoor security systems through innovative technical solutions, overcomes the problems of high cost, unstable positioning, high false alarm rate and privacy leakage in the prior art, and provides a more comprehensive and intelligent security solution.

[0127] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A one-button alarm system for indoor use in a hospital, characterized in that: include: Bluetooth beacon, transmitter, backend server and receiver; The Bluetooth beacon is used to broadcast a signal, the signal includes a preset alarm information, and a plurality of the Bluetooth beacons are provided and distributed in various areas of the hospital; The transmitting end includes a first mobile device, the first mobile device is installed with alarm software, and is used to search for the broadcast signal of the Bluetooth beacon, obtain the location information and alarm information corresponding to the Bluetooth beacon, and send the data to the background server; The backend server receives the location information and alarm information from the sending end, performs analysis and processing, and uploads the processed information to the receiving end; The receiving end includes an audible and visual alarm device and a second mobile device, wherein the audible and visual alarm device includes an audible and visual alarm and a one-button alarm system, and the second mobile device is installed with corresponding alarm software for receiving and displaying alarm information from the background server.

2. The one-button alarm system for indoor use in a hospital according to claim 1, characterized in that: The Bluetooth beacon includes a function of dynamically adjusting a broadcast interval, and adjusting a broadcast frequency according to the proximity of the first mobile device.

3. The one-button alarm system for indoor use in a hospital according to claim 1, characterized in that: The signal broadcast by the Bluetooth beacon includes an identifier, beacon transmission power and alarm information. After receiving the signal of the Bluetooth beacon, the first mobile device measures the signal reception strength and calculates the relative distance to the Bluetooth beacon based on the signal attenuation model and AoA technology to achieve the positioning function.

4. The one-button alarm system for indoor use in a hospital according to claim 3, characterized in that: The positioning function adopts the multi-path compensation model of Bluetooth 5.0+.

5. The one-button alarm system for indoor use in a hospital according to claim 1, characterized in that: The alarm software includes a one-key alarm function, which constructs an alarm data packet containing location information and alarm information after startup, and transmits it to the background server through a wireless network with encryption.

6. The one-button alarm system for indoor use in a hospital according to claim 5, characterized in that: The first mobile device in the sending end uploads the alarm data packet to the background server through the RESTful API and MQTT protocol, encrypts the local data using AES and transmits it through HTTPS.

7. The one-button alarm system for indoor use in a hospital according to claim 1, characterized in that: The sending end also includes a computer device and a physical button, and the alarm information is sent through the computer device or the physical button.

8. The one-button alarm system for indoor use in a hospital according to claim 1, characterized in that: The backend server is composed of a database and a server. The architecture of the backend server includes a data access layer, a business processing layer and a data storage layer. The data access layer receives alarm data, the business processing layer analyzes and processes the received alarm data, and the data storage layer is used to store and query alarm data and device information.

9. The one-button alarm system for indoor use in a hospital according to claim 1, characterized in that: The one-button alarm system at the receiving end includes the functions of alarm information statistics, beacon deployment status feedback and security personnel receiving alarm information.

10. The one-button alarm system for indoor use in a hospital according to claim 1, characterized in that: The second mobile device in the receiving end receives the alarm information from the background server in real time through the MQTT communication protocol, and displays the alarm information on the alarm receiving software interface.