State control method, device and equipment of electric well lid and storage medium

By using a state machine control method to control the escape manhole cover in the underground comprehensive pipeline corridor, the problems of complex control logic and difficult to maintain in the prior art are solved, and the reliability and safety of the state switching of the electric manhole cover is realized.

CN120103737APending Publication Date: 2025-06-06TONGFANG TECHNOVATOR INT (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510266724.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-07
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

The prior art adopts a process-driven method for the control of escape manhole covers in underground integrated pipeline corridors, which leads to complex control logic, difficulty in maintaining and expanding, and is unable to perform refined control and state transition tracking.

Method used

The state machine control method is adopted to identify the current status of the electric manhole cover, monitor the input signal in real time, determine the target state, and send control signals to switch the manhole cover state.

Benefits of technology

It improves the reliability and safety of the state switching of electric manhole covers, simplifies control logic, reduces maintenance difficulty, and realizes refined control of escape manhole covers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120103737A_ABST
    Figure CN120103737A_ABST
Patent Text Reader

Abstract

The invention discloses a state control method, device and equipment for an electric well lid and a storage medium, and relates to the technical field of underground well lid control. The method comprises the steps that under the condition that it is recognized that the electric well lid is in a stopped state, the current working state of the electric well lid is obtained, and the current working state is determined as the initial state of the electric well lid; the input signal is monitored in real time, and the target state of the electric well lid is determined according to the input signal and the initial state under the condition that it is recognized that the input signal changes; the input signal comprises a remote control instruction of a user and an electric well lid feedback signal; and if the input signal is a remote control instruction, determining a well lid control signal according to the target state, and sending the well lid control signal to the electric well lid to control the electric well lid to switch the current working state. According to the technical scheme, the state machine control method is adopted for accurately controlling the state change of the electric well lid, and safe and reliable operation of the underground comprehensive pipe gallery escape well lid can be guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of underground manhole cover control technology, in particular to the field of intelligent control technology of electric manhole covers in underground integrated pipe corridors, and specifically to a state control method, device, equipment and storage medium for an electric manhole cover. Background Art

[0002] In underground utility tunnels, escape manhole covers are key safety facilities in the tunnel safety system. They are used for personnel escape and emergency rescue in emergency situations, and also have functions such as ventilation, inspection and maintenance. The opening and closing actions of the escape manhole covers in underground utility tunnels are usually controlled by a PLC (Programmable Logic Controller) controller. The operator can monitor the working status of the escape manhole cover on the human-machine interface connected to the PLC controller, and remotely operate the escape manhole cover by sending control instructions to the PLC controller when necessary. At the same time, the PLC controller can also automatically control the operation of the escape manhole cover according to a pre-programmed control program.

[0003] At present, in underground integrated pipe corridors, the control of escape manhole covers usually adopts a process-driven control method, which is a control method that performs tasks according to predetermined steps and sequences and has no explicit state concept. The operation process of the escape manhole cover is essentially a mutual conversion process between various operating states. When the stateless process-driven control method is applied to the control of the escape manhole cover with state and random state transition, the control logic design needs to superimpose multiple operating states of the escape manhole cover on each other for correlation processing, which brings two problems: on the one hand, the control logic of the process-driven method mainly relies on loops and conditional judgments to realize functions, and the escape manhole cover has many operating states. The superposition of operating states causes the loop and conditional judgment logic to be complex, resulting in complicated control program codes that are difficult to understand, difficult to maintain in the later stage of the program, and poor scalability. In addition, if the test is not in place, there are potential control logic errors in the program, causing problems such as malfunction of the escape manhole cover; on the other hand, in the case of superposition of operating states, it is impossible to perform fine control of the escape manhole cover in each operating state, and it is impossible to track the conversion between operating states. Summary of the invention

[0004] The present application provides a state control method, device, equipment and storage medium for an electric manhole cover to improve the reliability and safety of state switching of the electric manhole cover.

[0005] According to one aspect of the present application, a state control method for an electric manhole cover is provided, the method being applied to a state machine in a state control system; the state control system further comprising an electric manhole cover; the state machine being communicatively connected to the electric manhole cover; the method comprising:

[0006] When it is identified that the electric manhole cover is in a stopped state, obtaining the current working state of the electric manhole cover, and determining the current working state as the initial state of the electric manhole cover;

[0007] Monitor the input signal in real time, and when it is recognized that the input signal changes, determine the target state of the electric manhole cover according to the input signal and the initial state; the input signal includes the user's remote control command and the electric manhole cover feedback signal;

[0008] If the input signal is the remote control instruction, a manhole cover control signal is determined according to the target state, and the manhole cover control signal is sent to the electric manhole cover to control the electric manhole cover to switch to the current working state.

[0009] According to another aspect of the present application, a state control device for an electric manhole cover is provided, the device being configured in a state machine in a state control system; the state control system further comprising an electric manhole cover; the state machine being communicatively connected to the electric manhole cover; the device comprising:

[0010] A state initialization module, for obtaining the current working state of the electric manhole cover when it is identified that the electric manhole cover is in a stopped state, and determining the current working state as the initial state of the electric manhole cover;

[0011] A state determination module is used to monitor the input signal in real time, and when it is identified that the input signal changes, determine the target state of the electric manhole cover according to the input signal and the initial state; the input signal includes the user's remote control command and the electric manhole cover feedback signal;

[0012] The state switching module is used to determine the manhole cover control signal according to the target state if the input signal is the remote control instruction, and send the manhole cover control signal to the electric manhole cover to control the electric manhole cover to switch the current working state.

[0013] According to another aspect of the present application, an electronic device is provided, the electronic device comprising:

[0014] one or more processors;

[0015] A memory for storing one or more programs;

[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement any one of the state control methods for electric manhole covers provided in the embodiments of the present application.

[0017] According to another aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, any one of the state control methods of an electric manhole cover provided in the embodiments of the present application is implemented.

[0018] According to another aspect of the present application, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the computer program implements any one of the state control methods of the electric manhole cover provided in the embodiments of the present application.

[0019] This application obtains the current working state of the electric manhole cover when it is identified that the electric manhole cover is in a stopped state, and determines the current working state as the initial state of the electric manhole cover; monitors the input signal in real time, and determines the target state of the electric manhole cover according to the input signal and the initial state when it is identified that the input signal changes; the input signal includes the user's remote control command and the electric manhole cover feedback signal; if the input signal is a remote control command, the manhole cover control signal is determined according to the target state, and the manhole cover control signal is sent to the electric manhole cover to control the electric manhole cover to switch to the current working state. The above technical solution uses a state machine control method to accurately control the state changes of the electric manhole cover, which helps to ensure the safe and reliable operation of the escape manhole cover of the underground integrated pipe gallery. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 is a flow chart of a state control method of an electric manhole cover provided according to Embodiment 1 of the present application;

[0021] Figure 2 is a flow chart of a state control method of an electric manhole cover provided according to the second embodiment of the present application;

[0022] Figure 3 It is a structural schematic diagram of a state control device for an electric manhole cover provided according to the third embodiment of the present application;

[0023] Figure 4 It is a structural schematic diagram of an electronic device for implementing the state control method of the electric manhole cover of an embodiment of the present application. DETAILED DESCRIPTION

[0024] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0026] In addition, it should be noted that the collection, storage, use, processing, transmission, provision and disclosure of relevant data such as the stop status and current working status involved in the technical solution of this application are in compliance with the relevant laws and regulations and do not violate public order and good morals.

[0027] Embodiment 1

[0028] Figure 1 This is a flow chart of a state control method for an electric manhole cover according to the first embodiment of the present application. This embodiment can be applied to the situation of controlling the state of an escape manhole cover in an underground integrated pipe gallery, and can be executed by a state control device for an electric manhole cover. The state control device for an electric manhole cover can be implemented in the form of hardware and / or software. The state control device for an electric manhole cover can be configured in a state machine in a state control system, such as a server. Figure 1 As shown, the method is applied to a state machine in a state control system; the state control system also includes an electric manhole cover; the state machine is communicatively connected with the electric manhole cover; the method includes:

[0029] S110. When it is identified that the electric manhole cover is in a stopped state, the current working state of the electric manhole cover is obtained, and the current working state is determined as the initial state of the electric manhole cover.

[0030] In this embodiment, the electric manhole cover refers to the escape manhole cover in the underground integrated pipe gallery; the escape manhole cover is a manhole cover that can be opened and closed by an electric drive device; it is usually used at the entrance of urban underground pipelines, equipment wells or underground facilities for convenient maintenance, monitoring and management. The stop state refers to the manhole cover in a static, inactive state; that is, the electric manhole cover is in a static state that is not opened or closed, and is not performing any action. The current working state refers to the actual state of the manhole cover at a certain moment, for example, the manhole cover is open, closed, opening or closing, etc.; this state can reflect the operation being performed by the electric manhole cover. The initial state refers to the working state recorded by the state machine at the moment when it is identified that the manhole cover is in a stop state; this initial state will be used as a reference for subsequent operations for comparison and calculation of the target state; wherein the initial state may include a stop state, an opening state, a closing state, an open position state, a closed position state, an in-situ state, and a fault state.

[0031] It should be noted that the state machine of the present application is a logical control model, which describes the behavior of the system and the state change process through a limited number of states and state transition rules; the state machine starts running from the initial state and can only be in a specific state at any time. When specific conditions are met, the state of the state machine switches from the current state to the target state, and performs possible specific operations during the switching process. The state machine includes a stop state, an opening state, a closing state, a fully opened state, a fully closed state, an on-site state and a fault state, wherein the stop state is the initial state; the stop state indicates that the escape manhole cover stops at a position between fully open and fully closed; the opening state indicates that the escape manhole cover is opening but not yet fully opened; the closing state indicates that the escape manhole cover is closing but not yet fully closed; the fully opened state indicates that the escape manhole cover is in a fully open state; the fully closed state indicates that the escape manhole cover is in a fully closed state; the on-site state indicates that the escape manhole cover is in a locally controlled state, at which time the escape manhole cover does not accept remote control signals and can only be controlled locally by the operator at the equipment site; the fault state indicates that the escape manhole cover currently has a fault, which includes an internal fault and a logical fault of the escape manhole cover.

[0032] Optionally, the state machine is initialized, the feedback signal of the escape manhole cover is collected, and the switching method of the state machine is executed in the initial state of the state machine, that is, the stop state, to synchronize the state of the state machine with the operating state of the escape manhole cover.

[0033] Exemplarily, before the escape manhole cover is controlled, the escape manhole cover is already in a completely closed state. In this step, a feedback signal indicating that the escape manhole cover is fully closed is collected, and the state machine switching method is executed in the initial state of the state machine, that is, the stop state. The state machine will switch to the fully closed state, which is consistent with the actual state of the escape manhole cover, thereby ensuring the accuracy of subsequent control.

[0034] S120, monitoring the input signal in real time, and determining the target state of the electric manhole cover according to the input signal and the initial state when identifying a change in the input signal; the input signal includes the user's remote control command and the electric manhole cover feedback signal.

[0035] In this embodiment, the input signal refers to a signal used to trigger the state machine to control the electric manhole cover to switch states; it may include information from different sources, such as remote control instructions or electric manhole cover feedback signals. Remote control instructions refer to instructions issued by a user or a control system through a remote device, which are usually used to control the action of the electric manhole cover (such as opening or closing); these instructions may be sent through wireless networks, Bluetooth, Wi-Fi and other communication methods; the remote control instructions may include at least one of an opening instruction, a closing instruction, a stop instruction and a reset instruction. The feedback signal of the electric manhole cover refers to the signal that the state information of the manhole cover itself is fed back to the control system; the feedback signal of the electric manhole cover may include a fault signal and a state feedback signal; wherein the fault signal refers to the signal that a fault currently occurs inside the escape manhole cover; the state feedback signal refers to the signal fed back by the escape manhole cover about its current working state, and the state feedback signal may include at least one of the open position signal, the closed position signal, the local signal and the remote signal; specifically, the open position signal is the feedback signal issued when the escape manhole cover is fully opened; the closed position signal is the feedback signal issued when the escape manhole cover is fully closed; the local signal is the feedback signal issued when the escape manhole cover is switched to local control; the remote signal is the feedback signal issued when the escape manhole cover is switched to remote control. The target state refers to the final working state that the electric manhole cover should reach as recorded by the state machine.

[0036] Optionally, continuously monitor input signals, including control instructions and escape manhole cover feedback signals. If the state machine is in the opening state or the closing state, it is also necessary to monitor the timer timeout signal. When a change in the input signal is detected, determine whether the input signal in the current state meets the state switching condition. If the switching condition is met, switch the current state to the target state according to the state switching method.

[0037] S130: If the input signal is a remote control command, a manhole cover control signal is determined according to a target state, and the manhole cover control signal is sent to the electric manhole cover to control the electric manhole cover to switch to a current working state.

[0038] In this embodiment, the manhole cover control signal refers to a signal used to control the specific operation of the electric manhole cover; for example, according to the content of the signal, the manhole cover can be instructed to perform an opening or closing action; wherein the manhole cover control signal may include at least one of an opening control signal, a closing control signal, and a stop control signal.

[0039] In an optional implementation manner, in order to facilitate understanding of the technical solution of the present application, the technical solution of the present application may have the following situations:

[0040] When the initial state is the stop state, if an opening command is received, it switches to the opening state and outputs an opening control signal to the escape manhole cover to control the escape manhole cover to open;

[0041] When the initial state is the stop state, if a closing command is received, it switches to the closing state and outputs a closing control signal to the escape manhole cover to control the escape manhole cover to close;

[0042] When the initial state is the stop state, if the open position signal is detected, it switches to the open position state;

[0043] When the initial state is the stop state, if the closed position signal is detected, it switches to the closed position state;

[0044] When the initial state is the stop state, if a local signal is detected, it switches to the local state;

[0045] When the initial state is the opening state, if the opening position signal is detected, it switches to the opening position and the opening process ends;

[0046] When the initial state is the opening state, if a local signal is detected, it switches to the local state and the opening process is terminated;

[0047] When the initial state is the closing state, if the closing position signal is detected, it switches to the closing position and the closing process ends;

[0048] When the initial state is the closing state, if a local signal is detected, it switches to the local state and the closing process is terminated;

[0049] When the initial state is the fully opened state, if a closing command is received, it switches to the closing state and outputs a closing control signal to the escape manhole cover to control the escape manhole cover to close;

[0050] When the initial state is the open position state, if the local signal is detected, it switches to the local state;

[0051] When the initial state is the fully closed state, if an opening command is received, it switches to the opening state and outputs an opening control signal to the escape manhole cover to control the escape manhole cover to open;

[0052] When the initial state is the closed state, if the local signal is detected, it switches to the local state;

[0053] When the initial state is the local state, if a remote signal is detected, it switches to the stop state;

[0054] When the initial state is the opening state, if a stop command is received, it switches to the stop state and outputs a stop control signal to the escape manhole cover to control the escape manhole cover to stop;

[0055] When the initial state is the closing state, if a stop command is received, it switches to the stop state and outputs a stop control signal to the escape manhole cover to control the escape manhole cover to stop.

[0056] It should be noted that the states of the state machine can reach the final target state through multiple continuous switching. For example, when the escape manhole cover is fully open, the escape manhole cover is switched from local control to remote control through the control knob on the escape manhole cover. At this time, according to the switching method, the initial state is the local state. After detecting the remote signal, the state machine switches from the local state to the stop state. Then, the open position signal is detected in the stop state, and it continues to switch to the open position state. It can be seen that the state machine reaches the final target state, that is, the open position state, after two continuous switchings from the local state.

[0057] Furthermore, the control of the escape manhole cover by the present application can also make the escape manhole cover reverse its running direction during the opening or closing process, as follows:

[0058] When the initial state is the opening state, if a closing command is received, it switches to the closing state and outputs a closing control signal to the escape manhole cover to control the escape manhole cover to close;

[0059] When the initial state is the closing state, if an opening command is received, it switches to the opening state, and outputs an opening control signal to the escape manhole cover to control the escape manhole cover to open.

[0060] The embodiment of the present application obtains the current working state of the electric manhole cover when it is identified that the electric manhole cover is in a stopped state, and determines the current working state as the initial state of the electric manhole cover; monitors the input signal in real time, and determines the target state of the electric manhole cover according to the input signal and the initial state when it is identified that the input signal changes; the input signal includes the user's remote control command and the electric manhole cover feedback signal; if the input signal is a remote control command, the manhole cover control signal is determined according to the target state, and the manhole cover control signal is sent to the electric manhole cover to control the electric manhole cover to switch to the current working state. The above technical solution uses a state machine control method to accurately control the state change of the electric manhole cover, which helps to ensure the safe and reliable operation of the escape manhole cover of the underground integrated pipe gallery.

[0061] Embodiment 2

[0062] Figure 2This is a flow chart of a state control method for an electric manhole cover provided in accordance with the second embodiment of the present application. Based on the technical solutions of the above embodiments, this embodiment refines "determining the target state of the electric manhole cover according to the input signal and the initial state" into "if a fault signal is detected, the fault state is determined as the target state of the electric manhole cover; if no fault signal is detected, the target state of the electric manhole cover is determined according to the initial state, and the remote control instruction or the state feedback signal". It should be noted that for the parts not described in detail in the embodiments of the present application, please refer to the relevant descriptions of other embodiments. Figure 2 As shown, the method includes:

[0063] S210. When it is identified that the electric manhole cover is in a stopped state, the current working state of the electric manhole cover is obtained, and the current working state is determined as the initial state of the electric manhole cover.

[0064] S220, monitoring the input signal in real time, and when it is identified that the input signal has changed, if a fault signal is detected, determining the fault state as the target state of the electric manhole cover.

[0065] Exemplarily, when the initial state is the opening state, if a fault signal is detected, it switches to the fault state, indicating that an internal fault occurs in the escape manhole cover; when the initial state is the closing state, if a fault signal is detected, it switches to the fault state, indicating that an internal fault occurs in the escape manhole cover; when the initial state is the open state, if a fault signal is detected, it switches to the fault state, indicating that an internal fault occurs in the escape manhole cover; when the initial state is the closed state, if a fault signal is detected, it switches to the fault state, indicating that an internal fault occurs in the escape manhole cover; when the initial state is the stopped state, if a fault signal is detected, it switches to the fault state, indicating that an internal fault occurs in the escape manhole cover.

[0066] S230: If no fault signal is detected, the target state of the electric manhole cover is determined according to the initial state and the remote control command or the state feedback signal.

[0067] Optionally, the remote control command or the state feedback signal is parsed to determine the state to be switched of the electric manhole cover; if the input signal is a remote control command, a switching feasibility check is performed on the initial state and the state to be switched, and if the switching feasibility check passes, the state to be switched is determined as the target state of the electric manhole cover; if the input signal is a state feedback signal, the state to be switched is determined as the target state.

[0068] In this embodiment, the state to be switched refers to the next state that the electric manhole cover is scheduled to enter after receiving the control signal; that is, before the target state is determined, the state to be switched reflects the working state that the manhole cover is about to enter; wherein, the state to be switched may include at least one of the following: the stop state, the opening state, the closing state, the fully opened state, the fully closed state, and the in-situ state. The switching feasibility check refers to a verification process of whether the switching between the current state and the state to be switched can be carried out safely and effectively; after the check is passed, it means that the electric manhole cover can smoothly switch from the initial state to the state to be switched.

[0069] Exemplarily, when the initial state is a fault state, if a reset instruction is received and no fault signal is detected, the system switches to a stop state.

[0070] S240: If the input signal is a remote control command, a manhole cover control signal is determined according to the target state, and the manhole cover control signal is sent to the electric manhole cover to control the electric manhole cover to switch to the current working state.

[0071] Optionally, after controlling the electric manhole cover to switch the current working state, the state feedback signal of the electric manhole cover can also be obtained, and the manhole cover state corresponding to the state feedback signal is checked for consistency with the target state; if the consistency check fails, the current working state of the electric manhole cover is switched to a fault state.

[0072] Exemplarily, when the initial state is the open position state, if the closed position signal is detected, it switches to the fault state, indicating that a feedback logic failure occurs in the escape manhole cover; when the initial state is the closed position state, if the open position signal is detected, it switches to the fault state, indicating that a feedback logic failure occurs in the escape manhole cover.

[0073] Furthermore, after the electric manhole cover is controlled to switch the current working state, if the target state is the open position state or the closed position state, and the state feedback signal of the electric manhole cover cannot be obtained, the target state is switched to the fault state.

[0074] Exemplarily, when the target state is the open position state, if the open position signal is not detected, it switches to the fault state, indicating that a feedback logic failure occurs in the escape manhole cover; when the target state is the closed position state, if the closed position signal is not detected, it switches to the fault state, indicating that a feedback logic failure occurs in the escape manhole cover.

[0075] In an optional embodiment, the state control system also includes a timer; the timer is respectively connected to the state machine and the electric manhole cover in communication; accordingly, if the target state is an opening state or a closing state, and in the process of controlling the electric manhole cover to switch the current working state, a timer timeout signal sent by the timer is received, then the target state is switched to a fault state; wherein the timer timeout signal refers to a signal generated by the timer when it detects that the electric manhole cover has not switched to the target state within a preset time.

[0076] In this embodiment, the timer refers to a device used to detect whether the time taken for the electric manhole cover to be opened or closed exceeds a preset time.

[0077] It should be noted that the timer needs to be initialized and started when the following state switches occur: when switching from the stopped state to the opening state, when switching from the closed state to the opening state, when switching from the closing state to the opening state, when switching from the stopped state to the closing state, when switching from the open state to the closing state, and when switching from the opening state to the closing state.

[0078] Exemplarily, when the target state is the opening state, if a timer timeout signal is detected, it switches to the fault state, indicating that the escape manhole cover has an opening timeout logic fault; when the target state is the closing state, if a timer timeout signal is detected, it switches to the fault state, indicating that the escape manhole cover has a closing timeout logic fault.

[0079] Furthermore, the input signal that the state machine of the present application can receive may be at least one: a remote control instruction and / or at least one electric manhole cover feedback signal; and the target state is determined according to the combination logic of the at least one input signal.

[0080] Exemplarily, when the initial state is the local state, if a remote signal and an open position signal are detected, it switches to the open position state; when the initial state is the local state, if a remote signal and a closed position signal are detected, it switches to the closed position state; when the initial state is the local state, if a remote signal and a fault signal are detected, it switches to the fault state; when the initial state is the fault state, if a reset command is received and no fault signal is detected and an open position signal is detected, it switches to the open position state; when the initial state is the fault state, if a reset command is received and no fault signal is detected and a closed position signal is detected, it switches to the closed position state; when the initial state is the fault state, if a reset command is received and no fault signal is detected and a closed position signal is detected, it switches to the closed position state; when the initial state is the fault state, if a reset command is received and no fault signal is detected and a local signal is detected, it switches to the local state.

[0081] It can be understood that the final target state of the state machine is directly determined through combinatorial logic judgment, and the final target state is reached through one switch instead of multiple switches, thereby achieving more precise control over the escape manhole cover.

[0082] The embodiment of the present application obtains the current working state of the electric manhole cover when it is identified that the electric manhole cover is in a stopped state, and determines the current working state as the initial state of the electric manhole cover; monitors the input signal in real time, and when it is identified that the input signal changes, if a fault signal is detected, the fault state is determined as the target state of the electric manhole cover; if no fault signal is detected, the target state of the electric manhole cover is determined according to the initial state, and the remote control command or the state feedback signal; if the input signal is a remote control command, the manhole cover control signal is determined according to the target state, and the manhole cover control signal is sent to the electric manhole cover to control the electric manhole cover to switch to the current working state. The above technical solution uses a state machine control method to accurately control the state change of the electric manhole cover, which helps to ensure the safe and reliable operation of the escape manhole cover of the underground integrated pipe gallery.

[0083] Embodiment 3

[0084] Figure 3 This is a schematic diagram of the structure of a state control device for an electric manhole cover provided in the third embodiment of the present application, which can be applied to the situation of controlling the state of an escape manhole cover in an underground integrated pipe gallery. The state control device for the electric manhole cover can be implemented in the form of hardware and / or software. The state control device for the electric manhole cover can be configured in a computer device, such as a state machine in a state control system; the state control system also includes an electric manhole cover; the state machine is in communication connection with the electric manhole cover. Figure 3 As shown, the device comprises:

[0085] The state initialization module 310 is used to obtain the current working state of the electric manhole cover when it is identified that the electric manhole cover is in the stopped state, and determine the current working state as the initial state of the electric manhole cover;

[0086] The state determination module 320 is used to monitor the input signal in real time and determine the target state of the electric manhole cover according to the input signal and the initial state when the input signal is identified to have changed; the input signal includes the remote control command of the user and the feedback signal of the electric manhole cover;

[0087] The state switching module 330 is used to determine the manhole cover control signal according to the target state if the input signal is a remote control instruction, and send the manhole cover control signal to the electric manhole cover to control the electric manhole cover to switch the current working state.

[0088] The embodiment of the present application obtains the current working state of the electric manhole cover when it is identified that the electric manhole cover is in a stopped state, and determines the current working state as the initial state of the electric manhole cover; monitors the input signal in real time, and determines the target state of the electric manhole cover according to the input signal and the initial state when it is identified that the input signal changes; the input signal includes the user's remote control command and the electric manhole cover feedback signal; if the input signal is a remote control command, the manhole cover control signal is determined according to the target state, and the manhole cover control signal is sent to the electric manhole cover to control the electric manhole cover to switch to the current working state. The above technical solution uses a state machine control method to accurately control the state change of the electric manhole cover, which helps to ensure the safe and reliable operation of the escape manhole cover of the underground integrated pipe gallery.

[0089] Optionally, the electric manhole cover feedback signal includes a fault signal and a state feedback signal; the target state includes a fault state; accordingly, the state determination module 320 includes:

[0090] A first state determination unit, configured to determine a fault state as a target state of the electric manhole cover if a fault signal is detected;

[0091] The second state determination unit is used to determine the target state of the electric manhole cover according to the initial state and the remote control command or state feedback signal if no fault signal is detected.

[0092] Optionally, the second state determining unit is specifically configured to:

[0093] Analyze the remote control command or status feedback signal to determine the to-be-switched state of the electric manhole cover; the to-be-switched state includes the stop state, opening state, closing state, fully opened state, fully closed state and in-situ state;

[0094] If the input signal is a remote control command, a switching feasibility check is performed on the initial state and the state to be switched, and if the switching feasibility check passes, the state to be switched is determined as the target state of the electric manhole cover;

[0095] If the input signal is a state feedback signal, the state to be switched is determined as the target state.

[0096] Optionally, the device further includes a status verification module; the status verification module is used to:

[0097] After controlling the electric manhole cover to switch the current working state, obtaining the state feedback signal of the electric manhole cover, and performing consistency check between the manhole cover state corresponding to the state feedback signal and the target state;

[0098] When the consistency check fails, the current working state of the electric manhole cover is switched to a fault state.

[0099] Optionally, the target state includes an opening state, a closing state and a fault state; the state control system further includes a timer; the timer is respectively connected to the state machine and the electric manhole cover in communication; accordingly, the state switching module 330 is also used for:

[0100] If the target state is in the opening state or the closing state, and in the process of controlling the electric manhole cover to switch to the current working state, a timer timeout signal sent by the timer is received, the target state is switched to a fault state; wherein the timer timeout signal refers to the signal generated by the timer when it detects that the electric manhole cover has not switched to the target state within a preset time.

[0101] The state control device of the electric manhole cover provided in the embodiment of the present application can execute the state control method of the electric manhole cover provided in any embodiment of the present application, and has functional modules and beneficial effects corresponding to executing the state control method of each electric manhole cover.

[0102] According to an embodiment of the present application, the present application also provides an electronic device, a readable storage medium and a computer program product.

[0103] Embodiment 4

[0104] Figure 4 4 is a schematic diagram of the structure of an electronic device 410 for implementing the state control method of the electric manhole cover of the embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.

[0105] like Figure 4As shown, the electronic device 410 includes at least one processor 411, and a memory connected to the at least one processor 411 in communication, such as a read-only memory (ROM) 412, a random access memory (RAM) 413, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 411 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 412 or the computer program loaded from the storage unit 418 to the random access memory (RAM) 413. In RAM413, various programs and data required for the operation of the electronic device 410 can also be stored. The processor 411, ROM412 and RAM413 are connected to each other via a bus 414. An input / output (I / O) interface 415 is also connected to the bus 414.

[0106] Multiple components in the electronic device 410 are connected to the I / O interface 415, including: an input unit 416, such as a keyboard, a mouse, etc.; an output unit 417, such as various types of displays, speakers, etc.; a storage unit 418, such as a disk, an optical disk, etc.; and a communication unit 419, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 419 allows the electronic device 410 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0107] The processor 411 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 411 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 411 executes the various methods and processes described above, such as the state control method of the electric manhole cover.

