CN108001489A - A kind of control command exchange method, dispatching workstations and monitoring system - Google Patents

A kind of control command exchange method, dispatching workstations and monitoring system Download PDF

Info

Publication number
CN108001489A
CN108001489A CN201711092248.5A CN201711092248A CN108001489A CN 108001489 A CN108001489 A CN 108001489A CN 201711092248 A CN201711092248 A CN 201711092248A CN 108001489 A CN108001489 A CN 108001489A
Authority
CN
China
Prior art keywords
target device
control command
subsystem
device subsystem
order
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.)
Granted
Application number
CN201711092248.5A
Other languages
Chinese (zh)
Other versions
CN108001489B (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

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 kind of control command exchange method, dispatching workstations and monitoring system, it is ensured that the reliability and security of control command interaction.Method includes:Dispatching workstations receive to target device subsystem choose request after, request will be chosen to be sent to application server, application server, which judges to return when target device subsystem is optional middle, chooses success response, and dispatching workstations mark target device subsystem is selected state;Dispatching workstations receive the select command to target device subsystem, send select command to target device subsystem by interface server, target device subsystem judges to return to response chosen successfully when the system is controllable;Dispatching workstations receive the control command to target device subsystem, send control command to target device subsystem by interface server, target device subsystem performs control command.Security incident caused by artificial maloperation can be farthest reduced or avoided in embodiment of the present invention.

Description

A kind of control command exchange method, dispatching workstations and monitoring system
Technical field
The present invention relates to track traffic automatic technology, espespecially a kind of exchange method of control command, dispatching workstations and Monitoring system.
Background technology
In track traffic automation technical field, a complete monitoring system is usually by scheduling system and equipment subsystem Composition.Scheduling system is usually made of dispatching workstations, application server, interface server, is disposed on dispatching workstations man-machine Boundary (Human Machine Interface, HMI) program;Application services is disposed on application server and is responsible for processing scheduling Internal system data;Interface routine is disposed on interface server to be responsible for interacting with equipment subsystem.Equipment subsystem has electric power prison Control system (Power Supervisory Control And Data Acquisition system, abbreviation PSCADA), environment With equipment monitoring system (Building Automatic System, abbreviation BAS), fire alarm system (Fire Alarm System, abbreviation FAS), intelligent illuminating system (Intelligent Lighting Control System, abbreviation ILC) etc. from Dynamicization system, the common feature of these systems are exactly that will realize the function of monitoring and control at center or station.
In prior art application, the mode that is controlled in scheduling system to the equipment of each equipment subsystem be by User is operated by dispatching workstations HMI, sends order, and equipment is issued by interface server by being passed through after inter-process System, then specifically equipment on the spot is controlled by equipment subsystem.Control in current application scenarios to equipment is often It is step control, equipment is immediately performed, it controls process interface single, without safety guarantee, for whether having other staff In the remote operation equipment, whether have whether personnel these problems such as allow to be controlled all do not have in the local operation equipment, equipment Have that consideration is comprehensive, and can not confirm whether the action of equipment is to be operated to cause or other staff operate and cause by this.So Control be also easy to produce the security incident caused by artificial maloperation, its consequence is hardly imaginable.
The content of the invention
In order to solve the above technical problem, the present invention provides a kind of control command exchange method, dispatching workstations and prison Control system, ensures the reliability and security of control command interaction.
In order to reach the object of the invention, the present invention provides a kind of control command exchange method, the described method includes:
Dispatching workstations receive to target device subsystem choose request after, choose request to be sent to application by described Server, the application server, which judges to return when the target device subsystem is optional middle, chooses success response, the scheduling It is selected state that work station, which marks the target device subsystem, and selected target device subsystem is in seizure condition;
The dispatching workstations receive the select command to the target device subsystem, by interface server to institute State target device subsystem and send the select command, the target device subsystem, which judges to return when the system is controllable, to be chosen to Work(responds;
The dispatching workstations receive the control command to the target device subsystem, pass through the interface server The control command is sent to the target device subsystem, the target device subsystem performs the control command.
Alternatively, the method further includes:The dispatching workstations receive the control to the target device subsystem After order, first time condition inspection is carried out to the control command, after inspection passes through, the control command is sent to application and is taken Business device, the application server carries out the control command second of condition inspection, after inspection passes through, by the control command The target device subsystem is sent to by interface server.
Alternatively, the first time condition inspection includes the one or more of herein below:The authority of user;Target Whether equipment has been chosen;Whether target device is in regard to status;Target device whether locking;Whether target device is listed;It is described Second of condition inspection includes the one or more of herein below:Whether target device has been chosen;Whether target device is located In with regard to status;Target device whether locking;Whether target device is listed;Whether target device is controllable.
Alternatively, the method further includes:The dispatching workstations receive the selection to the target device subsystem When order or control command, the order is cached based on preset buffer memory condition, and using the unique of the target device subsystem Property order described in Identification, the preset buffer memory condition includes:For a target device, what is cached first should be selection life Order, if not caching the order then, second of should be for caching performs order, if not caching the order then.
Alternatively, the method further includes:The dispatching workstations judge that the response that receives is according to the content of caching It is no correct, if incorrect, error is prompted, terminates this operation;The response received correctly refers to:Current response is upper one The corresponding response of order of secondary transmission.
In order to reach the object of the invention, present invention also offers a kind of monitoring system, including:Dispatching workstations, using clothes Business device and equipment subsystem, wherein:
The dispatching workstations, for receive to target device subsystem choose request after, by it is described choose please Ask and be sent to application server, after choosing success response receive that the application server returns, mark the target to set Standby subsystem is selected state, and selected target device subsystem is in seizure condition;And for receiving to described After the select command of target device subsystem, the selection is sent to the target device subsystem by interface server and is ordered Order;And for after receiving to the control command of the target device subsystem, by the interface server to described Target device subsystem sends the control command;
The application server, for receive it is described choose request after, in judging that the target device subsystem is optional When to the dispatching workstations return choose success response;
The target device subsystem, is chosen to for after select command is received, judging to return when the system is controllable Work(responds;And for performing the control command.
Alternatively, the dispatching workstations are additionally operable to after receiving to the control command of the target device subsystem, First time condition inspection is carried out to the control command, after inspection passes through, the control command is sent to application server;Institute State application server to be additionally operable to carry out second of condition inspection to the control command, after inspection passes through, by the control command The target device subsystem is sent to by interface server.
Alternatively, the first time condition inspection includes the one or more of herein below:The authority of user;Target Whether equipment has been chosen;Whether target device is in regard to status;Target device whether locking;Whether target device is listed;It is described Second of condition inspection includes the one or more of herein below:Whether target device has been chosen;Whether target device is located In with regard to status;Target device whether locking;Whether target device is listed;Whether target device is controllable.
Alternatively, the dispatching workstations are additionally operable to receiving select command or control to the target device subsystem During system order, the order is cached based on preset buffer memory condition, and mark using the unique identification of the target device subsystem Know the order, the preset buffer memory condition includes:For a target device, what is cached first should be select command, if It is not cache the order, second should be for caching performs order, if not caching the order then.
Alternatively, whether the response that the dispatching workstations are additionally operable to be received according to the judgement of the content of caching is correct, such as Fruit is incorrect, then prompting error, terminates this operation;The response received correctly refers to:Current response is last transmission Order corresponding response.
In order to reach the object of the invention, present invention also offers a kind of dispatching workstations, including module, selecting module are chosen And control module, wherein:
Choose module, for receive to target device subsystem choose request after, by it is described choose request send To application server, after choosing success response receive that the application server returns, the target device subsystem is marked Unite and be in seizure condition for selected state, selected target device subsystem;
Selecting module, for after receiving to the select command of the target device subsystem, passing through interface server The select command is sent to the target device subsystem;
Control module, for after receiving to the control command of the target device subsystem, being taken by the interface Business device sends the control command to the target device subsystem.
Alternatively, the control module, is additionally operable to after receiving to the control command of the target device subsystem, right The control command carries out first time condition inspection, and after inspection passes through, the control command is sent to application server.
Alternatively, the first time condition inspection includes the one or more of herein below:The authority of user;Target Whether equipment has been chosen;Whether target device is in regard to status;Target device whether locking;Whether target device is listed.
Alternatively, the dispatching workstations further include cache module, and the cache module is used to receive to the mesh When the select command or control command of marking device subsystem, the order is cached based on preset buffer memory condition, and use the mesh The unique identification of marking device subsystem identifies the order, and the preset buffer memory condition includes:It is first for a target device Secondary caching should be select command, and if not the order is not cached then, second of should be for caching performs order, if not The order is not cached then.
Alternatively, whether the response that the cache module is additionally operable to be received according to the judgement of the content of caching is correct, if It is incorrect, then prompting error;The response received correctly refers to:Current response is the last corresponding response of order sent.
A kind of this principle of the embodiment of the present invention based on safety first, there is provided safe and reliable control command interaction Method, the node using each system module that control command data stream passes through as safe control, and add control step Suddenly, comprehensively ensure security, reliability, accuracy and the availability of control command interaction, be farthest reduced or avoided Security incident caused by artificial maloperation.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by specification, rights Specifically noted structure is realized and obtained in claim and attached drawing.
Brief description of the drawings
Attached drawing is used for providing further understanding technical solution of the present invention, and a part for constitution instruction, with this The embodiment of application is used to explain technical scheme together, does not form the limitation to technical solution of the present invention.
Fig. 1 is one method flow diagram of the embodiment of the present invention;
Fig. 2 is two monitoring system structure diagram of the embodiment of the present invention;
Fig. 3 is three dispatching workstations structure diagram of the embodiment of the present invention;
Fig. 4 applies exemplary flow chart for the present invention.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the case where there is no conflict, in the embodiment and embodiment in the application Feature can mutually be combined.
Step shown in the flowchart of the accompanying drawings can be in the computer system of such as a group of computer-executable instructions Perform.Also, although logical order is shown in flow charts, in some cases, can be with suitable different from herein Sequence performs shown or described step.
Embodiment one
The present embodiment provides a kind of control command exchange method, as shown in Figure 1, including:
Step S11, dispatching workstations receive to target device subsystem choose request after, by it is described choose request send out Application server is given, the application server, which judges to return when the target device subsystem is optional middle, chooses success response, It is selected state that the dispatching workstations, which mark the target device subsystem, and selected target device subsystem, which is in, to be taken State;
Step S12, the dispatching workstations receive the select command to the target device subsystem, are taken by interface Business device sends the select command to the target device subsystem, and the target device subsystem judges to return when the system is controllable Return response chosen successfully;
Step S13, the dispatching workstations receive the control command to the target device subsystem, are connect by described Mouth server sends the control command to the target device subsystem, and the target device subsystem performs the control life Order.
By the above method, first target device subsystem is locked in scheduling system side, ensure that in scheduling system Internal same time same equipment can only have a personnel to be controlled operation, avoid multiple users from operating at the same time.Then again Controllable sex determination is carried out by equipment subsystem, " choosing " mechanism is set up equivalent in equipment subsystem aspect, so as to adjust Degree system level and equipment subsystem aspect all ensure that the uniqueness of control.
Alternatively, in step s 13, the method further includes:
After the dispatching workstations receive the control command to the target device subsystem, to the control command into Row first time condition inspection, after inspection passes through, the control command is sent to application server, the application server is to institute State control command and carry out second of condition inspection, after inspection passes through, the control command is sent to institute by interface server State target device subsystem.
Wherein, the first time condition inspection is checked in the HMI programs disposed on dispatching workstations;Second of condition Inspection is checked in the service routine disposed on the application server.Wherein the inspection of first time condition includes one kind of herein below Or more than one:The authority of user;Whether target device has been chosen;Whether target device is in regard to status;Whether target device Locking;Whether target device is listed;Second of condition inspection includes the one or more of herein below:Target device Whether choose;Whether target device is in regard to status;Target device whether locking;Whether target device is listed;Target device It is whether controllable." with regard to status ", " locking ", " listed " refer both to the whether controllable state of equipment above., can by duplication check mechanism To ensure the correctness of control.
Alternatively, the method further includes:The dispatching workstations receive the selection to the target device subsystem When order or control command, the order is cached based on preset buffer memory condition, and using the unique of the target device subsystem Property order described in Identification, the preset buffer memory condition includes:For a target device, what is cached first should be selection life Order, if not caching the order then, second of should be for caching performs order, if not caching the order then.
The mark that internal system carries out select command and control command unique identification is dispatched, ensures " selection " and " holds OK " two steps are directed to the operation that same equipment carries out.Unique identification can be Universally Unique Identifier (Universally Unique Identifier, abbreviation UUID).
Alternatively, the method further includes:The dispatching workstations judge that the response that receives is according to the content of caching It is no correct, if incorrect, error is prompted, terminates this operation;The response received correctly refers to:Current response is upper one The corresponding response of order of secondary transmission, i.e., after select command is sent, what is received should be the response of select command, send out After sending control command, what is received should be the response of control command.
Alternatively, the method further includes:After the target device subsystem has performed the control command, Huo Zhesuo When stating dispatching workstations and receiving the order for order of removing controls, the target device subsystem is marked as can selected state.
Control command exchange method provided in an embodiment of the present invention, there is provided a kind of safe and reliable control command interaction with Inspection process, control flow is operated using two steps, after user chooses successfully, needs two steps operation (select command+control command) The once control to equipment can be completed, extension extends control command life cycle, the step and ginseng of increase control command interaction With object, checked during control using multiple-authentication, finally confirm it is errorless after be issued to designated equipment again, make its really into Action is made, it is ensured that availability, reliability and the security of control command.
Embodiment two
The present embodiment is the monitoring system embodiment for realizing one method of embodiment, and the explanation in embodiment one is also applied for this Embodiment, as shown in Fig. 2, the monitoring system includes:Dispatching workstations 21, application server 22 and equipment subsystem 23, its In:
The dispatching workstations 21, for receive to target device subsystem 23 choose request after, by the choosing Middle request is sent to application server 22, after choosing success response receive that the application server 22 returns, marks institute It is selected state to state target device subsystem 23, and selected target device subsystem 23 is in seizure condition;And for After receiving the select command to the target device subsystem 23, by interface server to the target device subsystem 23 Send the select command;And for after receiving to the control command of the target device subsystem 23, by described Interface server 22 sends the control command to the target device subsystem 23;
The application server 22, for receive it is described choose request after, judge that the target device subsystem 23 can Returned when choosing to the dispatching workstations 21 and choose success response;
The target device subsystem 23, for after select command is received, judging to return to selection when the system is controllable Success response;And for performing the control command.
Alternatively, the dispatching workstations 21 are additionally operable to receiving the control command to the target device subsystem 23 Afterwards, first time condition inspection is carried out to the control command, after inspection passes through, the control command is sent to application server 22;
Alternatively, the application server 22 is additionally operable to carry out second of condition inspection to the control command, checks logical Later, the control command is sent to the target device subsystem 23 by interface server.
Wherein:The first time condition inspection includes the one or more of herein below:The authority of user;Target is set It is standby whether to have chosen;Whether target device is in regard to status;Target device whether locking;Whether target device is listed;Described Secondary conditions inspection includes the one or more of herein below:Whether target device has been chosen;Whether target device is in With regard to status;Target device whether locking;Whether target device is listed;Whether target device is controllable.
Alternatively, the dispatching workstations 21 are additionally operable to receiving the select command to the target device subsystem 23 Or during control command, the order is cached based on preset buffer memory condition, and using the uniqueness of the target device subsystem 23 Order, the preset buffer memory condition include described in Identification:For a target device, what is cached first should be selection life Order, if not caching the order then, second of should be for caching performs order, if not caching the order then.
Alternatively, whether the response that the dispatching workstations 21 are additionally operable to be received according to the judgement of the content of caching is correct, If incorrect, error is prompted, terminates this operation;The response received correctly refers to:Current response sends to be last The corresponding response of order.
Monitoring system provided in an embodiment of the present invention, it is possible to achieve the control command exchange method described in embodiment one, carries Supplied a kind of safe and reliable control command interactive system, using each system module that control command data stream passes through as The node of safe control, comprehensively ensures security, reliability, accuracy and the availability of control command interaction, at utmost Security incident caused by artificial maloperation is reduced or avoided.
Embodiment three
The present embodiment is the dispatching workstations embodiment for realizing one method of embodiment, saying in embodiment one and embodiment two It is bright to be also applied for the present embodiment, as shown in figure 3, the dispatching workstations, including choose module 31, selecting module 32 and control mould Block 33, wherein:
Choose module 31, for receive to target device subsystem choose request after, by it is described choose request send out Application server is given, after choosing success response receive that the application server returns, marks the target devices System is selected state, and selected target device subsystem is in seizure condition;
Selecting module 32, for after receiving to the select command of the target device subsystem, passing through interface service Device sends the select command to the target device subsystem;
Control module 33, for after receiving to the control command of the target device subsystem, passing through the interface Server sends the control command to the target device subsystem.
Alternatively, the control module 33 is additionally operable to after receiving to the control command of the target device subsystem, First time condition inspection is carried out to the control command, after inspection passes through, the control command is sent to application server.Institute State the content of first time condition inspection as in the foregoing embodiment, details are not described herein again.
Alternatively, the dispatching workstations further include cache module 34, and the cache module 34 is used to receive to institute When stating the select command or control command of target device subsystem, the order is cached based on preset buffer memory condition, and use institute The unique identification for stating target device subsystem identifies the order, and the preset buffer memory condition includes:Set for a target Standby, what is cached first should be select command, and if not the order is not cached then, second of should be for caching performs order, such as Fruit is not cache the order.
Alternatively, whether the response that the cache module 34 is additionally operable to be received according to the judgement of the content of caching is correct, such as Fruit is incorrect, then prompting error;The response received correctly refers to:Current response is the last corresponding sound of order sent Should.
The embodiment of the present invention provides dispatching workstations and adds " choosing " function, and successfully needs two steps to operate afterwards choosing (select command+control command) could complete the once control to equipment, improve the reliability and security of dispatching workstations.
Using example
This example describes the overall process that user sends control command by scheduling system to equipment subsystem, as shown in figure 4, Comprise the following steps:
Step 1, user in dispatching workstations by HMI chooses a certain target device subsystem (hereinafter referred to as target is set It is standby), dispatching workstations send to application server and choose request;
Step 2, application server checks whether the state of the target device is seizure condition, if seizure condition, to Dispatching workstations return to the response that cannot be chosen, and if not seizure condition, that is, idle condition, then being returned to dispatching workstations can With the response chosen;
Step 3, dispatching workstations mark the target device to choose on HMI, i.e., in seizure condition, to prompt user The target device has chosen success, while asks application server to choose mark to be arranged to take the target device;
" taking mark " is initiated and is cancelled by dispatching workstations, and the program on application server is responsible for writing the seizure condition Enter system cache or removing.
Added in this example user treat manipulation target device function of choosing (above-mentioned steps 1 to step 3), are being dispatched Internal system is set up for each controllable device and chooses mark." choosing " refer to internal system safeguard a kind of state, one A controllable equipment same time only allows a user to choose.When a user needs to manipulate an equipment, it is necessary to elder generation " choosing " equipment, could carry out next step operation.When user chooses a certain equipment, system chooses mark to put by the equipment For " occupancy ", other users operate the equipment and are then prompted again, ensure that the uniqueness of control.After equipment is chosen successfully, it is System should give prompting, and after user cancels operation, or after the completion of control, " choosing " mark of the equipment is revised as " empty by system It is not busy ", release control power.This Functional Design ensure that the uniqueness to equipment manipulation in scheduling system level, ensure that and is dispatching The internal system same time, same equipment can only have a personnel to be controlled operation.
Step 4, user sends select command to the target device;
Step 5, dispatching workstations caching select command, and identify the selection order using the UUID of target device, is dispatched Work station sends select command by interface server to the target device;
The UUID of target device is generated in dispatching workstations, and UUID identifies all orders for an equipment, When there is multiple users (dispatcher) to operate the more different equipment of traffic control stand control, dispatching workstations and application service Device distinguishes each bar control command by UUID.
Step 6, which judges whether the system is controllable and returns the result (process of returning to school), if controllable, to Scheduling system returns to response (success of returning to school) chosen successfully, if uncontrollable, return to selection failure response to scheduling system and (returns School fails);
If network timeout, dispatching workstations do not respond to after waiting for a period of time, and also correspond to return to school unsuccessfully.
In this example, " selection " process (above-mentioned steps 4 to step have been increased between scheduling system and equipment subsystem newly 6) so that security control of the scheduling system to equipment further upgrades, and " selects-returns by the system of dispatching and equipment subsystem The interaction in school ", set up " choosing " mechanism equivalent in equipment subsystem aspect, ensure that in equipment subsystem aspect to equipment The uniqueness of manipulation.
Step 7, dispatching workstations are shown chosen successfully by HMI to user;
Step 8, user sends control command in HMI to target device;
Step 9, dispatching workstations cache the control command, and identify the control command using the UUID of target device;
Adding command id operation in this example, (step 5 and step 9), employing 16 UUID, (UUID refers to The numeral generated on one machine, it ensures that to aerial all machines when same be all unique) uniquely marking for order Know, " select command " is identified with " control command " using same UUID, is avoided producing with other control commands and is intersected Conflict, it is ensured that two step commands correspond to only one equipment, that is, ensure that two step commands are directed to the behaviour that same equipment carries out Make.Clear command caches after order performs completion or failure.
Specifically, order caching can be carried out in the following ways:One piece of region is opened up in memory, establishes buffering area, Unique mark is made with UUID, the content stored in buffer area includes:Command type (select command performs order), the mesh of control Marking device information, control time etc..Context can be carried out when caching order to select command and control command to sentence Disconnected, for a target device, it should be select command to be put into for the first time in buffer area, if not caching the life then Order, be put into buffer area for the second time should perform order, and the order that can first judge currently to have cached before being put into buffer area is It is not select command, whether order currently to be cached performs order, if not caching the order then.In addition, scheduling Work station can only receive the receipt response (response in step 6) for handling select command after sending select command, send and perform life The exectorial receipt response (response in step 13) of processing can only be received after order.If dispatching workstations are according in caching It is incorrect to hold the response for judging to receive, then prompts user's error, terminates this operation.
By mentioned order caching mechanism, some error situations can be excluded.For example, target device A is made choice Operation, but since memory error HMI receives exectorial receipt, alternatively, application server is not receiving the choosing of device A When selecting order, these situations such as execution order are first have received, UUID is can be transferred through and order caching mechanism is excluded, to protect Demonstrate,prove the correctness of control.
Step 10, dispatching workstations carry out the control command first time condition inspection, and after inspection passes through, which is ordered Order is sent to application server;
First time condition inspection is checked in the HMI programs disposed on dispatching workstations, and the content of inspection is including following It is one or more kinds of:
1) authority of user, that is, check whether the user possesses the authority of control;
2) whether target device has been chosen;
3) whether target device is in " with regard to status ";
4) target device whether " locking ";
5) target device whether " listed ".
Step 11, application server carries out the control command second of condition inspection, and after inspection passes through, which is ordered Order is sent to interface server, is sent via interface server to target device;
Second of condition inspection is checked in the service routine disposed on the application server, and second of condition inspection is than the The scope check of user has been lacked in condition inspection, more relevance inspections.The content of second of condition inspection is included with next Kind or more than one:
1) whether target device has been chosen;
2) whether target device is in " with regard to status ";
3) target device whether " locking ";
4) target device whether " listed ";
5) whether target device is uncontrollable due to associating influence by other equipment.
(above-mentioned steps 10 and step 11), that is, supervising double condition checking mechanism this example in monitoring system indoor design Control system work station end and server end and condition inspection is carried out to control command respectively, improve the security of controlling equipment.
Step 12, which performs the control command;
After " select-return to school " success, user can carry out execution step, i.e., equipment is really issued makes what it was acted Control command, equipment subsystem receive execution order and change are just finally controlled to equipment.Pass through dual selected (scheduling system On the selection function chosen in function and equipment subsystem), ensure that to equipment manipulation uniqueness.
Step 13, which returns and performs response.
Although disclosed herein embodiment as above, the content be only readily appreciate the present invention and use Embodiment, is not limited to the present invention.Technical staff in any fields of the present invention, is taken off not departing from the present invention On the premise of the spirit and scope of dew, any modification and change, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.
It will appreciated by the skilled person that whole or some steps, system, dress in method disclosed hereinabove Function module/unit in putting may be implemented as software, firmware, hardware and its appropriate combination.In hardware embodiment, Division between the function module/unit referred in the above description not necessarily corresponds to the division of physical location;For example, one Physical assemblies can have the function of multiple, or a function or step can perform by some physical assemblies cooperations.Some groups Part or all component may be implemented as by processor, such as the software that digital signal processor or microprocessor perform, or by Hardware is embodied as, or is implemented as integrated circuit, such as application-specific integrated circuit.Such software can be distributed in computer-readable On medium, it is (or temporary transient that computer-readable medium can include computer-readable storage medium (or non-transitory medium) and communication media Property medium).As known to a person of ordinary skill in the art, term computer storage medium is included in for storing information (such as Computer-readable instruction, data structure, program module or other data) any method or technique in the volatibility implemented and non- Volatibility, removable and nonremovable medium.Computer-readable storage medium include but not limited to RAM, ROM, EEPROM, flash memory or its His memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic holder, tape, disk storage or other Magnetic memory apparatus or it can be used for any other medium that stores desired information and can be accessed by a computer.This Outside, known to a person of ordinary skill in the art to be, communication media generally comprises computer-readable instruction, data structure, program mould Other data in the modulated data signal of block or such as carrier wave or other transmission mechanisms etc, and may include any information Delivery media.

