State display method and device, valve control device, equipment, medium and program product

By combining periodic messages with mutation messages, the problem of untimely and inaccurate display of valve control devices in strong electromagnetic environments is solved, the real-time and accuracy of status display is achieved, and the operation and maintenance efficiency and safety are improved.

CN120658629APending Publication Date: 2025-09-16CONTEMPORARY AMPEREX FUTURE ENERGY RES INST (SHANGHAI) LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410296094.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-14
Publication Date
2025-09-16

AI Technical Summary

Technical Problem

The valve control device is prone to untimely and inaccurate status display in a strong electromagnetic environment. The existing detection method requires manual operation, which is inefficient and cannot detect problems in time, which may cause serious losses.

Method used

The communication mechanism adopts periodic messages and mutation messages. Periodic messages periodically update the display module content, and mutation messages synchronously change the display when the status changes. Combined with the message counting and verification mechanism, the real-time and accuracy of the display are ensured.

Benefits of technology

It realizes the real-time and accurate display of the status of the valve control device, reduces the need for manual detection, improves efficiency and accuracy, and avoids losses caused by untimely display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120658629A_ABST
    Figure CN120658629A_ABST
Patent Text Reader

Abstract

The invention relates to a state display method and device, a valve control device, equipment, a medium and a program product. The method comprises the following steps: receiving periodic messages respectively sent by a plurality of valve control processors; determining a first display module corresponding to each period message, and controlling the corresponding first display module to perform state display according to each period message; and under the condition that at least one abrupt change message sent by the valve control processor is received, determining a second display module corresponding to each abrupt change message, and controlling the corresponding second display module to perform state display according to the abrupt change message. According to the invention, the state of the valve control device can be timely and accurately displayed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of status display technology, and in particular to a status display method, device, valve control device, equipment, medium and program product. Background Art

[0002] With the development of the power industry, valve control devices are widely used in the power industry. Currently, operation and maintenance personnel can obtain the status of the valve control device from the status display device connected to the valve control device, and determine the next action or operation of the valve control device based on the different status.

[0003] However, since the valve control device is in a strong electromagnetic environment, it is easy to cause the status display device to display untimely and inaccurately. Summary of the Invention

[0004] Based on the above problems, the present application provides a status display method, device, valve control device, equipment, medium and program product, which can display the status of the valve control device in a timely and accurate manner.

[0005] In a first aspect, the present application provides a status display method, which includes: receiving periodic messages sent by multiple valve control processors respectively; determining a first display module corresponding to each periodic message, and controlling the corresponding first display module to display the status according to each periodic message; when receiving a mutation message sent by at least one valve control processor, determining a second display module corresponding to each mutation message, and controlling the corresponding second display module to display the status according to the mutation message.

[0006] In the technical solution of the embodiment of the present application, periodic messages are used to periodically update the display content of the display module, ensuring the real-time display of the display module; mutation messages are used to synchronously change the display content of the display module when the state of the valve control device changes, ensuring the timeliness of the display of the display module. In this way, the communication mechanism of periodic messages combined with mutation messages can enable operation and maintenance personnel to discover problems in time and avoid serious losses.

[0007] In some embodiments, determining the first display module corresponding to each periodic message and controlling the corresponding first display module to display the status according to each periodic message includes: determining the first display module corresponding to each periodic message based on a pre-set correspondence between the valve control processor and the display module and the valve control processor that sends the periodic message; extracting control information from the periodic message; and controlling the first display module to display the status according to the control information. In the technical solution of the embodiment of the present application, the status of the valve control device can be displayed in real time and accurately through the periodic message, without the need for manual detection by operation and maintenance personnel, which is not only efficient but also highly accurate.

[0008] In some embodiments, the method further includes: extracting verification information from the periodic message; performing verification processing on the periodic message based on the verification information; and correspondingly controlling the first display module to display the status based on the control information, including: if the verification passes, controlling the first display module to display the status based on the control information. In the technical solution of the embodiment of the present application, setting the verification information in the periodic message can verify the periodic message, thereby improving the reliability of the periodic message and further improving the accuracy of the status display.

[0009] In some embodiments, the control information includes a display light identifier, on / off information, and color information. Controlling the first display module to display a status based on the control information includes: generating at least one control instruction based on the display light identifier, on / off information, and color information; and sending the control instruction to the first display module to control the display light in the first display module to turn on or off and to display a preset color. In the technical solution of the embodiments of the present application, by providing the display light identifier, on / off information, and color information in the control information, concise and clear control instructions can be generated, thereby quickly controlling the display module to display a status.

[0010] In some embodiments, the method further includes: obtaining the number of periodic messages sent by each valve-controlled processor within a timing period; and if the number of periodic messages sent by a target valve-controlled processor is 0, controlling a target display module corresponding to the target valve-controlled processor to display a communication interruption. In the technical solution of the embodiments of the present application, by counting periodic messages, it is possible to determine whether a communication interruption has occurred, eliminating the need for manual detection by operation and maintenance personnel, thereby improving efficiency, accuracy, and security.

