CN102546719B - A kind of network remote control system, method and Node station - Google Patents

A kind of network remote control system, method and Node station Download PDF

Info

Publication number
CN102546719B
CN102546719B CN201010619605.0A CN201010619605A CN102546719B CN 102546719 B CN102546719 B CN 102546719B CN 201010619605 A CN201010619605 A CN 201010619605A CN 102546719 B CN102546719 B CN 102546719B
Authority
CN
China
Prior art keywords
target machine
supervisor
state
node station
operating system
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
CN201010619605.0A
Other languages
Chinese (zh)
Other versions
CN102546719A (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.)
Shenzhen Yanxiang Smart Technology Co ltd
Original Assignee
EVOC Intelligent 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 EVOC Intelligent Technology Co Ltd filed Critical EVOC Intelligent Technology Co Ltd
Priority to CN201010619605.0A priority Critical patent/CN102546719B/en
Publication of CN102546719A publication Critical patent/CN102546719A/en
Application granted granted Critical
Publication of CN102546719B publication Critical patent/CN102546719B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention is applicable to network communication field, provide a kind of network remote control system, method and Node station, this system includes supervisor, communication equipment, at least one Node station being connected by communication equipment with supervisor, and at least one target machine being connected with Node station, the on off state of described supervisor inquiry target machine operating system, and the on off state of foundation target machine operating system is to Node station sending filter control instruction, described Node station arranges the state of its relay according to the Control instruction that supervisor sends, and the opening and closing of target machine power supply are controlled according to the state of its relay.The supervisor of the embodiment of the present invention is by sending various control instructions to Node station and target machine, target machine is opened and closed normally control, such that it is able to avoid the target machine loss of data, service disconnection and the software and hardware that cause because of improper power-off to damage problem, reduce the energy resource consumption of target machine greatly, alleviate the aging speed of target machine.

Description