[0108] In some embodiments, the state control method of the electric manhole cover can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 418. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 410 via the ROM 412 and / or the communication unit 419. When the computer program is loaded into the RAM 413 and executed by the processor 411, one or more steps of the state control method of the electric manhole cover described above can be performed. Alternatively, in other embodiments, the processor 411 can be configured as the state control method of the electric manhole cover by any other appropriate means (for example, by means of firmware).

[0109] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0110] The computer programs for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable electric manhole cover state control device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.

[0111] In the context of the present application, a computer readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device or equipment. A computer readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer readable storage medium may be a machine readable signal medium. A more specific example of a machine readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0112] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0113] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0114] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0115] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution of this application can be achieved, and this document is not limited here.

[0116] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.

Claims

1. A state control method for an electric manhole cover, characterized in that: A state machine applied to a state control system; the state control system further includes an electric manhole cover; the state machine is in communication connection with the electric manhole cover; the method includes: When it is identified that the electric manhole cover is in a stopped state, obtaining the current working state of the electric manhole cover, and determining the current working state as the initial state of the electric manhole cover; Monitor the input signal in real time, and when it is recognized that the input signal changes, determine the target state of the electric manhole cover according to the input signal and the initial state; the input signal includes the user's remote control command and the electric manhole cover feedback signal; If the input signal is the remote control instruction, a manhole cover control signal is determined according to the target state, and the manhole cover control signal is sent to the electric manhole cover to control the electric manhole cover to switch to the current working state.