[0011] In some embodiments, the method further includes: if the number of periodic messages sent by each valve control processor is not zero, clearing the timer and the message counter corresponding to each valve control processor. In the technical solution of the embodiment of the present application, the clearing process prepares for the next timing cycle, so that timing and counting can be accurately performed, thereby accurately determining and displaying the communication status, so that operation and maintenance personnel can take appropriate measures in a timely manner after an abnormality occurs.

[0012] In some embodiments, obtaining the number of periodic messages sent by each valve-controlled processor within a timing period includes: within the timing period, if a periodic message sent by a valve-controlled processor is received, controlling a message counter corresponding to the valve-controlled processor to perform a counting and accumulation operation until the timing period ends, thereby obtaining the number of periodic messages sent by the valve-controlled processor. In the technical solution of the embodiment of the present application, the message counter can be used to determine the communication status, which is simple to implement and highly efficient.

[0013] In some embodiments, the method further comprises: after receiving the periodic message, feeding back a reply message to the valve control processor that sent the periodic message. In the technical solution of the embodiment of the present application, the reply message can be used to feed back to the valve control processor that communication is normal, providing a basis for the valve control processor to take measures.

[0014] In a second aspect, the present application further provides a status display device, comprising:

[0015] A message receiving module, used for receiving periodic messages sent by multiple valve control processors;

[0016] a first display control module, configured to determine a first display module corresponding to each periodic message, and control the corresponding first display module to display a status according to each periodic message;

[0017] The second display control module is configured to determine the second display module corresponding to each mutation message upon receiving the mutation message sent by at least one valve control processor, and control the corresponding second display module to display status according to the mutation message.

[0018] In a third aspect, the present application further provides a valve control device, which includes multiple energy storage units, multiple valve control processors, a control processor, and multiple display modules; the energy storage units are connected to the valve control processors in a one-to-one correspondence, and the control processors are respectively connected to the multiple valve control processors and the multiple display modules;

[0019] A valve control processor is used to obtain status information of the energy storage unit;

[0020] A control processor is used to execute the method as described in any one of the first aspects.

[0021] In a fourth aspect, the present application further provides an electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements any one of the methods in the first aspect when executing the computer program.

[0022] In a fifth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements any one of the methods in the first aspect when executed by a processor.

[0023] In a sixth aspect, the present application further provides a computer program product, comprising a computer program, which implements any one of the methods in the first aspect when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Various other advantages and benefits will become apparent to those skilled in the art upon reading the detailed description of the optional embodiments below. The accompanying drawings are for illustration purposes only and are not to be considered as limiting the present application. The same reference numerals are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0025] Figure 1 This is a schematic structural diagram of a valve control device according to an embodiment of the present application;

[0026] Figure 2 1 is a flow chart of a status display method according to an embodiment of the present application;

[0027] Figure 3 This is a flow chart of the steps of controlling the first display module to display status according to an embodiment of the present application;

[0028] Figure 4 This is a flow chart of the steps of controlling the first display module to display status according to an embodiment of the present application;

[0029] Figure 5 1 is a flow chart of a communication status determination step according to an embodiment of the present application;

[0030] Figure 6 This is a structural block diagram of a status display device according to an embodiment of the present application;

[0031] Figure 7 This is a structural block diagram of a status display device according to an embodiment of the present application;

[0032] Figure 8 This is a structural block diagram of a status display device according to an embodiment of the present application;

[0033] Figure 9 This is a structural block diagram of a status display device according to an embodiment of the present application;

[0034] Figure 10 This is a diagram of the internal structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0035] The following embodiments of the technical solution of the present application will be described in detail with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application and are therefore only examples and are not intended to limit the scope of protection of the present application.

[0036] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned figure descriptions are intended to cover non-exclusive inclusions.

[0037] In the description of the embodiments of this application, the technical terms "first" and "second" are used only to distinguish different objects and should not be understood to indicate or imply relative importance or implicitly specify the quantity, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, the meaning of "plurality" is more than two, unless otherwise clearly and specifically defined.

[0038] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0039] In the description of the embodiments of this application, the term "and / or" is simply a description of the association relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent the following three situations: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this document generally indicates that the associated objects are in an "or" relationship.

[0040] In the description of the embodiments of the present application, unless otherwise expressly specified or limited, technical terms such as "installed," "connected," "connected," and "fixed" should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integration; mechanical connections or electrical connections; direct connections or indirect connections through an intermediate medium; internal connections between two components or interactions between two components. Those skilled in the art can understand the specific meanings of the above terms in the embodiments of the present application based on specific circumstances.

[0041] With the development of the power industry, valve control devices have become widely used. Currently, operations and maintenance personnel can obtain the status of the valve control device from a status display device connected to the valve control device and determine the next action or operation required by the valve control device based on the different statuses. However, because the valve control device is in a strong electromagnetic environment, hardware failures in the valve control device or the status display device, or communication failures between the valve control device and the status display device, can easily occur, resulting in untimely and inaccurate status display.

[0042] In the related art, the valve control device cannot obtain the display status of the status display device. When checking whether the status display device is normal, the operation and maintenance personnel need to control the valve control device to send a confirmation message to the status display device. The detection result is then determined based on whether the status display device displays according to the confirmation message. It can be seen that this detection method requires manual operation and is inefficient. Moreover, if the status display device cannot promptly and accurately display the status of the valve control device when an abnormality occurs, the operation and maintenance personnel will not be able to detect the problem in time, which will cause serious losses.