A kind of network remote control system, method and Node station
Technical field
The invention belongs to network communication field, particularly relate to a kind of network remote control system, method and use In the Node station that network remote controls.
Background technology
The target machine being in different geographical can be managed easily and efficiently by network remote control system because of it Reason and control, thus it is widely used in various field, such as subway system etc..As a example by subway system, mesh Front for solving the traffic jam issue that city expansion brings, subway is competitively developed in each big city, and subway has started to Show from " line " to the development trend in " face ", a large amount of unmanned equipment, facility, such as gate, sell Ticket machine, large display screen etc. are put into use, and are widely distributed in subway and respectively stand.In order to reduce into This and energy resource consumption, slowing down the aging speed of equipment, subway system is out of service when artificial abortion's rareness every day, And close the various equipment in subway system, and before operation, the various equipment in unlatching subway, and ground Ferrum system needs to control the equipment component (such as gate) in subway flexibly according to situations such as the volumes of the flow of passengers. Due to subway system needs control various device locations dispersion, of a great variety, therefore, if only passed through , then there is the problem that efficiency is low, operation hours extends, runs, manage cost raising in Artificial Control. Therefore, it is necessary to network remote control system is applied to subway system.
Fig. 1 shows the structure of the network remote control system for subway system that prior art provides, letter State as follows: this network remote control system includes the I/O module that supervisor is connected by Ethernet with supervisor, And control, by IO, the target machine that line is connected with I/O module.Wherein target machine needs in being subway system The various equipment controlled, such as gate, ticket machine, large display screen etc..This network remote control system remote Process control process description is as follows: supervisor is directly turned on or off the power supply of target machine by I/O module, with Reach the quick control to target machine and management.Existing network remote control system is due to directly by IO mould The power supply of target machine is controlled by block, thus can only control the opening and closing of the power supply of target machine, causes Improper power-off to target machine, thus be easily caused target machine loss of data, service disconnection and software and hardware and damage Bad, and the running status of target machine cannot be monitored by existing network remote control system.
Summary of the invention
The purpose of the embodiment of the present invention is to provide a kind of network remote control system, it is intended to solve existing net There is the mesh caused owing to the direct power supply to target machine carries out opening and closing control in network tele-control system The problem that marking machine loss of data, service disconnection and software and hardware damage.
The embodiment of the present invention is achieved in that a kind of network remote control system, including supervisor, communication Equipment, at least one Node station being connected by communication equipment with supervisor, and be connected with Node station to A few target machine, the on off state of described supervisor inquiry target machine operating system, and grasp according to target machine The on off state making system sends according to supervisor to Node station sending filter control instruction, described Node station Control instruction the state of its relay is set, and it is dynamo-electric to control target according to the state of its relay The opening and closing in source.
The another object of the embodiment of the present invention is to provide a kind of Node station, and described Node station includes that Ethernet is handed over Change planes, the computer system communicated with Ethernet switch is general with what computer system communicated Input-output unit, the control unit communicated with universal input output unit, and be Ethernet exchanging The power supply that machine, computer system, universal input output unit and control unit are powered, described Node station also wraps Including the interface of multiple correspondence, the Control instruction that described control unit sends according to supervisor arranges relay The state of device, controls the opening and closing of target machine power supply according to the state of relay.
The another object of the embodiment of the present invention is the network remote control provided in a kind of network remote control system Method processed, described method comprises the steps:
The on off state of supervisor inquiry target machine operating system, and according to the switch shape of target machine operating system State is to Node station sending filter control instruction;
Node station arranges the state of its relay according to the Control instruction that supervisor sends, and according to it The state of relay controls the opening and closing of target machine power supply.
In embodiments of the present invention, the supervisor in network remote control system passes through communication equipment and Node station Connect, be connected with target machine by Node station, by sending various control instructions to Node station and target machine, Target machine is opened and closed normally control, such that it is able to avoid the mesh caused because of improper power-off Marking machine loss of data, service disconnection and software and hardware damage problem, reduce greatly target machine energy resource consumption, Alleviate the aging speed of target machine.
Accompanying drawing explanation
Fig. 1 is the structure chart of the network remote control system that prior art provides;
Fig. 2 is the topology diagram of the network remote control system that the embodiment of the present invention provides;
Fig. 3 is the structure chart of the Node station that the embodiment of the present invention provides;
The realization of the network long-range control method in the network remote control system that Fig. 4 embodiment of the present invention provides Flow chart;
Fig. 5 is that target machine is carried out opening the flowchart controlled by the supervisor that the embodiment of the present invention provides;
Fig. 6 is the flowchart that the supervisor that the embodiment of the present invention provides carries out closing control to target machine;
Fig. 7 is the various control instructions that the Node station that the embodiment of the present invention provides received and performed that supervisor sends Flowchart;
Fig. 8 is the reality that the target machine that the embodiment of the present invention provides received and performed the control instruction that supervisor sends Existing flow chart;
Fig. 9 is the structured flowchart of the network remote control device of the supervisor end that the embodiment of the present invention provides;
Figure 10 is the structured flowchart of the network remote control device of the target machine end that the embodiment of the present invention provides.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and reality Execute example, the present invention is further elaborated.Only should be appreciated that specific embodiment described herein Only in order to explain the present invention, it is not intended to limit the present invention.
In embodiments of the present invention, it is provided that a kind of network remote control system, this network remote control system In supervisor by Node station, unlatching, closedown and the running status of target machine are controlled, thus can To reduce the energy resource consumption of target machine greatly, to alleviate the aging speed of target machine.
In order to technical solutions according to the invention are described, illustrate below by specific embodiment.
Embodiment one:
Fig. 2 shows the topological structure of the network remote control system that the embodiment of the present invention provides.
This network remote control system includes supervisor 1, communication equipment 2, passes through communication equipment with supervisor 1 2 one or more Node station 3 connected, and one or more target machine 4 being connected with Node station 3. Wherein communication equipment can be router, switch etc..Target machine can be according to this network remote control system Application different and different, as when this network remote control system is applied to subway system, this mesh Marking machine can be the gate in subway system, ticket machine, large display screen etc..
Wherein supervisor 1 is by inquiring about the on off state of target machine operating system, and according to target machine operation is The on off state of system sends according to supervisor 1 to Node station 3 sending filter control instruction, Node station 3 Control instruction arranges the state of its relay, and controls target machine 4 electricity according to the state of its relay The opening and closing in source.Fig. 9 shows that the network remote in the supervisor that the embodiment of the present invention provides controls dress The structure put, for convenience of description, illustrate only the part relevant to the embodiment of the present invention.Wherein:
First network connection unit 11 is set up network by communication equipment 2 with Node station 3, target machine 4 and is connected. In embodiments of the present invention, supervisor 1 can use network communication protocol to set up and joint by communication equipment 2 Network between some machine 3 and target machine 4 connects.Wherein network communication protocol can be that prior art provides Various network communications agreement, such as TPC/IP agreement etc..
Management and control initialization unit 12 carries out initialization process to supervisor 1, and to Node station 3 sending node machine Initialization directive.The idiographic flow that wherein management and control initialization unit 12 carries out initialization process is as follows:
Supervisor 1 is set up after network is connected with each Node station 3, to himself carrying out initialization process, and to Node station 3 sends initialization directive;Wherein supervisor 1 initialization that himself carries out is processed include but not It is limited to the Node station in Enumerate network system and target machine, obtains Node station and target machine quantity and IP address.
Node station 3 receives and parses through the initialization directive that supervisor 1 sends, and responds this initialization directive, To himself carrying out initialization process, and initialization result is back to supervisor 1.Wherein Node station 3 The initialization himself carried out is processed and includes but not limited to that program initialization, control unit initialize.This is first Beginningization result includes that the initialization to Node station processes the most successfully information.
Human-computer interaction interface 13 receives the process operation of user, and shows corresponding status information.Wherein process Operation includes that Node station status poll operation, Node station state arrange operation, Control operation, target The inquiry operation of machine operating system on off state, target machine status poll operation, target machine state arrange operation, Target machine operating system switch control operations.Wherein status information includes that network node information, network enumerate letter Breath, Node station status information, target machine status information, target machine operating system on off state, target are dynamo-electric Source switch state.
The process operation that command control unit 14 is inputted by human-computer interaction interface 13 according to user produces concurrent Send Node station status poll instruction, Node station mode set command, Control instruction, target machine operation System switching status poll instruction, target machine status poll instruction, target machine mode set command, target machine Operating system switching control instruction.
Wherein Control instruction is for indicating Node station 3 to be controlled the state of its relay, and root It is turned on and off controlling to the power supply of target machine 4 according to the state of its relay, simultaneously by target machine 4 electricity The on off state in source is back to supervisor 1.Owing to Node station 3 can be according to the state of relay to target machine 4 Power supply carry out opening and closing control, therefore, supervisor 1 is by controlling to Node station 3 sending filter The opening and closing of the power supply of target machine 4 can be controlled by instruction.
Target machine operating system switching control instruction is used for indicating target machine 4 to start or closes its operation system System, and the on off state of target machine operating system is back to supervisor 1.Wherein operating system on-off control Instruction includes operating system open command and operating system out code.Operating system open command is used for indicating Its operating system opened by target machine 4, and operating system opening is back to supervisor 1.Operating system Out code is used for indicating target machine 4 to close its operating system, and operating system closed mode is back to pipe Reason machine 1.
Target machine operating system on off state query statement is for indicating target machine 4 to inquire about opening of its operating system Off status, and the on off state of operating system is back to supervisor 1.
Node station status poll instruction is used for indicating Node station 3 to inquire about its running status, and by Node station state Information is back to supervisor 1.Wherein supervisor 1 instructs the node that can inquire by Node station status poll The running status of machine includes but not limited to that Node station is the most properly functioning, the state of each relay in Node station, Node station system time, Node station IP address, Node station hardware and software version information etc..Real in the present invention Executing in example, supervisor 1 is by instructing to Node station 3 sending node machine status poll, such that it is able to obtain at any time Take the running status of Node station 3, the Node station status information returned by record memory node machine 3, from And can be maintenance and the fault location offer foundation of network remote control system, simultaneously by output node machine The 3 Node station status informations returned, such that it is able to make user know the operation shape of Node station immediately, intuitively State information.
Node station mode set command is used for indicating Node station 3 to arrange its running status, and by Node station state Information is back to supervisor 1.The Node station that wherein supervisor 1 can be arranged by Node station mode set command Running status include but not limited to the state of each relay of Node station, Node station system time, Node station IP Address etc..Supervisor 1 by Node station 3 sending node machine mode set command, such that it is able to realize right The running status of Node station carry out real-time, quickly monitor.
Target machine status poll instruction is used for indicating target machine 4 to inquire about its running status, and by target machine state Information is back to supervisor 1.Wherein supervisor 1 instructs the target that can inquire by target machine status poll The running status of machine includes but not limited to that target machine operating system is the most properly functioning, control program is the most normal Operation, target machine system time, target machine IP address etc..In embodiments of the present invention, supervisor 1 passes through Target machine status poll instruction is sent to target machine 4, such that it is able to obtain the running status of target machine 4 at any time, By recording and store the target machine status information that target machine 4 returns, such that it is able to control system for network remote The maintenance of system and fault location provide foundation, simultaneously by the target machine status information of output target machine 4 return, Such that it is able to make user know the running state information of target machine immediately, intuitively.
Target machine mode set command is used for indicating target machine 4 to arrange its running status, and by target machine state Information is back to supervisor 1.The target machine that wherein supervisor 1 can be arranged by target machine mode set command Running status include but not limited to target machine system time, IP address etc..Supervisor 1 is by target machine 4 send target machine mode set command, such that it is able to the running status of target machine 4 is carried out in real time by realization, Quickly monitoring.
In embodiments of the present invention, this command control unit 14 includes target machine opening module 141 and target machine Close module 142.
Wherein target machine opening module 141 is to Node station sending filter control instruction, to indicate Node station to open Open the power supply of target machine, and after target machine power supply is successfully opened, send target machine operating system to target machine Open command, to indicate target machine to start its operating system, or sends target machine operating system to target machine On off state query statement, to indicate target machine to inquire about its operating system opening, and opens operating system The state of opening is back to supervisor.
Target machine cuts out module 142 and sends target machine operating system out code to target machine, to indicate target Office closes its operating system, or sends target machine operating system on off state query statement to target machine, with Its operating system opening inquired about by instruction target machine, and operating system opening is back to supervisor, And after target machine operating system is closed successfully, to Node station sending filter control instruction, to indicate node Office closes the power supply of target machine.
In embodiments of the present invention, supervisor is by Node station sending filter control instruction, to target machine Send operating system switching control instruction or operation system state query statement, such that it is able to according to normal stream Cheng Qidong or close target machine, it is to avoid loss of data that target machine causes due to improper cut out, business Interrupt and software and hardware damages problem, such that it is able to reduce the energy resource consumption of target machine greatly, alleviate target machine Aging speed.
In an alternative embodiment of the invention, this command control unit 14 also includes status poll unit 143.Should Status poll unit 143 instructs to Node station sending node machine status poll, to indicate Node station to inquire about its fortune Row state, and Node station running status is back to supervisor;Send target machine status poll to target machine to refer to Order, to indicate target machine to inquire about its running status, and is back to supervisor by target machine running status.
In an alternative embodiment of the invention, this command control unit 14 also includes state set unit 144.Should State set unit 144 is to Node station sending node machine mode set command, to indicate Node station to arrange its fortune Row state, and Node station status information is back to supervisor;Send target machine state to target machine and finger is set Order, to indicate target machine to arrange its running status, and is back to supervisor by target machine status information.
In an alternative embodiment of the invention, supervisor 1 also includes supervisor exception processing unit 15.This is abnormal The various exceptions that supervisor 1 is produced by processing unit 15 process.What wherein supervisor 1 produced is various different Often include but not limited to that the electric power starting produced when target machine electric power starting failure failure is abnormal, at target machine The operating system produced when operating system is opened unsuccessfully is opened unsuccessfully abnormal, unsuccessful at target machine power-off Time the power-off failure operating system abnormal, that produce when target machine operating system is closed unsuccessful that produces Fail-closed is abnormal, Node station running status is abnormal, target machine running status is abnormal.Wherein abnormality processing Include but not limited to that electric power starting failure abnormality processing, operating system open time-out abnormality processing, power-off Failure abnormality processing, operating system Fail-closed abnormality processing, Node station running status abnormality processing, target Machine running status abnormality processing etc..
Node station 3 arranges the state of its relay, and foundation according to the Control instruction that supervisor sends The state of its relay controls the opening and closing of the power supply of target machine 4.The wherein concrete structure of Node station 3 As it is shown on figure 3, do not repeat them here.
Target machine 4 is turned on or off its power supply under the control of Node station 3.Figure 10 shows that the present invention is real Execute example provide target machine end network remote control device structure, for convenience of description, illustrate only with The part that the embodiment of the present invention is relevant.Wherein target machine 4 includes the second network connection unit 41 and operating system Switch control unit 42.
The network company that wherein the second network connection unit 41 is set up or disconnected between supervisor, Node station Connect.
The target machine operating system on-off control that operating system switch control unit 42 sends according to supervisor refers to The target machine operating system switching control instruction that order or timing produce is turned on or off target machine operation System.Operating system switch control unit 42 is according to the switch control of target machine operating system in embodiments of the present invention After instruction processed is turned on or off target machine operating system, target machine operating system on off state is back to pipe Reason machine 1.
The target machine operation system state inquiry that operation system state query unit 43 sends according to supervisor refers to Order inquiry target machine operating system on off state, and target machine operating system on off state is back to supervisor.
In an alternative embodiment of the invention, this target machine also includes target machine status poll unit 44 and/or mesh Marking machine state set unit 45.
The target machine status poll instructions query that wherein target machine status poll unit 44 sends according to supervisor Target machine status information, and target machine status information is back to supervisor.
The target machine mode set command that target machine state set unit 45 sends according to supervisor arranges target Machine state, and target machine status information is back to supervisor.The network remote control that the embodiment of the present invention provides System processed can apply to any system needing and being controlled the plurality of target machine of dispersed and distributed, such as subway System etc..In the network remote control system that the embodiment of the present invention provides, supervisor 1 passes through communication equipment Being connected with Node station 3, target machine 4 is connected with supervisor 1 by Node station 3, and supervisor 1 is by joint Point machine 3 and target machine 4 send various control instruction, such that it is able to carry out target machine 4 opening and closing control System, and the running status of Node station 3 and target machine 4 is monitored, it is to avoid cause because of improper power-off Target machine loss of data, service disconnection and software and hardware damage problem, reduce the energy of target machine 4 greatly Consume, alleviate the aging speed of target machine 4, simultaneously can be to target machine 4 and the running status of Node station 3 It is monitored.It addition, by the network remote control system that the embodiment of the present invention provides is applied to subway system The fields such as system, can reduce the operation cost of subway system greatly.
Embodiment two:
Fig. 3 shows the structure of the Node station 3 that the embodiment of the present invention provides, and for convenience of description, only illustrates The part relevant to the embodiment of the present invention.
This Node station 3 includes Ethernet switch 31, the computer communicated with Ethernet switch 31 System 32, universal input output (the General Purpose Input communicated with computer system 32 Output, GPIO) unit 33, the control unit 34 communicated with universal input output unit 33, with And be Ethernet switch 31, computer system 32, universal input output unit 33 and control unit 34 The power supply 35 of power supply.This Node station 3 also includes multiple interfaces, as corresponding with Ethernet switch 31 with Too network interface, the RS232 interface corresponding with computer system 32 and USB interface, with control unit 34 Corresponding target machine power input interface and target machine power output interface, the node corresponding with power supply 35 is dynamo-electric Source interface.In embodiments of the present invention, when Node station connects and has multiple target machine, then to there being multiple mesh Marking machine power output interface.Wherein control unit 34 includes relay and relay drive circuit.Control unit 34 arrange the state of relay according to the Control instruction of supervisor 1 transmission, according to the state of relay Control the opening and closing of target machine power supply.
In an alternative embodiment of the invention, this Node station 3 also include Node station initialization unit (not shown), Node station status poll unit (not shown), Node station state set unit (not shown).Wherein Node station 3 is carried out initially by the Node station initialization directive that Node station initialization unit sends according to supervisor 1 Change processes, and initialization result is back to supervisor 1.Wherein Node station initialization unit is to it certainly The initialization that body is carried out processes and includes but not limited to that program initialization, control unit initialize.At this initialization Reason result includes that the initialization to Node station processes the most successfully information.
The Node station status poll instructions query Node station shape that Node station status poll unit sends according to supervisor State information, and Node station status information is back to supervisor.Wherein the running status of Node station include but not Be limited to that Node station is the most properly functioning, the state of each relay, Node station system time, node in Node station Machine IP address, Node station hardware and software version information etc..
The Node station mode set command that Node station state set unit sends according to supervisor arranges Node station State, and Node station status information is back to supervisor.
In an alternative embodiment of the invention, this Node station 3 also includes that Node station exception processing unit is (not shown Go out).The various exceptions that Node station is exported by this Node station exception processing unit carry out abnormality processing.The most different Often process and include but not limited to program initialization abnormality processing and control unit initialization exception process etc..
In an alternative embodiment of the invention, this Node station 3 also includes target machine registering unit (not shown). The media interviews of the target machine that this target machine registering unit record is connected with Node station control (Media Access Control, MAC) address.By the MAC Address of the target machine that record is connected with Node station, thus can To obtain the information of target machine being connected with Node station, with by this Node station set up target machine and supervisor it Between connection.
Embodiment three:
Fig. 4 shows the network long-range control method in the network remote control system that the embodiment of the present invention provides Realize flow process, details are as follows:
In step S101, the on off state of supervisor inquiry target machine operating system, and grasp according to target machine Make the on off state of system to Node station sending filter control instruction.
In embodiments of the present invention, supervisor is first set up network with each Node station, target machine and is connected, then to it Self and Node station carry out initialization process.Wherein himself and Node station are initialized by supervisor The idiographic flow processed is as follows:
Supervisor is set up after network is connected with each Node station, target machine, and himself is carried out initialization process, And send initialization directive to Node station;
Node station receives and parses through the initialization directive that supervisor sends, and responds this initialization directive, to it Self carry out initialization process, and initialization result is back to supervisor.
After supervisor and Node station are carried out initialization process, supervisor inquiry target machine operating system On off state, and the on off state of foundation target machine operating system is to Node station sending filter control instruction. Wherein supervisor inquiry target machine operating system on off state step particularly as follows:
Supervisor sends target machine operating system on off state query statement to target machine;
The target machine operating system on off state query statement inquiry target machine behaviour that target machine sends according to supervisor Make the on off state of system, and the on off state of target machine operating system is back to supervisor.
Wherein the on off state of foundation target machine operating system is to the step of Node station sending filter control instruction Particularly as follows:
When opening target machine, no matter the on off state of target machine operating system is for opening or closing, and manages Machine is directly to Node station sending filter control instruction, and the instruction of this Control is for arranging the shape of relay State is the state opening target machine power supply;
When closing target machine, supervisor is when the on off state of target machine operating system is for closing, to node Machine sending filter control instruction, the instruction of this Control is for arranging the state of relay for closing target The state of electromechanical source.
In an alternative embodiment of the invention, when closing target machine, supervisor leaves target machine operating system When off status is for opening, the on off state of continuous Query target machine operating system, until inquiring target machine behaviour When making the on off state of system for closing, to Node station sending filter control instruction, described Control Instruction is the state closing target machine power supply for arranging the state of relay;Or
When closing target machine, supervisor is when the on off state of target machine operating system is for opening, to target Machine sends for controlling the target machine operating system switching control instruction that target machine operating system is closed;Target machine The target machine that the target machine operating system switching control instruction sent according to supervisor or timing produce operates system System switching control instruction closes target machine operating system, and is back to by the on off state of target machine operating system Supervisor;Supervisor, when the on off state receiving target machine operating system is to close, sends to Node station Control instructs, and the instruction of described Control is dynamo-electric for closing target for the state arranging relay The state in source.
In step s 102, the Control instruction that Node station sends according to supervisor arranges its relay State, and the opening and closing of target machine power supply are controlled according to the state of its relay.
In the present invention implements, Node station controls unlatching and the pass of target machine power supply according to the state of its relay After closing, the switching-on and switching-off state of target machine is back to supervisor.In an alternative embodiment of the invention, the party Method also comprises the steps:
Supervisor random time after successful initialization, instructs to Node station sending node machine status poll;
The running status of the Node station status poll instructions query Node station that Node station sends according to supervisor, and Node station status information is back to supervisor.
In an alternative embodiment of the invention, the method also comprises the steps:
Supervisor random time after successful initialization, to Node station sending node machine mode set command;
Node station arranges the running status of Node station according to the Node station mode set command that supervisor sends, and Node station status information is back to supervisor.
In an alternative embodiment of the invention, the method also comprises the steps:
Supervisor random time after successful initialization, sends target machine status poll instruction to target machine;
The running status of the target machine status poll instructions query target machine that target machine sends according to supervisor, and Target machine status information is back to supervisor.
In an alternative embodiment of the invention, the method also comprises the steps:
Supervisor random time after successful initialization, sends target machine mode set command to target machine;
Target machine arranges the running status of target machine according to the target machine mode set command that supervisor sends, and Target machine status information is back to supervisor.
Wherein Node station receives and performs concrete steps such as Fig. 7 institute of the various control instructions that supervisor sends Show, do not repeat them here.
Wherein target machine receives and performs concrete steps such as Fig. 8 institute of the various control instructions that supervisor sends Show, do not repeat them here.
Embodiment four:
Fig. 5 shows that target machine is carried out opening the realization stream controlled by the supervisor that the embodiment of the present invention provides Journey, details are as follows:
In step s 201, supervisor after successful initialization, to Node station sending filter control instruction, Return the opening of target machine power supply according to the instruction of this Control with instruction Node station.
In embodiments of the present invention, supervisor after successful initialization, controls to refer to Node station sending filter Order, to indicate Node station to arrange the state of relay according to the instruction of this Control, and according to relay State controls the opening and closing of target machine power supply, returns the opening of target machine power supply to supervisor simultaneously. Wherein supervisor when carrying out opening control to target machine, and the Control that supervisor sends to Node station refers to Order is for indicating Node station that the state of its relay is set on the state of target machine power supply, such node Machine, can be according to the instruction of this Control by the shape of its relay when receiving the instruction of this Control State is set on the state of target machine power supply, thus Node station can open target according to the state of relay The power supply of machine, after target machine electric power starting, the unlatching shape of the target machine power supply that Node station returns to supervisor State is that target machine power supply has turned on.
In step S202, judge that according to the opening of target machine power supply the power supply of target machine is the most successfully opened Open, if it is, perform step S203, otherwise perform step S205.
In step S203, supervisor sends operating system open command to target machine, to indicate target machine to open Its operating system dynamic, and operating system opening is back to supervisor.
In embodiments of the present invention, when, after the power supply opening target machine, supervisor can send to target machine Operating system open command, target machine starts its operating system according to this operating system open command, and will behaviour Make system opening and be back to supervisor.
Owing to some target machine is its operating system of automatically starting after power-on, therefore, in the present invention In another embodiment, in order to adapt to this target machine, step S203 could alternatively be: supervisor is to target machine Send operating system on off state query statement, to indicate target machine to inquire about its operating system opening, and Operating system opening is back to supervisor.
In step S204, judge that target machine operating system is the most successfully left according to operating system opening Open, if it is, perform step S206, otherwise perform step S205.
In step S205, output abnormality, and the exception of output is carried out abnormality processing.
In embodiments of the present invention, when the failure of target machine electric power starting or mistake is opened in target machine operating system When losing, all can export the exception of correspondence, and the exception of output is carried out abnormality processing.Wherein abnormality processing bag Include but be not limited to electric power starting failure abnormality processing and operating system unlatching time-out abnormality processing etc..
In step S206, export target machine opening information.
In embodiments of the present invention, when target machine is normally-open, then the target machine opening information exported Information etc. including the target machine having turned on.When target machine is the most normally-open, then the target machine exported is opened Status information is that target machine is the most normally-open, the object information after output abnormality processes simultaneously.
In embodiments of the present invention, supervisor, when opening target machine, first opens the power supply of target machine, at mesh After the electric power starting success of marking machine, it is then turned on the operating system of target machine, so that target machine can be according to just Normal program is opened.
Due to network failure, target machine failure and other reasons, it is likely to result in supervisor and have sent operation to target machine After system open command or operating system on off state query statement, do not receive target machine for a long time and return Operating system opening, now, in order to improve the performance of network remote control system, the present invention another In embodiment, after step S203, the method also comprises the steps:
Judge whether the time receiving operating system opening from target machine exceedes Preset Time, if it is, Then perform step S205, otherwise, perform step S204.
In order to more preferably realize the unlatching of target machine being controlled, in an alternative embodiment of the invention, in step Before S201, the method also comprises the steps:
Supervisor instructs to Node station sending node machine status poll, to indicate Node station to inquire about its running status, And Node station running status is back to supervisor;
Supervisor sends target machine status poll instruction to target machine, to indicate target machine to inquire about its running status, And target machine running status is back to supervisor;
Supervisor decision node machine running status and target machine running status are the most abnormal, if it is, perform step Rapid S205, otherwise performs step S201.
Embodiment five:
Fig. 6 shows that the supervisor that the embodiment of the present invention provides carries out the realization stream of closing control to target machine Journey, details are as follows:
In step S301, supervisor sends operating system out code to target machine, to indicate target machine root Close its operating system according to this operating system out code, and operating system closed mode is back to supervisor.
Closing logic owing to some target machine self is provided with operating system, therefore, in the present invention, another is implemented In example, in order to adapt to this target machine, step S301 could alternatively be: supervisor sends operation to target machine System switching status poll instructs, and to indicate target machine to inquire about its operating system closed mode, and by operation is System closed mode is back to supervisor.
In step s 302, judge whether target machine operating system closes into according to operating system closed mode Merit, if it is, perform step S303, otherwise performs step S305.
In step S303, supervisor to Node station sending filter control instruction, with indicate Node station according to The power supply of target machine is closed in the instruction of this Control, and returns the closed mode of target machine power supply.
In embodiments of the present invention, supervisor is to Node station sending filter control instruction, so that Node station root The state of its relay is set according to the instruction of this Control, and controls target machine according to the state of its relay The opening and closing of power supply, return the closed mode of target machine power supply simultaneously to supervisor.Wherein supervisor exists When target machine is carried out closing control, the Control instruction that supervisor sends to Node station is used for indicating joint The state of its relay is set off the state of target machine power supply by some machine, and such Node station is receiving this During Control instruction, according to the instruction of this Control, the state of its relay can be set off The state of target machine power supply, thus Node station can close the power supply of target machine according to the state of relay, After target machine power-off, the closed mode of the target machine power supply that Node station returns to supervisor is that power supply closes Close.
In step s 304, judge whether the power supply of target machine closes into according to the closed mode of target machine power supply Merit, if it is, perform step S306, otherwise performs step S305.
In step S305, output abnormality, and the exception of output is carried out abnormality processing.
In embodiments of the present invention, when target machine power-off is unsuccessful or closes in target machine operating system Time unsuccessful, all can export the exception of correspondence, and the exception of output is carried out abnormality processing.Wherein exception Reason includes but not limited to that power-off failure abnormality processing and operating system close time-out abnormality processing etc..
In step S306, export target machine closed mode information.
In embodiments of the present invention, when target machine normal switching-off, then the target machine closed mode information exported Information etc. including buttoned-up target machine.When the non-normal switching-off of target machine, then the target machine exported cuts out Status information is the non-normal switching-off of target machine, the object information after output abnormality processes simultaneously.
In embodiments of the present invention, supervisor, when cutting out target machine, first cuts out the operating system of target machine, After the operating system of target machine is closed successfully, turn off the power supply of target machine, such that it is able to according to normal journey Sequence closes target machine, it is to avoid in target machine loss of data that target machine causes because of improper power-off, business The consequence that disconnected and software and hardware damages.
Due to network failure, target machine failure and other reasons, it is likely to result in supervisor and have sent operation to target machine After system-off instruction, do not receive for a long time target machine return operating system closed mode, now, in order to Improve the performance of network remote control system, in an alternative embodiment of the invention, after step S301, should Method also comprises the steps:
Judge whether the time receiving operating system closed mode from target machine exceedes Preset Time, if it is, Then perform step S305, otherwise, perform step S302.
In order to more preferably realize the closedown of target machine being controlled, in an alternative embodiment of the invention, in step Before S301, the method also comprises the steps:
Supervisor instructs to Node station sending node machine status poll, to indicate Node station to inquire about its running status, And Node station running status is back to supervisor;
Supervisor sends target machine status poll instruction to target machine, to indicate target machine to inquire about its running status, And target machine running status is back to supervisor;
Supervisor decision node machine running status and target machine running status are the most abnormal, if it is, perform step Rapid S305, otherwise performs step S301.
In an alternative embodiment of the invention, supervisor after whole network remote control system is initialized successfully, Can instruct to Node station sending node machine status poll at any time, to indicate Node station to inquire about its running status, And Node station running status is back to supervisor.In like manner, supervisor is to whole network remote control system After initializing successfully, target machine status poll instruction can be sent to target machine at any time, to indicate target machine to look into Ask its running status, and target machine running status is back to supervisor.Supervisor receives Node station and runs After state or target machine running status, also memory node machine running status or target machine can be recorded and run State, or output node machine running status or target machine running status.By record memory node machine Running status or target machine running status, can be that later maintenance and the fault of network remote control system is fixed Position provides foundation.By output node machine running status or target machine running status, it is possible to use family is instant, Know network remote control system interior joint machine and the running status of target machine intuitively.
Embodiment six:
Fig. 7 shows that the Node station that the embodiment of the present invention provides receives and perform the various controls that supervisor sends Instruct realizes flow process, and details are as follows:
In step S401, Node station is carried out initialization process.
In step S402, it is judged that initialization processes the most successful, if it is, perform step S403, no Then perform step S409.
In step S403, enter control command circulation.
In step s 404, it may be judged whether receive supervisor send Node station status poll instruction and/or Node station mode set command, if it is, perform step S405, otherwise, performs step S406.
In step S405, perform Node station status poll and instruct, the running status of query node machine, and will Node station status information is back to supervisor, and/or performs Node station mode set command, arranges Node station Running status, and Node station status information is back to supervisor.
In step S406, it may be judged whether receive the Control instruction that supervisor sends, if it is, Perform step S407, otherwise, perform step S408.
In step S 407, perform Control instruction, the state of Node station repeat circuit is set, according to The state of relay controls the opening and closing of target machine power supply, and returns target machine switching-on and switching-off state.
In step S408, it may be judged whether exit command circulation, if it is, the control life in end node machine Order performs flow process, otherwise returns step S403.
In step S409, output abnormality, and the exception of output is carried out abnormality processing, simultaneously end node Control command in machine performs flow process.Wherein abnormality processing include but not limited to program initialization abnormality processing and Control unit initialization exception process etc..
Embodiment seven:
Fig. 8 shows that the target machine that the embodiment of the present invention provides receives and perform the control instruction that supervisor sends Realize flow process, details are as follows:
In step S501, target machine sets up the connection between supervisor by Node station.
In step S502, receive order.The order that target machine receives includes but not limited to that target machine operates System switching control instruction, target machine operating system on off state query statement, target machine status poll instruction, Target machine mode set command etc..
In step S503, it is judged that whether the order of reception is for indicating the mesh closing target machine operating system Marking machine operating system switching control instruction, if it is, perform step S506, otherwise, performs step S504.
In embodiments of the present invention, this is used for indicating the target machine operating system closing target machine operating system to open Closing control instruction can be that supervisor sends, it is also possible to be that target machine self timing produces.
In step S504, it is judged that whether the order of reception is target machine status poll instruction, if it is, hold Row step S507, otherwise performs step S505.
In step S505, it is judged that whether the order of reception is target machine mode set command, if it is, hold Row step S508, otherwise, returns step S502.
In step S506, close target machine operating system, and terminate flow process.
In step s 507, inquire about target machine state, and return step S502.
In step S508, target machine state is set, and returns step S502.
In embodiments of the present invention, it is judged that whether the instruction of reception is for indicating closedown target machine operating system Target machine operating system switching control instruction, target machine status poll instruction, target machine mode set command Time, its order can arbitrarily be arranged, and is not limited with the order shown in Fig. 5.
It will appreciated by the skilled person that all or part of step realizing in above-described embodiment method The program that can be by completes to instruct relevant hardware, and described program can be stored in a computer can Reading in storage medium, described storage medium, such as ROM/RAM, disk, CD etc..
In embodiments of the present invention, it is provided that a kind of network remote control system, this network remote control system In supervisor by Node station, unlatching, closedown and the running status of target machine are controlled, it is to avoid because of Improper power-off and the target machine loss of data, service disconnection and the software and hardware that cause damage problem, such that it is able to Reduce the energy resource consumption of target machine greatly, alleviate the aging speed of target machine.By respectively to Node station and Target machine sends status poll instruction, such that it is able to immediately, quickly know the operation of Node station and target machine State, it is achieved the monitoring to the running status of target machine, and then quickly find and location faulty equipment, it is simple to In time faulty equipment is safeguarded.Applied by the network remote control system that the embodiment of the present invention is provided In subway system, such that it is able to be significantly reduced target machine energy resource consumption, alleviate ageing equipment, and permissible The most cost-effective.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all at this Any amendment, equivalent and the improvement etc. made within bright spirit and principle, should be included in the present invention Protection domain within.