Claims (15)

  1. A kind of 1. control command exchange method, it is characterised in that including:
    Dispatching workstations receive to target device subsystem choose request after, choose request to be sent to application service by described Device, the application server, which judges to return when the target device subsystem is optional middle, chooses success response, the traffic control The mark target device subsystem of standing is selected state, and selected target device subsystem is in seizure condition;
    The dispatching workstations receive the select command to the target device subsystem, by interface server to the mesh Marking device subsystem sends the select command, and the target device subsystem judges to return to sound chosen successfully when the system is controllable Should;
    The dispatching workstations receive the control command to the target device subsystem, by the interface server to institute State target device subsystem and send the control command, the target device subsystem performs the control command.
  2. 2. according to the method described in claim 1, it is characterized in that,
    The method further includes:After the dispatching workstations receive the control command to the target device subsystem, to institute State control command and carry out first time condition inspection, after inspection passes through, the control command is sent to application server, it is described to answer Second of condition inspection is carried out to the control command with server, after inspection passes through, the control command is taken by interface Business device is sent to the target device subsystem.
  3. 3. according to the method described in claim 2, it is characterized in that,
    The first time condition inspection includes the one or more of herein below:
    The authority of user;Whether target device has been chosen;Whether target device is in regard to status;Target device whether locking;Mesh Whether marking device is listed;
    Second of condition inspection includes the one or more of herein below:
    Whether target device has been chosen;Whether target device is in regard to status;Target device whether locking;Whether target device is hung Board;Whether target device is controllable.
  4. 4. method according to claim 1 or 2, it is characterised in that
    The method further includes:The dispatching workstations receive the select command or control life to the target device subsystem When making, the order is cached based on preset buffer memory condition, and institute is identified using the unique identification of the target device subsystem Order is stated, the preset buffer memory condition includes:For a target device, what is cached first should be select command, if not The order is not cached then, second should be for caching performs order, if not caching the order then.
  5. 5. according to the method described in claim 4, it is characterized in that,
    The method further includes:Whether the dispatching workstations are correct according to the response that the judgement of the content of caching receives, if Incorrect, then prompting error, terminates this operation;The response received correctly refers to:Current response is the last life sent Make corresponding response.
  6. 6. a kind of monitoring system, including:Dispatching workstations, application server and equipment subsystem, it is characterised in that
    The dispatching workstations, for receive to target device subsystem choose request after, by it is described choose request send out Application server is given, after choosing success response receive that the application server returns, marks the target devices System is selected state, and selected target device subsystem is in seizure condition;And for receiving to the target After the select command of equipment subsystem, the select command is sent to the target device subsystem by interface server;With And for after receiving to the control command of the target device subsystem, being set by the interface server to the target Standby subsystem sends the control command;
    The application server, for receive it is described choose request after, judge when the target device subsystem is optional middle to The dispatching workstations return and choose success response;
    The target device subsystem, for after select command is received, judging to return to sound chosen successfully when the system is controllable Should;And for performing the control command.
  7. 7. system according to claim 6, it is characterised in that
    The dispatching workstations are additionally operable to after receiving to the control command of the target device subsystem, and the control is ordered Order carries out first time condition inspection, and after inspection passes through, the control command is sent to application server;
    The application server is additionally operable to carry out second of condition inspection to the control command, after inspection passes through, by the control System order is sent to the target device subsystem by interface server.
  8. 8. system according to claim 7, it is characterised in that
    The first time condition inspection includes the one or more of herein below:
    The authority of user;Whether target device has been chosen;Whether target device is in regard to status;Target device whether locking;Mesh Whether marking device is listed;
    Second of condition inspection includes the one or more of herein below:
    Whether target device has been chosen;Whether target device is in regard to status;Target device whether locking;Whether target device is hung Board;Whether target device is controllable.
  9. 9. the system according to claim 6 or 7, it is characterised in that
    The dispatching workstations are additionally operable to when receiving the select command or control command to the target device subsystem, base The order is cached in preset buffer memory condition, and the order is identified using the unique identification of the target device subsystem, The preset buffer memory condition includes:For a target device, what is cached first should be select command, if not caching then The order, second should be for caching perform order, if not caching the order then.
  10. 10. system according to claim 9, it is characterised in that
    Whether the response that the dispatching workstations are additionally operable to be received according to the judgement of the content of caching is correct, if incorrect, Prompting error, terminates this operation;The response received correctly refers to:Current response is the last corresponding sound of order sent Should.
  11. A kind of 11. dispatching workstations, it is characterised in that including choosing module, selecting module and control module, wherein:
    Choose module, for receive to target device subsystem choose request after, by it is described choose request be sent to should With server, after choosing success response receive that the application server returns, the target device subsystem is marked to be Selected state, selected target device subsystem are in seizure condition;
    Selecting module, for after receiving to the select command of the target device subsystem, by interface server to institute State target device subsystem and send the select command;
    Control module, for after receiving to the control command of the target device subsystem, passing through the interface server The control command is sent to the target device subsystem.
  12. 12. dispatching workstations according to claim 11, it is characterised in that
    The control module, is additionally operable to after receiving to the control command of the target device subsystem, and the control is ordered Order carries out first time condition inspection, and after inspection passes through, the control command is sent to application server.
  13. 13. dispatching workstations according to claim 12, it is characterised in that
    The first time condition inspection includes the one or more of herein below:
    The authority of user;Whether target device has been chosen;Whether target device is in regard to status;Target device whether locking;Mesh Whether marking device is listed.
  14. 14. the dispatching workstations according to claim 11 or 12, it is characterised in that
    The dispatching workstations further include cache module, and the cache module is used to receive to the target device subsystem Select command or control command when, the order is cached based on preset buffer memory condition, and use the target device subsystem Unique identification identify the order, the preset buffer memory condition includes:For a target device, what is cached first should be Select command, if not caching the order then, second of should be for caching performs order, if not caching the life then Order.
  15. 15. dispatching workstations according to claim 14, it is characterised in that
    Whether the response that the cache module is additionally operable to be received according to the judgement of the content of caching is correct, if incorrect, carries Mistake is shown;The response received correctly refers to:Current response is the last corresponding response of order sent.
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 true CN108001489A (en) 2018-05-08
CN108001489B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165486A (en) * 2018-08-27 2019-01-08 四川长虹电器股份有限公司 A kind of configurable interface access right control method
CN110888388A (en) * 2019-11-22 2020-03-17 北京法玛碧欧技术有限公司 Multi-user management system based on human-computer interface

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104228883A (en) * 2014-08-28 2014-12-24 上海亨钧科技股份有限公司 Control method under automatic drive mode of tramcar
CN105882692A (en) * 2016-04-06 2016-08-24 卡斯柯信号有限公司 Central control device for railway signal equipment system
CN106394611A (en) * 2016-08-31 2017-02-15 交控科技股份有限公司 Control method and device and controller of turnout
US9836893B2 (en) * 2015-04-03 2017-12-05 Union Pacific Railroad Company Computing and tracking locomotive health

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104228883A (en) * 2014-08-28 2014-12-24 上海亨钧科技股份有限公司 Control method under automatic drive mode of tramcar
US9836893B2 (en) * 2015-04-03 2017-12-05 Union Pacific Railroad Company Computing and tracking locomotive health
CN105882692A (en) * 2016-04-06 2016-08-24 卡斯柯信号有限公司 Central control device for railway signal equipment system
CN106394611A (en) * 2016-08-31 2017-02-15 交控科技股份有限公司 Control method and device and controller of turnout

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165486A (en) * 2018-08-27 2019-01-08 四川长虹电器股份有限公司 A kind of configurable interface access right control method
CN110888388A (en) * 2019-11-22 2020-03-17 北京法玛碧欧技术有限公司 Multi-user management system based on human-computer interface
CN110888388B (en) * 2019-11-22 2020-12-11 北京法玛碧欧技术有限公司 Multi-user management system based on human-computer interface