[0043] In view of the above-mentioned problem, an embodiment of the present application provides a status display solution, in which a control processor receives periodic messages sent by multiple valve control processors respectively; determines the first display module corresponding to each periodic message, and controls the corresponding first display module to display the status according to each periodic message; upon receiving a mutation message sent by at least one valve control processor, determines the second display module corresponding to each mutation message, and controls the corresponding second display module to display the status according to the mutation message. In the technical solution of the embodiment of the present application, the use of periodic messages can periodically update the display content of the display module, ensuring the real-time display of the display module; the use of mutation messages can make the display module synchronously change the display content when the state of the valve control device changes, ensuring the timeliness of the display of the display module. In this way, the communication mechanism of periodic messages combined with mutation messages can enable operation and maintenance personnel to discover problems in time and avoid serious losses.

[0044] The following describes the technical solutions involved in the embodiments of the present application in combination with the scenarios in which the embodiments of the present application are applied.

[0045] The status display method disclosed in the embodiment of the present application can be applied to Figure 1In the valve control device shown. The valve control device includes multiple energy storage units 101, multiple valve control processors 102, a control processor 103 and multiple display modules 104; the energy storage units 101 are connected to the valve control processors 102 in a one-to-one correspondence. The control processor 103 is respectively connected to the multiple valve control processors 102 and the multiple display modules 104. The above-mentioned energy storage unit 101 can be composed of multiple batteries. For example, multiple batteries are first connected in series to form a battery cluster, and multiple battery clusters are then connected in parallel to form the energy storage unit 101. The above-mentioned display module 104 can include but is not limited to various display screens, indicator lights, etc., wherein the indicator lights can be composed of multiple LEDs (Light-Emitting Diodes) to display numbers and text; the indicator lights can also be composed of colored lights.

[0046] In some embodiments of the present application, the control processor 103 and the plurality of display modules 104 may also be separated from the valve control device 10 to form an independent status display device.

[0047] According to some embodiments of the present application, referring to Figure 2 , provides a status display method, which is applied to Figure 1 Taking the control processor in the example as an example, the following steps may be included:

[0048] Step 201: Receive periodic messages respectively sent by multiple valve control processors.

[0049] The periodic message is a message sent according to a preset sending period.

[0050] During operation of the valve control device, each valve control processor collects status information from the corresponding energy storage unit, such as the battery's voltage, current, output power, and temperature. Based on this information, the valve control processor detects changes in the energy storage unit's status and generates periodic messages based on the detection results. The valve control processor then sends these periodic messages to the control processor according to a preset transmission period.

[0051] Correspondingly, the control processor receives periodic messages sent by multiple valve control processors. For example, valve control processor 1, valve control processor 2, ..., valve control processor N send periodic messages to the control processor, and the control processor receives periodic messages sent by valve control processor 1, valve control processor 2, ..., valve control processor N.

[0052] Step 202 : determining the first display module corresponding to each periodic message, and controlling the corresponding first display module to display status according to each periodic message.

[0053] The periodic message may include a module identifier of the display module corresponding to the message and a status identifier indicating whether the energy storage unit status has changed.

[0054] The valve control processor can pre-store the module identification of the display module. After detecting whether the state of the energy storage unit has changed, the state identification is determined according to the detection result; then, a periodic message is generated according to the module identification and the state identification, and then the periodic message is sent to the control processor.

[0055] The control processor receives the periodic message, determines the first display module corresponding to the message according to the module identifier in the periodic message, and controls the first display module to display the status according to the status identifier in the periodic message.

[0056] For example, if the module ID in a periodic message is 01 and the status ID is T, then after receiving the periodic message, the control processor determines that display module 1 is the first display module based on the module ID 01 and controls display module 1 to display "normal" based on the status ID. If the module ID in a periodic message is 02 and the status ID is F, then after receiving the periodic message, the control processor determines that display module 2 is the first display module based on the module ID 02 and controls display module 1 to display "abnormal" based on the status ID.

[0057] It should be noted that the module identification and status identification are not limited to the above examples. In practical applications, other description methods can also be used.

[0058] Step 203 : upon receiving a mutation message sent by at least one valve control processor, determining a second display module corresponding to each mutation message, and controlling the corresponding second display module to display a status according to the mutation message.

[0059] The mutation message is a message sent by the valve control processor after detecting a change in the state of the energy storage unit. The change in the state of the energy storage unit may include an abnormality in the energy storage unit or a controlled switching state of the energy storage unit.

[0060] Since periodic messages are sent according to a preset sending period, if the preset sending period is set to a long period, the status change cannot be transmitted to the control processor in a timely manner, and the display module cannot display the status change in a timely manner. Based on this situation, the embodiment of the present application combines mutation messages on the basis of periodic messages.

[0061] After detecting a change in the energy storage unit's status, the valve control processor generates a mutation message and sends it to the control processor. Upon receiving the mutation message, the control processor determines the corresponding second display module based on the module identifier in the mutation message and controls the second display module to display the status based on the status identifier in the mutation message. The structure of the mutation message can mirror that of the periodic message; the module identifier and status identifier in the mutation message can be the same as those in the periodic message.