Claims (12)

1. a network remote control system, it is characterised in that including supervisor, communication equipment, with management At least one Node station that machine is connected by communication equipment, and at least one target machine being connected with Node station, The on off state of described supervisor inquiry target machine operating system, sends operating system switch to described target machine Control instruction, and the on off state of foundation target machine operating system is to Node station sending filter control instruction, Described Node station arranges the state of its relay according to the Control instruction that supervisor sends, and according to it The state of relay controls the opening and closing of target machine power supply, and described operating system switching control instruction is used for Described target machine is indicated to start or close its operating system, and by the switch shape of described target machine operating system State is back to described supervisor.
2. network remote control system as claimed in claim 1, it is characterised in that described supervisor includes:
First network connects unit, is connected for setting up network by communication equipment with Node station, target machine;
Command control unit, is used for producing and send Node station status poll instruction, Node station state arranges finger Make, Control instruction, target machine operating system on off state query statement, target machine status poll refer to Make, target machine mode set command, target machine operating system switching control instruction.
3. network remote control system as claimed in claim 2, it is characterised in that described supervisor also wraps Include:
Management and control initialization unit, for carrying out initialization process, and to Node station sending node machine to supervisor Initialization directive;
Human-computer interaction interface, for receiving the process operation of user, and shows corresponding status information, described Process operation include Node station status poll operation, Node station state arrange operation, Control operate, The inquiry operation of target machine operating system on off state, target machine status poll operation, target machine state arrange behaviour Work, target machine operating system switch control operations, described status information includes network node information, network piece Act information, Node station status information, target machine status information, target machine operating system on off state, target Electromechanical source on off state;And/or
Exception processing unit, processes for the various exceptions producing supervisor.
4. network remote control system as claimed in claim 1, it is characterised in that described Node station includes Ethernet switch, the computer system communicated with Ethernet switch, lead to computer system Letter universal input output unit, the control unit communicated with universal input output unit, and be with The power supply that too network switch, computer system, universal input output unit and control unit are powered, described joint Point machine also includes the interface of multiple correspondence, the Control instruction that described control unit sends according to supervisor The state of relay is set, controls the opening and closing of target machine power supply according to the state of relay.
5. network remote control system as claimed in claim 4, it is characterised in that described Node station also wraps Include:
Node station initialization unit, enters Node station for the Node station initialization directive sent according to supervisor Row initialization processes;
Node station status poll unit, for the Node station status poll instructions query joint sent according to supervisor Point machine status information, and Node station status information is back to supervisor;And/or
Node station state set unit, arranges joint for the Node station mode set command sent according to supervisor The state of some machine, and Node station status information is back to supervisor.
6. network remote control system as claimed in claim 1, it is characterised in that described target machine includes:
Second network connection unit, is connected for setting up network with supervisor, Node station;
Operating system switch control unit, for the target machine operating system on-off control sent according to supervisor The target machine operating system switching control instruction that instruction or timing produce is turned on or off target machine operation System.
7. network remote control system as claimed in claim 6, it is characterised in that described target machine also wraps Include:
Target machine status poll unit, for the target machine status poll instructions query mesh sent according to supervisor Marking machine status information, and target machine status information is back to supervisor;And/or
Target machine state set unit, arranges mesh for the target machine mode set command sent according to supervisor Marking machine state, and target machine status information is back to supervisor.
8. a Node station, it is characterised in that described Node station includes Ethernet switch, hands over Ethernet Change planes the computer system communicated, the universal input output unit communicated with computer system, with The control unit that universal input output unit communicates, and be Ethernet switch, computer system, The power supply that universal input output unit and control unit are powered, described Node station also includes the interface of multiple correspondence, Described control unit arranges the state of relay according to the Control instruction that supervisor sends, according to relay The state of device controls the opening and closing of target machine power supply, and the instruction of described Control is depended on by described supervisor Send according to the on off state of target machine operating system.
9. Node station as claimed in claim 8, it is characterised in that
Described Node station also includes:
Node station initialization unit, enters Node station for the Node station initialization directive sent according to supervisor Row initialization processes;
Node station status poll unit, for the Node station status poll instructions query joint sent according to supervisor Point machine status information, and Node station status information is back to supervisor;And/or
Node station state set unit, arranges joint for the Node station mode set command sent according to supervisor Point machine state, and Node station status information is back to supervisor.
10. the network long-range control method in a network remote control system, it is characterised in that described side Method comprises the steps:
The on off state of supervisor inquiry target machine operating system, sends operating system switch to described target machine Control instruction, and the on off state of foundation target machine operating system is to Node station sending filter control instruction, Described operating system switching control instruction is used for indicating described target machine start or close its operating system, and The on off state of described target machine operating system is back to described supervisor;
Node station arranges the state of its relay according to the Control instruction that supervisor sends, and according to it The state of relay controls the opening and closing of target machine power supply.
11. methods as claimed in claim 10, it is characterised in that described supervisor inquiry target machine operation The step of the on off state of system particularly as follows:
Supervisor sends target machine operating system on off state query statement to target machine;
The target machine operating system on off state query statement inquiry target machine behaviour that target machine sends according to supervisor Make the on off state of system, and the on off state of target machine operating system is back to supervisor.
12. methods as claimed in claim 10, it is characterised in that described foundation target machine operating system On off state to the step of Node station sending filter control instruction particularly as follows:
When opening target machine, no matter the on off state of target machine operating system is for opening or closing, and manages Machine is directly to Node station sending filter control instruction, and the instruction of described Control is for arranging relay State is the state opening target machine power supply;
When closing target machine, supervisor is when the on off state of target machine operating system is for closing, to node Machine sending filter control instruction, the instruction of described Control is for arranging the state of relay for closing mesh The state of marking machine power supply;
When closing target machine, supervisor, when the on off state of target machine operating system is for opening, is persistently looked into Ask the on off state of target machine operating system, until inquiring the on off state of target machine operating system for closing Time, to Node station sending filter control instruction, the instruction of described Control is for arranging the shape of relay State is the state closing target machine power supply;Or
When closing target machine, supervisor is when the on off state of target machine operating system is for opening, to target Machine sends for controlling the target machine operating system switching control instruction that target machine operating system is closed;
The mesh that target machine produces according to target machine operating system switching control instruction or the timing of supervisor transmission Marking machine operating system switching control instruction closes target machine operating system, and by the switch of target machine operating system State is back to supervisor;
Supervisor, when the on off state receiving target machine operating system is to close, sends relay to Node station Device control instruction, the instruction of described Control is to close target machine power supply for arranging the state of relay State.
CN201010619605.0A 2010-12-31 2010-12-31 A kind of network remote control system, method and Node station Active CN102546719B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010619605.0A CN102546719B (en) 2010-12-31 2010-12-31 A kind of network remote control system, method and Node station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010619605.0A CN102546719B (en) 2010-12-31 2010-12-31 A kind of network remote control system, method and Node station

