Alarm display method and system, terminal equipment and storage medium
By describing and combining the alarm types in the first alarm sequence and the second alarm sequence, the problems of low alarm accuracy and single display in the prior art are solved, and higher alarm display accuracy and maintenance efficiency are achieved.
Patent Information
- Application Number
- CN202510139573.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-08
- Publication Date
- 2025-05-13
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The prior art has low accuracy and single display when alerting alarms, making it difficult to meet the needs of complex environments and machine conditions.
By selecting the alarm types in the first alarm sequence and the second alarm sequence, the first target alarm type and the second target alarm type are described in different ways, and then combined and then displayed.
It realizes a variety of combined and rich in alarm display, improving the display accuracy and maintenance efficiency of alarms.
Smart Images

Figure CN119992789A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of environmental monitoring and alarm, and in particular to an alarm display method, system, terminal device and storage medium. Background Art
[0002] Traditional alarm prompts are all crammed upward feedback displays. However, these methods are too simple and immature. As actual applications are more varied and complex, traditional alarms are difficult to meet actual needs. Relying solely on traditional technology, facing the changing environment and machine conditions, and failing to combine various scenarios, it is unreliable to rely solely on it.
[0003] Therefore the prior art still needs to be improved and enhanced. Summary of the invention
[0004] The present application provides an alarm display method, system, terminal device and storage medium, aiming to solve the problems of low accuracy and single display when making alarm reminders in the prior art.
[0005] In a first aspect, an embodiment of the present application provides an alarm display method, comprising:
[0006] According to the alarm requirements of the target device, select the alarm types in the first alarm sequence and the second alarm sequence respectively;
[0007] When an alarm event occurs in the target device, a first target alarm type in the first alarm sequence is described in a first manner, and a second target alarm type in the second alarm sequence is described in a second manner;
[0008] The described first target alarm type and the described second target alarm type are combined and displayed.
[0009] In some embodiments, the alarm display method further includes:
[0010] When an alarm event of the first target alarm type occurs, the corresponding device in the target device is adjusted according to the description result of the first target alarm type to perform abnormal control on the target device.
[0011] In some embodiments, describing the first target alarm type in the first alarm sequence in a first manner, and describing the second target alarm type in the second alarm sequence in a second manner, includes:
[0012] After obtaining the respective measured values in the first target alarm type, the measured values are described according to the corresponding preset classification method to obtain display text information;
[0013] After sorting all the second target alarm types according to a preset priority, generating a preset number system for the sorted alarm items of the second target alarm type, and inputting the preset number system into a stack;
[0014] The preset number system is queried in the fault table to obtain the fault text information corresponding to the preset number system.
[0015] In some embodiments, the step of querying the preset number in a fault table further includes:
[0016] After enumerating at least one selected alarm type from all target alarm types in the second alarm sequence, all the selected alarm types in each second alarm sequence are sorted according to the preset priority to generate respective reference numbers;
[0017] Generate text information of the current second alarm sequence according to the current reference number system to form a mapping relationship between the current reference number system and the current second alarm sequence to obtain the fault table;
[0018] Among them, all target alarm types include: sodium hypochlorite output content, salt content, errors and faults.
[0019] In some embodiments, after sorting all the second target alarm types according to the preset priority, generating a preset number system for the sorted alarm items of the second target alarm type, and inputting the preset number system into the stack, comprises:
[0020] After sorting the second target alarm types from low to high according to their importance, the preset number system is sequentially input into the stack so that the second target alarm types are sorted out of the stack from high to low according to their importance.
[0021] In some embodiments, combining the described first target alarm type with the described second target alarm type and displaying them comprises:
[0022] According to the preset number system stored in the stack at the current moment, query the fault table to obtain corresponding fault text information;
[0023] According to the alarm importance, one or more described first target alarm types are selected and combined with the fault text information at the current moment to obtain a combined text;
[0024] The combined text is displayed in a loop playback manner.
[0025] In some embodiments, the target equipment includes: a salt chlorinator;
[0026] The selecting the alarm types in the first alarm sequence and the second alarm sequence respectively comprises:
[0027] Select at least one of water temperature, equipment temperature and chlorine production in the first alarm sequence;
[0028] selecting at least one of sodium hypochlorite output content, salt content, error and failure in the second alarm sequence;
[0029] Among them, the errors include: software code errors, algorithm logic errors or data processing errors; the failures caused by the errors include software system failures, and partial failure or cessation of work of the system or equipment.
[0030] In a second aspect, an embodiment of the present application provides an alarm display system, comprising:
[0031] A selection module, for selecting the alarm types in the first alarm sequence and the second alarm sequence respectively according to the alarm requirements of the target device;
[0032] a description module, configured to describe the first target alarm type in the first alarm sequence in a first manner, and describe the second target alarm type in the second alarm sequence in a second manner, when an alarm event occurs in the target device;
[0033] A display module is used to combine the described first target alarm type and the described second target alarm type for display.
[0034] In a third aspect, an embodiment of the present application provides a terminal device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the alarm display method as described above when executed by the processor.
[0035] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, which implements the steps of the alarm display method as described above when executed by a processor.
[0036] Compared with the prior art, the present application provides an alarm display method, system, terminal device and storage medium. The method describes the first target alarm type in the first alarm sequence and the second target alarm type in the second alarm sequence in different ways, combines them and then displays them, thereby achieving a diverse combination of rich content alarm display and improving the accuracy of alarm display. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0038] Figure 1 A flowchart of the alarm display method provided by this application;
[0039] Figure 2 A schematic diagram of a flow chart for selecting an alarm type in the alarm display method provided by this application;
[0040] Figure 3 A flow chart of describing the target alarm type in the alarm display method provided by this application;
[0041] Figure 4 A schematic diagram of a flow chart for establishing a fault table in the alarm display method provided by the present application;
[0042] Figure 5 A schematic diagram of a flow chart showing target alarm types in the alarm display method provided by the present application;
[0043] Figure 6 A method block diagram of the alarm display method provided by this application;
[0044] Figure 7 A structural schematic diagram of the alarm display system provided in this application. DETAILED DESCRIPTION
[0045] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.
[0046] The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0047] Hereinafter, the terms "including", "having" and their cognates used in various embodiments of the present application are intended only to indicate specific features, numbers, steps, operations, elements, components or a combination of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components or a combination of the foregoing items or increasing the possibility of one or more features, numbers, steps, operations, elements, components or a combination of the foregoing items. In addition, the terms "first", "second", "third" and the like are only used to distinguish descriptions and cannot be understood as indicating or implying relative importance.
[0048] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present application belong. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present application.
[0049] Since salt chlorine machines are often used for swimming pool disinfection and cleaning, and disinfection is a job that is affected by multiple factors, different temperatures, water flows or outputs will have different effects. This situation will generate multiple different alarms, and the existing single alarm can no longer meet this demand.
[0050] The present application provides an alarm display method, system, terminal device and storage medium. The alarm display method selects the alarm type in the first alarm sequence and the second alarm sequence according to the alarm requirement, describes the first target alarm type in the first alarm sequence and the second target alarm type in the second alarm sequence in a corresponding manner, and then combines and displays them, thereby realizing multi-style combined display and clearly and accurately displaying the specific alarm matters, thereby improving maintenance efficiency.
[0051] The design of the alarm display method is described below through some specific embodiments.
[0052] See also Figure 1 , the embodiment of the present application provides an alarm display method, comprising steps S100-S300:
[0053] S100: Select alarm types in the first alarm sequence and the second alarm sequence respectively according to the alarm requirements of the target device.
[0054] Among them, the target equipment includes: salt chlorine machine; all alarm types in the first alarm sequence include: water temperature, equipment temperature and chlorine production, etc.; all alarm types in the second alarm sequence include: sodium hypochlorite output content, salt content, error and failure, etc. The first alarm sequence has a higher alarm priority than the second alarm sequence.
[0055] Exemplarily, according to different alarm requirements of different target devices, the alarm types in the first alarm sequence and the alarm types in the second alarm sequence are selected respectively. For example, for a salt chlorine machine, at least one alarm type such as water temperature, equipment temperature and chlorine production in the first alarm sequence and at least one alarm type such as sodium hypochlorite output content, salt content, error and fault in the second alarm sequence can be selected.
[0056] It can be understood that in the present application, the alarm type in the two alarm sequences is selected according to the actual alarm requirements of the target device, thereby improving the pertinence and specificity of the alarm type.
[0057] For example, see Figure 2 In one implementation method, respectively selecting the alarm types in the first alarm sequence and the second alarm sequence includes:
[0058] S101, selecting at least one of water temperature, equipment temperature and chlorine production in the first alarm sequence;
[0059] S102: Select at least one of sodium hypochlorite output content, salt content, error and failure in the second alarm sequence.
[0060] Among them, errors include: software code errors, algorithm logic errors or data processing errors, etc.; faults caused by errors include software system failures, partial failure or cessation of the system or equipment, etc. Water temperature refers to the temperature of the liquid environment where the salt chlorine machine is located, the equipment temperature refers to the temperature of the salt chlorine machine itself, and the chlorine production refers to the electrolytic cell in the salt chlorine machine. All alarm types in the first alarm sequence can be directly measured by the corresponding sensors.
[0061] Exemplarily, when selecting an alarm type according to alarm requirements, at least one of water temperature, equipment temperature and chlorine production can be selected in the first alarm sequence to obtain the subsequent first target alarm type. Then, at this time, the sensor on the target device is required to detect the water temperature and the body temperature.
[0062] Furthermore, at least one of the sodium hypochlorite output content, salt content, error (such as software code error, algorithm logic error or data processing error, etc.) and failure (such as software system failure, partial failure or cessation of system or equipment, etc.) can be selected in the second alarm sequence to obtain the subsequent second target alarm type. Then, similarly, the output of the target equipment needs to be reported.
[0063] It should be noted that the first alarm sequence may include more than the three alarm types to choose from, and similarly, the second alarm sequence may include more than the four types.
[0064] S200: When an alarm event occurs in the target device, a first target alarm type in a first alarm sequence is described in a first manner, and a second target alarm type in a second alarm sequence is described in a second manner.
[0065] Exemplarily, various sensors in the salt chlorine machine may be used for monitoring, such as temperature sensors that monitor water temperature and internal resistance, to detect whether an alarm event occurs.
[0066] In the application of salt chlorine machine, the resistance temperature is important in its impact on circuit performance. Because it involves the control and regulation of current, the change of resistance will directly affect the current and the operating efficiency of the equipment. By monitoring the change of resistance temperature, if the temperature is high, it will report: INTERNAL TEMP HIGH (internal temperature is too high and exceeds the upper limit), otherwise it will be low temperature, thus avoiding the risk of increased machine performance and safety hazards in high temperature environment.
[0067] Or when testing the salt content, if the salinity is high, it will report: HIGH SALT-SEE MANUAL, otherwise it will report: LOW SALT-SEE MANUAL.
[0068] When an alarm occurs in the salt chlorine machine, the first target alarm type selected from the first alarm sequence is described in a first manner, for example, by combining the alarm details and detection values corresponding to the first target alarm type.
[0069] At the same time, the second target alarm type selected from the second alarm sequence is described in a second manner, for example, the alarm details corresponding to the second target alarm type are described in text from high to low according to their respective importance levels.
[0070] It can be understood that in the present application, the alarm items in the two alarm sequences are described in different ways to obtain a combined alarm mode, thereby improving the diversity and richness of the alarm display.
[0071] For example, see Figure 3 In one implementation method, step S200, describing the first target alarm type in the first alarm sequence in a first manner, and describing the second target alarm type in the second alarm sequence in a second manner, includes:
[0072] S210, after obtaining the respective measured values in the first target alarm type, the measured values are described according to the corresponding preset classification method to obtain display text information;
[0073] S220, after sorting all second target alarm types according to preset priorities, generate a preset number system for the sorted alarm items of the second target alarm types, and input the preset number system into a stack;
[0074] S230, query the preset number system in the fault table to obtain the fault text information corresponding to the preset number system.
[0075] Exemplarily, during the process of the first target alarm type, the measured values of relevant parameters in the first target alarm type (which may be multiple) can be monitored, for example, the water temperature is monitored to be 29° and the equipment temperature is 50°.
[0076] Then, the measured value is described according to the corresponding preset classification method. For example, the water temperature is described in four levels: the water level below 30° is called low temperature, 30° to 60° is called medium and low temperature, 60° to 100° is medium temperature, and more than 100° is high temperature. Then, the current temperature is described according to the pre-set water temperature classification to obtain the displayed text information. At this time, the current water temperature is 50°, which is in the classification of 30° to 60°, so the displayed text information is described as "Water Temperature-Medium and Low" or "WATER TEMP-Medium and Low".
[0077] Similarly, the device temperature is described in three levels: the device temperature below 0° is called low temperature, 0° to 50° is called normal temperature, and 50° is called high temperature. At this time, the current device temperature is 50°, which is in the 0° to 50° classification, so the displayed text information description is "Device Temperature-Normal" or "WATER TEMP-Normal".
[0078] Furthermore, in the process of describing the first target alarm type, a binary number of bits can be preset, wherein one second target alarm type corresponds to a target bit number (e.g., 1 bit) in a preset number system, and then, according to a preset priority (e.g., according to importance, alarm time, or impact, etc.), multiple second target alarm types for which alarm items have occurred are sorted, that is, the second target alarm type corresponding to the target bit number in the high position in the preset number system has a higher priority, so as to obtain a prefabricated number system (e.g., a 10-bit binary number). Since the second target alarm type changes rapidly, the generated preset number system needs to be written into the stack so that the alarm items of the second target alarm type currently monitored can be saved in real time.
[0079] Finally, the preset number system is queried in the fault table to obtain the fault text information corresponding to the preset number system.
[0080] It can be understood that in this application, the first target alarm type and the second target alarm type are described separately in accordance with the preset classification method to obtain display text information, and the alarm items of the second target alarm type sorted according to the preset priority are generated into a preset number system, and then the fault text information is obtained by querying in the fault table, so as to achieve the description of the first target alarm type and the second target alarm type, so as to achieve diversified alarm. In addition, the alarms of single and combined alarm types are entered into the alarm stack, and finally the alarms are broadcast in a timed cycle, thereby perfectly solving the problems of false alarms or missed alarms.
[0081] For example, in one implementation method, step S200, after sorting all second target alarm types according to preset priorities, generates a preset number system for the sorted alarm items of the second target alarm types, and inputs the preset number system into the stack, includes:
[0082] After sorting the second target alarm types from low to high according to their importance, the preset numbers are sequentially input into the stack so that the second target alarm types are sorted out of the stack from high to low according to their importance.
[0083] Exemplarily, since the stack in the present application follows the last-in-first-out principle, when sorting all the second target alarm types, they can be sorted from low to high according to the importance of multiple second target alarm types, that is, the target digits corresponding to the second target alarm types with greater importance are sorted first, and a preset number system is obtained, and the preset number system is written into the stack from low to high. Finally, when writing out the stack, the second target alarm types sorted from high to low importance can be obtained.
[0084] It can be understood that in the present application, the preset numerical values corresponding to the sorted multiple second target alarm types are written into the stack and then written out by utilizing the stack's own writing and writing characteristics, so as to obtain a description of the second target alarm type after the target sorting (i.e., sorting from high to low importance), thereby realizing the importance sorting of the second target alarm types.
[0085] For example, see Figure 4 In one implementation method, the preset number is queried in the fault table, and the method also includes:
[0086] S228, after enumerating at least one selected alarm type from all target alarm types in the second alarm sequence, all selected alarm types in each second alarm sequence are sorted according to a preset priority to generate respective reference numbers;
[0087] S229: Generate text information of the current second alarm sequence according to the current reference number system to form a mapping relationship between the current reference number system and the current second alarm sequence, and obtain a fault table.
[0088] Among them, all target alarm types include: sodium hypochlorite output content, salt content, errors and faults, etc.
[0089] Exemplarily, before querying the fault table, at least one selected alarm type that may appear in all target alarm types in the second alarm sequence is listed, that is, at least one of sodium hypochlorite output content, salt content, error and fault. For example, the alarm types at this time include: sodium hypochlorite output content and / or salt content.
[0090] Then, the specific alarm items of each selected alarm type are sorted according to the preset priority to obtain their respective reference number systems. Each reference number system is then used to generate the text information of the corresponding second alarm sequence to form a mapping relationship between the current reference number system and the current second alarm sequence, that is, all selected alarm types in each second alarm sequence correspond to a reference number system, and a mapping relationship of all second alarm sequences is generated to obtain a fault table and save it.
[0091] S300: Combine the described first target alarm type and the described second target alarm type and display them.
[0092] Exemplarily, after describing the first target alarm type and the second target alarm type, the described first target alarm type is combined with the described second target alarm type. For example, the described first target alarm type is sorted in front according to the importance. A combined description is obtained and then displayed so that the staff can see the alarm items in the combined text and make corrections to the target device.
[0093] For example, if the water temperature is below 30° and the sodium hypochlorite output content is less than 50%, an alarm of "OUTPUTIS LOWER DUE TO LOW WATER TEMP" will eventually be issued.
[0094] Or, the combination shows:
[0095] 1. WATER TEMP, LOW SALT-SEE MANUAL (due to low salinity, you need to consult the operation manual or perform corresponding operations manually), LOW OUT-SEE MANUAL (due to low output power, you need to consult the operation manual or perform corresponding operations manually).
[0096] 2. WATER TEMP, HIGH SALT-SEE MANUAL.
[0097] 3. CHLORINE PRODUCTION (chlorine output), HIGH SALT-SEE MANUA.
[0098] 4. WATER FLOW FAULT (water flow does not meet expectations or there is a problem), HIGH SALT-SEEMANUA.
[0099] 5. POWER PACK INT.TEMP (internal temperature of power module), NO OUTPUT-SEE MANUAL, LOWSALT-SEE MANUAL...
[0100] Since there may be multiple target alarm types in the first target alarm type and the first target alarm type, such as scene, water temperature, salinity, water flow, resistance, current and water flow, there are also multiple description combinations in the end, and detailed alarm contents of multiple combinations can be obtained, thereby improving the richness and diversity of the alarm content, and effectively preventing the occurrence of missed alarms or false alarms.
[0101] For example, in one implementation method, the alarm display method further includes:
[0102] When an alarm event of the first target alarm type occurs, the corresponding device in the target device is adjusted according to the description result of the first target alarm type to perform abnormal control on the target device.
[0103] Exemplarily, when an alarm occurs in the first target alarm type, the corresponding device in the target equipment is adjusted according to the description result of the first target alarm type. For example, when the equipment temperature in the first target alarm type is too high, it may be because the internal resistance temperature is monitored to be too high. At this time, the description result is: "The internal temperature is too high and exceeds the upper limit" or "INTERNAL TEM HIGH". Then, the output device in the salt chlorine machine, or even the entire salt chlorine machine, can be turned off to lower the internal temperature.
[0104] Furthermore, in the present application, the chemical properties of the fluid under different flow states can also be detected by sensors. Then, the chemical properties of water can be changed through electrolytic ionization, especially by adding salt to increase the ion concentration in water, thereby affecting the resistance and conductivity of water, thereby accelerating the water flow and reducing the resistance, thereby realizing the detection and optimization of the water flow state.
[0105] For example, see Figure 5 In one implementation method, step S300, combining the described first target alarm type with the described second target alarm type and displaying them, comprises:
[0106] S310, querying the fault table to obtain corresponding fault text information according to the preset number system currently stored in the stack;
[0107] S320, selecting one or more first target alarm types after the description according to the alarm importance, and combining them with the fault text information at the current moment to obtain a combined text;
[0108] S330: Display the combined text in a loop playback manner.
[0109] Exemplarily, after describing all the first target alarm types and second target alarm types, it is necessary to combine and describe the first target alarm type and the second target alarm at the current moment. Therefore, after selecting the sorted preset number system saved in the stack at this time, the corresponding fault text information is queried in the fault table.
[0110] Then, one or more of all the first target alarm types in the current first alarm sequence can be selected according to the alarm importance, alarm time or impact, and combined with the fault text information at the current moment to obtain a combined text, which is then displayed in a loop playback manner.
[0111] Furthermore, please see Figure 6 In this application, different alarm colors can be matched to the target alarm types according to different alarm levels, and the alarms can be broadcast and displayed in a loop on the app for real-time alarm display. At the same time, the app can upload the alarm records to the cloud in real time so that they can be saved as historical data for users to query, understand machine failures, errors and scene environments, etc., and can even be compressed into a stack through logical algorithms. Among them, alarm 0-alarm 4 are the alarm types corresponding to each bit in the preset number system after sorting.
[0112] See also Figure 7 , an embodiment of the present application provides an alarm display system, comprising:
[0113] The selection module 10 is used to select the alarm types in the first alarm sequence and the second alarm sequence according to the alarm requirements of the target device; the description module 20 is used to describe the first target alarm type in the first alarm sequence in a first manner and describe the second target alarm type in the second alarm sequence in a second manner when an alarm event occurs in the target device; the display module 30 is used to combine the described first target alarm type with the described second target alarm type and display them.
[0114] Exemplarily, the alarm display method is applicable to an alarm display system, and the alarm display system is implemented as follows:
[0115] First, according to the different alarm requirements of different target equipment, for example, the salt chlorine machine needs to monitor the water temperature, salt content and chlorine production, then at least one of the water temperature, equipment temperature and chlorine production in the first alarm sequence and at least one of the alarm types of sodium hypochlorite output content, salt content, error and failure in the second alarm sequence can be selected.
[0116] Then, when an alarm event occurs in the salt chlorine machine, the first target alarm type in the first alarm sequence is described in a first manner, and the second target alarm type in the second alarm sequence is described in a second manner.
[0117] Finally, the described first target alarm type is combined with the described second target alarm type and then displayed.
[0118] It can be understood that in the present application, the alarm types in the two alarm sequences are first selected according to the needs, and when an alarm occurs in the target device, the alarm types in the two alarm sequences are described in two ways and then combined and displayed, so that a variety of combined display methods can be used, which well solves the alarm logic processing capabilities of complex scenarios such as different environments, different temperatures, different salinities, different resistances and different outputs, thereby improving the diversity and practicality of the display.
[0119] The present application also provides a terminal device. Exemplarily, the terminal device includes a processor and a memory, wherein the memory stores a computer program, and the processor runs the computer program to enable the terminal device to execute the functions of the various modules in the above-mentioned alarm display method or the above-mentioned alarm display system.
[0120] Among them, the processor can be an integrated circuit chip with signal processing capabilities. The processor can be a general-purpose processor, including a central processing unit (CPU), a graphics processing unit (GPU) and a network processor (NP), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or at least one of other programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc., which can implement or execute the disclosed methods, steps and logic block diagrams in the embodiments of the present application.
[0121] The memory may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc. The memory is used to store a computer program, and the processor may execute the computer program accordingly after receiving an execution instruction.
[0122] The present application also provides a computer-readable storage medium for storing the computer program used in the above-mentioned terminal device. For example, the computer-readable storage medium may include but is not limited to: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0123] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and structure diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, program segment or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in an alternative implementation, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the structure diagram and / or the flow diagram, and the combination of boxes in the structure diagram and / or the flow diagram, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0124] In addition, the functional modules or units in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0125] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a smart phone, a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.
[0126] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.
Claims
1. An alarm display method, characterized in that: include: According to the alarm requirements of the target device, select the alarm types in the first alarm sequence and the second alarm sequence respectively; When an alarm event occurs in the target device, a first target alarm type in the first alarm sequence is described in a first manner, and a second target alarm type in the second alarm sequence is described in a second manner; The described first target alarm type and the described second target alarm type are combined and displayed.
2. The alarm display method according to claim 1, characterized in that: Also includes: When an alarm event of the first target alarm type occurs, the corresponding device in the target device is adjusted according to the description result of the first target alarm type to perform abnormal control on the target device.
3. The alarm display method according to claim 1, characterized in that: The step of describing the first target alarm type in the first alarm sequence in a first manner, and describing the second target alarm type in the second alarm sequence in a second manner, comprises: After obtaining the respective measured values in the first target alarm type, the measured values are described according to the corresponding preset classification method to obtain display text information; After sorting all the second target alarm types according to a preset priority, generating a preset number system for the sorted alarm items of the second target alarm type, and inputting the preset number system into a stack; The preset number system is queried in the fault table to obtain the fault text information corresponding to the preset number system.
4. The alarm display method according to claim 3, characterized in that: Before querying the preset number in the fault table, the method further includes: After enumerating at least one selected alarm type from all target alarm types in the second alarm sequence, all the selected alarm types in each second alarm sequence are sorted according to the preset priority to generate respective reference numbers; Generate text information of the current second alarm sequence according to the current reference number system to form a mapping relationship between the current reference number system and the current second alarm sequence to obtain the fault table; Among them, all target alarm types include: sodium hypochlorite output content, salt content, errors and faults.
5. The alarm display method according to claim 4, characterized in that: After all the second target alarm types are sorted according to the preset priority, a preset number system is generated for the sorted alarm items of the second target alarm type, and the preset number system is input into the stack, including: After sorting the second target alarm types from low to high according to their importance, the preset number system is sequentially input into the stack so that the second target alarm types are sorted out of the stack from high to low according to their importance.
6. The alarm display method according to claim 5, characterized in that: The combining the described first target alarm type and the described second target alarm type and displaying them comprises: According to the preset number system stored in the stack at the current moment, query the fault table to obtain corresponding fault text information; According to the alarm importance, one or more described first target alarm types are selected and combined with the fault text information at the current moment to obtain a combined text; The combined text is displayed in a loop playback manner.
7. The alarm display method according to claim 1, characterized in that: The target equipment includes: a salt chlorine machine; The selecting the alarm types in the first alarm sequence and the second alarm sequence respectively comprises: Select at least one of water temperature, equipment temperature and chlorine production in the first alarm sequence; selecting at least one of sodium hypochlorite output content, salt content, error and failure in the second alarm sequence; Among them, the errors include: software code errors, algorithm logic errors or data processing errors; the failures caused by the errors include software system failures, and partial failure or cessation of work of the system or equipment.
8. An alarm display system, characterized in that: include: A selection module, for selecting the alarm types in the first alarm sequence and the second alarm sequence respectively according to the alarm requirements of the target device; a description module, configured to describe the first target alarm type in the first alarm sequence in a first manner, and describe the second target alarm type in the second alarm sequence in a second manner, when an alarm event occurs in the target device; A display module is used to combine the described first target alarm type and the described second target alarm type for display.
9. A terminal device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the alarm display method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the steps of the alarm display method according to any one of claims 1 to 7 are implemented.