[0062] Understandably, if only mutation messages were sent and received between the valve control processor and the control processor, the control processor would not operate the display module without receiving a mutation message, and the display module would not be able to reflect the energy storage unit's status in real time. However, a communication mechanism that combines periodic and mutation messages not only reflects the energy storage unit's status in real time, but also promptly reflects the energy storage unit's status when a mutation occurs.

[0063] In the above embodiment, periodic messages sent by multiple valve control processors are received; the first display module corresponding to each periodic message is determined, and the corresponding first display module is controlled to display the status according to each periodic message; when a mutation message sent by at least one valve control processor is received, the second display module corresponding to each mutation message is determined, and the corresponding second display module is controlled to display the status according to the mutation message. In the technical solution of the embodiment of the present application, the display content of the display module can be periodically updated by using periodic messages, thereby ensuring the real-time display of the display module; the display content of the display module can be synchronously changed by using mutation messages when the state of the valve control device changes, thereby ensuring the timeliness of the display of the display module. In this way, the communication mechanism of combining periodic messages with mutation messages can enable operation and maintenance personnel to discover problems in a timely manner and avoid serious losses.

[0064] According to some embodiments of the present application, referring to Figure 3 In the above embodiment, one implementation of the step of “determining the first display module corresponding to each periodic message, and controlling the corresponding first display module to display the status according to each periodic message” may include the following steps:

[0065] Step 301 : Determine the first display module corresponding to each periodic message according to the preset correspondence between the valve control processor and the display module and the valve control processor that sends the periodic message.

[0066] The control processor can pre-set the correspondence between the valve control processor and the display module. After receiving the periodic message, the control processor can determine the valve control processor that sent the periodic message according to the communication interface, and then determine the first display module corresponding to the periodic message according to the above correspondence.

[0067] For example, the control processor pre-sets valve-controlled processor 1 to correspond to display module 1, valve-controlled processor 2 to correspond to display module 2, and so on. After receiving periodic message 1, the control processor determines, through the communication interface, that valve-controlled processor 1 sent periodic message 1. Based on the above correspondence, it can be determined that periodic message 1 corresponds to display module 1. Similarly, the first display module corresponding to each periodic message can be determined.

[0068] Step 302: extract control information from the periodic message.

[0069] The periodic message may be composed of a frame header, a message type, a frame length, a frame sequence number, control information, and a frame trailer, as shown in Table 1.

[0070] Table 1

[0071]

[0072] The frame header and frame trailer indicate the starting and ending positions of the message, respectively. The message type indicates whether the message is a periodic message. The frame length indicates the length of the message. The frame sequence number indicates the message's transmission sequence number or message identifier. The control information may include content to be displayed or control instructions. The frame header, message type, frame length, frame sequence number, control information, and frame trailer each occupy a preset number of bits.

[0073] After receiving a periodic message, the control processor can first determine the starting and ending positions of the message based on the frame header and frame trailer, and then determine whether the message is a periodic message based on the message type. Then, if the message is a periodic message, the control processor extracts the control information from the periodic message according to the structure of the periodic message.

[0074] For example, the content to be displayed extracted from the periodic message is that the status is normal, or the control instruction extracted from the periodic message is to control the normal indicator light to light up.

[0075] It should be noted that the control information is not limited to the above description and can be set according to actual conditions.

[0076] Step 303: Control the first display module to display status according to the control information.

[0077] After extracting the control information, the control processor can directly send the control information to the first display module. The first display module receives the control information and displays the status accordingly. For example, if the control information indicates that the content to be displayed is in a normal state, the control processor sends the control information to the first display module, and the first display module displays the word "normal" on the display screen.

[0078] Alternatively, the control processor can generate a control instruction based on the control information and send the control instruction to the first display module; the first display module receives the control instruction and displays the status according to the control instruction. For example, if the display module includes three indicator lights: normal operation, alarm, and shutdown, the control processor can generate a control instruction "100" based on the control information and send the control instruction to the first display module. After receiving the control instruction, the first display module will control the normal operation indicator to light up and the alarm and shutdown indicators to turn off.

[0079] It should be noted that the structure of the first display module is not limited to a display screen and various indicator lights. Therefore, the control information and the display mode of the first display module are not limited to the above description and can be set according to actual conditions.

[0080] In the above embodiment, the first display module corresponding to each periodic message is determined based on the pre-set correspondence between the valve control processor and the display module and the valve control processor that sends the periodic message; control information is extracted from the periodic message; and the first display module is controlled to display the status based on the control information. In the technical solution of the embodiment of the present application, the status of the valve control device can be displayed in real time and accurately through periodic messages, eliminating the need for manual detection by operation and maintenance personnel, which is not only efficient but also highly accurate.

[0081] Based on the above embodiments, Figure 4 , the embodiment of the present application may further include the following steps:

[0082] Step 304: extract verification information from the periodic message.

[0083] Among them, the periodic message can be composed of a frame header, message type, frame length, frame sequence number, control information, check information and frame tail, as shown in Table 2:

