CN108001489B - Control command interaction method, dispatching workstation and monitoring system - Google Patents

Control command interaction method, dispatching workstation and monitoring system Download PDF

Info

Publication number
CN108001489B
CN108001489B CN201711092248.5A CN201711092248A CN108001489B CN 108001489 B CN108001489 B CN 108001489B CN 201711092248 A CN201711092248 A CN 201711092248A CN 108001489 B CN108001489 B CN 108001489B
Authority
CN
China
Prior art keywords
command
selection
target equipment
control command
equipment subsystem
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711092248.5A
Other languages
Chinese (zh)
Other versions
CN108001489A (en
Inventor
李文琦
赵士达
陈俊强
蒋琦
王雪松
赵文强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Electronics Harvest Technology Co Ltd
Original Assignee
China Electronics Harvest Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Electronics Harvest Technology Co Ltd filed Critical China Electronics Harvest Technology Co Ltd
Priority to CN201711092248.5A priority Critical patent/CN108001489B/en
Publication of CN108001489A publication Critical patent/CN108001489A/en
Application granted granted Critical
Publication of CN108001489B publication Critical patent/CN108001489B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L27/00Central railway traffic control systems; Trackside control; Communication systems specially adapted therefor
    • B61L27/04Automatic systems, e.g. controlled by train; Change-over to manual control
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L23/00Control, warning or like safety means along the route or between vehicles or trains

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a control command interaction method, a dispatching workstation and a monitoring system, which can ensure the reliability and safety of control command interaction. The method comprises the following steps: after receiving a selection request for the target equipment subsystem, the dispatching workstation sends the selection request to the application server, the application server returns a successful selection response when judging that the target equipment subsystem can be selected, and the dispatching workstation marks the target equipment subsystem in a selected state; the dispatching workstation receives a selection command of the target equipment subsystem, sends the selection command to the target equipment subsystem through the interface server, and returns a successful selection response when the target equipment subsystem judges that the system is controllable; the dispatching workstation receives the control command of the target equipment subsystem, sends the control command to the target equipment subsystem through the interface server, and the target equipment subsystem executes the control command. The embodiment of the invention can reduce or avoid safety accidents caused by manual misoperation to the maximum extent.

Description

Control command interaction method, dispatching workstation and monitoring system
Technical Field
The invention relates to a rail transit automation technology, in particular to an interaction method of control commands, a dispatching workstation and a monitoring system.
Background
In the technical field of rail transit automation, a complete monitoring system usually consists of a dispatching system and an equipment subsystem. The dispatching system generally comprises a dispatching workstation, an application server and an Interface server, wherein a Human Machine Interface (HMI) program is deployed on the dispatching workstation; an application service program is deployed on the application server and is responsible for processing internal data of the scheduling system; the interface server deploys an interface program responsible for interacting with the device subsystem. The equipment subsystems comprise an electric Power monitoring System (PSCADA), an environment And equipment monitoring System (BAS), a Fire Alarm System (FAS), an Intelligent Lighting System (ILC), And other Automatic systems, And the common characteristics of the systems are that the monitoring And Control functions are realized in a center or a station.
In the prior art, the control of the devices of the device subsystems in the scheduling system is performed by a user through the HMI of the scheduling workstation, sending a command, performing internal processing, sending the command to the device subsystems through the interface server, and then specifically controlling the local devices by the device subsystems. The control of the equipment in the current application scene is often one-step control, the equipment is immediately executed, the control process is single in interaction and has no safety guarantee, the problems of whether other personnel remotely operate the equipment or not, whether the personnel operate the equipment on the spot or not, whether the equipment is allowed to be controlled or not and the like are not considered comprehensively, and whether the action of the equipment is caused by the operation or caused by the operation of other personnel or not can not be confirmed. Such control is prone to safety accidents caused by human misoperation, and the subsequent accidents are not conceivable.
Disclosure of Invention
In order to solve the technical problem, the invention provides a control command interaction method, a dispatching workstation and a monitoring system, which ensure the reliability and safety of control command interaction.
In order to achieve the object of the present invention, the present invention provides a control command interaction method, including:
after receiving a selection request for a target equipment subsystem, a dispatching workstation sends the selection request to an application server, the application server returns a selection success response when judging that the target equipment subsystem can be selected, the dispatching workstation marks the target equipment subsystem to be in a selected state, and the selected target equipment subsystem is in an occupied state;
the dispatching workstation receives a selection command of the target equipment subsystem, sends the selection command to the target equipment subsystem through an interface server, and returns a successful selection response when the target equipment subsystem judges that the system is controllable;
and the dispatching workstation receives a control command for the target equipment subsystem, and sends the control command to the target equipment subsystem through the interface server, and the target equipment subsystem executes the control command.
Optionally, the method further comprises: and after the control command of the target equipment subsystem is received by the dispatching workstation, carrying out first condition check on the control command, after the check is passed, sending the control command to an application server, carrying out second condition check on the control command by the application server, and after the check is passed, sending the control command to the target equipment subsystem through an interface server.
Optionally, the first conditional check comprises one or more of the following: the authority of the user; whether the target device is selected; whether the target device is in-place; whether the target device is locked; whether the target device is listed; the second condition check includes one or more of the following: whether the target device is selected; whether the target device is in-place; whether the target device is locked; whether the target device is listed; whether the target device is controllable.
Optionally, the method further comprises: when the dispatching workstation receives a selection command or a control command of the target equipment subsystem, caching the command based on a preset caching condition, and identifying the command by adopting the unique identifier of the target equipment subsystem, wherein the preset caching condition comprises the following steps: for a target device, the first time of caching is to select the command, if not, the command is not cached, the second time of caching is to execute the command, and if not, the command is not cached.
Optionally, the method further comprises: the dispatching workstation judges whether the received response is correct according to the cached content, if not, an error is prompted, and the operation is finished; the received response is correct, namely: the current response is the response corresponding to the command sent last time.
In order to achieve the object of the present invention, the present invention also provides a monitoring system, comprising: a dispatch workstation, an application server, and a device subsystem, wherein:
the dispatching workstation is used for sending a selection request to the application server after receiving the selection request for the target equipment subsystem, marking the target equipment subsystem to be in a selection state after receiving a selection success response returned by the application server, and marking the selected target equipment subsystem to be in an occupied state; the system comprises a target equipment subsystem, an interface server and a server, wherein the target equipment subsystem is used for receiving a selection command of the target equipment subsystem and sending the selection command to the target equipment subsystem through the interface server; and the interface server is used for sending the control command to the target equipment subsystem after receiving the control command to the target equipment subsystem;
the application server is used for returning a successful selection response to the dispatching workstation when judging that the target equipment subsystem can be selected after receiving the selection request;
the target equipment subsystem is used for returning a successful selection response when judging that the system is controllable after receiving the selection command; and for executing the control command.
Optionally, the dispatching workstation is further configured to perform a first condition check on the control command after receiving the control command for the target device subsystem, and send the control command to the application server after the check is passed; and the application server is also used for carrying out second condition check on the control command, and after the check is passed, the control command is sent to the target equipment subsystem through the interface server.
Optionally, the first conditional check comprises one or more of the following: the authority of the user; whether the target device is selected; whether the target device is in-place; whether the target device is locked; whether the target device is listed; the second condition check includes one or more of the following: whether the target device is selected; whether the target device is in-place; whether the target device is locked; whether the target device is listed; whether the target device is controllable.
Optionally, the dispatching workstation is further configured to, when receiving a selection command or a control command for the target device subsystem, cache the command based on a preset caching condition, and identify the command by using a unique identifier of the target device subsystem, where the preset caching condition includes: for a target device, the first time of caching is to select the command, if not, the command is not cached, the second time of caching is to execute the command, and if not, the command is not cached.
Optionally, the dispatching workstation is further configured to determine whether the received response is correct according to the cached content, and if the received response is incorrect, prompt an error and end the operation; the received response is correct, namely: the current response is the response corresponding to the command sent last time.
In order to achieve the purpose of the invention, the invention also provides a dispatching workstation, which comprises a selecting module, a selecting module and a control module, wherein:
the system comprises a selection module, a selection module and a selection module, wherein the selection module is used for sending a selection request to an application server after receiving the selection request of a target equipment subsystem, marking the target equipment subsystem in a selection state after receiving a selection success response returned by the application server, and marking the selected target equipment subsystem in an occupied state;
the selection module is used for sending a selection command to the target equipment subsystem through an interface server after receiving the selection command to the target equipment subsystem;
and the control module is used for sending the control command to the target equipment subsystem through the interface server after receiving the control command to the target equipment subsystem.
Optionally, the control module is further configured to perform a first condition check on the control command after receiving the control command for the target device subsystem, and send the control command to an application server after the check is passed.
Optionally, the first conditional check comprises one or more of the following: the authority of the user; whether the target device is selected; whether the target device is in-place; whether the target device is locked; whether the target device is on the brand.
Optionally, the scheduling workstation further includes a caching module, where the caching module is configured to, when receiving a selection command or a control command for the target device subsystem, cache the command based on a preset caching condition, and identify the command by using a unique identifier of the target device subsystem, where the preset caching condition includes: for a target device, the first time of caching is to select the command, if not, the command is not cached, the second time of caching is to execute the command, and if not, the command is not cached.
Optionally, the cache module is further configured to determine whether the received response is correct according to the cached content, and if the received response is incorrect, prompt an error; the received response is correct, namely: the current response is the response corresponding to the command sent last time.
The scheme of the embodiment of the invention is based on the first principle of safety, provides a safe and reliable control command interaction method, takes each system module through which a control command data stream passes as a node for safety control, increases control steps, comprehensively ensures the safety, reliability, accuracy and usability of control command interaction, and reduces or avoids safety accidents caused by manual misoperation to the greatest extent.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
FIG. 1 is a flow chart of a method according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a monitoring system according to a second embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a third dispatching workstation according to an embodiment of the present invention;
fig. 4 is a flowchart of an application example of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
Example one
The present embodiment provides a control command interaction method, as shown in fig. 1, including:
step S11, after receiving a selection request for a target equipment subsystem, a dispatching workstation sends the selection request to an application server, the application server returns a selection success response when judging that the target equipment subsystem can be selected, the dispatching workstation marks the target equipment subsystem to be in a selection state, and the selected target equipment subsystem is in an occupied state;
step S12, the dispatching workstation receives the selection command of the target equipment subsystem, and sends the selection command to the target equipment subsystem through the interface server, and the target equipment subsystem returns a successful selection response when judging that the system is controllable;
step S13, the dispatching workstation receives the control command for the target device subsystem, and sends the control command to the target device subsystem through the interface server, and the target device subsystem executes the control command.
By the method, the target equipment subsystem is locked at the dispatching system side, so that the condition that only one person can control and operate the same equipment at the same time in the dispatching system is ensured, and the simultaneous operation of a plurality of users is avoided. And then, controllability judgment is carried out through the equipment subsystem, namely a 'selection' mechanism is set at the level of the equipment subsystem, so that the uniqueness of control is ensured at the level of both a scheduling system and the equipment subsystem.
Optionally, in step S13, the method further includes:
and after the control command of the target equipment subsystem is received by the dispatching workstation, carrying out first condition check on the control command, after the check is passed, sending the control command to an application server, carrying out second condition check on the control command by the application server, and after the check is passed, sending the control command to the target equipment subsystem through an interface server.
Wherein the first conditional check is a check within an HMI program deployed on a dispatch workstation; the second conditional check is an intra-service check deployed on the application server. Wherein the first condition check comprises one or more of the following: the authority of the user; whether the target device is selected; whether the target device is in-place; whether the target device is locked; whether the target device is listed; the second condition check includes one or more of the following: whether the target device is selected; whether the target device is in-place; whether the target device is locked; whether the target device is listed; whether the target device is controllable. The above "on-site position", "locking" and "hang tag" all refer to whether the device is in a controllable state. Through the double checking mechanism, the correctness of the control can be ensured.
Optionally, the method further comprises: when the dispatching workstation receives a selection command or a control command of the target equipment subsystem, caching the command based on a preset caching condition, and identifying the command by adopting the unique identifier of the target equipment subsystem, wherein the preset caching condition comprises the following steps: for a target device, the first time of caching is to select the command, if not, the command is not cached, the second time of caching is to execute the command, and if not, the command is not cached.
The unique identification marking is carried out on the selection command and the control command in the scheduling system, and the two steps of selection and execution are guaranteed to be operations carried out by the same equipment. The Unique Identifier may be a Universal Unique Identifier (UUID).
Optionally, the method further comprises: the dispatching workstation judges whether the received response is correct according to the cached content, if not, an error is prompted, and the operation is finished; the received response is correct, namely: the current response is a response corresponding to the command sent last time, that is, after the selection command is sent, the received response should be a response of the selection command, and after the control command is sent, the received response should be a response of the control command.
Optionally, the method further comprises: and marking the target equipment subsystem to be in the optional intermediate state after the target equipment subsystem finishes executing the control command or the dispatching workstation receives a command of canceling the control command.
The control command interaction method provided by the embodiment of the invention provides a safe and reliable control command interaction and inspection process, a two-step operation control process is adopted, after a user successfully selects the control command, the control of equipment can be completed by two steps (selection command + control command), the control command life cycle is extended, the steps of control command interaction and participating objects are increased, multiple verification checks are used in the control process, and finally, the control command is sent to the specified equipment after being confirmed to be correct, so that the control command can really act, and the availability, reliability and safety of the control command are ensured.
Example two
The present embodiment is a monitoring system embodiment for implementing the method of the embodiment, and the description in the first embodiment is also applicable to the present embodiment, as shown in fig. 2, the monitoring system includes: dispatch workstation 21, application server 22 and device subsystem 23, wherein:
the dispatching workstation 21 is configured to send a selection request to the application server 22 after receiving the selection request for the target device subsystem 23, mark the target device subsystem 23 in a selection state after receiving a selection success response returned by the application server 22, and place the selected target device subsystem 23 in an occupied state; and for sending a selection command to the target device subsystem 23 via an interface server after receiving the selection command to the target device subsystem 23; and for sending a control command to the target device subsystem 23 via the interface server 22 after receiving the control command to the target device subsystem 23;
the application server 22 is configured to, after receiving the selection request, return a selection success response to the dispatching workstation 21 when determining that the target device subsystem 23 is selectable;
the target equipment subsystem 23 is configured to return a selection success response when the system is judged to be controllable after receiving the selection command; and for executing the control command.
Optionally, the dispatching workstation 21 is further configured to perform a first condition check on the control command after receiving the control command for the target device subsystem 23, and send the control command to the application server 22 after the check is passed;
optionally, the application server 22 is further configured to perform a second condition check on the control command, and after the check is passed, send the control command to the target device subsystem 23 through an interface server.
Wherein: the first conditional check includes one or more of the following: the authority of the user; whether the target device is selected; whether the target device is in-place; whether the target device is locked; whether the target device is listed; the second condition check includes one or more of the following: whether the target device is selected; whether the target device is in-place; whether the target device is locked; whether the target device is listed; whether the target device is controllable.
Optionally, the dispatching workstation 21 is further configured to, when receiving a selection command or a control command for the target device subsystem 23, cache the command based on a preset caching condition, and identify the command by using a unique identifier of the target device subsystem 23, where the preset caching condition includes: for a target device, the first time of caching is to select the command, if not, the command is not cached, the second time of caching is to execute the command, and if not, the command is not cached.
Optionally, the dispatching workstation 21 is further configured to determine whether the received response is correct according to the cached content, and if the received response is incorrect, prompt an error, and end the operation; the received response is correct, namely: the current response is the response corresponding to the command sent last time.
The monitoring system provided by the embodiment of the invention can realize the control command interaction method described in the first embodiment of the invention, and provides a safe and reliable control command interaction system.
EXAMPLE III
The present embodiment is a scheduling workstation embodiment for implementing the method of the embodiment, and the descriptions in the first embodiment and the second embodiment are also applicable to the present embodiment, as shown in fig. 3, the scheduling workstation includes a selecting module 31, a selecting module 32, and a control module 33, where:
the selection module 31 is configured to send a selection request to an application server after receiving the selection request for a target device subsystem, mark the target device subsystem in a selected state after receiving a selection success response returned by the application server, and place the selected target device subsystem in an occupied state;
a selection module 32, configured to send a selection command to the target device subsystem through an interface server after receiving the selection command to the target device subsystem;
and a control module 33, configured to send the control command to the target device subsystem through the interface server after receiving the control command to the target device subsystem.
Optionally, the control module 33 is further configured to perform a first condition check on the control command after receiving the control command for the target device subsystem, and send the control command to the application server after the check is passed. The content of the first conditional check is as described in the foregoing embodiments, and is not described herein again.
Optionally, the dispatching workstation further includes a caching module 34, where the caching module 34 is configured to, when receiving a selection command or a control command for the target device subsystem, cache the command based on a preset caching condition, and identify the command by using the unique identifier of the target device subsystem, where the preset caching condition includes: for a target device, the first time of caching is to select the command, if not, the command is not cached, the second time of caching is to execute the command, and if not, the command is not cached.
Optionally, the cache module 34 is further configured to determine whether the received response is correct according to the cached content, and if the received response is incorrect, prompt an error; the received response is correct, namely: the current response is the response corresponding to the command sent last time.
The embodiment of the invention provides the dispatching workstation, which adds the function of selecting, and can complete the control of the equipment once by two steps of operation (selection command + control command) after the selection is successful, thereby improving the reliability and the safety of the dispatching workstation.
Application example
This example describes the overall process of a user sending a control command to a device subsystem through a scheduling system, as shown in fig. 4, including the following steps:
step 1, a user selects a certain target equipment subsystem (hereinafter referred to as target equipment) in a dispatching workstation through an HMI (human machine interface), and the dispatching workstation sends a selection request to an application server;
step 2, the application server checks whether the state of the target equipment is an occupied state, if the state is the occupied state, a response which can not be selected is returned to the dispatching workstation, and if the state is not the occupied state, namely an idle state, the response which can be selected is returned to the dispatching workstation;
step 3, the dispatching workstation marks that the target equipment is selected, namely is in an occupied state, on the HMI to prompt a user that the target equipment is selected successfully, and simultaneously requests the application server to set the selected identification of the target equipment as occupied;
the "busy flag" is initiated and cancelled by the dispatch workstation and the program on the application server is responsible for writing the busy state into the system cache or flush.
In this example, a function selected by the user for the target device to be controlled is added (step 1 to step 3 above), and a selection identifier is established for each controllable device in the scheduling system. "selected" refers to a state maintained within the system that allows only one user to select at a time for an operable device. When a user needs to operate a device, the user needs to select the device first to perform the next operation. When a user selects a certain device, the system sets the selected identifier of the device as 'occupied', and other users operate the device again to prompt, so that the uniqueness of control is ensured. After the equipment is successfully selected, the system should give a prompt, and after the user cancels the operation or finishes the control, the system modifies the selected mark of the equipment into idle and releases the control right. The functional design ensures the uniqueness of the control of the equipment on the level of the dispatching system, and ensures that only one person can control and operate the same equipment at the same time in the dispatching system.
Step 4, the user sends a selection command to the target device;
step 5, the dispatching workstation caches the selection command, adopts the UUID of the target equipment to identify the selection command, and sends the selection command to the target equipment through the interface server;
the UUID of the target equipment is generated in the dispatching work station, the UUID identifies all commands aiming at one equipment, and when a plurality of users (dispatching personnel) operate a plurality of dispatching work stations to control different equipment, the dispatching work station and the application server distinguish the control commands through the UUID.
Step 6, the target device judges whether the system is controllable and returns a result (a returning and correcting process), if so, a selection success response (a returning and correcting success) is returned to the dispatching system, and if not, a selection failure response (a returning and correcting failure) is returned to the dispatching system;
if the network is overtime, the dispatching workstation does not respond after waiting for a period of time, which is also equivalent to failure of the correction.
In this example, a "selection" process (step 4 to step 6 above) is added between the scheduling system and the device subsystem, so that the security control of the device by the scheduling system is further upgraded, and through the interaction of "selection-correction" between the scheduling system and the device subsystem, it is equivalent to that a "selection" mechanism is set up at the device subsystem level, and the uniqueness of device operation and control is ensured at the device subsystem level.
7, the dispatching workstation displays the success of selection to the user through the HMI;
step 8, the user sends a control command to the target equipment in the HMI;
step 9, the dispatching workstation caches the control command and adopts the UUID of the target equipment to identify the control command;
in the example, a command identification operation (step 5 and step 9) is added, a 16-bit UUID (UUID refers to a number generated on one machine and is guaranteed to be unique to all machines in the same space-time) is used as a unique identification of the command, and a "selection command" and a "control command" are both marked by the same UUID, so that cross collision with other control commands is avoided, and it is guaranteed that the two-step command corresponds to one unique device, namely, the two-step command is guaranteed to be directed to the operation performed by the same device. And clearing the command cache after the command execution is completed or failed.
Specifically, the command buffering may be performed in the following manner: opening up an area in a memory, establishing a buffer area, using UUID as a unique identifier, and storing contents in the buffer area including: command type (select command or execute command), target device information of control, control time, and the like. The method comprises the steps that a context judgment is carried out on a selection command and a control command when the command is cached, for a target device, the command which is put into a cache region for the first time is the selection command, if not, the command is not cached, the command which is put into the cache region for the second time is an execution command, before the command is put into the cache region, whether the currently cached command is the selection command or not can be judged, whether the currently cached command is the execution command or not can be judged, and if not, the command is not cached. The dispatching workstation can receive only the response to the process selection command after issuing the selection command (response in step 6), and can receive only the response to the process execution command after issuing the execution command (response in step 13). And if the dispatching workstation judges that the received response is incorrect according to the cached content, prompting the user to make an error and ending the operation.
Some error conditions may be eliminated by the command caching mechanism described above. For example, the target device a is selected, but the HMI receives the receipt of the execution command due to a memory error, or the application server receives the execution command first when the application server does not receive the selection command of the device a, and the like, which can eliminate the request through the UUID and the command cache mechanism, so as to ensure the accuracy of control.
Step 10, the dispatching workstation carries out a first condition check on the control command, and after the check is passed, the dispatching workstation sends the control command to an application server;
the first conditional check is a check within an HMI program deployed on a dispatch workstation, the check including one or more of:
1) the authority of the user, namely whether the user has the control authority is checked;
2) whether the target device is selected;
3) whether the target device is "in-place";
4) whether the target device is "locked out";
5) whether the target device is "on-hook".
Step 11, the application server performs a second condition check on the control command, and after the check is passed, the application server sends the control command to the interface server and sends the control command to the target device through the interface server;
the second condition check is a check in the service program deployed on the application server, and the second condition check is less in authority check of the user than the first condition check and more in relevance check. The content of the second condition check comprises one or more of the following:
1) whether the target device is selected;
2) whether the target device is "in-place";
3) whether the target device is "locked out";
4) whether the target device is "branded";
5) whether the target device is uncontrollable due to being influenced by other device associations.
In this example, a dual condition checking mechanism (step 10 and step 11 above) is designed in the monitoring system, that is, the monitoring system workstation and the server perform condition checking on the control command respectively, so as to improve the security of the control device.
Step 12, the target device executes the control command;
after the "selection-correction" is successful, the user can perform an execution step, that is, a control command for the device to act is really issued to the device, and the device subsystem finally performs control change on the device after receiving the execution command. Through double selection (selection function on the scheduling system and selection function on the equipment subsystem), the uniqueness of equipment operation is ensured.
Step 13, the target device returns an execution response.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical units; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.