2. The method according to claim 1, characterized in that The electric manhole cover feedback signal includes a fault signal and a state feedback signal; the target state includes a fault state; accordingly, determining the target state of the electric manhole cover according to the input signal and the initial state includes: If the fault signal is detected, the fault state is determined as the target state of the electric manhole cover; If the fault signal is not detected, the target state of the electric manhole cover is determined according to the initial state and the remote control instruction or the state feedback signal.

3. The method according to claim 2, characterized in that Determining the target state of the electric manhole cover according to the initial state and the remote control instruction or the state feedback signal includes: Parsing the remote control command or status feedback signal to determine the to-be-switched state of the electric manhole cover; the to-be-switched state includes a stop state, an opening state, a closing state, a fully-opened state, a fully-closed state, and an in-situ state; If the input signal is a remote control command, a switching feasibility check is performed on the initial state and the state to be switched, and if the switching feasibility check passes, the state to be switched is determined as the target state of the electric manhole cover; If the input signal is a state feedback signal, the state to be switched is determined as a target state.

4. The method according to claim 2, characterized in that: After controlling the electric manhole cover to switch to the current working state, the method further includes: Acquire a state feedback signal of the electric manhole cover, and perform consistency check between the manhole cover state corresponding to the state feedback signal and the target state; When the consistency check fails, the current working state of the electric manhole cover is switched to a fault state.