[0084] Table 2

[0085]

[0086] It should be noted that the structure of the mutation message may refer to the structure of the periodic message, and the message type indicates that the message is a mutation message.

[0087] After receiving the periodic message, the control processor may extract the verification information and control information from the periodic message according to the structure of the periodic message; or the control processor may first extract the verification information from the periodic message and then extract the control information after verification processing.

[0088] Step 305: Verify the periodic message according to the verification information.

[0089] The verification information may include a first verification code.

[0090] The control processor can generate a second check code based on one or more of the message type, frame length, frame sequence number, and control information; then, compare the second check code with the first check code; if the second check code is consistent with the first check code, it indicates that the check is passed; if the second check code is inconsistent with the first check code, it indicates that the check has failed.

[0091] Correspondingly, the above step 303 may include: if the verification passes, controlling the first display module to display the status according to the control information.

[0092] If the verification passes, the control processor controls the first display module to display the status based on the control information. If the verification fails, the control processor does not operate the first display module. Furthermore, if the verification fails, the control processor may send a verification failure message to the valve control processor that sent the periodic message, notifying the valve control processor of the verification failure so that the valve control processor can resend the periodic message or take other measures.

[0093] In some embodiments of the present application, the control information includes a display light identification, on and off information, and color information, and controlling the first display module to display status according to the control information includes: generating at least one control instruction according to the display light identification, on and off information, and color information; sending the control instruction to the first display module to control the display light in the first display module to turn on or off and display a preset color.

[0094] For example, a first display module includes N display lights. The control information may include the identifier, on / off information, and color information of display light 1; the identifier, on / off information, and color information of display light 2; and the identifier, on / off information, and color information of display light N. The control processor may generate a first set of control instructions based on the identifier, on / off information, and color information of display light 1; a second set of control instructions based on the identifier, on / off information, and color information of display light 2; and so on, generating an Nth set of control instructions based on the identifier, on / off information, and color information of display light N. The control processor sends the multiple sets of control instructions to the first display module. After receiving the control instructions, the first display module controls display light 1 to turn on or off according to the first set of control instructions, and to display a preset color when on. The module controls display light 2 to turn on or off according to the second set of control instructions, and to display a preset color when on. Similarly, the Nth set of control instructions controls display light N to turn on or off, and to display a preset color when on.

[0095] It can be understood that by setting the display light identification, on / off information and color information in the control information, a concise and clear control instruction can be generated, thereby quickly controlling the display module to display the status.

[0096] In the above embodiment, verification information is extracted from the periodic message; and the periodic message is verified based on the verification information. In the technical solution of the embodiment of the present application, verification information is set in the periodic message to verify the periodic message, thereby improving the reliability of the periodic message and further improving the accuracy of the status display.

[0097] According to some embodiments of the present application, referring to Figure 5 , the embodiment of the present application may further include the following steps for determining the communication status:

[0098] Step 401: Acquire the number of periodic messages sent by each valve control processor within a timing period.

[0099] The control processor may count the sending time of the periodic messages of each valve control processor to obtain the number of periodic messages sent by each valve control processor within a timing period.

[0100] For example, by counting the sending time of the periodic message of valve control processor 1, the number of periodic messages sent by valve control processor 1 within the timing cycle can be obtained; by counting the sending time of the periodic message of valve control processor 2, the number of periodic messages sent by valve control processor 2 within the timing cycle can be obtained. Similarly, the number of periodic messages sent by each valve control processor within the timing cycle can be obtained.

[0101] Step 402 : When the number of periodic messages sent by the target valve control processor is 0, control the target display module corresponding to the target valve control processor to display a communication interruption.

[0102] If the number of periodic messages sent by the target valve-control processor among the multiple valve-control processors is zero, it indicates that the control processor has not received any periodic messages from the target valve-control processor within this timing cycle, and communication between the control processor and the target valve-control processor has been interrupted. In this case, the control processor first determines the target display module corresponding to the target valve-control processor and then controls the target display module to indicate that communication has been interrupted.

[0103] For example, the number of periodic messages sent by valve-controlled processor 1 among multiple valve-controlled processors is 0, indicating that within this timing period, the control processor has not received the periodic message sent by valve-controlled processor 1. The control processor then determines that the valve-controlled processor corresponds to display module 1, and controls display module 1 to display communication interruption to notify the operation and maintenance personnel of the communication interruption between the control processor and valve-controlled processor 1.

[0104] In the above embodiment, the number of periodic messages sent by each valve-controlled processor within a timing period is obtained; if the number of periodic messages sent by the target valve-controlled processor is 0, the target display module corresponding to the target valve-controlled processor is controlled to display a communication interruption. In the technical solution of the embodiment of the present application, by counting periodic messages, it is possible to determine whether a communication interruption has occurred, eliminating the need for manual detection by operation and maintenance personnel, thereby improving efficiency, accuracy, and security.

[0105] Based on the above embodiment, the embodiment of the present application may further include: when the number of periodic messages sent by each valve control processor is not 0, clearing the timer and the message counter corresponding to each valve control processor.