Also Published As

Publication number Publication date
CN108001489B (en) 2020-02-07

Similar Documents

Publication Publication Date Title
CN103458086B (en) A kind of smart mobile phone and fault detection method thereof
CN109992571B (en) Online closed-loop checking system and checking method for configuration file of intelligent substation
CN108427616A (en) background program monitoring method and monitoring device
CN110275992B (en) Emergency processing method, device, server and computer readable storage medium
CN101442688A (en) Method and system for updating intelligent network platform, controller and intelligent network platform equipment
CN110063042B (en) Database fault response method and terminal thereof
CN108001489A (en) A kind of control command exchange method, dispatching workstations and monitoring system
CN109428740A (en) The method and apparatus that equipment fault restores
CN110399253A (en) Delay machine treating method and apparatus
CN105096014A (en) Method and system for recording work operation condition remotely
CN106657388A (en) Service activation method, server and industrial computer
CN106802846A (en) A kind of remote test method, apparatus and system
CN112751782B (en) Flow switching method, device, equipment and medium based on multi-activity data center
CN113672336A (en) K8S container cluster deployment method, device, equipment and readable storage medium
CN104092655A (en) IEC104 safe remote-control method based on scheduling number authentication
CN108616591A (en) Interface device and method for data exchange
CN114095343A (en) Disaster recovery method, device, equipment and storage medium based on double-active system
CN110175736B (en) Automatic card disassembling and hanging method for power system regulation and control center
CN107018032A (en) A kind of monitoring system server and method
CN108089917A (en) A kind of application process control method and device
FI20215764A1 (en) Electric vehicle charging management and client device
Carlini et al. A new approach for sending dispatching orders using protocol IEC 60870-5-104
CN114826890B (en) Communication method, system, device and train
CN111666132A (en) Distributed transaction implementation method, device, computer system and readable storage medium
CN113922503B (en) Operation method and device of distribution network instruction, electronic equipment and 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