Claims (12)

1. A control command interaction method is characterized by comprising the following steps:
after receiving a selection request for a target equipment subsystem, a dispatching workstation sends the selection request to an application server, the application server returns a selection success response when judging that the target equipment subsystem can be selected, the dispatching workstation marks the target equipment subsystem to be in a selected state, and the selected target equipment subsystem is in an occupied state;
the dispatching workstation receives a selection command of the target equipment subsystem, sends the selection command to the target equipment subsystem through an interface server, and returns a successful selection response when the target equipment subsystem judges that the system is controllable;
the dispatching workstation receives a control command for the target equipment subsystem, and sends the control command to the target equipment subsystem through the interface server, and the target equipment subsystem executes the control command; wherein the method further comprises:
when the dispatching workstation receives a selection command or a control command of the target equipment subsystem, caching the command based on a preset caching condition, and identifying the command by adopting the unique identifier of the target equipment subsystem, wherein the preset caching condition comprises the following steps: for a target device, the first time of caching is to select the command, if not, the command is not cached, the second time of caching is to execute the command, and if not, the command is not cached.
2. The method of claim 1,
the method further comprises the following steps: and after the control command of the target equipment subsystem is received by the dispatching workstation, carrying out first condition check on the control command, after the check is passed, sending the control command to an application server, carrying out second condition check on the control command by the application server, and after the check is passed, sending the control command to the target equipment subsystem through an interface server.
3. The method of claim 2,
the first conditional check comprises one or more of:
the authority of the user; whether the target device is selected; whether the target device is in-place; whether the target device is locked; whether the target device is listed;
the second condition check includes one or more of:
whether the target device is selected; whether the target device is in-place; whether the target device is locked; whether the target device is listed; whether the target device is controllable.
4. The method of claim 1,
the method further comprises the following steps: the dispatching workstation judges whether the received response is correct according to the cached content, if not, an error is prompted, and the operation is finished; the received response is correct, namely: the current response is the response corresponding to the command sent last time.
5. A monitoring system, comprising: a dispatch workstation, an application server, and a device subsystem,
the dispatching workstation is used for sending a selection request to the application server after receiving the selection request for the target equipment subsystem, marking the target equipment subsystem to be in a selection state after receiving a selection success response returned by the application server, and marking the selected target equipment subsystem to be in an occupied state; the system comprises a target equipment subsystem, an interface server and a server, wherein the target equipment subsystem is used for receiving a selection command of the target equipment subsystem and sending the selection command to the target equipment subsystem through the interface server; and the interface server is used for sending the control command to the target equipment subsystem after receiving the control command to the target equipment subsystem;
the application server is used for returning a successful selection response to the dispatching workstation when judging that the target equipment subsystem can be selected after receiving the selection request;
the target equipment subsystem is used for returning a successful selection response when judging that the system is controllable after receiving the selection command; and for executing the control command; wherein the content of the first and second substances,
the dispatching workstation is further configured to, when receiving a selection command or a control command for the target device subsystem, cache the command based on a preset caching condition, and identify the command by using a unique identifier of the target device subsystem, where the preset caching condition includes: for a target device, the first time of caching is to select the command, if not, the command is not cached, the second time of caching is to execute the command, and if not, the command is not cached.
6. The system of claim 5,
the dispatching workstation is also used for carrying out first condition check on the control command after receiving the control command to the target equipment subsystem, and sending the control command to an application server after the control command passes the check;
and the application server is also used for carrying out second condition check on the control command, and after the check is passed, the control command is sent to the target equipment subsystem through the interface server.
7. The system of claim 6,
the first conditional check comprises one or more of:
the authority of the user; whether the target device is selected; whether the target device is in-place; whether the target device is locked; whether the target device is listed;
the second condition check includes one or more of:
whether the target device is selected; whether the target device is in-place; whether the target device is locked; whether the target device is listed; whether the target device is controllable.
8. The system of claim 5,
the dispatching workstation is also used for judging whether the received response is correct according to the cached content, if not, an error is prompted, and the operation is finished; the received response is correct, namely: the current response is the response corresponding to the command sent last time.
9. A dispatch workstation comprising a selection module, a selection module and a control module, wherein:
the system comprises a selection module, a selection module and a selection module, wherein the selection module is used for sending a selection request to an application server after receiving the selection request of a target equipment subsystem, marking the target equipment subsystem in a selection state after receiving a selection success response returned by the application server, and marking the selected target equipment subsystem in an occupied state;
the selection module is used for sending a selection command to the target equipment subsystem through an interface server after receiving the selection command to the target equipment subsystem;
the control module is used for sending the control command to the target equipment subsystem through the interface server after receiving the control command to the target equipment subsystem; wherein the content of the first and second substances,
the dispatching workstation further comprises a caching module, wherein the caching module is used for caching the command based on a preset caching condition when receiving a selection command or a control command of the target equipment subsystem, and adopting the unique identifier of the target equipment subsystem to identify the command, and the preset caching condition comprises the following steps: for a target device, the first time of caching is to select the command, if not, the command is not cached, the second time of caching is to execute the command, and if not, the command is not cached.
10. The dispatching workstation of claim 9,
and the control module is also used for carrying out first condition check on the control command after receiving the control command to the target equipment subsystem, and sending the control command to an application server after the control command passes the check.
11. The dispatching workstation of claim 10,
the first conditional check comprises one or more of:
the authority of the user; whether the target device is selected; whether the target device is in-place; whether the target device is locked; whether the target device is on the brand.
12. The dispatching workstation of claim 9,
the cache module is also used for judging whether the received response is correct according to the cached content, and if the received response is incorrect, an error is prompted; the received response is correct, namely: the current response is the response corresponding to the command sent last time.
CN201711092248.5A 2017-11-08 2017-11-08 Control command interaction method, dispatching workstation and monitoring system Active CN108001489B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711092248.5A CN108001489B (en) 2017-11-08 2017-11-08 Control command interaction method, dispatching workstation and monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711092248.5A CN108001489B (en) 2017-11-08 2017-11-08 Control command interaction method, dispatching workstation and monitoring system