[0106] If the number of periodic messages sent by each valve-controlled processor during the timing cycle is not zero, this indicates that each valve-controlled processor can communicate normally with the control processor. In this case, the timer is cleared so that the timer can start timing the next timing cycle. The message counter corresponding to each valve-controlled processor is also cleared so that the message counter corresponding to each valve-controlled processor can count the received periodic messages in the next timing cycle.

[0107] In the above embodiment, if the number of periodic messages sent by each valve control processor is not zero, the timer and the message counter corresponding to each valve control processor are cleared. In the technical solution of the embodiment of the present application, the clearing process prepares for the next timing cycle, so that timing and counting can be accurately performed, thereby accurately determining and displaying the communication status, so that operation and maintenance personnel can take appropriate measures in a timely manner after an abnormality occurs.

[0108] According to some embodiments of the present application, the step of "obtaining the number of periodic messages sent by each valve-controlled processor within the timing period" in the above embodiment may include: within the timing period, if a periodic message sent by the valve-controlled processor is received, then controlling the message counter corresponding to the valve-controlled processor to perform a counting and accumulation operation until the timing period ends, thereby obtaining the number of periodic messages sent by the valve-controlled processor.

[0109] The timer in the control processor starts timing, and then, when a periodic message sent by the valve control processor is received, the corresponding message counter is controlled to add 1. When the timer ends, the number of periodic messages sent by the valve control processor can be obtained.

[0110] It is understandable that because each valve-controlled processor has a different message transmission period, the message counter corresponding to each valve-controlled processor will also have different counts within the same timing period. For example, valve-controlled processor 1 has a message transmission period of 5 seconds, while valve-controlled processor 2 has a message transmission period of 8 seconds. Within the same timing period, the message counter corresponding to valve-controlled processor 1 will have a greater count than the message counter corresponding to valve-controlled processor 2.

[0111] In the above embodiment, if a periodic message is received from the valve-controlled processor during a timing cycle, the message counter corresponding to the valve-controlled processor is controlled to perform a counting operation until the timing cycle ends, thereby obtaining the number of periodic messages sent by the valve-controlled processor. In the technical solution of the embodiment of the present application, the message counter is used to determine the flow rate, which is simple to implement and highly efficient.

[0112] On the basis of the above embodiment, the embodiment of the present application may further include: after receiving the periodic message, feeding back a reply message to the valve control processor that sent the periodic message.

[0113] For example, when the control processor receives a periodic message sent by valve control processor 1, it feeds back a reply message to valve control processor 1; when the control processor receives a periodic message sent by valve control processor 2, it feeds back a reply message to valve control processor 2.

[0114] The valve control processor receives the reply message and can confirm that the control processor has received the periodic message based on the reply message. If the valve control processor does not receive the reply message, it sends the periodic message to the control processor again. In this way, the reply message can confirm whether the communication between the control processor and the valve control processor is normal.

[0115] In the above embodiment, after receiving the periodic message, a reply message is fed back to the valve control processor that sent the periodic message. In the technical solution of the embodiment of the present application, the reply message can be used to feed back to the valve control processor that communication is normal, providing a basis for the valve control processor to take measures.

[0116] According to some embodiments of the present application, a status display method is provided, which may include the following steps:

[0117] Step 1: Receive periodic messages sent by multiple valve control processors.

[0118] Step 2: Determine the first display module corresponding to each periodic message based on the preset correspondence between the valve control processor and the display module and the valve control processor that sends the periodic message.

[0119] Step 3: Extract the check information and control information from the periodic message.

[0120] Step 4: Verify the periodic message according to the verification information.

[0121] Step 5: If the verification is passed, control the first display module to display the status according to the control information.

[0122] Step 6: Feedback a reply message to the valve control processor that sent the periodic message.

[0123] Step 7: If a periodic message sent by the valve control processor is received within the timing cycle, the message counter corresponding to the valve control processor is controlled to perform a counting and accumulating operation until the timing cycle ends, thereby obtaining the number of periodic messages sent by the valve control processor.

[0124] Step 8: When the number of periodic messages sent by the target valve-controlled processor is 0, the target display module corresponding to the target valve-controlled processor is controlled to display a communication interruption; when the number of periodic messages sent by each valve-controlled processor is not 0, the timer and the message counter corresponding to each valve-controlled processor are cleared.

[0125] Step 9: upon receiving a mutation message sent by at least one valve control processor, determining a second display module corresponding to each mutation message, and controlling the corresponding second display module to display a status according to the mutation message.

[0126] In the technical solution of the embodiments of the present application, periodic messages are used to periodically update the display content of the display module, ensuring the real-time display of the display module. Mutation messages are used to synchronize the display content of the display module with changes in the valve control device state, ensuring the timeliness of the display module. This communication mechanism of combining periodic messages with mutation messages enables operation and maintenance personnel to promptly identify problems and avoid serious losses. Furthermore, by counting periodic messages, it is possible to determine whether communication interruptions have occurred, eliminating the need for manual detection by operation and maintenance personnel, which not only improves efficiency but also enhances accuracy and safety.

