Method for managing prompt information and method for diagnosing device
By managing device status message information through configuration files, the problem of insufficient flexibility in traditional device monitoring systems is solved, enabling flexible management of prompt information and improving the adaptability and diagnostic efficiency of device status monitoring.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHANGHAI UNITED IMAGING HEALTHCARE
- Filing Date
- 2025-01-21
- Publication Date
- 2026-07-21
AI Technical Summary
Traditional equipment monitoring systems have poor flexibility and adaptability, making it difficult to cope with complex and ever-changing industrial environments and equipment types.
The system manages prompts through configuration files, obtains device status message information, matches it with pre-established information, and manages prompts based on the matching results, including prompts for output, clearing, masking, and status change conditions.
It enables flexible management of prompts, adapts to the needs of different devices and states, and improves the flexibility of device status monitoring and the efficiency of problem diagnosis.
Smart Images

Figure CN122437754A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of equipment monitoring technology, and in particular relates to a method for managing prompt information and a method for diagnosing equipment. Background Technology
[0002] In the fields of modern industrial automation and the Internet of Things (IoT), equipment status monitoring and fault early warning are crucial for ensuring stable system operation and efficient maintenance. Traditional equipment monitoring systems often rely on fixed alarm rules and threshold judgments. When the equipment status changes, the system triggers corresponding alarm information based on preset conditions. However, this approach lacks flexibility and adaptability, making it difficult to cope with complex and ever-changing industrial environments and equipment types. Summary of the Invention
[0003] Based on this, embodiments of this application provide a method for managing prompt information and a method for diagnosing devices, which can flexibly manage prompt information through configuration files and can adapt to the needs of different devices and states.
[0004] In a first aspect, embodiments of this application provide a method for managing prompt information, including:
[0005] Obtain message information sent by the device regarding the status of the device;
[0006] The message information is matched with the information in a pre-established configuration file to obtain the matching result;
[0007] Management prompts are based on the matching results.
[0008] In some embodiments, the information in the configuration file includes first configuration information, which includes: a correspondence between first status information and prompt conditions; the management of prompt information based on the matching result includes:
[0009] If the matching result is that the state in the message information matches the first state information in the first configuration information, a prompt message is output.
[0010] In some embodiments, the device includes: a plurality of components for managing prompt information based on the matching results, including:
[0011] If the matching result is that the state in the message information matches the first state information in the first configuration information, the prompt information is generated based on the dynamic encoding corresponding to each component.
[0012] Output the aforementioned prompt message.
[0013] In some embodiments, the information in the configuration file includes: second configuration information, the second configuration information including: the correspondence between second status information and clearing conditions; and the management prompt information based on the matching result includes:
[0014] If the matching result is that the status in the message information matches the second status information in the second configuration information, a first target prompt information to be cleared is determined based on the second configuration information.
[0015] Clear the first target prompt information and output the prompt information corresponding to the state.
[0016] In some embodiments, the information in the configuration file includes third configuration information, which includes: the correspondence between third status information and first blocking conditions; the management prompt information based on the matching result includes:
[0017] If the matching result is that the status in the message information matches the third status information in the third configuration information, the second target prompt information that needs to be blocked is determined based on the third configuration information.
[0018] The second target prompt message is masked, and the prompt message corresponding to the state is output.
[0019] In some embodiments, the information in the configuration file includes fourth configuration information, which includes: the correspondence between fourth status information and second blocking conditions; and the management prompt information based on the matching result includes:
[0020] If the matching result is that the state in the message information matches the fourth state information in the fourth configuration information, the third target prompt information that needs to be cleared is determined based on the fourth configuration information.
[0021] Clear the third target prompt message;
[0022] If the third target prompt information is cleared, the prompt information corresponding to the state is output.
[0023] In some embodiments, the information in the configuration file includes fifth configuration information, which includes: the correspondence between fifth state information and state change conditions; the management prompt information based on the matching result includes:
[0024] If the matching result is that the state in the message information matches the state change condition in the fifth configuration information, the current output prompt information is determined;
[0025] Based on the current output prompt information and the state, determine whether the state change condition is met;
[0026] When the state change conditions are met, output the corresponding prompt information for the state;
[0027] If the state change conditions are not met, maintain the current output message.
[0028] Secondly, embodiments of this application provide a diagnostic method for a device, including:
[0029] The prompt information output by the management method for obtaining the prompt information described in any one of the first aspects;
[0030] The device is diagnosed based on the aforementioned prompt information.
[0031] Thirdly, embodiments of this application provide a management device for notification information, including:
[0032] The first acquisition module is used to acquire message information about the status of the device sent by the device;
[0033] The matching module is used to match the message information with the information in a pre-established configuration file to obtain the matching result;
[0034] The prompt information management module is used to manage prompt information based on the matching results.
[0035] Fourthly, embodiments of this application provide a diagnostic apparatus for a device, comprising:
[0036] The second acquisition module is used to acquire the prompt information output by the management method of the prompt information described in any one of the first aspects;
[0037] The diagnostic module is used to perform anomaly diagnosis on the device based on the prompt information.
[0038] Fifthly, embodiments of this application provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method described in any of the above-mentioned embodiments.
[0039] Sixthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method described in any of the preceding claims.
[0040] In a seventh aspect, embodiments of this application provide a computer program product that, when run on a terminal device, causes an electronic device to execute any of the methods described above.
[0041] This application provides a method for managing prompt information, which involves obtaining message information about the device's status sent by the device; matching the message information with information in a pre-established configuration file to obtain a matching result; and managing prompt information based on the matching result. This method allows for flexible management of prompt information through the configuration file and can adapt to the needs of different devices and statuses. Attached Figure Description
[0042] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1 This is a schematic flowchart of a method for managing prompt information provided in an embodiment of this application;
[0044] Figure 2 A schematic flowchart illustrating a diagnostic method for a device provided in an embodiment of this application;
[0045] Figure 3 This is a schematic diagram of the structure of a notification information management device according to an embodiment of this application;
[0046] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0047] In the accompanying drawings, the same parts are referred to by the same reference numerals, and the drawings are not drawn to scale. Detailed Implementation
[0048] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0049] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0050] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0051] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrases "if determined" or "if detected" may be interpreted, depending on the context, as "once determined," "in response to determination," "once detected," or "in response to detection."
[0052] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0053] References to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized.
[0054] Based on the technical problems of related technologies, this application provides a method for managing prompt information that can be applied to electronic devices such as mobile phones, tablets, wearable devices, in-vehicle devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, and personal digital assistants (PDAs). This application does not limit the specific type of electronic device; the electronic device can be a management system or a monitoring center.
[0055] This application provides a method for managing prompt information. Figure 1 This is a schematic diagram of a method for managing prompt information provided in an embodiment of this application, such as... Figure 1 As shown, the method includes:
[0056] Step S101: Obtain message information about the status of the device sent by the device.
[0057] In this embodiment, the device is a physical entity capable of sending status information. The device can be industrial equipment, a sensor, medical equipment, etc. Optionally, the medical equipment can be a DSA device, DR device, CT device, or other X-ray imaging device. It can also be other imaging devices, such as MR devices, PET devices, etc. Status refers to the current operating state or attribute of the device, such as temperature, humidity, operating condition, business process, usage operation, alarm information, etc. Message information is a data packet or message containing device status information sent by the device through a communication protocol (such as TCP / IP, MQTT, etc.).
[0058] In this embodiment, the device typically sends message information periodically or through event-triggered methods. The electronic device (processor) can receive the message information through a communication interface.
[0059] Step S102: Match the message information with the information in the pre-established configuration file to obtain the matching result.
[0060] In this embodiment, the configuration file contains a series of rules, conditions, or mapping relationships to guide how to process received message information. The configuration file can be a database table, an XML file, a JSON file, or any structure that can store and retrieve rules.
[0061] In this embodiment of the application, the configuration file may include information such as: ErrorID, receiver, dynamic encoding, error reporting conditions, clearing conditions, and ErrorIDs to be blocked (multiple are supported).
[0062] In the example line, the configuration file is an XML file, which is as follows:
[0063]
[0064] In this embodiment, the electronic device (processor) can parse the message information to extract the status. The message information is usually encoded in some format (such as JSON, XML, binary, etc.), therefore the electronic device needs a corresponding parser to decode this information. The parsed data is usually a structured object or data table containing various information about the device status. The status may be a numerical value (such as temperature, humidity), a status flag (such as online / offline), or an enumerated value (such as operating mode, error code, etc.).
[0065] Electronic devices can compare the status information in message messages with the information in configuration files to determine if a match exists. During the comparison, numerical comparisons can be performed. If the rule is a numerical range or threshold (e.g., temperature greater than 30 degrees Celsius), the electronic device will compare the extracted status information with this value. If the rule is a specific string (e.g., error code "E001"), the electronic device will match the extracted status information with this string. If the rule is a logical expression (e.g., "If A and B, then..."), the electronic device will combine multiple extracted status information pieces for logical judgment.
[0066] In this embodiment, the electronic device can determine whether a match exists based on the comparison results. If the status information meets a rule or condition in the configuration file, the matching result is a match; otherwise, the matching result is a non-match.
[0067] Step S103: Manage prompt information based on the matching results.
[0068] In this embodiment, management can involve creating, updating, deleting, or displaying prompt messages. The prompt messages are device status information or alarm messages displayed to users or system administrators, such as "device temperature too high" or "insufficient memory."
[0069] In this embodiment of the application, the prompt information can be displayed to the user through a user interface (such as a webpage, APP, console, etc.) or sent to the system administrator through logs, emails, etc.
[0070] In this embodiment of the application, the prompt information can be output in the form of a prompt message. For example, the prompt message may include: a prompt message dErrorInfo, which contains ErrorID, ErrorStatus, and dynamic encoding (if any) information. Among them, ErrorID is composed of information such as product line, error level, display location, and error source, and is unique; ErrorStatus includes two states: error and clear; and dynamic encoding consists of the number of encodings and the encoding content, supports up to four-digit encoding, and is dynamically updated.
[0071] The method provided in this application embodiment obtains message information about the status of the device sent by the device; matches the message information with information in a pre-established configuration file to obtain a matching result; and manages prompt information based on the matching result. This method can flexibly manage prompt information through the configuration file and can adapt to the needs of different devices and statuses.
[0072] In some embodiments, the information in the configuration file includes first configuration information, which includes the correspondence between first status information and prompt conditions.
[0073] In this embodiment, the configuration file includes first configuration information and other possible configuration information (such as second configuration information, third configuration information, etc.). The first configuration information is a part of the configuration file that defines the correspondence between specific types of status information and error conditions. The first status information refers to the status information defined in the first configuration information section of the configuration file. This status information is typically extracted from the message information sent by the device and used to compare with the prompt conditions in the configuration file. This correspondence is used to determine whether to output prompt information when specific status information is received. Prompt conditions refer to the conditions defined in the first configuration information used to determine whether to output prompt information. These conditions can be numerical ranges, string matching, logical expressions, etc.
[0074] In some embodiments, step S103 may include:
[0075] If the matching result is that the state in the message information matches the first state information in the first configuration information, a prompt message is output.
[0076] In this embodiment, if the matching result is a match, meaning the status information meets a certain prompting condition, the electronic device needs to output a prompting message. This prompting message can be displayed to the user through a user interface (such as a display screen, LED indicator, etc.), or sent to the system administrator through logs, emails, etc. The prompting message can indicate the status or an error; if it indicates an error, it can be called an error message.
[0077] As an example, Table 1 is a message illustration table provided in an embodiment of this application. As shown in Table 1, the message information is: 0x01(ID)0x01(Ready)0x00 0x00, which specifically represents:
[0078]
[0079]
[0080] After matching the status, a prompt message is obtained. This prompt message can be output as a message. Table 2 is a schematic table of a prompt message provided in an embodiment of this application. As shown in Table 2, the output message is: 106A101B00000001 01, which is represented as:
[0081] ErrorID For example, 106A101B00000001 Component X is ready ErrorStatus 1 hint NumOfVariant 0 No dynamic coding Variant1 -- Variant2 -- Variant3 -- Variant4 --
[0082] In this embodiment, if the prompting conditions in the configuration file are met, a prompt message is directly output. The output message may simply display the device status or it may be an error message.
[0083] The method provided in this application embodiment allows an electronic device to match and process received message information based on the first configuration information in the configuration file, thereby outputting display information to help users or system administrators to discover and solve problems in a timely manner and monitor the status of the device.
[0084] In some embodiments, the device includes a plurality of components. A component is a basic building block of the device, responsible for performing a specific function or task. Each component may have a unique identifier or code for differentiation and identification within the device.
[0085] In some embodiments, managing prompt information based on the matching result includes: when the matching result is that the state in the message information matches the first state information in the first configuration information, generating the error prompt information based on the dynamic encoding corresponding to each component; and outputting the error prompt information.
[0086] In this embodiment, when generating an error message, the dynamic codes of the various components related to the error are considered. These dynamic codes may be used to provide detailed information about the location of the error, helping users or system administrators to locate the problem more quickly. For example, if the error is related to a sensor of the device, the message may include the dynamic code and location information of that sensor.
[0087] In this embodiment of the application, after generating the error message, it is output to the user or system administrator.
[0088] In this embodiment of the application, the same ErrorID supports multiple error reporting conditions, and only one of them needs to be met.
[0089] Example line, input message: 0x01 (ID) 0x03 (Error status) 0x04 (Abnormal running status)
[0090] 0x03 (Axis 1, 2 abnormal). Table 3 is a schematic table of an input message provided in an embodiment of this application. As shown in Table 3,
[0091]
[0092] In this embodiment of the application, the prompt information obtained through matching is: 106A101B00000001 01 02 0102. Table 4 is a schematic table of prompt information provided in this embodiment of the application, as shown in Table 4.
[0093] ErrorID For example, 106A101B00000001 Component X is faulty ErrorStatus 1 Error NumOfVariant 2 Two reasons Variant1 01 Axis 1 abnormal Variant2 02 Axis 2 abnormal Variant3 -- Variant4 --
[0094] The method provided in this application embodiment can quickly locate which component is malfunctioning when multiple components malfunction simultaneously, by using dynamic coding, which helps improve the efficiency of equipment problem diagnosis and resolution.
[0095] In some embodiments, the information in the configuration file includes: second configuration information, which includes: the correspondence between second status information and clearing conditions.
[0096] In this embodiment, the second configuration information is another part of the configuration file besides the first configuration information. It defines the correspondence between the second status information and the clearing conditions. These correspondences are used to determine which previously generated prompts (such as error messages) should be cleared and replaced with new prompts in a specific state. The second status information refers to the status information defined in the second configuration information section of the configuration file. The clearing conditions refer to the conditions defined in the second configuration information used to determine whether previously generated prompts need to be cleared. These conditions can be compared with the second status information to determine whether the requirements for clearing prompts are met.
[0097] In some embodiments, the management of prompt information based on the matching result includes:
[0098] If the matching result is that the state in the message information matches the second state information in the second configuration information, a first target prompt information to be cleared is determined based on the second configuration information; the first target prompt information is cleared, and the prompt information corresponding to the state is output.
[0099] In this embodiment, the first target prompt information refers to the prompt information that needs to be cleared, determined based on the matching result and the second configuration information. These prompts may be error messages previously generated due to a problem or issue. The status-corresponding prompt information refers to new prompt information generated based on the status in the current message information and the second configuration information. These prompts are used to replace the cleared first target prompt information to reflect the current status of the device.
[0100] In this embodiment, after determining the first target prompt information that needs to be cleared, a clearing operation is performed, and a new prompt information is generated based on the status and second configuration information in the current message information. The newly generated prompt information is used to replace the cleared first target prompt information.
[0101] In some embodiments, the information in the configuration file includes third configuration information, which includes the correspondence between third status information and first masking conditions.
[0102] In this embodiment, the correspondence in the third configuration information is used to determine which prompts (which may be error messages, warnings, or other types of prompts) should be blocked in a specific state, i.e., not displayed to the user or system administrator. The first blocking condition refers to the condition defined in the third configuration information, used to determine whether specific prompts need to be blocked. These conditions can be compared with the third state information to determine whether the requirements for blocking prompts are met.
[0103] In some embodiments, the management of prompt information based on the matching result includes:
[0104] If the matching result is that the state in the message information matches the third state information in the third configuration information, a second target prompt information that needs to be blocked is determined based on the third configuration information; the second target prompt information is blocked, and the prompt information corresponding to the state is output.
[0105] In this embodiment, the second target prompt information refers to the prompt information that needs to be blocked, determined based on the matching results and the third configuration information. These prompts may have been generated previously due to an event or state, but now, according to the first blocking condition in the third configuration information, they should no longer be displayed to the user or system administrator.
[0106] After identifying the second target prompt information that needs to be blocked, the device performs a blocking operation, that is, it does not output these prompt information to the user or system administrator, but outputs the prompt information corresponding to the status.
[0107] For example, during component reset, situations such as device movement or abnormal operating status may occur. However, these are normal behaviors and do not require prompts regarding movement or operating status; only the reset status needs to be indicated. To address this scenario, a masking function is used to mask both movement and operating status during reset, only indicating the most critical reset status when both occur simultaneously.
[0108] For example, an operational status abnormality occurs first, resulting in error A, followed by a reset, resulting in error B. Error B masks error A. At this point, A is cleared first, and error B is displayed. After the reset is completed, B is cleared, and the system checks again to see if the status abnormality exists. If it does, error A is displayed again.
[0109] In this embodiment of the application, multiple masking relationships can be configured in the configuration file. For example, A masks B, B masks C, but A does not affect C.
[0110] The method provided in this application can determine which prompts need to be blocked based on the status information in the message information and the third configuration information in the configuration file, and control the output of the prompts. This helps improve the flexibility of the device and the user experience, and avoids displaying unnecessary or repetitive prompts to users or system administrators.
[0111] In some embodiments, the information in the configuration file includes fourth configuration information, which includes the correspondence between fourth status information and second masking conditions.
[0112] In this embodiment, the fourth configuration information is a new addition to the configuration file, defining the correspondence between the fourth status information and the second masking conditions. These correspondences are used to determine which previously generated prompts (which may be error messages, warnings, or other types of prompts) should be cleared in a specific status.
[0113] In this embodiment of the application, the second shielding condition is actually a clearing condition, which refers to the condition defined in the fourth configuration information, used to determine whether specific prompt information needs to be cleared.
[0114] In some embodiments, the management of prompt information based on the matching result includes:
[0115] If the matching result is that the state in the message information matches the fourth state information in the fourth configuration information, a third target prompt information that needs to be cleared is determined based on the fourth configuration information; the third target prompt information is cleared; and if the third target prompt information is cleared, the prompt information corresponding to the state is output.
[0116] In this embodiment, the parsed status information is compared with the fourth configuration information in the configuration file. If the status information matches a certain clearing condition, the third target prompt information that needs to be cleared is determined. After determining the third target prompt information that needs to be cleared, a clearing operation is performed, that is, they are removed from the display list or storage location of these prompt information. After clearing the third target prompt information, the prompt information corresponding to the status is output.
[0117] For example, if ErrorID_2 occurs first and then ErrorID_1 occurs, ErrorID_2 is cleared first, and ErrorID_1 reports an error. After ErrorID_1 is cleared, ErrorID_2 is rechecked to see if it is still reporting an error.
[0118] In some embodiments, the information in the configuration file includes fifth configuration information, which includes the correspondence between fifth state information and state change conditions.
[0119] In this embodiment, the fifth configuration information is a specific part of the configuration file, used to define the correspondence between the fifth state information and the state change conditions. These correspondences help the device determine whether the currently output prompt information needs to be updated based on the current state information and the state change conditions. The state change conditions are defined in the fifth configuration information and are used to determine whether the current state has led to a condition requiring an update of the prompt information.
[0120] In some embodiments, the management of prompt information based on the matching result in step S103 can be achieved through the following steps:
[0121] Step S1031: If the matching result is that the state in the message information matches the state change condition in the fifth configuration information, determine the currently output prompt information;
[0122] Step S1032: Determine whether the state change condition is met based on the currently output prompt information and the state.
[0123] Step S1033: If the state change condition is met, output the prompt information corresponding to the state;
[0124] Step S1034: If the state change conditions are not met, maintain the current output prompt message.
[0125] In this embodiment, if the state change condition is met, a new prompt message is generated based on the current state and the fifth configuration information, and this new prompt message replaces the currently output prompt message. If the state change condition is not met, the currently output prompt message remains unchanged.
[0126] For example, the movement of components in an X-ray imaging device (such as DSA, DR, etc.) consists of multiple axes and has an overall motion state. When the first axis starts to move, the overall motion state is set, and the remaining axes maintain this set state during their movement.
[0127] Input message 1: 0x01 (ID) 0x04 (working) 0x02 (movement) 0x01 (Axis 1 starts moving);
[0128] Input message 2: 0x01 (ID) 0x04 (working) 0x02 (movement) 0x03 (axis 1 and 2 start moving);
[0129] Input message 3: 0x01 (ID) 0x04 (working) 0x02 (movement) 0x07 (axis 1, 2, 3 start moving); ...
[0131] Input message N: 0x01 (ID) 0x01 (Ready) 0x00 (Stationary) 0x00 (All axes stationary);
[0132] Table 5 is a schematic table of an input message format provided in the embodiments of this application. As shown in Table 5,
[0133]
[0134] When the input message is received, the motion status bit changes from 0 to 1 to indicate the start of motion. The prompt will not be repeated during the entire motion process.
[0135] When input message N occurs, the motion status bit changes from 1 to 0, indicating the end of the motion.
[0136] The method provided in this application embodiment provides a prompt when the state changes, and the state remains unchanged during the process. Even if the state is received again, the prompt will not be repeated.
[0137] Based on the foregoing embodiments, this application further provides a method for diagnosing a device. Figure 2 This is a schematic diagram illustrating the implementation flow of a device diagnostic method provided in an embodiment of this application, as shown below. Figure 2 As shown, it includes:
[0138] Step S201: Obtain the prompt information output by the prompt information management method described in the above embodiments.
[0139] In this embodiment, the monitoring system may provide an API (Application Programming Interface) or a web interface that allows external systems or users to query current alert information. Through this interface, the latest alert information output by the alert information management method can be obtained.
[0140] Step S202: Perform anomaly diagnosis on the device based on the prompt information.
[0141] In this embodiment of the application, the prompt information can be analyzed, including understanding the meaning of the prompt information, determining the specific conditions that trigger the prompt information, and checking any related logs or data. Based on the description of the prompt information and the device's configuration file, an attempt can be made to locate the root cause of the problem, thereby realizing the abnormal diagnosis of the device.
[0142] The method provided in this application embodiment obtains the prompt information output by the management method of the prompt information; and performs anomaly diagnosis on the device based on the prompt information. This can decouple prompt management and diagnosis, and the anomaly diagnosis does not need to directly focus on the specific status of the device, but only needs to focus on the corresponding error information to find a solution.
[0143] According to the foregoing embodiments, this application provides a design apparatus for a vibration damping device. The various modules and units included in the apparatus can be implemented by a processor in a computer device; of course, they can also be implemented by specific logic circuits. In the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA), etc.
[0144] This application provides a device for managing notification information. Figure 3 This is a schematic diagram of the structure of a notification information management device provided in an embodiment of this application, as shown below. Figure 3 As shown, the management device 300 for prompting information includes:
[0145] The first acquisition module 301 is used to acquire message information about the status of the device sent by the device;
[0146] The matching module 302 is used to match the message information with the information in a pre-established configuration file to obtain a matching result;
[0147] The prompt information management module 303 is used to manage prompt information based on the matching results.
[0148] In some embodiments, the information in the configuration file includes first configuration information, which includes: the correspondence between first status information and prompt conditions; the prompt information management module 303 includes:
[0149] The first output unit is configured to output a prompt message when the matching result is that the state in the message information matches the first state information in the first configuration information.
[0150] In some embodiments, the device includes: a plurality of components, wherein the prompt information management module 303 includes:
[0151] The generation module is used to generate the error message based on the dynamic encoding corresponding to each component when the matching result is that the state in the message information matches the first state information in the first configuration information.
[0152] The second output unit is used to output the error message.
[0153] In some embodiments, the information in the configuration file includes: second configuration information, the second configuration information including: the correspondence between second status information and clearing conditions, and the prompt information management module 303 includes:
[0154] The first determining unit is configured to determine, based on the second configuration information, a first target prompt information to be cleared when the matching result is that the state in the message information matches the second state information in the second configuration information.
[0155] The third output unit is used to clear the first target prompt information and output the prompt information corresponding to the state.
[0156] In some embodiments, the information in the configuration file includes third configuration information, which includes: the correspondence between third status information and first blocking conditions. The prompt information management module 303 includes:
[0157] The second determining unit is configured to determine, based on the third configuration information, the second target prompt information that needs to be blocked when the matching result is that the state in the message information matches the third state information in the third configuration information.
[0158] The fourth output unit is used to mask the second target prompt information and output the prompt information corresponding to the state.
[0159] In some embodiments, the information in the configuration file includes fourth configuration information, which includes: the correspondence between fourth status information and second blocking conditions. The prompt information management module 303 includes:
[0160] The third determining unit is used to determine, based on the fourth configuration information, the third target prompt information that needs to be cleared when the matching result is that the state in the message information matches the fourth state information in the fourth configuration information;
[0161] A clearing unit is used to clear the third target prompt information;
[0162] The fifth output unit is used to output the prompt information corresponding to the state when the third target prompt information is cleared.
[0163] In some embodiments, the information in the configuration file includes fifth configuration information, which includes: the correspondence between fifth state information and state change conditions. The prompt information management module 303 includes:
[0164] The fourth determining unit is used to determine the currently output prompt information when the matching result is that the state in the message information matches the state change condition in the fifth configuration information;
[0165] The fifth determining unit is used to determine whether the state change condition is met based on the currently output prompt information and the state.
[0166] The sixth output unit is used to output the prompt information corresponding to the state when the state change condition is met;
[0167] The maintenance unit is used to maintain the currently output prompt information even when the state change conditions are not met.
[0168] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.
[0169] In addition, the positioning device can be a software unit, a hardware unit, or a combination of software and hardware. It can also be integrated into the electronic device as an independent accessory, or exist as an independent terminal device.
[0170] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0171] Figure 4 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application, such as... Figure 4 As shown, the electronic device 3 in this embodiment may include: at least one processor 30 ( Figure 4Only one processor 30, memory 31, and computer program 32 stored in memory 31 and executable on at least one processor 30 are shown. When the processor 30 executes the computer program 32, it implements the steps in any of the above method embodiments, or the processor 30 executes the computer program 32 to implement the functions of each module / unit in the above system embodiments.
[0172] For example, computer program 32 may be divided into one or more modules / units, one or more of which are stored in memory 31 and executed by processor 30 to complete this application. One or more modules / units may be a series of computer program 32 instruction segments capable of performing a specific function, which describe the execution process of computer program 32 in electronic device 3.
[0173] This application also provides a computer-readable storage medium storing a computer program 32, which, when executed by a processor 30, implements the steps described in the above-described method embodiments.
[0174] This application provides a computer program product that, when run on an electronic device, enables the electronic device to perform the steps described in the various method embodiments above.
[0175] If the integrated unit is implemented as 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, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program 32 instructing related hardware. The computer program 32 can be stored in a computer-readable storage medium, and when executed by the processor 30, it can implement the steps of the various method embodiments described above. The computer program 32 includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. A computer-readable medium can include at least: any entity or device capable of carrying computer program code to a terminal, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.
[0176] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0177] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0178] In the embodiments provided in this application, it should be understood that the disclosed apparatus / network devices and methods can be implemented in other ways. For example, the apparatus / network device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0179] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0180] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method for managing notification information, characterized in that, include: Obtain message information sent by the device regarding the status of the device; The message information is matched with the information in a pre-established configuration file to obtain the matching result; Management prompts are based on the matching results.
2. The method according to claim 1, characterized in that, The information in the configuration file includes first configuration information, which includes: the correspondence between first status information and prompt conditions; the management of prompt information based on the matching result includes: If the matching result is that the state in the message information matches the first state information in the first configuration information, a prompt message is output.
3. The method according to claim 2, characterized in that, The device includes: multiple components that manage prompt information based on the matching results, including: If the matching result is that the state in the message information matches the first state information in the first configuration information, the prompt information is generated based on the dynamic encoding corresponding to each component. Output the aforementioned prompt message.
4. The method according to claim 1, characterized in that, The information in the configuration file includes: second configuration information, which includes the correspondence between second status information and clearing conditions; and the management prompt information based on the matching result includes: If the matching result is that the status in the message information matches the second status information in the second configuration information, a first target prompt information to be cleared is determined based on the second configuration information. Clear the first target prompt information and output the prompt information corresponding to the state.
5. The method according to claim 1, characterized in that, The information in the configuration file includes third configuration information, which includes: the correspondence between third status information and the first blocking condition; and the management prompt information based on the matching result includes: If the matching result is that the status in the message information matches the third status information in the third configuration information, the second target prompt information that needs to be blocked is determined based on the third configuration information. The second target prompt message is masked, and the prompt message corresponding to the state is output.
6. The method according to claim 1, characterized in that, The information in the configuration file includes fourth configuration information, which includes: the correspondence between fourth status information and second blocking conditions; and the management prompt information based on the matching result includes: If the matching result is that the state in the message information matches the fourth state information in the fourth configuration information, the third target prompt information that needs to be cleared is determined based on the fourth configuration information. Clear the third target prompt message; If the third target prompt information is cleared, the prompt information corresponding to the state is output.
7. The method according to claim 1, characterized in that, The information in the configuration file includes fifth configuration information, which includes: the correspondence between fifth state information and state change conditions; and the management prompt information based on the matching result includes: If the matching result is that the state in the message information matches the state change condition in the fifth configuration information, the current output prompt information is determined; Based on the current output prompt information and the state, determine whether the state change condition is met; When the state change conditions are met, output the corresponding prompt information for the state; If the state change conditions are not met, maintain the current output message.
8. A diagnostic method for a device, characterized in that, include: The prompt information output by the management method for obtaining the prompt information according to any one of claims 1 to 7; The device is diagnosed based on the aforementioned prompt information.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1 to 8.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 8.