Mattress monitoring module fault analysis method and device, electronic equipment and medium
By obtaining and analyzing the reported data of the mattress, the problem of low efficiency of fault analysis of the air bag mattress monitoring module is solved, accurate and timely diagnosis of mattress faults is achieved, and the reliability and user experience of the mattress are improved.
Patent Information
- Application Number
- CN202410809245.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-10-22
AI Technical Summary
It is difficult to accurately analyze the faults of the air bag mattress monitoring module with the existing technology, resulting in low efficiency and the possibility of overlooking minor faults.
By obtaining the reported data of the mattress, including monitoring module data and mattress monitoring data, intercept the target log data from the device log data based on the first time point, count the number of exceptions and the ratio of the number of bed times, determine whether there is a monitoring module failure, and Perform data cleaning and risk flagging.
It achieves accurate and timely analysis of mattress monitoring module faults, improves the reliability and user experience of the mattress, and enables real-time monitoring and diagnosis of faults.
Smart Images

Figure CN118817352A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a mattress monitoring module fault analysis method, device, electronic equipment and medium. Background Art
[0002] As people's demand for comfortable sleep increases, airbag mattresses, as a new type of sleeping equipment, are becoming more and more popular. However, due to the complex internal structure of airbag mattresses and the long-term use of airbag mattresses, which are easily affected by the external environment and human factors, various faults often occur, such as airbag leakage, abnormal inflation, uneven pressure distribution, monitoring module failure, etc. At present, the fault analysis of the monitoring module of airbag mattresses mainly relies on manual inspection and user feedback, which is inefficient and easy to ignore some minor faults. Summary of the invention
[0003] The main purpose of the embodiments of the present invention is to provide a mattress monitoring module fault analysis method, device, electronic device and medium, in order to solve at least one problem of the prior art. The present invention can accurately perform mattress monitoring module fault analysis.
[0004] To achieve the above object, one aspect of an embodiment of the present invention provides a mattress monitoring module fault analysis method, the method comprising:
[0005] Obtain the reported data of the target mattress; the reported data includes monitoring module data and mattress monitoring data; the monitoring module data includes cardiopulmonary indicators, and the mattress monitoring data includes the first time point when the cardiopulmonary indicators are monitored and the device log data;
[0006] Based on the first time point, intercepting target log data from the device log data;
[0007] When there is no bed-going mark in the target log data, it is determined that the monitoring module of the target mattress is abnormal, and the monitoring module abnormality is reported;
[0008] All monitoring module anomalies reported within the first time range are counted to obtain the number of anomalies; the mattress monitoring data also includes the number of times of going to bed within the first time range;
[0009] When the ratio of the number of abnormalities to the number of times of going to bed is greater than a first threshold, it is determined that the target mattress has a monitoring module failure.
[0010] In some embodiments, the method further comprises the following steps:
[0011] Clean the acquired reported data;
[0012] Among them, data cleaning includes deduplication of data of the same event with the same timestamp and data classification of reported data based on data trigger type.
[0013] In some embodiments, the method further comprises the following steps:
[0014] When the monitoring module data carries a predefined fault value, report the abnormal processing fault of the monitoring module data.
[0015] In some embodiments, the mattress monitoring data also includes a second time range in which the cardiopulmonary index is monitored within the first time range; the method further includes the following steps:
[0016] Obtaining the time that the user has been in bed on the target mattress within the first time range;
[0017] When the time overlap rate between the second time range and the time in bed is greater than a second threshold, it is determined that the target mattress has a monitoring module failure.
[0018] In some embodiments, based on the first time point, intercepting target log data from device log data includes the following steps:
[0019] Based on the first time point, data within a third time range before the first time point is intercepted from the device log data as target log data.
[0020] In some embodiments, the method further comprises the following steps:
[0021] When the ratio of the number of abnormalities to the number of times of going to bed is less than or equal to the first threshold, the target mattress is marked as a risk by the monitoring module.
[0022] In some embodiments, the method further comprises the following steps:
[0023] Based on the risk mark of the monitoring module, obtaining the reporting duration of the monitoring module data within the first time range, and obtaining the in-bed time of the user on the target mattress within the first time range;
[0024] When the time overlap rate between the reporting duration and the time in bed is less than a third threshold, it is determined that the target mattress has a monitoring module failure.
[0025] To achieve the above object, another aspect of an embodiment of the present invention provides a mattress monitoring module fault analysis device, the device comprising:
[0026] The first module is used to obtain the reported data of the target mattress; the reported data includes the monitoring module data and the mattress monitoring data; the monitoring module data includes the cardiopulmonary index, and the mattress monitoring data includes the first time point when the cardiopulmonary index is monitored and the device log data;
[0027] The second module is used to intercept target log data from the device log data based on the first time point;
[0028] The third module is used to determine that the monitoring module of the target mattress is abnormal when there is no bed-going mark in the target log data, and report the abnormality of the monitoring module;
[0029] The fourth module is used to count all the abnormalities of the monitoring modules reported within the first time range to obtain the number of abnormalities; the mattress monitoring data also includes the number of times of going to bed within the first time range;
[0030] The fifth module is used to determine that the target mattress has a monitoring module failure when the ratio of the number of abnormalities to the number of times of going to bed is greater than a first threshold.
[0031] In some embodiments, the apparatus further comprises:
[0032] The sixth module is used to clean the acquired reported data;
[0033] Among them, data cleaning includes deduplication of data of the same event with the same timestamp and data classification of reported data based on data trigger type.
[0034] In some embodiments, the apparatus further comprises:
[0035] The seventh module is used to report abnormal processing failure of the monitoring module data when the monitoring module data has a pre-defined fault value.
[0036] In some embodiments, the mattress monitoring data also includes a second time range in which the cardiopulmonary index is monitored within the first time range; the device further includes:
[0037] An eighth module is used to obtain the time that the user has been on the target mattress within the first time range;
[0038] The ninth module is used to determine that the target mattress has a monitoring module failure when the time overlap rate between the second time range and the time in bed is greater than a second threshold.
[0039] In some embodiments, the apparatus further comprises:
[0040] The tenth module is used to mark the target mattress as a monitoring module risk when the ratio of the number of abnormalities to the number of times of going to bed is less than or equal to the first threshold.
[0041] An eleventh module is used to obtain the reporting duration of the monitoring module data within the first time range based on the risk mark of the monitoring module, and obtain the in-bed time of the user on the target mattress within the first time range;
[0042] The twelfth module is used to determine that the target mattress has a monitoring module failure when the time overlap rate between the reported duration and the time in bed is less than a third threshold.
[0043] To achieve the above objective, another aspect of an embodiment of the present invention provides an electronic device, the electronic device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the above method when executing the computer program.
[0044] To achieve the above objective, another aspect of an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above method is implemented.
[0045] The embodiments of the present invention include at least the following beneficial effects: the present invention provides a mattress monitoring module fault analysis method, device, electronic device and medium, the scheme obtains the reported data of the target mattress; the reported data includes monitoring module data and mattress monitoring data; the monitoring module data includes cardiopulmonary index, and the mattress monitoring data includes the first time point and device log data of monitoring the cardiopulmonary index; based on the first time point, the target log data is intercepted from the device log data; when there is no bed mark in the target log data, it is determined that the monitoring module of the target mattress is abnormal, and the monitoring module abnormality is reported; all monitoring module abnormalities reported within the first time range are counted to obtain the number of abnormalities; the mattress monitoring data also includes the number of bed times within the first time range; when the ratio of the number of abnormalities to the number of bed times is greater than the first threshold, it is determined that the target mattress is a monitoring module fault. The embodiments of the present invention are used to accurately and timely analyze the fault of the mattress to improve the reliability and user experience of the mattress, and the embodiments of the present invention can realize real-time monitoring and fault diagnosis of the operating status of the mattress monitoring module. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 It is a flowchart of a mattress monitoring module fault analysis method provided by an embodiment of the present invention;
[0047] Figure 2 is a schematic diagram of a business monitoring platform system architecture provided by an embodiment of the present invention;
[0048] Figure 3 It is a schematic diagram of the process principle of data collection provided by an embodiment of the present invention;
[0049] Figure 4 is a schematic diagram of a first example of a display module display interface provided by an embodiment of the present invention;
[0050] Figure 5 is a schematic diagram of a second example of a display module display interface provided by an embodiment of the present invention;
[0051] Figure 6 is a schematic diagram of a third example of a display module display interface provided by an embodiment of the present invention;
[0052] Figure 7is a schematic diagram of the overall application process of the mattress monitoring module fault analysis method provided by an embodiment of the present invention;
[0053] Figure 8 It is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present invention. They are only examples of devices and methods consistent with some aspects of the embodiments of the present invention as detailed in the attached claims.
[0055] It is understood that the terms "first", "second", etc. used in the present invention may be used herein to describe various concepts, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of the embodiments of the present invention, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0056] The terms "at least one", "multiple", "each", "any", etc. used in the present invention, at least one includes one, two or more, multiple includes two or more, each refers to each of the corresponding multiple, and any refers to any one of the multiple.
[0057] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein are only for the purpose of describing the embodiments of the present invention and are not intended to limit the present invention.
[0058] The mattress monitoring module fault analysis method provided in the embodiment of the present invention relates to the field of data processing technology. The mattress monitoring module fault analysis method provided in the embodiment of the present invention can be applied to a terminal, can also be applied to a server, and can also be software running in a terminal or a server. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and a car terminal, etc., but is not limited to this; the server side can be configured as an independent physical server, or a server cluster or distributed system composed of multiple physical servers, and can also be configured as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can also be a node server in a blockchain network; the software can be an application that implements the mattress monitoring module fault analysis method, etc., but is not limited to the above forms.
[0059] The present invention can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present invention can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present invention can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0060] Figure 1 is an optional flow chart of a mattress monitoring module fault analysis method provided by an embodiment of the present invention. Figure 1 The method may include but is not limited to steps S100 to S500.
[0061] S100, obtaining reported data of a target mattress;
[0062] The reported data includes monitoring module data and mattress monitoring data; the monitoring module data includes cardiopulmonary indicators, and the mattress monitoring data includes the first time point when the cardiopulmonary indicators are monitored and the device log data; the cardiopulmonary indicators include heart rate and respiratory rate;
[0063] Specifically, all data information cited in the embodiments of the present invention is obtained with the authorization of the user.
[0064] The monitoring module may be a monitoring belt, a sensor, etc., for acquiring monitoring module data.
[0065] In some embodiments, the method may further include the following steps: performing data cleaning on the acquired reported data; wherein the data cleaning includes deduplication of data of the same event with the same timestamp and data classification of the reported data based on the data trigger type.
[0066] For example, in some specific implementations, the following may be used: Figure 2 The business monitoring platform system architecture shown in the figure realizes data collection and collation. The specific implementation scheme is as follows:
[0067] Data collection plan:
[0068] The smart mattress device can communicate with the cloud through the WIFI module. The smart mattress device uploads the built-in shoulder, back, waist, hip, thigh, calf air pressure sensor data and sleep monitoring sensor data to the cloud in real time. It has built-in recognition algorithms for going into bed, leaving bed, and turning over (for example, the monitoring of going into bed and leaving bed can be achieved by monitoring the values of the sensor data arranged in the mattress, and the monitoring of turning over can be achieved by the changes in the values of the sensor data of the sensors in various parts of the mattress. For example, the pressure sensor value on the left side becomes smaller, and the pressure sensor value on the right side becomes larger, which is determined as turning over to the right. The implementation logic of the specific action monitoring and recognition algorithm does not fall within the protection scope of the embodiments of the present invention and will not be repeated). The current out-of-bed state of the smart mattress is also reported to the cloud in real time, and the device's inflation and deflation instructions, mode setting information and other operation logs are also uploaded to the cloud in real time. The cloud will clean the collected data and store the data in a database. The specific data collection process is as follows: Figure 3 As shown in the figure, relevant data is collected from the mattress device, uploaded to emqx (mqtt message server) through mqtt (MQTT, Message Queuing TelemetryTransport), and then transmitted to the background protocol tracking point (at the same time, the tracking point data can be processed accordingly through the preset collection configuration), and then transmitted to the indicator database through mq (message queue) and kafka (distributed publish-subscribe message system).
[0069] Among them, data cleaning can be achieved through the following steps:
[0070] 1. Data filtering, deduplication of the same event reported with the same timestamp;
[0071] 2. Classify the data (device active trigger type, user operation trigger type, algorithm trigger type);
[0072] 3. Standardize and store the classified data. For the device event trigger type, it is necessary to extract the data indicators of the trigger event conditions, trigger specific events, and trigger event data parameters and store them in the corresponding indicator database.
[0073] The purpose of data cleaning is: the main purpose is to ensure the accuracy of the collected data, classify the collected data, and then split and analyze different types of data, divide the analyzed data into various indicator parameters and store them in the indicator database, so that multiple indicator items in the indicator database can be used for logical configuration to realize cross-type data indicator combination to analyze the corresponding problem points.
[0074] Real-time data display of equipment:
[0075] The device reports the device operation data to the cloud in real time through the WIFI module. The cloud analyzes and cleans the data through the data protocol and divides it into the following modules for data display:
[0076] Device basic information module (device offline recording module): displays the basic configuration information of the device (device number, device setting mode, device adjustment method, etc.). These data users view the device settings on the APP side and perform data analysis based on the settings.
[0077] Equipment operation record module: Statistics display all data of equipment execution (including adjustments triggered by equipment initiative, adjustments triggered by algorithms, adjustments triggered by APP control, equipment offline data, etc.). Based on this data, equipment operation records can be made throughout its life cycle, which is used to analyze the original operation data input of the data. Among them, the server-side tracking point stores events in the database through event triggering, the APP tracking point reports the tracking point events to the server through HTTPS for data storage, and the device-side tracking point reports the events to the server through MQTT for event data storage. All the above tracking point events are uniformly collected and stored to realize the display of equipment operation data as much as possible.
[0078] Device event statistics module: counts the number of manual adjustments, intelligent adjustments, going to bed, getting out of bed, and offline times of the device in a day.
[0079] Heart rate and respiratory rate status module: Displays the data reported by the monitoring module in real time in a chart. The chart also displays the bed leaving sign. Users can analyze and compare the heart rate, respiratory rate and bed leaving sign.
[0080] Air pressure data display module: Displays the real-time reported data of the airbag pressure value in the form of charts. At the same time, the charts also add bed leaving signs and device triggering events, and analyze and compare the air pressure fluctuations of the user in the same time period with the actual device triggering events.
[0081] Among them, several examples of display modules are as follows Figure 4 , Figure 5 and Figure 6 As shown, the data display module can intuitively show the equipment operation status. Based on the analysis of the above operation data, we can detect equipment operation failures through the fault detection mechanism. Furthermore, through the method flow of the embodiment of the present invention, the equipment reporting log, air pressure data, bed leaving mark output by the algorithm, and monitoring module data can be analyzed to diagnose whether the monitoring module is abnormal.
[0082] In some embodiments, the method further includes the following steps: when the monitoring module data carries a predefined fault value, reporting an abnormal processing fault of the monitoring module data.
[0083] Exemplarily, in some specific implementations, when a large amount of missing data or abnormal data fluctuation occurs in the data reported by the monitoring module (i.e., the monitoring module data), the monitoring module data can be assigned a predefined fault value (e.g., 255). Then, in the subsequent process, if the value of the monitoring module data is detected to be 255, the data processing of the diagnostic device is abnormal, and the relevant data is stored.
[0084] S200, based on the first time point, intercepting target log data from device log data;
[0085] It should be noted that, in some embodiments, step S200 may include: based on the first time point, intercepting data within a third time range before the first time point from the device log data as target log data.
[0086] Exemplarily, in some specific implementations, the time point (i.e., the first time point) when the reported heart rate and respiratory rate reported data are greater than 0 is obtained, and then the reported device log data 5 minutes before this time point (i.e., the third time range, the specific range value can be adjusted according to actual needs) is intercepted as the target log data.
[0087] S300: When there is no bed-going mark in the target log data, it is determined that the monitoring module of the target mattress is abnormal, and the monitoring module abnormality is reported;
[0088] S400, counting all monitoring module anomalies reported within the first time range to obtain the number of anomalies;
[0089] Among them, mattress monitoring data also includes the number of times you go to bed within the first time range;
[0090] S500: When the ratio of the number of abnormalities to the number of times of going to bed is greater than a first threshold, it is determined that the target mattress has a monitoring module failure;
[0091] Exemplarily, in some specific embodiments, based on the anomaly reported by the monitoring module data, the anomaly points are counted, and when the ratio of the number of such anomalies to the previous number within one day (i.e., the first time range, the specific range value can be adjusted according to actual needs) is greater than 20% (i.e., the first threshold, the specific value can be adjusted according to actual needs), the monitoring module is diagnosed to have a fault.
[0092] Among them, in some embodiments, the method may also include the following steps: when the ratio of the number of abnormalities to the number of times of going to bed is less than or equal to a first threshold, the target mattress is marked as a risk of the monitoring module.
[0093] In some embodiments, the method may further include the following steps: based on the risk mark of the monitoring module, obtaining the reporting duration of the monitoring module data within the first time range, and obtaining the in-bed time of the user on the target mattress within the first time range; when the time overlap rate between the reporting duration and the in-bed time is less than a third threshold, determining that the target mattress has a monitoring module failure.
[0094] Exemplarily, in some specific embodiments, when the ratio of the number of such abnormalities to the previous number within one day (i.e., the first time range, the specific range value can be adjusted according to actual needs) is not greater than 20% (i.e., the first threshold value, the specific value can be adjusted according to actual needs), the monitoring module is listed as a risk factor (i.e., the monitoring module risk is marked), and then the monitoring module data (in this embodiment, the monitoring belt data) for the whole day (i.e., the first time range, the specific range value can be adjusted according to actual needs) is judged, and the overlap rate of the monitoring module data reporting duration and the duration from going to bed to getting out of bed (i.e., the time in bed) is analyzed to see whether it is less than 70% (i.e., the third threshold value, the specific value can be adjusted according to actual needs). If it is less than 70%, a monitoring module failure is diagnosed.
[0095] In some embodiments, the mattress monitoring data also includes a second time range in which cardiopulmonary indicators are monitored within the first time range; the method may also include the following steps: obtaining the time when the user is in bed on the target mattress within the first time range; when the time overlap rate between the second time range and the time when the user is in bed is greater than a second threshold, determining that the target mattress has a monitoring module failure.
[0096] Exemplarily, in some specific implementations, statistics are collected on monitoring module data for the entire day to determine whether the overlap rate between the time spent in bed and the time when the reported heart rate and respiratory rate data are greater than 0 is greater than 70% (i.e., the second threshold value, the specific value can be adjusted according to actual needs). If it is not greater than 70%, a monitoring module failure is diagnosed.
[0097] In order to explain the principle of the technical solution of the present invention in detail, the overall process of the present invention is described below in combination with some specific embodiments. It is easy to understand that the following is an explanation of the technical principle of the present invention and cannot be regarded as a limitation of the present invention.
[0098] First of all, it should be noted that the present invention aims to provide a reliable method and system for accurately and timely analyzing the failure of the airbag mattress to improve the reliability of the mattress and the user experience. The embodiment of the present invention can realize real-time monitoring and fault diagnosis of the operating status of the airbag mattress monitoring module by combining pressure sensing technology, data analysis and user feedback, and provide users with corresponding repair suggestions. The entire business monitoring platform system architecture is as follows: Figure 2 As shown, the specific implementation scheme is as follows:
[0099] Data collection plan:
[0100] The smart mattress device can communicate with the cloud through the WIFI module. The smart mattress device uploads the built-in shoulder, back, waist, hip, thigh, calf air pressure sensor data and sleep monitoring sensor data to the cloud in real time. It has built-in recognition algorithms for going into bed, leaving bed, and turning over (for example, the monitoring of going into bed and leaving bed can be achieved by monitoring the values of the sensor data arranged in the mattress, and the monitoring of turning over can be achieved by the changes in the values of the sensor data of the sensors in various parts of the mattress. For example, the pressure sensor value on the left side becomes smaller, and the pressure sensor value on the right side becomes larger, which is determined as turning over to the right. The implementation logic of the specific action monitoring and recognition algorithm does not fall within the protection scope of the embodiments of the present invention and will not be repeated). The current out-of-bed state of the smart mattress is also reported to the cloud in real time, and the device's inflation and deflation instructions, mode setting information and other operation logs are also uploaded to the cloud in real time. The cloud will clean the collected data and store the data in a database. The specific data collection process is as follows: Figure 3 As shown in the figure, relevant data is collected from the mattress device, uploaded to emqx (mqtt message server) through mqtt (MQTT, Message Queuing TelemetryTransport), and then transmitted to the background protocol tracking point (at the same time, the tracking point data can be processed accordingly through the preset collection configuration), and then transmitted to the indicator database through mq (message queue) and kafka (distributed publish-subscribe message system).
[0101] Real-time data display of equipment:
[0102] The device reports the device operation data to the cloud in real time through the WIFI module. The cloud analyzes and cleans the data through the data protocol and divides it into the following modules for data display:
[0103] Device basic information module (device offline recording module): displays the basic configuration information of the device (device number, device setting mode, device adjustment method, etc.). These data users view the device settings on the APP side and perform data analysis based on the settings.
[0104] Equipment operation record module: Statistics display all data of equipment execution (including adjustments triggered by equipment initiative, adjustments triggered by algorithms, adjustments triggered by APP control, equipment offline data, etc.). Based on this data, equipment operation records can be made throughout its life cycle, which is used to analyze the original operation data input of the data. Among them, the server-side tracking point stores events in the database through event triggering, the APP tracking point reports the tracking point events to the server through HTTPS for data storage, and the device-side tracking point reports the events to the server through MQTT for event data storage. All the above tracking point events are uniformly collected and stored to realize the display of equipment operation data as much as possible.
[0105] Device event statistics module: counts the number of manual adjustments, intelligent adjustments, going to bed, getting out of bed, and offline times of the device in a day.
[0106] Heart rate and respiratory rate status module: Displays the data reported by the monitoring module in real time in a chart. The chart also displays the bed leaving sign. Users can analyze and compare the heart rate, respiratory rate and bed leaving sign.
[0107] Air pressure data display module: Displays the real-time reported data of the airbag pressure value in the form of charts. At the same time, the charts also add bed leaving signs and device triggering events, and analyze and compare the air pressure fluctuations of the user in the same time period with the actual device triggering events.
[0108] Among them, several examples of display modules are as follows Figure 4 , Figure 5 and Figure 6 As shown, the data display module can intuitively show the equipment operation status. Based on the analysis of the above operation data, we can detect equipment operation failures through the fault detection mechanism. In this embodiment, the monitoring module is a monitoring belt, and the monitoring module data is monitoring belt data.
[0109] Monitoring module fault detection process:
[0110] The method flow of the embodiment of the present invention can be used to analyze the device report log, air pressure data, bed leaving mark output by the algorithm, and monitoring module data to diagnose whether the monitoring module is abnormal. The specific diagnosis judgment logic is as follows: Figure 7 As shown:
[0111] First, obtain the heart rate and respiratory rate data (monitoring module data) reported in real time by the mattress device;
[0112] When a large amount of data reported by the monitoring module (i.e., monitoring module data) is missing or the data fluctuation range is abnormal, the monitoring module data can be assigned a pre-defined fault value (e.g., 255). Then, in the subsequent process, if the value of the monitoring module data is detected to be 255, the device data processing abnormality is diagnosed and the relevant data is stored; when the value of the monitoring module data is not 255, the device reports the real-time monitoring data;
[0113] Then, the time point when the reported heart rate and respiratory rate data are greater than 0 is obtained, and then it is determined whether there is a bed-going mark data in the device log data reported 5 minutes before the time point. If not, it is determined that the monitoring module data corresponding to the time point is normal; otherwise, based on the abnormality reported by the monitoring module data, the abnormal points are counted;
[0114] When the ratio of the number of such abnormalities in one day to the previous number is greater than 20%, the monitoring module is diagnosed as faulty; otherwise, the monitoring module is listed as a risk factor, and then the monitoring module data for the whole day is judged, and the overlap rate between the duration of monitoring module data reporting and the duration from going to bed to getting out of bed is analyzed to see whether it is less than 70%. If it is less than 70%, the monitoring module is diagnosed as faulty.
[0115] The monitoring module data for the whole day can also be counted to determine whether the overlap rate between the time in bed and the time when the reported heart rate and respiratory rate data are greater than 0 is greater than 70%. If it is not greater than 70%, the monitoring module failure is diagnosed.
[0116] In summary, the present invention relates to the relevant content of the fault analysis of the airbag mattress monitoring module, and aims to provide a reliable method and system for accurately and timely analyzing the faults of the airbag mattress to improve the reliability of the mattress and the user experience. The present invention combines multiple means such as pressure sensing technology, data analysis and user feedback, which can quickly discover and locate the faults of the airbag mattress, and provide corresponding repair suggestions, thereby extending the service life of the mattress, reducing maintenance costs, and improving user satisfaction. Compared with the prior art, the present invention includes at least the following beneficial effects:
[0117] The device data can be visualized for real-time monitoring of the device's operation status. At the same time, the faults of the monitoring modules can be diagnosed based on the visualized raw data. The system can remotely diagnose specific problems for the pre-sales support team and the after-sales team, and provide data support and reference for solution data. At the same time, it can realize active inspection of the device's monitoring module faults around the clock, thus improving the efficiency of back-end management personnel.
[0118] On the other hand, an embodiment of the present invention further provides a mattress monitoring module fault analysis device, which can implement the above mattress monitoring module fault analysis method, and the device includes:
[0119] The first module is used to obtain the reported data of the target mattress; the reported data includes the monitoring module data and the mattress monitoring data; the monitoring module data includes the cardiopulmonary index, and the mattress monitoring data includes the first time point when the cardiopulmonary index is monitored and the device log data;
[0120] The second module is used to intercept target log data from the device log data based on the first time point;
[0121] The third module is used to determine that the monitoring module of the target mattress is abnormal when there is no bed-going mark in the target log data, and report the abnormality of the monitoring module;
[0122] The fourth module is used to count all the abnormalities of the monitoring modules reported within the first time range to obtain the number of abnormalities; the mattress monitoring data also includes the number of times of going to bed within the first time range;
[0123] The fifth module is used to determine that the target mattress has a monitoring module failure when the ratio of the number of abnormalities to the number of times of going to bed is greater than a first threshold.
[0124] In some embodiments, the apparatus may further include:
[0125] The sixth module is used to clean the acquired reported data;
[0126] Among them, data cleaning includes deduplication of data of the same event with the same timestamp and data classification of reported data based on data trigger type.
[0127] In some embodiments, the apparatus may further include:
[0128] The seventh module is used to report abnormal processing failure of the monitoring module data when the monitoring module data has a pre-defined fault value.
[0129] In some embodiments, the mattress monitoring data also includes a second time range in which the cardiopulmonary index is monitored within the first time range; the device may also include:
[0130] An eighth module is used to obtain the time that the user has been on the target mattress within the first time range;
[0131] The ninth module is used to determine that the target mattress has a monitoring module failure when the time overlap rate between the second time range and the time in bed is greater than a second threshold.
[0132] In some embodiments, the apparatus may further include:
[0133] The tenth module is used to mark the target mattress as a monitoring module risk when the ratio of the number of abnormalities to the number of times of going to bed is less than or equal to the first threshold.
[0134] In some embodiments, the apparatus may further include:
[0135] An eleventh module is used to obtain the reporting duration of the monitoring module data within the first time range based on the risk mark of the monitoring module, and obtain the in-bed time of the user on the target mattress within the first time range;
[0136] The twelfth module is used to determine that the target mattress has a monitoring module failure when the time overlap rate between the reported duration and the time in bed is less than a third threshold.
[0137] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0138] The embodiment of the present invention also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned mattress monitoring module fault analysis method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.
[0139] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0140] See also Figure 8 , Figure 8 The hardware structure of an electronic device 1000 of another embodiment is illustrated. The electronic device includes:
[0141] The processor 1001 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present invention;
[0142] The memory 1002 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1002 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 1002, and the processor 1001 calls and executes the mattress monitoring module fault analysis method of the embodiment of the present invention;
[0143] Input / output interface 1003, used to implement information input and output;
[0144] The communication interface 1004 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);
[0145] A bus 1005 , which transmits information between various components of the device (e.g., the processor 1001 , the memory 1002 , the input / output interface 1003 , and the communication interface 1004 );
[0146] The processor 1001 , the memory 1002 , the input / output interface 1003 and the communication interface 1004 are connected to each other in communication within the device via the bus 1005 .
[0147] An 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 mattress monitoring module fault analysis method is implemented.
[0148] It can be understood that the contents of the above method embodiments are all applicable to the present storage medium embodiments, the functions specifically implemented by the present storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0149] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed 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.
[0150] The mattress monitoring module fault analysis method, mattress monitoring module fault analysis device, electronic device and medium provided by the embodiment of the present invention obtain the reported data of the target mattress; the reported data includes monitoring module data and mattress monitoring data; the monitoring module data includes cardiopulmonary index, and the mattress monitoring data includes the first time point and device log data of monitoring the cardiopulmonary index; based on the first time point, the target log data is intercepted from the device log data; when there is no bed mark in the target log data, it is determined that the monitoring module of the target mattress is abnormal, and the monitoring module abnormality is reported; all monitoring module abnormalities reported within the first time range are counted to obtain the number of abnormalities; the mattress monitoring data also includes the number of bed times within the first time range; when the ratio of the number of abnormalities to the number of bed times is greater than the first threshold, it is determined that the target mattress is a monitoring module fault. The embodiment of the present invention is used to accurately and timely analyze the fault of the mattress to improve the reliability and user experience of the mattress, and the embodiment of the present invention can realize real-time monitoring and fault diagnosis of the operating status of the mattress monitoring module.
[0151] The embodiments described in the embodiments of the present invention are intended to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided by the embodiments of the present invention. Those skilled in the art can appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of the present invention are also applicable to similar technical problems.
[0152] Those skilled in the art will appreciate that the technical solutions shown in the figures do not limit the embodiments of the present invention and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0153] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0154] Those skilled in the art will appreciate that all or some of the steps, devices, and functional modules / units in the above disclosed methods may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0155] The terms "first", "second", "third", "fourth", etc. (if any) in the description of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, device, product or equipment that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0156] It should be understood that in the present invention, "at least one (item)" refers to one or more, and "plurality" refers to two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can represent: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0157] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0158] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0159] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0160] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including multiple instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store programs.
[0161] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the embodiments of the present invention is not limited thereby. Any modification, equivalent substitution and improvement made by those skilled in the art without departing from the scope and essence of the embodiments of the present invention shall be within the scope of the rights of the embodiments of the present invention.
Claims
1. A mattress monitoring module fault analysis method, characterized in that: The method comprises the following steps: Acquire reported data of the target mattress; the reported data includes monitoring module data and mattress monitoring data; the monitoring module data includes cardiopulmonary indicators, and the mattress monitoring data includes the first time point when the cardiopulmonary indicators are monitored and device log data; Based on the first time point, intercepting target log data from the device log data; When there is no bed-going mark in the target log data, it is determined that the monitoring module of the target mattress is abnormal, and the abnormality of the monitoring module is reported; Counting all the monitoring module anomalies reported within the first time range to obtain the number of anomalies; the mattress monitoring data also includes the number of times of going to bed within the first time range; When the ratio of the number of abnormalities to the number of times of going to bed is greater than a first threshold, it is determined that the target mattress has a monitoring module failure.
2. The method according to claim 1, characterized in that The method further comprises the following steps: Performing data cleaning on the acquired reported data; The data cleaning includes deduplication of data of the same event with the same timestamp and data classification of the reported data based on data trigger type.
3. The method according to claim 1, characterized in that The method further comprises the following steps: When the monitoring module data has a predefined fault value, an abnormal processing fault of the monitoring module data is reported.
4. The method according to claim 1, characterized in that: The mattress monitoring data also includes a second time range in which the cardiopulmonary index is monitored within the first time range; the method further includes the following steps: Acquire the time that the user has been on the target mattress within the first time range; When the time overlap rate between the second time range and the in-bed time is greater than a second threshold, it is determined that the target mattress has a monitoring module failure.
5. The method according to claim 1, characterized in that The step of intercepting target log data from the device log data based on the first time point includes the following steps: Based on the first time point, data within a third time range before the first time point is intercepted from the device log data as the target log data.
6. The method according to claim 1, characterized in that The method further comprises the following steps: When the ratio of the number of abnormalities to the number of times of going to bed is less than or equal to the first threshold, the target mattress is marked as a risk by the monitoring module.
7. The method according to claim 6, characterized in that The method further comprises the following steps: Based on the risk mark of the monitoring module, obtaining the reporting duration of the monitoring module data within the first time range, and obtaining the in-bed time of the user on the target mattress within the first time range; When the time overlap ratio between the reporting duration and the in-bed time is less than a third threshold, it is determined that the target mattress has a monitoring module failure.
8. A mattress monitoring module fault analysis device, characterized in that: The device comprises: The first module is used to obtain the reported data of the target mattress; the reported data includes monitoring module data and mattress monitoring data; the monitoring module data includes cardiopulmonary indicators, and the mattress monitoring data includes the first time point when the cardiopulmonary indicators are monitored and device log data; A second module is used to intercept target log data from the device log data based on the first time point; A third module is used for determining that the monitoring module of the target mattress is abnormal when there is no bed-going mark in the target log data, and reporting the abnormality of the monitoring module; The fourth module is used to count all the abnormalities of the monitoring module reported within the first time range to obtain the number of abnormalities; the mattress monitoring data also includes the number of times of going to bed within the first time range; The fifth module is used to determine that the target mattress has a monitoring module failure when the ratio of the abnormal number to the number of times of going to bed is greater than a first threshold.
9. An electronic device, characterized in that: The electronic device comprises a memory and a processor, the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