[0127] It should be understood that, although the various steps in the above flow chart are shown in sequence as indicated by the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be performed in other orders. Moreover, at least a portion of the steps in the above flow chart may include multiple steps or multiple stages, and these steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily to be performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0128] Based on the same inventive concept, embodiments of the present application also provide a state display device for implementing the aforementioned state display method. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations of one or more state display device embodiments provided below can be found in the limitations of the state display method described above and will not be further elaborated here.

[0129] According to some embodiments of the present application, referring to Figure 6 , provides a status display device, the device comprising:

[0130] The message receiving module 501 is used to receive periodic messages sent by multiple valve control processors respectively;

[0131] The first display control module 502 is used to determine the first display module corresponding to each periodic message, and control the corresponding first display module to display the status according to each periodic message;

[0132] The second display control module 503 is configured to determine the second display module corresponding to each mutation message upon receiving the mutation message sent by at least one valve control processor, and control the corresponding second display module to display status according to the mutation message.

[0133] In some embodiments, the first display control module 502 is specifically used to determine the first display module corresponding to each periodic message based on the pre-set correspondence between the valve control processor and the display module and the valve control processor that sends the periodic message; extract control information from the periodic message; and control the first display module to display the status according to the control information.

[0134] In some embodiments, the control information includes a display light identification, on / off information, and color information. The first display control module 502 is specifically used to generate at least one control instruction based on the display light identification, on / off information, and color information; and send the control instruction to the first display module to control the display light in the first display module to turn on or off and display a preset color.

[0135] In some embodiments, the first display control module 502 is further configured to extract verification information from the periodic message; perform verification processing on the periodic message according to the verification information; and control the first display module to display the status according to the control information if the verification passes.

[0136] In some embodiments, reference Figure 7 , the device further comprises:

[0137] The number acquisition module 504 is used to acquire the number of periodic messages sent by each valve control processor within a timing period;

[0138] The third display control module 505 is configured to control the target display module corresponding to the target valve control processor to display a communication interruption when the number of periodic messages sent by the target valve control processor is 0.

[0139] In some embodiments, reference Figure 8 , the device further comprises:

[0140] The clearing module 506 is configured to clear the timer and the message counter corresponding to each valve control processor when the number of periodic messages sent by each valve control processor is not zero.

[0141] In some embodiments, the quantity acquisition module 504 is specifically used to control the message counter corresponding to the valve-controlled processor to perform a counting and accumulation operation if a periodic message sent by the valve-controlled processor is received within a timing cycle until the timing cycle ends, thereby obtaining the number of periodic messages sent by the valve-controlled processor.

[0142] In some embodiments, reference Figure 9, the device further comprises:

[0143] After receiving the periodic message, the reply message sending module 507 feeds back a reply message to the valve control processor that sent the periodic message.

[0144] Each module in the above-mentioned state display device can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of the processor of the electronic device in hardware form, or can be stored in the memory of the electronic device in software form, so that the processor can call and execute the corresponding operations of each module.

[0145] According to some embodiments of the present application, referring to Figure 1 , provides a valve control device. The valve control device includes multiple energy storage units, multiple valve control processors, a control processor, and multiple display modules. The energy storage units are connected to the valve control processors in a one-to-one correspondence, and the control processors are connected to the multiple valve control processors and the multiple display modules respectively. The valve control processors are used to obtain status information of the energy storage units. The control processor is used to execute the method of the above embodiment.

[0146] In an embodiment of the present application, a control processor receives periodic messages sent by multiple valve-controlled processors. Based on a pre-set correspondence between the valve-controlled processors and the display modules and the valve-controlled processor that sent the periodic message, the control processor determines the first display module corresponding to each periodic message. Verification information and control information are extracted from the periodic message. The periodic message is verified based on the verification information; if the verification passes, the control processor controls the first display module to display a status based on the control information; if the verification fails, a verification failure message is sent to the valve-controlled processor.

[0147] After receiving the periodic message, the control processor feeds back a reply message to the valve control processor that sent the periodic message.

[0148] During a timing cycle, if a periodic message is received from a valve-controlled processor, the control processor controls the message counter corresponding to the valve-controlled processor to count and accumulate until the timing cycle ends, thereby obtaining the number of periodic messages sent by the valve-controlled processor. If the number of periodic messages sent by the target valve-controlled processor is zero, the target display module corresponding to the target valve-controlled processor is controlled to indicate that communication is interrupted. If the number of periodic messages sent by each valve-controlled processor is not zero, the timer and the message counter corresponding to each valve-controlled processor are cleared.

[0149] When receiving a mutation message sent by at least one valve control processor, the valve control processor determines the second display module corresponding to each mutation message, and controls the corresponding second display module to display a status according to the mutation message.

[0150] In the technical solution of the embodiments of this application, a control processor is used to send and receive periodic and mutation messages, enabling operations and maintenance personnel to promptly identify problems and avoid serious losses. Furthermore, by counting periodic messages, it is possible to determine whether communication interruptions have occurred, eliminating the need for manual detection by operations and maintenance personnel. This not only improves efficiency but also enhances accuracy and security.