Publications (2)

Publication Number Publication Date
CN108001489A CN108001489A (en) 2018-05-08
CN108001489B true CN108001489B (en) 2020-02-07

Family

ID=62052287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711092248.5A Active CN108001489B (en) 2017-11-08 2017-11-08 Control command interaction method, dispatching workstation and monitoring system

Country Status (1)

Country Link
CN (1) CN108001489B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165486B (en) * 2018-08-27 2021-06-22 四川长虹电器股份有限公司 Configurable interface access authority control method
CN110888388B (en) * 2019-11-22 2020-12-11 北京法玛碧欧技术有限公司 Multi-user management system based on human-computer interface

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104228883B (en) * 2014-08-28 2016-08-24 上海亨钧科技股份有限公司 A kind of control method under tramcar automatic driving mode
US9836893B2 (en) * 2015-04-03 2017-12-05 Union Pacific Railroad Company Computing and tracking locomotive health
CN105882692B (en) * 2016-04-06 2019-01-08 卡斯柯信号有限公司 A kind of central control unit for railway signals equipment system
CN106394611B (en) * 2016-08-31 2018-09-04 交控科技股份有限公司 A kind of track switch control method, device and controller

Also Published As

Publication number Publication date
CN108001489A (en) 2018-05-08

Similar Documents