5. The method according to claim 1, characterized in that The target state includes an opening state, a closing state and a fault state; the state control system further includes a timer; the timer is respectively connected to the state machine and the electric manhole cover for communication; accordingly, the method further includes: If the target state is in the opening state or the closing state, and in the process of controlling the electric manhole cover to switch to the current working state, a timer timeout signal sent by the timer is received, the target state is switched to a fault state; wherein the timer timeout signal refers to the signal generated by the timer when it detects that the electric manhole cover has not switched to the target state within a preset time.

6. A state control device for an electric manhole cover, characterized in that: A state machine configured in a state control system; the state control system further includes an electric manhole cover; the state machine is in communication connection with the electric manhole cover; the device includes: A state initialization module, for obtaining the current working state of the electric manhole cover when it is identified that the electric manhole cover is in a stopped state, and determining the current working state as the initial state of the electric manhole cover; A state determination module is used to monitor the input signal in real time, and when it is identified that the input signal changes, determine the target state of the electric manhole cover according to the input signal and the initial state; the input signal includes the user's remote control command and the electric manhole cover feedback signal; The state switching module is used to determine the manhole cover control signal according to the target state if the input signal is the remote control instruction, and send the manhole cover control signal to the electric manhole cover to control the electric manhole cover to switch the current working state.

7. The device according to claim 6, characterized in that The electric manhole cover feedback signal includes a fault signal and a state feedback signal; the target state includes a fault state; accordingly, the state determination module includes: a first state determination unit, configured to determine a fault state as a target state of the electric manhole cover if the fault signal is detected; The second state determination unit is used to determine the target state of the electric manhole cover according to the initial state and the remote control instruction or the state feedback signal if the fault signal is not detected.

8. An electronic device, characterized in that: include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the state control method of the electric manhole cover as described in any one of claims 1-5.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the state control method of the electric manhole cover as described in any one of claims 1 to 5 is implemented.

10. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the state control method of the electric manhole cover according to any one of claims 1 to 5.