[0151] According to some embodiments of the present application, an electronic device is provided, whose internal structure diagram can be as follows: Figure 10 As shown. The electronic device includes a processor, memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are connected to the system bus via the input / output interface. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface of the electronic device is used to exchange information between the processor and external devices. The communication interface of the electronic device is used to communicate with external terminals via wired or wireless means, and the wireless means can be implemented via Wi-Fi, mobile cellular networks, NFC (near-field communication), or other technologies. When executed by the processor, the computer program implements a status display method. The display unit of the electronic device is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the electronic device casing, or an external keyboard, touchpad or mouse.

[0152] Those skilled in the art will understand that Figure 10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the electronic device to which the solution of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0153] According to some embodiments of the present application, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory including instructions. The instructions can be executed by a processor of an electronic device to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0154] According to some embodiments of the present application, a computer program product is also provided. When executed by a processor, the computer program can implement the above-mentioned method. The computer program product includes one or more computer instructions. When these computer instructions are loaded and executed on a computer, part or all of the above-mentioned method can be implemented in whole or in part according to the processes or functions described in the embodiments of the present application.

[0155] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the above-mentioned embodiments. In particular, any reference to memory, database, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processors involved in the various embodiments provided herein may be, but are not limited to, general-purpose processors, central processing units (CPUs), graphics processing units (GPUs), digital signal processors (DSPs), programmable logic devices (PLDs), data processing logic devices based on quantum computing, and the like.

[0156] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0157] The embodiments described above only express several implementation methods of the present application, which are convenient for understanding the technical solutions of the present application in a specific and detailed manner, but they cannot be understood as limiting the scope of protection of the invention patent. It should be pointed out that for ordinary technicians in this field, without departing from the concept of the present application, several variations and improvements can be made, which all fall within the scope of protection of the present application. It should be understood that the technical solutions obtained by those skilled in the art through logical analysis, reasoning or limited experiments on the basis of the technical solutions provided in the present application are all within the scope of protection of the attached claims described in the present application. Therefore, the scope of protection of the patent of this application shall be based on the content of the attached claims, and the description and drawings can be used to interpret the content of the claims.

Claims

1. A status display method, characterized in that: The method comprises: Receive periodic messages sent by multiple valve control processors; Determining a first display module corresponding to each of the periodic messages, and controlling the corresponding first display module to display a status according to each of the periodic messages; When receiving at least one mutation message sent by the valve control processor, the second display module corresponding to each mutation message is determined, and the corresponding second display module is controlled to display status according to the mutation message.

2. The method according to claim 1, characterized in that The determining of the first display module corresponding to each of the periodic messages, and controlling the corresponding first display module to display a status according to each of the periodic messages, includes: Determining the first display module corresponding to each periodic message according to a preset correspondence between the valve control processor and the display module and the valve control processor that sends the periodic message; extracting control information from the periodic message; The first display module is controlled to display status according to the control information.

3. The method according to claim 2, characterized in that The method further comprises: Extracting verification information from the periodic message; Performing verification processing on the periodic message according to the verification information; Correspondingly, controlling the first display module to display a status according to the control information includes: If the verification is passed, the first display module is controlled to display the status according to the control information.

4. The method according to claim 3, characterized in that The control information includes a display light identifier, on / off information, and color information. Controlling the first display module to display a status according to the control information includes: Generate at least one control instruction according to the display light identifier, the on / off information, and the color information; The control instruction is sent to the first display module to control the display light in the first display module to turn on or off and display a preset color.

5. The method according to claim 1, characterized in that The method further comprises: Acquire the number of periodic messages sent by each valve control processor within a timing period; When the number of periodic messages sent by the target valve control processor is 0, the target display module corresponding to the target valve control processor is controlled to display a communication interruption.

6. The method according to claim 5, characterized in that The method further comprises: When the number of periodic messages sent by each valve control processor is not 0, a timer and a message counter corresponding to each valve control processor are cleared.

7. The method according to claim 5, characterized in that The acquiring of the number of periodic messages sent by each valve control processor within a timing period includes: During the timing cycle, if a periodic message sent by the valve control processor is received, the message counter corresponding to the valve control processor is controlled to perform a counting and accumulating operation until the timing cycle ends, thereby obtaining the number of periodic messages sent by the valve control processor.

8. The method according to any one of claims 1 to 7, characterized in that The method further comprises: After receiving the periodic message, a reply message is fed back to the valve control processor that sent the periodic message.

9. A status display device, characterized in that: The device comprises: A message receiving module, used for receiving periodic messages sent by multiple valve control processors; a first display control module, configured to determine a first display module corresponding to each of the periodic messages, and control the corresponding first display module to display a status according to each of the periodic messages; The second display control module is configured to, upon receiving a mutation message sent by at least one of the valve control processors, determine the second display module corresponding to each mutation message, and control the corresponding second display module to display status according to the mutation message.

10. A valve control device, characterized in that: The valve control device includes multiple energy storage units, multiple valve control processors, a control processor and multiple display modules; the energy storage units are connected to the valve control processors in a one-to-one correspondence, and the control processors are respectively connected to the multiple valve control processors and the multiple display modules; The valve control processor is used to obtain status information of the energy storage unit; The control processor is configured to execute the method according to any one of claims 1 to 8.

11. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the method according to any one of claims 1 to 8 is implemented.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

13. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.