Publication Publication Date Title
US9372682B2 (en) Parallel programming and updating of lighting bus subscribers
CN105224362A (en) Host computer carries out the method and system of program upgrade to slave computer
CN108001489B (en) Control command interaction method, dispatching workstation and monitoring system
CN103677946A (en) Method and system for updating elevator device control programs
CN107357595B (en) Bus-based multi-driver firmware online updating system
US20210039917A1 (en) Elevator control
CN109466593B (en) Method and device for downloading train operation plan and controlling operation
CN112991635B (en) Storage and taking method and device for intelligent cabinet
CN106330988B (en) Method and device for reissuing hypertext transfer request and client
CN110704121A (en) Operation retry method, system and computer device
CN108989103A (en) Device updating method, debugger, the network equipment and network system
CN104915616A (en) Method for accessing smart card and card reader
CN112751782B (en) Flow switching method, device, equipment and medium based on multi-activity data center
US9298447B2 (en) Method and device for the management of software updates of a set of equipment of a system such as an aircraft system
CN113830134A (en) Vehicle-mounted ATP (automatic train protection) dual-system switching method and logic unit of vehicle-mounted ATP
CN106598690B (en) Management method and device for codes
CN111565236B (en) Automatic coding method and device for sensor of fire protection system
CN112217610A (en) Data processing method and device, consumer machine, terminal and readable storage medium
CN116016140A (en) Communication exception handling method, master node, indoor distribution system and storage medium
CN101286834B (en) Data synchronizing method and apparatus
CN115065510A (en) Login method, device, system, electronic equipment and readable storage medium
CN112767722B (en) Control method and device of traffic signal machine, computer equipment and storage medium
CN114546455A (en) MCU software upgrading method and device for double partitions
CN113672259A (en) Intelligent software upgrading method and equipment for distributed network equipment
CN116781608B (en) Data transmission system, method, electronic device and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant