Data management method of fire-fighting APP, electronic equipment and storage medium
By obtaining and calculating parameter difference values and intermediate values of fire protection equipment, and sending them to the fire protection APP to display the equipment pending maintenance status, it solves the problem of low maintenance efficiency caused by manual recording, achieves accurate display of fire equipment status and improves maintenance efficiency.
Patent Information
- Application Number
- CN202411006970.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-10-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The maintenance status data of existing fire protection equipment mainly relies on manual handwritten records, resulting in inaccurate data and low maintenance efficiency, making it impossible to understand fault problems in a timely manner for targeted maintenance.
By obtaining the current parameter data and factory parameter data of fire protection equipment, calculate the parameter difference value and intermediate value, and determine the data management information sent to the fire protection APP based on these values to accurately display the status of the equipment to be repaired and improve maintenance efficiency.
It achieves accurate display of the status of fire-fighting equipment, improves the work efficiency of maintenance personnel, and ensures that fire-fighting equipment is repaired and put back into use in a timely manner.
Smart Images

Figure CN118780781A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing, and in particular to a data management method, electronic equipment and storage medium for a fire protection APP. Background Art
[0002] At present, as the management of fire-fighting equipment becomes more and more stringent, it is necessary to repair fire-fighting equipment to ensure that the fire-fighting equipment can be used in time when a failure occurs. Especially in the field of safety equipment, such as fire-fighting equipment, it is necessary to quickly understand the maintenance status so that it can be quickly repaired and put back into use. Fire-fighting equipment generally uses red, yellow and green to reflect the status of fire-fighting equipment. Green represents normal status, yellow represents warning status, and red represents fault status.
[0003] With the development of science and technology, fire-fighting equipment needs to be managed comprehensively. For example, fire-fighting APP is used to display the maintenance status of fire-fighting equipment. However, the maintenance status of fire-fighting equipment is diverse, and the data generated is usually manual handwritten records. This recording method is prone to problems and is not conducive to maintenance. Moreover, when fire-fighting equipment fails, maintenance personnel cannot grasp the fault problem in time and perform targeted maintenance, resulting in low maintenance efficiency. Therefore, it is particularly important to use fire-fighting APP to improve maintenance efficiency. Summary of the invention
[0004] In view of the above technical problems, the technical solution adopted by the present invention is: a data management method of the fire protection APP, the method comprising the following steps:
[0005] S010, obtain the current parameter data list of the target fire fighting equipment G = {G1, G2, ..., G i , …, G m}, G i is the current parameter data of the i-th preset feature of the target fire fighting equipment, i ranges from 1 to m, and m is the number of preset features;
[0006] S020, obtain the factory parameter data list H of the target fire fighting equipment = {H1, H2, ..., H i , …, H m}, H i is the factory parameter data of the i-th preset feature of the target fire-fighting equipment;
[0007] S030, according to G and H, obtain the first parameter difference value list FA of the target fire fighting equipment = {FA1, FA2, ..., FA i ,…,FA m} and the first parameter intermediate value FA0 of the target fire fighting equipment, where FA i It's G i The corresponding first parameter difference value, FA iEligible: FA i =|H i -G i | / H i , FA0 meets the condition: FA0 = ∑ m i=1 (W i ×FA i ), where the initial color weight list of the target fire fighting equipment W = {W1, W2, ..., W i , …, W m},W i is the initial color weight of the i-th preset feature;
[0008] S040, based on G, obtain the second parameter difference value list SA of the target fire fighting equipment = {SA1, SA2, ..., SA i , …, SA m} and the second parameter intermediate value SA0 of the target fire fighting equipment, where SA i It's G i The corresponding second parameter difference value, SA i Eligible: FA i =|H i -J i | / J i , SA0 meets the condition: SA0 = ∑ m i=1 (W i ×TA i ), the preset parameter threshold list of the target fire fighting equipment J = {J1, J2, ..., J i , …, J m}, J i is the preset parameter threshold of the i-th preset feature;
[0009] S050, if |FA0-SA0|<△FS, the first fire data management information is sent to the fire APP of the target fire equipment, so that the fire APP of the target fire equipment performs data management on the target fire equipment according to the first fire data management information; |FA0-SA0|≥△FS, the second fire data management information is sent to the fire APP of the target fire equipment, so that the fire APP of the target fire equipment performs data management on the target fire equipment according to the second fire data management information, wherein △FS is the preset parameter difference threshold, and the first fire data management information is inconsistent with the second fire data management information.
[0010] According to another aspect of the present invention, a non-transitory computer-readable storage medium is provided, in which at least one instruction or at least one program is stored, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the aforementioned method.
[0011] According to yet another aspect of the present invention, an electronic device is provided, comprising a processor and the aforementioned non-transitory computer-readable storage medium.
[0012] The present invention has at least the following beneficial effects: In summary, the current parameter data list of the target fire-fighting equipment is obtained, the factory parameter data list of the target fire-fighting equipment is obtained, the first parameter difference value list and the first parameter intermediate value are obtained, the second parameter difference value list and the second parameter intermediate value are obtained, and based on the first parameter intermediate value and the second parameter intermediate value, it is determined to send the first fire management information or the second fire management information to the fire-fighting APP, thereby more accurately displaying the maintenance status of the fire-fighting equipment and improving the maintenance efficiency of the staff. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0014] Figure 1 A flowchart of a data management method for a fire protection APP provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0015] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0016] The embodiment of the present invention provides a data management method for a fire protection APP, such as Figure 1 As shown, the method comprises the following steps:
[0017] S010, obtain the current parameter data list of the target fire fighting equipment G = {G1, G2, ..., G i , …, G m}, G i It is the current parameter data of the i-th preset feature of the target fire-fighting equipment, the value range of i is 1 to m, and m is the number of preset features. It can be understood that the current parameter data is the real parameter data of the preset features of the target fire-fighting equipment at the current time after leaving the factory, wherein the preset features are the features that ensure that the target fire-fighting equipment is in normal use; for example, device pressure value, device temperature value.
[0018] S020, obtain the factory parameter data list H of the target fire fighting equipment = {H1, H2, ..., H i , …, H m}, H i It is the factory parameter data of the i-th preset feature of the target fire-fighting equipment; it can be understood as: the factory parameter data is the reference parameter data of the preset features of the target fire-fighting equipment when it leaves the factory, wherein the factory parameter data of a certain preset feature is inconsistent with the current parameter data of the corresponding preset feature, wherein the target fire-fighting equipment can be a fire hydrant, a fire extinguisher, an automatic fire extinguishing system, etc.
[0019] S030, according to G and H, obtain the first parameter difference value list FA of the target fire fighting equipment = {FA1, FA2, ..., FA i ,…,FA m} and the first parameter intermediate value FA0 of the target fire fighting equipment, where FA i It's G i The corresponding first parameter difference value, FA i Eligible: FA i =|H i -G i | / H i , FA0 meets the condition: FA0 = ∑ m i=1 (W i ×FA i ), where the initial color weight list of the target fire fighting equipment W = {W1, W2, ..., W i , …, W m},W i is the initial color weight of the i-th preset feature; those skilled in the art know that the initial color weight of the preset feature can be set according to actual needs, which will not be repeated here.
[0020] In one embodiment of the present invention, W i =1 / m.
[0021] S040, based on G, obtain the second parameter difference value list SA of the target fire fighting equipment = {SA1, SA2, ..., SA i , …, SA m} and the second parameter intermediate value SA0 of the target fire fighting equipment, where SA i It's G i The corresponding second parameter difference value, SA i Eligible: FA i =|H i -J i | / J i , SA0 meets the condition: SA0 = ∑ mi=1 (W i ×TA i ), the preset parameter threshold list of the target fire fighting equipment J = {J1, J2, ..., J i , …, J m}, J i is the preset parameter threshold of the i-th preset feature, wherein the preset parameter threshold refers to the preferred value of the preset feature of the target fire-fighting equipment during daily use. The preset parameter threshold is set according to actual needs and will not be repeated here;
[0022] The preset difference-score list ST = {ST1, ST2, ..., ST e , …, ST h}, the e-th preset difference-score ST e =(SA e ,TA e ), the value range of e is 1 to h, h is the number of preset difference-scores, because, the score TA0 corresponding to SA0 is obtained through SA0.
[0023] S050, if |FA0-SA0|<△FS, the first fire data management information is sent to the fire APP of the target fire equipment, so that the fire APP of the target fire equipment performs data management on the target fire equipment according to the first fire data management information; |FA0-SA0|≥△FS, the second fire data management information is sent to the fire APP of the target fire equipment, so that the fire APP of the target fire equipment performs data management on the target fire equipment according to the second fire data management information, wherein △FS is the preset parameter difference threshold, and the first fire data management information is inconsistent with the second fire data management information.
[0024] Specifically, the preset parameter difference threshold is set according to actual needs, which will not be described in detail here;
[0025] In summary, the current parameter data list of the target fire equipment is obtained, the factory parameter data list of the target fire equipment is obtained, the first parameter difference value list and the first parameter intermediate value are obtained, the second parameter difference value list and the second parameter intermediate value are obtained, and based on the first parameter intermediate value and the second parameter intermediate value, it is determined to send the first fire management information or the second fire management information to the fire APP, so as to more accurately display the maintenance status of the fire equipment and improve the maintenance efficiency of the staff. .
[0026] Furthermore, the present invention further comprises the following steps:
[0027] S1, obtain the historical fire equipment data set K = {K1, ..., K r , …, K s}, where Ks =(K s1 , K s2 , K s3 ), K s1i is the current parameter data of the i-th preset feature of the s-th historical fire fighting equipment, K s2i is the factory parameter data of the i-th preset feature of the s-th historical fire fighting equipment, K s3i is the preset parameter threshold of the i-th preset feature of the s-th historical fire fighting equipment;
[0028] S2, based on K, obtain the feature priority U corresponding to K = {U1, ..., U r ,…,U s},U r = {U r1 ,…,U ri ,…,U rm}, where U ri =1 / 2×[(|K s2i -K s1i | / K s2i )+(|K s1i -K s3i | / K s3i )];
[0029] S3, obtain the normal curve of the i-th feature, the X axis of the normal curve is U ri , the Y-axis is the number of historical fire-fighting equipment.
[0030] S4, overlapping the symmetry axes of the normal curves of the m features, and dividing the normal curves of the m features after overlapping the symmetry axes into z preset intervals, thereby obtaining a preset interval list C = {C1, C2, ..., C g , …, C z}, where C g It is the g-th preset interval divided by the X-axis.
[0031] Specifically, a specified normal curve is obtained, and overlap is performed based on a specified symmetry axis of the specified normal curve, wherein the specified normal curve is one of the m characteristic normal curves.
[0032] Specifically, the specified interval is divided into z preset intervals, and the specified interval is [c1-α×d1, c1+α×d1], c1 is the value of the specified center axis on the X-axis, α is the preset multiple, and d1 is the specified standard deviation of the specified normal curve.
[0033] S5, divide the z preset intervals into q combined interval lists, and obtain a combined interval list set HC = {HC1, HC2, ..., HC x ,…,HC q} and HC corresponding to the preset color series table L = {L1, L2, ..., L x , …, L q}, HC x Use L x Displayed in the fire APP of historical fire equipment.
[0034] Among them, L x is the xth preset color system, the value range of x is 1 to q, q is the number of preset color systems and q<z.
[0035] Among them, HC x is the xth combination interval list, HC x ={HC x,1 , HC x,2 ,…,HC x,y ,…,HC x,px}, HC x,y is the yth preset interval in the xth combined interval list, y ranges from 1 to px, and p is the number of preset intervals in the xth combined interval list; where HC x,y and HC x,y+1 The positions on the X axis are adjacent.
[0036] In one embodiment of the present invention, q=3, the preset color series table L={L1, L2, L3}, L1 is the red series, L2 is the green series, and L3 is the blue series. HC={HC1, HC2, HC3}, x,1 To HC x,px The RGB value of is set to a fixed value under the corresponding color system, so as to obtain HC x,1 To HC x,px The corresponding preset color.
[0037] In summary, obtain the historical fire equipment data set, based on K, obtain the feature priority corresponding to K, and obtain the normal curve of the i-th feature. The X-axis of the normal curve is U ri , the Y-axis is the number of historical fire-fighting equipment, the symmetry axes of the normal curves of the m features are overlapped, and the normal curves of the m features after the symmetry axes are overlapped are divided into z preset intervals, thereby obtaining a preset interval list, and the z preset intervals are divided into q combined interval lists, and the preset color series list corresponding to the combined interval list set and the HC is obtained, and the color corresponding to the feature priority is obtained based on the historical fire-fighting equipment data set for easy display.
[0038] Furthermore, dividing the z preset intervals into q combined interval lists includes the following steps:
[0039] S51, if the remainder of z / q is 0, the z preset intervals are evenly divided into q combined intervals, that is, each combined interval includes z / q preset intervals.
[0040] S52, if the remainder of z / q is not 0, select a preset intervals based on the central axis as a combined interval, and add b preset intervals on both sides of the central axis based on the a preset intervals as a combined interval, where a and b satisfy the following conditions: a+2(a+b+a+2×b+…+a+(q-1)×b)=z.
[0041] Specifically, a preset intervals of the central axis are a combined interval HC1, a+b preset intervals on the left side of the middle axis except HC1 are a combined interval HC2, a+b preset intervals on the right side of the middle axis except HC1 and HC2 are a combined interval HC3, and so on, until all preset intervals are divided.
[0042] In an exemplary description, z=10, a=2, b=2, q=3, based on the order of the X-axis, the first 4 preset intervals are divided into a combined interval, the middle 2 preset intervals are divided into a combined interval, and the last 4 preset intervals are divided into a combined interval.
[0043] Furthermore, the step S050 also includes the following steps: first fire protection data management information:
[0044] S0501, according to SA0 and FA0, obtain the third parameter intermediate value MA0, MA0 meets the condition: MA0 = (FA0 + SA0) / 2;
[0045] S0502, selecting a corresponding preset color system from L according to MA0 as the first fire protection data management information.
[0046] Specifically, the preset color system corresponding to the combination interval list where MA0 is located is used as the first fire protection data management data.
[0047] Furthermore, a preset color corresponding to the preset interval in which MA0 is located is used as the first fire data management data.
[0048] In summary, according to SA0 and FA0, the intermediate value of the third parameter is obtained, and according to MA0, the corresponding preset color system is selected from L as the first fire data management information to improve the accuracy of the color displayed by the fire APP.
[0049] Specifically, if |FA0-SA0|≥△FS, a warning is issued. It can be understood that if the difference between the first intermediate value and the second intermediate value is not less than the preset difference threshold, it is considered that the preset weight distribution may be unreasonable or there may be problems elsewhere, so a warning is issued to remind the management staff to deal with the problem. When |FA0-SA0|≥△FS, a warning is issued to improve the efficiency of staff in finding problems.
[0050] An embodiment of the present invention also provides a non-transitory computer-readable storage medium, which can be set in an electronic device to store at least one instruction or at least one program related to implementing a method in a method embodiment. The at least one instruction or the at least one program is loaded and executed by the processor to implement the method provided in the above embodiment.
[0051] An embodiment of the present invention further provides an electronic device, comprising a processor and the aforementioned non-transitory computer-readable storage medium.
[0052] Although some specific embodiments of the present invention have been described in detail by way of example, it will be appreciated by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present invention. It will also be appreciated by those skilled in the art that various modifications may be made to the embodiments without departing from the scope and spirit of the present invention. The scope of the present invention is defined by the appended claims.
Claims
1. A data management method for a fire protection APP, characterized in that: The method comprises the following steps: S010, obtain the current parameter data list of the target fire fighting equipment G = {G1, G2, ..., G i , …, G m }, G i is the current parameter data of the i-th preset feature of the target fire fighting equipment, i ranges from 1 to m, and m is the number of preset features; S020, obtain the factory parameter data list H of the target fire fighting equipment = {H1, H2, ..., H i , …, H m }, H i is the factory parameter data of the i-th preset feature of the target fire-fighting equipment; S030, according to G and H, obtain the first parameter difference value list FA of the target fire fighting equipment = {FA1, FA2, ..., FA i ,…,FA m } and the first parameter intermediate value FA0 of the target fire fighting equipment, where FA i It's G i The corresponding first parameter difference value, FA i Eligible: FA i =|H i -G i | / H i , FA0 meets the condition: FA0 = ∑ m i=1 (W i ×FA i ), where the initial color weight list of the target fire fighting equipment W = {W1, W2, ..., W i , …, W m },W i is the initial color weight of the i-th preset feature; S040, based on G, obtain the second parameter difference value list SA of the target fire fighting equipment = {SA1, SA2, ..., SA i , …, SA m } and the second parameter intermediate value SA0 of the target fire fighting equipment, where SA i It's G i The corresponding second parameter difference value, SA i Eligible: FA i =|H i -J i | / J i , SA0 meets the condition: SA0 = ∑ m i=1 (W i ×TA i ), the preset parameter threshold list of the target fire fighting equipment J = {J1, J2, ..., J i , …, J m }, J i is the preset parameter threshold of the i-th preset feature; S050. If |FA0-SA0|<△FS, the first fire data management information is sent to the fire APP of the target fire equipment, so that the fire APP of the target fire equipment manages the data of the target fire equipment according to the first fire data management information. If |FA0-SA0|≥△FS, the second fire data management information is sent to the fire APP of the target fire equipment, so that the fire APP of the target fire equipment manages the data of the target fire equipment according to the second fire data management information, wherein △FS is the preset parameter difference threshold, and the first fire data management information is inconsistent with the second fire data management information.
2. The data management method of the fire protection APP according to claim 1 is characterized in that: Before S010, it also included: S1, obtain the historical fire equipment data set K = {K1, ..., K r , …, K s }, where K s =(K s1 , K s2 , K s3 ), K s1i is the current parameter data of the i-th preset feature of the s-th historical fire fighting equipment, K s2i is the factory parameter data of the i-th preset feature of the s-th historical fire fighting equipment, K s3i is the preset parameter threshold of the i-th preset feature of the s-th historical fire fighting equipment; S2, based on K, obtain the feature priority U corresponding to K = {U1, ..., U r , …, U s },U r = {U r1 , …, U ri , …, U rm }, where U ri =1 / 2×[(|K s2i -K s1i | / K s2i )+(|K s1i -K s3i | / K s3i )]; S3, obtain the normal curve of the i-th feature, the X axis of the normal curve is U ri , the Y-axis is the number of historical firefighting equipment; S4, overlapping the symmetry axes of the normal curves of the m features, and dividing the normal curves of the m features after overlapping the symmetry axes into z preset intervals, thereby obtaining a preset interval list C = {C1, C2, ..., C g , …, C z }, where C g It is the g-th preset interval divided by the X-axis; S5, divide the z preset intervals into q combined interval lists, and obtain a combined interval list set HC = {HC1, HC2, ..., HC x ,…,HC q } and HC corresponding to the preset color series table L = {L1, L2, ..., L x , …, L q }, HC x Use L x Displayed in the fire APP of historical fire equipment.
3. The data management method of the fire protection APP according to claim 1 is characterized in that: W i =1 / m。 4. The data management method of the fire protection APP according to claim 2 is characterized in that: In S5, dividing the z preset intervals into q combined interval lists includes the following steps: S51, if the remainder of z / q is 0, the z preset intervals are equally divided into q combined intervals, and a combined interval list set HC is obtained; S52, if the remainder of z / q is not 0, select a preset intervals based on the central axis as a combined interval, and add b preset intervals to both sides of the central axis as a combined interval on the basis of a preset intervals, and obtain a combined interval list set HC, where a and b satisfy the following condition: a+2(a+b+a+2×b+…+a+(q-1)×b)=z.
5. The data management method of the fire protection APP according to claim 2 is characterized in that: The step S050 also includes the following steps: first fire protection data management information: S0501, according to SA0 and FA0, obtain the third parameter intermediate value MA0, MA0 meets the condition: MA0 = (FA0 + SA0) / 2; S0502, selecting a corresponding preset color system from L according to MA0 as the first fire protection data management information.
6. The data management method of the fire protection APP according to claim 2 is characterized in that: q=3, the preset color series table L={L1, L2, L3}.
7. The data management method of the fire protection APP according to claim 6 is characterized in that: L1 is red, L2 is green, and L3 is blue.
8. The data management method for fire protection APP according to claim 1 is characterized in that: The preset characteristics include: device pressure value and device temperature value.
9. A non-transitory computer-readable storage medium, wherein at least one instruction or at least one program is stored in the storage medium, characterized in that: The at least one instruction or the at least one program is loaded and executed by the processor to implement the data management method of the fire protection APP as described in any one of claims 1-8.
10. An electronic device, characterized in that: The invention comprises a processor and the non-transitory computer-readable storage medium as claimed in claim 9.
Citation Information
Patent Citations
Equipment aging prediction system, method and device
CN111750925A
Pressure monitoring system for fire extinguishing device and monitoring method thereof
CN114569926A
Quality monitoring method and device and electronic equipment
CN115619262A
Temperature monitoring system
CN116847223A
Container snapshot generation method and device, equipment and medium
CN117194113A