Publications (2)

Publication Number Publication Date
CN102546719A CN102546719A (en) 2012-07-04
CN102546719B true CN102546719B (en) 2016-10-26

Family

ID=46352675

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010619605.0A Active CN102546719B (en) 2010-12-31 2010-12-31 A kind of network remote control system, method and Node station

Country Status (1)

Country Link
CN (1) CN102546719B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111917576B (en) * 2020-07-28 2023-05-16 北京星辰天合科技股份有限公司 Storage cluster control method and device, computer readable storage medium and processor
CN116149732B (en) * 2023-02-15 2023-10-27 深圳大学 Hardware automatic execution method, system and product of data flow task

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1416263A (en) * 2002-11-26 2003-05-07 廖作全 System for controlling and managing post production facilities in TV station
CN101192760A (en) * 2006-11-22 2008-06-04 鸿富锦精密工业(深圳)有限公司 Remote digital switch control system and method
CN101877640A (en) * 2009-11-30 2010-11-03 英业达股份有限公司 Power control system of server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7277295B2 (en) * 2003-02-28 2007-10-02 Cisco Technology, Inc. Industrial ethernet switch

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1416263A (en) * 2002-11-26 2003-05-07 廖作全 System for controlling and managing post production facilities in TV station
CN101192760A (en) * 2006-11-22 2008-06-04 鸿富锦精密工业(深圳)有限公司 Remote digital switch control system and method
CN101877640A (en) * 2009-11-30 2010-11-03 英业达股份有限公司 Power control system of server

Also Published As

Publication number Publication date
CN102546719A (en) 2012-07-04

Similar Documents

Publication Publication Date Title
CN102217166B (en) Intelligent power distribution system and method for power distribution
CN104281511B (en) Intelligent-platform management interface system, baseboard management controller and implementation method
EP2717533A1 (en) Method, network card and hard disk card for accessing to shut-down hard disk
CN103888299A (en) Intelligent network monitoring system and working method thereof
CN104618501A (en) Wireless monitoring management device of server cluster system
CN102354261A (en) Remote control system for power supply switches of machine room servers
CN107645310B (en) The data transmission device and data transmission method of breaker controller
CN109900322A (en) A kind of electrical equipment long-distance monitoring method based on compound Internet of Things
CN103067617A (en) Test terminal driving method and apparatus thereof, and terminal test method and system thereof
CN106154877B (en) A kind of control device and its progress control method
CN102546719B (en) A kind of network remote control system, method and Node station
CN102915265A (en) BMC (baseboard management controller) loop test method and system
CN107783726A (en) The method of transmission signal in storage system and storage system
CN205641369U (en) Self -service air -conditioning management system
CN104898509A (en) Industrial control computer monitoring method and system based on secure short message
CN104656478B (en) The control circuit and control method of a kind of multi-power module
CN101420309A (en) Ethernet power supply energy-saving device and control method thereof
CN104662849B (en) Network equipment method for controlling power supply, device and the network equipment
CN101739115A (en) Simplified type host computer and method for wakening same
CN201335956Y (en) System for controlling on-off of server
CN107037744A (en) A kind of power supply automatic control system for possessing high in the clouds Remote Wake Up function
CN102635918B (en) The control device of air-conditioner set and control system
CN202041843U (en) Control system for remotely controlling on and off of IT (Information Technology) server
CN111092799A (en) Automatic ID setting method applied to battery management system BMS
CN111064754A (en) Energy storage system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230707

Address after: 518000 1701, Yanxiang Science and Technology Building, No. 31, High-tech Middle 4th Road, Maling Community, Yuehai Street, Nanshan District, Shenzhen, Guangdong Province

Patentee after: Shenzhen Yanxiang Smart Technology Co.,Ltd.

Address before: 518057 Guangdong city of Shenzhen province Nanshan District high in the four EVOC Technology Building No. 31

Patentee before: EVOC INTELLIGENT TECHNOLOGY Co.,Ltd.